@financeable/aggregation 0.5.1 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +14 -131
- package/README.md +271 -1512
- package/docs/sdks/applications/README.md +24 -383
- package/docs/sdks/oauthtoken/README.md +5 -5
- package/docs/sdks/supportingdocuments/README.md +121 -0
- package/funcs/applicationsCreate.d.ts +1 -2
- package/funcs/applicationsCreate.d.ts.map +1 -1
- package/funcs/applicationsCreate.js +3 -4
- 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 +14 -0
- package/funcs/supportingDocumentsCreate.d.ts.map +1 -0
- package/funcs/{applicationsList.js → supportingDocumentsCreate.js} +14 -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 +10 -8
- package/models/components/addressattributes.d.ts.map +1 -1
- package/models/components/addressattributes.js +15 -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/commercialsecuredapplicationpayload.d.ts +164 -0
- package/models/components/commercialsecuredapplicationpayload.d.ts.map +1 -0
- package/models/components/commercialsecuredapplicationpayload.js +158 -0
- package/models/components/commercialsecuredapplicationpayload.js.map +1 -0
- package/models/components/commercialsecuredapplicationresource.d.ts +171 -0
- package/models/components/commercialsecuredapplicationresource.d.ts.map +1 -0
- package/models/components/commercialsecuredapplicationresource.js +161 -0
- package/models/components/commercialsecuredapplicationresource.js.map +1 -0
- package/models/components/commercialsecuredloanassetattributes.d.ts +237 -0
- package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -0
- package/models/components/commercialsecuredloanassetattributes.js +170 -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 +537 -0
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -0
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js +548 -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/consumersecuredapplicationpayload.d.ts +164 -0
- package/models/components/consumersecuredapplicationpayload.d.ts.map +1 -0
- package/models/components/consumersecuredapplicationpayload.js +158 -0
- package/models/components/consumersecuredapplicationpayload.js.map +1 -0
- package/models/components/consumersecuredapplicationresource.d.ts +171 -0
- package/models/components/consumersecuredapplicationresource.d.ts.map +1 -0
- package/models/components/consumersecuredapplicationresource.js +161 -0
- package/models/components/consumersecuredapplicationresource.js.map +1 -0
- package/models/components/consumersecuredloanassetattributes.d.ts +237 -0
- package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -0
- package/models/components/consumersecuredloanassetattributes.js +172 -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 +425 -0
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -0
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js +443 -0
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -0
- package/models/components/createsupportingdocumentsresponse.d.ts +124 -0
- package/models/components/createsupportingdocumentsresponse.d.ts.map +1 -0
- package/models/components/createsupportingdocumentsresponse.js +138 -0
- package/models/components/createsupportingdocumentsresponse.js.map +1 -0
- package/models/components/customerattributes.d.ts +2 -0
- package/models/components/customerattributes.d.ts.map +1 -1
- package/models/components/customerattributes.js +2 -0
- package/models/components/customerattributes.js.map +1 -1
- package/models/components/documenttype.d.ts +70 -0
- package/models/components/documenttype.d.ts.map +1 -0
- package/models/{errors/responsebody.js → components/documenttype.js} +28 -34
- package/models/components/documenttype.js.map +1 -0
- package/models/components/entityattributes.d.ts +2 -22
- package/models/components/entityattributes.d.ts.map +1 -1
- package/models/components/entityattributes.js +2 -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 +24 -8
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +24 -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/{links.js → linkobject.js} +27 -22
- package/models/components/linkobject.js.map +1 -0
- package/models/components/loandetailsattributes.d.ts +2 -0
- package/models/components/loandetailsattributes.d.ts.map +1 -1
- package/models/components/loandetailsattributes.js +2 -0
- package/models/components/loandetailsattributes.js.map +1 -1
- 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/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 +71 -0
- package/models/components/supportingdocumentresource.d.ts.map +1 -0
- package/models/components/supportingdocumentresource.js +98 -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 +73 -0
- package/models/errors/createapplication.d.ts.map +1 -0
- package/models/errors/createapplication.js +120 -0
- 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 +26 -874
- package/models/operations/createapplication.d.ts.map +1 -1
- package/models/operations/createapplication.js +37 -899
- 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 +94 -0
- package/models/operations/supportingdocumentscreate.d.ts.map +1 -0
- package/models/operations/supportingdocumentscreate.js +135 -0
- package/models/operations/supportingdocumentscreate.js.map +1 -0
- package/package.json +2 -2
- package/sdk/applications.d.ts +1 -10
- package/sdk/applications.d.ts.map +1 -1
- package/sdk/applications.js +0 -14
- package/sdk/applications.js.map +1 -1
- package/sdk/oauthtoken.d.ts +1 -1
- package/sdk/oauthtoken.d.ts.map +1 -1
- package/sdk/oauthtoken.js +3 -3
- package/sdk/oauthtoken.js.map +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/supportingdocuments.d.ts +9 -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 +15 -9
- package/src/funcs/{oauthTokenGet.ts → oauthTokenOauthToken.ts} +1 -1
- package/src/funcs/{applicationsList.ts → supportingDocumentsCreate.ts} +30 -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 +22 -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/commercialsecuredapplicationpayload.ts +248 -0
- package/src/models/components/commercialsecuredapplicationresource.ts +310 -0
- package/src/models/components/commercialsecuredloanassetattributes.ts +319 -0
- package/src/models/components/commercialsecuredloanassettype.ts +64 -0
- package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +1238 -0
- package/src/models/components/consumerapplicationjsonapirelationships.ts +683 -0
- package/src/models/components/consumersecuredapplicationpayload.ts +273 -0
- package/src/models/components/consumersecuredapplicationresource.ts +309 -0
- package/src/models/components/consumersecuredloanassetattributes.ts +334 -0
- package/src/models/components/consumersecuredloanassettype.ts +47 -0
- package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +1047 -0
- package/src/models/components/createsupportingdocumentsresponse.ts +206 -0
- package/src/models/components/customerattributes.ts +4 -0
- package/src/models/components/documenttype.ts +49 -0
- package/src/models/components/entityattributes.ts +4 -44
- package/src/models/components/forbiddenerror.ts +35 -58
- package/src/models/components/index.ts +24 -8
- package/src/models/components/linkobject.ts +84 -0
- package/src/models/components/loandetailsattributes.ts +4 -0
- package/src/models/components/relationshipresourcenotfound.ts +195 -0
- package/src/models/components/resourcenotfound.ts +188 -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 +126 -0
- package/src/models/components/uploadmimetype.ts +44 -0
- package/src/models/errors/createapplication.ts +149 -0
- package/src/models/errors/index.ts +2 -1
- package/src/models/errors/supportingdocumentscreate.ts +342 -0
- package/src/models/operations/createapplication.ts +69 -1913
- package/src/models/operations/index.ts +1 -2
- package/src/models/operations/supportingdocumentscreate.ts +222 -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 +24 -0
- package/funcs/applicationsGet.d.ts +0 -14
- package/funcs/applicationsGet.d.ts.map +0 -1
- package/funcs/applicationsGet.js +0 -120
- package/funcs/applicationsGet.js.map +0 -1
- package/funcs/applicationsList.d.ts +0 -14
- package/funcs/applicationsList.d.ts.map +0 -1
- package/funcs/applicationsList.js.map +0 -1
- package/funcs/oauthTokenGet.d.ts.map +0 -1
- package/funcs/oauthTokenGet.js.map +0 -1
- package/models/components/applicationattributes.d.ts +0 -69
- package/models/components/applicationattributes.d.ts.map +0 -1
- package/models/components/applicationattributes.js +0 -85
- package/models/components/applicationattributes.js.map +0 -1
- package/models/components/applicationattributescreate.d.ts +0 -43
- package/models/components/applicationattributescreate.d.ts.map +0 -1
- package/models/components/applicationattributescreate.js.map +0 -1
- package/models/components/applicationresourcebulksubmission.d.ts +0 -527
- package/models/components/applicationresourcebulksubmission.d.ts.map +0 -1
- package/models/components/applicationresourcebulksubmission.js +0 -565
- package/models/components/applicationresourcebulksubmission.js.map +0 -1
- package/models/components/applicationtype.d.ts +0 -28
- package/models/components/applicationtype.d.ts.map +0 -1
- package/models/components/applicationtype.js.map +0 -1
- package/models/components/assetattributes.d.ts +0 -311
- package/models/components/assetattributes.d.ts.map +0 -1
- package/models/components/assetattributes.js +0 -234
- package/models/components/assetattributes.js.map +0 -1
- package/models/components/commercialassettype.d.ts +0 -44
- package/models/components/commercialassettype.d.ts.map +0 -1
- package/models/components/commercialassettype.js +0 -85
- package/models/components/commercialassettype.js.map +0 -1
- package/models/components/consumerassettype.d.ts +0 -32
- package/models/components/consumerassettype.d.ts.map +0 -1
- package/models/components/consumerassettype.js.map +0 -1
- package/models/components/links.d.ts +0 -40
- package/models/components/links.d.ts.map +0 -1
- package/models/components/links.js.map +0 -1
- package/models/errors/responsebody.d.ts +0 -38
- package/models/errors/responsebody.d.ts.map +0 -1
- package/models/errors/responsebody.js.map +0 -1
- package/models/operations/getapplication.d.ts +0 -962
- package/models/operations/getapplication.d.ts.map +0 -1
- package/models/operations/getapplication.js +0 -1030
- package/models/operations/getapplication.js.map +0 -1
- package/models/operations/getapplications.d.ts +0 -962
- package/models/operations/getapplications.d.ts.map +0 -1
- package/models/operations/getapplications.js +0 -1029
- package/models/operations/getapplications.js.map +0 -1
- package/src/funcs/applicationsGet.ts +0 -168
- package/src/models/components/applicationattributes.ts +0 -128
- package/src/models/components/applicationattributescreate.ts +0 -90
- package/src/models/components/applicationresourcebulksubmission.ts +0 -1172
- package/src/models/components/applicationtype.ts +0 -33
- package/src/models/components/assetattributes.ts +0 -411
- package/src/models/components/commercialassettype.ts +0 -61
- package/src/models/components/consumerassettype.ts +0 -43
- package/src/models/components/links.ts +0 -72
- package/src/models/errors/responsebody.ts +0 -76
- package/src/models/operations/getapplication.ts +0 -2246
- package/src/models/operations/getapplications.ts +0 -2191
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* The MIME type of the document
|
|
5
|
+
*/
|
|
6
|
+
export declare const UploadMimetype: {
|
|
7
|
+
readonly ApplicationPdf: "application/pdf";
|
|
8
|
+
readonly ImagePng: "image/png";
|
|
9
|
+
readonly ImageJpeg: "image/jpeg";
|
|
10
|
+
readonly TextPlain: "text/plain";
|
|
11
|
+
readonly TextCsv: "text/csv";
|
|
12
|
+
readonly TextJson: "text/json";
|
|
13
|
+
readonly TextHtml: "text/html";
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* The MIME type of the document
|
|
17
|
+
*/
|
|
18
|
+
export type UploadMimetype = ClosedEnum<typeof UploadMimetype>;
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const UploadMimetype$inboundSchema: z.ZodNativeEnum<typeof UploadMimetype>;
|
|
21
|
+
/** @internal */
|
|
22
|
+
export declare const UploadMimetype$outboundSchema: z.ZodNativeEnum<typeof UploadMimetype>;
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
26
|
+
*/
|
|
27
|
+
export declare namespace UploadMimetype$ {
|
|
28
|
+
/** @deprecated use `UploadMimetype$inboundSchema` instead. */
|
|
29
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
30
|
+
readonly ApplicationPdf: "application/pdf";
|
|
31
|
+
readonly ImagePng: "image/png";
|
|
32
|
+
readonly ImageJpeg: "image/jpeg";
|
|
33
|
+
readonly TextPlain: "text/plain";
|
|
34
|
+
readonly TextCsv: "text/csv";
|
|
35
|
+
readonly TextJson: "text/json";
|
|
36
|
+
readonly TextHtml: "text/html";
|
|
37
|
+
}>;
|
|
38
|
+
/** @deprecated use `UploadMimetype$outboundSchema` instead. */
|
|
39
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
40
|
+
readonly ApplicationPdf: "application/pdf";
|
|
41
|
+
readonly ImagePng: "image/png";
|
|
42
|
+
readonly ImageJpeg: "image/jpeg";
|
|
43
|
+
readonly TextPlain: "text/plain";
|
|
44
|
+
readonly TextCsv: "text/csv";
|
|
45
|
+
readonly TextJson: "text/json";
|
|
46
|
+
readonly TextHtml: "text/html";
|
|
47
|
+
}>;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=uploadmimetype.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploadmimetype.d.ts","sourceRoot":"","sources":["../../src/models/components/uploadmimetype.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;CAQjB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAE/D,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,aAAa,CACxD,OAAO,cAAc,CACS,CAAC;AAEjC,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,aAAa,CACzD,OAAO,cAAc,CACS,CAAC;AAEjC;;;GAGG;AACH,yBAAiB,eAAe,CAAC;IAC/B,8DAA8D;IACvD,MAAM,aAAa;;;;;;;;MAA+B,CAAC;IAC1D,+DAA+D;IACxD,MAAM,cAAc;;;;;;;;MAAgC,CAAC;CAC7D"}
|
|
@@ -36,25 +36,33 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.UploadMimetype$ = exports.UploadMimetype$outboundSchema = exports.UploadMimetype$inboundSchema = exports.UploadMimetype = void 0;
|
|
40
40
|
const z = __importStar(require("zod"));
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
/**
|
|
42
|
+
* The MIME type of the document
|
|
43
|
+
*/
|
|
44
|
+
exports.UploadMimetype = {
|
|
45
|
+
ApplicationPdf: "application/pdf",
|
|
46
|
+
ImagePng: "image/png",
|
|
47
|
+
ImageJpeg: "image/jpeg",
|
|
48
|
+
TextPlain: "text/plain",
|
|
49
|
+
TextCsv: "text/csv",
|
|
50
|
+
TextJson: "text/json",
|
|
51
|
+
TextHtml: "text/html",
|
|
44
52
|
};
|
|
45
53
|
/** @internal */
|
|
46
|
-
exports.
|
|
54
|
+
exports.UploadMimetype$inboundSchema = z.nativeEnum(exports.UploadMimetype);
|
|
47
55
|
/** @internal */
|
|
48
|
-
exports.
|
|
56
|
+
exports.UploadMimetype$outboundSchema = exports.UploadMimetype$inboundSchema;
|
|
49
57
|
/**
|
|
50
58
|
* @internal
|
|
51
59
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
52
60
|
*/
|
|
53
|
-
var
|
|
54
|
-
(function (
|
|
55
|
-
/** @deprecated use `
|
|
56
|
-
|
|
57
|
-
/** @deprecated use `
|
|
58
|
-
|
|
59
|
-
})(
|
|
60
|
-
//# sourceMappingURL=
|
|
61
|
+
var UploadMimetype$;
|
|
62
|
+
(function (UploadMimetype$) {
|
|
63
|
+
/** @deprecated use `UploadMimetype$inboundSchema` instead. */
|
|
64
|
+
UploadMimetype$.inboundSchema = exports.UploadMimetype$inboundSchema;
|
|
65
|
+
/** @deprecated use `UploadMimetype$outboundSchema` instead. */
|
|
66
|
+
UploadMimetype$.outboundSchema = exports.UploadMimetype$outboundSchema;
|
|
67
|
+
})(UploadMimetype$ || (exports.UploadMimetype$ = UploadMimetype$ = {}));
|
|
68
|
+
//# sourceMappingURL=uploadmimetype.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploadmimetype.js","sourceRoot":"","sources":["../../src/models/components/uploadmimetype.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,cAAc,GAAG;IAC5B,cAAc,EAAE,iBAAiB;IACjC,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,SAAS,EAAE,YAAY;IACvB,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACb,CAAC;AAMX,gBAAgB;AACH,QAAA,4BAA4B,GAErC,CAAC,CAAC,UAAU,CAAC,sBAAc,CAAC,CAAC;AAEjC,gBAAgB;AACH,QAAA,6BAA6B,GAEtC,oCAA4B,CAAC;AAEjC;;;GAGG;AACH,IAAiB,eAAe,CAK/B;AALD,WAAiB,eAAe;IAC9B,8DAA8D;IACjD,6BAAa,GAAG,oCAA4B,CAAC;IAC1D,+DAA+D;IAClD,8BAAc,GAAG,qCAA6B,CAAC;AAC9D,CAAC,EALgB,eAAe,+BAAf,eAAe,QAK/B"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import * as components from "../components/index.js";
|
|
3
|
+
/**
|
|
4
|
+
* The server cannot find the requested resource.
|
|
5
|
+
*/
|
|
6
|
+
export type CreateApplicationApplicationsResponseBodyData = {
|
|
7
|
+
errors: Array<components.ResourceNotFound>;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* The server cannot find the requested resource.
|
|
11
|
+
*/
|
|
12
|
+
export declare class CreateApplicationApplicationsResponseBody extends Error {
|
|
13
|
+
errors: Array<components.ResourceNotFound>;
|
|
14
|
+
/** The original data that was passed to this error instance. */
|
|
15
|
+
data$: CreateApplicationApplicationsResponseBodyData;
|
|
16
|
+
constructor(err: CreateApplicationApplicationsResponseBodyData);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Access is forbidden.
|
|
20
|
+
*/
|
|
21
|
+
export type CreateApplicationResponseBodyData = {
|
|
22
|
+
errors: Array<components.ForbiddenError>;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Access is forbidden.
|
|
26
|
+
*/
|
|
27
|
+
export declare class CreateApplicationResponseBody extends Error {
|
|
28
|
+
errors: Array<components.ForbiddenError>;
|
|
29
|
+
/** The original data that was passed to this error instance. */
|
|
30
|
+
data$: CreateApplicationResponseBodyData;
|
|
31
|
+
constructor(err: CreateApplicationResponseBodyData);
|
|
32
|
+
}
|
|
33
|
+
/** @internal */
|
|
34
|
+
export declare const CreateApplicationApplicationsResponseBody$inboundSchema: z.ZodType<CreateApplicationApplicationsResponseBody, z.ZodTypeDef, unknown>;
|
|
35
|
+
/** @internal */
|
|
36
|
+
export type CreateApplicationApplicationsResponseBody$Outbound = {
|
|
37
|
+
errors: Array<components.ResourceNotFound$Outbound>;
|
|
38
|
+
};
|
|
39
|
+
/** @internal */
|
|
40
|
+
export declare const CreateApplicationApplicationsResponseBody$outboundSchema: z.ZodType<CreateApplicationApplicationsResponseBody$Outbound, z.ZodTypeDef, CreateApplicationApplicationsResponseBody>;
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
44
|
+
*/
|
|
45
|
+
export declare namespace CreateApplicationApplicationsResponseBody$ {
|
|
46
|
+
/** @deprecated use `CreateApplicationApplicationsResponseBody$inboundSchema` instead. */
|
|
47
|
+
const inboundSchema: z.ZodType<CreateApplicationApplicationsResponseBody, z.ZodTypeDef, unknown>;
|
|
48
|
+
/** @deprecated use `CreateApplicationApplicationsResponseBody$outboundSchema` instead. */
|
|
49
|
+
const outboundSchema: z.ZodType<CreateApplicationApplicationsResponseBody$Outbound, z.ZodTypeDef, CreateApplicationApplicationsResponseBody>;
|
|
50
|
+
/** @deprecated use `CreateApplicationApplicationsResponseBody$Outbound` instead. */
|
|
51
|
+
type Outbound = CreateApplicationApplicationsResponseBody$Outbound;
|
|
52
|
+
}
|
|
53
|
+
/** @internal */
|
|
54
|
+
export declare const CreateApplicationResponseBody$inboundSchema: z.ZodType<CreateApplicationResponseBody, z.ZodTypeDef, unknown>;
|
|
55
|
+
/** @internal */
|
|
56
|
+
export type CreateApplicationResponseBody$Outbound = {
|
|
57
|
+
errors: Array<components.ForbiddenError$Outbound>;
|
|
58
|
+
};
|
|
59
|
+
/** @internal */
|
|
60
|
+
export declare const CreateApplicationResponseBody$outboundSchema: z.ZodType<CreateApplicationResponseBody$Outbound, z.ZodTypeDef, CreateApplicationResponseBody>;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
64
|
+
*/
|
|
65
|
+
export declare namespace CreateApplicationResponseBody$ {
|
|
66
|
+
/** @deprecated use `CreateApplicationResponseBody$inboundSchema` instead. */
|
|
67
|
+
const inboundSchema: z.ZodType<CreateApplicationResponseBody, z.ZodTypeDef, unknown>;
|
|
68
|
+
/** @deprecated use `CreateApplicationResponseBody$outboundSchema` instead. */
|
|
69
|
+
const outboundSchema: z.ZodType<CreateApplicationResponseBody$Outbound, z.ZodTypeDef, CreateApplicationResponseBody>;
|
|
70
|
+
/** @deprecated use `CreateApplicationResponseBody$Outbound` instead. */
|
|
71
|
+
type Outbound = CreateApplicationResponseBody$Outbound;
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=createapplication.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createapplication.d.ts","sourceRoot":"","sources":["../../src/models/errors/createapplication.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,6CAA6C,GAAG;IAC1D,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;CAC5C,CAAC;AAEF;;GAEG;AACH,qBAAa,yCAA0C,SAAQ,KAAK;IAClE,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;IAE3C,gEAAgE;IAChE,KAAK,EAAE,6CAA6C,CAAC;gBAEzC,GAAG,EAAE,6CAA6C;CAW/D;AAED;;GAEG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC9C,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;CAC1C,CAAC;AAEF;;GAEG;AACH,qBAAa,6BAA8B,SAAQ,KAAK;IACtD,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;IAEzC,gEAAgE;IAChE,KAAK,EAAE,iCAAiC,CAAC;gBAE7B,GAAG,EAAE,iCAAiC;CA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
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CreateApplicationResponseBody$ = exports.CreateApplicationResponseBody$outboundSchema = exports.CreateApplicationResponseBody$inboundSchema = exports.CreateApplicationApplicationsResponseBody$ = exports.CreateApplicationApplicationsResponseBody$outboundSchema = exports.CreateApplicationApplicationsResponseBody$inboundSchema = exports.CreateApplicationResponseBody = exports.CreateApplicationApplicationsResponseBody = void 0;
|
|
40
|
+
const z = __importStar(require("zod"));
|
|
41
|
+
const components = __importStar(require("../components/index.js"));
|
|
42
|
+
/**
|
|
43
|
+
* The server cannot find the requested resource.
|
|
44
|
+
*/
|
|
45
|
+
class CreateApplicationApplicationsResponseBody extends Error {
|
|
46
|
+
constructor(err) {
|
|
47
|
+
const message = "message" in err && typeof err.message === "string"
|
|
48
|
+
? err.message
|
|
49
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
50
|
+
super(message);
|
|
51
|
+
this.data$ = err;
|
|
52
|
+
this.errors = err.errors;
|
|
53
|
+
this.name = "CreateApplicationApplicationsResponseBody";
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.CreateApplicationApplicationsResponseBody = CreateApplicationApplicationsResponseBody;
|
|
57
|
+
/**
|
|
58
|
+
* Access is forbidden.
|
|
59
|
+
*/
|
|
60
|
+
class CreateApplicationResponseBody extends Error {
|
|
61
|
+
constructor(err) {
|
|
62
|
+
const message = "message" in err && typeof err.message === "string"
|
|
63
|
+
? err.message
|
|
64
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
65
|
+
super(message);
|
|
66
|
+
this.data$ = err;
|
|
67
|
+
this.errors = err.errors;
|
|
68
|
+
this.name = "CreateApplicationResponseBody";
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.CreateApplicationResponseBody = CreateApplicationResponseBody;
|
|
72
|
+
/** @internal */
|
|
73
|
+
exports.CreateApplicationApplicationsResponseBody$inboundSchema = z.object({
|
|
74
|
+
errors: z.array(components.ResourceNotFound$inboundSchema),
|
|
75
|
+
})
|
|
76
|
+
.transform((v) => {
|
|
77
|
+
return new CreateApplicationApplicationsResponseBody(v);
|
|
78
|
+
});
|
|
79
|
+
/** @internal */
|
|
80
|
+
exports.CreateApplicationApplicationsResponseBody$outboundSchema = z.instanceof(CreateApplicationApplicationsResponseBody)
|
|
81
|
+
.transform(v => v.data$)
|
|
82
|
+
.pipe(z.object({
|
|
83
|
+
errors: z.array(components.ResourceNotFound$outboundSchema),
|
|
84
|
+
}));
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
88
|
+
*/
|
|
89
|
+
var CreateApplicationApplicationsResponseBody$;
|
|
90
|
+
(function (CreateApplicationApplicationsResponseBody$) {
|
|
91
|
+
/** @deprecated use `CreateApplicationApplicationsResponseBody$inboundSchema` instead. */
|
|
92
|
+
CreateApplicationApplicationsResponseBody$.inboundSchema = exports.CreateApplicationApplicationsResponseBody$inboundSchema;
|
|
93
|
+
/** @deprecated use `CreateApplicationApplicationsResponseBody$outboundSchema` instead. */
|
|
94
|
+
CreateApplicationApplicationsResponseBody$.outboundSchema = exports.CreateApplicationApplicationsResponseBody$outboundSchema;
|
|
95
|
+
})(CreateApplicationApplicationsResponseBody$ || (exports.CreateApplicationApplicationsResponseBody$ = CreateApplicationApplicationsResponseBody$ = {}));
|
|
96
|
+
/** @internal */
|
|
97
|
+
exports.CreateApplicationResponseBody$inboundSchema = z.object({
|
|
98
|
+
errors: z.array(components.ForbiddenError$inboundSchema),
|
|
99
|
+
})
|
|
100
|
+
.transform((v) => {
|
|
101
|
+
return new CreateApplicationResponseBody(v);
|
|
102
|
+
});
|
|
103
|
+
/** @internal */
|
|
104
|
+
exports.CreateApplicationResponseBody$outboundSchema = z.instanceof(CreateApplicationResponseBody)
|
|
105
|
+
.transform(v => v.data$)
|
|
106
|
+
.pipe(z.object({
|
|
107
|
+
errors: z.array(components.ForbiddenError$outboundSchema),
|
|
108
|
+
}));
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
112
|
+
*/
|
|
113
|
+
var CreateApplicationResponseBody$;
|
|
114
|
+
(function (CreateApplicationResponseBody$) {
|
|
115
|
+
/** @deprecated use `CreateApplicationResponseBody$inboundSchema` instead. */
|
|
116
|
+
CreateApplicationResponseBody$.inboundSchema = exports.CreateApplicationResponseBody$inboundSchema;
|
|
117
|
+
/** @deprecated use `CreateApplicationResponseBody$outboundSchema` instead. */
|
|
118
|
+
CreateApplicationResponseBody$.outboundSchema = exports.CreateApplicationResponseBody$outboundSchema;
|
|
119
|
+
})(CreateApplicationResponseBody$ || (exports.CreateApplicationResponseBody$ = CreateApplicationResponseBody$ = {}));
|
|
120
|
+
//# sourceMappingURL=createapplication.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createapplication.js","sourceRoot":"","sources":["../../src/models/errors/createapplication.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,mEAAqD;AASrD;;GAEG;AACH,MAAa,yCAA0C,SAAQ,KAAK;IAMlE,YAAY,GAAkD;QAC5D,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QAEjB,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;QAEzB,IAAI,CAAC,IAAI,GAAG,2CAA2C,CAAC;IAC1D,CAAC;CACF;AAjBD,8FAiBC;AASD;;GAEG;AACH,MAAa,6BAA8B,SAAQ,KAAK;IAMtD,YAAY,GAAsC;QAChD,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OA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B,CAAC;CACzD,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,6BAA6B,CAAC,CAAC,CAAC,CAAC;AAC9C,CAAC,CAAC,CAAC;AAOL,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,UAAU,CAAC,6BAA6B,CAAC;KAC5C,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;KACvB,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IACb,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,6BAA6B,CAAC;CAC1D,CAAC,CAAC,CAAC;AAEN;;;GAGG;AACH,IAAiB,8BAA8B,CAO9C;AAPD,WAAiB,8BAA8B;IAC7C,6EAA6E;IAChE,4CAAa,GAAG,mDAA2C,CAAC;IACzE,8EAA8E;IACjE,6CAAc,GAAG,oDAA4C,CAAC;AAG7E,CAAC,EAPgB,8BAA8B,8CAA9B,8BAA8B,QAO9C"}
|
package/models/errors/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./apierror.js";
|
|
2
|
+
export * from "./createapplication.js";
|
|
2
3
|
export * from "./httpclienterrors.js";
|
|
3
|
-
export * from "./responsebody.js";
|
|
4
4
|
export * from "./sdkvalidationerror.js";
|
|
5
|
+
export * from "./supportingdocumentscreate.js";
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC"}
|
package/models/errors/index.js
CHANGED
|
@@ -18,7 +18,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
20
|
__exportStar(require("./apierror.js"), exports);
|
|
21
|
+
__exportStar(require("./createapplication.js"), exports);
|
|
21
22
|
__exportStar(require("./httpclienterrors.js"), exports);
|
|
22
|
-
__exportStar(require("./responsebody.js"), exports);
|
|
23
23
|
__exportStar(require("./sdkvalidationerror.js"), exports);
|
|
24
|
+
__exportStar(require("./supportingdocumentscreate.js"), exports);
|
|
24
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,wDAAsC;AACtC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,yDAAuC;AACvC,wDAAsC;AACtC,0DAAwC;AACxC,iEAA+C"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import * as components from "../components/index.js";
|
|
4
|
+
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
5
|
+
export type TwoData = {
|
|
6
|
+
errors: Array<components.RelationshipResourceNotFound>;
|
|
7
|
+
};
|
|
8
|
+
export declare class Two extends Error {
|
|
9
|
+
errors: Array<components.RelationshipResourceNotFound>;
|
|
10
|
+
/** The original data that was passed to this error instance. */
|
|
11
|
+
data$: TwoData;
|
|
12
|
+
constructor(err: TwoData);
|
|
13
|
+
}
|
|
14
|
+
export type OneData = {
|
|
15
|
+
errors: Array<components.ResourceNotFound>;
|
|
16
|
+
};
|
|
17
|
+
export declare class One extends Error {
|
|
18
|
+
errors: Array<components.ResourceNotFound>;
|
|
19
|
+
/** The original data that was passed to this error instance. */
|
|
20
|
+
data$: OneData;
|
|
21
|
+
constructor(err: OneData);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The server cannot find the requested resource.
|
|
25
|
+
*/
|
|
26
|
+
export type SupportingDocumentsCreateSupportingDocumentsResponseBody = One | Two;
|
|
27
|
+
export type Errors = components.BadRequestError | components.RelationshipResourceNotFound;
|
|
28
|
+
/**
|
|
29
|
+
* The server could not understand the request due to invalid syntax.
|
|
30
|
+
*/
|
|
31
|
+
export type SupportingDocumentsCreateResponseBodyData = {
|
|
32
|
+
errors: Array<components.BadRequestError | components.RelationshipResourceNotFound>;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* The server could not understand the request due to invalid syntax.
|
|
36
|
+
*/
|
|
37
|
+
export declare class SupportingDocumentsCreateResponseBody extends Error {
|
|
38
|
+
errors: Array<components.BadRequestError | components.RelationshipResourceNotFound>;
|
|
39
|
+
/** The original data that was passed to this error instance. */
|
|
40
|
+
data$: SupportingDocumentsCreateResponseBodyData;
|
|
41
|
+
constructor(err: SupportingDocumentsCreateResponseBodyData);
|
|
42
|
+
}
|
|
43
|
+
/** @internal */
|
|
44
|
+
export declare const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
|
|
45
|
+
/** @internal */
|
|
46
|
+
export type Two$Outbound = {
|
|
47
|
+
errors: Array<components.RelationshipResourceNotFound$Outbound>;
|
|
48
|
+
};
|
|
49
|
+
/** @internal */
|
|
50
|
+
export declare const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
54
|
+
*/
|
|
55
|
+
export declare namespace Two$ {
|
|
56
|
+
/** @deprecated use `Two$inboundSchema` instead. */
|
|
57
|
+
const inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
|
|
58
|
+
/** @deprecated use `Two$outboundSchema` instead. */
|
|
59
|
+
const outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
|
|
60
|
+
/** @deprecated use `Two$Outbound` instead. */
|
|
61
|
+
type Outbound = Two$Outbound;
|
|
62
|
+
}
|
|
63
|
+
/** @internal */
|
|
64
|
+
export declare const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
|
|
65
|
+
/** @internal */
|
|
66
|
+
export type One$Outbound = {
|
|
67
|
+
errors: Array<components.ResourceNotFound$Outbound>;
|
|
68
|
+
};
|
|
69
|
+
/** @internal */
|
|
70
|
+
export declare const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
74
|
+
*/
|
|
75
|
+
export declare namespace One$ {
|
|
76
|
+
/** @deprecated use `One$inboundSchema` instead. */
|
|
77
|
+
const inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
|
|
78
|
+
/** @deprecated use `One$outboundSchema` instead. */
|
|
79
|
+
const outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
|
|
80
|
+
/** @deprecated use `One$Outbound` instead. */
|
|
81
|
+
type Outbound = One$Outbound;
|
|
82
|
+
}
|
|
83
|
+
/** @internal */
|
|
84
|
+
export declare const SupportingDocumentsCreateSupportingDocumentsResponseBody$inboundSchema: z.ZodType<SupportingDocumentsCreateSupportingDocumentsResponseBody, z.ZodTypeDef, unknown>;
|
|
85
|
+
/** @internal */
|
|
86
|
+
export type SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound = One$Outbound | Two$Outbound;
|
|
87
|
+
/** @internal */
|
|
88
|
+
export declare const SupportingDocumentsCreateSupportingDocumentsResponseBody$outboundSchema: z.ZodType<SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound, z.ZodTypeDef, SupportingDocumentsCreateSupportingDocumentsResponseBody>;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
92
|
+
*/
|
|
93
|
+
export declare namespace SupportingDocumentsCreateSupportingDocumentsResponseBody$ {
|
|
94
|
+
/** @deprecated use `SupportingDocumentsCreateSupportingDocumentsResponseBody$inboundSchema` instead. */
|
|
95
|
+
const inboundSchema: z.ZodType<SupportingDocumentsCreateSupportingDocumentsResponseBody, z.ZodTypeDef, unknown>;
|
|
96
|
+
/** @deprecated use `SupportingDocumentsCreateSupportingDocumentsResponseBody$outboundSchema` instead. */
|
|
97
|
+
const outboundSchema: z.ZodType<SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound, z.ZodTypeDef, SupportingDocumentsCreateSupportingDocumentsResponseBody>;
|
|
98
|
+
/** @deprecated use `SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound` instead. */
|
|
99
|
+
type Outbound = SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound;
|
|
100
|
+
}
|
|
101
|
+
export declare function supportingDocumentsCreateSupportingDocumentsResponseBodyToJSON(supportingDocumentsCreateSupportingDocumentsResponseBody: SupportingDocumentsCreateSupportingDocumentsResponseBody): string;
|
|
102
|
+
export declare function supportingDocumentsCreateSupportingDocumentsResponseBodyFromJSON(jsonString: string): SafeParseResult<SupportingDocumentsCreateSupportingDocumentsResponseBody, SDKValidationError>;
|
|
103
|
+
/** @internal */
|
|
104
|
+
export declare const Errors$inboundSchema: z.ZodType<Errors, z.ZodTypeDef, unknown>;
|
|
105
|
+
/** @internal */
|
|
106
|
+
export type Errors$Outbound = components.BadRequestError$Outbound | components.RelationshipResourceNotFound$Outbound;
|
|
107
|
+
/** @internal */
|
|
108
|
+
export declare const Errors$outboundSchema: z.ZodType<Errors$Outbound, z.ZodTypeDef, Errors>;
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
112
|
+
*/
|
|
113
|
+
export declare namespace Errors$ {
|
|
114
|
+
/** @deprecated use `Errors$inboundSchema` instead. */
|
|
115
|
+
const inboundSchema: z.ZodType<Errors, z.ZodTypeDef, unknown>;
|
|
116
|
+
/** @deprecated use `Errors$outboundSchema` instead. */
|
|
117
|
+
const outboundSchema: z.ZodType<Errors$Outbound, z.ZodTypeDef, Errors>;
|
|
118
|
+
/** @deprecated use `Errors$Outbound` instead. */
|
|
119
|
+
type Outbound = Errors$Outbound;
|
|
120
|
+
}
|
|
121
|
+
export declare function errorsToJSON(errors: Errors): string;
|
|
122
|
+
export declare function errorsFromJSON(jsonString: string): SafeParseResult<Errors, SDKValidationError>;
|
|
123
|
+
/** @internal */
|
|
124
|
+
export declare const SupportingDocumentsCreateResponseBody$inboundSchema: z.ZodType<SupportingDocumentsCreateResponseBody, z.ZodTypeDef, unknown>;
|
|
125
|
+
/** @internal */
|
|
126
|
+
export type SupportingDocumentsCreateResponseBody$Outbound = {
|
|
127
|
+
errors: Array<components.BadRequestError$Outbound | components.RelationshipResourceNotFound$Outbound>;
|
|
128
|
+
};
|
|
129
|
+
/** @internal */
|
|
130
|
+
export declare const SupportingDocumentsCreateResponseBody$outboundSchema: z.ZodType<SupportingDocumentsCreateResponseBody$Outbound, z.ZodTypeDef, SupportingDocumentsCreateResponseBody>;
|
|
131
|
+
/**
|
|
132
|
+
* @internal
|
|
133
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
134
|
+
*/
|
|
135
|
+
export declare namespace SupportingDocumentsCreateResponseBody$ {
|
|
136
|
+
/** @deprecated use `SupportingDocumentsCreateResponseBody$inboundSchema` instead. */
|
|
137
|
+
const inboundSchema: z.ZodType<SupportingDocumentsCreateResponseBody, z.ZodTypeDef, unknown>;
|
|
138
|
+
/** @deprecated use `SupportingDocumentsCreateResponseBody$outboundSchema` instead. */
|
|
139
|
+
const outboundSchema: z.ZodType<SupportingDocumentsCreateResponseBody$Outbound, z.ZodTypeDef, SupportingDocumentsCreateResponseBody>;
|
|
140
|
+
/** @deprecated use `SupportingDocumentsCreateResponseBody$Outbound` instead. */
|
|
141
|
+
type Outbound = SupportingDocumentsCreateResponseBody$Outbound;
|
|
142
|
+
}
|
|
143
|
+
//# sourceMappingURL=supportingdocumentscreate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supportingdocumentscreate.d.ts","sourceRoot":"","sources":["../../src/models/errors/supportingdocumentscreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,MAAM,OAAO,GAAG;IACpB,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAAC;CACxD,CAAC;AAEF,qBAAa,GAAI,SAAQ,KAAK;IAC5B,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAAC;IAEvD,gEAAgE;IAChE,KAAK,EAAE,OAAO,CAAC;gBAEH,GAAG,EAAE,OAAO;CAWzB;AAED,MAAM,MAAM,OAAO,GAAG;IACpB,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;CAC5C,CAAC;AAEF,qBAAa,GAAI,SAAQ,KAAK;IAC5B,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;IAE3C,gEAAgE;IAChE,KAAK,EAAE,OAAO,CAAC;gBAEH,GAAG,EAAE,OAAO;CAWzB;AAED;;GAEG;AACH,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