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