@financeable/aggregation 0.5.1 → 0.6.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/FUNCTIONS.md +11 -132
- package/README.md +262 -1515
- package/docs/sdks/applications/README.md +171 -295
- package/docs/sdks/oauthtoken/README.md +5 -5
- package/docs/sdks/supportingdocuments/README.md +113 -0
- package/funcs/applicationsCreate.d.ts +1 -2
- package/funcs/applicationsCreate.d.ts.map +1 -1
- package/funcs/applicationsCreate.js +2 -3
- package/funcs/applicationsCreate.js.map +1 -1
- package/funcs/{oauthTokenGet.d.ts → oauthTokenOauthToken.d.ts} +2 -2
- package/funcs/oauthTokenOauthToken.d.ts.map +1 -0
- package/funcs/{oauthTokenGet.js → oauthTokenOauthToken.js} +3 -3
- package/funcs/oauthTokenOauthToken.js.map +1 -0
- package/funcs/supportingDocumentsCreate.d.ts +15 -0
- package/funcs/supportingDocumentsCreate.d.ts.map +1 -0
- package/funcs/{applicationsList.js → supportingDocumentsCreate.js} +15 -12
- package/funcs/supportingDocumentsCreate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +4 -7
- package/lib/config.js.map +1 -1
- package/lib/matchers.d.ts +3 -1
- package/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +12 -0
- package/lib/matchers.js.map +1 -1
- package/lib/sdks.d.ts +3 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +13 -13
- package/lib/sdks.js.map +1 -1
- package/models/components/addressattributes.d.ts +8 -8
- package/models/components/addressattributes.d.ts.map +1 -1
- package/models/components/addressattributes.js +13 -14
- package/models/components/addressattributes.js.map +1 -1
- package/models/components/applicationresource.d.ts +30 -0
- package/models/components/applicationresource.d.ts.map +1 -0
- package/models/components/applicationresource.js +73 -0
- package/models/components/applicationresource.js.map +1 -0
- package/models/components/badrequesterror.d.ts +119 -0
- package/models/components/badrequesterror.d.ts.map +1 -0
- package/models/components/badrequesterror.js +140 -0
- package/models/components/badrequesterror.js.map +1 -0
- package/models/components/commercialapplicationjsonapirelationships.d.ts +384 -0
- package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -0
- package/models/components/commercialapplicationjsonapirelationships.js +391 -0
- package/models/components/commercialapplicationjsonapirelationships.js.map +1 -0
- package/models/components/commercialapplicationresource.d.ts +191 -0
- package/models/components/commercialapplicationresource.d.ts.map +1 -0
- package/models/components/commercialapplicationresource.js +183 -0
- package/models/components/commercialapplicationresource.js.map +1 -0
- package/models/components/commercialsecuredloanapplicationsubmissionpayload.d.ts +124 -0
- package/models/components/commercialsecuredloanapplicationsubmissionpayload.d.ts.map +1 -0
- package/models/components/commercialsecuredloanapplicationsubmissionpayload.js +144 -0
- package/models/components/commercialsecuredloanapplicationsubmissionpayload.js.map +1 -0
- package/models/components/commercialsecuredloanassetattributes.d.ts +235 -0
- package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -0
- package/models/components/commercialsecuredloanassetattributes.js +168 -0
- package/models/components/commercialsecuredloanassetattributes.js.map +1 -0
- package/models/components/commercialsecuredloanassettype.d.ts +100 -0
- package/models/components/commercialsecuredloanassettype.d.ts.map +1 -0
- package/models/components/commercialsecuredloanassettype.js +84 -0
- package/models/components/commercialsecuredloanassettype.js.map +1 -0
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +455 -0
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -0
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js +504 -0
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -0
- package/models/components/consumerapplicationjsonapirelationships.d.ts +296 -0
- package/models/components/consumerapplicationjsonapirelationships.d.ts.map +1 -0
- package/models/components/consumerapplicationjsonapirelationships.js +310 -0
- package/models/components/consumerapplicationjsonapirelationships.js.map +1 -0
- package/models/components/consumerapplicationresource.d.ts +191 -0
- package/models/components/consumerapplicationresource.d.ts.map +1 -0
- package/models/components/consumerapplicationresource.js +187 -0
- package/models/components/consumerapplicationresource.js.map +1 -0
- package/models/components/consumersecuredloanapplicationsubmissionpayload.d.ts +124 -0
- package/models/components/consumersecuredloanapplicationsubmissionpayload.d.ts.map +1 -0
- package/models/components/consumersecuredloanapplicationsubmissionpayload.js +146 -0
- package/models/components/consumersecuredloanapplicationsubmissionpayload.js.map +1 -0
- package/models/components/consumersecuredloanassetattributes.d.ts +235 -0
- package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -0
- package/models/components/consumersecuredloanassetattributes.js +170 -0
- package/models/components/consumersecuredloanassetattributes.js.map +1 -0
- package/models/components/consumersecuredloanassettype.d.ts +64 -0
- package/models/components/consumersecuredloanassettype.d.ts.map +1 -0
- package/models/components/{consumerassettype.js → consumersecuredloanassettype.js} +27 -28
- package/models/components/consumersecuredloanassettype.js.map +1 -0
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +376 -0
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -0
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js +426 -0
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -0
- package/models/components/createsupportingdocumentsresponse.d.ts +121 -0
- package/models/components/createsupportingdocumentsresponse.d.ts.map +1 -0
- package/models/components/createsupportingdocumentsresponse.js +149 -0
- package/models/components/createsupportingdocumentsresponse.js.map +1 -0
- package/models/components/documenttype.d.ts +70 -0
- package/models/components/documenttype.d.ts.map +1 -0
- package/models/components/documenttype.js +75 -0
- package/models/components/documenttype.js.map +1 -0
- package/models/components/entityattributes.d.ts +0 -22
- package/models/components/entityattributes.d.ts.map +1 -1
- package/models/components/entityattributes.js +0 -19
- package/models/components/entityattributes.js.map +1 -1
- package/models/components/forbiddenerror.d.ts +17 -39
- package/models/components/forbiddenerror.d.ts.map +1 -1
- package/models/components/forbiddenerror.js +27 -46
- package/models/components/forbiddenerror.js.map +1 -1
- package/models/components/index.d.ts +25 -8
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +25 -8
- package/models/components/index.js.map +1 -1
- package/models/components/linkobject.d.ts +47 -0
- package/models/components/linkobject.d.ts.map +1 -0
- package/models/components/linkobject.js +77 -0
- package/models/components/linkobject.js.map +1 -0
- package/models/components/relationshipresourcenotfound.d.ts +116 -0
- package/models/components/relationshipresourcenotfound.d.ts.map +1 -0
- package/models/components/relationshipresourcenotfound.js +139 -0
- package/models/components/relationshipresourcenotfound.js.map +1 -0
- package/models/components/resourcenotfound.d.ts +119 -0
- package/models/components/resourcenotfound.d.ts.map +1 -0
- package/models/components/resourcenotfound.js +139 -0
- package/models/components/resourcenotfound.js.map +1 -0
- package/models/components/resourcetypes.d.ts +46 -0
- package/models/components/resourcetypes.d.ts.map +1 -0
- package/models/components/{links.js → resourcetypes.js} +21 -27
- package/models/components/resourcetypes.js.map +1 -0
- package/models/components/supportingdocumentattributes.d.ts +40 -0
- package/models/components/supportingdocumentattributes.d.ts.map +1 -0
- package/models/components/{applicationattributescreate.js → supportingdocumentattributes.js} +24 -24
- package/models/components/supportingdocumentattributes.js.map +1 -0
- package/models/components/supportingdocumentattributesinput.d.ts +38 -0
- package/models/components/supportingdocumentattributesinput.d.ts.map +1 -0
- package/models/components/supportingdocumentattributesinput.js +72 -0
- package/models/components/supportingdocumentattributesinput.js.map +1 -0
- package/models/components/supportingdocumentrelationships.d.ts +448 -0
- package/models/components/supportingdocumentrelationships.d.ts.map +1 -0
- package/models/components/supportingdocumentrelationships.js +434 -0
- package/models/components/supportingdocumentrelationships.js.map +1 -0
- package/models/components/supportingdocumentresource.d.ts +91 -0
- package/models/components/supportingdocumentresource.d.ts.map +1 -0
- package/models/components/supportingdocumentresource.js +121 -0
- package/models/components/supportingdocumentresource.js.map +1 -0
- package/models/components/uploadmimetype.d.ts +49 -0
- package/models/components/uploadmimetype.d.ts.map +1 -0
- package/models/components/{applicationtype.js → uploadmimetype.js} +22 -14
- package/models/components/uploadmimetype.js.map +1 -0
- package/models/errors/createapplication.d.ts +38 -0
- package/models/errors/createapplication.d.ts.map +1 -0
- package/models/errors/{responsebody.js → createapplication.js} +15 -15
- package/models/errors/createapplication.js.map +1 -0
- package/models/errors/index.d.ts +2 -1
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +2 -1
- package/models/errors/index.js.map +1 -1
- package/models/errors/supportingdocumentscreate.d.ts +143 -0
- package/models/errors/supportingdocumentscreate.d.ts.map +1 -0
- package/models/errors/supportingdocumentscreate.js +225 -0
- package/models/errors/supportingdocumentscreate.js.map +1 -0
- package/models/operations/createapplication.d.ts +66 -808
- package/models/operations/createapplication.d.ts.map +1 -1
- package/models/operations/createapplication.js +82 -837
- package/models/operations/createapplication.js.map +1 -1
- package/models/operations/index.d.ts +1 -2
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -2
- package/models/operations/index.js.map +1 -1
- package/models/operations/supportingdocumentscreate.d.ts +60 -0
- package/models/operations/supportingdocumentscreate.d.ts.map +1 -0
- package/models/operations/supportingdocumentscreate.js +108 -0
- package/models/operations/supportingdocumentscreate.js.map +1 -0
- package/package.json +2 -2
- package/sdk/applications.d.ts +1 -10
- package/sdk/applications.d.ts.map +1 -1
- package/sdk/applications.js +0 -14
- package/sdk/applications.js.map +1 -1
- package/sdk/oauthtoken.d.ts +1 -1
- package/sdk/oauthtoken.d.ts.map +1 -1
- package/sdk/oauthtoken.js +3 -3
- package/sdk/oauthtoken.js.map +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/supportingdocuments.d.ts +10 -0
- package/sdk/supportingdocuments.d.ts.map +1 -0
- package/sdk/supportingdocuments.js +19 -0
- package/sdk/supportingdocuments.js.map +1 -0
- package/src/funcs/applicationsCreate.ts +7 -8
- package/src/funcs/{oauthTokenGet.ts → oauthTokenOauthToken.ts} +1 -1
- package/src/funcs/{applicationsList.ts → supportingDocumentsCreate.ts} +31 -20
- package/src/lib/config.ts +4 -7
- package/src/lib/matchers.ts +20 -0
- package/src/lib/sdks.ts +19 -13
- package/src/models/components/addressattributes.ts +18 -14
- package/src/models/components/applicationresource.ts +83 -0
- package/src/models/components/badrequesterror.ts +182 -0
- package/src/models/components/commercialapplicationjsonapirelationships.ts +894 -0
- package/src/models/components/commercialapplicationresource.ts +355 -0
- package/src/models/components/commercialsecuredloanapplicationsubmissionpayload.ts +237 -0
- package/src/models/components/commercialsecuredloanassetattributes.ts +315 -0
- package/src/models/components/commercialsecuredloanassettype.ts +64 -0
- package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +1148 -0
- package/src/models/components/consumerapplicationjsonapirelationships.ts +683 -0
- package/src/models/components/consumerapplicationresource.ts +342 -0
- package/src/models/components/consumersecuredloanapplicationsubmissionpayload.ts +270 -0
- package/src/models/components/consumersecuredloanassetattributes.ts +330 -0
- package/src/models/components/consumersecuredloanassettype.ts +47 -0
- package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +1011 -0
- package/src/models/components/createsupportingdocumentsresponse.ts +252 -0
- package/src/models/components/documenttype.ts +49 -0
- package/src/models/components/entityattributes.ts +0 -44
- package/src/models/components/forbiddenerror.ts +35 -58
- package/src/models/components/index.ts +25 -8
- package/src/models/components/linkobject.ts +84 -0
- package/src/models/components/relationshipresourcenotfound.ts +195 -0
- package/src/models/components/resourcenotfound.ts +188 -0
- package/src/models/components/resourcetypes.ts +39 -0
- package/src/models/components/supportingdocumentattributes.ts +87 -0
- package/src/models/components/supportingdocumentattributesinput.ts +84 -0
- package/src/models/components/supportingdocumentrelationships.ts +828 -0
- package/src/models/components/supportingdocumentresource.ts +163 -0
- package/src/models/components/uploadmimetype.ts +44 -0
- package/src/models/errors/createapplication.ts +76 -0
- package/src/models/errors/index.ts +2 -1
- package/src/models/errors/supportingdocumentscreate.ts +342 -0
- package/src/models/operations/createapplication.ts +143 -1778
- package/src/models/operations/index.ts +1 -2
- package/src/models/operations/supportingdocumentscreate.ts +150 -0
- package/src/sdk/applications.ts +1 -32
- package/src/sdk/oauthtoken.ts +3 -3
- package/src/sdk/sdk.ts +8 -0
- package/src/sdk/supportingdocuments.ts +25 -0
- package/funcs/applicationsGet.d.ts +0 -14
- package/funcs/applicationsGet.d.ts.map +0 -1
- package/funcs/applicationsGet.js +0 -120
- package/funcs/applicationsGet.js.map +0 -1
- package/funcs/applicationsList.d.ts +0 -14
- package/funcs/applicationsList.d.ts.map +0 -1
- package/funcs/applicationsList.js.map +0 -1
- package/funcs/oauthTokenGet.d.ts.map +0 -1
- package/funcs/oauthTokenGet.js.map +0 -1
- package/models/components/applicationattributes.d.ts +0 -69
- package/models/components/applicationattributes.d.ts.map +0 -1
- package/models/components/applicationattributes.js +0 -85
- package/models/components/applicationattributes.js.map +0 -1
- package/models/components/applicationattributescreate.d.ts +0 -43
- package/models/components/applicationattributescreate.d.ts.map +0 -1
- package/models/components/applicationattributescreate.js.map +0 -1
- package/models/components/applicationresourcebulksubmission.d.ts +0 -527
- package/models/components/applicationresourcebulksubmission.d.ts.map +0 -1
- package/models/components/applicationresourcebulksubmission.js +0 -565
- package/models/components/applicationresourcebulksubmission.js.map +0 -1
- package/models/components/applicationtype.d.ts +0 -28
- package/models/components/applicationtype.d.ts.map +0 -1
- package/models/components/applicationtype.js.map +0 -1
- package/models/components/assetattributes.d.ts +0 -311
- package/models/components/assetattributes.d.ts.map +0 -1
- package/models/components/assetattributes.js +0 -234
- package/models/components/assetattributes.js.map +0 -1
- package/models/components/commercialassettype.d.ts +0 -44
- package/models/components/commercialassettype.d.ts.map +0 -1
- package/models/components/commercialassettype.js +0 -85
- package/models/components/commercialassettype.js.map +0 -1
- package/models/components/consumerassettype.d.ts +0 -32
- package/models/components/consumerassettype.d.ts.map +0 -1
- package/models/components/consumerassettype.js.map +0 -1
- package/models/components/links.d.ts +0 -40
- package/models/components/links.d.ts.map +0 -1
- package/models/components/links.js.map +0 -1
- package/models/errors/responsebody.d.ts +0 -38
- package/models/errors/responsebody.d.ts.map +0 -1
- package/models/errors/responsebody.js.map +0 -1
- package/models/operations/getapplication.d.ts +0 -962
- package/models/operations/getapplication.d.ts.map +0 -1
- package/models/operations/getapplication.js +0 -1030
- package/models/operations/getapplication.js.map +0 -1
- package/models/operations/getapplications.d.ts +0 -962
- package/models/operations/getapplications.d.ts.map +0 -1
- package/models/operations/getapplications.js +0 -1029
- package/models/operations/getapplications.js.map +0 -1
- package/src/funcs/applicationsGet.ts +0 -168
- package/src/models/components/applicationattributes.ts +0 -128
- package/src/models/components/applicationattributescreate.ts +0 -90
- package/src/models/components/applicationresourcebulksubmission.ts +0 -1172
- package/src/models/components/applicationtype.ts +0 -33
- package/src/models/components/assetattributes.ts +0 -411
- package/src/models/components/commercialassettype.ts +0 -61
- package/src/models/components/consumerassettype.ts +0 -43
- package/src/models/components/links.ts +0 -72
- package/src/models/errors/responsebody.ts +0 -76
- package/src/models/operations/getapplication.ts +0 -2246
- package/src/models/operations/getapplications.ts +0 -2191
|
@@ -1,2246 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import * as components from "../components/index.js";
|
|
10
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
|
|
12
|
-
export type GetApplicationRequest = {
|
|
13
|
-
id: string;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export const GetApplicationType = {
|
|
17
|
-
Applications: "applications",
|
|
18
|
-
} as const;
|
|
19
|
-
export type GetApplicationType = ClosedEnum<typeof GetApplicationType>;
|
|
20
|
-
|
|
21
|
-
export const GetApplicationDataApplicationsType = {
|
|
22
|
-
LoanDetails: "loan-details",
|
|
23
|
-
} as const;
|
|
24
|
-
export type GetApplicationDataApplicationsType = ClosedEnum<
|
|
25
|
-
typeof GetApplicationDataApplicationsType
|
|
26
|
-
>;
|
|
27
|
-
|
|
28
|
-
export type GetApplicationDataApplicationsResponse200ApplicationJson2 = {
|
|
29
|
-
type: GetApplicationDataApplicationsType;
|
|
30
|
-
id: string;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
export const GetApplicationDataType = {
|
|
34
|
-
LoanDetails: "loan-details",
|
|
35
|
-
} as const;
|
|
36
|
-
export type GetApplicationDataType = ClosedEnum<typeof GetApplicationDataType>;
|
|
37
|
-
|
|
38
|
-
export type GetApplicationDataApplicationsResponse200ApplicationJson1 = {
|
|
39
|
-
type: GetApplicationDataType;
|
|
40
|
-
id: string;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
export type GetApplicationApplicationsResponse200ApplicationJSONData =
|
|
44
|
-
| GetApplicationDataApplicationsResponse200ApplicationJson1
|
|
45
|
-
| Array<GetApplicationDataApplicationsResponse200ApplicationJson2>;
|
|
46
|
-
|
|
47
|
-
export type GetApplicationLoanDetails = {
|
|
48
|
-
data:
|
|
49
|
-
| GetApplicationDataApplicationsResponse200ApplicationJson1
|
|
50
|
-
| Array<GetApplicationDataApplicationsResponse200ApplicationJson2>
|
|
51
|
-
| null;
|
|
52
|
-
/**
|
|
53
|
-
* Standard link object
|
|
54
|
-
*/
|
|
55
|
-
links?: components.Links | undefined;
|
|
56
|
-
meta?: { [k: string]: any } | undefined;
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
export const GetApplicationDataApplicationsResponse200Type = {
|
|
60
|
-
Customers: "customers",
|
|
61
|
-
} as const;
|
|
62
|
-
export type GetApplicationDataApplicationsResponse200Type = ClosedEnum<
|
|
63
|
-
typeof GetApplicationDataApplicationsResponse200Type
|
|
64
|
-
>;
|
|
65
|
-
|
|
66
|
-
export type GetApplicationDataApplications2 = {
|
|
67
|
-
type: GetApplicationDataApplicationsResponse200Type;
|
|
68
|
-
id: string;
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
export const GetApplicationDataApplicationsResponseType = {
|
|
72
|
-
Customers: "customers",
|
|
73
|
-
} as const;
|
|
74
|
-
export type GetApplicationDataApplicationsResponseType = ClosedEnum<
|
|
75
|
-
typeof GetApplicationDataApplicationsResponseType
|
|
76
|
-
>;
|
|
77
|
-
|
|
78
|
-
export type GetApplicationDataApplications1 = {
|
|
79
|
-
type: GetApplicationDataApplicationsResponseType;
|
|
80
|
-
id: string;
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
export type GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData =
|
|
84
|
-
| GetApplicationDataApplications1
|
|
85
|
-
| Array<GetApplicationDataApplications2>;
|
|
86
|
-
|
|
87
|
-
export type GetApplicationCustomers = {
|
|
88
|
-
data:
|
|
89
|
-
| GetApplicationDataApplications1
|
|
90
|
-
| Array<GetApplicationDataApplications2>
|
|
91
|
-
| null;
|
|
92
|
-
/**
|
|
93
|
-
* Standard link object
|
|
94
|
-
*/
|
|
95
|
-
links?: components.Links | undefined;
|
|
96
|
-
meta?: { [k: string]: any } | undefined;
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
export const GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyType =
|
|
100
|
-
{
|
|
101
|
-
Assets: "assets",
|
|
102
|
-
} as const;
|
|
103
|
-
export type GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyType =
|
|
104
|
-
ClosedEnum<
|
|
105
|
-
typeof GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyType
|
|
106
|
-
>;
|
|
107
|
-
|
|
108
|
-
export type GetApplicationDataApplicationsResponse2 = {
|
|
109
|
-
type:
|
|
110
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyType;
|
|
111
|
-
id: string;
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
export const GetApplicationDataApplicationsResponse200ApplicationJSONType = {
|
|
115
|
-
Assets: "assets",
|
|
116
|
-
} as const;
|
|
117
|
-
export type GetApplicationDataApplicationsResponse200ApplicationJSONType =
|
|
118
|
-
ClosedEnum<
|
|
119
|
-
typeof GetApplicationDataApplicationsResponse200ApplicationJSONType
|
|
120
|
-
>;
|
|
121
|
-
|
|
122
|
-
export type GetApplicationDataApplicationsResponse1 = {
|
|
123
|
-
type: GetApplicationDataApplicationsResponse200ApplicationJSONType;
|
|
124
|
-
id: string;
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
export type GetApplicationApplicationsResponseData =
|
|
128
|
-
| GetApplicationDataApplicationsResponse1
|
|
129
|
-
| Array<GetApplicationDataApplicationsResponse2>;
|
|
130
|
-
|
|
131
|
-
export type GetApplicationAsset = {
|
|
132
|
-
data:
|
|
133
|
-
| GetApplicationDataApplicationsResponse1
|
|
134
|
-
| Array<GetApplicationDataApplicationsResponse2>
|
|
135
|
-
| null;
|
|
136
|
-
/**
|
|
137
|
-
* Standard link object
|
|
138
|
-
*/
|
|
139
|
-
links?: components.Links | undefined;
|
|
140
|
-
meta?: { [k: string]: any } | undefined;
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
export const GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType =
|
|
144
|
-
{
|
|
145
|
-
Entities: "entities",
|
|
146
|
-
} as const;
|
|
147
|
-
export type GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType =
|
|
148
|
-
ClosedEnum<
|
|
149
|
-
typeof GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType
|
|
150
|
-
>;
|
|
151
|
-
|
|
152
|
-
export type GetApplicationDataApplicationsResponse2002 = {
|
|
153
|
-
type:
|
|
154
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType;
|
|
155
|
-
id: string;
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
export const GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType =
|
|
159
|
-
{
|
|
160
|
-
Entities: "entities",
|
|
161
|
-
} as const;
|
|
162
|
-
export type GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType =
|
|
163
|
-
ClosedEnum<
|
|
164
|
-
typeof GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType
|
|
165
|
-
>;
|
|
166
|
-
|
|
167
|
-
export type GetApplicationDataApplicationsResponse2001 = {
|
|
168
|
-
type:
|
|
169
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType;
|
|
170
|
-
id: string;
|
|
171
|
-
};
|
|
172
|
-
|
|
173
|
-
export type GetApplicationApplicationsResponse200Data =
|
|
174
|
-
| GetApplicationDataApplicationsResponse2001
|
|
175
|
-
| Array<GetApplicationDataApplicationsResponse2002>;
|
|
176
|
-
|
|
177
|
-
export type GetApplicationEntities = {
|
|
178
|
-
data:
|
|
179
|
-
| GetApplicationDataApplicationsResponse2001
|
|
180
|
-
| Array<GetApplicationDataApplicationsResponse2002>
|
|
181
|
-
| null;
|
|
182
|
-
/**
|
|
183
|
-
* Standard link object
|
|
184
|
-
*/
|
|
185
|
-
links?: components.Links | undefined;
|
|
186
|
-
meta?: { [k: string]: any } | undefined;
|
|
187
|
-
};
|
|
188
|
-
|
|
189
|
-
export type GetApplicationRelationships = {
|
|
190
|
-
loanDetails?: GetApplicationLoanDetails | undefined;
|
|
191
|
-
customers?: GetApplicationCustomers | undefined;
|
|
192
|
-
asset?: GetApplicationAsset | undefined;
|
|
193
|
-
entities?: GetApplicationEntities | undefined;
|
|
194
|
-
};
|
|
195
|
-
|
|
196
|
-
export type GetApplicationData = {
|
|
197
|
-
type: GetApplicationType;
|
|
198
|
-
id: string;
|
|
199
|
-
/**
|
|
200
|
-
* Application resource attributes
|
|
201
|
-
*/
|
|
202
|
-
attributes?: components.ApplicationAttributes | undefined;
|
|
203
|
-
relationships?: GetApplicationRelationships | undefined;
|
|
204
|
-
/**
|
|
205
|
-
* Standard link object
|
|
206
|
-
*/
|
|
207
|
-
links?: components.Links | undefined;
|
|
208
|
-
meta?: { [k: string]: any } | undefined;
|
|
209
|
-
};
|
|
210
|
-
|
|
211
|
-
export type GetApplicationAttributes = {};
|
|
212
|
-
|
|
213
|
-
export type GetApplicationData2 = {
|
|
214
|
-
type: string;
|
|
215
|
-
id: string;
|
|
216
|
-
};
|
|
217
|
-
|
|
218
|
-
export type GetApplicationData1 = {
|
|
219
|
-
type: string;
|
|
220
|
-
id: string;
|
|
221
|
-
};
|
|
222
|
-
|
|
223
|
-
export type GetApplicationApplicationsData =
|
|
224
|
-
| GetApplicationData1
|
|
225
|
-
| Array<GetApplicationData2>;
|
|
226
|
-
|
|
227
|
-
export type GetApplicationApplicationsRelationships = {
|
|
228
|
-
data: GetApplicationData1 | Array<GetApplicationData2> | null;
|
|
229
|
-
/**
|
|
230
|
-
* Standard link object
|
|
231
|
-
*/
|
|
232
|
-
links?: components.Links | undefined;
|
|
233
|
-
meta?: { [k: string]: any } | undefined;
|
|
234
|
-
};
|
|
235
|
-
|
|
236
|
-
export type GetApplicationIncluded = {
|
|
237
|
-
type: string;
|
|
238
|
-
id: string;
|
|
239
|
-
attributes?: GetApplicationAttributes | undefined;
|
|
240
|
-
relationships?:
|
|
241
|
-
| { [k: string]: GetApplicationApplicationsRelationships }
|
|
242
|
-
| undefined;
|
|
243
|
-
/**
|
|
244
|
-
* Standard link object
|
|
245
|
-
*/
|
|
246
|
-
links?: components.Links | undefined;
|
|
247
|
-
meta?: { [k: string]: any } | undefined;
|
|
248
|
-
};
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* The request has succeeded.
|
|
252
|
-
*/
|
|
253
|
-
export type GetApplicationResponseBody = {
|
|
254
|
-
data: GetApplicationData;
|
|
255
|
-
included?: Array<GetApplicationIncluded> | undefined;
|
|
256
|
-
/**
|
|
257
|
-
* Standard link object
|
|
258
|
-
*/
|
|
259
|
-
links?: components.Links | undefined;
|
|
260
|
-
};
|
|
261
|
-
|
|
262
|
-
/** @internal */
|
|
263
|
-
export const GetApplicationRequest$inboundSchema: z.ZodType<
|
|
264
|
-
GetApplicationRequest,
|
|
265
|
-
z.ZodTypeDef,
|
|
266
|
-
unknown
|
|
267
|
-
> = z.object({
|
|
268
|
-
id: z.string(),
|
|
269
|
-
});
|
|
270
|
-
|
|
271
|
-
/** @internal */
|
|
272
|
-
export type GetApplicationRequest$Outbound = {
|
|
273
|
-
id: string;
|
|
274
|
-
};
|
|
275
|
-
|
|
276
|
-
/** @internal */
|
|
277
|
-
export const GetApplicationRequest$outboundSchema: z.ZodType<
|
|
278
|
-
GetApplicationRequest$Outbound,
|
|
279
|
-
z.ZodTypeDef,
|
|
280
|
-
GetApplicationRequest
|
|
281
|
-
> = z.object({
|
|
282
|
-
id: z.string(),
|
|
283
|
-
});
|
|
284
|
-
|
|
285
|
-
/**
|
|
286
|
-
* @internal
|
|
287
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
288
|
-
*/
|
|
289
|
-
export namespace GetApplicationRequest$ {
|
|
290
|
-
/** @deprecated use `GetApplicationRequest$inboundSchema` instead. */
|
|
291
|
-
export const inboundSchema = GetApplicationRequest$inboundSchema;
|
|
292
|
-
/** @deprecated use `GetApplicationRequest$outboundSchema` instead. */
|
|
293
|
-
export const outboundSchema = GetApplicationRequest$outboundSchema;
|
|
294
|
-
/** @deprecated use `GetApplicationRequest$Outbound` instead. */
|
|
295
|
-
export type Outbound = GetApplicationRequest$Outbound;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
export function getApplicationRequestToJSON(
|
|
299
|
-
getApplicationRequest: GetApplicationRequest,
|
|
300
|
-
): string {
|
|
301
|
-
return JSON.stringify(
|
|
302
|
-
GetApplicationRequest$outboundSchema.parse(getApplicationRequest),
|
|
303
|
-
);
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
export function getApplicationRequestFromJSON(
|
|
307
|
-
jsonString: string,
|
|
308
|
-
): SafeParseResult<GetApplicationRequest, SDKValidationError> {
|
|
309
|
-
return safeParse(
|
|
310
|
-
jsonString,
|
|
311
|
-
(x) => GetApplicationRequest$inboundSchema.parse(JSON.parse(x)),
|
|
312
|
-
`Failed to parse 'GetApplicationRequest' from JSON`,
|
|
313
|
-
);
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
/** @internal */
|
|
317
|
-
export const GetApplicationType$inboundSchema: z.ZodNativeEnum<
|
|
318
|
-
typeof GetApplicationType
|
|
319
|
-
> = z.nativeEnum(GetApplicationType);
|
|
320
|
-
|
|
321
|
-
/** @internal */
|
|
322
|
-
export const GetApplicationType$outboundSchema: z.ZodNativeEnum<
|
|
323
|
-
typeof GetApplicationType
|
|
324
|
-
> = GetApplicationType$inboundSchema;
|
|
325
|
-
|
|
326
|
-
/**
|
|
327
|
-
* @internal
|
|
328
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
329
|
-
*/
|
|
330
|
-
export namespace GetApplicationType$ {
|
|
331
|
-
/** @deprecated use `GetApplicationType$inboundSchema` instead. */
|
|
332
|
-
export const inboundSchema = GetApplicationType$inboundSchema;
|
|
333
|
-
/** @deprecated use `GetApplicationType$outboundSchema` instead. */
|
|
334
|
-
export const outboundSchema = GetApplicationType$outboundSchema;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
/** @internal */
|
|
338
|
-
export const GetApplicationDataApplicationsType$inboundSchema: z.ZodNativeEnum<
|
|
339
|
-
typeof GetApplicationDataApplicationsType
|
|
340
|
-
> = z.nativeEnum(GetApplicationDataApplicationsType);
|
|
341
|
-
|
|
342
|
-
/** @internal */
|
|
343
|
-
export const GetApplicationDataApplicationsType$outboundSchema: z.ZodNativeEnum<
|
|
344
|
-
typeof GetApplicationDataApplicationsType
|
|
345
|
-
> = GetApplicationDataApplicationsType$inboundSchema;
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* @internal
|
|
349
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
350
|
-
*/
|
|
351
|
-
export namespace GetApplicationDataApplicationsType$ {
|
|
352
|
-
/** @deprecated use `GetApplicationDataApplicationsType$inboundSchema` instead. */
|
|
353
|
-
export const inboundSchema = GetApplicationDataApplicationsType$inboundSchema;
|
|
354
|
-
/** @deprecated use `GetApplicationDataApplicationsType$outboundSchema` instead. */
|
|
355
|
-
export const outboundSchema =
|
|
356
|
-
GetApplicationDataApplicationsType$outboundSchema;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
/** @internal */
|
|
360
|
-
export const GetApplicationDataApplicationsResponse200ApplicationJson2$inboundSchema:
|
|
361
|
-
z.ZodType<
|
|
362
|
-
GetApplicationDataApplicationsResponse200ApplicationJson2,
|
|
363
|
-
z.ZodTypeDef,
|
|
364
|
-
unknown
|
|
365
|
-
> = z.object({
|
|
366
|
-
type: GetApplicationDataApplicationsType$inboundSchema,
|
|
367
|
-
id: z.string(),
|
|
368
|
-
});
|
|
369
|
-
|
|
370
|
-
/** @internal */
|
|
371
|
-
export type GetApplicationDataApplicationsResponse200ApplicationJson2$Outbound =
|
|
372
|
-
{
|
|
373
|
-
type: string;
|
|
374
|
-
id: string;
|
|
375
|
-
};
|
|
376
|
-
|
|
377
|
-
/** @internal */
|
|
378
|
-
export const GetApplicationDataApplicationsResponse200ApplicationJson2$outboundSchema:
|
|
379
|
-
z.ZodType<
|
|
380
|
-
GetApplicationDataApplicationsResponse200ApplicationJson2$Outbound,
|
|
381
|
-
z.ZodTypeDef,
|
|
382
|
-
GetApplicationDataApplicationsResponse200ApplicationJson2
|
|
383
|
-
> = z.object({
|
|
384
|
-
type: GetApplicationDataApplicationsType$outboundSchema,
|
|
385
|
-
id: z.string(),
|
|
386
|
-
});
|
|
387
|
-
|
|
388
|
-
/**
|
|
389
|
-
* @internal
|
|
390
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
391
|
-
*/
|
|
392
|
-
export namespace GetApplicationDataApplicationsResponse200ApplicationJson2$ {
|
|
393
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJson2$inboundSchema` instead. */
|
|
394
|
-
export const inboundSchema =
|
|
395
|
-
GetApplicationDataApplicationsResponse200ApplicationJson2$inboundSchema;
|
|
396
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJson2$outboundSchema` instead. */
|
|
397
|
-
export const outboundSchema =
|
|
398
|
-
GetApplicationDataApplicationsResponse200ApplicationJson2$outboundSchema;
|
|
399
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJson2$Outbound` instead. */
|
|
400
|
-
export type Outbound =
|
|
401
|
-
GetApplicationDataApplicationsResponse200ApplicationJson2$Outbound;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
export function getApplicationDataApplicationsResponse200ApplicationJSON2ToJSON(
|
|
405
|
-
getApplicationDataApplicationsResponse200ApplicationJson2:
|
|
406
|
-
GetApplicationDataApplicationsResponse200ApplicationJson2,
|
|
407
|
-
): string {
|
|
408
|
-
return JSON.stringify(
|
|
409
|
-
GetApplicationDataApplicationsResponse200ApplicationJson2$outboundSchema
|
|
410
|
-
.parse(getApplicationDataApplicationsResponse200ApplicationJson2),
|
|
411
|
-
);
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
export function getApplicationDataApplicationsResponse200ApplicationJSON2FromJSON(
|
|
415
|
-
jsonString: string,
|
|
416
|
-
): SafeParseResult<
|
|
417
|
-
GetApplicationDataApplicationsResponse200ApplicationJson2,
|
|
418
|
-
SDKValidationError
|
|
419
|
-
> {
|
|
420
|
-
return safeParse(
|
|
421
|
-
jsonString,
|
|
422
|
-
(x) =>
|
|
423
|
-
GetApplicationDataApplicationsResponse200ApplicationJson2$inboundSchema
|
|
424
|
-
.parse(JSON.parse(x)),
|
|
425
|
-
`Failed to parse 'GetApplicationDataApplicationsResponse200ApplicationJson2' from JSON`,
|
|
426
|
-
);
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
/** @internal */
|
|
430
|
-
export const GetApplicationDataType$inboundSchema: z.ZodNativeEnum<
|
|
431
|
-
typeof GetApplicationDataType
|
|
432
|
-
> = z.nativeEnum(GetApplicationDataType);
|
|
433
|
-
|
|
434
|
-
/** @internal */
|
|
435
|
-
export const GetApplicationDataType$outboundSchema: z.ZodNativeEnum<
|
|
436
|
-
typeof GetApplicationDataType
|
|
437
|
-
> = GetApplicationDataType$inboundSchema;
|
|
438
|
-
|
|
439
|
-
/**
|
|
440
|
-
* @internal
|
|
441
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
442
|
-
*/
|
|
443
|
-
export namespace GetApplicationDataType$ {
|
|
444
|
-
/** @deprecated use `GetApplicationDataType$inboundSchema` instead. */
|
|
445
|
-
export const inboundSchema = GetApplicationDataType$inboundSchema;
|
|
446
|
-
/** @deprecated use `GetApplicationDataType$outboundSchema` instead. */
|
|
447
|
-
export const outboundSchema = GetApplicationDataType$outboundSchema;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
/** @internal */
|
|
451
|
-
export const GetApplicationDataApplicationsResponse200ApplicationJson1$inboundSchema:
|
|
452
|
-
z.ZodType<
|
|
453
|
-
GetApplicationDataApplicationsResponse200ApplicationJson1,
|
|
454
|
-
z.ZodTypeDef,
|
|
455
|
-
unknown
|
|
456
|
-
> = z.object({
|
|
457
|
-
type: GetApplicationDataType$inboundSchema,
|
|
458
|
-
id: z.string(),
|
|
459
|
-
});
|
|
460
|
-
|
|
461
|
-
/** @internal */
|
|
462
|
-
export type GetApplicationDataApplicationsResponse200ApplicationJson1$Outbound =
|
|
463
|
-
{
|
|
464
|
-
type: string;
|
|
465
|
-
id: string;
|
|
466
|
-
};
|
|
467
|
-
|
|
468
|
-
/** @internal */
|
|
469
|
-
export const GetApplicationDataApplicationsResponse200ApplicationJson1$outboundSchema:
|
|
470
|
-
z.ZodType<
|
|
471
|
-
GetApplicationDataApplicationsResponse200ApplicationJson1$Outbound,
|
|
472
|
-
z.ZodTypeDef,
|
|
473
|
-
GetApplicationDataApplicationsResponse200ApplicationJson1
|
|
474
|
-
> = z.object({
|
|
475
|
-
type: GetApplicationDataType$outboundSchema,
|
|
476
|
-
id: z.string(),
|
|
477
|
-
});
|
|
478
|
-
|
|
479
|
-
/**
|
|
480
|
-
* @internal
|
|
481
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
482
|
-
*/
|
|
483
|
-
export namespace GetApplicationDataApplicationsResponse200ApplicationJson1$ {
|
|
484
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJson1$inboundSchema` instead. */
|
|
485
|
-
export const inboundSchema =
|
|
486
|
-
GetApplicationDataApplicationsResponse200ApplicationJson1$inboundSchema;
|
|
487
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJson1$outboundSchema` instead. */
|
|
488
|
-
export const outboundSchema =
|
|
489
|
-
GetApplicationDataApplicationsResponse200ApplicationJson1$outboundSchema;
|
|
490
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJson1$Outbound` instead. */
|
|
491
|
-
export type Outbound =
|
|
492
|
-
GetApplicationDataApplicationsResponse200ApplicationJson1$Outbound;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
export function getApplicationDataApplicationsResponse200ApplicationJSON1ToJSON(
|
|
496
|
-
getApplicationDataApplicationsResponse200ApplicationJson1:
|
|
497
|
-
GetApplicationDataApplicationsResponse200ApplicationJson1,
|
|
498
|
-
): string {
|
|
499
|
-
return JSON.stringify(
|
|
500
|
-
GetApplicationDataApplicationsResponse200ApplicationJson1$outboundSchema
|
|
501
|
-
.parse(getApplicationDataApplicationsResponse200ApplicationJson1),
|
|
502
|
-
);
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
export function getApplicationDataApplicationsResponse200ApplicationJSON1FromJSON(
|
|
506
|
-
jsonString: string,
|
|
507
|
-
): SafeParseResult<
|
|
508
|
-
GetApplicationDataApplicationsResponse200ApplicationJson1,
|
|
509
|
-
SDKValidationError
|
|
510
|
-
> {
|
|
511
|
-
return safeParse(
|
|
512
|
-
jsonString,
|
|
513
|
-
(x) =>
|
|
514
|
-
GetApplicationDataApplicationsResponse200ApplicationJson1$inboundSchema
|
|
515
|
-
.parse(JSON.parse(x)),
|
|
516
|
-
`Failed to parse 'GetApplicationDataApplicationsResponse200ApplicationJson1' from JSON`,
|
|
517
|
-
);
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
/** @internal */
|
|
521
|
-
export const GetApplicationApplicationsResponse200ApplicationJSONData$inboundSchema:
|
|
522
|
-
z.ZodType<
|
|
523
|
-
GetApplicationApplicationsResponse200ApplicationJSONData,
|
|
524
|
-
z.ZodTypeDef,
|
|
525
|
-
unknown
|
|
526
|
-
> = z.union([
|
|
527
|
-
z.lazy(() =>
|
|
528
|
-
GetApplicationDataApplicationsResponse200ApplicationJson1$inboundSchema
|
|
529
|
-
),
|
|
530
|
-
z.array(
|
|
531
|
-
z.lazy(() =>
|
|
532
|
-
GetApplicationDataApplicationsResponse200ApplicationJson2$inboundSchema
|
|
533
|
-
),
|
|
534
|
-
),
|
|
535
|
-
]);
|
|
536
|
-
|
|
537
|
-
/** @internal */
|
|
538
|
-
export type GetApplicationApplicationsResponse200ApplicationJSONData$Outbound =
|
|
539
|
-
| GetApplicationDataApplicationsResponse200ApplicationJson1$Outbound
|
|
540
|
-
| Array<GetApplicationDataApplicationsResponse200ApplicationJson2$Outbound>;
|
|
541
|
-
|
|
542
|
-
/** @internal */
|
|
543
|
-
export const GetApplicationApplicationsResponse200ApplicationJSONData$outboundSchema:
|
|
544
|
-
z.ZodType<
|
|
545
|
-
GetApplicationApplicationsResponse200ApplicationJSONData$Outbound,
|
|
546
|
-
z.ZodTypeDef,
|
|
547
|
-
GetApplicationApplicationsResponse200ApplicationJSONData
|
|
548
|
-
> = z.union([
|
|
549
|
-
z.lazy(() =>
|
|
550
|
-
GetApplicationDataApplicationsResponse200ApplicationJson1$outboundSchema
|
|
551
|
-
),
|
|
552
|
-
z.array(
|
|
553
|
-
z.lazy(() =>
|
|
554
|
-
GetApplicationDataApplicationsResponse200ApplicationJson2$outboundSchema
|
|
555
|
-
),
|
|
556
|
-
),
|
|
557
|
-
]);
|
|
558
|
-
|
|
559
|
-
/**
|
|
560
|
-
* @internal
|
|
561
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
562
|
-
*/
|
|
563
|
-
export namespace GetApplicationApplicationsResponse200ApplicationJSONData$ {
|
|
564
|
-
/** @deprecated use `GetApplicationApplicationsResponse200ApplicationJSONData$inboundSchema` instead. */
|
|
565
|
-
export const inboundSchema =
|
|
566
|
-
GetApplicationApplicationsResponse200ApplicationJSONData$inboundSchema;
|
|
567
|
-
/** @deprecated use `GetApplicationApplicationsResponse200ApplicationJSONData$outboundSchema` instead. */
|
|
568
|
-
export const outboundSchema =
|
|
569
|
-
GetApplicationApplicationsResponse200ApplicationJSONData$outboundSchema;
|
|
570
|
-
/** @deprecated use `GetApplicationApplicationsResponse200ApplicationJSONData$Outbound` instead. */
|
|
571
|
-
export type Outbound =
|
|
572
|
-
GetApplicationApplicationsResponse200ApplicationJSONData$Outbound;
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
export function getApplicationApplicationsResponse200ApplicationJSONDataToJSON(
|
|
576
|
-
getApplicationApplicationsResponse200ApplicationJSONData:
|
|
577
|
-
GetApplicationApplicationsResponse200ApplicationJSONData,
|
|
578
|
-
): string {
|
|
579
|
-
return JSON.stringify(
|
|
580
|
-
GetApplicationApplicationsResponse200ApplicationJSONData$outboundSchema
|
|
581
|
-
.parse(getApplicationApplicationsResponse200ApplicationJSONData),
|
|
582
|
-
);
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
export function getApplicationApplicationsResponse200ApplicationJSONDataFromJSON(
|
|
586
|
-
jsonString: string,
|
|
587
|
-
): SafeParseResult<
|
|
588
|
-
GetApplicationApplicationsResponse200ApplicationJSONData,
|
|
589
|
-
SDKValidationError
|
|
590
|
-
> {
|
|
591
|
-
return safeParse(
|
|
592
|
-
jsonString,
|
|
593
|
-
(x) =>
|
|
594
|
-
GetApplicationApplicationsResponse200ApplicationJSONData$inboundSchema
|
|
595
|
-
.parse(JSON.parse(x)),
|
|
596
|
-
`Failed to parse 'GetApplicationApplicationsResponse200ApplicationJSONData' from JSON`,
|
|
597
|
-
);
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
/** @internal */
|
|
601
|
-
export const GetApplicationLoanDetails$inboundSchema: z.ZodType<
|
|
602
|
-
GetApplicationLoanDetails,
|
|
603
|
-
z.ZodTypeDef,
|
|
604
|
-
unknown
|
|
605
|
-
> = z.object({
|
|
606
|
-
data: z.nullable(
|
|
607
|
-
z.union([
|
|
608
|
-
z.lazy(() =>
|
|
609
|
-
GetApplicationDataApplicationsResponse200ApplicationJson1$inboundSchema
|
|
610
|
-
),
|
|
611
|
-
z.array(
|
|
612
|
-
z.lazy(() =>
|
|
613
|
-
GetApplicationDataApplicationsResponse200ApplicationJson2$inboundSchema
|
|
614
|
-
),
|
|
615
|
-
),
|
|
616
|
-
]),
|
|
617
|
-
),
|
|
618
|
-
links: components.Links$inboundSchema.optional(),
|
|
619
|
-
meta: z.record(z.any()).optional(),
|
|
620
|
-
});
|
|
621
|
-
|
|
622
|
-
/** @internal */
|
|
623
|
-
export type GetApplicationLoanDetails$Outbound = {
|
|
624
|
-
data:
|
|
625
|
-
| GetApplicationDataApplicationsResponse200ApplicationJson1$Outbound
|
|
626
|
-
| Array<GetApplicationDataApplicationsResponse200ApplicationJson2$Outbound>
|
|
627
|
-
| null;
|
|
628
|
-
links?: components.Links$Outbound | undefined;
|
|
629
|
-
meta?: { [k: string]: any } | undefined;
|
|
630
|
-
};
|
|
631
|
-
|
|
632
|
-
/** @internal */
|
|
633
|
-
export const GetApplicationLoanDetails$outboundSchema: z.ZodType<
|
|
634
|
-
GetApplicationLoanDetails$Outbound,
|
|
635
|
-
z.ZodTypeDef,
|
|
636
|
-
GetApplicationLoanDetails
|
|
637
|
-
> = z.object({
|
|
638
|
-
data: z.nullable(
|
|
639
|
-
z.union([
|
|
640
|
-
z.lazy(() =>
|
|
641
|
-
GetApplicationDataApplicationsResponse200ApplicationJson1$outboundSchema
|
|
642
|
-
),
|
|
643
|
-
z.array(
|
|
644
|
-
z.lazy(() =>
|
|
645
|
-
GetApplicationDataApplicationsResponse200ApplicationJson2$outboundSchema
|
|
646
|
-
),
|
|
647
|
-
),
|
|
648
|
-
]),
|
|
649
|
-
),
|
|
650
|
-
links: components.Links$outboundSchema.optional(),
|
|
651
|
-
meta: z.record(z.any()).optional(),
|
|
652
|
-
});
|
|
653
|
-
|
|
654
|
-
/**
|
|
655
|
-
* @internal
|
|
656
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
657
|
-
*/
|
|
658
|
-
export namespace GetApplicationLoanDetails$ {
|
|
659
|
-
/** @deprecated use `GetApplicationLoanDetails$inboundSchema` instead. */
|
|
660
|
-
export const inboundSchema = GetApplicationLoanDetails$inboundSchema;
|
|
661
|
-
/** @deprecated use `GetApplicationLoanDetails$outboundSchema` instead. */
|
|
662
|
-
export const outboundSchema = GetApplicationLoanDetails$outboundSchema;
|
|
663
|
-
/** @deprecated use `GetApplicationLoanDetails$Outbound` instead. */
|
|
664
|
-
export type Outbound = GetApplicationLoanDetails$Outbound;
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
export function getApplicationLoanDetailsToJSON(
|
|
668
|
-
getApplicationLoanDetails: GetApplicationLoanDetails,
|
|
669
|
-
): string {
|
|
670
|
-
return JSON.stringify(
|
|
671
|
-
GetApplicationLoanDetails$outboundSchema.parse(getApplicationLoanDetails),
|
|
672
|
-
);
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
export function getApplicationLoanDetailsFromJSON(
|
|
676
|
-
jsonString: string,
|
|
677
|
-
): SafeParseResult<GetApplicationLoanDetails, SDKValidationError> {
|
|
678
|
-
return safeParse(
|
|
679
|
-
jsonString,
|
|
680
|
-
(x) => GetApplicationLoanDetails$inboundSchema.parse(JSON.parse(x)),
|
|
681
|
-
`Failed to parse 'GetApplicationLoanDetails' from JSON`,
|
|
682
|
-
);
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
/** @internal */
|
|
686
|
-
export const GetApplicationDataApplicationsResponse200Type$inboundSchema:
|
|
687
|
-
z.ZodNativeEnum<typeof GetApplicationDataApplicationsResponse200Type> = z
|
|
688
|
-
.nativeEnum(GetApplicationDataApplicationsResponse200Type);
|
|
689
|
-
|
|
690
|
-
/** @internal */
|
|
691
|
-
export const GetApplicationDataApplicationsResponse200Type$outboundSchema:
|
|
692
|
-
z.ZodNativeEnum<typeof GetApplicationDataApplicationsResponse200Type> =
|
|
693
|
-
GetApplicationDataApplicationsResponse200Type$inboundSchema;
|
|
694
|
-
|
|
695
|
-
/**
|
|
696
|
-
* @internal
|
|
697
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
698
|
-
*/
|
|
699
|
-
export namespace GetApplicationDataApplicationsResponse200Type$ {
|
|
700
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse200Type$inboundSchema` instead. */
|
|
701
|
-
export const inboundSchema =
|
|
702
|
-
GetApplicationDataApplicationsResponse200Type$inboundSchema;
|
|
703
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse200Type$outboundSchema` instead. */
|
|
704
|
-
export const outboundSchema =
|
|
705
|
-
GetApplicationDataApplicationsResponse200Type$outboundSchema;
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
/** @internal */
|
|
709
|
-
export const GetApplicationDataApplications2$inboundSchema: z.ZodType<
|
|
710
|
-
GetApplicationDataApplications2,
|
|
711
|
-
z.ZodTypeDef,
|
|
712
|
-
unknown
|
|
713
|
-
> = z.object({
|
|
714
|
-
type: GetApplicationDataApplicationsResponse200Type$inboundSchema,
|
|
715
|
-
id: z.string(),
|
|
716
|
-
});
|
|
717
|
-
|
|
718
|
-
/** @internal */
|
|
719
|
-
export type GetApplicationDataApplications2$Outbound = {
|
|
720
|
-
type: string;
|
|
721
|
-
id: string;
|
|
722
|
-
};
|
|
723
|
-
|
|
724
|
-
/** @internal */
|
|
725
|
-
export const GetApplicationDataApplications2$outboundSchema: z.ZodType<
|
|
726
|
-
GetApplicationDataApplications2$Outbound,
|
|
727
|
-
z.ZodTypeDef,
|
|
728
|
-
GetApplicationDataApplications2
|
|
729
|
-
> = z.object({
|
|
730
|
-
type: GetApplicationDataApplicationsResponse200Type$outboundSchema,
|
|
731
|
-
id: z.string(),
|
|
732
|
-
});
|
|
733
|
-
|
|
734
|
-
/**
|
|
735
|
-
* @internal
|
|
736
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
737
|
-
*/
|
|
738
|
-
export namespace GetApplicationDataApplications2$ {
|
|
739
|
-
/** @deprecated use `GetApplicationDataApplications2$inboundSchema` instead. */
|
|
740
|
-
export const inboundSchema = GetApplicationDataApplications2$inboundSchema;
|
|
741
|
-
/** @deprecated use `GetApplicationDataApplications2$outboundSchema` instead. */
|
|
742
|
-
export const outboundSchema = GetApplicationDataApplications2$outboundSchema;
|
|
743
|
-
/** @deprecated use `GetApplicationDataApplications2$Outbound` instead. */
|
|
744
|
-
export type Outbound = GetApplicationDataApplications2$Outbound;
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
export function getApplicationDataApplications2ToJSON(
|
|
748
|
-
getApplicationDataApplications2: GetApplicationDataApplications2,
|
|
749
|
-
): string {
|
|
750
|
-
return JSON.stringify(
|
|
751
|
-
GetApplicationDataApplications2$outboundSchema.parse(
|
|
752
|
-
getApplicationDataApplications2,
|
|
753
|
-
),
|
|
754
|
-
);
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
export function getApplicationDataApplications2FromJSON(
|
|
758
|
-
jsonString: string,
|
|
759
|
-
): SafeParseResult<GetApplicationDataApplications2, SDKValidationError> {
|
|
760
|
-
return safeParse(
|
|
761
|
-
jsonString,
|
|
762
|
-
(x) => GetApplicationDataApplications2$inboundSchema.parse(JSON.parse(x)),
|
|
763
|
-
`Failed to parse 'GetApplicationDataApplications2' from JSON`,
|
|
764
|
-
);
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
/** @internal */
|
|
768
|
-
export const GetApplicationDataApplicationsResponseType$inboundSchema:
|
|
769
|
-
z.ZodNativeEnum<typeof GetApplicationDataApplicationsResponseType> = z
|
|
770
|
-
.nativeEnum(GetApplicationDataApplicationsResponseType);
|
|
771
|
-
|
|
772
|
-
/** @internal */
|
|
773
|
-
export const GetApplicationDataApplicationsResponseType$outboundSchema:
|
|
774
|
-
z.ZodNativeEnum<typeof GetApplicationDataApplicationsResponseType> =
|
|
775
|
-
GetApplicationDataApplicationsResponseType$inboundSchema;
|
|
776
|
-
|
|
777
|
-
/**
|
|
778
|
-
* @internal
|
|
779
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
780
|
-
*/
|
|
781
|
-
export namespace GetApplicationDataApplicationsResponseType$ {
|
|
782
|
-
/** @deprecated use `GetApplicationDataApplicationsResponseType$inboundSchema` instead. */
|
|
783
|
-
export const inboundSchema =
|
|
784
|
-
GetApplicationDataApplicationsResponseType$inboundSchema;
|
|
785
|
-
/** @deprecated use `GetApplicationDataApplicationsResponseType$outboundSchema` instead. */
|
|
786
|
-
export const outboundSchema =
|
|
787
|
-
GetApplicationDataApplicationsResponseType$outboundSchema;
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
/** @internal */
|
|
791
|
-
export const GetApplicationDataApplications1$inboundSchema: z.ZodType<
|
|
792
|
-
GetApplicationDataApplications1,
|
|
793
|
-
z.ZodTypeDef,
|
|
794
|
-
unknown
|
|
795
|
-
> = z.object({
|
|
796
|
-
type: GetApplicationDataApplicationsResponseType$inboundSchema,
|
|
797
|
-
id: z.string(),
|
|
798
|
-
});
|
|
799
|
-
|
|
800
|
-
/** @internal */
|
|
801
|
-
export type GetApplicationDataApplications1$Outbound = {
|
|
802
|
-
type: string;
|
|
803
|
-
id: string;
|
|
804
|
-
};
|
|
805
|
-
|
|
806
|
-
/** @internal */
|
|
807
|
-
export const GetApplicationDataApplications1$outboundSchema: z.ZodType<
|
|
808
|
-
GetApplicationDataApplications1$Outbound,
|
|
809
|
-
z.ZodTypeDef,
|
|
810
|
-
GetApplicationDataApplications1
|
|
811
|
-
> = z.object({
|
|
812
|
-
type: GetApplicationDataApplicationsResponseType$outboundSchema,
|
|
813
|
-
id: z.string(),
|
|
814
|
-
});
|
|
815
|
-
|
|
816
|
-
/**
|
|
817
|
-
* @internal
|
|
818
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
819
|
-
*/
|
|
820
|
-
export namespace GetApplicationDataApplications1$ {
|
|
821
|
-
/** @deprecated use `GetApplicationDataApplications1$inboundSchema` instead. */
|
|
822
|
-
export const inboundSchema = GetApplicationDataApplications1$inboundSchema;
|
|
823
|
-
/** @deprecated use `GetApplicationDataApplications1$outboundSchema` instead. */
|
|
824
|
-
export const outboundSchema = GetApplicationDataApplications1$outboundSchema;
|
|
825
|
-
/** @deprecated use `GetApplicationDataApplications1$Outbound` instead. */
|
|
826
|
-
export type Outbound = GetApplicationDataApplications1$Outbound;
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
export function getApplicationDataApplications1ToJSON(
|
|
830
|
-
getApplicationDataApplications1: GetApplicationDataApplications1,
|
|
831
|
-
): string {
|
|
832
|
-
return JSON.stringify(
|
|
833
|
-
GetApplicationDataApplications1$outboundSchema.parse(
|
|
834
|
-
getApplicationDataApplications1,
|
|
835
|
-
),
|
|
836
|
-
);
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
export function getApplicationDataApplications1FromJSON(
|
|
840
|
-
jsonString: string,
|
|
841
|
-
): SafeParseResult<GetApplicationDataApplications1, SDKValidationError> {
|
|
842
|
-
return safeParse(
|
|
843
|
-
jsonString,
|
|
844
|
-
(x) => GetApplicationDataApplications1$inboundSchema.parse(JSON.parse(x)),
|
|
845
|
-
`Failed to parse 'GetApplicationDataApplications1' from JSON`,
|
|
846
|
-
);
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
/** @internal */
|
|
850
|
-
export const GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$inboundSchema:
|
|
851
|
-
z.ZodType<
|
|
852
|
-
GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData,
|
|
853
|
-
z.ZodTypeDef,
|
|
854
|
-
unknown
|
|
855
|
-
> = z.union([
|
|
856
|
-
z.lazy(() => GetApplicationDataApplications1$inboundSchema),
|
|
857
|
-
z.array(z.lazy(() => GetApplicationDataApplications2$inboundSchema)),
|
|
858
|
-
]);
|
|
859
|
-
|
|
860
|
-
/** @internal */
|
|
861
|
-
export type GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$Outbound =
|
|
862
|
-
| GetApplicationDataApplications1$Outbound
|
|
863
|
-
| Array<GetApplicationDataApplications2$Outbound>;
|
|
864
|
-
|
|
865
|
-
/** @internal */
|
|
866
|
-
export const GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$outboundSchema:
|
|
867
|
-
z.ZodType<
|
|
868
|
-
GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$Outbound,
|
|
869
|
-
z.ZodTypeDef,
|
|
870
|
-
GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData
|
|
871
|
-
> = z.union([
|
|
872
|
-
z.lazy(() => GetApplicationDataApplications1$outboundSchema),
|
|
873
|
-
z.array(z.lazy(() => GetApplicationDataApplications2$outboundSchema)),
|
|
874
|
-
]);
|
|
875
|
-
|
|
876
|
-
/**
|
|
877
|
-
* @internal
|
|
878
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
879
|
-
*/
|
|
880
|
-
export namespace GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$ {
|
|
881
|
-
/** @deprecated use `GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$inboundSchema` instead. */
|
|
882
|
-
export const inboundSchema =
|
|
883
|
-
GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$inboundSchema;
|
|
884
|
-
/** @deprecated use `GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$outboundSchema` instead. */
|
|
885
|
-
export const outboundSchema =
|
|
886
|
-
GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$outboundSchema;
|
|
887
|
-
/** @deprecated use `GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$Outbound` instead. */
|
|
888
|
-
export type Outbound =
|
|
889
|
-
GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$Outbound;
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
export function getApplicationApplicationsResponse200ApplicationJSONResponseBodyDataToJSON(
|
|
893
|
-
getApplicationApplicationsResponse200ApplicationJSONResponseBodyData:
|
|
894
|
-
GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData,
|
|
895
|
-
): string {
|
|
896
|
-
return JSON.stringify(
|
|
897
|
-
GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$outboundSchema
|
|
898
|
-
.parse(
|
|
899
|
-
getApplicationApplicationsResponse200ApplicationJSONResponseBodyData,
|
|
900
|
-
),
|
|
901
|
-
);
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
export function getApplicationApplicationsResponse200ApplicationJSONResponseBodyDataFromJSON(
|
|
905
|
-
jsonString: string,
|
|
906
|
-
): SafeParseResult<
|
|
907
|
-
GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData,
|
|
908
|
-
SDKValidationError
|
|
909
|
-
> {
|
|
910
|
-
return safeParse(
|
|
911
|
-
jsonString,
|
|
912
|
-
(x) =>
|
|
913
|
-
GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$inboundSchema
|
|
914
|
-
.parse(JSON.parse(x)),
|
|
915
|
-
`Failed to parse 'GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData' from JSON`,
|
|
916
|
-
);
|
|
917
|
-
}
|
|
918
|
-
|
|
919
|
-
/** @internal */
|
|
920
|
-
export const GetApplicationCustomers$inboundSchema: z.ZodType<
|
|
921
|
-
GetApplicationCustomers,
|
|
922
|
-
z.ZodTypeDef,
|
|
923
|
-
unknown
|
|
924
|
-
> = z.object({
|
|
925
|
-
data: z.nullable(
|
|
926
|
-
z.union([
|
|
927
|
-
z.lazy(() => GetApplicationDataApplications1$inboundSchema),
|
|
928
|
-
z.array(z.lazy(() => GetApplicationDataApplications2$inboundSchema)),
|
|
929
|
-
]),
|
|
930
|
-
),
|
|
931
|
-
links: components.Links$inboundSchema.optional(),
|
|
932
|
-
meta: z.record(z.any()).optional(),
|
|
933
|
-
});
|
|
934
|
-
|
|
935
|
-
/** @internal */
|
|
936
|
-
export type GetApplicationCustomers$Outbound = {
|
|
937
|
-
data:
|
|
938
|
-
| GetApplicationDataApplications1$Outbound
|
|
939
|
-
| Array<GetApplicationDataApplications2$Outbound>
|
|
940
|
-
| null;
|
|
941
|
-
links?: components.Links$Outbound | undefined;
|
|
942
|
-
meta?: { [k: string]: any } | undefined;
|
|
943
|
-
};
|
|
944
|
-
|
|
945
|
-
/** @internal */
|
|
946
|
-
export const GetApplicationCustomers$outboundSchema: z.ZodType<
|
|
947
|
-
GetApplicationCustomers$Outbound,
|
|
948
|
-
z.ZodTypeDef,
|
|
949
|
-
GetApplicationCustomers
|
|
950
|
-
> = z.object({
|
|
951
|
-
data: z.nullable(
|
|
952
|
-
z.union([
|
|
953
|
-
z.lazy(() => GetApplicationDataApplications1$outboundSchema),
|
|
954
|
-
z.array(z.lazy(() => GetApplicationDataApplications2$outboundSchema)),
|
|
955
|
-
]),
|
|
956
|
-
),
|
|
957
|
-
links: components.Links$outboundSchema.optional(),
|
|
958
|
-
meta: z.record(z.any()).optional(),
|
|
959
|
-
});
|
|
960
|
-
|
|
961
|
-
/**
|
|
962
|
-
* @internal
|
|
963
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
964
|
-
*/
|
|
965
|
-
export namespace GetApplicationCustomers$ {
|
|
966
|
-
/** @deprecated use `GetApplicationCustomers$inboundSchema` instead. */
|
|
967
|
-
export const inboundSchema = GetApplicationCustomers$inboundSchema;
|
|
968
|
-
/** @deprecated use `GetApplicationCustomers$outboundSchema` instead. */
|
|
969
|
-
export const outboundSchema = GetApplicationCustomers$outboundSchema;
|
|
970
|
-
/** @deprecated use `GetApplicationCustomers$Outbound` instead. */
|
|
971
|
-
export type Outbound = GetApplicationCustomers$Outbound;
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
export function getApplicationCustomersToJSON(
|
|
975
|
-
getApplicationCustomers: GetApplicationCustomers,
|
|
976
|
-
): string {
|
|
977
|
-
return JSON.stringify(
|
|
978
|
-
GetApplicationCustomers$outboundSchema.parse(getApplicationCustomers),
|
|
979
|
-
);
|
|
980
|
-
}
|
|
981
|
-
|
|
982
|
-
export function getApplicationCustomersFromJSON(
|
|
983
|
-
jsonString: string,
|
|
984
|
-
): SafeParseResult<GetApplicationCustomers, SDKValidationError> {
|
|
985
|
-
return safeParse(
|
|
986
|
-
jsonString,
|
|
987
|
-
(x) => GetApplicationCustomers$inboundSchema.parse(JSON.parse(x)),
|
|
988
|
-
`Failed to parse 'GetApplicationCustomers' from JSON`,
|
|
989
|
-
);
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
/** @internal */
|
|
993
|
-
export const GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyType$inboundSchema:
|
|
994
|
-
z.ZodNativeEnum<
|
|
995
|
-
typeof GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyType
|
|
996
|
-
> = z.nativeEnum(
|
|
997
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyType,
|
|
998
|
-
);
|
|
999
|
-
|
|
1000
|
-
/** @internal */
|
|
1001
|
-
export const GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyType$outboundSchema:
|
|
1002
|
-
z.ZodNativeEnum<
|
|
1003
|
-
typeof GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyType
|
|
1004
|
-
> =
|
|
1005
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
1006
|
-
|
|
1007
|
-
/**
|
|
1008
|
-
* @internal
|
|
1009
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1010
|
-
*/
|
|
1011
|
-
export namespace GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyType$ {
|
|
1012
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
|
|
1013
|
-
export const inboundSchema =
|
|
1014
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
1015
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
|
|
1016
|
-
export const outboundSchema =
|
|
1017
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyType$outboundSchema;
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
|
-
/** @internal */
|
|
1021
|
-
export const GetApplicationDataApplicationsResponse2$inboundSchema: z.ZodType<
|
|
1022
|
-
GetApplicationDataApplicationsResponse2,
|
|
1023
|
-
z.ZodTypeDef,
|
|
1024
|
-
unknown
|
|
1025
|
-
> = z.object({
|
|
1026
|
-
type:
|
|
1027
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyType$inboundSchema,
|
|
1028
|
-
id: z.string(),
|
|
1029
|
-
});
|
|
1030
|
-
|
|
1031
|
-
/** @internal */
|
|
1032
|
-
export type GetApplicationDataApplicationsResponse2$Outbound = {
|
|
1033
|
-
type: string;
|
|
1034
|
-
id: string;
|
|
1035
|
-
};
|
|
1036
|
-
|
|
1037
|
-
/** @internal */
|
|
1038
|
-
export const GetApplicationDataApplicationsResponse2$outboundSchema: z.ZodType<
|
|
1039
|
-
GetApplicationDataApplicationsResponse2$Outbound,
|
|
1040
|
-
z.ZodTypeDef,
|
|
1041
|
-
GetApplicationDataApplicationsResponse2
|
|
1042
|
-
> = z.object({
|
|
1043
|
-
type:
|
|
1044
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyType$outboundSchema,
|
|
1045
|
-
id: z.string(),
|
|
1046
|
-
});
|
|
1047
|
-
|
|
1048
|
-
/**
|
|
1049
|
-
* @internal
|
|
1050
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1051
|
-
*/
|
|
1052
|
-
export namespace GetApplicationDataApplicationsResponse2$ {
|
|
1053
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse2$inboundSchema` instead. */
|
|
1054
|
-
export const inboundSchema =
|
|
1055
|
-
GetApplicationDataApplicationsResponse2$inboundSchema;
|
|
1056
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse2$outboundSchema` instead. */
|
|
1057
|
-
export const outboundSchema =
|
|
1058
|
-
GetApplicationDataApplicationsResponse2$outboundSchema;
|
|
1059
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse2$Outbound` instead. */
|
|
1060
|
-
export type Outbound = GetApplicationDataApplicationsResponse2$Outbound;
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
export function getApplicationDataApplicationsResponse2ToJSON(
|
|
1064
|
-
getApplicationDataApplicationsResponse2:
|
|
1065
|
-
GetApplicationDataApplicationsResponse2,
|
|
1066
|
-
): string {
|
|
1067
|
-
return JSON.stringify(
|
|
1068
|
-
GetApplicationDataApplicationsResponse2$outboundSchema.parse(
|
|
1069
|
-
getApplicationDataApplicationsResponse2,
|
|
1070
|
-
),
|
|
1071
|
-
);
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
|
-
export function getApplicationDataApplicationsResponse2FromJSON(
|
|
1075
|
-
jsonString: string,
|
|
1076
|
-
): SafeParseResult<
|
|
1077
|
-
GetApplicationDataApplicationsResponse2,
|
|
1078
|
-
SDKValidationError
|
|
1079
|
-
> {
|
|
1080
|
-
return safeParse(
|
|
1081
|
-
jsonString,
|
|
1082
|
-
(x) =>
|
|
1083
|
-
GetApplicationDataApplicationsResponse2$inboundSchema.parse(
|
|
1084
|
-
JSON.parse(x),
|
|
1085
|
-
),
|
|
1086
|
-
`Failed to parse 'GetApplicationDataApplicationsResponse2' from JSON`,
|
|
1087
|
-
);
|
|
1088
|
-
}
|
|
1089
|
-
|
|
1090
|
-
/** @internal */
|
|
1091
|
-
export const GetApplicationDataApplicationsResponse200ApplicationJSONType$inboundSchema:
|
|
1092
|
-
z.ZodNativeEnum<
|
|
1093
|
-
typeof GetApplicationDataApplicationsResponse200ApplicationJSONType
|
|
1094
|
-
> = z.nativeEnum(
|
|
1095
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONType,
|
|
1096
|
-
);
|
|
1097
|
-
|
|
1098
|
-
/** @internal */
|
|
1099
|
-
export const GetApplicationDataApplicationsResponse200ApplicationJSONType$outboundSchema:
|
|
1100
|
-
z.ZodNativeEnum<
|
|
1101
|
-
typeof GetApplicationDataApplicationsResponse200ApplicationJSONType
|
|
1102
|
-
> =
|
|
1103
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONType$inboundSchema;
|
|
1104
|
-
|
|
1105
|
-
/**
|
|
1106
|
-
* @internal
|
|
1107
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1108
|
-
*/
|
|
1109
|
-
export namespace GetApplicationDataApplicationsResponse200ApplicationJSONType$ {
|
|
1110
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
1111
|
-
export const inboundSchema =
|
|
1112
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONType$inboundSchema;
|
|
1113
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
1114
|
-
export const outboundSchema =
|
|
1115
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONType$outboundSchema;
|
|
1116
|
-
}
|
|
1117
|
-
|
|
1118
|
-
/** @internal */
|
|
1119
|
-
export const GetApplicationDataApplicationsResponse1$inboundSchema: z.ZodType<
|
|
1120
|
-
GetApplicationDataApplicationsResponse1,
|
|
1121
|
-
z.ZodTypeDef,
|
|
1122
|
-
unknown
|
|
1123
|
-
> = z.object({
|
|
1124
|
-
type:
|
|
1125
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONType$inboundSchema,
|
|
1126
|
-
id: z.string(),
|
|
1127
|
-
});
|
|
1128
|
-
|
|
1129
|
-
/** @internal */
|
|
1130
|
-
export type GetApplicationDataApplicationsResponse1$Outbound = {
|
|
1131
|
-
type: string;
|
|
1132
|
-
id: string;
|
|
1133
|
-
};
|
|
1134
|
-
|
|
1135
|
-
/** @internal */
|
|
1136
|
-
export const GetApplicationDataApplicationsResponse1$outboundSchema: z.ZodType<
|
|
1137
|
-
GetApplicationDataApplicationsResponse1$Outbound,
|
|
1138
|
-
z.ZodTypeDef,
|
|
1139
|
-
GetApplicationDataApplicationsResponse1
|
|
1140
|
-
> = z.object({
|
|
1141
|
-
type:
|
|
1142
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONType$outboundSchema,
|
|
1143
|
-
id: z.string(),
|
|
1144
|
-
});
|
|
1145
|
-
|
|
1146
|
-
/**
|
|
1147
|
-
* @internal
|
|
1148
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1149
|
-
*/
|
|
1150
|
-
export namespace GetApplicationDataApplicationsResponse1$ {
|
|
1151
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse1$inboundSchema` instead. */
|
|
1152
|
-
export const inboundSchema =
|
|
1153
|
-
GetApplicationDataApplicationsResponse1$inboundSchema;
|
|
1154
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse1$outboundSchema` instead. */
|
|
1155
|
-
export const outboundSchema =
|
|
1156
|
-
GetApplicationDataApplicationsResponse1$outboundSchema;
|
|
1157
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse1$Outbound` instead. */
|
|
1158
|
-
export type Outbound = GetApplicationDataApplicationsResponse1$Outbound;
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
export function getApplicationDataApplicationsResponse1ToJSON(
|
|
1162
|
-
getApplicationDataApplicationsResponse1:
|
|
1163
|
-
GetApplicationDataApplicationsResponse1,
|
|
1164
|
-
): string {
|
|
1165
|
-
return JSON.stringify(
|
|
1166
|
-
GetApplicationDataApplicationsResponse1$outboundSchema.parse(
|
|
1167
|
-
getApplicationDataApplicationsResponse1,
|
|
1168
|
-
),
|
|
1169
|
-
);
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1172
|
-
export function getApplicationDataApplicationsResponse1FromJSON(
|
|
1173
|
-
jsonString: string,
|
|
1174
|
-
): SafeParseResult<
|
|
1175
|
-
GetApplicationDataApplicationsResponse1,
|
|
1176
|
-
SDKValidationError
|
|
1177
|
-
> {
|
|
1178
|
-
return safeParse(
|
|
1179
|
-
jsonString,
|
|
1180
|
-
(x) =>
|
|
1181
|
-
GetApplicationDataApplicationsResponse1$inboundSchema.parse(
|
|
1182
|
-
JSON.parse(x),
|
|
1183
|
-
),
|
|
1184
|
-
`Failed to parse 'GetApplicationDataApplicationsResponse1' from JSON`,
|
|
1185
|
-
);
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
/** @internal */
|
|
1189
|
-
export const GetApplicationApplicationsResponseData$inboundSchema: z.ZodType<
|
|
1190
|
-
GetApplicationApplicationsResponseData,
|
|
1191
|
-
z.ZodTypeDef,
|
|
1192
|
-
unknown
|
|
1193
|
-
> = z.union([
|
|
1194
|
-
z.lazy(() => GetApplicationDataApplicationsResponse1$inboundSchema),
|
|
1195
|
-
z.array(z.lazy(() => GetApplicationDataApplicationsResponse2$inboundSchema)),
|
|
1196
|
-
]);
|
|
1197
|
-
|
|
1198
|
-
/** @internal */
|
|
1199
|
-
export type GetApplicationApplicationsResponseData$Outbound =
|
|
1200
|
-
| GetApplicationDataApplicationsResponse1$Outbound
|
|
1201
|
-
| Array<GetApplicationDataApplicationsResponse2$Outbound>;
|
|
1202
|
-
|
|
1203
|
-
/** @internal */
|
|
1204
|
-
export const GetApplicationApplicationsResponseData$outboundSchema: z.ZodType<
|
|
1205
|
-
GetApplicationApplicationsResponseData$Outbound,
|
|
1206
|
-
z.ZodTypeDef,
|
|
1207
|
-
GetApplicationApplicationsResponseData
|
|
1208
|
-
> = z.union([
|
|
1209
|
-
z.lazy(() => GetApplicationDataApplicationsResponse1$outboundSchema),
|
|
1210
|
-
z.array(z.lazy(() => GetApplicationDataApplicationsResponse2$outboundSchema)),
|
|
1211
|
-
]);
|
|
1212
|
-
|
|
1213
|
-
/**
|
|
1214
|
-
* @internal
|
|
1215
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1216
|
-
*/
|
|
1217
|
-
export namespace GetApplicationApplicationsResponseData$ {
|
|
1218
|
-
/** @deprecated use `GetApplicationApplicationsResponseData$inboundSchema` instead. */
|
|
1219
|
-
export const inboundSchema =
|
|
1220
|
-
GetApplicationApplicationsResponseData$inboundSchema;
|
|
1221
|
-
/** @deprecated use `GetApplicationApplicationsResponseData$outboundSchema` instead. */
|
|
1222
|
-
export const outboundSchema =
|
|
1223
|
-
GetApplicationApplicationsResponseData$outboundSchema;
|
|
1224
|
-
/** @deprecated use `GetApplicationApplicationsResponseData$Outbound` instead. */
|
|
1225
|
-
export type Outbound = GetApplicationApplicationsResponseData$Outbound;
|
|
1226
|
-
}
|
|
1227
|
-
|
|
1228
|
-
export function getApplicationApplicationsResponseDataToJSON(
|
|
1229
|
-
getApplicationApplicationsResponseData:
|
|
1230
|
-
GetApplicationApplicationsResponseData,
|
|
1231
|
-
): string {
|
|
1232
|
-
return JSON.stringify(
|
|
1233
|
-
GetApplicationApplicationsResponseData$outboundSchema.parse(
|
|
1234
|
-
getApplicationApplicationsResponseData,
|
|
1235
|
-
),
|
|
1236
|
-
);
|
|
1237
|
-
}
|
|
1238
|
-
|
|
1239
|
-
export function getApplicationApplicationsResponseDataFromJSON(
|
|
1240
|
-
jsonString: string,
|
|
1241
|
-
): SafeParseResult<GetApplicationApplicationsResponseData, SDKValidationError> {
|
|
1242
|
-
return safeParse(
|
|
1243
|
-
jsonString,
|
|
1244
|
-
(x) =>
|
|
1245
|
-
GetApplicationApplicationsResponseData$inboundSchema.parse(JSON.parse(x)),
|
|
1246
|
-
`Failed to parse 'GetApplicationApplicationsResponseData' from JSON`,
|
|
1247
|
-
);
|
|
1248
|
-
}
|
|
1249
|
-
|
|
1250
|
-
/** @internal */
|
|
1251
|
-
export const GetApplicationAsset$inboundSchema: z.ZodType<
|
|
1252
|
-
GetApplicationAsset,
|
|
1253
|
-
z.ZodTypeDef,
|
|
1254
|
-
unknown
|
|
1255
|
-
> = z.object({
|
|
1256
|
-
data: z.nullable(
|
|
1257
|
-
z.union([
|
|
1258
|
-
z.lazy(() => GetApplicationDataApplicationsResponse1$inboundSchema),
|
|
1259
|
-
z.array(z.lazy(() =>
|
|
1260
|
-
GetApplicationDataApplicationsResponse2$inboundSchema
|
|
1261
|
-
)),
|
|
1262
|
-
]),
|
|
1263
|
-
),
|
|
1264
|
-
links: components.Links$inboundSchema.optional(),
|
|
1265
|
-
meta: z.record(z.any()).optional(),
|
|
1266
|
-
});
|
|
1267
|
-
|
|
1268
|
-
/** @internal */
|
|
1269
|
-
export type GetApplicationAsset$Outbound = {
|
|
1270
|
-
data:
|
|
1271
|
-
| GetApplicationDataApplicationsResponse1$Outbound
|
|
1272
|
-
| Array<GetApplicationDataApplicationsResponse2$Outbound>
|
|
1273
|
-
| null;
|
|
1274
|
-
links?: components.Links$Outbound | undefined;
|
|
1275
|
-
meta?: { [k: string]: any } | undefined;
|
|
1276
|
-
};
|
|
1277
|
-
|
|
1278
|
-
/** @internal */
|
|
1279
|
-
export const GetApplicationAsset$outboundSchema: z.ZodType<
|
|
1280
|
-
GetApplicationAsset$Outbound,
|
|
1281
|
-
z.ZodTypeDef,
|
|
1282
|
-
GetApplicationAsset
|
|
1283
|
-
> = z.object({
|
|
1284
|
-
data: z.nullable(
|
|
1285
|
-
z.union([
|
|
1286
|
-
z.lazy(() => GetApplicationDataApplicationsResponse1$outboundSchema),
|
|
1287
|
-
z.array(z.lazy(() =>
|
|
1288
|
-
GetApplicationDataApplicationsResponse2$outboundSchema
|
|
1289
|
-
)),
|
|
1290
|
-
]),
|
|
1291
|
-
),
|
|
1292
|
-
links: components.Links$outboundSchema.optional(),
|
|
1293
|
-
meta: z.record(z.any()).optional(),
|
|
1294
|
-
});
|
|
1295
|
-
|
|
1296
|
-
/**
|
|
1297
|
-
* @internal
|
|
1298
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1299
|
-
*/
|
|
1300
|
-
export namespace GetApplicationAsset$ {
|
|
1301
|
-
/** @deprecated use `GetApplicationAsset$inboundSchema` instead. */
|
|
1302
|
-
export const inboundSchema = GetApplicationAsset$inboundSchema;
|
|
1303
|
-
/** @deprecated use `GetApplicationAsset$outboundSchema` instead. */
|
|
1304
|
-
export const outboundSchema = GetApplicationAsset$outboundSchema;
|
|
1305
|
-
/** @deprecated use `GetApplicationAsset$Outbound` instead. */
|
|
1306
|
-
export type Outbound = GetApplicationAsset$Outbound;
|
|
1307
|
-
}
|
|
1308
|
-
|
|
1309
|
-
export function getApplicationAssetToJSON(
|
|
1310
|
-
getApplicationAsset: GetApplicationAsset,
|
|
1311
|
-
): string {
|
|
1312
|
-
return JSON.stringify(
|
|
1313
|
-
GetApplicationAsset$outboundSchema.parse(getApplicationAsset),
|
|
1314
|
-
);
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
|
-
export function getApplicationAssetFromJSON(
|
|
1318
|
-
jsonString: string,
|
|
1319
|
-
): SafeParseResult<GetApplicationAsset, SDKValidationError> {
|
|
1320
|
-
return safeParse(
|
|
1321
|
-
jsonString,
|
|
1322
|
-
(x) => GetApplicationAsset$inboundSchema.parse(JSON.parse(x)),
|
|
1323
|
-
`Failed to parse 'GetApplicationAsset' from JSON`,
|
|
1324
|
-
);
|
|
1325
|
-
}
|
|
1326
|
-
|
|
1327
|
-
/** @internal */
|
|
1328
|
-
export const GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType$inboundSchema:
|
|
1329
|
-
z.ZodNativeEnum<
|
|
1330
|
-
typeof GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType
|
|
1331
|
-
> = z.nativeEnum(
|
|
1332
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType,
|
|
1333
|
-
);
|
|
1334
|
-
|
|
1335
|
-
/** @internal */
|
|
1336
|
-
export const GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType$outboundSchema:
|
|
1337
|
-
z.ZodNativeEnum<
|
|
1338
|
-
typeof GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType
|
|
1339
|
-
> =
|
|
1340
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType$inboundSchema;
|
|
1341
|
-
|
|
1342
|
-
/**
|
|
1343
|
-
* @internal
|
|
1344
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1345
|
-
*/
|
|
1346
|
-
export namespace GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType$ {
|
|
1347
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType$inboundSchema` instead. */
|
|
1348
|
-
export const inboundSchema =
|
|
1349
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType$inboundSchema;
|
|
1350
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType$outboundSchema` instead. */
|
|
1351
|
-
export const outboundSchema =
|
|
1352
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType$outboundSchema;
|
|
1353
|
-
}
|
|
1354
|
-
|
|
1355
|
-
/** @internal */
|
|
1356
|
-
export const GetApplicationDataApplicationsResponse2002$inboundSchema:
|
|
1357
|
-
z.ZodType<GetApplicationDataApplicationsResponse2002, z.ZodTypeDef, unknown> =
|
|
1358
|
-
z.object({
|
|
1359
|
-
type:
|
|
1360
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType$inboundSchema,
|
|
1361
|
-
id: z.string(),
|
|
1362
|
-
});
|
|
1363
|
-
|
|
1364
|
-
/** @internal */
|
|
1365
|
-
export type GetApplicationDataApplicationsResponse2002$Outbound = {
|
|
1366
|
-
type: string;
|
|
1367
|
-
id: string;
|
|
1368
|
-
};
|
|
1369
|
-
|
|
1370
|
-
/** @internal */
|
|
1371
|
-
export const GetApplicationDataApplicationsResponse2002$outboundSchema:
|
|
1372
|
-
z.ZodType<
|
|
1373
|
-
GetApplicationDataApplicationsResponse2002$Outbound,
|
|
1374
|
-
z.ZodTypeDef,
|
|
1375
|
-
GetApplicationDataApplicationsResponse2002
|
|
1376
|
-
> = z.object({
|
|
1377
|
-
type:
|
|
1378
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType$outboundSchema,
|
|
1379
|
-
id: z.string(),
|
|
1380
|
-
});
|
|
1381
|
-
|
|
1382
|
-
/**
|
|
1383
|
-
* @internal
|
|
1384
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1385
|
-
*/
|
|
1386
|
-
export namespace GetApplicationDataApplicationsResponse2002$ {
|
|
1387
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse2002$inboundSchema` instead. */
|
|
1388
|
-
export const inboundSchema =
|
|
1389
|
-
GetApplicationDataApplicationsResponse2002$inboundSchema;
|
|
1390
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse2002$outboundSchema` instead. */
|
|
1391
|
-
export const outboundSchema =
|
|
1392
|
-
GetApplicationDataApplicationsResponse2002$outboundSchema;
|
|
1393
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse2002$Outbound` instead. */
|
|
1394
|
-
export type Outbound = GetApplicationDataApplicationsResponse2002$Outbound;
|
|
1395
|
-
}
|
|
1396
|
-
|
|
1397
|
-
export function getApplicationDataApplicationsResponse2002ToJSON(
|
|
1398
|
-
getApplicationDataApplicationsResponse2002:
|
|
1399
|
-
GetApplicationDataApplicationsResponse2002,
|
|
1400
|
-
): string {
|
|
1401
|
-
return JSON.stringify(
|
|
1402
|
-
GetApplicationDataApplicationsResponse2002$outboundSchema.parse(
|
|
1403
|
-
getApplicationDataApplicationsResponse2002,
|
|
1404
|
-
),
|
|
1405
|
-
);
|
|
1406
|
-
}
|
|
1407
|
-
|
|
1408
|
-
export function getApplicationDataApplicationsResponse2002FromJSON(
|
|
1409
|
-
jsonString: string,
|
|
1410
|
-
): SafeParseResult<
|
|
1411
|
-
GetApplicationDataApplicationsResponse2002,
|
|
1412
|
-
SDKValidationError
|
|
1413
|
-
> {
|
|
1414
|
-
return safeParse(
|
|
1415
|
-
jsonString,
|
|
1416
|
-
(x) =>
|
|
1417
|
-
GetApplicationDataApplicationsResponse2002$inboundSchema.parse(
|
|
1418
|
-
JSON.parse(x),
|
|
1419
|
-
),
|
|
1420
|
-
`Failed to parse 'GetApplicationDataApplicationsResponse2002' from JSON`,
|
|
1421
|
-
);
|
|
1422
|
-
}
|
|
1423
|
-
|
|
1424
|
-
/** @internal */
|
|
1425
|
-
export const GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType$inboundSchema:
|
|
1426
|
-
z.ZodNativeEnum<
|
|
1427
|
-
typeof GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType
|
|
1428
|
-
> = z.nativeEnum(
|
|
1429
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType,
|
|
1430
|
-
);
|
|
1431
|
-
|
|
1432
|
-
/** @internal */
|
|
1433
|
-
export const GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType$outboundSchema:
|
|
1434
|
-
z.ZodNativeEnum<
|
|
1435
|
-
typeof GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType
|
|
1436
|
-
> =
|
|
1437
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType$inboundSchema;
|
|
1438
|
-
|
|
1439
|
-
/**
|
|
1440
|
-
* @internal
|
|
1441
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1442
|
-
*/
|
|
1443
|
-
export namespace GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType$ {
|
|
1444
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType$inboundSchema` instead. */
|
|
1445
|
-
export const inboundSchema =
|
|
1446
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType$inboundSchema;
|
|
1447
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType$outboundSchema` instead. */
|
|
1448
|
-
export const outboundSchema =
|
|
1449
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType$outboundSchema;
|
|
1450
|
-
}
|
|
1451
|
-
|
|
1452
|
-
/** @internal */
|
|
1453
|
-
export const GetApplicationDataApplicationsResponse2001$inboundSchema:
|
|
1454
|
-
z.ZodType<GetApplicationDataApplicationsResponse2001, z.ZodTypeDef, unknown> =
|
|
1455
|
-
z.object({
|
|
1456
|
-
type:
|
|
1457
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType$inboundSchema,
|
|
1458
|
-
id: z.string(),
|
|
1459
|
-
});
|
|
1460
|
-
|
|
1461
|
-
/** @internal */
|
|
1462
|
-
export type GetApplicationDataApplicationsResponse2001$Outbound = {
|
|
1463
|
-
type: string;
|
|
1464
|
-
id: string;
|
|
1465
|
-
};
|
|
1466
|
-
|
|
1467
|
-
/** @internal */
|
|
1468
|
-
export const GetApplicationDataApplicationsResponse2001$outboundSchema:
|
|
1469
|
-
z.ZodType<
|
|
1470
|
-
GetApplicationDataApplicationsResponse2001$Outbound,
|
|
1471
|
-
z.ZodTypeDef,
|
|
1472
|
-
GetApplicationDataApplicationsResponse2001
|
|
1473
|
-
> = z.object({
|
|
1474
|
-
type:
|
|
1475
|
-
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType$outboundSchema,
|
|
1476
|
-
id: z.string(),
|
|
1477
|
-
});
|
|
1478
|
-
|
|
1479
|
-
/**
|
|
1480
|
-
* @internal
|
|
1481
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1482
|
-
*/
|
|
1483
|
-
export namespace GetApplicationDataApplicationsResponse2001$ {
|
|
1484
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse2001$inboundSchema` instead. */
|
|
1485
|
-
export const inboundSchema =
|
|
1486
|
-
GetApplicationDataApplicationsResponse2001$inboundSchema;
|
|
1487
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse2001$outboundSchema` instead. */
|
|
1488
|
-
export const outboundSchema =
|
|
1489
|
-
GetApplicationDataApplicationsResponse2001$outboundSchema;
|
|
1490
|
-
/** @deprecated use `GetApplicationDataApplicationsResponse2001$Outbound` instead. */
|
|
1491
|
-
export type Outbound = GetApplicationDataApplicationsResponse2001$Outbound;
|
|
1492
|
-
}
|
|
1493
|
-
|
|
1494
|
-
export function getApplicationDataApplicationsResponse2001ToJSON(
|
|
1495
|
-
getApplicationDataApplicationsResponse2001:
|
|
1496
|
-
GetApplicationDataApplicationsResponse2001,
|
|
1497
|
-
): string {
|
|
1498
|
-
return JSON.stringify(
|
|
1499
|
-
GetApplicationDataApplicationsResponse2001$outboundSchema.parse(
|
|
1500
|
-
getApplicationDataApplicationsResponse2001,
|
|
1501
|
-
),
|
|
1502
|
-
);
|
|
1503
|
-
}
|
|
1504
|
-
|
|
1505
|
-
export function getApplicationDataApplicationsResponse2001FromJSON(
|
|
1506
|
-
jsonString: string,
|
|
1507
|
-
): SafeParseResult<
|
|
1508
|
-
GetApplicationDataApplicationsResponse2001,
|
|
1509
|
-
SDKValidationError
|
|
1510
|
-
> {
|
|
1511
|
-
return safeParse(
|
|
1512
|
-
jsonString,
|
|
1513
|
-
(x) =>
|
|
1514
|
-
GetApplicationDataApplicationsResponse2001$inboundSchema.parse(
|
|
1515
|
-
JSON.parse(x),
|
|
1516
|
-
),
|
|
1517
|
-
`Failed to parse 'GetApplicationDataApplicationsResponse2001' from JSON`,
|
|
1518
|
-
);
|
|
1519
|
-
}
|
|
1520
|
-
|
|
1521
|
-
/** @internal */
|
|
1522
|
-
export const GetApplicationApplicationsResponse200Data$inboundSchema: z.ZodType<
|
|
1523
|
-
GetApplicationApplicationsResponse200Data,
|
|
1524
|
-
z.ZodTypeDef,
|
|
1525
|
-
unknown
|
|
1526
|
-
> = z.union([
|
|
1527
|
-
z.lazy(() => GetApplicationDataApplicationsResponse2001$inboundSchema),
|
|
1528
|
-
z.array(
|
|
1529
|
-
z.lazy(() => GetApplicationDataApplicationsResponse2002$inboundSchema),
|
|
1530
|
-
),
|
|
1531
|
-
]);
|
|
1532
|
-
|
|
1533
|
-
/** @internal */
|
|
1534
|
-
export type GetApplicationApplicationsResponse200Data$Outbound =
|
|
1535
|
-
| GetApplicationDataApplicationsResponse2001$Outbound
|
|
1536
|
-
| Array<GetApplicationDataApplicationsResponse2002$Outbound>;
|
|
1537
|
-
|
|
1538
|
-
/** @internal */
|
|
1539
|
-
export const GetApplicationApplicationsResponse200Data$outboundSchema:
|
|
1540
|
-
z.ZodType<
|
|
1541
|
-
GetApplicationApplicationsResponse200Data$Outbound,
|
|
1542
|
-
z.ZodTypeDef,
|
|
1543
|
-
GetApplicationApplicationsResponse200Data
|
|
1544
|
-
> = z.union([
|
|
1545
|
-
z.lazy(() => GetApplicationDataApplicationsResponse2001$outboundSchema),
|
|
1546
|
-
z.array(
|
|
1547
|
-
z.lazy(() => GetApplicationDataApplicationsResponse2002$outboundSchema),
|
|
1548
|
-
),
|
|
1549
|
-
]);
|
|
1550
|
-
|
|
1551
|
-
/**
|
|
1552
|
-
* @internal
|
|
1553
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1554
|
-
*/
|
|
1555
|
-
export namespace GetApplicationApplicationsResponse200Data$ {
|
|
1556
|
-
/** @deprecated use `GetApplicationApplicationsResponse200Data$inboundSchema` instead. */
|
|
1557
|
-
export const inboundSchema =
|
|
1558
|
-
GetApplicationApplicationsResponse200Data$inboundSchema;
|
|
1559
|
-
/** @deprecated use `GetApplicationApplicationsResponse200Data$outboundSchema` instead. */
|
|
1560
|
-
export const outboundSchema =
|
|
1561
|
-
GetApplicationApplicationsResponse200Data$outboundSchema;
|
|
1562
|
-
/** @deprecated use `GetApplicationApplicationsResponse200Data$Outbound` instead. */
|
|
1563
|
-
export type Outbound = GetApplicationApplicationsResponse200Data$Outbound;
|
|
1564
|
-
}
|
|
1565
|
-
|
|
1566
|
-
export function getApplicationApplicationsResponse200DataToJSON(
|
|
1567
|
-
getApplicationApplicationsResponse200Data:
|
|
1568
|
-
GetApplicationApplicationsResponse200Data,
|
|
1569
|
-
): string {
|
|
1570
|
-
return JSON.stringify(
|
|
1571
|
-
GetApplicationApplicationsResponse200Data$outboundSchema.parse(
|
|
1572
|
-
getApplicationApplicationsResponse200Data,
|
|
1573
|
-
),
|
|
1574
|
-
);
|
|
1575
|
-
}
|
|
1576
|
-
|
|
1577
|
-
export function getApplicationApplicationsResponse200DataFromJSON(
|
|
1578
|
-
jsonString: string,
|
|
1579
|
-
): SafeParseResult<
|
|
1580
|
-
GetApplicationApplicationsResponse200Data,
|
|
1581
|
-
SDKValidationError
|
|
1582
|
-
> {
|
|
1583
|
-
return safeParse(
|
|
1584
|
-
jsonString,
|
|
1585
|
-
(x) =>
|
|
1586
|
-
GetApplicationApplicationsResponse200Data$inboundSchema.parse(
|
|
1587
|
-
JSON.parse(x),
|
|
1588
|
-
),
|
|
1589
|
-
`Failed to parse 'GetApplicationApplicationsResponse200Data' from JSON`,
|
|
1590
|
-
);
|
|
1591
|
-
}
|
|
1592
|
-
|
|
1593
|
-
/** @internal */
|
|
1594
|
-
export const GetApplicationEntities$inboundSchema: z.ZodType<
|
|
1595
|
-
GetApplicationEntities,
|
|
1596
|
-
z.ZodTypeDef,
|
|
1597
|
-
unknown
|
|
1598
|
-
> = z.object({
|
|
1599
|
-
data: z.nullable(
|
|
1600
|
-
z.union([
|
|
1601
|
-
z.lazy(() => GetApplicationDataApplicationsResponse2001$inboundSchema),
|
|
1602
|
-
z.array(z.lazy(() =>
|
|
1603
|
-
GetApplicationDataApplicationsResponse2002$inboundSchema
|
|
1604
|
-
)),
|
|
1605
|
-
]),
|
|
1606
|
-
),
|
|
1607
|
-
links: components.Links$inboundSchema.optional(),
|
|
1608
|
-
meta: z.record(z.any()).optional(),
|
|
1609
|
-
});
|
|
1610
|
-
|
|
1611
|
-
/** @internal */
|
|
1612
|
-
export type GetApplicationEntities$Outbound = {
|
|
1613
|
-
data:
|
|
1614
|
-
| GetApplicationDataApplicationsResponse2001$Outbound
|
|
1615
|
-
| Array<GetApplicationDataApplicationsResponse2002$Outbound>
|
|
1616
|
-
| null;
|
|
1617
|
-
links?: components.Links$Outbound | undefined;
|
|
1618
|
-
meta?: { [k: string]: any } | undefined;
|
|
1619
|
-
};
|
|
1620
|
-
|
|
1621
|
-
/** @internal */
|
|
1622
|
-
export const GetApplicationEntities$outboundSchema: z.ZodType<
|
|
1623
|
-
GetApplicationEntities$Outbound,
|
|
1624
|
-
z.ZodTypeDef,
|
|
1625
|
-
GetApplicationEntities
|
|
1626
|
-
> = z.object({
|
|
1627
|
-
data: z.nullable(
|
|
1628
|
-
z.union([
|
|
1629
|
-
z.lazy(() => GetApplicationDataApplicationsResponse2001$outboundSchema),
|
|
1630
|
-
z.array(z.lazy(() =>
|
|
1631
|
-
GetApplicationDataApplicationsResponse2002$outboundSchema
|
|
1632
|
-
)),
|
|
1633
|
-
]),
|
|
1634
|
-
),
|
|
1635
|
-
links: components.Links$outboundSchema.optional(),
|
|
1636
|
-
meta: z.record(z.any()).optional(),
|
|
1637
|
-
});
|
|
1638
|
-
|
|
1639
|
-
/**
|
|
1640
|
-
* @internal
|
|
1641
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1642
|
-
*/
|
|
1643
|
-
export namespace GetApplicationEntities$ {
|
|
1644
|
-
/** @deprecated use `GetApplicationEntities$inboundSchema` instead. */
|
|
1645
|
-
export const inboundSchema = GetApplicationEntities$inboundSchema;
|
|
1646
|
-
/** @deprecated use `GetApplicationEntities$outboundSchema` instead. */
|
|
1647
|
-
export const outboundSchema = GetApplicationEntities$outboundSchema;
|
|
1648
|
-
/** @deprecated use `GetApplicationEntities$Outbound` instead. */
|
|
1649
|
-
export type Outbound = GetApplicationEntities$Outbound;
|
|
1650
|
-
}
|
|
1651
|
-
|
|
1652
|
-
export function getApplicationEntitiesToJSON(
|
|
1653
|
-
getApplicationEntities: GetApplicationEntities,
|
|
1654
|
-
): string {
|
|
1655
|
-
return JSON.stringify(
|
|
1656
|
-
GetApplicationEntities$outboundSchema.parse(getApplicationEntities),
|
|
1657
|
-
);
|
|
1658
|
-
}
|
|
1659
|
-
|
|
1660
|
-
export function getApplicationEntitiesFromJSON(
|
|
1661
|
-
jsonString: string,
|
|
1662
|
-
): SafeParseResult<GetApplicationEntities, SDKValidationError> {
|
|
1663
|
-
return safeParse(
|
|
1664
|
-
jsonString,
|
|
1665
|
-
(x) => GetApplicationEntities$inboundSchema.parse(JSON.parse(x)),
|
|
1666
|
-
`Failed to parse 'GetApplicationEntities' from JSON`,
|
|
1667
|
-
);
|
|
1668
|
-
}
|
|
1669
|
-
|
|
1670
|
-
/** @internal */
|
|
1671
|
-
export const GetApplicationRelationships$inboundSchema: z.ZodType<
|
|
1672
|
-
GetApplicationRelationships,
|
|
1673
|
-
z.ZodTypeDef,
|
|
1674
|
-
unknown
|
|
1675
|
-
> = z.object({
|
|
1676
|
-
loanDetails: z.lazy(() => GetApplicationLoanDetails$inboundSchema).optional(),
|
|
1677
|
-
customers: z.lazy(() => GetApplicationCustomers$inboundSchema).optional(),
|
|
1678
|
-
asset: z.lazy(() => GetApplicationAsset$inboundSchema).optional(),
|
|
1679
|
-
entities: z.lazy(() => GetApplicationEntities$inboundSchema).optional(),
|
|
1680
|
-
});
|
|
1681
|
-
|
|
1682
|
-
/** @internal */
|
|
1683
|
-
export type GetApplicationRelationships$Outbound = {
|
|
1684
|
-
loanDetails?: GetApplicationLoanDetails$Outbound | undefined;
|
|
1685
|
-
customers?: GetApplicationCustomers$Outbound | undefined;
|
|
1686
|
-
asset?: GetApplicationAsset$Outbound | undefined;
|
|
1687
|
-
entities?: GetApplicationEntities$Outbound | undefined;
|
|
1688
|
-
};
|
|
1689
|
-
|
|
1690
|
-
/** @internal */
|
|
1691
|
-
export const GetApplicationRelationships$outboundSchema: z.ZodType<
|
|
1692
|
-
GetApplicationRelationships$Outbound,
|
|
1693
|
-
z.ZodTypeDef,
|
|
1694
|
-
GetApplicationRelationships
|
|
1695
|
-
> = z.object({
|
|
1696
|
-
loanDetails: z.lazy(() => GetApplicationLoanDetails$outboundSchema)
|
|
1697
|
-
.optional(),
|
|
1698
|
-
customers: z.lazy(() => GetApplicationCustomers$outboundSchema).optional(),
|
|
1699
|
-
asset: z.lazy(() => GetApplicationAsset$outboundSchema).optional(),
|
|
1700
|
-
entities: z.lazy(() => GetApplicationEntities$outboundSchema).optional(),
|
|
1701
|
-
});
|
|
1702
|
-
|
|
1703
|
-
/**
|
|
1704
|
-
* @internal
|
|
1705
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1706
|
-
*/
|
|
1707
|
-
export namespace GetApplicationRelationships$ {
|
|
1708
|
-
/** @deprecated use `GetApplicationRelationships$inboundSchema` instead. */
|
|
1709
|
-
export const inboundSchema = GetApplicationRelationships$inboundSchema;
|
|
1710
|
-
/** @deprecated use `GetApplicationRelationships$outboundSchema` instead. */
|
|
1711
|
-
export const outboundSchema = GetApplicationRelationships$outboundSchema;
|
|
1712
|
-
/** @deprecated use `GetApplicationRelationships$Outbound` instead. */
|
|
1713
|
-
export type Outbound = GetApplicationRelationships$Outbound;
|
|
1714
|
-
}
|
|
1715
|
-
|
|
1716
|
-
export function getApplicationRelationshipsToJSON(
|
|
1717
|
-
getApplicationRelationships: GetApplicationRelationships,
|
|
1718
|
-
): string {
|
|
1719
|
-
return JSON.stringify(
|
|
1720
|
-
GetApplicationRelationships$outboundSchema.parse(
|
|
1721
|
-
getApplicationRelationships,
|
|
1722
|
-
),
|
|
1723
|
-
);
|
|
1724
|
-
}
|
|
1725
|
-
|
|
1726
|
-
export function getApplicationRelationshipsFromJSON(
|
|
1727
|
-
jsonString: string,
|
|
1728
|
-
): SafeParseResult<GetApplicationRelationships, SDKValidationError> {
|
|
1729
|
-
return safeParse(
|
|
1730
|
-
jsonString,
|
|
1731
|
-
(x) => GetApplicationRelationships$inboundSchema.parse(JSON.parse(x)),
|
|
1732
|
-
`Failed to parse 'GetApplicationRelationships' from JSON`,
|
|
1733
|
-
);
|
|
1734
|
-
}
|
|
1735
|
-
|
|
1736
|
-
/** @internal */
|
|
1737
|
-
export const GetApplicationData$inboundSchema: z.ZodType<
|
|
1738
|
-
GetApplicationData,
|
|
1739
|
-
z.ZodTypeDef,
|
|
1740
|
-
unknown
|
|
1741
|
-
> = z.object({
|
|
1742
|
-
type: GetApplicationType$inboundSchema,
|
|
1743
|
-
id: z.string(),
|
|
1744
|
-
attributes: components.ApplicationAttributes$inboundSchema.optional(),
|
|
1745
|
-
relationships: z.lazy(() => GetApplicationRelationships$inboundSchema)
|
|
1746
|
-
.optional(),
|
|
1747
|
-
links: components.Links$inboundSchema.optional(),
|
|
1748
|
-
meta: z.record(z.any()).optional(),
|
|
1749
|
-
});
|
|
1750
|
-
|
|
1751
|
-
/** @internal */
|
|
1752
|
-
export type GetApplicationData$Outbound = {
|
|
1753
|
-
type: string;
|
|
1754
|
-
id: string;
|
|
1755
|
-
attributes?: components.ApplicationAttributes$Outbound | undefined;
|
|
1756
|
-
relationships?: GetApplicationRelationships$Outbound | undefined;
|
|
1757
|
-
links?: components.Links$Outbound | undefined;
|
|
1758
|
-
meta?: { [k: string]: any } | undefined;
|
|
1759
|
-
};
|
|
1760
|
-
|
|
1761
|
-
/** @internal */
|
|
1762
|
-
export const GetApplicationData$outboundSchema: z.ZodType<
|
|
1763
|
-
GetApplicationData$Outbound,
|
|
1764
|
-
z.ZodTypeDef,
|
|
1765
|
-
GetApplicationData
|
|
1766
|
-
> = z.object({
|
|
1767
|
-
type: GetApplicationType$outboundSchema,
|
|
1768
|
-
id: z.string(),
|
|
1769
|
-
attributes: components.ApplicationAttributes$outboundSchema.optional(),
|
|
1770
|
-
relationships: z.lazy(() => GetApplicationRelationships$outboundSchema)
|
|
1771
|
-
.optional(),
|
|
1772
|
-
links: components.Links$outboundSchema.optional(),
|
|
1773
|
-
meta: z.record(z.any()).optional(),
|
|
1774
|
-
});
|
|
1775
|
-
|
|
1776
|
-
/**
|
|
1777
|
-
* @internal
|
|
1778
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1779
|
-
*/
|
|
1780
|
-
export namespace GetApplicationData$ {
|
|
1781
|
-
/** @deprecated use `GetApplicationData$inboundSchema` instead. */
|
|
1782
|
-
export const inboundSchema = GetApplicationData$inboundSchema;
|
|
1783
|
-
/** @deprecated use `GetApplicationData$outboundSchema` instead. */
|
|
1784
|
-
export const outboundSchema = GetApplicationData$outboundSchema;
|
|
1785
|
-
/** @deprecated use `GetApplicationData$Outbound` instead. */
|
|
1786
|
-
export type Outbound = GetApplicationData$Outbound;
|
|
1787
|
-
}
|
|
1788
|
-
|
|
1789
|
-
export function getApplicationDataToJSON(
|
|
1790
|
-
getApplicationData: GetApplicationData,
|
|
1791
|
-
): string {
|
|
1792
|
-
return JSON.stringify(
|
|
1793
|
-
GetApplicationData$outboundSchema.parse(getApplicationData),
|
|
1794
|
-
);
|
|
1795
|
-
}
|
|
1796
|
-
|
|
1797
|
-
export function getApplicationDataFromJSON(
|
|
1798
|
-
jsonString: string,
|
|
1799
|
-
): SafeParseResult<GetApplicationData, SDKValidationError> {
|
|
1800
|
-
return safeParse(
|
|
1801
|
-
jsonString,
|
|
1802
|
-
(x) => GetApplicationData$inboundSchema.parse(JSON.parse(x)),
|
|
1803
|
-
`Failed to parse 'GetApplicationData' from JSON`,
|
|
1804
|
-
);
|
|
1805
|
-
}
|
|
1806
|
-
|
|
1807
|
-
/** @internal */
|
|
1808
|
-
export const GetApplicationAttributes$inboundSchema: z.ZodType<
|
|
1809
|
-
GetApplicationAttributes,
|
|
1810
|
-
z.ZodTypeDef,
|
|
1811
|
-
unknown
|
|
1812
|
-
> = z.object({});
|
|
1813
|
-
|
|
1814
|
-
/** @internal */
|
|
1815
|
-
export type GetApplicationAttributes$Outbound = {};
|
|
1816
|
-
|
|
1817
|
-
/** @internal */
|
|
1818
|
-
export const GetApplicationAttributes$outboundSchema: z.ZodType<
|
|
1819
|
-
GetApplicationAttributes$Outbound,
|
|
1820
|
-
z.ZodTypeDef,
|
|
1821
|
-
GetApplicationAttributes
|
|
1822
|
-
> = z.object({});
|
|
1823
|
-
|
|
1824
|
-
/**
|
|
1825
|
-
* @internal
|
|
1826
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1827
|
-
*/
|
|
1828
|
-
export namespace GetApplicationAttributes$ {
|
|
1829
|
-
/** @deprecated use `GetApplicationAttributes$inboundSchema` instead. */
|
|
1830
|
-
export const inboundSchema = GetApplicationAttributes$inboundSchema;
|
|
1831
|
-
/** @deprecated use `GetApplicationAttributes$outboundSchema` instead. */
|
|
1832
|
-
export const outboundSchema = GetApplicationAttributes$outboundSchema;
|
|
1833
|
-
/** @deprecated use `GetApplicationAttributes$Outbound` instead. */
|
|
1834
|
-
export type Outbound = GetApplicationAttributes$Outbound;
|
|
1835
|
-
}
|
|
1836
|
-
|
|
1837
|
-
export function getApplicationAttributesToJSON(
|
|
1838
|
-
getApplicationAttributes: GetApplicationAttributes,
|
|
1839
|
-
): string {
|
|
1840
|
-
return JSON.stringify(
|
|
1841
|
-
GetApplicationAttributes$outboundSchema.parse(getApplicationAttributes),
|
|
1842
|
-
);
|
|
1843
|
-
}
|
|
1844
|
-
|
|
1845
|
-
export function getApplicationAttributesFromJSON(
|
|
1846
|
-
jsonString: string,
|
|
1847
|
-
): SafeParseResult<GetApplicationAttributes, SDKValidationError> {
|
|
1848
|
-
return safeParse(
|
|
1849
|
-
jsonString,
|
|
1850
|
-
(x) => GetApplicationAttributes$inboundSchema.parse(JSON.parse(x)),
|
|
1851
|
-
`Failed to parse 'GetApplicationAttributes' from JSON`,
|
|
1852
|
-
);
|
|
1853
|
-
}
|
|
1854
|
-
|
|
1855
|
-
/** @internal */
|
|
1856
|
-
export const GetApplicationData2$inboundSchema: z.ZodType<
|
|
1857
|
-
GetApplicationData2,
|
|
1858
|
-
z.ZodTypeDef,
|
|
1859
|
-
unknown
|
|
1860
|
-
> = z.object({
|
|
1861
|
-
type: z.string(),
|
|
1862
|
-
id: z.string(),
|
|
1863
|
-
});
|
|
1864
|
-
|
|
1865
|
-
/** @internal */
|
|
1866
|
-
export type GetApplicationData2$Outbound = {
|
|
1867
|
-
type: string;
|
|
1868
|
-
id: string;
|
|
1869
|
-
};
|
|
1870
|
-
|
|
1871
|
-
/** @internal */
|
|
1872
|
-
export const GetApplicationData2$outboundSchema: z.ZodType<
|
|
1873
|
-
GetApplicationData2$Outbound,
|
|
1874
|
-
z.ZodTypeDef,
|
|
1875
|
-
GetApplicationData2
|
|
1876
|
-
> = z.object({
|
|
1877
|
-
type: z.string(),
|
|
1878
|
-
id: z.string(),
|
|
1879
|
-
});
|
|
1880
|
-
|
|
1881
|
-
/**
|
|
1882
|
-
* @internal
|
|
1883
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1884
|
-
*/
|
|
1885
|
-
export namespace GetApplicationData2$ {
|
|
1886
|
-
/** @deprecated use `GetApplicationData2$inboundSchema` instead. */
|
|
1887
|
-
export const inboundSchema = GetApplicationData2$inboundSchema;
|
|
1888
|
-
/** @deprecated use `GetApplicationData2$outboundSchema` instead. */
|
|
1889
|
-
export const outboundSchema = GetApplicationData2$outboundSchema;
|
|
1890
|
-
/** @deprecated use `GetApplicationData2$Outbound` instead. */
|
|
1891
|
-
export type Outbound = GetApplicationData2$Outbound;
|
|
1892
|
-
}
|
|
1893
|
-
|
|
1894
|
-
export function getApplicationData2ToJSON(
|
|
1895
|
-
getApplicationData2: GetApplicationData2,
|
|
1896
|
-
): string {
|
|
1897
|
-
return JSON.stringify(
|
|
1898
|
-
GetApplicationData2$outboundSchema.parse(getApplicationData2),
|
|
1899
|
-
);
|
|
1900
|
-
}
|
|
1901
|
-
|
|
1902
|
-
export function getApplicationData2FromJSON(
|
|
1903
|
-
jsonString: string,
|
|
1904
|
-
): SafeParseResult<GetApplicationData2, SDKValidationError> {
|
|
1905
|
-
return safeParse(
|
|
1906
|
-
jsonString,
|
|
1907
|
-
(x) => GetApplicationData2$inboundSchema.parse(JSON.parse(x)),
|
|
1908
|
-
`Failed to parse 'GetApplicationData2' from JSON`,
|
|
1909
|
-
);
|
|
1910
|
-
}
|
|
1911
|
-
|
|
1912
|
-
/** @internal */
|
|
1913
|
-
export const GetApplicationData1$inboundSchema: z.ZodType<
|
|
1914
|
-
GetApplicationData1,
|
|
1915
|
-
z.ZodTypeDef,
|
|
1916
|
-
unknown
|
|
1917
|
-
> = z.object({
|
|
1918
|
-
type: z.string(),
|
|
1919
|
-
id: z.string(),
|
|
1920
|
-
});
|
|
1921
|
-
|
|
1922
|
-
/** @internal */
|
|
1923
|
-
export type GetApplicationData1$Outbound = {
|
|
1924
|
-
type: string;
|
|
1925
|
-
id: string;
|
|
1926
|
-
};
|
|
1927
|
-
|
|
1928
|
-
/** @internal */
|
|
1929
|
-
export const GetApplicationData1$outboundSchema: z.ZodType<
|
|
1930
|
-
GetApplicationData1$Outbound,
|
|
1931
|
-
z.ZodTypeDef,
|
|
1932
|
-
GetApplicationData1
|
|
1933
|
-
> = z.object({
|
|
1934
|
-
type: z.string(),
|
|
1935
|
-
id: z.string(),
|
|
1936
|
-
});
|
|
1937
|
-
|
|
1938
|
-
/**
|
|
1939
|
-
* @internal
|
|
1940
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1941
|
-
*/
|
|
1942
|
-
export namespace GetApplicationData1$ {
|
|
1943
|
-
/** @deprecated use `GetApplicationData1$inboundSchema` instead. */
|
|
1944
|
-
export const inboundSchema = GetApplicationData1$inboundSchema;
|
|
1945
|
-
/** @deprecated use `GetApplicationData1$outboundSchema` instead. */
|
|
1946
|
-
export const outboundSchema = GetApplicationData1$outboundSchema;
|
|
1947
|
-
/** @deprecated use `GetApplicationData1$Outbound` instead. */
|
|
1948
|
-
export type Outbound = GetApplicationData1$Outbound;
|
|
1949
|
-
}
|
|
1950
|
-
|
|
1951
|
-
export function getApplicationData1ToJSON(
|
|
1952
|
-
getApplicationData1: GetApplicationData1,
|
|
1953
|
-
): string {
|
|
1954
|
-
return JSON.stringify(
|
|
1955
|
-
GetApplicationData1$outboundSchema.parse(getApplicationData1),
|
|
1956
|
-
);
|
|
1957
|
-
}
|
|
1958
|
-
|
|
1959
|
-
export function getApplicationData1FromJSON(
|
|
1960
|
-
jsonString: string,
|
|
1961
|
-
): SafeParseResult<GetApplicationData1, SDKValidationError> {
|
|
1962
|
-
return safeParse(
|
|
1963
|
-
jsonString,
|
|
1964
|
-
(x) => GetApplicationData1$inboundSchema.parse(JSON.parse(x)),
|
|
1965
|
-
`Failed to parse 'GetApplicationData1' from JSON`,
|
|
1966
|
-
);
|
|
1967
|
-
}
|
|
1968
|
-
|
|
1969
|
-
/** @internal */
|
|
1970
|
-
export const GetApplicationApplicationsData$inboundSchema: z.ZodType<
|
|
1971
|
-
GetApplicationApplicationsData,
|
|
1972
|
-
z.ZodTypeDef,
|
|
1973
|
-
unknown
|
|
1974
|
-
> = z.union([
|
|
1975
|
-
z.lazy(() => GetApplicationData1$inboundSchema),
|
|
1976
|
-
z.array(z.lazy(() => GetApplicationData2$inboundSchema)),
|
|
1977
|
-
]);
|
|
1978
|
-
|
|
1979
|
-
/** @internal */
|
|
1980
|
-
export type GetApplicationApplicationsData$Outbound =
|
|
1981
|
-
| GetApplicationData1$Outbound
|
|
1982
|
-
| Array<GetApplicationData2$Outbound>;
|
|
1983
|
-
|
|
1984
|
-
/** @internal */
|
|
1985
|
-
export const GetApplicationApplicationsData$outboundSchema: z.ZodType<
|
|
1986
|
-
GetApplicationApplicationsData$Outbound,
|
|
1987
|
-
z.ZodTypeDef,
|
|
1988
|
-
GetApplicationApplicationsData
|
|
1989
|
-
> = z.union([
|
|
1990
|
-
z.lazy(() => GetApplicationData1$outboundSchema),
|
|
1991
|
-
z.array(z.lazy(() => GetApplicationData2$outboundSchema)),
|
|
1992
|
-
]);
|
|
1993
|
-
|
|
1994
|
-
/**
|
|
1995
|
-
* @internal
|
|
1996
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1997
|
-
*/
|
|
1998
|
-
export namespace GetApplicationApplicationsData$ {
|
|
1999
|
-
/** @deprecated use `GetApplicationApplicationsData$inboundSchema` instead. */
|
|
2000
|
-
export const inboundSchema = GetApplicationApplicationsData$inboundSchema;
|
|
2001
|
-
/** @deprecated use `GetApplicationApplicationsData$outboundSchema` instead. */
|
|
2002
|
-
export const outboundSchema = GetApplicationApplicationsData$outboundSchema;
|
|
2003
|
-
/** @deprecated use `GetApplicationApplicationsData$Outbound` instead. */
|
|
2004
|
-
export type Outbound = GetApplicationApplicationsData$Outbound;
|
|
2005
|
-
}
|
|
2006
|
-
|
|
2007
|
-
export function getApplicationApplicationsDataToJSON(
|
|
2008
|
-
getApplicationApplicationsData: GetApplicationApplicationsData,
|
|
2009
|
-
): string {
|
|
2010
|
-
return JSON.stringify(
|
|
2011
|
-
GetApplicationApplicationsData$outboundSchema.parse(
|
|
2012
|
-
getApplicationApplicationsData,
|
|
2013
|
-
),
|
|
2014
|
-
);
|
|
2015
|
-
}
|
|
2016
|
-
|
|
2017
|
-
export function getApplicationApplicationsDataFromJSON(
|
|
2018
|
-
jsonString: string,
|
|
2019
|
-
): SafeParseResult<GetApplicationApplicationsData, SDKValidationError> {
|
|
2020
|
-
return safeParse(
|
|
2021
|
-
jsonString,
|
|
2022
|
-
(x) => GetApplicationApplicationsData$inboundSchema.parse(JSON.parse(x)),
|
|
2023
|
-
`Failed to parse 'GetApplicationApplicationsData' from JSON`,
|
|
2024
|
-
);
|
|
2025
|
-
}
|
|
2026
|
-
|
|
2027
|
-
/** @internal */
|
|
2028
|
-
export const GetApplicationApplicationsRelationships$inboundSchema: z.ZodType<
|
|
2029
|
-
GetApplicationApplicationsRelationships,
|
|
2030
|
-
z.ZodTypeDef,
|
|
2031
|
-
unknown
|
|
2032
|
-
> = z.object({
|
|
2033
|
-
data: z.nullable(
|
|
2034
|
-
z.union([
|
|
2035
|
-
z.lazy(() => GetApplicationData1$inboundSchema),
|
|
2036
|
-
z.array(z.lazy(() => GetApplicationData2$inboundSchema)),
|
|
2037
|
-
]),
|
|
2038
|
-
),
|
|
2039
|
-
links: components.Links$inboundSchema.optional(),
|
|
2040
|
-
meta: z.record(z.any()).optional(),
|
|
2041
|
-
});
|
|
2042
|
-
|
|
2043
|
-
/** @internal */
|
|
2044
|
-
export type GetApplicationApplicationsRelationships$Outbound = {
|
|
2045
|
-
data:
|
|
2046
|
-
| GetApplicationData1$Outbound
|
|
2047
|
-
| Array<GetApplicationData2$Outbound>
|
|
2048
|
-
| null;
|
|
2049
|
-
links?: components.Links$Outbound | undefined;
|
|
2050
|
-
meta?: { [k: string]: any } | undefined;
|
|
2051
|
-
};
|
|
2052
|
-
|
|
2053
|
-
/** @internal */
|
|
2054
|
-
export const GetApplicationApplicationsRelationships$outboundSchema: z.ZodType<
|
|
2055
|
-
GetApplicationApplicationsRelationships$Outbound,
|
|
2056
|
-
z.ZodTypeDef,
|
|
2057
|
-
GetApplicationApplicationsRelationships
|
|
2058
|
-
> = z.object({
|
|
2059
|
-
data: z.nullable(
|
|
2060
|
-
z.union([
|
|
2061
|
-
z.lazy(() => GetApplicationData1$outboundSchema),
|
|
2062
|
-
z.array(z.lazy(() => GetApplicationData2$outboundSchema)),
|
|
2063
|
-
]),
|
|
2064
|
-
),
|
|
2065
|
-
links: components.Links$outboundSchema.optional(),
|
|
2066
|
-
meta: z.record(z.any()).optional(),
|
|
2067
|
-
});
|
|
2068
|
-
|
|
2069
|
-
/**
|
|
2070
|
-
* @internal
|
|
2071
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2072
|
-
*/
|
|
2073
|
-
export namespace GetApplicationApplicationsRelationships$ {
|
|
2074
|
-
/** @deprecated use `GetApplicationApplicationsRelationships$inboundSchema` instead. */
|
|
2075
|
-
export const inboundSchema =
|
|
2076
|
-
GetApplicationApplicationsRelationships$inboundSchema;
|
|
2077
|
-
/** @deprecated use `GetApplicationApplicationsRelationships$outboundSchema` instead. */
|
|
2078
|
-
export const outboundSchema =
|
|
2079
|
-
GetApplicationApplicationsRelationships$outboundSchema;
|
|
2080
|
-
/** @deprecated use `GetApplicationApplicationsRelationships$Outbound` instead. */
|
|
2081
|
-
export type Outbound = GetApplicationApplicationsRelationships$Outbound;
|
|
2082
|
-
}
|
|
2083
|
-
|
|
2084
|
-
export function getApplicationApplicationsRelationshipsToJSON(
|
|
2085
|
-
getApplicationApplicationsRelationships:
|
|
2086
|
-
GetApplicationApplicationsRelationships,
|
|
2087
|
-
): string {
|
|
2088
|
-
return JSON.stringify(
|
|
2089
|
-
GetApplicationApplicationsRelationships$outboundSchema.parse(
|
|
2090
|
-
getApplicationApplicationsRelationships,
|
|
2091
|
-
),
|
|
2092
|
-
);
|
|
2093
|
-
}
|
|
2094
|
-
|
|
2095
|
-
export function getApplicationApplicationsRelationshipsFromJSON(
|
|
2096
|
-
jsonString: string,
|
|
2097
|
-
): SafeParseResult<
|
|
2098
|
-
GetApplicationApplicationsRelationships,
|
|
2099
|
-
SDKValidationError
|
|
2100
|
-
> {
|
|
2101
|
-
return safeParse(
|
|
2102
|
-
jsonString,
|
|
2103
|
-
(x) =>
|
|
2104
|
-
GetApplicationApplicationsRelationships$inboundSchema.parse(
|
|
2105
|
-
JSON.parse(x),
|
|
2106
|
-
),
|
|
2107
|
-
`Failed to parse 'GetApplicationApplicationsRelationships' from JSON`,
|
|
2108
|
-
);
|
|
2109
|
-
}
|
|
2110
|
-
|
|
2111
|
-
/** @internal */
|
|
2112
|
-
export const GetApplicationIncluded$inboundSchema: z.ZodType<
|
|
2113
|
-
GetApplicationIncluded,
|
|
2114
|
-
z.ZodTypeDef,
|
|
2115
|
-
unknown
|
|
2116
|
-
> = z.object({
|
|
2117
|
-
type: z.string(),
|
|
2118
|
-
id: z.string(),
|
|
2119
|
-
attributes: z.lazy(() => GetApplicationAttributes$inboundSchema).optional(),
|
|
2120
|
-
relationships: z.record(
|
|
2121
|
-
z.lazy(() => GetApplicationApplicationsRelationships$inboundSchema),
|
|
2122
|
-
).optional(),
|
|
2123
|
-
links: components.Links$inboundSchema.optional(),
|
|
2124
|
-
meta: z.record(z.any()).optional(),
|
|
2125
|
-
});
|
|
2126
|
-
|
|
2127
|
-
/** @internal */
|
|
2128
|
-
export type GetApplicationIncluded$Outbound = {
|
|
2129
|
-
type: string;
|
|
2130
|
-
id: string;
|
|
2131
|
-
attributes?: GetApplicationAttributes$Outbound | undefined;
|
|
2132
|
-
relationships?: {
|
|
2133
|
-
[k: string]: GetApplicationApplicationsRelationships$Outbound;
|
|
2134
|
-
} | undefined;
|
|
2135
|
-
links?: components.Links$Outbound | undefined;
|
|
2136
|
-
meta?: { [k: string]: any } | undefined;
|
|
2137
|
-
};
|
|
2138
|
-
|
|
2139
|
-
/** @internal */
|
|
2140
|
-
export const GetApplicationIncluded$outboundSchema: z.ZodType<
|
|
2141
|
-
GetApplicationIncluded$Outbound,
|
|
2142
|
-
z.ZodTypeDef,
|
|
2143
|
-
GetApplicationIncluded
|
|
2144
|
-
> = z.object({
|
|
2145
|
-
type: z.string(),
|
|
2146
|
-
id: z.string(),
|
|
2147
|
-
attributes: z.lazy(() => GetApplicationAttributes$outboundSchema).optional(),
|
|
2148
|
-
relationships: z.record(
|
|
2149
|
-
z.lazy(() => GetApplicationApplicationsRelationships$outboundSchema),
|
|
2150
|
-
).optional(),
|
|
2151
|
-
links: components.Links$outboundSchema.optional(),
|
|
2152
|
-
meta: z.record(z.any()).optional(),
|
|
2153
|
-
});
|
|
2154
|
-
|
|
2155
|
-
/**
|
|
2156
|
-
* @internal
|
|
2157
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2158
|
-
*/
|
|
2159
|
-
export namespace GetApplicationIncluded$ {
|
|
2160
|
-
/** @deprecated use `GetApplicationIncluded$inboundSchema` instead. */
|
|
2161
|
-
export const inboundSchema = GetApplicationIncluded$inboundSchema;
|
|
2162
|
-
/** @deprecated use `GetApplicationIncluded$outboundSchema` instead. */
|
|
2163
|
-
export const outboundSchema = GetApplicationIncluded$outboundSchema;
|
|
2164
|
-
/** @deprecated use `GetApplicationIncluded$Outbound` instead. */
|
|
2165
|
-
export type Outbound = GetApplicationIncluded$Outbound;
|
|
2166
|
-
}
|
|
2167
|
-
|
|
2168
|
-
export function getApplicationIncludedToJSON(
|
|
2169
|
-
getApplicationIncluded: GetApplicationIncluded,
|
|
2170
|
-
): string {
|
|
2171
|
-
return JSON.stringify(
|
|
2172
|
-
GetApplicationIncluded$outboundSchema.parse(getApplicationIncluded),
|
|
2173
|
-
);
|
|
2174
|
-
}
|
|
2175
|
-
|
|
2176
|
-
export function getApplicationIncludedFromJSON(
|
|
2177
|
-
jsonString: string,
|
|
2178
|
-
): SafeParseResult<GetApplicationIncluded, SDKValidationError> {
|
|
2179
|
-
return safeParse(
|
|
2180
|
-
jsonString,
|
|
2181
|
-
(x) => GetApplicationIncluded$inboundSchema.parse(JSON.parse(x)),
|
|
2182
|
-
`Failed to parse 'GetApplicationIncluded' from JSON`,
|
|
2183
|
-
);
|
|
2184
|
-
}
|
|
2185
|
-
|
|
2186
|
-
/** @internal */
|
|
2187
|
-
export const GetApplicationResponseBody$inboundSchema: z.ZodType<
|
|
2188
|
-
GetApplicationResponseBody,
|
|
2189
|
-
z.ZodTypeDef,
|
|
2190
|
-
unknown
|
|
2191
|
-
> = z.object({
|
|
2192
|
-
data: z.lazy(() => GetApplicationData$inboundSchema),
|
|
2193
|
-
included: z.array(z.lazy(() => GetApplicationIncluded$inboundSchema))
|
|
2194
|
-
.optional(),
|
|
2195
|
-
links: components.Links$inboundSchema.optional(),
|
|
2196
|
-
});
|
|
2197
|
-
|
|
2198
|
-
/** @internal */
|
|
2199
|
-
export type GetApplicationResponseBody$Outbound = {
|
|
2200
|
-
data: GetApplicationData$Outbound;
|
|
2201
|
-
included?: Array<GetApplicationIncluded$Outbound> | undefined;
|
|
2202
|
-
links?: components.Links$Outbound | undefined;
|
|
2203
|
-
};
|
|
2204
|
-
|
|
2205
|
-
/** @internal */
|
|
2206
|
-
export const GetApplicationResponseBody$outboundSchema: z.ZodType<
|
|
2207
|
-
GetApplicationResponseBody$Outbound,
|
|
2208
|
-
z.ZodTypeDef,
|
|
2209
|
-
GetApplicationResponseBody
|
|
2210
|
-
> = z.object({
|
|
2211
|
-
data: z.lazy(() => GetApplicationData$outboundSchema),
|
|
2212
|
-
included: z.array(z.lazy(() => GetApplicationIncluded$outboundSchema))
|
|
2213
|
-
.optional(),
|
|
2214
|
-
links: components.Links$outboundSchema.optional(),
|
|
2215
|
-
});
|
|
2216
|
-
|
|
2217
|
-
/**
|
|
2218
|
-
* @internal
|
|
2219
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2220
|
-
*/
|
|
2221
|
-
export namespace GetApplicationResponseBody$ {
|
|
2222
|
-
/** @deprecated use `GetApplicationResponseBody$inboundSchema` instead. */
|
|
2223
|
-
export const inboundSchema = GetApplicationResponseBody$inboundSchema;
|
|
2224
|
-
/** @deprecated use `GetApplicationResponseBody$outboundSchema` instead. */
|
|
2225
|
-
export const outboundSchema = GetApplicationResponseBody$outboundSchema;
|
|
2226
|
-
/** @deprecated use `GetApplicationResponseBody$Outbound` instead. */
|
|
2227
|
-
export type Outbound = GetApplicationResponseBody$Outbound;
|
|
2228
|
-
}
|
|
2229
|
-
|
|
2230
|
-
export function getApplicationResponseBodyToJSON(
|
|
2231
|
-
getApplicationResponseBody: GetApplicationResponseBody,
|
|
2232
|
-
): string {
|
|
2233
|
-
return JSON.stringify(
|
|
2234
|
-
GetApplicationResponseBody$outboundSchema.parse(getApplicationResponseBody),
|
|
2235
|
-
);
|
|
2236
|
-
}
|
|
2237
|
-
|
|
2238
|
-
export function getApplicationResponseBodyFromJSON(
|
|
2239
|
-
jsonString: string,
|
|
2240
|
-
): SafeParseResult<GetApplicationResponseBody, SDKValidationError> {
|
|
2241
|
-
return safeParse(
|
|
2242
|
-
jsonString,
|
|
2243
|
-
(x) => GetApplicationResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
2244
|
-
`Failed to parse 'GetApplicationResponseBody' from JSON`,
|
|
2245
|
-
);
|
|
2246
|
-
}
|