@financeable/aggregation 0.5.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +11 -132
- package/README.md +262 -1515
- package/docs/sdks/applications/README.md +171 -295
- package/docs/sdks/oauthtoken/README.md +5 -5
- package/docs/sdks/supportingdocuments/README.md +113 -0
- package/funcs/applicationsCreate.d.ts +1 -2
- package/funcs/applicationsCreate.d.ts.map +1 -1
- package/funcs/applicationsCreate.js +2 -3
- package/funcs/applicationsCreate.js.map +1 -1
- package/funcs/{oauthTokenGet.d.ts → oauthTokenOauthToken.d.ts} +2 -2
- package/funcs/oauthTokenOauthToken.d.ts.map +1 -0
- package/funcs/{oauthTokenGet.js → oauthTokenOauthToken.js} +3 -3
- package/funcs/oauthTokenOauthToken.js.map +1 -0
- package/funcs/supportingDocumentsCreate.d.ts +15 -0
- package/funcs/supportingDocumentsCreate.d.ts.map +1 -0
- package/funcs/{applicationsList.js → supportingDocumentsCreate.js} +15 -12
- package/funcs/supportingDocumentsCreate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +4 -7
- package/lib/config.js.map +1 -1
- package/lib/matchers.d.ts +3 -1
- package/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +12 -0
- package/lib/matchers.js.map +1 -1
- package/lib/sdks.d.ts +3 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +13 -13
- package/lib/sdks.js.map +1 -1
- package/models/components/addressattributes.d.ts +8 -8
- package/models/components/addressattributes.d.ts.map +1 -1
- package/models/components/addressattributes.js +13 -14
- package/models/components/addressattributes.js.map +1 -1
- package/models/components/applicationresource.d.ts +30 -0
- package/models/components/applicationresource.d.ts.map +1 -0
- package/models/components/applicationresource.js +73 -0
- package/models/components/applicationresource.js.map +1 -0
- package/models/components/badrequesterror.d.ts +119 -0
- package/models/components/badrequesterror.d.ts.map +1 -0
- package/models/components/badrequesterror.js +140 -0
- package/models/components/badrequesterror.js.map +1 -0
- package/models/components/commercialapplicationjsonapirelationships.d.ts +384 -0
- package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -0
- package/models/components/commercialapplicationjsonapirelationships.js +391 -0
- package/models/components/commercialapplicationjsonapirelationships.js.map +1 -0
- package/models/components/commercialapplicationresource.d.ts +191 -0
- package/models/components/commercialapplicationresource.d.ts.map +1 -0
- package/models/components/commercialapplicationresource.js +183 -0
- package/models/components/commercialapplicationresource.js.map +1 -0
- package/models/components/commercialsecuredloanapplicationsubmissionpayload.d.ts +124 -0
- package/models/components/commercialsecuredloanapplicationsubmissionpayload.d.ts.map +1 -0
- package/models/components/commercialsecuredloanapplicationsubmissionpayload.js +144 -0
- package/models/components/commercialsecuredloanapplicationsubmissionpayload.js.map +1 -0
- package/models/components/commercialsecuredloanassetattributes.d.ts +235 -0
- package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -0
- package/models/components/commercialsecuredloanassetattributes.js +168 -0
- package/models/components/commercialsecuredloanassetattributes.js.map +1 -0
- package/models/components/commercialsecuredloanassettype.d.ts +100 -0
- package/models/components/commercialsecuredloanassettype.d.ts.map +1 -0
- package/models/components/commercialsecuredloanassettype.js +84 -0
- package/models/components/commercialsecuredloanassettype.js.map +1 -0
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +455 -0
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -0
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js +504 -0
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -0
- package/models/components/consumerapplicationjsonapirelationships.d.ts +296 -0
- package/models/components/consumerapplicationjsonapirelationships.d.ts.map +1 -0
- package/models/components/consumerapplicationjsonapirelationships.js +310 -0
- package/models/components/consumerapplicationjsonapirelationships.js.map +1 -0
- package/models/components/consumerapplicationresource.d.ts +191 -0
- package/models/components/consumerapplicationresource.d.ts.map +1 -0
- package/models/components/consumerapplicationresource.js +187 -0
- package/models/components/consumerapplicationresource.js.map +1 -0
- package/models/components/consumersecuredloanapplicationsubmissionpayload.d.ts +124 -0
- package/models/components/consumersecuredloanapplicationsubmissionpayload.d.ts.map +1 -0
- package/models/components/consumersecuredloanapplicationsubmissionpayload.js +146 -0
- package/models/components/consumersecuredloanapplicationsubmissionpayload.js.map +1 -0
- package/models/components/consumersecuredloanassetattributes.d.ts +235 -0
- package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -0
- package/models/components/consumersecuredloanassetattributes.js +170 -0
- package/models/components/consumersecuredloanassetattributes.js.map +1 -0
- package/models/components/consumersecuredloanassettype.d.ts +64 -0
- package/models/components/consumersecuredloanassettype.d.ts.map +1 -0
- package/models/components/{consumerassettype.js → consumersecuredloanassettype.js} +27 -28
- package/models/components/consumersecuredloanassettype.js.map +1 -0
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +376 -0
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -0
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js +426 -0
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -0
- package/models/components/createsupportingdocumentsresponse.d.ts +121 -0
- package/models/components/createsupportingdocumentsresponse.d.ts.map +1 -0
- package/models/components/createsupportingdocumentsresponse.js +149 -0
- package/models/components/createsupportingdocumentsresponse.js.map +1 -0
- package/models/components/documenttype.d.ts +70 -0
- package/models/components/documenttype.d.ts.map +1 -0
- package/models/components/documenttype.js +75 -0
- package/models/components/documenttype.js.map +1 -0
- package/models/components/entityattributes.d.ts +0 -22
- package/models/components/entityattributes.d.ts.map +1 -1
- package/models/components/entityattributes.js +0 -19
- package/models/components/entityattributes.js.map +1 -1
- package/models/components/forbiddenerror.d.ts +17 -39
- package/models/components/forbiddenerror.d.ts.map +1 -1
- package/models/components/forbiddenerror.js +27 -46
- package/models/components/forbiddenerror.js.map +1 -1
- package/models/components/index.d.ts +25 -8
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +25 -8
- package/models/components/index.js.map +1 -1
- package/models/components/linkobject.d.ts +47 -0
- package/models/components/linkobject.d.ts.map +1 -0
- package/models/components/linkobject.js +77 -0
- package/models/components/linkobject.js.map +1 -0
- package/models/components/relationshipresourcenotfound.d.ts +116 -0
- package/models/components/relationshipresourcenotfound.d.ts.map +1 -0
- package/models/components/relationshipresourcenotfound.js +139 -0
- package/models/components/relationshipresourcenotfound.js.map +1 -0
- package/models/components/resourcenotfound.d.ts +119 -0
- package/models/components/resourcenotfound.d.ts.map +1 -0
- package/models/components/resourcenotfound.js +139 -0
- package/models/components/resourcenotfound.js.map +1 -0
- package/models/components/resourcetypes.d.ts +46 -0
- package/models/components/resourcetypes.d.ts.map +1 -0
- package/models/components/{links.js → resourcetypes.js} +21 -27
- package/models/components/resourcetypes.js.map +1 -0
- package/models/components/supportingdocumentattributes.d.ts +40 -0
- package/models/components/supportingdocumentattributes.d.ts.map +1 -0
- package/models/components/{applicationattributescreate.js → supportingdocumentattributes.js} +24 -24
- package/models/components/supportingdocumentattributes.js.map +1 -0
- package/models/components/supportingdocumentattributesinput.d.ts +38 -0
- package/models/components/supportingdocumentattributesinput.d.ts.map +1 -0
- package/models/components/supportingdocumentattributesinput.js +72 -0
- package/models/components/supportingdocumentattributesinput.js.map +1 -0
- package/models/components/supportingdocumentrelationships.d.ts +448 -0
- package/models/components/supportingdocumentrelationships.d.ts.map +1 -0
- package/models/components/supportingdocumentrelationships.js +434 -0
- package/models/components/supportingdocumentrelationships.js.map +1 -0
- package/models/components/supportingdocumentresource.d.ts +91 -0
- package/models/components/supportingdocumentresource.d.ts.map +1 -0
- package/models/components/supportingdocumentresource.js +121 -0
- package/models/components/supportingdocumentresource.js.map +1 -0
- package/models/components/uploadmimetype.d.ts +49 -0
- package/models/components/uploadmimetype.d.ts.map +1 -0
- package/models/components/{applicationtype.js → uploadmimetype.js} +22 -14
- package/models/components/uploadmimetype.js.map +1 -0
- package/models/errors/createapplication.d.ts +38 -0
- package/models/errors/createapplication.d.ts.map +1 -0
- package/models/errors/{responsebody.js → createapplication.js} +15 -15
- package/models/errors/createapplication.js.map +1 -0
- package/models/errors/index.d.ts +2 -1
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +2 -1
- package/models/errors/index.js.map +1 -1
- package/models/errors/supportingdocumentscreate.d.ts +143 -0
- package/models/errors/supportingdocumentscreate.d.ts.map +1 -0
- package/models/errors/supportingdocumentscreate.js +225 -0
- package/models/errors/supportingdocumentscreate.js.map +1 -0
- package/models/operations/createapplication.d.ts +66 -808
- package/models/operations/createapplication.d.ts.map +1 -1
- package/models/operations/createapplication.js +82 -837
- package/models/operations/createapplication.js.map +1 -1
- package/models/operations/index.d.ts +1 -2
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -2
- package/models/operations/index.js.map +1 -1
- package/models/operations/supportingdocumentscreate.d.ts +60 -0
- package/models/operations/supportingdocumentscreate.d.ts.map +1 -0
- package/models/operations/supportingdocumentscreate.js +108 -0
- package/models/operations/supportingdocumentscreate.js.map +1 -0
- package/package.json +2 -2
- package/sdk/applications.d.ts +1 -10
- package/sdk/applications.d.ts.map +1 -1
- package/sdk/applications.js +0 -14
- package/sdk/applications.js.map +1 -1
- package/sdk/oauthtoken.d.ts +1 -1
- package/sdk/oauthtoken.d.ts.map +1 -1
- package/sdk/oauthtoken.js +3 -3
- package/sdk/oauthtoken.js.map +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/supportingdocuments.d.ts +10 -0
- package/sdk/supportingdocuments.d.ts.map +1 -0
- package/sdk/supportingdocuments.js +19 -0
- package/sdk/supportingdocuments.js.map +1 -0
- package/src/funcs/applicationsCreate.ts +7 -8
- package/src/funcs/{oauthTokenGet.ts → oauthTokenOauthToken.ts} +1 -1
- package/src/funcs/{applicationsList.ts → supportingDocumentsCreate.ts} +31 -20
- package/src/lib/config.ts +4 -7
- package/src/lib/matchers.ts +20 -0
- package/src/lib/sdks.ts +19 -13
- package/src/models/components/addressattributes.ts +18 -14
- package/src/models/components/applicationresource.ts +83 -0
- package/src/models/components/badrequesterror.ts +182 -0
- package/src/models/components/commercialapplicationjsonapirelationships.ts +894 -0
- package/src/models/components/commercialapplicationresource.ts +355 -0
- package/src/models/components/commercialsecuredloanapplicationsubmissionpayload.ts +237 -0
- package/src/models/components/commercialsecuredloanassetattributes.ts +315 -0
- package/src/models/components/commercialsecuredloanassettype.ts +64 -0
- package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +1148 -0
- package/src/models/components/consumerapplicationjsonapirelationships.ts +683 -0
- package/src/models/components/consumerapplicationresource.ts +342 -0
- package/src/models/components/consumersecuredloanapplicationsubmissionpayload.ts +270 -0
- package/src/models/components/consumersecuredloanassetattributes.ts +330 -0
- package/src/models/components/consumersecuredloanassettype.ts +47 -0
- package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +1011 -0
- package/src/models/components/createsupportingdocumentsresponse.ts +252 -0
- package/src/models/components/documenttype.ts +49 -0
- package/src/models/components/entityattributes.ts +0 -44
- package/src/models/components/forbiddenerror.ts +35 -58
- package/src/models/components/index.ts +25 -8
- package/src/models/components/linkobject.ts +84 -0
- package/src/models/components/relationshipresourcenotfound.ts +195 -0
- package/src/models/components/resourcenotfound.ts +188 -0
- package/src/models/components/resourcetypes.ts +39 -0
- package/src/models/components/supportingdocumentattributes.ts +87 -0
- package/src/models/components/supportingdocumentattributesinput.ts +84 -0
- package/src/models/components/supportingdocumentrelationships.ts +828 -0
- package/src/models/components/supportingdocumentresource.ts +163 -0
- package/src/models/components/uploadmimetype.ts +44 -0
- package/src/models/errors/createapplication.ts +76 -0
- package/src/models/errors/index.ts +2 -1
- package/src/models/errors/supportingdocumentscreate.ts +342 -0
- package/src/models/operations/createapplication.ts +143 -1778
- package/src/models/operations/index.ts +1 -2
- package/src/models/operations/supportingdocumentscreate.ts +150 -0
- package/src/sdk/applications.ts +1 -32
- package/src/sdk/oauthtoken.ts +3 -3
- package/src/sdk/sdk.ts +8 -0
- package/src/sdk/supportingdocuments.ts +25 -0
- package/funcs/applicationsGet.d.ts +0 -14
- package/funcs/applicationsGet.d.ts.map +0 -1
- package/funcs/applicationsGet.js +0 -120
- package/funcs/applicationsGet.js.map +0 -1
- package/funcs/applicationsList.d.ts +0 -14
- package/funcs/applicationsList.d.ts.map +0 -1
- package/funcs/applicationsList.js.map +0 -1
- package/funcs/oauthTokenGet.d.ts.map +0 -1
- package/funcs/oauthTokenGet.js.map +0 -1
- package/models/components/applicationattributes.d.ts +0 -69
- package/models/components/applicationattributes.d.ts.map +0 -1
- package/models/components/applicationattributes.js +0 -85
- package/models/components/applicationattributes.js.map +0 -1
- package/models/components/applicationattributescreate.d.ts +0 -43
- package/models/components/applicationattributescreate.d.ts.map +0 -1
- package/models/components/applicationattributescreate.js.map +0 -1
- package/models/components/applicationresourcebulksubmission.d.ts +0 -527
- package/models/components/applicationresourcebulksubmission.d.ts.map +0 -1
- package/models/components/applicationresourcebulksubmission.js +0 -565
- package/models/components/applicationresourcebulksubmission.js.map +0 -1
- package/models/components/applicationtype.d.ts +0 -28
- package/models/components/applicationtype.d.ts.map +0 -1
- package/models/components/applicationtype.js.map +0 -1
- package/models/components/assetattributes.d.ts +0 -311
- package/models/components/assetattributes.d.ts.map +0 -1
- package/models/components/assetattributes.js +0 -234
- package/models/components/assetattributes.js.map +0 -1
- package/models/components/commercialassettype.d.ts +0 -44
- package/models/components/commercialassettype.d.ts.map +0 -1
- package/models/components/commercialassettype.js +0 -85
- package/models/components/commercialassettype.js.map +0 -1
- package/models/components/consumerassettype.d.ts +0 -32
- package/models/components/consumerassettype.d.ts.map +0 -1
- package/models/components/consumerassettype.js.map +0 -1
- package/models/components/links.d.ts +0 -40
- package/models/components/links.d.ts.map +0 -1
- package/models/components/links.js.map +0 -1
- package/models/errors/responsebody.d.ts +0 -38
- package/models/errors/responsebody.d.ts.map +0 -1
- package/models/errors/responsebody.js.map +0 -1
- package/models/operations/getapplication.d.ts +0 -962
- package/models/operations/getapplication.d.ts.map +0 -1
- package/models/operations/getapplication.js +0 -1030
- package/models/operations/getapplication.js.map +0 -1
- package/models/operations/getapplications.d.ts +0 -962
- package/models/operations/getapplications.d.ts.map +0 -1
- package/models/operations/getapplications.js +0 -1029
- package/models/operations/getapplications.js.map +0 -1
- package/src/funcs/applicationsGet.ts +0 -168
- package/src/models/components/applicationattributes.ts +0 -128
- package/src/models/components/applicationattributescreate.ts +0 -90
- package/src/models/components/applicationresourcebulksubmission.ts +0 -1172
- package/src/models/components/applicationtype.ts +0 -33
- package/src/models/components/assetattributes.ts +0 -411
- package/src/models/components/commercialassettype.ts +0 -61
- package/src/models/components/consumerassettype.ts +0 -43
- package/src/models/components/links.ts +0 -72
- package/src/models/errors/responsebody.ts +0 -76
- package/src/models/operations/getapplication.ts +0 -2246
- package/src/models/operations/getapplications.ts +0 -2191
package/models/components/{applicationattributescreate.js → supportingdocumentattributes.js}
RENAMED
|
@@ -36,39 +36,39 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
39
|
+
exports.SupportingDocumentAttributes$ = exports.SupportingDocumentAttributes$outboundSchema = exports.SupportingDocumentAttributes$inboundSchema = void 0;
|
|
40
|
+
exports.supportingDocumentAttributesToJSON = supportingDocumentAttributesToJSON;
|
|
41
|
+
exports.supportingDocumentAttributesFromJSON = supportingDocumentAttributesFromJSON;
|
|
42
42
|
const z = __importStar(require("zod"));
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
-
const
|
|
44
|
+
const documenttype_js_1 = require("./documenttype.js");
|
|
45
45
|
/** @internal */
|
|
46
|
-
exports.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
exports.SupportingDocumentAttributes$inboundSchema = z.object({
|
|
47
|
+
id: z.string(),
|
|
48
|
+
filename: z.string(),
|
|
49
|
+
documentType: documenttype_js_1.DocumentType$inboundSchema,
|
|
50
50
|
});
|
|
51
51
|
/** @internal */
|
|
52
|
-
exports.
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
exports.SupportingDocumentAttributes$outboundSchema = z.object({
|
|
53
|
+
id: z.string(),
|
|
54
|
+
filename: z.string(),
|
|
55
|
+
documentType: documenttype_js_1.DocumentType$outboundSchema,
|
|
56
56
|
});
|
|
57
57
|
/**
|
|
58
58
|
* @internal
|
|
59
59
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
60
60
|
*/
|
|
61
|
-
var
|
|
62
|
-
(function (
|
|
63
|
-
/** @deprecated use `
|
|
64
|
-
|
|
65
|
-
/** @deprecated use `
|
|
66
|
-
|
|
67
|
-
})(
|
|
68
|
-
function
|
|
69
|
-
return JSON.stringify(exports.
|
|
61
|
+
var SupportingDocumentAttributes$;
|
|
62
|
+
(function (SupportingDocumentAttributes$) {
|
|
63
|
+
/** @deprecated use `SupportingDocumentAttributes$inboundSchema` instead. */
|
|
64
|
+
SupportingDocumentAttributes$.inboundSchema = exports.SupportingDocumentAttributes$inboundSchema;
|
|
65
|
+
/** @deprecated use `SupportingDocumentAttributes$outboundSchema` instead. */
|
|
66
|
+
SupportingDocumentAttributes$.outboundSchema = exports.SupportingDocumentAttributes$outboundSchema;
|
|
67
|
+
})(SupportingDocumentAttributes$ || (exports.SupportingDocumentAttributes$ = SupportingDocumentAttributes$ = {}));
|
|
68
|
+
function supportingDocumentAttributesToJSON(supportingDocumentAttributes) {
|
|
69
|
+
return JSON.stringify(exports.SupportingDocumentAttributes$outboundSchema.parse(supportingDocumentAttributes));
|
|
70
70
|
}
|
|
71
|
-
function
|
|
72
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
71
|
+
function supportingDocumentAttributesFromJSON(jsonString) {
|
|
72
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SupportingDocumentAttributes$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SupportingDocumentAttributes' from JSON`);
|
|
73
73
|
}
|
|
74
|
-
//# sourceMappingURL=
|
|
74
|
+
//# sourceMappingURL=supportingdocumentattributes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supportingdocumentattributes.js","sourceRoot":"","sources":["../../src/models/components/supportingdocumentattributes.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEH,gFAQC;AAED,oFAQC;AAlFD,uCAAyB;AACzB,qDAAiD;AAGjD,uDAI2B;AAc3B,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,YAAY,EAAE,4CAA0B;CACzC,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,YAAY,EAAE,6CAA2B;CAC1C,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,6BAA6B,CAO7C;AAPD,WAAiB,6BAA6B;IAC5C,4EAA4E;IAC/D,2CAAa,GAAG,kDAA0C,CAAC;IACxE,6EAA6E;IAChE,4CAAc,GAAG,mDAA2C,CAAC;AAG5E,CAAC,EAPgB,6BAA6B,6CAA7B,6BAA6B,QAO7C;AAED,SAAgB,kCAAkC,CAChD,4BAA0D;IAE1D,OAAO,IAAI,CAAC,SAAS,CACnB,mDAA2C,CAAC,KAAK,CAC/C,4BAA4B,CAC7B,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,oCAAoC,CAClD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kDAA0C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtE,0DAA0D,CAC3D,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { DocumentType } from "./documenttype.js";
|
|
5
|
+
export type SupportingDocumentAttributesInput = {
|
|
6
|
+
/**
|
|
7
|
+
* Must include the extension, e.g: 'Privacy agreement.pdf'
|
|
8
|
+
*/
|
|
9
|
+
filename: string;
|
|
10
|
+
/**
|
|
11
|
+
* The type/purpose of the supporting document
|
|
12
|
+
*/
|
|
13
|
+
documentType: DocumentType;
|
|
14
|
+
};
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const SupportingDocumentAttributesInput$inboundSchema: z.ZodType<SupportingDocumentAttributesInput, z.ZodTypeDef, unknown>;
|
|
17
|
+
/** @internal */
|
|
18
|
+
export type SupportingDocumentAttributesInput$Outbound = {
|
|
19
|
+
filename: string;
|
|
20
|
+
documentType: string;
|
|
21
|
+
};
|
|
22
|
+
/** @internal */
|
|
23
|
+
export declare const SupportingDocumentAttributesInput$outboundSchema: z.ZodType<SupportingDocumentAttributesInput$Outbound, z.ZodTypeDef, SupportingDocumentAttributesInput>;
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
27
|
+
*/
|
|
28
|
+
export declare namespace SupportingDocumentAttributesInput$ {
|
|
29
|
+
/** @deprecated use `SupportingDocumentAttributesInput$inboundSchema` instead. */
|
|
30
|
+
const inboundSchema: z.ZodType<SupportingDocumentAttributesInput, z.ZodTypeDef, unknown>;
|
|
31
|
+
/** @deprecated use `SupportingDocumentAttributesInput$outboundSchema` instead. */
|
|
32
|
+
const outboundSchema: z.ZodType<SupportingDocumentAttributesInput$Outbound, z.ZodTypeDef, SupportingDocumentAttributesInput>;
|
|
33
|
+
/** @deprecated use `SupportingDocumentAttributesInput$Outbound` instead. */
|
|
34
|
+
type Outbound = SupportingDocumentAttributesInput$Outbound;
|
|
35
|
+
}
|
|
36
|
+
export declare function supportingDocumentAttributesInputToJSON(supportingDocumentAttributesInput: SupportingDocumentAttributesInput): string;
|
|
37
|
+
export declare function supportingDocumentAttributesInputFromJSON(jsonString: string): SafeParseResult<SupportingDocumentAttributesInput, SDKValidationError>;
|
|
38
|
+
//# sourceMappingURL=supportingdocumentattributesinput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supportingdocumentattributesinput.d.ts","sourceRoot":"","sources":["../../src/models/components/supportingdocumentattributesinput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,YAAY,EAGb,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,iCAAiC,GAAG;IAC9C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,YAAY,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,0CAA0C,GAAG;IACvD,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,0CAA0C,EAC1C,CAAC,CAAC,UAAU,EACZ,iCAAiC,CAIjC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,kCAAkC,CAAC;IAClD,iFAAiF;IAC1E,MAAM,aAAa,qEAAkD,CAAC;IAC7E,kFAAkF;IAC3E,MAAM,cAAc,wGACuB,CAAC;IACnD,4EAA4E;IAC5E,KAAY,QAAQ,GAAG,0CAA0C,CAAC;CACnE;AAED,wBAAgB,uCAAuC,CACrD,iCAAiC,EAAE,iCAAiC,GACnE,MAAM,CAMR;AAED,wBAAgB,yCAAyC,CACvD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iCAAiC,EAAE,kBAAkB,CAAC,CAMxE"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* 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.SupportingDocumentAttributesInput$ = exports.SupportingDocumentAttributesInput$outboundSchema = exports.SupportingDocumentAttributesInput$inboundSchema = void 0;
|
|
40
|
+
exports.supportingDocumentAttributesInputToJSON = supportingDocumentAttributesInputToJSON;
|
|
41
|
+
exports.supportingDocumentAttributesInputFromJSON = supportingDocumentAttributesInputFromJSON;
|
|
42
|
+
const z = __importStar(require("zod"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const documenttype_js_1 = require("./documenttype.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.SupportingDocumentAttributesInput$inboundSchema = z.object({
|
|
47
|
+
filename: z.string(),
|
|
48
|
+
documentType: documenttype_js_1.DocumentType$inboundSchema,
|
|
49
|
+
});
|
|
50
|
+
/** @internal */
|
|
51
|
+
exports.SupportingDocumentAttributesInput$outboundSchema = z.object({
|
|
52
|
+
filename: z.string(),
|
|
53
|
+
documentType: documenttype_js_1.DocumentType$outboundSchema,
|
|
54
|
+
});
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
58
|
+
*/
|
|
59
|
+
var SupportingDocumentAttributesInput$;
|
|
60
|
+
(function (SupportingDocumentAttributesInput$) {
|
|
61
|
+
/** @deprecated use `SupportingDocumentAttributesInput$inboundSchema` instead. */
|
|
62
|
+
SupportingDocumentAttributesInput$.inboundSchema = exports.SupportingDocumentAttributesInput$inboundSchema;
|
|
63
|
+
/** @deprecated use `SupportingDocumentAttributesInput$outboundSchema` instead. */
|
|
64
|
+
SupportingDocumentAttributesInput$.outboundSchema = exports.SupportingDocumentAttributesInput$outboundSchema;
|
|
65
|
+
})(SupportingDocumentAttributesInput$ || (exports.SupportingDocumentAttributesInput$ = SupportingDocumentAttributesInput$ = {}));
|
|
66
|
+
function supportingDocumentAttributesInputToJSON(supportingDocumentAttributesInput) {
|
|
67
|
+
return JSON.stringify(exports.SupportingDocumentAttributesInput$outboundSchema.parse(supportingDocumentAttributesInput));
|
|
68
|
+
}
|
|
69
|
+
function supportingDocumentAttributesInputFromJSON(jsonString) {
|
|
70
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SupportingDocumentAttributesInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SupportingDocumentAttributesInput' from JSON`);
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=supportingdocumentattributesinput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supportingdocumentattributesinput.js","sourceRoot":"","sources":["../../src/models/components/supportingdocumentattributesinput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+DH,0FAQC;AAED,8FAQC;AA/ED,uCAAyB;AACzB,qDAAiD;AAGjD,uDAI2B;AAa3B,gBAAgB;AACH,QAAA,+CAA+C,GAIxD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,YAAY,EAAE,4CAA0B;CACzC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,gDAAgD,GAIzD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,YAAY,EAAE,6CAA2B;CAC1C,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,kCAAkC,CAQlD;AARD,WAAiB,kCAAkC;IACjD,iFAAiF;IACpE,gDAAa,GAAG,uDAA+C,CAAC;IAC7E,kFAAkF;IACrE,iDAAc,GACzB,wDAAgD,CAAC;AAGrD,CAAC,EARgB,kCAAkC,kDAAlC,kCAAkC,QAQlD;AAED,SAAgB,uCAAuC,CACrD,iCAAoE;IAEpE,OAAO,IAAI,CAAC,SAAS,CACnB,wDAAgD,CAAC,KAAK,CACpD,iCAAiC,CAClC,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,yCAAyC,CACvD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uDAA+C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3E,+DAA+D,CAChE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,448 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
import { LinkObject, LinkObject$Outbound } from "./linkobject.js";
|
|
6
|
+
export declare const SupportingDocumentRelationshipsType: {
|
|
7
|
+
readonly Customers: "customers";
|
|
8
|
+
};
|
|
9
|
+
export type SupportingDocumentRelationshipsType = ClosedEnum<typeof SupportingDocumentRelationshipsType>;
|
|
10
|
+
export type Data = {
|
|
11
|
+
type: SupportingDocumentRelationshipsType;
|
|
12
|
+
id: string;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Reference to the ID of the customer record this support document relates to.
|
|
16
|
+
*/
|
|
17
|
+
export type Customer = {
|
|
18
|
+
data: Data;
|
|
19
|
+
links?: {
|
|
20
|
+
[k: string]: LinkObject;
|
|
21
|
+
} | undefined;
|
|
22
|
+
meta?: {
|
|
23
|
+
[k: string]: any;
|
|
24
|
+
} | undefined;
|
|
25
|
+
};
|
|
26
|
+
export declare const SupportingDocumentRelationshipsAssetType: {
|
|
27
|
+
readonly Assets: "assets";
|
|
28
|
+
};
|
|
29
|
+
export type SupportingDocumentRelationshipsAssetType = ClosedEnum<typeof SupportingDocumentRelationshipsAssetType>;
|
|
30
|
+
export type SupportingDocumentRelationshipsData = {
|
|
31
|
+
type: SupportingDocumentRelationshipsAssetType;
|
|
32
|
+
id: string;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Reference to the ID of the asset record this support document relates to.
|
|
36
|
+
*/
|
|
37
|
+
export type Asset = {
|
|
38
|
+
data: SupportingDocumentRelationshipsData;
|
|
39
|
+
links?: {
|
|
40
|
+
[k: string]: LinkObject;
|
|
41
|
+
} | undefined;
|
|
42
|
+
meta?: {
|
|
43
|
+
[k: string]: any;
|
|
44
|
+
} | undefined;
|
|
45
|
+
};
|
|
46
|
+
export declare const SupportingDocumentRelationshipsEntityType: {
|
|
47
|
+
readonly Entities: "entities";
|
|
48
|
+
};
|
|
49
|
+
export type SupportingDocumentRelationshipsEntityType = ClosedEnum<typeof SupportingDocumentRelationshipsEntityType>;
|
|
50
|
+
export type SupportingDocumentRelationshipsEntityData = {
|
|
51
|
+
type: SupportingDocumentRelationshipsEntityType;
|
|
52
|
+
id: string;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Reference to the ID of the entity record this support document relates to. One of: customer,asset or entity relationship must be provided.
|
|
56
|
+
*/
|
|
57
|
+
export type Entity = {
|
|
58
|
+
data: SupportingDocumentRelationshipsEntityData;
|
|
59
|
+
links?: {
|
|
60
|
+
[k: string]: LinkObject;
|
|
61
|
+
} | undefined;
|
|
62
|
+
meta?: {
|
|
63
|
+
[k: string]: any;
|
|
64
|
+
} | undefined;
|
|
65
|
+
};
|
|
66
|
+
export declare const Two: {
|
|
67
|
+
readonly CommercialSecuredApplications: "commercial-secured-applications";
|
|
68
|
+
};
|
|
69
|
+
export type Two = ClosedEnum<typeof Two>;
|
|
70
|
+
export declare const One: {
|
|
71
|
+
readonly ConsumerSecuredApplications: "consumer-secured-applications";
|
|
72
|
+
};
|
|
73
|
+
export type One = ClosedEnum<typeof One>;
|
|
74
|
+
export type SupportingDocumentRelationshipsApplicationType = One | Two;
|
|
75
|
+
export type SupportingDocumentRelationshipsApplicationData = {
|
|
76
|
+
type: One | Two;
|
|
77
|
+
id: string;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Reference to the ID of the application record this support document relates to.
|
|
81
|
+
*/
|
|
82
|
+
export type Application = {
|
|
83
|
+
data: SupportingDocumentRelationshipsApplicationData;
|
|
84
|
+
links?: {
|
|
85
|
+
[k: string]: LinkObject;
|
|
86
|
+
} | undefined;
|
|
87
|
+
meta?: {
|
|
88
|
+
[k: string]: any;
|
|
89
|
+
} | undefined;
|
|
90
|
+
};
|
|
91
|
+
export type SupportingDocumentRelationships = {
|
|
92
|
+
/**
|
|
93
|
+
* Reference to the ID of the customer record this support document relates to.
|
|
94
|
+
*/
|
|
95
|
+
customer?: Customer | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* Reference to the ID of the asset record this support document relates to.
|
|
98
|
+
*/
|
|
99
|
+
asset?: Asset | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* Reference to the ID of the entity record this support document relates to. One of: customer,asset or entity relationship must be provided.
|
|
102
|
+
*/
|
|
103
|
+
entity?: Entity | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* Reference to the ID of the application record this support document relates to.
|
|
106
|
+
*/
|
|
107
|
+
application: Application;
|
|
108
|
+
};
|
|
109
|
+
/** @internal */
|
|
110
|
+
export declare const SupportingDocumentRelationshipsType$inboundSchema: z.ZodNativeEnum<typeof SupportingDocumentRelationshipsType>;
|
|
111
|
+
/** @internal */
|
|
112
|
+
export declare const SupportingDocumentRelationshipsType$outboundSchema: z.ZodNativeEnum<typeof SupportingDocumentRelationshipsType>;
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
116
|
+
*/
|
|
117
|
+
export declare namespace SupportingDocumentRelationshipsType$ {
|
|
118
|
+
/** @deprecated use `SupportingDocumentRelationshipsType$inboundSchema` instead. */
|
|
119
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
120
|
+
readonly Customers: "customers";
|
|
121
|
+
}>;
|
|
122
|
+
/** @deprecated use `SupportingDocumentRelationshipsType$outboundSchema` instead. */
|
|
123
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
124
|
+
readonly Customers: "customers";
|
|
125
|
+
}>;
|
|
126
|
+
}
|
|
127
|
+
/** @internal */
|
|
128
|
+
export declare const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown>;
|
|
129
|
+
/** @internal */
|
|
130
|
+
export type Data$Outbound = {
|
|
131
|
+
type: string;
|
|
132
|
+
id: string;
|
|
133
|
+
};
|
|
134
|
+
/** @internal */
|
|
135
|
+
export declare const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data>;
|
|
136
|
+
/**
|
|
137
|
+
* @internal
|
|
138
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
139
|
+
*/
|
|
140
|
+
export declare namespace Data$ {
|
|
141
|
+
/** @deprecated use `Data$inboundSchema` instead. */
|
|
142
|
+
const inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown>;
|
|
143
|
+
/** @deprecated use `Data$outboundSchema` instead. */
|
|
144
|
+
const outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data>;
|
|
145
|
+
/** @deprecated use `Data$Outbound` instead. */
|
|
146
|
+
type Outbound = Data$Outbound;
|
|
147
|
+
}
|
|
148
|
+
export declare function dataToJSON(data: Data): string;
|
|
149
|
+
export declare function dataFromJSON(jsonString: string): SafeParseResult<Data, SDKValidationError>;
|
|
150
|
+
/** @internal */
|
|
151
|
+
export declare const Customer$inboundSchema: z.ZodType<Customer, z.ZodTypeDef, unknown>;
|
|
152
|
+
/** @internal */
|
|
153
|
+
export type Customer$Outbound = {
|
|
154
|
+
data: Data$Outbound;
|
|
155
|
+
links?: {
|
|
156
|
+
[k: string]: LinkObject$Outbound;
|
|
157
|
+
} | undefined;
|
|
158
|
+
meta?: {
|
|
159
|
+
[k: string]: any;
|
|
160
|
+
} | undefined;
|
|
161
|
+
};
|
|
162
|
+
/** @internal */
|
|
163
|
+
export declare const Customer$outboundSchema: z.ZodType<Customer$Outbound, z.ZodTypeDef, Customer>;
|
|
164
|
+
/**
|
|
165
|
+
* @internal
|
|
166
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
167
|
+
*/
|
|
168
|
+
export declare namespace Customer$ {
|
|
169
|
+
/** @deprecated use `Customer$inboundSchema` instead. */
|
|
170
|
+
const inboundSchema: z.ZodType<Customer, z.ZodTypeDef, unknown>;
|
|
171
|
+
/** @deprecated use `Customer$outboundSchema` instead. */
|
|
172
|
+
const outboundSchema: z.ZodType<Customer$Outbound, z.ZodTypeDef, Customer>;
|
|
173
|
+
/** @deprecated use `Customer$Outbound` instead. */
|
|
174
|
+
type Outbound = Customer$Outbound;
|
|
175
|
+
}
|
|
176
|
+
export declare function customerToJSON(customer: Customer): string;
|
|
177
|
+
export declare function customerFromJSON(jsonString: string): SafeParseResult<Customer, SDKValidationError>;
|
|
178
|
+
/** @internal */
|
|
179
|
+
export declare const SupportingDocumentRelationshipsAssetType$inboundSchema: z.ZodNativeEnum<typeof SupportingDocumentRelationshipsAssetType>;
|
|
180
|
+
/** @internal */
|
|
181
|
+
export declare const SupportingDocumentRelationshipsAssetType$outboundSchema: z.ZodNativeEnum<typeof SupportingDocumentRelationshipsAssetType>;
|
|
182
|
+
/**
|
|
183
|
+
* @internal
|
|
184
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
185
|
+
*/
|
|
186
|
+
export declare namespace SupportingDocumentRelationshipsAssetType$ {
|
|
187
|
+
/** @deprecated use `SupportingDocumentRelationshipsAssetType$inboundSchema` instead. */
|
|
188
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
189
|
+
readonly Assets: "assets";
|
|
190
|
+
}>;
|
|
191
|
+
/** @deprecated use `SupportingDocumentRelationshipsAssetType$outboundSchema` instead. */
|
|
192
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
193
|
+
readonly Assets: "assets";
|
|
194
|
+
}>;
|
|
195
|
+
}
|
|
196
|
+
/** @internal */
|
|
197
|
+
export declare const SupportingDocumentRelationshipsData$inboundSchema: z.ZodType<SupportingDocumentRelationshipsData, z.ZodTypeDef, unknown>;
|
|
198
|
+
/** @internal */
|
|
199
|
+
export type SupportingDocumentRelationshipsData$Outbound = {
|
|
200
|
+
type: string;
|
|
201
|
+
id: string;
|
|
202
|
+
};
|
|
203
|
+
/** @internal */
|
|
204
|
+
export declare const SupportingDocumentRelationshipsData$outboundSchema: z.ZodType<SupportingDocumentRelationshipsData$Outbound, z.ZodTypeDef, SupportingDocumentRelationshipsData>;
|
|
205
|
+
/**
|
|
206
|
+
* @internal
|
|
207
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
208
|
+
*/
|
|
209
|
+
export declare namespace SupportingDocumentRelationshipsData$ {
|
|
210
|
+
/** @deprecated use `SupportingDocumentRelationshipsData$inboundSchema` instead. */
|
|
211
|
+
const inboundSchema: z.ZodType<SupportingDocumentRelationshipsData, z.ZodTypeDef, unknown>;
|
|
212
|
+
/** @deprecated use `SupportingDocumentRelationshipsData$outboundSchema` instead. */
|
|
213
|
+
const outboundSchema: z.ZodType<SupportingDocumentRelationshipsData$Outbound, z.ZodTypeDef, SupportingDocumentRelationshipsData>;
|
|
214
|
+
/** @deprecated use `SupportingDocumentRelationshipsData$Outbound` instead. */
|
|
215
|
+
type Outbound = SupportingDocumentRelationshipsData$Outbound;
|
|
216
|
+
}
|
|
217
|
+
export declare function supportingDocumentRelationshipsDataToJSON(supportingDocumentRelationshipsData: SupportingDocumentRelationshipsData): string;
|
|
218
|
+
export declare function supportingDocumentRelationshipsDataFromJSON(jsonString: string): SafeParseResult<SupportingDocumentRelationshipsData, SDKValidationError>;
|
|
219
|
+
/** @internal */
|
|
220
|
+
export declare const Asset$inboundSchema: z.ZodType<Asset, z.ZodTypeDef, unknown>;
|
|
221
|
+
/** @internal */
|
|
222
|
+
export type Asset$Outbound = {
|
|
223
|
+
data: SupportingDocumentRelationshipsData$Outbound;
|
|
224
|
+
links?: {
|
|
225
|
+
[k: string]: LinkObject$Outbound;
|
|
226
|
+
} | undefined;
|
|
227
|
+
meta?: {
|
|
228
|
+
[k: string]: any;
|
|
229
|
+
} | undefined;
|
|
230
|
+
};
|
|
231
|
+
/** @internal */
|
|
232
|
+
export declare const Asset$outboundSchema: z.ZodType<Asset$Outbound, z.ZodTypeDef, Asset>;
|
|
233
|
+
/**
|
|
234
|
+
* @internal
|
|
235
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
236
|
+
*/
|
|
237
|
+
export declare namespace Asset$ {
|
|
238
|
+
/** @deprecated use `Asset$inboundSchema` instead. */
|
|
239
|
+
const inboundSchema: z.ZodType<Asset, z.ZodTypeDef, unknown>;
|
|
240
|
+
/** @deprecated use `Asset$outboundSchema` instead. */
|
|
241
|
+
const outboundSchema: z.ZodType<Asset$Outbound, z.ZodTypeDef, Asset>;
|
|
242
|
+
/** @deprecated use `Asset$Outbound` instead. */
|
|
243
|
+
type Outbound = Asset$Outbound;
|
|
244
|
+
}
|
|
245
|
+
export declare function assetToJSON(asset: Asset): string;
|
|
246
|
+
export declare function assetFromJSON(jsonString: string): SafeParseResult<Asset, SDKValidationError>;
|
|
247
|
+
/** @internal */
|
|
248
|
+
export declare const SupportingDocumentRelationshipsEntityType$inboundSchema: z.ZodNativeEnum<typeof SupportingDocumentRelationshipsEntityType>;
|
|
249
|
+
/** @internal */
|
|
250
|
+
export declare const SupportingDocumentRelationshipsEntityType$outboundSchema: z.ZodNativeEnum<typeof SupportingDocumentRelationshipsEntityType>;
|
|
251
|
+
/**
|
|
252
|
+
* @internal
|
|
253
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
254
|
+
*/
|
|
255
|
+
export declare namespace SupportingDocumentRelationshipsEntityType$ {
|
|
256
|
+
/** @deprecated use `SupportingDocumentRelationshipsEntityType$inboundSchema` instead. */
|
|
257
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
258
|
+
readonly Entities: "entities";
|
|
259
|
+
}>;
|
|
260
|
+
/** @deprecated use `SupportingDocumentRelationshipsEntityType$outboundSchema` instead. */
|
|
261
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
262
|
+
readonly Entities: "entities";
|
|
263
|
+
}>;
|
|
264
|
+
}
|
|
265
|
+
/** @internal */
|
|
266
|
+
export declare const SupportingDocumentRelationshipsEntityData$inboundSchema: z.ZodType<SupportingDocumentRelationshipsEntityData, z.ZodTypeDef, unknown>;
|
|
267
|
+
/** @internal */
|
|
268
|
+
export type SupportingDocumentRelationshipsEntityData$Outbound = {
|
|
269
|
+
type: string;
|
|
270
|
+
id: string;
|
|
271
|
+
};
|
|
272
|
+
/** @internal */
|
|
273
|
+
export declare const SupportingDocumentRelationshipsEntityData$outboundSchema: z.ZodType<SupportingDocumentRelationshipsEntityData$Outbound, z.ZodTypeDef, SupportingDocumentRelationshipsEntityData>;
|
|
274
|
+
/**
|
|
275
|
+
* @internal
|
|
276
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
277
|
+
*/
|
|
278
|
+
export declare namespace SupportingDocumentRelationshipsEntityData$ {
|
|
279
|
+
/** @deprecated use `SupportingDocumentRelationshipsEntityData$inboundSchema` instead. */
|
|
280
|
+
const inboundSchema: z.ZodType<SupportingDocumentRelationshipsEntityData, z.ZodTypeDef, unknown>;
|
|
281
|
+
/** @deprecated use `SupportingDocumentRelationshipsEntityData$outboundSchema` instead. */
|
|
282
|
+
const outboundSchema: z.ZodType<SupportingDocumentRelationshipsEntityData$Outbound, z.ZodTypeDef, SupportingDocumentRelationshipsEntityData>;
|
|
283
|
+
/** @deprecated use `SupportingDocumentRelationshipsEntityData$Outbound` instead. */
|
|
284
|
+
type Outbound = SupportingDocumentRelationshipsEntityData$Outbound;
|
|
285
|
+
}
|
|
286
|
+
export declare function supportingDocumentRelationshipsEntityDataToJSON(supportingDocumentRelationshipsEntityData: SupportingDocumentRelationshipsEntityData): string;
|
|
287
|
+
export declare function supportingDocumentRelationshipsEntityDataFromJSON(jsonString: string): SafeParseResult<SupportingDocumentRelationshipsEntityData, SDKValidationError>;
|
|
288
|
+
/** @internal */
|
|
289
|
+
export declare const Entity$inboundSchema: z.ZodType<Entity, z.ZodTypeDef, unknown>;
|
|
290
|
+
/** @internal */
|
|
291
|
+
export type Entity$Outbound = {
|
|
292
|
+
data: SupportingDocumentRelationshipsEntityData$Outbound;
|
|
293
|
+
links?: {
|
|
294
|
+
[k: string]: LinkObject$Outbound;
|
|
295
|
+
} | undefined;
|
|
296
|
+
meta?: {
|
|
297
|
+
[k: string]: any;
|
|
298
|
+
} | undefined;
|
|
299
|
+
};
|
|
300
|
+
/** @internal */
|
|
301
|
+
export declare const Entity$outboundSchema: z.ZodType<Entity$Outbound, z.ZodTypeDef, Entity>;
|
|
302
|
+
/**
|
|
303
|
+
* @internal
|
|
304
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
305
|
+
*/
|
|
306
|
+
export declare namespace Entity$ {
|
|
307
|
+
/** @deprecated use `Entity$inboundSchema` instead. */
|
|
308
|
+
const inboundSchema: z.ZodType<Entity, z.ZodTypeDef, unknown>;
|
|
309
|
+
/** @deprecated use `Entity$outboundSchema` instead. */
|
|
310
|
+
const outboundSchema: z.ZodType<Entity$Outbound, z.ZodTypeDef, Entity>;
|
|
311
|
+
/** @deprecated use `Entity$Outbound` instead. */
|
|
312
|
+
type Outbound = Entity$Outbound;
|
|
313
|
+
}
|
|
314
|
+
export declare function entityToJSON(entity: Entity): string;
|
|
315
|
+
export declare function entityFromJSON(jsonString: string): SafeParseResult<Entity, SDKValidationError>;
|
|
316
|
+
/** @internal */
|
|
317
|
+
export declare const Two$inboundSchema: z.ZodNativeEnum<typeof Two>;
|
|
318
|
+
/** @internal */
|
|
319
|
+
export declare const Two$outboundSchema: z.ZodNativeEnum<typeof Two>;
|
|
320
|
+
/**
|
|
321
|
+
* @internal
|
|
322
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
323
|
+
*/
|
|
324
|
+
export declare namespace Two$ {
|
|
325
|
+
/** @deprecated use `Two$inboundSchema` instead. */
|
|
326
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
327
|
+
readonly CommercialSecuredApplications: "commercial-secured-applications";
|
|
328
|
+
}>;
|
|
329
|
+
/** @deprecated use `Two$outboundSchema` instead. */
|
|
330
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
331
|
+
readonly CommercialSecuredApplications: "commercial-secured-applications";
|
|
332
|
+
}>;
|
|
333
|
+
}
|
|
334
|
+
/** @internal */
|
|
335
|
+
export declare const One$inboundSchema: z.ZodNativeEnum<typeof One>;
|
|
336
|
+
/** @internal */
|
|
337
|
+
export declare const One$outboundSchema: z.ZodNativeEnum<typeof One>;
|
|
338
|
+
/**
|
|
339
|
+
* @internal
|
|
340
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
341
|
+
*/
|
|
342
|
+
export declare namespace One$ {
|
|
343
|
+
/** @deprecated use `One$inboundSchema` instead. */
|
|
344
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
345
|
+
readonly ConsumerSecuredApplications: "consumer-secured-applications";
|
|
346
|
+
}>;
|
|
347
|
+
/** @deprecated use `One$outboundSchema` instead. */
|
|
348
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
349
|
+
readonly ConsumerSecuredApplications: "consumer-secured-applications";
|
|
350
|
+
}>;
|
|
351
|
+
}
|
|
352
|
+
/** @internal */
|
|
353
|
+
export declare const SupportingDocumentRelationshipsApplicationType$inboundSchema: z.ZodType<SupportingDocumentRelationshipsApplicationType, z.ZodTypeDef, unknown>;
|
|
354
|
+
/** @internal */
|
|
355
|
+
export type SupportingDocumentRelationshipsApplicationType$Outbound = string | string;
|
|
356
|
+
/** @internal */
|
|
357
|
+
export declare const SupportingDocumentRelationshipsApplicationType$outboundSchema: z.ZodType<SupportingDocumentRelationshipsApplicationType$Outbound, z.ZodTypeDef, SupportingDocumentRelationshipsApplicationType>;
|
|
358
|
+
/**
|
|
359
|
+
* @internal
|
|
360
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
361
|
+
*/
|
|
362
|
+
export declare namespace SupportingDocumentRelationshipsApplicationType$ {
|
|
363
|
+
/** @deprecated use `SupportingDocumentRelationshipsApplicationType$inboundSchema` instead. */
|
|
364
|
+
const inboundSchema: z.ZodType<SupportingDocumentRelationshipsApplicationType, z.ZodTypeDef, unknown>;
|
|
365
|
+
/** @deprecated use `SupportingDocumentRelationshipsApplicationType$outboundSchema` instead. */
|
|
366
|
+
const outboundSchema: z.ZodType<string, z.ZodTypeDef, SupportingDocumentRelationshipsApplicationType>;
|
|
367
|
+
/** @deprecated use `SupportingDocumentRelationshipsApplicationType$Outbound` instead. */
|
|
368
|
+
type Outbound = SupportingDocumentRelationshipsApplicationType$Outbound;
|
|
369
|
+
}
|
|
370
|
+
export declare function supportingDocumentRelationshipsApplicationTypeToJSON(supportingDocumentRelationshipsApplicationType: SupportingDocumentRelationshipsApplicationType): string;
|
|
371
|
+
export declare function supportingDocumentRelationshipsApplicationTypeFromJSON(jsonString: string): SafeParseResult<SupportingDocumentRelationshipsApplicationType, SDKValidationError>;
|
|
372
|
+
/** @internal */
|
|
373
|
+
export declare const SupportingDocumentRelationshipsApplicationData$inboundSchema: z.ZodType<SupportingDocumentRelationshipsApplicationData, z.ZodTypeDef, unknown>;
|
|
374
|
+
/** @internal */
|
|
375
|
+
export type SupportingDocumentRelationshipsApplicationData$Outbound = {
|
|
376
|
+
type: string | string;
|
|
377
|
+
id: string;
|
|
378
|
+
};
|
|
379
|
+
/** @internal */
|
|
380
|
+
export declare const SupportingDocumentRelationshipsApplicationData$outboundSchema: z.ZodType<SupportingDocumentRelationshipsApplicationData$Outbound, z.ZodTypeDef, SupportingDocumentRelationshipsApplicationData>;
|
|
381
|
+
/**
|
|
382
|
+
* @internal
|
|
383
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
384
|
+
*/
|
|
385
|
+
export declare namespace SupportingDocumentRelationshipsApplicationData$ {
|
|
386
|
+
/** @deprecated use `SupportingDocumentRelationshipsApplicationData$inboundSchema` instead. */
|
|
387
|
+
const inboundSchema: z.ZodType<SupportingDocumentRelationshipsApplicationData, z.ZodTypeDef, unknown>;
|
|
388
|
+
/** @deprecated use `SupportingDocumentRelationshipsApplicationData$outboundSchema` instead. */
|
|
389
|
+
const outboundSchema: z.ZodType<SupportingDocumentRelationshipsApplicationData$Outbound, z.ZodTypeDef, SupportingDocumentRelationshipsApplicationData>;
|
|
390
|
+
/** @deprecated use `SupportingDocumentRelationshipsApplicationData$Outbound` instead. */
|
|
391
|
+
type Outbound = SupportingDocumentRelationshipsApplicationData$Outbound;
|
|
392
|
+
}
|
|
393
|
+
export declare function supportingDocumentRelationshipsApplicationDataToJSON(supportingDocumentRelationshipsApplicationData: SupportingDocumentRelationshipsApplicationData): string;
|
|
394
|
+
export declare function supportingDocumentRelationshipsApplicationDataFromJSON(jsonString: string): SafeParseResult<SupportingDocumentRelationshipsApplicationData, SDKValidationError>;
|
|
395
|
+
/** @internal */
|
|
396
|
+
export declare const Application$inboundSchema: z.ZodType<Application, z.ZodTypeDef, unknown>;
|
|
397
|
+
/** @internal */
|
|
398
|
+
export type Application$Outbound = {
|
|
399
|
+
data: SupportingDocumentRelationshipsApplicationData$Outbound;
|
|
400
|
+
links?: {
|
|
401
|
+
[k: string]: LinkObject$Outbound;
|
|
402
|
+
} | undefined;
|
|
403
|
+
meta?: {
|
|
404
|
+
[k: string]: any;
|
|
405
|
+
} | undefined;
|
|
406
|
+
};
|
|
407
|
+
/** @internal */
|
|
408
|
+
export declare const Application$outboundSchema: z.ZodType<Application$Outbound, z.ZodTypeDef, Application>;
|
|
409
|
+
/**
|
|
410
|
+
* @internal
|
|
411
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
412
|
+
*/
|
|
413
|
+
export declare namespace Application$ {
|
|
414
|
+
/** @deprecated use `Application$inboundSchema` instead. */
|
|
415
|
+
const inboundSchema: z.ZodType<Application, z.ZodTypeDef, unknown>;
|
|
416
|
+
/** @deprecated use `Application$outboundSchema` instead. */
|
|
417
|
+
const outboundSchema: z.ZodType<Application$Outbound, z.ZodTypeDef, Application>;
|
|
418
|
+
/** @deprecated use `Application$Outbound` instead. */
|
|
419
|
+
type Outbound = Application$Outbound;
|
|
420
|
+
}
|
|
421
|
+
export declare function applicationToJSON(application: Application): string;
|
|
422
|
+
export declare function applicationFromJSON(jsonString: string): SafeParseResult<Application, SDKValidationError>;
|
|
423
|
+
/** @internal */
|
|
424
|
+
export declare const SupportingDocumentRelationships$inboundSchema: z.ZodType<SupportingDocumentRelationships, z.ZodTypeDef, unknown>;
|
|
425
|
+
/** @internal */
|
|
426
|
+
export type SupportingDocumentRelationships$Outbound = {
|
|
427
|
+
customer?: Customer$Outbound | undefined;
|
|
428
|
+
asset?: Asset$Outbound | undefined;
|
|
429
|
+
entity?: Entity$Outbound | undefined;
|
|
430
|
+
application: Application$Outbound;
|
|
431
|
+
};
|
|
432
|
+
/** @internal */
|
|
433
|
+
export declare const SupportingDocumentRelationships$outboundSchema: z.ZodType<SupportingDocumentRelationships$Outbound, z.ZodTypeDef, SupportingDocumentRelationships>;
|
|
434
|
+
/**
|
|
435
|
+
* @internal
|
|
436
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
437
|
+
*/
|
|
438
|
+
export declare namespace SupportingDocumentRelationships$ {
|
|
439
|
+
/** @deprecated use `SupportingDocumentRelationships$inboundSchema` instead. */
|
|
440
|
+
const inboundSchema: z.ZodType<SupportingDocumentRelationships, z.ZodTypeDef, unknown>;
|
|
441
|
+
/** @deprecated use `SupportingDocumentRelationships$outboundSchema` instead. */
|
|
442
|
+
const outboundSchema: z.ZodType<SupportingDocumentRelationships$Outbound, z.ZodTypeDef, SupportingDocumentRelationships>;
|
|
443
|
+
/** @deprecated use `SupportingDocumentRelationships$Outbound` instead. */
|
|
444
|
+
type Outbound = SupportingDocumentRelationships$Outbound;
|
|
445
|
+
}
|
|
446
|
+
export declare function supportingDocumentRelationshipsToJSON(supportingDocumentRelationships: SupportingDocumentRelationships): string;
|
|
447
|
+
export declare function supportingDocumentRelationshipsFromJSON(jsonString: string): SafeParseResult<SupportingDocumentRelationships, SDKValidationError>;
|
|
448
|
+
//# sourceMappingURL=supportingdocumentrelationships.d.ts.map
|