@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.
@@ -12,6 +12,8 @@
12
12
 
13
13
 
14
14
  export interface AddACHToStripeAccountRequest {
15
+ accountIdempotencyKey?: string;
16
+ achIdempotencyKey?: string;
15
17
  makeDefault?: boolean;
16
18
  plaidBankAccountId?: string;
17
19
  plaidPublicToken?: string;
@@ -12,6 +12,8 @@
12
12
 
13
13
 
14
14
  export interface AddCardToStripeAccountRequest {
15
+ accountIdempotencyKey?: string;
16
+ cardIdempotencyKey?: string;
15
17
  caseId?: string;
16
18
  makeDefault?: boolean;
17
19
  sourceToken?: string;
@@ -13,6 +13,7 @@ import { SubscriptionGuardianModel } from './subscriptionGuardianModel';
13
13
 
14
14
 
15
15
  export interface CreateBillingSubscriptionRequest {
16
+ accountIdempotencyKey?: string;
16
17
  cardId?: string;
17
18
  guardian?: SubscriptionGuardianModel;
18
19
  priceIds?: Array<string>;
@@ -10,6 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export interface AddACHToStripeAccountRequest {
13
+ "accountIdempotencyKey"?: string;
14
+ "achIdempotencyKey"?: string;
13
15
  "makeDefault"?: boolean;
14
16
  "plaidBankAccountId"?: string;
15
17
  "plaidPublicToken"?: string;
@@ -10,6 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export interface AddCardToStripeAccountRequest {
13
+ "accountIdempotencyKey"?: string;
14
+ "cardIdempotencyKey"?: string;
13
15
  "caseId"?: string;
14
16
  "makeDefault"?: boolean;
15
17
  "sourceToken"?: string;
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import * as models from './models';
13
13
  export interface CreateBillingSubscriptionRequest {
14
+ "accountIdempotencyKey"?: string;
14
15
  "cardId"?: string;
15
16
  "guardian"?: models.SubscriptionGuardianModel;
16
17
  "priceIds"?: Array<string>;
@@ -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[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.5.40",
3
+ "version": "2.5.41",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"