-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improvement: make sdk version optional and default to latest (#734)
- Loading branch information
1 parent
8fafd26
commit 9c40cde
Showing
35 changed files
with
528 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
packages/fdr-sdk/src/client/generated/api/resources/snippets/types/GoSdkRequest.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface GoSdkRequest { | ||
githubRepo: string; | ||
} |
10 changes: 10 additions & 0 deletions
10
packages/fdr-sdk/src/client/generated/api/resources/snippets/types/JavaSdkRequest.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface JavaSdkRequest { | ||
/** The maven repository group (e.g. `com.stripe.java`) */ | ||
group: string; | ||
/** The artifact (e.g. `stripe-java`) */ | ||
artifact: string; | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/fdr-sdk/src/client/generated/api/resources/snippets/types/PythonSdkRequest.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface PythonSdkRequest { | ||
package: string; | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/fdr-sdk/src/client/generated/api/resources/snippets/types/RubySdkRequest.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface RubySdkRequest { | ||
gem: string; | ||
} |
38 changes: 38 additions & 0 deletions
38
packages/fdr-sdk/src/client/generated/api/resources/snippets/types/SdkRequest.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as FernRegistry from "../../.."; | ||
|
||
export type SdkRequest = | ||
| FernRegistry.SdkRequest.Typescript | ||
| FernRegistry.SdkRequest.Python | ||
| FernRegistry.SdkRequest.Go | ||
| FernRegistry.SdkRequest.Ruby | ||
| FernRegistry.SdkRequest.Java; | ||
|
||
export declare namespace SdkRequest { | ||
interface Typescript extends FernRegistry.TypeScriptSdkRequest, _Base { | ||
type: "typescript"; | ||
} | ||
|
||
interface Python extends FernRegistry.PythonSdkRequest, _Base { | ||
type: "python"; | ||
} | ||
|
||
interface Go extends FernRegistry.GoSdkRequest, _Base { | ||
type: "go"; | ||
} | ||
|
||
interface Ruby extends FernRegistry.RubySdkRequest, _Base { | ||
type: "ruby"; | ||
} | ||
|
||
interface Java extends FernRegistry.JavaSdkRequest, _Base { | ||
type: "java"; | ||
} | ||
|
||
interface _Base { | ||
version?: string; | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/fdr-sdk/src/client/generated/api/resources/snippets/types/TypeScriptSdkRequest.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface TypeScriptSdkRequest { | ||
package: string; | ||
} |
6 changes: 6 additions & 0 deletions
6
packages/fdr-sdk/src/client/generated/api/resources/snippets/types/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
servers/fdr/src/api/generated/api/resources/snippets/types/GoSdkRequest.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
export interface GoSdkRequest { | ||
githubRepo: string; | ||
} |
4 changes: 4 additions & 0 deletions
4
servers/fdr/src/api/generated/api/resources/snippets/types/GoSdkRequest.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
export {}; |
9 changes: 9 additions & 0 deletions
9
servers/fdr/src/api/generated/api/resources/snippets/types/JavaSdkRequest.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
export interface JavaSdkRequest { | ||
/** The maven repository group (e.g. `com.stripe.java`) */ | ||
group: string; | ||
/** The artifact (e.g. `stripe-java`) */ | ||
artifact: string; | ||
} |
4 changes: 4 additions & 0 deletions
4
servers/fdr/src/api/generated/api/resources/snippets/types/JavaSdkRequest.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
export {}; |
6 changes: 6 additions & 0 deletions
6
servers/fdr/src/api/generated/api/resources/snippets/types/PythonSdkRequest.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
export interface PythonSdkRequest { | ||
package: string; | ||
} |
4 changes: 4 additions & 0 deletions
4
servers/fdr/src/api/generated/api/resources/snippets/types/PythonSdkRequest.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
export {}; |
6 changes: 6 additions & 0 deletions
6
servers/fdr/src/api/generated/api/resources/snippets/types/RubySdkRequest.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
export interface RubySdkRequest { | ||
gem: string; | ||
} |
4 changes: 4 additions & 0 deletions
4
servers/fdr/src/api/generated/api/resources/snippets/types/RubySdkRequest.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
export {}; |
Oops, something went wrong.