-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5dbb864
commit 1ccf19d
Showing
12 changed files
with
178 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface GetEnumWeightsRequest { | ||
/** Source field key */ | ||
sourceField: string; | ||
/** Source field values */ | ||
sourceValues: string[]; | ||
/** Destination field key */ | ||
destinationField: string; | ||
/** Destination field values */ | ||
destinationValues: string[]; | ||
} |
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 GetFieldWeightsRequest { | ||
/** Source field keys */ | ||
sourceFields: string[]; | ||
/** Destination field keys */ | ||
destinationFields: string[]; | ||
} |
12 changes: 12 additions & 0 deletions
12
src/api/resources/mapping/types/SourceDestinationWeight.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,12 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface SourceDestinationWeight { | ||
/** Source key */ | ||
source: string; | ||
/** Destination key */ | ||
destination: string; | ||
/** Weight of the pair */ | ||
weight: number; | ||
} |
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. | ||
*/ | ||
|
||
import * as Flatfile from "../../.."; | ||
|
||
export interface SourceDestinationWeights { | ||
weights: Flatfile.SourceDestinationWeight[]; | ||
} |
9 changes: 9 additions & 0 deletions
9
src/api/resources/mapping/types/SourceDestinationWeightsResponse.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. | ||
*/ | ||
|
||
import * as Flatfile from "../../.."; | ||
|
||
export interface SourceDestinationWeightsResponse { | ||
data: Flatfile.SourceDestinationWeights; | ||
} |
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
26 changes: 26 additions & 0 deletions
26
src/serialization/resources/mapping/types/GetEnumWeightsRequest.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,26 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as serializers from "../../.."; | ||
import * as Flatfile from "../../../../api"; | ||
import * as core from "../../../../core"; | ||
|
||
export const GetEnumWeightsRequest: core.serialization.ObjectSchema< | ||
serializers.GetEnumWeightsRequest.Raw, | ||
Flatfile.GetEnumWeightsRequest | ||
> = core.serialization.object({ | ||
sourceField: core.serialization.string(), | ||
sourceValues: core.serialization.list(core.serialization.string()), | ||
destinationField: core.serialization.string(), | ||
destinationValues: core.serialization.list(core.serialization.string()), | ||
}); | ||
|
||
export declare namespace GetEnumWeightsRequest { | ||
interface Raw { | ||
sourceField: string; | ||
sourceValues: string[]; | ||
destinationField: string; | ||
destinationValues: string[]; | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
src/serialization/resources/mapping/types/GetFieldWeightsRequest.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,22 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as serializers from "../../.."; | ||
import * as Flatfile from "../../../../api"; | ||
import * as core from "../../../../core"; | ||
|
||
export const GetFieldWeightsRequest: core.serialization.ObjectSchema< | ||
serializers.GetFieldWeightsRequest.Raw, | ||
Flatfile.GetFieldWeightsRequest | ||
> = core.serialization.object({ | ||
sourceFields: core.serialization.list(core.serialization.string()), | ||
destinationFields: core.serialization.list(core.serialization.string()), | ||
}); | ||
|
||
export declare namespace GetFieldWeightsRequest { | ||
interface Raw { | ||
sourceFields: string[]; | ||
destinationFields: string[]; | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
src/serialization/resources/mapping/types/SourceDestinationWeight.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,24 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as serializers from "../../.."; | ||
import * as Flatfile from "../../../../api"; | ||
import * as core from "../../../../core"; | ||
|
||
export const SourceDestinationWeight: core.serialization.ObjectSchema< | ||
serializers.SourceDestinationWeight.Raw, | ||
Flatfile.SourceDestinationWeight | ||
> = core.serialization.object({ | ||
source: core.serialization.string(), | ||
destination: core.serialization.string(), | ||
weight: core.serialization.number(), | ||
}); | ||
|
||
export declare namespace SourceDestinationWeight { | ||
interface Raw { | ||
source: string; | ||
destination: string; | ||
weight: number; | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
src/serialization/resources/mapping/types/SourceDestinationWeights.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,22 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as serializers from "../../.."; | ||
import * as Flatfile from "../../../../api"; | ||
import * as core from "../../../../core"; | ||
|
||
export const SourceDestinationWeights: core.serialization.ObjectSchema< | ||
serializers.SourceDestinationWeights.Raw, | ||
Flatfile.SourceDestinationWeights | ||
> = core.serialization.object({ | ||
weights: core.serialization.list( | ||
core.serialization.lazyObject(async () => (await import("../../..")).SourceDestinationWeight) | ||
), | ||
}); | ||
|
||
export declare namespace SourceDestinationWeights { | ||
interface Raw { | ||
weights: serializers.SourceDestinationWeight.Raw[]; | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
src/serialization/resources/mapping/types/SourceDestinationWeightsResponse.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,20 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as serializers from "../../.."; | ||
import * as Flatfile from "../../../../api"; | ||
import * as core from "../../../../core"; | ||
|
||
export const SourceDestinationWeightsResponse: core.serialization.ObjectSchema< | ||
serializers.SourceDestinationWeightsResponse.Raw, | ||
Flatfile.SourceDestinationWeightsResponse | ||
> = core.serialization.object({ | ||
data: core.serialization.lazyObject(async () => (await import("../../..")).SourceDestinationWeights), | ||
}); | ||
|
||
export declare namespace SourceDestinationWeightsResponse { | ||
interface Raw { | ||
data: serializers.SourceDestinationWeights.Raw; | ||
} | ||
} |
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