@financeable/aggregation 0.6.0 → 0.6.12
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 +4 -0
- package/README.md +14 -2
- package/docs/sdks/applications/README.md +19 -254
- package/docs/sdks/oauthtoken/README.md +5 -5
- package/docs/sdks/supportingdocuments/README.md +9 -1
- package/funcs/applicationsCreate.d.ts +1 -1
- package/funcs/applicationsCreate.d.ts.map +1 -1
- package/funcs/applicationsCreate.js +2 -2
- package/funcs/applicationsCreate.js.map +1 -1
- package/funcs/{oauthTokenOauthToken.d.ts → oauthTokenGet.d.ts} +2 -2
- package/funcs/oauthTokenGet.d.ts.map +1 -0
- package/funcs/{oauthTokenOauthToken.js → oauthTokenGet.js} +3 -3
- package/funcs/oauthTokenGet.js.map +1 -0
- package/funcs/supportingDocumentsCreate.d.ts +1 -2
- package/funcs/supportingDocumentsCreate.d.ts.map +1 -1
- package/funcs/supportingDocumentsCreate.js +1 -2
- package/funcs/supportingDocumentsCreate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/models/components/addressattributes.d.ts +2 -0
- package/models/components/addressattributes.d.ts.map +1 -1
- package/models/components/addressattributes.js +2 -0
- package/models/components/addressattributes.js.map +1 -1
- package/models/components/applicationresource.d.ts +4 -4
- package/models/components/applicationresource.d.ts.map +1 -1
- package/models/components/applicationresource.js +6 -6
- package/models/components/applicationresource.js.map +1 -1
- package/models/components/{commercialsecuredloanapplicationsubmissionpayload.d.ts → commercialsecuredapplicationpayload.d.ts} +64 -24
- package/models/components/commercialsecuredapplicationpayload.d.ts.map +1 -0
- package/models/components/{commercialsecuredloanapplicationsubmissionpayload.js → commercialsecuredapplicationpayload.js} +47 -33
- 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 +2 -0
- package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -1
- package/models/components/commercialsecuredloanassetattributes.js +2 -0
- package/models/components/commercialsecuredloanassetattributes.js.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +99 -17
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js +67 -23
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -1
- 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 +2 -0
- package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -1
- package/models/components/consumersecuredloanassetattributes.js +2 -0
- package/models/components/consumersecuredloanassetattributes.js.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +51 -2
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js +19 -2
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -1
- package/models/components/createsupportingdocumentsresponse.d.ts +49 -46
- package/models/components/createsupportingdocumentsresponse.d.ts.map +1 -1
- package/models/components/createsupportingdocumentsresponse.js +36 -47
- package/models/components/createsupportingdocumentsresponse.js.map +1 -1
- 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/entityattributes.d.ts +2 -0
- package/models/components/entityattributes.d.ts.map +1 -1
- package/models/components/entityattributes.js +2 -0
- package/models/components/entityattributes.js.map +1 -1
- package/models/components/index.d.ts +4 -5
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -5
- package/models/components/index.js.map +1 -1
- 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/supportingdocumentresource.d.ts +5 -25
- package/models/components/supportingdocumentresource.d.ts.map +1 -1
- package/models/components/supportingdocumentresource.js +6 -29
- package/models/components/supportingdocumentresource.js.map +1 -1
- package/models/errors/createapplication.d.ts +35 -0
- package/models/errors/createapplication.d.ts.map +1 -1
- package/models/errors/createapplication.js +40 -1
- package/models/errors/createapplication.js.map +1 -1
- package/models/operations/createapplication.d.ts +6 -112
- package/models/operations/createapplication.d.ts.map +1 -1
- package/models/operations/createapplication.js +11 -118
- package/models/operations/createapplication.js.map +1 -1
- package/models/operations/supportingdocumentscreate.d.ts +34 -0
- package/models/operations/supportingdocumentscreate.d.ts.map +1 -1
- package/models/operations/supportingdocumentscreate.js +28 -1
- package/models/operations/supportingdocumentscreate.js.map +1 -1
- package/package.json +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/supportingdocuments.d.ts +1 -2
- package/sdk/supportingdocuments.d.ts.map +1 -1
- package/sdk/supportingdocuments.js.map +1 -1
- package/src/funcs/applicationsCreate.ts +8 -1
- package/src/funcs/{oauthTokenOauthToken.ts → oauthTokenGet.ts} +1 -1
- package/src/funcs/supportingDocumentsCreate.ts +4 -5
- package/src/lib/config.ts +2 -2
- package/src/models/components/addressattributes.ts +4 -0
- package/src/models/components/applicationresource.ts +18 -18
- package/src/models/components/{commercialsecuredloanapplicationsubmissionpayload.ts → commercialsecuredapplicationpayload.ts} +82 -71
- package/src/models/components/commercialsecuredapplicationresource.ts +310 -0
- package/src/models/components/commercialsecuredloanassetattributes.ts +4 -0
- package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +159 -69
- package/src/models/components/consumersecuredapplicationpayload.ts +273 -0
- package/src/models/components/consumersecuredapplicationresource.ts +309 -0
- package/src/models/components/consumersecuredloanassetattributes.ts +4 -0
- package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +44 -8
- package/src/models/components/createsupportingdocumentsresponse.ts +57 -103
- package/src/models/components/customerattributes.ts +4 -0
- package/src/models/components/entityattributes.ts +4 -0
- package/src/models/components/index.ts +4 -5
- package/src/models/components/loandetailsattributes.ts +4 -0
- package/src/models/components/supportingdocumentresource.ts +14 -51
- package/src/models/errors/createapplication.ts +73 -0
- package/src/models/operations/createapplication.ts +20 -229
- package/src/models/operations/supportingdocumentscreate.ts +72 -0
- package/src/sdk/oauthtoken.ts +3 -3
- package/src/sdk/supportingdocuments.ts +1 -2
- package/funcs/oauthTokenOauthToken.d.ts.map +0 -1
- package/funcs/oauthTokenOauthToken.js.map +0 -1
- package/models/components/commercialapplicationresource.d.ts +0 -191
- package/models/components/commercialapplicationresource.d.ts.map +0 -1
- package/models/components/commercialapplicationresource.js +0 -183
- package/models/components/commercialapplicationresource.js.map +0 -1
- package/models/components/commercialsecuredloanapplicationsubmissionpayload.d.ts.map +0 -1
- package/models/components/commercialsecuredloanapplicationsubmissionpayload.js.map +0 -1
- package/models/components/consumerapplicationresource.d.ts +0 -191
- package/models/components/consumerapplicationresource.d.ts.map +0 -1
- package/models/components/consumerapplicationresource.js +0 -187
- package/models/components/consumerapplicationresource.js.map +0 -1
- package/models/components/consumersecuredloanapplicationsubmissionpayload.d.ts +0 -124
- package/models/components/consumersecuredloanapplicationsubmissionpayload.d.ts.map +0 -1
- package/models/components/consumersecuredloanapplicationsubmissionpayload.js +0 -146
- package/models/components/consumersecuredloanapplicationsubmissionpayload.js.map +0 -1
- package/models/components/resourcetypes.d.ts +0 -46
- package/models/components/resourcetypes.d.ts.map +0 -1
- package/models/components/resourcetypes.js +0 -66
- package/models/components/resourcetypes.js.map +0 -1
- package/src/models/components/commercialapplicationresource.ts +0 -355
- package/src/models/components/consumerapplicationresource.ts +0 -342
- package/src/models/components/consumersecuredloanapplicationsubmissionpayload.ts +0 -270
- package/src/models/components/resourcetypes.ts +0 -39
package/lib/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAkCH,oDAeC;AA5CD,qCAA8C;AAE9C;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,uCAAuC;CAC/B,CAAC;AAsBX,SAAgB,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,MAAM,GAAW,EAAE,CAAC;IAE1B,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,CAAC,CAAC;QACzC,IAAI,SAAS,GAAG,CAAC,IAAI,SAAS,IAAI,kBAAU,CAAC,MAAM,EAAE,CAAC;YACpD,MAAM,IAAI,KAAK,CAAC,wBAAwB,SAAS,EAAE,CAAC,CAAC;QACvD,CAAC;QACD,SAAS,GAAG,kBAAU,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAC1C,CAAC;IAED,MAAM,CAAC,GAAG,IAAA,mBAAU,EAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAEY,QAAA,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,OAAO;IAC1B,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAkCH,oDAeC;AA5CD,qCAA8C;AAE9C;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,uCAAuC;CAC/B,CAAC;AAsBX,SAAgB,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,MAAM,GAAW,EAAE,CAAC;IAE1B,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,CAAC,CAAC;QACzC,IAAI,SAAS,GAAG,CAAC,IAAI,SAAS,IAAI,kBAAU,CAAC,MAAM,EAAE,CAAC;YACpD,MAAM,IAAI,KAAK,CAAC,wBAAwB,SAAS,EAAE,CAAC,CAAC;QACvD,CAAC;QACD,SAAS,GAAG,kBAAU,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAC1C,CAAC;IAED,MAAM,CAAC,GAAG,IAAA,mBAAU,EAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAEY,QAAA,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,OAAO;IAC1B,UAAU,EAAE,QAAQ;IACpB,UAAU,EAAE,SAAS;IACrB,SAAS,EACP,wEAAwE;CAClE,CAAC"}
|
|
@@ -9,6 +9,7 @@ export declare const AddressAttributesStatus: {
|
|
|
9
9
|
};
|
|
10
10
|
export type AddressAttributesStatus = ClosedEnum<typeof AddressAttributesStatus>;
|
|
11
11
|
export type AddressAttributes = {
|
|
12
|
+
id: string;
|
|
12
13
|
unitNumber?: number | undefined;
|
|
13
14
|
addressType: string;
|
|
14
15
|
fullAddress: string;
|
|
@@ -49,6 +50,7 @@ export declare namespace AddressAttributesStatus$ {
|
|
|
49
50
|
export declare const AddressAttributes$inboundSchema: z.ZodType<AddressAttributes, z.ZodTypeDef, unknown>;
|
|
50
51
|
/** @internal */
|
|
51
52
|
export type AddressAttributes$Outbound = {
|
|
53
|
+
id: string;
|
|
52
54
|
unitNumber?: number | undefined;
|
|
53
55
|
addressType: string;
|
|
54
56
|
fullAddress: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addressattributes.d.ts","sourceRoot":"","sources":["../../src/models/components/addressattributes.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,8BAA8B,EAG/B,MAAM,qCAAqC,CAAC;AAE7C,eAAO,MAAM,uBAAuB;;;CAG1B,CAAC;AACX,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAC9C,OAAO,uBAAuB,CAC/B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,8BAA8B,CAAC;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,uBAAuB,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,aAAa,CACjE,OAAO,uBAAuB,CACS,CAAC;AAE1C,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,aAAa,CAClE,OAAO,uBAAuB,CACS,CAAC;AAE1C;;;GAGG;AACH,yBAAiB,wBAAwB,CAAC;IACxC,uEAAuE;IAChE,MAAM,aAAa;;;MAAwC,CAAC;IACnE,wEAAwE;IACjE,MAAM,cAAc;;;MAAyC,CAAC;CACtE;AAED,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,OAAO,
|
|
1
|
+
{"version":3,"file":"addressattributes.d.ts","sourceRoot":"","sources":["../../src/models/components/addressattributes.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,8BAA8B,EAG/B,MAAM,qCAAqC,CAAC;AAE7C,eAAO,MAAM,uBAAuB;;;CAG1B,CAAC;AACX,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAC9C,OAAO,uBAAuB,CAC/B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,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,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAkBjB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,kBAAkB,CAAC;IAClC,iEAAiE;IAC1D,MAAM,aAAa,qDAAkC,CAAC;IAC7D,kEAAkE;IAC3D,MAAM,cAAc,wEAAmC,CAAC;IAC/D,4DAA4D;IAC5D,KAAY,QAAQ,GAAG,0BAA0B,CAAC;CACnD;AAED,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR;AAED,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
|
|
@@ -63,6 +63,7 @@ var AddressAttributesStatus$;
|
|
|
63
63
|
})(AddressAttributesStatus$ || (exports.AddressAttributesStatus$ = AddressAttributesStatus$ = {}));
|
|
64
64
|
/** @internal */
|
|
65
65
|
exports.AddressAttributes$inboundSchema = z.object({
|
|
66
|
+
id: z.string(),
|
|
66
67
|
unitNumber: z.number().int().optional(),
|
|
67
68
|
addressType: z.string(),
|
|
68
69
|
fullAddress: z.string(),
|
|
@@ -81,6 +82,7 @@ exports.AddressAttributes$inboundSchema = z.object({
|
|
|
81
82
|
});
|
|
82
83
|
/** @internal */
|
|
83
84
|
exports.AddressAttributes$outboundSchema = z.object({
|
|
85
|
+
id: z.string(),
|
|
84
86
|
unitNumber: z.number().int().optional(),
|
|
85
87
|
addressType: z.string(),
|
|
86
88
|
fullAddress: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addressattributes.js","sourceRoot":"","sources":["../../src/models/components/addressattributes.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"addressattributes.js","sourceRoot":"","sources":["../../src/models/components/addressattributes.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8IH,0DAMC;AAED,8DAQC;AA5JD,uCAAyB;AACzB,qDAAiD;AAIjD,2FAI6C;AAEhC,QAAA,uBAAuB,GAAG;IACrC,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAwBX,gBAAgB;AACH,QAAA,qCAAqC,GAE9C,CAAC,CAAC,UAAU,CAAC,+BAAuB,CAAC,CAAC;AAE1C,gBAAgB;AACH,QAAA,sCAAsC,GAE/C,6CAAqC,CAAC;AAE1C;;;GAGG;AACH,IAAiB,wBAAwB,CAKxC;AALD,WAAiB,wBAAwB;IACvC,uEAAuE;IAC1D,sCAAa,GAAG,6CAAqC,CAAC;IACnE,wEAAwE;IAC3D,uCAAc,GAAG,8CAAsC,CAAC;AACvE,CAAC,EALgB,wBAAwB,wCAAxB,wBAAwB,QAKxC;AAED,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACvC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,UAAU,EAAE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AiB,kBAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,uCAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,wCAAgC,CAAC;AAGjE,CAAC,EAPgB,kBAAkB,kCAAlB,kBAAkB,QAOlC;AAED,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC;AAED,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { CommercialSecuredApplicationResource, CommercialSecuredApplicationResource$Outbound } from "./commercialsecuredapplicationresource.js";
|
|
5
|
+
import { ConsumerSecuredApplicationResource, ConsumerSecuredApplicationResource$Outbound } from "./consumersecuredapplicationresource.js";
|
|
6
6
|
/**
|
|
7
7
|
* Represents either a Consumer or Commercial Application resource
|
|
8
8
|
*/
|
|
9
|
-
export type ApplicationResource =
|
|
9
|
+
export type ApplicationResource = ConsumerSecuredApplicationResource | CommercialSecuredApplicationResource;
|
|
10
10
|
/** @internal */
|
|
11
11
|
export declare const ApplicationResource$inboundSchema: z.ZodType<ApplicationResource, z.ZodTypeDef, unknown>;
|
|
12
12
|
/** @internal */
|
|
13
|
-
export type ApplicationResource$Outbound =
|
|
13
|
+
export type ApplicationResource$Outbound = ConsumerSecuredApplicationResource$Outbound | CommercialSecuredApplicationResource$Outbound;
|
|
14
14
|
/** @internal */
|
|
15
15
|
export declare const ApplicationResource$outboundSchema: z.ZodType<ApplicationResource$Outbound, z.ZodTypeDef, ApplicationResource>;
|
|
16
16
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicationresource.d.ts","sourceRoot":"","sources":["../../src/models/components/applicationresource.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,
|
|
1
|
+
{"version":3,"file":"applicationresource.d.ts","sourceRoot":"","sources":["../../src/models/components/applicationresource.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,oCAAoC,EAEpC,6CAA6C,EAE9C,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,kCAAkC,EAElC,2CAA2C,EAE5C,MAAM,yCAAyC,CAAC;AAEjD;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAC3B,kCAAkC,GAClC,oCAAoC,CAAC;AAEzC,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GACpC,2CAA2C,GAC3C,6CAA6C,CAAC;AAElD,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAInB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,oBAAoB,CAAC;IACpC,mEAAmE;IAC5D,MAAM,aAAa,uDAAoC,CAAC;IAC/D,oEAAoE;IAC7D,MAAM,cAAc,4EAAqC,CAAC;IACjE,8DAA8D;IAC9D,KAAY,QAAQ,GAAG,4BAA4B,CAAC;CACrD;AAED,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -41,17 +41,17 @@ exports.applicationResourceToJSON = applicationResourceToJSON;
|
|
|
41
41
|
exports.applicationResourceFromJSON = applicationResourceFromJSON;
|
|
42
42
|
const z = __importStar(require("zod"));
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
-
const
|
|
45
|
-
const
|
|
44
|
+
const commercialsecuredapplicationresource_js_1 = require("./commercialsecuredapplicationresource.js");
|
|
45
|
+
const consumersecuredapplicationresource_js_1 = require("./consumersecuredapplicationresource.js");
|
|
46
46
|
/** @internal */
|
|
47
47
|
exports.ApplicationResource$inboundSchema = z.union([
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
consumersecuredapplicationresource_js_1.ConsumerSecuredApplicationResource$inboundSchema,
|
|
49
|
+
commercialsecuredapplicationresource_js_1.CommercialSecuredApplicationResource$inboundSchema,
|
|
50
50
|
]);
|
|
51
51
|
/** @internal */
|
|
52
52
|
exports.ApplicationResource$outboundSchema = z.union([
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
consumersecuredapplicationresource_js_1.ConsumerSecuredApplicationResource$outboundSchema,
|
|
54
|
+
commercialsecuredapplicationresource_js_1.CommercialSecuredApplicationResource$outboundSchema,
|
|
55
55
|
]);
|
|
56
56
|
/**
|
|
57
57
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicationresource.js","sourceRoot":"","sources":["../../src/models/components/applicationresource.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgEH,8DAMC;AAED,kEAQC;AA9ED,uCAAyB;AACzB,qDAAiD;AAGjD,
|
|
1
|
+
{"version":3,"file":"applicationresource.js","sourceRoot":"","sources":["../../src/models/components/applicationresource.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgEH,8DAMC;AAED,kEAQC;AA9ED,uCAAyB;AACzB,qDAAiD;AAGjD,uGAKmD;AACnD,mGAKiD;AASjD,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,KAAK,CAAC;IACV,wFAAgD;IAChD,4FAAkD;CACnD,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,KAAK,CAAC;IACV,yFAAiD;IACjD,6FAAmD;CACpD,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,oBAAoB,CAOpC;AAPD,WAAiB,oBAAoB;IACnC,mEAAmE;IACtD,kCAAa,GAAG,yCAAiC,CAAC;IAC/D,oEAAoE;IACvD,mCAAc,GAAG,0CAAkC,CAAC;AAGnE,CAAC,EAPgB,oBAAoB,oCAApB,oBAAoB,QAOpC;AAED,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AAED,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -3,10 +3,24 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
5
|
import { CommercialSecuredLoanCommercialApplicationRelationships, CommercialSecuredLoanCommercialApplicationRelationships$Outbound } from "./commercialsecuredloancommercialapplicationrelationships.js";
|
|
6
|
-
|
|
6
|
+
import { LinkObject, LinkObject$Outbound } from "./linkobject.js";
|
|
7
|
+
/**
|
|
8
|
+
* Resource types used in the API
|
|
9
|
+
*/
|
|
10
|
+
export declare const CommercialSecuredApplicationPayloadType: {
|
|
11
|
+
readonly ConsumerSecuredApplications: "consumer-secured-applications";
|
|
7
12
|
readonly CommercialSecuredApplications: "commercial-secured-applications";
|
|
13
|
+
readonly SupportingDocuments: "supporting-documents";
|
|
14
|
+
readonly Customers: "customers";
|
|
15
|
+
readonly Assets: "assets";
|
|
16
|
+
readonly Entities: "entities";
|
|
17
|
+
readonly LoanDetails: "loan-details";
|
|
18
|
+
readonly Addresses: "addresses";
|
|
8
19
|
};
|
|
9
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Resource types used in the API
|
|
22
|
+
*/
|
|
23
|
+
export type CommercialSecuredApplicationPayloadType = ClosedEnum<typeof CommercialSecuredApplicationPayloadType>;
|
|
10
24
|
/**
|
|
11
25
|
* Type of the loan application
|
|
12
26
|
*/
|
|
@@ -30,30 +44,50 @@ export type Attributes = {
|
|
|
30
44
|
*/
|
|
31
45
|
associatedBrokerEmail?: string | undefined;
|
|
32
46
|
};
|
|
33
|
-
export type
|
|
34
|
-
type:
|
|
47
|
+
export type CommercialSecuredApplicationPayload = {
|
|
48
|
+
type: CommercialSecuredApplicationPayloadType;
|
|
35
49
|
/**
|
|
36
50
|
* Application resource attributes
|
|
37
51
|
*/
|
|
38
52
|
attributes: Attributes;
|
|
39
|
-
relationships
|
|
53
|
+
relationships: CommercialSecuredLoanCommercialApplicationRelationships;
|
|
54
|
+
links?: {
|
|
55
|
+
[k: string]: LinkObject;
|
|
56
|
+
} | undefined;
|
|
57
|
+
meta?: {
|
|
58
|
+
[k: string]: any;
|
|
59
|
+
} | undefined;
|
|
40
60
|
};
|
|
41
61
|
/** @internal */
|
|
42
|
-
export declare const
|
|
62
|
+
export declare const CommercialSecuredApplicationPayloadType$inboundSchema: z.ZodNativeEnum<typeof CommercialSecuredApplicationPayloadType>;
|
|
43
63
|
/** @internal */
|
|
44
|
-
export declare const
|
|
64
|
+
export declare const CommercialSecuredApplicationPayloadType$outboundSchema: z.ZodNativeEnum<typeof CommercialSecuredApplicationPayloadType>;
|
|
45
65
|
/**
|
|
46
66
|
* @internal
|
|
47
67
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
48
68
|
*/
|
|
49
|
-
export declare namespace
|
|
50
|
-
/** @deprecated use `
|
|
69
|
+
export declare namespace CommercialSecuredApplicationPayloadType$ {
|
|
70
|
+
/** @deprecated use `CommercialSecuredApplicationPayloadType$inboundSchema` instead. */
|
|
51
71
|
const inboundSchema: z.ZodNativeEnum<{
|
|
72
|
+
readonly ConsumerSecuredApplications: "consumer-secured-applications";
|
|
52
73
|
readonly CommercialSecuredApplications: "commercial-secured-applications";
|
|
74
|
+
readonly SupportingDocuments: "supporting-documents";
|
|
75
|
+
readonly Customers: "customers";
|
|
76
|
+
readonly Assets: "assets";
|
|
77
|
+
readonly Entities: "entities";
|
|
78
|
+
readonly LoanDetails: "loan-details";
|
|
79
|
+
readonly Addresses: "addresses";
|
|
53
80
|
}>;
|
|
54
|
-
/** @deprecated use `
|
|
81
|
+
/** @deprecated use `CommercialSecuredApplicationPayloadType$outboundSchema` instead. */
|
|
55
82
|
const outboundSchema: z.ZodNativeEnum<{
|
|
83
|
+
readonly ConsumerSecuredApplications: "consumer-secured-applications";
|
|
56
84
|
readonly CommercialSecuredApplications: "commercial-secured-applications";
|
|
85
|
+
readonly SupportingDocuments: "supporting-documents";
|
|
86
|
+
readonly Customers: "customers";
|
|
87
|
+
readonly Assets: "assets";
|
|
88
|
+
readonly Entities: "entities";
|
|
89
|
+
readonly LoanDetails: "loan-details";
|
|
90
|
+
readonly Addresses: "addresses";
|
|
57
91
|
}>;
|
|
58
92
|
}
|
|
59
93
|
/** @internal */
|
|
@@ -98,27 +132,33 @@ export declare namespace Attributes$ {
|
|
|
98
132
|
export declare function attributesToJSON(attributes: Attributes): string;
|
|
99
133
|
export declare function attributesFromJSON(jsonString: string): SafeParseResult<Attributes, SDKValidationError>;
|
|
100
134
|
/** @internal */
|
|
101
|
-
export declare const
|
|
135
|
+
export declare const CommercialSecuredApplicationPayload$inboundSchema: z.ZodType<CommercialSecuredApplicationPayload, z.ZodTypeDef, unknown>;
|
|
102
136
|
/** @internal */
|
|
103
|
-
export type
|
|
137
|
+
export type CommercialSecuredApplicationPayload$Outbound = {
|
|
104
138
|
type: string;
|
|
105
139
|
attributes: Attributes$Outbound;
|
|
106
|
-
relationships
|
|
140
|
+
relationships: CommercialSecuredLoanCommercialApplicationRelationships$Outbound;
|
|
141
|
+
links?: {
|
|
142
|
+
[k: string]: LinkObject$Outbound;
|
|
143
|
+
} | undefined;
|
|
144
|
+
meta?: {
|
|
145
|
+
[k: string]: any;
|
|
146
|
+
} | undefined;
|
|
107
147
|
};
|
|
108
148
|
/** @internal */
|
|
109
|
-
export declare const
|
|
149
|
+
export declare const CommercialSecuredApplicationPayload$outboundSchema: z.ZodType<CommercialSecuredApplicationPayload$Outbound, z.ZodTypeDef, CommercialSecuredApplicationPayload>;
|
|
110
150
|
/**
|
|
111
151
|
* @internal
|
|
112
152
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
113
153
|
*/
|
|
114
|
-
export declare namespace
|
|
115
|
-
/** @deprecated use `
|
|
116
|
-
const inboundSchema: z.ZodType<
|
|
117
|
-
/** @deprecated use `
|
|
118
|
-
const outboundSchema: z.ZodType<
|
|
119
|
-
/** @deprecated use `
|
|
120
|
-
type Outbound =
|
|
154
|
+
export declare namespace CommercialSecuredApplicationPayload$ {
|
|
155
|
+
/** @deprecated use `CommercialSecuredApplicationPayload$inboundSchema` instead. */
|
|
156
|
+
const inboundSchema: z.ZodType<CommercialSecuredApplicationPayload, z.ZodTypeDef, unknown>;
|
|
157
|
+
/** @deprecated use `CommercialSecuredApplicationPayload$outboundSchema` instead. */
|
|
158
|
+
const outboundSchema: z.ZodType<CommercialSecuredApplicationPayload$Outbound, z.ZodTypeDef, CommercialSecuredApplicationPayload>;
|
|
159
|
+
/** @deprecated use `CommercialSecuredApplicationPayload$Outbound` instead. */
|
|
160
|
+
type Outbound = CommercialSecuredApplicationPayload$Outbound;
|
|
121
161
|
}
|
|
122
|
-
export declare function
|
|
123
|
-
export declare function
|
|
124
|
-
//# sourceMappingURL=
|
|
162
|
+
export declare function commercialSecuredApplicationPayloadToJSON(commercialSecuredApplicationPayload: CommercialSecuredApplicationPayload): string;
|
|
163
|
+
export declare function commercialSecuredApplicationPayloadFromJSON(jsonString: string): SafeParseResult<CommercialSecuredApplicationPayload, SDKValidationError>;
|
|
164
|
+
//# sourceMappingURL=commercialsecuredapplicationpayload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commercialsecuredapplicationpayload.d.ts","sourceRoot":"","sources":["../../src/models/components/commercialsecuredapplicationpayload.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,uDAAuD,EAEvD,gEAAgE,EAEjE,MAAM,8DAA8D,CAAC;AACtE,OAAO,EACL,UAAU,EAEV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AAEzB;;GAEG;AACH,eAAO,MAAM,uCAAuC;;;;;;;;;CAS1C,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,uCAAuC,GAA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AG,SAAS,CAAC;IACzD,IAAI,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kDAAkD,EAAE,CAAC,CAAC,OAAO,CACxE,4CAA4C,EAC5C,CAAC,CAAC,UAAU,EACZ,mCAAmC,CAQnC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,oCAAoC,CAAC;IACpD,mFAAmF;IAC5E,MAAM,aAAa,uEACyB,CAAC;IACpD,oFAAoF;IAC7E,MAAM,cAAc,4GACyB,CAAC;IACrD,8EAA8E;IAC9E,KAAY,QAAQ,GAAG,4CAA4C,CAAC;CACrE;AAED,wBAAgB,yCAAyC,CACvD,mCAAmC,EAAE,mCAAmC,GACvE,MAAM,CAMR;AAED,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E"}
|
|
@@ -36,16 +36,27 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.CommercialSecuredApplicationPayload$ = exports.CommercialSecuredApplicationPayload$outboundSchema = exports.CommercialSecuredApplicationPayload$inboundSchema = exports.Attributes$ = exports.Attributes$outboundSchema = exports.Attributes$inboundSchema = exports.ApplicationType$ = exports.ApplicationType$outboundSchema = exports.ApplicationType$inboundSchema = exports.CommercialSecuredApplicationPayloadType$ = exports.CommercialSecuredApplicationPayloadType$outboundSchema = exports.CommercialSecuredApplicationPayloadType$inboundSchema = exports.ApplicationType = exports.CommercialSecuredApplicationPayloadType = void 0;
|
|
40
40
|
exports.attributesToJSON = attributesToJSON;
|
|
41
41
|
exports.attributesFromJSON = attributesFromJSON;
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
42
|
+
exports.commercialSecuredApplicationPayloadToJSON = commercialSecuredApplicationPayloadToJSON;
|
|
43
|
+
exports.commercialSecuredApplicationPayloadFromJSON = commercialSecuredApplicationPayloadFromJSON;
|
|
44
44
|
const z = __importStar(require("zod"));
|
|
45
45
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
46
46
|
const commercialsecuredloancommercialapplicationrelationships_js_1 = require("./commercialsecuredloancommercialapplicationrelationships.js");
|
|
47
|
-
|
|
47
|
+
const linkobject_js_1 = require("./linkobject.js");
|
|
48
|
+
/**
|
|
49
|
+
* Resource types used in the API
|
|
50
|
+
*/
|
|
51
|
+
exports.CommercialSecuredApplicationPayloadType = {
|
|
52
|
+
ConsumerSecuredApplications: "consumer-secured-applications",
|
|
48
53
|
CommercialSecuredApplications: "commercial-secured-applications",
|
|
54
|
+
SupportingDocuments: "supporting-documents",
|
|
55
|
+
Customers: "customers",
|
|
56
|
+
Assets: "assets",
|
|
57
|
+
Entities: "entities",
|
|
58
|
+
LoanDetails: "loan-details",
|
|
59
|
+
Addresses: "addresses",
|
|
49
60
|
};
|
|
50
61
|
/**
|
|
51
62
|
* Type of the loan application
|
|
@@ -54,20 +65,21 @@ exports.ApplicationType = {
|
|
|
54
65
|
CommercialSecured: "commercialSecured",
|
|
55
66
|
};
|
|
56
67
|
/** @internal */
|
|
57
|
-
exports.
|
|
68
|
+
exports.CommercialSecuredApplicationPayloadType$inboundSchema = z
|
|
69
|
+
.nativeEnum(exports.CommercialSecuredApplicationPayloadType);
|
|
58
70
|
/** @internal */
|
|
59
|
-
exports.
|
|
71
|
+
exports.CommercialSecuredApplicationPayloadType$outboundSchema = exports.CommercialSecuredApplicationPayloadType$inboundSchema;
|
|
60
72
|
/**
|
|
61
73
|
* @internal
|
|
62
74
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
63
75
|
*/
|
|
64
|
-
var
|
|
65
|
-
(function (
|
|
66
|
-
/** @deprecated use `
|
|
67
|
-
|
|
68
|
-
/** @deprecated use `
|
|
69
|
-
|
|
70
|
-
})(
|
|
76
|
+
var CommercialSecuredApplicationPayloadType$;
|
|
77
|
+
(function (CommercialSecuredApplicationPayloadType$) {
|
|
78
|
+
/** @deprecated use `CommercialSecuredApplicationPayloadType$inboundSchema` instead. */
|
|
79
|
+
CommercialSecuredApplicationPayloadType$.inboundSchema = exports.CommercialSecuredApplicationPayloadType$inboundSchema;
|
|
80
|
+
/** @deprecated use `CommercialSecuredApplicationPayloadType$outboundSchema` instead. */
|
|
81
|
+
CommercialSecuredApplicationPayloadType$.outboundSchema = exports.CommercialSecuredApplicationPayloadType$outboundSchema;
|
|
82
|
+
})(CommercialSecuredApplicationPayloadType$ || (exports.CommercialSecuredApplicationPayloadType$ = CommercialSecuredApplicationPayloadType$ = {}));
|
|
71
83
|
/** @internal */
|
|
72
84
|
exports.ApplicationType$inboundSchema = z.nativeEnum(exports.ApplicationType);
|
|
73
85
|
/** @internal */
|
|
@@ -111,34 +123,36 @@ function attributesFromJSON(jsonString) {
|
|
|
111
123
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Attributes$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Attributes' from JSON`);
|
|
112
124
|
}
|
|
113
125
|
/** @internal */
|
|
114
|
-
exports.
|
|
115
|
-
type: exports.
|
|
126
|
+
exports.CommercialSecuredApplicationPayload$inboundSchema = z.object({
|
|
127
|
+
type: exports.CommercialSecuredApplicationPayloadType$inboundSchema,
|
|
116
128
|
attributes: z.lazy(() => exports.Attributes$inboundSchema),
|
|
117
|
-
relationships: commercialsecuredloancommercialapplicationrelationships_js_1.CommercialSecuredLoanCommercialApplicationRelationships$inboundSchema
|
|
118
|
-
|
|
129
|
+
relationships: commercialsecuredloancommercialapplicationrelationships_js_1.CommercialSecuredLoanCommercialApplicationRelationships$inboundSchema,
|
|
130
|
+
links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
|
|
131
|
+
meta: z.record(z.any()).optional(),
|
|
119
132
|
});
|
|
120
133
|
/** @internal */
|
|
121
|
-
exports.
|
|
122
|
-
type: exports.
|
|
134
|
+
exports.CommercialSecuredApplicationPayload$outboundSchema = z.object({
|
|
135
|
+
type: exports.CommercialSecuredApplicationPayloadType$outboundSchema,
|
|
123
136
|
attributes: z.lazy(() => exports.Attributes$outboundSchema),
|
|
124
|
-
relationships: commercialsecuredloancommercialapplicationrelationships_js_1.CommercialSecuredLoanCommercialApplicationRelationships$outboundSchema
|
|
125
|
-
|
|
137
|
+
relationships: commercialsecuredloancommercialapplicationrelationships_js_1.CommercialSecuredLoanCommercialApplicationRelationships$outboundSchema,
|
|
138
|
+
links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
|
|
139
|
+
meta: z.record(z.any()).optional(),
|
|
126
140
|
});
|
|
127
141
|
/**
|
|
128
142
|
* @internal
|
|
129
143
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
130
144
|
*/
|
|
131
|
-
var
|
|
132
|
-
(function (
|
|
133
|
-
/** @deprecated use `
|
|
134
|
-
|
|
135
|
-
/** @deprecated use `
|
|
136
|
-
|
|
137
|
-
})(
|
|
138
|
-
function
|
|
139
|
-
return JSON.stringify(exports.
|
|
145
|
+
var CommercialSecuredApplicationPayload$;
|
|
146
|
+
(function (CommercialSecuredApplicationPayload$) {
|
|
147
|
+
/** @deprecated use `CommercialSecuredApplicationPayload$inboundSchema` instead. */
|
|
148
|
+
CommercialSecuredApplicationPayload$.inboundSchema = exports.CommercialSecuredApplicationPayload$inboundSchema;
|
|
149
|
+
/** @deprecated use `CommercialSecuredApplicationPayload$outboundSchema` instead. */
|
|
150
|
+
CommercialSecuredApplicationPayload$.outboundSchema = exports.CommercialSecuredApplicationPayload$outboundSchema;
|
|
151
|
+
})(CommercialSecuredApplicationPayload$ || (exports.CommercialSecuredApplicationPayload$ = CommercialSecuredApplicationPayload$ = {}));
|
|
152
|
+
function commercialSecuredApplicationPayloadToJSON(commercialSecuredApplicationPayload) {
|
|
153
|
+
return JSON.stringify(exports.CommercialSecuredApplicationPayload$outboundSchema.parse(commercialSecuredApplicationPayload));
|
|
140
154
|
}
|
|
141
|
-
function
|
|
142
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
155
|
+
function commercialSecuredApplicationPayloadFromJSON(jsonString) {
|
|
156
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommercialSecuredApplicationPayload$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommercialSecuredApplicationPayload' from JSON`);
|
|
143
157
|
}
|
|
144
|
-
//# sourceMappingURL=
|
|
158
|
+
//# sourceMappingURL=commercialsecuredapplicationpayload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commercialsecuredapplicationpayload.js","sourceRoot":"","sources":["../../src/models/components/commercialsecuredapplicationpayload.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+JH,4CAEC;AAED,gDAQC;AAuDD,8FAQC;AAED,kGASC;AAnPD,uCAAyB;AACzB,qDAAiD;AAIjD,6IAKsE;AACtE,mDAKyB;AAEzB;;GAEG;AACU,QAAA,uCAAuC,GAAG;IACrD,2BAA2B,EAAE,+BAA+B;IAC5D,6BAA6B,EAAE,iCAAiC;IAChE,mBAAmB,EAAE,sBAAsB;IAC3C,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,cAAc;IAC3B,SAAS,EAAE,WAAW;CACd,CAAC;AAQX;;GAEG;AACU,QAAA,eAAe,GAAG;IAC7B,iBAAiB,EAAE,mBAAmB;CAC9B,CAAC;AA+BX,gBAAgB;AACH,QAAA,qDAAqD,GACE,CAAC;KAChE,UAAU,CAAC,+CAAuC,CAAC,CAAC;AAEzD,gBAAgB;AACH,QAAA,sDAAsD,GAE/D,6DAAqD,CAAC;AAE1D;;;GAGG;AACH,IAAiB,wCAAwC,CAO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CAAC,KAAK,CACtD,mCAAmC,CACpC,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,2CAA2C,CACzD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,yDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,171 @@
|
|
|
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 { ApplicationStatus } from "./applicationstatus.js";
|
|
6
|
+
import { CommercialApplicationJsonApiRelationships, CommercialApplicationJsonApiRelationships$Outbound } from "./commercialapplicationjsonapirelationships.js";
|
|
7
|
+
import { LinkObject, LinkObject$Outbound } from "./linkobject.js";
|
|
8
|
+
export declare const CommercialSecuredApplicationResourceType: {
|
|
9
|
+
readonly CommercialSecuredApplications: "commercial-secured-applications";
|
|
10
|
+
};
|
|
11
|
+
export type CommercialSecuredApplicationResourceType = ClosedEnum<typeof CommercialSecuredApplicationResourceType>;
|
|
12
|
+
/**
|
|
13
|
+
* Type of the loan application
|
|
14
|
+
*/
|
|
15
|
+
export declare const CommercialSecuredApplicationResourceApplicationType: {
|
|
16
|
+
readonly CommercialSecured: "commercialSecured";
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Type of the loan application
|
|
20
|
+
*/
|
|
21
|
+
export type CommercialSecuredApplicationResourceApplicationType = ClosedEnum<typeof CommercialSecuredApplicationResourceApplicationType>;
|
|
22
|
+
/**
|
|
23
|
+
* Application resource attributes
|
|
24
|
+
*/
|
|
25
|
+
export type CommercialSecuredApplicationResourceAttributes = {
|
|
26
|
+
/**
|
|
27
|
+
* Full identifier of the application. Not visible within the web application.
|
|
28
|
+
*/
|
|
29
|
+
id: string;
|
|
30
|
+
/**
|
|
31
|
+
* Human readable & easily communicated identifier of the application. Visible within the web application.
|
|
32
|
+
*/
|
|
33
|
+
humanId: string;
|
|
34
|
+
/**
|
|
35
|
+
* Type of the loan application
|
|
36
|
+
*/
|
|
37
|
+
applicationType: CommercialSecuredApplicationResourceApplicationType;
|
|
38
|
+
/**
|
|
39
|
+
* Current status, must be 'workshop' for new applications
|
|
40
|
+
*/
|
|
41
|
+
status: ApplicationStatus;
|
|
42
|
+
/**
|
|
43
|
+
* Email address of the broker to be associated with this application.
|
|
44
|
+
*/
|
|
45
|
+
associatedBrokerEmail?: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* Creation timestamp
|
|
48
|
+
*/
|
|
49
|
+
createdAt?: string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Last update timestamp
|
|
52
|
+
*/
|
|
53
|
+
updatedAt?: string | undefined;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* A Commercial Application resource following JSON:API structure
|
|
57
|
+
*/
|
|
58
|
+
export type CommercialSecuredApplicationResource = {
|
|
59
|
+
type: CommercialSecuredApplicationResourceType;
|
|
60
|
+
id?: string | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Application resource attributes
|
|
63
|
+
*/
|
|
64
|
+
attributes: CommercialSecuredApplicationResourceAttributes;
|
|
65
|
+
/**
|
|
66
|
+
* Relationships for a Commercial Application Resource
|
|
67
|
+
*/
|
|
68
|
+
relationships: CommercialApplicationJsonApiRelationships;
|
|
69
|
+
links?: {
|
|
70
|
+
[k: string]: LinkObject;
|
|
71
|
+
} | undefined;
|
|
72
|
+
meta?: {
|
|
73
|
+
[k: string]: any;
|
|
74
|
+
} | undefined;
|
|
75
|
+
};
|
|
76
|
+
/** @internal */
|
|
77
|
+
export declare const CommercialSecuredApplicationResourceType$inboundSchema: z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceType>;
|
|
78
|
+
/** @internal */
|
|
79
|
+
export declare const CommercialSecuredApplicationResourceType$outboundSchema: z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceType>;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
83
|
+
*/
|
|
84
|
+
export declare namespace CommercialSecuredApplicationResourceType$ {
|
|
85
|
+
/** @deprecated use `CommercialSecuredApplicationResourceType$inboundSchema` instead. */
|
|
86
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
87
|
+
readonly CommercialSecuredApplications: "commercial-secured-applications";
|
|
88
|
+
}>;
|
|
89
|
+
/** @deprecated use `CommercialSecuredApplicationResourceType$outboundSchema` instead. */
|
|
90
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
91
|
+
readonly CommercialSecuredApplications: "commercial-secured-applications";
|
|
92
|
+
}>;
|
|
93
|
+
}
|
|
94
|
+
/** @internal */
|
|
95
|
+
export declare const CommercialSecuredApplicationResourceApplicationType$inboundSchema: z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceApplicationType>;
|
|
96
|
+
/** @internal */
|
|
97
|
+
export declare const CommercialSecuredApplicationResourceApplicationType$outboundSchema: z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceApplicationType>;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
101
|
+
*/
|
|
102
|
+
export declare namespace CommercialSecuredApplicationResourceApplicationType$ {
|
|
103
|
+
/** @deprecated use `CommercialSecuredApplicationResourceApplicationType$inboundSchema` instead. */
|
|
104
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
105
|
+
readonly CommercialSecured: "commercialSecured";
|
|
106
|
+
}>;
|
|
107
|
+
/** @deprecated use `CommercialSecuredApplicationResourceApplicationType$outboundSchema` instead. */
|
|
108
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
109
|
+
readonly CommercialSecured: "commercialSecured";
|
|
110
|
+
}>;
|
|
111
|
+
}
|
|
112
|
+
/** @internal */
|
|
113
|
+
export declare const CommercialSecuredApplicationResourceAttributes$inboundSchema: z.ZodType<CommercialSecuredApplicationResourceAttributes, z.ZodTypeDef, unknown>;
|
|
114
|
+
/** @internal */
|
|
115
|
+
export type CommercialSecuredApplicationResourceAttributes$Outbound = {
|
|
116
|
+
id: string;
|
|
117
|
+
humanId: string;
|
|
118
|
+
applicationType: string;
|
|
119
|
+
status: string;
|
|
120
|
+
associatedBrokerEmail?: string | undefined;
|
|
121
|
+
createdAt?: string | undefined;
|
|
122
|
+
updatedAt?: string | undefined;
|
|
123
|
+
};
|
|
124
|
+
/** @internal */
|
|
125
|
+
export declare const CommercialSecuredApplicationResourceAttributes$outboundSchema: z.ZodType<CommercialSecuredApplicationResourceAttributes$Outbound, z.ZodTypeDef, CommercialSecuredApplicationResourceAttributes>;
|
|
126
|
+
/**
|
|
127
|
+
* @internal
|
|
128
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
129
|
+
*/
|
|
130
|
+
export declare namespace CommercialSecuredApplicationResourceAttributes$ {
|
|
131
|
+
/** @deprecated use `CommercialSecuredApplicationResourceAttributes$inboundSchema` instead. */
|
|
132
|
+
const inboundSchema: z.ZodType<CommercialSecuredApplicationResourceAttributes, z.ZodTypeDef, unknown>;
|
|
133
|
+
/** @deprecated use `CommercialSecuredApplicationResourceAttributes$outboundSchema` instead. */
|
|
134
|
+
const outboundSchema: z.ZodType<CommercialSecuredApplicationResourceAttributes$Outbound, z.ZodTypeDef, CommercialSecuredApplicationResourceAttributes>;
|
|
135
|
+
/** @deprecated use `CommercialSecuredApplicationResourceAttributes$Outbound` instead. */
|
|
136
|
+
type Outbound = CommercialSecuredApplicationResourceAttributes$Outbound;
|
|
137
|
+
}
|
|
138
|
+
export declare function commercialSecuredApplicationResourceAttributesToJSON(commercialSecuredApplicationResourceAttributes: CommercialSecuredApplicationResourceAttributes): string;
|
|
139
|
+
export declare function commercialSecuredApplicationResourceAttributesFromJSON(jsonString: string): SafeParseResult<CommercialSecuredApplicationResourceAttributes, SDKValidationError>;
|
|
140
|
+
/** @internal */
|
|
141
|
+
export declare const CommercialSecuredApplicationResource$inboundSchema: z.ZodType<CommercialSecuredApplicationResource, z.ZodTypeDef, unknown>;
|
|
142
|
+
/** @internal */
|
|
143
|
+
export type CommercialSecuredApplicationResource$Outbound = {
|
|
144
|
+
type: string;
|
|
145
|
+
id?: string | undefined;
|
|
146
|
+
attributes: CommercialSecuredApplicationResourceAttributes$Outbound;
|
|
147
|
+
relationships: CommercialApplicationJsonApiRelationships$Outbound;
|
|
148
|
+
links?: {
|
|
149
|
+
[k: string]: LinkObject$Outbound;
|
|
150
|
+
} | undefined;
|
|
151
|
+
meta?: {
|
|
152
|
+
[k: string]: any;
|
|
153
|
+
} | undefined;
|
|
154
|
+
};
|
|
155
|
+
/** @internal */
|
|
156
|
+
export declare const CommercialSecuredApplicationResource$outboundSchema: z.ZodType<CommercialSecuredApplicationResource$Outbound, z.ZodTypeDef, CommercialSecuredApplicationResource>;
|
|
157
|
+
/**
|
|
158
|
+
* @internal
|
|
159
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
160
|
+
*/
|
|
161
|
+
export declare namespace CommercialSecuredApplicationResource$ {
|
|
162
|
+
/** @deprecated use `CommercialSecuredApplicationResource$inboundSchema` instead. */
|
|
163
|
+
const inboundSchema: z.ZodType<CommercialSecuredApplicationResource, z.ZodTypeDef, unknown>;
|
|
164
|
+
/** @deprecated use `CommercialSecuredApplicationResource$outboundSchema` instead. */
|
|
165
|
+
const outboundSchema: z.ZodType<CommercialSecuredApplicationResource$Outbound, z.ZodTypeDef, CommercialSecuredApplicationResource>;
|
|
166
|
+
/** @deprecated use `CommercialSecuredApplicationResource$Outbound` instead. */
|
|
167
|
+
type Outbound = CommercialSecuredApplicationResource$Outbound;
|
|
168
|
+
}
|
|
169
|
+
export declare function commercialSecuredApplicationResourceToJSON(commercialSecuredApplicationResource: CommercialSecuredApplicationResource): string;
|
|
170
|
+
export declare function commercialSecuredApplicationResourceFromJSON(jsonString: string): SafeParseResult<CommercialSecuredApplicationResource, SDKValidationError>;
|
|
171
|
+
//# sourceMappingURL=commercialsecuredapplicationresource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commercialsecuredapplicationresource.d.ts","sourceRoot":"","sources":["../../src/models/components/commercialsecuredapplicationresource.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAGlB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,yCAAyC,EAEzC,kDAAkD,EAEnD,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,UAAU,EAEV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AAEzB,eAAO,MAAM,wCAAwC;;CAE3C,CAAC;AACX,MAAM,MAAM,wCAAwC,GAAG,UAAU,CAC/D,OAAO,wCAAwC,CAChD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mDAAmD;;CAEtD,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,mDAAmD,GAAG,UAAU,CAC1E,OAAO,mDAAmD,CAC3D,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,8CAA8C,GAAG;IAC3D;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,eAAe,EAAE,mDAAmD,CAAC;IACrE;;OAEG;IACH,MAAM,EAAE,iBAAiB,CAAC;IAC1B;;OAEG;IACH,qBAAqB,CAAC,EAAE,MA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