@financeable/aggregation 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/sdks/applications/README.md +1 -0
- package/docs/sdks/oauthtoken/README.md +1 -0
- package/docs/sdks/supportingdocuments/README.md +1 -0
- package/examples/README.md +31 -0
- package/examples/applicationsCreate.example.ts +179 -0
- package/examples/package-lock.json +610 -0
- package/examples/package.json +18 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/addressattributes.d.ts +30 -30
- package/models/components/addressattributes.d.ts.map +1 -1
- package/models/components/addressattributes.js +24 -24
- package/models/components/addressattributes.js.map +1 -1
- package/models/components/badrequesterror.d.ts +15 -15
- package/models/components/badrequesterror.d.ts.map +1 -1
- package/models/components/badrequesterror.js.map +1 -1
- package/models/components/commercialapplicationjsonapirelationships.d.ts +84 -84
- package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/commercialapplicationjsonapirelationships.js +47 -47
- package/models/components/commercialapplicationjsonapirelationships.js.map +1 -1
- package/models/components/commercialsecuredapplicationpayload.d.ts +27 -27
- package/models/components/commercialsecuredapplicationpayload.d.ts.map +1 -1
- package/models/components/commercialsecuredapplicationpayload.js.map +1 -1
- package/models/components/commercialsecuredapplicationresource.d.ts +36 -36
- package/models/components/commercialsecuredapplicationresource.d.ts.map +1 -1
- package/models/components/commercialsecuredapplicationresource.js.map +1 -1
- package/models/components/commercialsecuredloanassetattributes.d.ts +66 -66
- package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -1
- package/models/components/commercialsecuredloanassetattributes.js +26 -24
- package/models/components/commercialsecuredloanassetattributes.js.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +150 -150
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js +92 -92
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -1
- package/models/components/consumerapplicationjsonapirelationships.d.ts +62 -62
- package/models/components/consumerapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/consumerapplicationjsonapirelationships.js +32 -32
- package/models/components/consumerapplicationjsonapirelationships.js.map +1 -1
- package/models/components/consumersecuredapplicationpayload.d.ts +27 -27
- package/models/components/consumersecuredapplicationpayload.d.ts.map +1 -1
- package/models/components/consumersecuredapplicationpayload.js.map +1 -1
- package/models/components/consumersecuredapplicationresource.d.ts +36 -36
- package/models/components/consumersecuredapplicationresource.d.ts.map +1 -1
- package/models/components/consumersecuredapplicationresource.js.map +1 -1
- package/models/components/consumersecuredloanassetattributes.d.ts +78 -78
- package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -1
- package/models/components/consumersecuredloanassetattributes.js +41 -39
- package/models/components/consumersecuredloanassetattributes.js.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +172 -172
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js +107 -107
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -1
- package/models/components/createsupportingdocumentsresponse.d.ts +16 -16
- package/models/components/createsupportingdocumentsresponse.d.ts.map +1 -1
- package/models/components/createsupportingdocumentsresponse.js.map +1 -1
- package/models/components/customerassetattributes.d.ts +2 -2
- package/models/components/customerassetattributes.d.ts.map +1 -1
- package/models/components/customerassetattributes.js +2 -2
- package/models/components/customerassetattributes.js.map +1 -1
- package/models/components/customerattributes.d.ts +16 -11
- package/models/components/customerattributes.d.ts.map +1 -1
- package/models/components/customerattributes.js +12 -10
- package/models/components/customerattributes.js.map +1 -1
- package/models/components/customerliabilityattributes.d.ts +2 -2
- package/models/components/customerliabilityattributes.d.ts.map +1 -1
- package/models/components/customerliabilityattributes.js +2 -2
- package/models/components/customerliabilityattributes.js.map +1 -1
- package/models/components/entityattributes.d.ts +4 -4
- package/models/components/entityattributes.d.ts.map +1 -1
- package/models/components/entityattributes.js +4 -4
- package/models/components/entityattributes.js.map +1 -1
- package/models/components/expenseattributes.d.ts +2 -2
- package/models/components/expenseattributes.d.ts.map +1 -1
- package/models/components/expenseattributes.js +2 -2
- package/models/components/expenseattributes.js.map +1 -1
- package/models/components/forbiddenerror.d.ts +15 -15
- package/models/components/forbiddenerror.d.ts.map +1 -1
- package/models/components/forbiddenerror.js.map +1 -1
- package/models/components/incomeattributes.d.ts +2 -2
- package/models/components/incomeattributes.d.ts.map +1 -1
- package/models/components/incomeattributes.js +2 -2
- package/models/components/incomeattributes.js.map +1 -1
- package/models/components/monetaryquantity.d.ts +11 -11
- package/models/components/monetaryquantity.d.ts.map +1 -1
- package/models/components/monetaryquantity.js.map +1 -1
- package/models/components/percentagequantity.d.ts +7 -7
- package/models/components/percentagequantity.d.ts.map +1 -1
- package/models/components/percentagequantity.js.map +1 -1
- package/models/components/relationshipresourcenotfound.d.ts +12 -12
- package/models/components/relationshipresourcenotfound.d.ts.map +1 -1
- package/models/components/relationshipresourcenotfound.js.map +1 -1
- package/models/components/resourcenotfound.d.ts +15 -15
- package/models/components/resourcenotfound.d.ts.map +1 -1
- package/models/components/resourcenotfound.js.map +1 -1
- package/models/components/supportingdocumentrelationships.d.ts +106 -106
- package/models/components/supportingdocumentrelationships.d.ts.map +1 -1
- package/models/components/supportingdocumentrelationships.js +63 -63
- package/models/components/supportingdocumentrelationships.js.map +1 -1
- package/models/components/supportingdocumentresource.d.ts +11 -11
- package/models/components/supportingdocumentresource.d.ts.map +1 -1
- package/models/components/supportingdocumentresource.js.map +1 -1
- package/models/components/tokenrequest.d.ts +18 -18
- package/models/components/tokenrequest.d.ts.map +1 -1
- package/models/components/tokenrequest.js.map +1 -1
- package/models/operations/createapplication.d.ts +154 -154
- package/models/operations/createapplication.d.ts.map +1 -1
- package/models/operations/createapplication.js +109 -109
- package/models/operations/createapplication.js.map +1 -1
- package/package.json +4 -5
- package/src/lib/config.ts +3 -3
- package/src/models/components/addressattributes.ts +55 -55
- package/src/models/components/badrequesterror.ts +14 -14
- package/src/models/components/commercialapplicationjsonapirelationships.ts +117 -117
- package/src/models/components/commercialsecuredapplicationpayload.ts +27 -27
- package/src/models/components/commercialsecuredapplicationresource.ts +46 -46
- package/src/models/components/commercialsecuredloanassetattributes.ts +63 -61
- package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +243 -243
- package/src/models/components/consumerapplicationjsonapirelationships.ts +83 -83
- package/src/models/components/consumersecuredapplicationpayload.ts +27 -27
- package/src/models/components/consumersecuredapplicationresource.ts +47 -47
- package/src/models/components/consumersecuredloanassetattributes.ts +98 -96
- package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +279 -279
- package/src/models/components/createsupportingdocumentsresponse.ts +16 -16
- package/src/models/components/customerassetattributes.ts +4 -4
- package/src/models/components/customerattributes.ts +28 -21
- package/src/models/components/customerliabilityattributes.ts +4 -4
- package/src/models/components/entityattributes.ts +8 -8
- package/src/models/components/expenseattributes.ts +4 -4
- package/src/models/components/forbiddenerror.ts +14 -14
- package/src/models/components/incomeattributes.ts +4 -4
- package/src/models/components/monetaryquantity.ts +12 -12
- package/src/models/components/percentagequantity.ts +8 -8
- package/src/models/components/relationshipresourcenotfound.ts +11 -11
- package/src/models/components/resourcenotfound.ts +14 -14
- package/src/models/components/supportingdocumentrelationships.ts +129 -129
- package/src/models/components/supportingdocumentresource.ts +8 -8
- package/src/models/components/tokenrequest.ts +19 -19
- package/src/models/operations/createapplication.ts +204 -204
|
@@ -21,6 +21,135 @@ export type SupportingDocumentRelationshipsType = ClosedEnum<
|
|
|
21
21
|
typeof SupportingDocumentRelationshipsType
|
|
22
22
|
>;
|
|
23
23
|
|
|
24
|
+
export const SupportingDocumentRelationshipsAssetType = {
|
|
25
|
+
Assets: "assets",
|
|
26
|
+
} as const;
|
|
27
|
+
export type SupportingDocumentRelationshipsAssetType = ClosedEnum<
|
|
28
|
+
typeof SupportingDocumentRelationshipsAssetType
|
|
29
|
+
>;
|
|
30
|
+
|
|
31
|
+
export const SupportingDocumentRelationshipsEntityType = {
|
|
32
|
+
Entities: "entities",
|
|
33
|
+
} as const;
|
|
34
|
+
export type SupportingDocumentRelationshipsEntityType = ClosedEnum<
|
|
35
|
+
typeof SupportingDocumentRelationshipsEntityType
|
|
36
|
+
>;
|
|
37
|
+
|
|
38
|
+
export const Two = {
|
|
39
|
+
CommercialSecuredApplications: "commercial-secured-applications",
|
|
40
|
+
} as const;
|
|
41
|
+
export type Two = ClosedEnum<typeof Two>;
|
|
42
|
+
|
|
43
|
+
export const One = {
|
|
44
|
+
ConsumerSecuredApplications: "consumer-secured-applications",
|
|
45
|
+
} as const;
|
|
46
|
+
export type One = ClosedEnum<typeof One>;
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const SupportingDocumentRelationshipsType$inboundSchema: z.ZodNativeEnum<
|
|
50
|
+
typeof SupportingDocumentRelationshipsType
|
|
51
|
+
> = z.nativeEnum(SupportingDocumentRelationshipsType);
|
|
52
|
+
|
|
53
|
+
/** @internal */
|
|
54
|
+
export const SupportingDocumentRelationshipsType$outboundSchema:
|
|
55
|
+
z.ZodNativeEnum<typeof SupportingDocumentRelationshipsType> =
|
|
56
|
+
SupportingDocumentRelationshipsType$inboundSchema;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
|
+
*/
|
|
62
|
+
export namespace SupportingDocumentRelationshipsType$ {
|
|
63
|
+
/** @deprecated use `SupportingDocumentRelationshipsType$inboundSchema` instead. */
|
|
64
|
+
export const inboundSchema =
|
|
65
|
+
SupportingDocumentRelationshipsType$inboundSchema;
|
|
66
|
+
/** @deprecated use `SupportingDocumentRelationshipsType$outboundSchema` instead. */
|
|
67
|
+
export const outboundSchema =
|
|
68
|
+
SupportingDocumentRelationshipsType$outboundSchema;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/** @internal */
|
|
72
|
+
export const SupportingDocumentRelationshipsAssetType$inboundSchema:
|
|
73
|
+
z.ZodNativeEnum<typeof SupportingDocumentRelationshipsAssetType> = z
|
|
74
|
+
.nativeEnum(SupportingDocumentRelationshipsAssetType);
|
|
75
|
+
|
|
76
|
+
/** @internal */
|
|
77
|
+
export const SupportingDocumentRelationshipsAssetType$outboundSchema:
|
|
78
|
+
z.ZodNativeEnum<typeof SupportingDocumentRelationshipsAssetType> =
|
|
79
|
+
SupportingDocumentRelationshipsAssetType$inboundSchema;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
84
|
+
*/
|
|
85
|
+
export namespace SupportingDocumentRelationshipsAssetType$ {
|
|
86
|
+
/** @deprecated use `SupportingDocumentRelationshipsAssetType$inboundSchema` instead. */
|
|
87
|
+
export const inboundSchema =
|
|
88
|
+
SupportingDocumentRelationshipsAssetType$inboundSchema;
|
|
89
|
+
/** @deprecated use `SupportingDocumentRelationshipsAssetType$outboundSchema` instead. */
|
|
90
|
+
export const outboundSchema =
|
|
91
|
+
SupportingDocumentRelationshipsAssetType$outboundSchema;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/** @internal */
|
|
95
|
+
export const SupportingDocumentRelationshipsEntityType$inboundSchema:
|
|
96
|
+
z.ZodNativeEnum<typeof SupportingDocumentRelationshipsEntityType> = z
|
|
97
|
+
.nativeEnum(SupportingDocumentRelationshipsEntityType);
|
|
98
|
+
|
|
99
|
+
/** @internal */
|
|
100
|
+
export const SupportingDocumentRelationshipsEntityType$outboundSchema:
|
|
101
|
+
z.ZodNativeEnum<typeof SupportingDocumentRelationshipsEntityType> =
|
|
102
|
+
SupportingDocumentRelationshipsEntityType$inboundSchema;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
107
|
+
*/
|
|
108
|
+
export namespace SupportingDocumentRelationshipsEntityType$ {
|
|
109
|
+
/** @deprecated use `SupportingDocumentRelationshipsEntityType$inboundSchema` instead. */
|
|
110
|
+
export const inboundSchema =
|
|
111
|
+
SupportingDocumentRelationshipsEntityType$inboundSchema;
|
|
112
|
+
/** @deprecated use `SupportingDocumentRelationshipsEntityType$outboundSchema` instead. */
|
|
113
|
+
export const outboundSchema =
|
|
114
|
+
SupportingDocumentRelationshipsEntityType$outboundSchema;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/** @internal */
|
|
118
|
+
export const Two$inboundSchema: z.ZodNativeEnum<typeof Two> = z.nativeEnum(Two);
|
|
119
|
+
|
|
120
|
+
/** @internal */
|
|
121
|
+
export const Two$outboundSchema: z.ZodNativeEnum<typeof Two> =
|
|
122
|
+
Two$inboundSchema;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
127
|
+
*/
|
|
128
|
+
export namespace Two$ {
|
|
129
|
+
/** @deprecated use `Two$inboundSchema` instead. */
|
|
130
|
+
export const inboundSchema = Two$inboundSchema;
|
|
131
|
+
/** @deprecated use `Two$outboundSchema` instead. */
|
|
132
|
+
export const outboundSchema = Two$outboundSchema;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/** @internal */
|
|
136
|
+
export const One$inboundSchema: z.ZodNativeEnum<typeof One> = z.nativeEnum(One);
|
|
137
|
+
|
|
138
|
+
/** @internal */
|
|
139
|
+
export const One$outboundSchema: z.ZodNativeEnum<typeof One> =
|
|
140
|
+
One$inboundSchema;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @internal
|
|
144
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
145
|
+
*/
|
|
146
|
+
export namespace One$ {
|
|
147
|
+
/** @deprecated use `One$inboundSchema` instead. */
|
|
148
|
+
export const inboundSchema = One$inboundSchema;
|
|
149
|
+
/** @deprecated use `One$outboundSchema` instead. */
|
|
150
|
+
export const outboundSchema = One$outboundSchema;
|
|
151
|
+
}
|
|
152
|
+
|
|
24
153
|
export type SupportingDocumentRelationshipsData = {
|
|
25
154
|
type: SupportingDocumentRelationshipsType;
|
|
26
155
|
id: string;
|
|
@@ -35,13 +164,6 @@ export type Customer = {
|
|
|
35
164
|
meta?: { [k: string]: any } | undefined;
|
|
36
165
|
};
|
|
37
166
|
|
|
38
|
-
export const SupportingDocumentRelationshipsAssetType = {
|
|
39
|
-
Assets: "assets",
|
|
40
|
-
} as const;
|
|
41
|
-
export type SupportingDocumentRelationshipsAssetType = ClosedEnum<
|
|
42
|
-
typeof SupportingDocumentRelationshipsAssetType
|
|
43
|
-
>;
|
|
44
|
-
|
|
45
167
|
export type SupportingDocumentRelationshipsAssetData = {
|
|
46
168
|
type: SupportingDocumentRelationshipsAssetType;
|
|
47
169
|
id: string;
|
|
@@ -56,13 +178,6 @@ export type SupportingDocumentRelationshipsAsset = {
|
|
|
56
178
|
meta?: { [k: string]: any } | undefined;
|
|
57
179
|
};
|
|
58
180
|
|
|
59
|
-
export const SupportingDocumentRelationshipsEntityType = {
|
|
60
|
-
Entities: "entities",
|
|
61
|
-
} as const;
|
|
62
|
-
export type SupportingDocumentRelationshipsEntityType = ClosedEnum<
|
|
63
|
-
typeof SupportingDocumentRelationshipsEntityType
|
|
64
|
-
>;
|
|
65
|
-
|
|
66
181
|
export type SupportingDocumentRelationshipsEntityData = {
|
|
67
182
|
type: SupportingDocumentRelationshipsEntityType;
|
|
68
183
|
id: string;
|
|
@@ -77,16 +192,6 @@ export type Entity = {
|
|
|
77
192
|
meta?: { [k: string]: any } | undefined;
|
|
78
193
|
};
|
|
79
194
|
|
|
80
|
-
export const Two = {
|
|
81
|
-
CommercialSecuredApplications: "commercial-secured-applications",
|
|
82
|
-
} as const;
|
|
83
|
-
export type Two = ClosedEnum<typeof Two>;
|
|
84
|
-
|
|
85
|
-
export const One = {
|
|
86
|
-
ConsumerSecuredApplications: "consumer-secured-applications",
|
|
87
|
-
} as const;
|
|
88
|
-
export type One = ClosedEnum<typeof One>;
|
|
89
|
-
|
|
90
195
|
export type SupportingDocumentRelationshipsApplicationType = One | Two;
|
|
91
196
|
|
|
92
197
|
export type SupportingDocumentRelationshipsApplicationData = {
|
|
@@ -122,29 +227,6 @@ export type SupportingDocumentRelationships = {
|
|
|
122
227
|
application: Application;
|
|
123
228
|
};
|
|
124
229
|
|
|
125
|
-
/** @internal */
|
|
126
|
-
export const SupportingDocumentRelationshipsType$inboundSchema: z.ZodNativeEnum<
|
|
127
|
-
typeof SupportingDocumentRelationshipsType
|
|
128
|
-
> = z.nativeEnum(SupportingDocumentRelationshipsType);
|
|
129
|
-
|
|
130
|
-
/** @internal */
|
|
131
|
-
export const SupportingDocumentRelationshipsType$outboundSchema:
|
|
132
|
-
z.ZodNativeEnum<typeof SupportingDocumentRelationshipsType> =
|
|
133
|
-
SupportingDocumentRelationshipsType$inboundSchema;
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* @internal
|
|
137
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
138
|
-
*/
|
|
139
|
-
export namespace SupportingDocumentRelationshipsType$ {
|
|
140
|
-
/** @deprecated use `SupportingDocumentRelationshipsType$inboundSchema` instead. */
|
|
141
|
-
export const inboundSchema =
|
|
142
|
-
SupportingDocumentRelationshipsType$inboundSchema;
|
|
143
|
-
/** @deprecated use `SupportingDocumentRelationshipsType$outboundSchema` instead. */
|
|
144
|
-
export const outboundSchema =
|
|
145
|
-
SupportingDocumentRelationshipsType$outboundSchema;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
230
|
/** @internal */
|
|
149
231
|
export const SupportingDocumentRelationshipsData$inboundSchema: z.ZodType<
|
|
150
232
|
SupportingDocumentRelationshipsData,
|
|
@@ -263,29 +345,6 @@ export function customerFromJSON(
|
|
|
263
345
|
);
|
|
264
346
|
}
|
|
265
347
|
|
|
266
|
-
/** @internal */
|
|
267
|
-
export const SupportingDocumentRelationshipsAssetType$inboundSchema:
|
|
268
|
-
z.ZodNativeEnum<typeof SupportingDocumentRelationshipsAssetType> = z
|
|
269
|
-
.nativeEnum(SupportingDocumentRelationshipsAssetType);
|
|
270
|
-
|
|
271
|
-
/** @internal */
|
|
272
|
-
export const SupportingDocumentRelationshipsAssetType$outboundSchema:
|
|
273
|
-
z.ZodNativeEnum<typeof SupportingDocumentRelationshipsAssetType> =
|
|
274
|
-
SupportingDocumentRelationshipsAssetType$inboundSchema;
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* @internal
|
|
278
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
279
|
-
*/
|
|
280
|
-
export namespace SupportingDocumentRelationshipsAssetType$ {
|
|
281
|
-
/** @deprecated use `SupportingDocumentRelationshipsAssetType$inboundSchema` instead. */
|
|
282
|
-
export const inboundSchema =
|
|
283
|
-
SupportingDocumentRelationshipsAssetType$inboundSchema;
|
|
284
|
-
/** @deprecated use `SupportingDocumentRelationshipsAssetType$outboundSchema` instead. */
|
|
285
|
-
export const outboundSchema =
|
|
286
|
-
SupportingDocumentRelationshipsAssetType$outboundSchema;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
348
|
/** @internal */
|
|
290
349
|
export const SupportingDocumentRelationshipsAssetData$inboundSchema: z.ZodType<
|
|
291
350
|
SupportingDocumentRelationshipsAssetData,
|
|
@@ -419,29 +478,6 @@ export function supportingDocumentRelationshipsAssetFromJSON(
|
|
|
419
478
|
);
|
|
420
479
|
}
|
|
421
480
|
|
|
422
|
-
/** @internal */
|
|
423
|
-
export const SupportingDocumentRelationshipsEntityType$inboundSchema:
|
|
424
|
-
z.ZodNativeEnum<typeof SupportingDocumentRelationshipsEntityType> = z
|
|
425
|
-
.nativeEnum(SupportingDocumentRelationshipsEntityType);
|
|
426
|
-
|
|
427
|
-
/** @internal */
|
|
428
|
-
export const SupportingDocumentRelationshipsEntityType$outboundSchema:
|
|
429
|
-
z.ZodNativeEnum<typeof SupportingDocumentRelationshipsEntityType> =
|
|
430
|
-
SupportingDocumentRelationshipsEntityType$inboundSchema;
|
|
431
|
-
|
|
432
|
-
/**
|
|
433
|
-
* @internal
|
|
434
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
435
|
-
*/
|
|
436
|
-
export namespace SupportingDocumentRelationshipsEntityType$ {
|
|
437
|
-
/** @deprecated use `SupportingDocumentRelationshipsEntityType$inboundSchema` instead. */
|
|
438
|
-
export const inboundSchema =
|
|
439
|
-
SupportingDocumentRelationshipsEntityType$inboundSchema;
|
|
440
|
-
/** @deprecated use `SupportingDocumentRelationshipsEntityType$outboundSchema` instead. */
|
|
441
|
-
export const outboundSchema =
|
|
442
|
-
SupportingDocumentRelationshipsEntityType$outboundSchema;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
481
|
/** @internal */
|
|
446
482
|
export const SupportingDocumentRelationshipsEntityData$inboundSchema: z.ZodType<
|
|
447
483
|
SupportingDocumentRelationshipsEntityData,
|
|
@@ -564,42 +600,6 @@ export function entityFromJSON(
|
|
|
564
600
|
);
|
|
565
601
|
}
|
|
566
602
|
|
|
567
|
-
/** @internal */
|
|
568
|
-
export const Two$inboundSchema: z.ZodNativeEnum<typeof Two> = z.nativeEnum(Two);
|
|
569
|
-
|
|
570
|
-
/** @internal */
|
|
571
|
-
export const Two$outboundSchema: z.ZodNativeEnum<typeof Two> =
|
|
572
|
-
Two$inboundSchema;
|
|
573
|
-
|
|
574
|
-
/**
|
|
575
|
-
* @internal
|
|
576
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
577
|
-
*/
|
|
578
|
-
export namespace Two$ {
|
|
579
|
-
/** @deprecated use `Two$inboundSchema` instead. */
|
|
580
|
-
export const inboundSchema = Two$inboundSchema;
|
|
581
|
-
/** @deprecated use `Two$outboundSchema` instead. */
|
|
582
|
-
export const outboundSchema = Two$outboundSchema;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
/** @internal */
|
|
586
|
-
export const One$inboundSchema: z.ZodNativeEnum<typeof One> = z.nativeEnum(One);
|
|
587
|
-
|
|
588
|
-
/** @internal */
|
|
589
|
-
export const One$outboundSchema: z.ZodNativeEnum<typeof One> =
|
|
590
|
-
One$inboundSchema;
|
|
591
|
-
|
|
592
|
-
/**
|
|
593
|
-
* @internal
|
|
594
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
595
|
-
*/
|
|
596
|
-
export namespace One$ {
|
|
597
|
-
/** @deprecated use `One$inboundSchema` instead. */
|
|
598
|
-
export const inboundSchema = One$inboundSchema;
|
|
599
|
-
/** @deprecated use `One$outboundSchema` instead. */
|
|
600
|
-
export const outboundSchema = One$outboundSchema;
|
|
601
|
-
}
|
|
602
|
-
|
|
603
603
|
/** @internal */
|
|
604
604
|
export const SupportingDocumentRelationshipsApplicationType$inboundSchema:
|
|
605
605
|
z.ZodType<
|
|
@@ -33,14 +33,6 @@ export type SupportingDocumentResourceType = ClosedEnum<
|
|
|
33
33
|
typeof SupportingDocumentResourceType
|
|
34
34
|
>;
|
|
35
35
|
|
|
36
|
-
export type SupportingDocumentResource = {
|
|
37
|
-
type: SupportingDocumentResourceType;
|
|
38
|
-
attributes: SupportingDocumentAttributesInput;
|
|
39
|
-
relationships: SupportingDocumentRelationships;
|
|
40
|
-
links?: { [k: string]: LinkObject } | undefined;
|
|
41
|
-
meta?: { [k: string]: any } | undefined;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
36
|
/** @internal */
|
|
45
37
|
export const SupportingDocumentResourceType$inboundSchema: z.ZodNativeEnum<
|
|
46
38
|
typeof SupportingDocumentResourceType
|
|
@@ -62,6 +54,14 @@ export namespace SupportingDocumentResourceType$ {
|
|
|
62
54
|
export const outboundSchema = SupportingDocumentResourceType$outboundSchema;
|
|
63
55
|
}
|
|
64
56
|
|
|
57
|
+
export type SupportingDocumentResource = {
|
|
58
|
+
type: SupportingDocumentResourceType;
|
|
59
|
+
attributes: SupportingDocumentAttributesInput;
|
|
60
|
+
relationships: SupportingDocumentRelationships;
|
|
61
|
+
links?: { [k: string]: LinkObject } | undefined;
|
|
62
|
+
meta?: { [k: string]: any } | undefined;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
65
|
/** @internal */
|
|
66
66
|
export const SupportingDocumentResource$inboundSchema: z.ZodType<
|
|
67
67
|
SupportingDocumentResource,
|
|
@@ -20,6 +20,25 @@ export const GrantType = {
|
|
|
20
20
|
*/
|
|
21
21
|
export type GrantType = ClosedEnum<typeof GrantType>;
|
|
22
22
|
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const GrantType$inboundSchema: z.ZodNativeEnum<typeof GrantType> = z
|
|
25
|
+
.nativeEnum(GrantType);
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const GrantType$outboundSchema: z.ZodNativeEnum<typeof GrantType> =
|
|
29
|
+
GrantType$inboundSchema;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
34
|
+
*/
|
|
35
|
+
export namespace GrantType$ {
|
|
36
|
+
/** @deprecated use `GrantType$inboundSchema` instead. */
|
|
37
|
+
export const inboundSchema = GrantType$inboundSchema;
|
|
38
|
+
/** @deprecated use `GrantType$outboundSchema` instead. */
|
|
39
|
+
export const outboundSchema = GrantType$outboundSchema;
|
|
40
|
+
}
|
|
41
|
+
|
|
23
42
|
/**
|
|
24
43
|
* Token request for client credentials flow
|
|
25
44
|
*/
|
|
@@ -42,25 +61,6 @@ export type TokenRequest = {
|
|
|
42
61
|
scope: string;
|
|
43
62
|
};
|
|
44
63
|
|
|
45
|
-
/** @internal */
|
|
46
|
-
export const GrantType$inboundSchema: z.ZodNativeEnum<typeof GrantType> = z
|
|
47
|
-
.nativeEnum(GrantType);
|
|
48
|
-
|
|
49
|
-
/** @internal */
|
|
50
|
-
export const GrantType$outboundSchema: z.ZodNativeEnum<typeof GrantType> =
|
|
51
|
-
GrantType$inboundSchema;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* @internal
|
|
55
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
56
|
-
*/
|
|
57
|
-
export namespace GrantType$ {
|
|
58
|
-
/** @deprecated use `GrantType$inboundSchema` instead. */
|
|
59
|
-
export const inboundSchema = GrantType$inboundSchema;
|
|
60
|
-
/** @deprecated use `GrantType$outboundSchema` instead. */
|
|
61
|
-
export const outboundSchema = GrantType$outboundSchema;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
64
|
/** @internal */
|
|
65
65
|
export const TokenRequest$inboundSchema: z.ZodType<
|
|
66
66
|
TokenRequest,
|