@otr-app/shared-backend-generated-client 2.4.71 → 2.4.72

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.
@@ -796,6 +796,7 @@ model/stripeApplicationFeeDomain.ts
796
796
  model/stripeApplicationFeeRefundDomain.ts
797
797
  model/stripeApplicationFeeRefundSyncResults.ts
798
798
  model/stripeApplicationFeeSyncResults.ts
799
+ model/stripeBankAccountDomain.ts
799
800
  model/stripeCardDomain.ts
800
801
  model/stripeChargeDomain.ts
801
802
  model/stripeChargeSyncResults.ts
@@ -10,9 +10,13 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { StripePaymentSourceDomain } from './stripePaymentSourceDomain';
13
+ import { StripeBankAccountDomain } from './stripeBankAccountDomain';
14
+ import { StripeCardDomain } from './stripeCardDomain';
13
15
 
14
16
 
15
17
  export interface GetPaymentMethodsForUserResponse {
18
+ bankAccounts?: Array<StripeBankAccountDomain>;
19
+ cards?: Array<StripeCardDomain>;
16
20
  paymentMethods?: Array<StripePaymentSourceDomain>;
17
21
  totalRecords?: number;
18
22
  }
@@ -671,6 +671,7 @@ export * from './stripeApplicationFeeDomain';
671
671
  export * from './stripeApplicationFeeRefundDomain';
672
672
  export * from './stripeApplicationFeeRefundSyncResults';
673
673
  export * from './stripeApplicationFeeSyncResults';
674
+ export * from './stripeBankAccountDomain';
674
675
  export * from './stripeCardDomain';
675
676
  export * from './stripeChargeDomain';
676
677
  export * from './stripeChargeSyncResults';
@@ -0,0 +1,25 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Timestamp } from './timestamp';
13
+
14
+
15
+ export interface StripeBankAccountDomain {
16
+ bankName?: string;
17
+ country?: string;
18
+ creationDateUtc?: Timestamp;
19
+ id?: string;
20
+ isDefault?: boolean;
21
+ last4?: string;
22
+ object?: string;
23
+ status?: string;
24
+ }
25
+
@@ -11,6 +11,8 @@
11
11
  */
12
12
  import * as models from './models';
13
13
  export interface GetPaymentMethodsForUserResponse {
14
+ "bankAccounts"?: Array<models.StripeBankAccountDomain>;
15
+ "cards"?: Array<models.StripeCardDomain>;
14
16
  "paymentMethods"?: Array<models.StripePaymentSourceDomain>;
15
17
  "totalRecords"?: number;
16
18
  }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as models from './models';
13
+ export interface StripeBankAccountDomain {
14
+ "bankName"?: string;
15
+ "country"?: string;
16
+ "creationDateUtc"?: models.Timestamp;
17
+ "id"?: string;
18
+ "isDefault"?: boolean;
19
+ "last4"?: string;
20
+ "object"?: string;
21
+ "status"?: string;
22
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export {};
@@ -671,6 +671,7 @@ export * from './StripeApplicationFeeDomain';
671
671
  export * from './StripeApplicationFeeRefundDomain';
672
672
  export * from './StripeApplicationFeeRefundSyncResults';
673
673
  export * from './StripeApplicationFeeSyncResults';
674
+ export * from './StripeBankAccountDomain';
674
675
  export * from './StripeCardDomain';
675
676
  export * from './StripeChargeDomain';
676
677
  export * from './StripeChargeSyncResults';
@@ -671,6 +671,7 @@ export * from './StripeApplicationFeeDomain';
671
671
  export * from './StripeApplicationFeeRefundDomain';
672
672
  export * from './StripeApplicationFeeRefundSyncResults';
673
673
  export * from './StripeApplicationFeeSyncResults';
674
+ export * from './StripeBankAccountDomain';
674
675
  export * from './StripeCardDomain';
675
676
  export * from './StripeChargeDomain';
676
677
  export * from './StripeChargeSyncResults';
@@ -9,13 +9,25 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { StripePaymentSourceDomain } from './';
12
+ import { StripeBankAccountDomain, StripeCardDomain, StripePaymentSourceDomain } from './';
13
13
  /**
14
14
  *
15
15
  * @export
16
16
  * @interface GetPaymentMethodsForUserResponse
17
17
  */
18
18
  export interface GetPaymentMethodsForUserResponse {
19
+ /**
20
+ *
21
+ * @type {Array<StripeBankAccountDomain>}
22
+ * @memberof GetPaymentMethodsForUserResponse
23
+ */
24
+ bankAccounts?: Array<StripeBankAccountDomain>;
25
+ /**
26
+ *
27
+ * @type {Array<StripeCardDomain>}
28
+ * @memberof GetPaymentMethodsForUserResponse
29
+ */
30
+ cards?: Array<StripeCardDomain>;
19
31
  /**
20
32
  *
21
33
  * @type {Array<StripePaymentSourceDomain>}
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
- import { StripePaymentSourceDomainFromJSON, StripePaymentSourceDomainToJSON, } from './';
15
+ import { StripeBankAccountDomainFromJSON, StripeBankAccountDomainToJSON, StripeCardDomainFromJSON, StripeCardDomainToJSON, StripePaymentSourceDomainFromJSON, StripePaymentSourceDomainToJSON, } from './';
16
16
  export function GetPaymentMethodsForUserResponseFromJSON(json) {
17
17
  return GetPaymentMethodsForUserResponseFromJSONTyped(json, false);
18
18
  }
@@ -21,6 +21,8 @@ export function GetPaymentMethodsForUserResponseFromJSONTyped(json, ignoreDiscri
21
21
  return json;
22
22
  }
23
23
  return {
24
+ 'bankAccounts': !exists(json, 'bankAccounts') ? undefined : (json['bankAccounts'].map(StripeBankAccountDomainFromJSON)),
25
+ 'cards': !exists(json, 'cards') ? undefined : (json['cards'].map(StripeCardDomainFromJSON)),
24
26
  'paymentMethods': !exists(json, 'paymentMethods') ? undefined : (json['paymentMethods'].map(StripePaymentSourceDomainFromJSON)),
25
27
  'totalRecords': !exists(json, 'totalRecords') ? undefined : json['totalRecords'],
26
28
  };
@@ -33,6 +35,8 @@ export function GetPaymentMethodsForUserResponseToJSON(value) {
33
35
  return null;
34
36
  }
35
37
  return {
38
+ 'bankAccounts': value.bankAccounts === undefined ? undefined : (value.bankAccounts.map(StripeBankAccountDomainToJSON)),
39
+ 'cards': value.cards === undefined ? undefined : (value.cards.map(StripeCardDomainToJSON)),
36
40
  'paymentMethods': value.paymentMethods === undefined ? undefined : (value.paymentMethods.map(StripePaymentSourceDomainToJSON)),
37
41
  'totalRecords': value.totalRecords,
38
42
  };
@@ -0,0 +1,70 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Timestamp } from './';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface StripeBankAccountDomain
17
+ */
18
+ export interface StripeBankAccountDomain {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof StripeBankAccountDomain
23
+ */
24
+ bankName?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof StripeBankAccountDomain
29
+ */
30
+ country?: string;
31
+ /**
32
+ *
33
+ * @type {Timestamp}
34
+ * @memberof StripeBankAccountDomain
35
+ */
36
+ creationDateUtc?: Timestamp;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof StripeBankAccountDomain
41
+ */
42
+ id?: string;
43
+ /**
44
+ *
45
+ * @type {boolean}
46
+ * @memberof StripeBankAccountDomain
47
+ */
48
+ isDefault?: boolean;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof StripeBankAccountDomain
53
+ */
54
+ last4?: string;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof StripeBankAccountDomain
59
+ */
60
+ object?: string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof StripeBankAccountDomain
65
+ */
66
+ status?: string;
67
+ }
68
+ export declare function StripeBankAccountDomainFromJSON(json: any): StripeBankAccountDomain;
69
+ export declare function StripeBankAccountDomainFromJSONTyped(json: any, ignoreDiscriminator: boolean): StripeBankAccountDomain;
70
+ export declare function StripeBankAccountDomainToJSON(value?: StripeBankAccountDomain | null): any;
@@ -0,0 +1,51 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OffTheRecord Rest Service API - Devo
5
+ * A service to handle your traffic tickets
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ import { TimestampFromJSON, TimestampToJSON, } from './';
16
+ export function StripeBankAccountDomainFromJSON(json) {
17
+ return StripeBankAccountDomainFromJSONTyped(json, false);
18
+ }
19
+ export function StripeBankAccountDomainFromJSONTyped(json, ignoreDiscriminator) {
20
+ if ((json === undefined) || (json === null)) {
21
+ return json;
22
+ }
23
+ return {
24
+ 'bankName': !exists(json, 'bankName') ? undefined : json['bankName'],
25
+ 'country': !exists(json, 'country') ? undefined : json['country'],
26
+ 'creationDateUtc': !exists(json, 'creationDateUtc') ? undefined : TimestampFromJSON(json['creationDateUtc']),
27
+ 'id': !exists(json, 'id') ? undefined : json['id'],
28
+ 'isDefault': !exists(json, 'isDefault') ? undefined : json['isDefault'],
29
+ 'last4': !exists(json, 'last4') ? undefined : json['last4'],
30
+ 'object': !exists(json, 'object') ? undefined : json['object'],
31
+ 'status': !exists(json, 'status') ? undefined : json['status'],
32
+ };
33
+ }
34
+ export function StripeBankAccountDomainToJSON(value) {
35
+ if (value === undefined) {
36
+ return undefined;
37
+ }
38
+ if (value === null) {
39
+ return null;
40
+ }
41
+ return {
42
+ 'bankName': value.bankName,
43
+ 'country': value.country,
44
+ 'creationDateUtc': TimestampToJSON(value.creationDateUtc),
45
+ 'id': value.id,
46
+ 'isDefault': value.isDefault,
47
+ 'last4': value.last4,
48
+ 'object': value.object,
49
+ 'status': value.status,
50
+ };
51
+ }
@@ -671,6 +671,7 @@ export * from './StripeApplicationFeeDomain';
671
671
  export * from './StripeApplicationFeeRefundDomain';
672
672
  export * from './StripeApplicationFeeRefundSyncResults';
673
673
  export * from './StripeApplicationFeeSyncResults';
674
+ export * from './StripeBankAccountDomain';
674
675
  export * from './StripeCardDomain';
675
676
  export * from './StripeChargeDomain';
676
677
  export * from './StripeChargeSyncResults';
@@ -671,6 +671,7 @@ export * from './StripeApplicationFeeDomain';
671
671
  export * from './StripeApplicationFeeRefundDomain';
672
672
  export * from './StripeApplicationFeeRefundSyncResults';
673
673
  export * from './StripeApplicationFeeSyncResults';
674
+ export * from './StripeBankAccountDomain';
674
675
  export * from './StripeCardDomain';
675
676
  export * from './StripeChargeDomain';
676
677
  export * from './StripeChargeSyncResults';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.4.71",
3
+ "version": "2.4.72",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"