@otr-app/shared-backend-generated-client 2.5.40 → 2.5.41
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/angular/model/addACHToStripeAccountRequest.ts +2 -0
- package/dist/angular/model/addCardToStripeAccountRequest.ts +2 -0
- package/dist/angular/model/createBillingSubscriptionRequest.ts +1 -0
- package/dist/typescript/model/AddACHToStripeAccountRequest.d.ts +2 -0
- package/dist/typescript/model/AddCardToStripeAccountRequest.d.ts +2 -0
- package/dist/typescript/model/CreateBillingSubscriptionRequest.d.ts +1 -0
- package/dist/typescript-fetch/models/AddACHToStripeAccountRequest.d.ts +12 -0
- package/dist/typescript-fetch/models/AddACHToStripeAccountRequest.js +4 -0
- package/dist/typescript-fetch/models/AddCardToStripeAccountRequest.d.ts +12 -0
- package/dist/typescript-fetch/models/AddCardToStripeAccountRequest.js +4 -0
- package/dist/typescript-fetch/models/CreateBillingSubscriptionRequest.d.ts +6 -0
- package/dist/typescript-fetch/models/CreateBillingSubscriptionRequest.js +2 -0
- package/dist/typescript-open-api/otr-backend.d.ts +5 -0
- package/package.json +1 -1
|
@@ -15,6 +15,18 @@
|
|
|
15
15
|
* @interface AddACHToStripeAccountRequest
|
|
16
16
|
*/
|
|
17
17
|
export interface AddACHToStripeAccountRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AddACHToStripeAccountRequest
|
|
22
|
+
*/
|
|
23
|
+
accountIdempotencyKey?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AddACHToStripeAccountRequest
|
|
28
|
+
*/
|
|
29
|
+
achIdempotencyKey?: string;
|
|
18
30
|
/**
|
|
19
31
|
*
|
|
20
32
|
* @type {boolean}
|
|
@@ -20,6 +20,8 @@ export function AddACHToStripeAccountRequestFromJSONTyped(json, ignoreDiscrimina
|
|
|
20
20
|
return json;
|
|
21
21
|
}
|
|
22
22
|
return {
|
|
23
|
+
'accountIdempotencyKey': !exists(json, 'accountIdempotencyKey') ? undefined : json['accountIdempotencyKey'],
|
|
24
|
+
'achIdempotencyKey': !exists(json, 'achIdempotencyKey') ? undefined : json['achIdempotencyKey'],
|
|
23
25
|
'makeDefault': !exists(json, 'makeDefault') ? undefined : json['makeDefault'],
|
|
24
26
|
'plaidBankAccountId': !exists(json, 'plaidBankAccountId') ? undefined : json['plaidBankAccountId'],
|
|
25
27
|
'plaidPublicToken': !exists(json, 'plaidPublicToken') ? undefined : json['plaidPublicToken'],
|
|
@@ -33,6 +35,8 @@ export function AddACHToStripeAccountRequestToJSON(value) {
|
|
|
33
35
|
return null;
|
|
34
36
|
}
|
|
35
37
|
return {
|
|
38
|
+
'accountIdempotencyKey': value.accountIdempotencyKey,
|
|
39
|
+
'achIdempotencyKey': value.achIdempotencyKey,
|
|
36
40
|
'makeDefault': value.makeDefault,
|
|
37
41
|
'plaidBankAccountId': value.plaidBankAccountId,
|
|
38
42
|
'plaidPublicToken': value.plaidPublicToken,
|
|
@@ -15,6 +15,18 @@
|
|
|
15
15
|
* @interface AddCardToStripeAccountRequest
|
|
16
16
|
*/
|
|
17
17
|
export interface AddCardToStripeAccountRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AddCardToStripeAccountRequest
|
|
22
|
+
*/
|
|
23
|
+
accountIdempotencyKey?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AddCardToStripeAccountRequest
|
|
28
|
+
*/
|
|
29
|
+
cardIdempotencyKey?: string;
|
|
18
30
|
/**
|
|
19
31
|
*
|
|
20
32
|
* @type {string}
|
|
@@ -20,6 +20,8 @@ export function AddCardToStripeAccountRequestFromJSONTyped(json, ignoreDiscrimin
|
|
|
20
20
|
return json;
|
|
21
21
|
}
|
|
22
22
|
return {
|
|
23
|
+
'accountIdempotencyKey': !exists(json, 'accountIdempotencyKey') ? undefined : json['accountIdempotencyKey'],
|
|
24
|
+
'cardIdempotencyKey': !exists(json, 'cardIdempotencyKey') ? undefined : json['cardIdempotencyKey'],
|
|
23
25
|
'caseId': !exists(json, 'caseId') ? undefined : json['caseId'],
|
|
24
26
|
'makeDefault': !exists(json, 'makeDefault') ? undefined : json['makeDefault'],
|
|
25
27
|
'sourceToken': !exists(json, 'sourceToken') ? undefined : json['sourceToken'],
|
|
@@ -34,6 +36,8 @@ export function AddCardToStripeAccountRequestToJSON(value) {
|
|
|
34
36
|
return null;
|
|
35
37
|
}
|
|
36
38
|
return {
|
|
39
|
+
'accountIdempotencyKey': value.accountIdempotencyKey,
|
|
40
|
+
'cardIdempotencyKey': value.cardIdempotencyKey,
|
|
37
41
|
'caseId': value.caseId,
|
|
38
42
|
'makeDefault': value.makeDefault,
|
|
39
43
|
'sourceToken': value.sourceToken,
|
|
@@ -16,6 +16,12 @@ import { SubscriptionGuardianModel } from './';
|
|
|
16
16
|
* @interface CreateBillingSubscriptionRequest
|
|
17
17
|
*/
|
|
18
18
|
export interface CreateBillingSubscriptionRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreateBillingSubscriptionRequest
|
|
23
|
+
*/
|
|
24
|
+
accountIdempotencyKey?: string;
|
|
19
25
|
/**
|
|
20
26
|
*
|
|
21
27
|
* @type {string}
|
|
@@ -21,6 +21,7 @@ export function CreateBillingSubscriptionRequestFromJSONTyped(json, ignoreDiscri
|
|
|
21
21
|
return json;
|
|
22
22
|
}
|
|
23
23
|
return {
|
|
24
|
+
'accountIdempotencyKey': !exists(json, 'accountIdempotencyKey') ? undefined : json['accountIdempotencyKey'],
|
|
24
25
|
'cardId': !exists(json, 'cardId') ? undefined : json['cardId'],
|
|
25
26
|
'guardian': !exists(json, 'guardian') ? undefined : SubscriptionGuardianModelFromJSON(json['guardian']),
|
|
26
27
|
'priceIds': !exists(json, 'priceIds') ? undefined : json['priceIds'],
|
|
@@ -36,6 +37,7 @@ export function CreateBillingSubscriptionRequestToJSON(value) {
|
|
|
36
37
|
return null;
|
|
37
38
|
}
|
|
38
39
|
return {
|
|
40
|
+
'accountIdempotencyKey': value.accountIdempotencyKey,
|
|
39
41
|
'cardId': value.cardId,
|
|
40
42
|
'guardian': SubscriptionGuardianModelToJSON(value.guardian),
|
|
41
43
|
'priceIds': value.priceIds,
|
|
@@ -7266,6 +7266,8 @@ export interface components {
|
|
|
7266
7266
|
};
|
|
7267
7267
|
/** AddACHToStripeAccountRequest */
|
|
7268
7268
|
AddACHToStripeAccountRequest: {
|
|
7269
|
+
accountIdempotencyKey?: string;
|
|
7270
|
+
achIdempotencyKey?: string;
|
|
7269
7271
|
makeDefault?: boolean;
|
|
7270
7272
|
plaidBankAccountId?: string;
|
|
7271
7273
|
plaidPublicToken?: string;
|
|
@@ -7280,6 +7282,8 @@ export interface components {
|
|
|
7280
7282
|
};
|
|
7281
7283
|
/** AddCardToStripeAccountRequest */
|
|
7282
7284
|
AddCardToStripeAccountRequest: {
|
|
7285
|
+
accountIdempotencyKey?: string;
|
|
7286
|
+
cardIdempotencyKey?: string;
|
|
7283
7287
|
caseId?: string;
|
|
7284
7288
|
makeDefault?: boolean;
|
|
7285
7289
|
sourceToken?: string;
|
|
@@ -9472,6 +9476,7 @@ export interface components {
|
|
|
9472
9476
|
};
|
|
9473
9477
|
/** CreateBillingSubscriptionRequest */
|
|
9474
9478
|
CreateBillingSubscriptionRequest: {
|
|
9479
|
+
accountIdempotencyKey?: string;
|
|
9475
9480
|
cardId?: string;
|
|
9476
9481
|
guardian?: components["schemas"]["SubscriptionGuardianModel"];
|
|
9477
9482
|
priceIds?: string[];
|