@otr-app/shared-backend-generated-client 2.4.75 → 2.4.77

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.
@@ -9,14 +9,13 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { Timestamp } from './timestamp';
13
12
  import { AuditLog } from './auditLog';
14
13
 
15
14
 
16
15
  export interface CitationAuditLog {
17
16
  auditLogType?: CitationAuditLog.AuditLogTypeEnum;
18
17
  citationId?: number;
19
- creationDateUTC?: Timestamp;
18
+ eventDateUtc?: string;
20
19
  isActive?: boolean;
21
20
  logTrails?: Array<AuditLog>;
22
21
  }
@@ -17,6 +17,7 @@ import { StripeCardDomain } from './stripeCardDomain';
17
17
  export interface GetPaymentMethodsForUserResponse {
18
18
  bankAccounts?: Array<StripeBankAccountDomain>;
19
19
  cards?: Array<StripeCardDomain>;
20
+ hasOutstandingPayments?: boolean;
20
21
  paymentMethods?: Array<StripePaymentSourceDomain>;
21
22
  totalRecords?: number;
22
23
  }
@@ -13,7 +13,7 @@ import * as models from './models';
13
13
  export interface CitationAuditLog {
14
14
  "auditLogType"?: CitationAuditLog.AuditLogTypeEnum;
15
15
  "citationId"?: number;
16
- "creationDateUTC"?: models.Timestamp;
16
+ "eventDateUtc"?: string;
17
17
  "isActive"?: boolean;
18
18
  "logTrails"?: Array<models.AuditLog>;
19
19
  }
@@ -13,6 +13,7 @@ import * as models from './models';
13
13
  export interface GetPaymentMethodsForUserResponse {
14
14
  "bankAccounts"?: Array<models.StripeBankAccountDomain>;
15
15
  "cards"?: Array<models.StripeCardDomain>;
16
+ "hasOutstandingPayments"?: boolean;
16
17
  "paymentMethods"?: Array<models.StripePaymentSourceDomain>;
17
18
  "totalRecords"?: number;
18
19
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { AuditLog, Timestamp } from './';
12
+ import { AuditLog } from './';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -30,10 +30,10 @@ export interface CitationAuditLog {
30
30
  citationId?: number;
31
31
  /**
32
32
  *
33
- * @type {Timestamp}
33
+ * @type {Date}
34
34
  * @memberof CitationAuditLog
35
35
  */
36
- creationDateUTC?: Timestamp;
36
+ eventDateUtc?: Date;
37
37
  /**
38
38
  *
39
39
  * @type {boolean}
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
- import { AuditLogFromJSON, AuditLogToJSON, TimestampFromJSON, TimestampToJSON, } from './';
15
+ import { AuditLogFromJSON, AuditLogToJSON, } from './';
16
16
  export function CitationAuditLogFromJSON(json) {
17
17
  return CitationAuditLogFromJSONTyped(json, false);
18
18
  }
@@ -23,7 +23,7 @@ export function CitationAuditLogFromJSONTyped(json, ignoreDiscriminator) {
23
23
  return {
24
24
  'auditLogType': !exists(json, 'auditLogType') ? undefined : json['auditLogType'],
25
25
  'citationId': !exists(json, 'citationId') ? undefined : json['citationId'],
26
- 'creationDateUTC': !exists(json, 'creationDateUTC') ? undefined : TimestampFromJSON(json['creationDateUTC']),
26
+ 'eventDateUtc': !exists(json, 'eventDateUtc') ? undefined : (new Date(json['eventDateUtc'])),
27
27
  'isActive': !exists(json, 'isActive') ? undefined : json['isActive'],
28
28
  'logTrails': !exists(json, 'logTrails') ? undefined : (json['logTrails'].map(AuditLogFromJSON)),
29
29
  };
@@ -38,7 +38,7 @@ export function CitationAuditLogToJSON(value) {
38
38
  return {
39
39
  'auditLogType': value.auditLogType,
40
40
  'citationId': value.citationId,
41
- 'creationDateUTC': TimestampToJSON(value.creationDateUTC),
41
+ 'eventDateUtc': value.eventDateUtc === undefined ? undefined : (value.eventDateUtc.toISOString()),
42
42
  'isActive': value.isActive,
43
43
  'logTrails': value.logTrails === undefined ? undefined : (value.logTrails.map(AuditLogToJSON)),
44
44
  };
@@ -28,6 +28,12 @@ export interface GetPaymentMethodsForUserResponse {
28
28
  * @memberof GetPaymentMethodsForUserResponse
29
29
  */
30
30
  cards?: Array<StripeCardDomain>;
31
+ /**
32
+ *
33
+ * @type {boolean}
34
+ * @memberof GetPaymentMethodsForUserResponse
35
+ */
36
+ hasOutstandingPayments?: boolean;
31
37
  /**
32
38
  *
33
39
  * @type {Array<StripePaymentSourceDomain>}
@@ -23,6 +23,7 @@ export function GetPaymentMethodsForUserResponseFromJSONTyped(json, ignoreDiscri
23
23
  return {
24
24
  'bankAccounts': !exists(json, 'bankAccounts') ? undefined : (json['bankAccounts'].map(StripeBankAccountDomainFromJSON)),
25
25
  'cards': !exists(json, 'cards') ? undefined : (json['cards'].map(StripeCardDomainFromJSON)),
26
+ 'hasOutstandingPayments': !exists(json, 'hasOutstandingPayments') ? undefined : json['hasOutstandingPayments'],
26
27
  'paymentMethods': !exists(json, 'paymentMethods') ? undefined : (json['paymentMethods'].map(StripePaymentSourceDomainFromJSON)),
27
28
  'totalRecords': !exists(json, 'totalRecords') ? undefined : json['totalRecords'],
28
29
  };
@@ -37,6 +38,7 @@ export function GetPaymentMethodsForUserResponseToJSON(value) {
37
38
  return {
38
39
  'bankAccounts': value.bankAccounts === undefined ? undefined : (value.bankAccounts.map(StripeBankAccountDomainToJSON)),
39
40
  'cards': value.cards === undefined ? undefined : (value.cards.map(StripeCardDomainToJSON)),
41
+ 'hasOutstandingPayments': value.hasOutstandingPayments,
40
42
  'paymentMethods': value.paymentMethods === undefined ? undefined : (value.paymentMethods.map(StripePaymentSourceDomainToJSON)),
41
43
  'totalRecords': value.totalRecords,
42
44
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.4.75",
3
+ "version": "2.4.77",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"