@kanmon/sdk 2.6.3 → 3.0.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/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/openapi/src/apis/IntegratedMCAApi.d.ts +25 -0
- package/dist/openapi/src/apis/IntegratedMCAApi.js +136 -0
- package/dist/openapi/src/apis/IntegratedMCAApi.js.map +1 -0
- package/dist/openapi/src/apis/index.d.ts +1 -1
- package/dist/openapi/src/apis/index.js +1 -1
- package/dist/openapi/src/apis/index.js.map +1 -1
- package/dist/openapi/src/models/Business.d.ts +4 -4
- package/dist/openapi/src/models/BusinessHasNoIntegratedMcaProductException.d.ts +13 -0
- package/dist/openapi/src/models/BusinessHasNoIntegratedMcaProductException.js +43 -0
- package/dist/openapi/src/models/BusinessHasNoIntegratedMcaProductException.js.map +1 -0
- package/dist/openapi/src/models/CreateUserRequestBody.d.ts +1 -0
- package/dist/openapi/src/models/CreateUserRequestBody.js +2 -0
- package/dist/openapi/src/models/CreateUserRequestBody.js.map +1 -1
- package/dist/openapi/src/models/GetIntegratedMcaPaymentWindowsResponse.d.ts +8 -0
- package/dist/openapi/src/models/GetIntegratedMcaPaymentWindowsResponse.js +33 -0
- package/dist/openapi/src/models/GetIntegratedMcaPaymentWindowsResponse.js.map +1 -0
- package/dist/openapi/src/models/IntegratedMcaOfferTerms.d.ts +1 -0
- package/dist/openapi/src/models/IntegratedMcaOfferTerms.js +4 -0
- package/dist/openapi/src/models/IntegratedMcaOfferTerms.js.map +1 -1
- package/dist/openapi/src/models/IntegratedMcaPaymentWindow.d.ts +10 -0
- package/dist/openapi/src/models/IntegratedMcaPaymentWindow.js +44 -0
- package/dist/openapi/src/models/IntegratedMcaPaymentWindow.js.map +1 -0
- package/dist/openapi/src/models/IntegratedMcaServicingData.d.ts +1 -0
- package/dist/openapi/src/models/IntegratedMcaServicingData.js +4 -0
- package/dist/openapi/src/models/IntegratedMcaServicingData.js.map +1 -1
- package/dist/openapi/src/models/User.d.ts +1 -0
- package/dist/openapi/src/models/User.js +2 -0
- package/dist/openapi/src/models/User.js.map +1 -1
- package/dist/openapi/src/models/index.d.ts +3 -0
- package/dist/openapi/src/models/index.js +3 -0
- package/dist/openapi/src/models/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BankAccountsApi, BusinessesApi, Configuration, ConnectTokensApi, DocumentsApi, UsersApi, DrawRequestsApi, EmbeddedSessionsApi, InvoicesApi, IssuedProductsApi, OffersApi, PaymentsApi, PrequalificationsApi,
|
|
1
|
+
import { BankAccountsApi, BusinessesApi, Configuration, ConnectTokensApi, DocumentsApi, UsersApi, DrawRequestsApi, EmbeddedSessionsApi, InvoicesApi, IssuedProductsApi, OffersApi, PaymentsApi, PrequalificationsApi, IntegratedMCAApi } from "./openapi/src";
|
|
2
2
|
export * from "./openapi/src";
|
|
3
3
|
declare const serverEnvToBasePath: {
|
|
4
4
|
production: string;
|
|
@@ -20,6 +20,6 @@ export declare class KanmonPlatformApi {
|
|
|
20
20
|
readonly offers: OffersApi;
|
|
21
21
|
readonly payments: PaymentsApi;
|
|
22
22
|
readonly prequalifications: PrequalificationsApi;
|
|
23
|
-
readonly integratedMCAReceivables:
|
|
23
|
+
readonly integratedMCAReceivables: IntegratedMCAApi;
|
|
24
24
|
constructor(apiToken: string, env?: keyof typeof serverEnvToBasePath);
|
|
25
25
|
}
|
package/dist/index.js
CHANGED
|
@@ -43,7 +43,7 @@ class KanmonPlatformApi {
|
|
|
43
43
|
this.offers = new src_1.OffersApi(this._configuration);
|
|
44
44
|
this.payments = new src_1.PaymentsApi(this._configuration);
|
|
45
45
|
this.prequalifications = new src_1.PrequalificationsApi(this._configuration);
|
|
46
|
-
this.integratedMCAReceivables = new src_1.
|
|
46
|
+
this.integratedMCAReceivables = new src_1.IntegratedMCAApi(this._configuration);
|
|
47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IAAI,CAAC,YAAY,GAAG,IAAI,qBAAe,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC7D,IAAI,CAAC,SAAS,GAAG,IAAI,kBAAY,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACvD,IAAI,CAAC,YAAY,GAAG,IAAI,qBAAe,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC7D,IAAI,CAAC,gBAAgB,GAAG,IAAI,yBAAmB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACrE,IAAI,CAAC,QAAQ,GAAG,IAAI,iBAAW,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACrD,IAAI,CAAC,cAAc,GAAG,IAAI,uBAAiB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACjE,IAAI,CAAC,MAAM,GAAG,IAAI,eAAS,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACjD,IAAI,CAAC,QAAQ,GAAG,IAAI,iBAAW,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACrD,IAAI,CAAC,iBAAiB,GAAG,IAAI,0BAAoB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACvE,IAAI,CAAC,wBAAwB,GAAG,IAAI,sBAAgB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAC5E,CAAC;CACF;AAvCD,8CAuCC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as runtime from '../runtime';
|
|
2
|
+
import type { CreateIntegratedMcaReceivableBody, GetIntegratedMcaPaymentWindowsResponse, GetIntegratedMcaReceivablesResponse, IntegratedMcaReceivable } from '../models/index';
|
|
3
|
+
export interface CreateIntegratedMcaReceivableRequest {
|
|
4
|
+
createIntegratedMcaReceivableBody: CreateIntegratedMcaReceivableBody;
|
|
5
|
+
}
|
|
6
|
+
export interface GetIntegratedMcaPaymentWindowsRequest {
|
|
7
|
+
id: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetReceivablesRequest {
|
|
10
|
+
ids?: string;
|
|
11
|
+
issuedProductIds?: string;
|
|
12
|
+
transactionIds?: string;
|
|
13
|
+
offset?: number;
|
|
14
|
+
limit?: number;
|
|
15
|
+
createdAtStart?: string;
|
|
16
|
+
createdAtEnd?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare class IntegratedMCAApi extends runtime.BaseAPI {
|
|
19
|
+
createIntegratedMcaReceivableRaw(requestParameters: CreateIntegratedMcaReceivableRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntegratedMcaReceivable>>;
|
|
20
|
+
createIntegratedMcaReceivable(requestParameters: CreateIntegratedMcaReceivableRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegratedMcaReceivable>;
|
|
21
|
+
getIntegratedMcaPaymentWindowsRaw(requestParameters: GetIntegratedMcaPaymentWindowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetIntegratedMcaPaymentWindowsResponse>>;
|
|
22
|
+
getIntegratedMcaPaymentWindows(requestParameters: GetIntegratedMcaPaymentWindowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetIntegratedMcaPaymentWindowsResponse>;
|
|
23
|
+
getReceivablesRaw(requestParameters: GetReceivablesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetIntegratedMcaReceivablesResponse>>;
|
|
24
|
+
getReceivables(requestParameters?: GetReceivablesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetIntegratedMcaReceivablesResponse>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
28
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
30
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
31
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.IntegratedMCAApi = void 0;
|
|
36
|
+
const runtime = __importStar(require("../runtime"));
|
|
37
|
+
const index_1 = require("../models/index");
|
|
38
|
+
class IntegratedMCAApi extends runtime.BaseAPI {
|
|
39
|
+
createIntegratedMcaReceivableRaw(requestParameters, initOverrides) {
|
|
40
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
+
if (requestParameters['createIntegratedMcaReceivableBody'] == null) {
|
|
42
|
+
throw new runtime.RequiredError('createIntegratedMcaReceivableBody', 'Required parameter "createIntegratedMcaReceivableBody" was null or undefined when calling createIntegratedMcaReceivable().');
|
|
43
|
+
}
|
|
44
|
+
const queryParameters = {};
|
|
45
|
+
const headerParameters = {};
|
|
46
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
47
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
48
|
+
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization");
|
|
49
|
+
}
|
|
50
|
+
const response = yield this.request({
|
|
51
|
+
path: `/api/platform/v2/integrated-mca-receivables`,
|
|
52
|
+
method: 'POST',
|
|
53
|
+
headers: headerParameters,
|
|
54
|
+
query: queryParameters,
|
|
55
|
+
body: (0, index_1.CreateIntegratedMcaReceivableBodyToJSON)(requestParameters['createIntegratedMcaReceivableBody']),
|
|
56
|
+
}, initOverrides);
|
|
57
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.IntegratedMcaReceivableFromJSON)(jsonValue));
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
createIntegratedMcaReceivable(requestParameters, initOverrides) {
|
|
61
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
62
|
+
const response = yield this.createIntegratedMcaReceivableRaw(requestParameters, initOverrides);
|
|
63
|
+
return yield response.value();
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
getIntegratedMcaPaymentWindowsRaw(requestParameters, initOverrides) {
|
|
67
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
68
|
+
if (requestParameters['id'] == null) {
|
|
69
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getIntegratedMcaPaymentWindows().');
|
|
70
|
+
}
|
|
71
|
+
const queryParameters = {};
|
|
72
|
+
const headerParameters = {};
|
|
73
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
74
|
+
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization");
|
|
75
|
+
}
|
|
76
|
+
const response = yield this.request({
|
|
77
|
+
path: `/api/platform/v2/issued-products/{id}/integrated-mca-payment-windows`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
78
|
+
method: 'GET',
|
|
79
|
+
headers: headerParameters,
|
|
80
|
+
query: queryParameters,
|
|
81
|
+
}, initOverrides);
|
|
82
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetIntegratedMcaPaymentWindowsResponseFromJSON)(jsonValue));
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
getIntegratedMcaPaymentWindows(requestParameters, initOverrides) {
|
|
86
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
87
|
+
const response = yield this.getIntegratedMcaPaymentWindowsRaw(requestParameters, initOverrides);
|
|
88
|
+
return yield response.value();
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
getReceivablesRaw(requestParameters, initOverrides) {
|
|
92
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
93
|
+
const queryParameters = {};
|
|
94
|
+
if (requestParameters['ids'] != null) {
|
|
95
|
+
queryParameters['ids'] = requestParameters['ids'];
|
|
96
|
+
}
|
|
97
|
+
if (requestParameters['issuedProductIds'] != null) {
|
|
98
|
+
queryParameters['issuedProductIds'] = requestParameters['issuedProductIds'];
|
|
99
|
+
}
|
|
100
|
+
if (requestParameters['transactionIds'] != null) {
|
|
101
|
+
queryParameters['transactionIds'] = requestParameters['transactionIds'];
|
|
102
|
+
}
|
|
103
|
+
if (requestParameters['offset'] != null) {
|
|
104
|
+
queryParameters['offset'] = requestParameters['offset'];
|
|
105
|
+
}
|
|
106
|
+
if (requestParameters['limit'] != null) {
|
|
107
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
108
|
+
}
|
|
109
|
+
if (requestParameters['createdAtStart'] != null) {
|
|
110
|
+
queryParameters['createdAtStart'] = requestParameters['createdAtStart'];
|
|
111
|
+
}
|
|
112
|
+
if (requestParameters['createdAtEnd'] != null) {
|
|
113
|
+
queryParameters['createdAtEnd'] = requestParameters['createdAtEnd'];
|
|
114
|
+
}
|
|
115
|
+
const headerParameters = {};
|
|
116
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
117
|
+
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization");
|
|
118
|
+
}
|
|
119
|
+
const response = yield this.request({
|
|
120
|
+
path: `/api/platform/v2/integrated-mca-receivables`,
|
|
121
|
+
method: 'GET',
|
|
122
|
+
headers: headerParameters,
|
|
123
|
+
query: queryParameters,
|
|
124
|
+
}, initOverrides);
|
|
125
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetIntegratedMcaReceivablesResponseFromJSON)(jsonValue));
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
getReceivables(requestParameters = {}, initOverrides) {
|
|
129
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
130
|
+
const response = yield this.getReceivablesRaw(requestParameters, initOverrides);
|
|
131
|
+
return yield response.value();
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
exports.IntegratedMCAApi = IntegratedMCAApi;
|
|
136
|
+
//# sourceMappingURL=IntegratedMCAApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IntegratedMCAApi.js","sourceRoot":"","sources":["../../../../src/openapi/src/apis/IntegratedMCAApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,oDAAsC;AActC,2CAuByB;AAuBzB,MAAa,gBAAiB,SAAQ,OAAO,CAAC,OAAO;IAK3C,gCAAgC,CAAC,iBAAuD,EAAE,aAA0D;;YACtJ,IAAI,iBAAiB,CAAC,mCAAmC,CAAC,IAAI,IAAI,EAAE;gBAChE,MAAM,IAAI,OAAO,CAAC,aAAa,CAC3B,mCAAmC,EACnC,4HAA4H,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GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;YAChF,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;QAClC,CAAC;KAAA;CAEJ;AAzID,4CAyIC"}
|
|
@@ -4,7 +4,7 @@ export * from './ConnectTokensApi';
|
|
|
4
4
|
export * from './DocumentsApi';
|
|
5
5
|
export * from './DrawRequestsApi';
|
|
6
6
|
export * from './EmbeddedSessionsApi';
|
|
7
|
-
export * from './
|
|
7
|
+
export * from './IntegratedMCAApi';
|
|
8
8
|
export * from './InvoicesApi';
|
|
9
9
|
export * from './IssuedProductsApi';
|
|
10
10
|
export * from './OffersApi';
|
|
@@ -20,7 +20,7 @@ __exportStar(require("./ConnectTokensApi"), exports);
|
|
|
20
20
|
__exportStar(require("./DocumentsApi"), exports);
|
|
21
21
|
__exportStar(require("./DrawRequestsApi"), exports);
|
|
22
22
|
__exportStar(require("./EmbeddedSessionsApi"), exports);
|
|
23
|
-
__exportStar(require("./
|
|
23
|
+
__exportStar(require("./IntegratedMCAApi"), exports);
|
|
24
24
|
__exportStar(require("./InvoicesApi"), exports);
|
|
25
25
|
__exportStar(require("./IssuedProductsApi"), exports);
|
|
26
26
|
__exportStar(require("./OffersApi"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/openapi/src/apis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,oDAAkC;AAClC,kDAAgC;AAChC,qDAAmC;AACnC,iDAA+B;AAC/B,oDAAkC;AAClC,wDAAsC;AACtC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/openapi/src/apis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,oDAAkC;AAClC,kDAAgC;AAChC,qDAAmC;AACnC,iDAA+B;AAC/B,oDAAkC;AAClC,wDAAsC;AACtC,qDAAmC;AACnC,gDAA8B;AAC9B,sDAAoC;AACpC,8CAA4B;AAC5B,gDAA8B;AAC9B,yDAAuC;AACvC,wDAAsC;AACtC,6CAA2B"}
|
|
@@ -2,12 +2,12 @@ import type { Address } from './Address';
|
|
|
2
2
|
export interface Business {
|
|
3
3
|
id: string;
|
|
4
4
|
platformBusinessId?: string;
|
|
5
|
-
name:
|
|
5
|
+
name: string | null;
|
|
6
6
|
address?: Address | null;
|
|
7
7
|
ein: string | null;
|
|
8
|
-
phoneNumber:
|
|
9
|
-
website:
|
|
10
|
-
customInitializationName?:
|
|
8
|
+
phoneNumber: string | null;
|
|
9
|
+
website: string | null;
|
|
10
|
+
customInitializationName?: string;
|
|
11
11
|
metadata: object;
|
|
12
12
|
createdAt: string;
|
|
13
13
|
updatedAt: string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface BusinessHasNoIntegratedMcaProductException {
|
|
2
|
+
errorCode: BusinessHasNoIntegratedMcaProductExceptionErrorCodeEnum;
|
|
3
|
+
message: string;
|
|
4
|
+
timestamp: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const BusinessHasNoIntegratedMcaProductExceptionErrorCodeEnum: {
|
|
7
|
+
readonly BusinessHasNoIntegratedMcaProductException: "BusinessHasNoIntegratedMcaProductException";
|
|
8
|
+
};
|
|
9
|
+
export type BusinessHasNoIntegratedMcaProductExceptionErrorCodeEnum = typeof BusinessHasNoIntegratedMcaProductExceptionErrorCodeEnum[keyof typeof BusinessHasNoIntegratedMcaProductExceptionErrorCodeEnum];
|
|
10
|
+
export declare function instanceOfBusinessHasNoIntegratedMcaProductException(value: object): value is BusinessHasNoIntegratedMcaProductException;
|
|
11
|
+
export declare function BusinessHasNoIntegratedMcaProductExceptionFromJSON(json: any): BusinessHasNoIntegratedMcaProductException;
|
|
12
|
+
export declare function BusinessHasNoIntegratedMcaProductExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessHasNoIntegratedMcaProductException;
|
|
13
|
+
export declare function BusinessHasNoIntegratedMcaProductExceptionToJSON(value?: BusinessHasNoIntegratedMcaProductException | null): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BusinessHasNoIntegratedMcaProductExceptionToJSON = exports.BusinessHasNoIntegratedMcaProductExceptionFromJSONTyped = exports.BusinessHasNoIntegratedMcaProductExceptionFromJSON = exports.instanceOfBusinessHasNoIntegratedMcaProductException = exports.BusinessHasNoIntegratedMcaProductExceptionErrorCodeEnum = void 0;
|
|
4
|
+
exports.BusinessHasNoIntegratedMcaProductExceptionErrorCodeEnum = {
|
|
5
|
+
BusinessHasNoIntegratedMcaProductException: 'BusinessHasNoIntegratedMcaProductException'
|
|
6
|
+
};
|
|
7
|
+
function instanceOfBusinessHasNoIntegratedMcaProductException(value) {
|
|
8
|
+
if (!('errorCode' in value) || value['errorCode'] === undefined)
|
|
9
|
+
return false;
|
|
10
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
11
|
+
return false;
|
|
12
|
+
if (!('timestamp' in value) || value['timestamp'] === undefined)
|
|
13
|
+
return false;
|
|
14
|
+
return true;
|
|
15
|
+
}
|
|
16
|
+
exports.instanceOfBusinessHasNoIntegratedMcaProductException = instanceOfBusinessHasNoIntegratedMcaProductException;
|
|
17
|
+
function BusinessHasNoIntegratedMcaProductExceptionFromJSON(json) {
|
|
18
|
+
return BusinessHasNoIntegratedMcaProductExceptionFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.BusinessHasNoIntegratedMcaProductExceptionFromJSON = BusinessHasNoIntegratedMcaProductExceptionFromJSON;
|
|
21
|
+
function BusinessHasNoIntegratedMcaProductExceptionFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if (json == null) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'errorCode': json['errorCode'],
|
|
27
|
+
'message': json['message'],
|
|
28
|
+
'timestamp': json['timestamp'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
exports.BusinessHasNoIntegratedMcaProductExceptionFromJSONTyped = BusinessHasNoIntegratedMcaProductExceptionFromJSONTyped;
|
|
32
|
+
function BusinessHasNoIntegratedMcaProductExceptionToJSON(value) {
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'errorCode': value['errorCode'],
|
|
38
|
+
'message': value['message'],
|
|
39
|
+
'timestamp': value['timestamp'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.BusinessHasNoIntegratedMcaProductExceptionToJSON = BusinessHasNoIntegratedMcaProductExceptionToJSON;
|
|
43
|
+
//# sourceMappingURL=BusinessHasNoIntegratedMcaProductException.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessHasNoIntegratedMcaProductException.js","sourceRoot":"","sources":["../../../../src/openapi/src/models/BusinessHasNoIntegratedMcaProductException.ts"],"names":[],"mappings":";;;AA6Ca,QAAA,uDAAuD,GAAG;IACnE,0CAA0C,EAAE,4CAA4C;CAClF,CAAC;AAOX,SAAgB,oDAAoD,CAAC,KAAa;IAC9E,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1E,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,OAAO,IAAI,CAAC;AAChB,CAAC;AALD,oHAKC;AAED,SAAgB,kDAAkD,CAAC,IAAS;IACxE,OAAO,uDAAuD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChF,CAAC;AAFD,gHAEC;AAED,SAAgB,uDAAuD,CAAC,IAAS,EAAE,mBAA4B;IAC3G,IAAI,IAAI,IAAI,IAAI,EAAE;QACd,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;QAC1B,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;KACjC,CAAC;AACN,CAAC;AAVD,0HAUC;AAED,SAAgB,gDAAgD,CAAC,KAAyD;IACtH,IAAI,KAAK,IAAI,IAAI,EAAE;QACf,OAAO,KAAK,CAAC;KAChB;IACD,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;KAClC,CAAC;AACN,CAAC;AAVD,4GAUC"}
|
|
@@ -10,6 +10,7 @@ export interface CreateUserRequestBody {
|
|
|
10
10
|
address?: Address;
|
|
11
11
|
roles?: Array<CreateUserRequestBodyRolesEnum>;
|
|
12
12
|
metadata?: object;
|
|
13
|
+
isUsCitizen?: boolean;
|
|
13
14
|
}
|
|
14
15
|
export declare const CreateUserRequestBodyRolesEnum: {
|
|
15
16
|
readonly PRIMARY_OWNER: "PRIMARY_OWNER";
|
|
@@ -31,6 +31,7 @@ function CreateUserRequestBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
'address': json['address'] == null ? undefined : (0, Address_1.AddressFromJSON)(json['address']),
|
|
32
32
|
'roles': json['roles'] == null ? undefined : json['roles'],
|
|
33
33
|
'metadata': json['metadata'] == null ? undefined : json['metadata'],
|
|
34
|
+
'isUsCitizen': json['isUsCitizen'] == null ? undefined : json['isUsCitizen'],
|
|
34
35
|
};
|
|
35
36
|
}
|
|
36
37
|
exports.CreateUserRequestBodyFromJSONTyped = CreateUserRequestBodyFromJSONTyped;
|
|
@@ -49,6 +50,7 @@ function CreateUserRequestBodyToJSON(value) {
|
|
|
49
50
|
'address': (0, Address_1.AddressToJSON)(value['address']),
|
|
50
51
|
'roles': value['roles'],
|
|
51
52
|
'metadata': value['metadata'],
|
|
53
|
+
'isUsCitizen': value['isUsCitizen'],
|
|
52
54
|
};
|
|
53
55
|
}
|
|
54
56
|
exports.CreateUserRequestBodyToJSON = CreateUserRequestBodyToJSON;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateUserRequestBody.js","sourceRoot":"","sources":["../../../../src/openapi/src/models/CreateUserRequestBody.ts"],"names":[],"mappings":";;;AAgBA,uCAImB;
|
|
1
|
+
{"version":3,"file":"CreateUserRequestBody.js","sourceRoot":"","sources":["../../../../src/openapi/src/models/CreateUserRequestBody.ts"],"names":[],"mappings":";;;AAgBA,uCAImB;AAgFN,QAAA,8BAA8B,GAAG;IAC1C,aAAa,EAAE,eAAe;IAC9B,QAAQ,EAAE,UAAU;CACd,CAAC;AAOX,SAAgB,+BAA+B,CAAC,KAAa;IACzD,IAAI,CAAC,CAAC,gBAAgB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,gBAAgB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxF,OAAO,IAAI,CAAC;AAChB,CAAC;AAHD,0EAGC;AAED,SAAgB,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAFD,sEAEC;AAED,SAAgB,kCAAkC,CAAC,IAAS,EAAE,mBAA4B;IACtF,IAAI,IAAI,IAAI,IAAI,EAAE;QACd,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,CAAC;QACxC,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC;QACjG,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,CAAC;KAChB;IACD,OAAO;QAEH,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC;QACzC,oBAAoB,EAAE,KAAK,CAAC,oBAAoB,CAAC;QACjD,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,SAAS,EAAE,IAAA,uBAAa,EAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QAC1C,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;KACtC,CAAC;AACN,CAAC;AAlBD,kEAkBC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { IntegratedMcaPaymentWindow } from './IntegratedMcaPaymentWindow';
|
|
2
|
+
export interface GetIntegratedMcaPaymentWindowsResponse {
|
|
3
|
+
paymentWindows: Array<IntegratedMcaPaymentWindow>;
|
|
4
|
+
}
|
|
5
|
+
export declare function instanceOfGetIntegratedMcaPaymentWindowsResponse(value: object): value is GetIntegratedMcaPaymentWindowsResponse;
|
|
6
|
+
export declare function GetIntegratedMcaPaymentWindowsResponseFromJSON(json: any): GetIntegratedMcaPaymentWindowsResponse;
|
|
7
|
+
export declare function GetIntegratedMcaPaymentWindowsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetIntegratedMcaPaymentWindowsResponse;
|
|
8
|
+
export declare function GetIntegratedMcaPaymentWindowsResponseToJSON(value?: GetIntegratedMcaPaymentWindowsResponse | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetIntegratedMcaPaymentWindowsResponseToJSON = exports.GetIntegratedMcaPaymentWindowsResponseFromJSONTyped = exports.GetIntegratedMcaPaymentWindowsResponseFromJSON = exports.instanceOfGetIntegratedMcaPaymentWindowsResponse = void 0;
|
|
4
|
+
const IntegratedMcaPaymentWindow_1 = require("./IntegratedMcaPaymentWindow");
|
|
5
|
+
function instanceOfGetIntegratedMcaPaymentWindowsResponse(value) {
|
|
6
|
+
if (!('paymentWindows' in value) || value['paymentWindows'] === undefined)
|
|
7
|
+
return false;
|
|
8
|
+
return true;
|
|
9
|
+
}
|
|
10
|
+
exports.instanceOfGetIntegratedMcaPaymentWindowsResponse = instanceOfGetIntegratedMcaPaymentWindowsResponse;
|
|
11
|
+
function GetIntegratedMcaPaymentWindowsResponseFromJSON(json) {
|
|
12
|
+
return GetIntegratedMcaPaymentWindowsResponseFromJSONTyped(json, false);
|
|
13
|
+
}
|
|
14
|
+
exports.GetIntegratedMcaPaymentWindowsResponseFromJSON = GetIntegratedMcaPaymentWindowsResponseFromJSON;
|
|
15
|
+
function GetIntegratedMcaPaymentWindowsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
16
|
+
if (json == null) {
|
|
17
|
+
return json;
|
|
18
|
+
}
|
|
19
|
+
return {
|
|
20
|
+
'paymentWindows': (json['paymentWindows'].map(IntegratedMcaPaymentWindow_1.IntegratedMcaPaymentWindowFromJSON)),
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
exports.GetIntegratedMcaPaymentWindowsResponseFromJSONTyped = GetIntegratedMcaPaymentWindowsResponseFromJSONTyped;
|
|
24
|
+
function GetIntegratedMcaPaymentWindowsResponseToJSON(value) {
|
|
25
|
+
if (value == null) {
|
|
26
|
+
return value;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'paymentWindows': (value['paymentWindows'].map(IntegratedMcaPaymentWindow_1.IntegratedMcaPaymentWindowToJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
exports.GetIntegratedMcaPaymentWindowsResponseToJSON = GetIntegratedMcaPaymentWindowsResponseToJSON;
|
|
33
|
+
//# sourceMappingURL=GetIntegratedMcaPaymentWindowsResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetIntegratedMcaPaymentWindowsResponse.js","sourceRoot":"","sources":["../../../../src/openapi/src/models/GetIntegratedMcaPaymentWindowsResponse.ts"],"names":[],"mappings":";;;AAgBA,6EAIsC;AAmBtC,SAAgB,gDAAgD,CAAC,KAAa;IAC1E,IAAI,CAAC,CAAC,gBAAgB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,gBAAgB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxF,OAAO,IAAI,CAAC;AAChB,CAAC;AAHD,4GAGC;AAED,SAAgB,8CAA8C,CAAC,IAAS;IACpE,OAAO,mDAAmD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5E,CAAC;AAFD,wGAEC;AAED,SAAgB,mDAAmD,CAAC,IAAS,EAAE,mBAA4B;IACvG,IAAI,IAAI,IAAI,IAAI,EAAE;QACd,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,gBAAgB,EAAE,CAAE,IAAI,CAAC,gBAAgB,CAAgB,CAAC,GAAG,CAAC,+DAAkC,CAAC,CAAC;KACrG,CAAC;AACN,CAAC;AARD,kHAQC;AAED,SAAgB,4CAA4C,CAAC,KAAqD;IAC9G,IAAI,KAAK,IAAI,IAAI,EAAE;QACf,OAAO,KAAK,CAAC;KAChB;IACD,OAAO;QAEH,gBAAgB,EAAE,CAAE,KAAK,CAAC,gBAAgB,CAAgB,CAAC,GAAG,CAAC,6DAAgC,CAAC,CAAC;KACpG,CAAC;AACN,CAAC;AARD,oGAQC"}
|
|
@@ -6,6 +6,7 @@ export interface IntegratedMcaOfferTerms {
|
|
|
6
6
|
feeFactor: number;
|
|
7
7
|
totalRepaymentCents: number;
|
|
8
8
|
maxAdvanceAmountCents: number;
|
|
9
|
+
monthlyMinimumPaymentAmountCents: number | null;
|
|
9
10
|
}
|
|
10
11
|
export declare function instanceOfIntegratedMcaOfferTerms(value: object): value is IntegratedMcaOfferTerms;
|
|
11
12
|
export declare function IntegratedMcaOfferTermsFromJSON(json: any): IntegratedMcaOfferTerms;
|
|
@@ -15,6 +15,8 @@ function instanceOfIntegratedMcaOfferTerms(value) {
|
|
|
15
15
|
return false;
|
|
16
16
|
if (!('maxAdvanceAmountCents' in value) || value['maxAdvanceAmountCents'] === undefined)
|
|
17
17
|
return false;
|
|
18
|
+
if (!('monthlyMinimumPaymentAmountCents' in value) || value['monthlyMinimumPaymentAmountCents'] === undefined)
|
|
19
|
+
return false;
|
|
18
20
|
return true;
|
|
19
21
|
}
|
|
20
22
|
exports.instanceOfIntegratedMcaOfferTerms = instanceOfIntegratedMcaOfferTerms;
|
|
@@ -33,6 +35,7 @@ function IntegratedMcaOfferTermsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
35
|
'feeFactor': json['feeFactor'],
|
|
34
36
|
'totalRepaymentCents': json['totalRepaymentCents'],
|
|
35
37
|
'maxAdvanceAmountCents': json['maxAdvanceAmountCents'],
|
|
38
|
+
'monthlyMinimumPaymentAmountCents': json['monthlyMinimumPaymentAmountCents'],
|
|
36
39
|
};
|
|
37
40
|
}
|
|
38
41
|
exports.IntegratedMcaOfferTermsFromJSONTyped = IntegratedMcaOfferTermsFromJSONTyped;
|
|
@@ -47,6 +50,7 @@ function IntegratedMcaOfferTermsToJSON(value) {
|
|
|
47
50
|
'feeFactor': value['feeFactor'],
|
|
48
51
|
'totalRepaymentCents': value['totalRepaymentCents'],
|
|
49
52
|
'maxAdvanceAmountCents': value['maxAdvanceAmountCents'],
|
|
53
|
+
'monthlyMinimumPaymentAmountCents': value['monthlyMinimumPaymentAmountCents'],
|
|
50
54
|
};
|
|
51
55
|
}
|
|
52
56
|
exports.IntegratedMcaOfferTermsToJSON = IntegratedMcaOfferTermsToJSON;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntegratedMcaOfferTerms.js","sourceRoot":"","sources":["../../../../src/openapi/src/models/IntegratedMcaOfferTerms.ts"],"names":[],"mappings":";;;AAgBA,+CAIuB;
|
|
1
|
+
{"version":3,"file":"IntegratedMcaOfferTerms.js","sourceRoot":"","sources":["../../../../src/openapi/src/models/IntegratedMcaOfferTerms.ts"],"names":[],"mappings":";;;AAgBA,+CAIuB;AAyDvB,SAAgB,iCAAiC,CAAC,KAAa;IAC3D,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,IAAI,CAAC,CAAC,oBAAoB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,oBAAoB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChG,IAAI,CAAC,CAAC,qBAAqB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,qBAAqB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClG,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,IAAI,CAAC,CAAC,qBAAqB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,qBAAqB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClG,IAAI,CAAC,CAAC,uBAAuB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,uBAAuB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtG,IAAI,CAAC,CAAC,kCAAkC,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,kCAAkC,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5H,OAAO,IAAI,CAAC;AAChB,CAAC;AATD,8EASC;AAED,SAAgB,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAFD,0EAEC;AAED,SAAgB,oCAAoC,CAAC,IAAS,EAAE,mBAA4B;IACxF,IAAI,IAAI,IAAI,IAAI,EAAE;QACd,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,aAAa,EAAE,IAAA,iCAAmB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QACvD,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,CAAC;QAChD,qBAAqB,EAAE,IAAI,CAAC,qBAAqB,CAAC;QAClD,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,qBAAqB,EAAE,IAAI,CAAC,qBAAqB,CAAC;QAClD,uBAAuB,EAAE,IAAI,CAAC,uBAAuB,CAAC;QACtD,kCAAkC,EAAE,IAAI,CAAC,kCAAkC,CAAC;KAC/E,CAAC;AACN,CAAC;AAdD,oFAcC;AAED,SAAgB,6BAA6B,CAAC,KAAsC;IAChF,IAAI,KAAK,IAAI,IAAI,EAAE;QACf,OAAO,KAAK,CAAC;KAChB;IACD,OAAO;QAEH,aAAa,EAAE,IAAA,+BAAiB,EAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QACtD,oBAAoB,EAAE,KAAK,CAAC,oBAAoB,CAAC;QACjD,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,CAAC;QACnD,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,CAAC;QACnD,uBAAuB,EAAE,KAAK,CAAC,uBAAuB,CAAC;QACvD,kCAAkC,EAAE,KAAK,CAAC,kCAAkC,CAAC;KAChF,CAAC;AACN,CAAC;AAdD,sEAcC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface IntegratedMcaPaymentWindow {
|
|
2
|
+
windowStartDate: string;
|
|
3
|
+
windowEndDate: string;
|
|
4
|
+
totalRepaymentAmountCentsInWindow: number;
|
|
5
|
+
minimumPaymentAmountCentsInWindow: object | null;
|
|
6
|
+
}
|
|
7
|
+
export declare function instanceOfIntegratedMcaPaymentWindow(value: object): value is IntegratedMcaPaymentWindow;
|
|
8
|
+
export declare function IntegratedMcaPaymentWindowFromJSON(json: any): IntegratedMcaPaymentWindow;
|
|
9
|
+
export declare function IntegratedMcaPaymentWindowFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegratedMcaPaymentWindow;
|
|
10
|
+
export declare function IntegratedMcaPaymentWindowToJSON(value?: IntegratedMcaPaymentWindow | null): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IntegratedMcaPaymentWindowToJSON = exports.IntegratedMcaPaymentWindowFromJSONTyped = exports.IntegratedMcaPaymentWindowFromJSON = exports.instanceOfIntegratedMcaPaymentWindow = void 0;
|
|
4
|
+
function instanceOfIntegratedMcaPaymentWindow(value) {
|
|
5
|
+
if (!('windowStartDate' in value) || value['windowStartDate'] === undefined)
|
|
6
|
+
return false;
|
|
7
|
+
if (!('windowEndDate' in value) || value['windowEndDate'] === undefined)
|
|
8
|
+
return false;
|
|
9
|
+
if (!('totalRepaymentAmountCentsInWindow' in value) || value['totalRepaymentAmountCentsInWindow'] === undefined)
|
|
10
|
+
return false;
|
|
11
|
+
if (!('minimumPaymentAmountCentsInWindow' in value) || value['minimumPaymentAmountCentsInWindow'] === undefined)
|
|
12
|
+
return false;
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
exports.instanceOfIntegratedMcaPaymentWindow = instanceOfIntegratedMcaPaymentWindow;
|
|
16
|
+
function IntegratedMcaPaymentWindowFromJSON(json) {
|
|
17
|
+
return IntegratedMcaPaymentWindowFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
exports.IntegratedMcaPaymentWindowFromJSON = IntegratedMcaPaymentWindowFromJSON;
|
|
20
|
+
function IntegratedMcaPaymentWindowFromJSONTyped(json, ignoreDiscriminator) {
|
|
21
|
+
if (json == null) {
|
|
22
|
+
return json;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'windowStartDate': json['windowStartDate'],
|
|
26
|
+
'windowEndDate': json['windowEndDate'],
|
|
27
|
+
'totalRepaymentAmountCentsInWindow': json['totalRepaymentAmountCentsInWindow'],
|
|
28
|
+
'minimumPaymentAmountCentsInWindow': json['minimumPaymentAmountCentsInWindow'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
exports.IntegratedMcaPaymentWindowFromJSONTyped = IntegratedMcaPaymentWindowFromJSONTyped;
|
|
32
|
+
function IntegratedMcaPaymentWindowToJSON(value) {
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'windowStartDate': value['windowStartDate'],
|
|
38
|
+
'windowEndDate': value['windowEndDate'],
|
|
39
|
+
'totalRepaymentAmountCentsInWindow': value['totalRepaymentAmountCentsInWindow'],
|
|
40
|
+
'minimumPaymentAmountCentsInWindow': value['minimumPaymentAmountCentsInWindow'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
exports.IntegratedMcaPaymentWindowToJSON = IntegratedMcaPaymentWindowToJSON;
|
|
44
|
+
//# sourceMappingURL=IntegratedMcaPaymentWindow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IntegratedMcaPaymentWindow.js","sourceRoot":"","sources":["../../../../src/openapi/src/models/IntegratedMcaPaymentWindow.ts"],"names":[],"mappings":";;;AAkDA,SAAgB,oCAAoC,CAAC,KAAa;IAC9D,IAAI,CAAC,CAAC,iBAAiB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,iBAAiB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1F,IAAI,CAAC,CAAC,eAAe,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,eAAe,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtF,IAAI,CAAC,CAAC,mCAAmC,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,mCAAmC,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9H,IAAI,CAAC,CAAC,mCAAmC,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,mCAAmC,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9H,OAAO,IAAI,CAAC;AAChB,CAAC;AAND,oFAMC;AAED,SAAgB,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAFD,gFAEC;AAED,SAAgB,uCAAuC,CAAC,IAAS,EAAE,mBAA4B;IAC3F,IAAI,IAAI,IAAI,IAAI,EAAE;QACd,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC;QAC1C,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC;QACtC,mCAAmC,EAAE,IAAI,CAAC,mCAAmC,CAAC;QAC9E,mCAAmC,EAAE,IAAI,CAAC,mCAAmC,CAAC;KACjF,CAAC;AACN,CAAC;AAXD,0FAWC;AAED,SAAgB,gCAAgC,CAAC,KAAyC;IACtF,IAAI,KAAK,IAAI,IAAI,EAAE;QACf,OAAO,KAAK,CAAC;KAChB;IACD,OAAO;QAEH,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;QAC3C,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,mCAAmC,EAAE,KAAK,CAAC,mCAAmC,CAAC;QAC/E,mCAAmC,EAAE,KAAK,CAAC,mCAAmC,CAAC;KAClF,CAAC;AACN,CAAC;AAXD,4EAWC"}
|
|
@@ -6,6 +6,7 @@ export interface IntegratedMcaServicingData {
|
|
|
6
6
|
feeFactor: number;
|
|
7
7
|
totalRepaymentCents: number;
|
|
8
8
|
advanceBalanceCents: number;
|
|
9
|
+
monthlyMinimumPaymentAmountCents: object | null;
|
|
9
10
|
}
|
|
10
11
|
export declare function instanceOfIntegratedMcaServicingData(value: object): value is IntegratedMcaServicingData;
|
|
11
12
|
export declare function IntegratedMcaServicingDataFromJSON(json: any): IntegratedMcaServicingData;
|
|
@@ -15,6 +15,8 @@ function instanceOfIntegratedMcaServicingData(value) {
|
|
|
15
15
|
return false;
|
|
16
16
|
if (!('advanceBalanceCents' in value) || value['advanceBalanceCents'] === undefined)
|
|
17
17
|
return false;
|
|
18
|
+
if (!('monthlyMinimumPaymentAmountCents' in value) || value['monthlyMinimumPaymentAmountCents'] === undefined)
|
|
19
|
+
return false;
|
|
18
20
|
return true;
|
|
19
21
|
}
|
|
20
22
|
exports.instanceOfIntegratedMcaServicingData = instanceOfIntegratedMcaServicingData;
|
|
@@ -33,6 +35,7 @@ function IntegratedMcaServicingDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
35
|
'feeFactor': json['feeFactor'],
|
|
34
36
|
'totalRepaymentCents': json['totalRepaymentCents'],
|
|
35
37
|
'advanceBalanceCents': json['advanceBalanceCents'],
|
|
38
|
+
'monthlyMinimumPaymentAmountCents': json['monthlyMinimumPaymentAmountCents'],
|
|
36
39
|
};
|
|
37
40
|
}
|
|
38
41
|
exports.IntegratedMcaServicingDataFromJSONTyped = IntegratedMcaServicingDataFromJSONTyped;
|
|
@@ -47,6 +50,7 @@ function IntegratedMcaServicingDataToJSON(value) {
|
|
|
47
50
|
'feeFactor': value['feeFactor'],
|
|
48
51
|
'totalRepaymentCents': value['totalRepaymentCents'],
|
|
49
52
|
'advanceBalanceCents': value['advanceBalanceCents'],
|
|
53
|
+
'monthlyMinimumPaymentAmountCents': value['monthlyMinimumPaymentAmountCents'],
|
|
50
54
|
};
|
|
51
55
|
}
|
|
52
56
|
exports.IntegratedMcaServicingDataToJSON = IntegratedMcaServicingDataToJSON;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntegratedMcaServicingData.js","sourceRoot":"","sources":["../../../../src/openapi/src/models/IntegratedMcaServicingData.ts"],"names":[],"mappings":";;;AAgBA,+CAIuB;
|
|
1
|
+
{"version":3,"file":"IntegratedMcaServicingData.js","sourceRoot":"","sources":["../../../../src/openapi/src/models/IntegratedMcaServicingData.ts"],"names":[],"mappings":";;;AAgBA,+CAIuB;AAyDvB,SAAgB,oCAAoC,CAAC,KAAa;IAC9D,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,IAAI,CAAC,CAAC,oBAAoB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,oBAAoB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChG,IAAI,CAAC,CAAC,qBAAqB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,qBAAqB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClG,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,IAAI,CAAC,CAAC,qBAAqB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,qBAAqB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClG,IAAI,CAAC,CAAC,qBAAqB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,qBAAqB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClG,IAAI,CAAC,CAAC,kCAAkC,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,kCAAkC,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5H,OAAO,IAAI,CAAC;AAChB,CAAC;AATD,oFASC;AAED,SAAgB,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAFD,gFAEC;AAED,SAAgB,uCAAuC,CAAC,IAAS,EAAE,mBAA4B;IAC3F,IAAI,IAAI,IAAI,IAAI,EAAE;QACd,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,aAAa,EAAE,IAAA,iCAAmB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QACvD,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,CAAC;QAChD,qBAAqB,EAAE,IAAI,CAAC,qBAAqB,CAAC;QAClD,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,qBAAqB,EAAE,IAAI,CAAC,qBAAqB,CAAC;QAClD,qBAAqB,EAAE,IAAI,CAAC,qBAAqB,CAAC;QAClD,kCAAkC,EAAE,IAAI,CAAC,kCAAkC,CAAC;KAC/E,CAAC;AACN,CAAC;AAdD,0FAcC;AAED,SAAgB,gCAAgC,CAAC,KAAyC;IACtF,IAAI,KAAK,IAAI,IAAI,EAAE;QACf,OAAO,KAAK,CAAC;KAChB;IACD,OAAO;QAEH,aAAa,EAAE,IAAA,+BAAiB,EAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QACtD,oBAAoB,EAAE,KAAK,CAAC,oBAAoB,CAAC;QACjD,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,CAAC;QACnD,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,CAAC;QACnD,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,CAAC;QACnD,kCAAkC,EAAE,KAAK,CAAC,kCAAkC,CAAC;KAChF,CAAC;AACN,CAAC;AAdD,4EAcC"}
|
|
@@ -46,6 +46,7 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
'lastName': json['lastName'] == null ? undefined : json['lastName'],
|
|
47
47
|
'roles': json['roles'] == null ? undefined : json['roles'],
|
|
48
48
|
'metadata': json['metadata'],
|
|
49
|
+
'isUsCitizen': json['isUsCitizen'] == null ? undefined : json['isUsCitizen'],
|
|
49
50
|
'createdAt': json['createdAt'],
|
|
50
51
|
'updatedAt': json['updatedAt'],
|
|
51
52
|
};
|
|
@@ -67,6 +68,7 @@ function UserToJSON(value) {
|
|
|
67
68
|
'lastName': value['lastName'],
|
|
68
69
|
'roles': value['roles'],
|
|
69
70
|
'metadata': value['metadata'],
|
|
71
|
+
'isUsCitizen': value['isUsCitizen'],
|
|
70
72
|
'createdAt': value['createdAt'],
|
|
71
73
|
'updatedAt': value['updatedAt'],
|
|
72
74
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../src/openapi/src/models/User.ts"],"names":[],"mappings":";;;AAgBA,uCAImB;
|
|
1
|
+
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../src/openapi/src/models/User.ts"],"names":[],"mappings":";;;AAgBA,uCAImB;AAkGN,QAAA,aAAa,GAAG;IACzB,aAAa,EAAE,eAAe;IAC9B,QAAQ,EAAE,UAAU;CACd,CAAC;AAOX,SAAgB,cAAc,CAAC,KAAa;IACxC,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,IAAI,CAAC,CAAC,oBAAoB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,oBAAoB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChG,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1E,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,IAAI,CAAC,CAAC,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AK,CAAC,WAAW,CAAC;KAClC,CAAC;AACN,CAAC;AArBD,gCAqBC"}
|
|
@@ -16,6 +16,7 @@ export * from './BusinessBankAccount';
|
|
|
16
16
|
export * from './BusinessDocument';
|
|
17
17
|
export * from './BusinessDocumentType';
|
|
18
18
|
export * from './BusinessHasNoAccountsPayableFinancingProductException';
|
|
19
|
+
export * from './BusinessHasNoIntegratedMcaProductException';
|
|
19
20
|
export * from './BusinessHasNoInvoiceFinancingProductException';
|
|
20
21
|
export * from './BusinessHasNoPrimaryOwnerException';
|
|
21
22
|
export * from './BusinessNotFoundException';
|
|
@@ -48,6 +49,7 @@ export * from './GetActivityLogsResponse';
|
|
|
48
49
|
export * from './GetBusinessBankAccountsResponse';
|
|
49
50
|
export * from './GetBusinessesResponse';
|
|
50
51
|
export * from './GetDrawRequestsResponse';
|
|
52
|
+
export * from './GetIntegratedMcaPaymentWindowsResponse';
|
|
51
53
|
export * from './GetIntegratedMcaReceivablesResponse';
|
|
52
54
|
export * from './GetInvoice404Response';
|
|
53
55
|
export * from './GetInvoicesResponse';
|
|
@@ -59,6 +61,7 @@ export * from './GetUsersResponse';
|
|
|
59
61
|
export * from './IncorrectProductTypeException';
|
|
60
62
|
export * from './IncorrectRepaymentAmountException';
|
|
61
63
|
export * from './IntegratedMcaOfferTerms';
|
|
64
|
+
export * from './IntegratedMcaPaymentWindow';
|
|
62
65
|
export * from './IntegratedMcaReceivable';
|
|
63
66
|
export * from './IntegratedMcaReceivableAlreadyExistsException';
|
|
64
67
|
export * from './IntegratedMcaServicingData';
|
|
@@ -32,6 +32,7 @@ __exportStar(require("./BusinessBankAccount"), exports);
|
|
|
32
32
|
__exportStar(require("./BusinessDocument"), exports);
|
|
33
33
|
__exportStar(require("./BusinessDocumentType"), exports);
|
|
34
34
|
__exportStar(require("./BusinessHasNoAccountsPayableFinancingProductException"), exports);
|
|
35
|
+
__exportStar(require("./BusinessHasNoIntegratedMcaProductException"), exports);
|
|
35
36
|
__exportStar(require("./BusinessHasNoInvoiceFinancingProductException"), exports);
|
|
36
37
|
__exportStar(require("./BusinessHasNoPrimaryOwnerException"), exports);
|
|
37
38
|
__exportStar(require("./BusinessNotFoundException"), exports);
|
|
@@ -64,6 +65,7 @@ __exportStar(require("./GetActivityLogsResponse"), exports);
|
|
|
64
65
|
__exportStar(require("./GetBusinessBankAccountsResponse"), exports);
|
|
65
66
|
__exportStar(require("./GetBusinessesResponse"), exports);
|
|
66
67
|
__exportStar(require("./GetDrawRequestsResponse"), exports);
|
|
68
|
+
__exportStar(require("./GetIntegratedMcaPaymentWindowsResponse"), exports);
|
|
67
69
|
__exportStar(require("./GetIntegratedMcaReceivablesResponse"), exports);
|
|
68
70
|
__exportStar(require("./GetInvoice404Response"), exports);
|
|
69
71
|
__exportStar(require("./GetInvoicesResponse"), exports);
|
|
@@ -75,6 +77,7 @@ __exportStar(require("./GetUsersResponse"), exports);
|
|
|
75
77
|
__exportStar(require("./IncorrectProductTypeException"), exports);
|
|
76
78
|
__exportStar(require("./IncorrectRepaymentAmountException"), exports);
|
|
77
79
|
__exportStar(require("./IntegratedMcaOfferTerms"), exports);
|
|
80
|
+
__exportStar(require("./IntegratedMcaPaymentWindow"), exports);
|
|
78
81
|
__exportStar(require("./IntegratedMcaReceivable"), exports);
|
|
79
82
|
__exportStar(require("./IntegratedMcaReceivableAlreadyExistsException"), exports);
|
|
80
83
|
__exportStar(require("./IntegratedMcaServicingData"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/openapi/src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,uEAAqD;AACrD,0EAAwD;AACxD,+EAA6D;AAC7D,8FAA4E;AAC5E,kEAAgD;AAChD,iFAA+D;AAC/D,gDAA8B;AAC9B,4CAA0B;AAC1B,wDAAsC;AACtC,qEAAmD;AACnD,iEAA+C;AAC/C,mEAAiD;AACjD,6CAA2B;AAC3B,mEAAiD;AACjD,wDAAsC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AA+C;AAC/C,qEAAmD;AACnD,wDAAsC;AACtC,sEAAoD;AACpD,mGAAiF;AACjF,0FAAwE;AACxE,wFAAsE;AACtE,0EAAwD;AACxD,gDAA8B;AAC9B,mDAAiC;AACjC,kEAAgD;AAChD,mEAAiD;AACjD,uDAAqC;AACrC,0DAAwC;AACxC,iEAA+C;AAC/C,qEAAmD;AACnD,8DAA4C;AAC5C,0DAAwC;AACxC,0DAAwC;AACxC,yCAAuB;AACvB,wEAAsD;AACtD,iFAA+D;AAC/D,0DAAwC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/openapi/src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,uEAAqD;AACrD,0EAAwD;AACxD,+EAA6D;AAC7D,8FAA4E;AAC5E,kEAAgD;AAChD,iFAA+D;AAC/D,gDAA8B;AAC9B,4CAA0B;AAC1B,wDAAsC;AACtC,qEAAmD;AACnD,iEAA+C;AAC/C,mEAAiD;AACjD,6CAA2B;AAC3B,mEAAiD;AACjD,wDAAsC;AACtC,qDAAmC;AACnC,yDAAuC;AACvC,0FAAwE;AACxE,+EAA6D;AAC7D,kFAAgE;AAChE,uEAAqD;AACrD,8DAA4C;AAC5C,8EAA4D;AAC5D,6DAA2C;AAC3C,qEAAmD;AACnD,iDAA+B;AAC/B,8DAA4C;AAC5C,yEAAuD;AACvD,oEAAkD;AAClD,8DAA4C;AAC5C,kEAAgD;AAChD,qEAAmD;AACnD,6EAA2D;AAC3D,6EAA2D;AAC3D,sEAAoD;AACpD,kEAAgD;AAChD,sEAAoD;AACpD,0DAAwC;AACxC,0DAAwC;AACxC,0EAAwD;AACxD,gDAA8B;AAC9B,iEAA+C;AAC/C,qDAAmC;AACnC,oDAAkC;AAClC,oEAAkD;AAClD,wEAAsD;AACtD,uDAAqC;AACrC,4DAA0C;AAC1C,oEAAkD;AAClD,0DAAwC;AACxC,4DAA0C;AAC1C,2EAAyD;AACzD,wEAAsD;AACtD,0DAA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