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

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.
@@ -16,6 +16,7 @@ export interface CasePaymentModel {
16
16
  captureDateUtc?: string;
17
17
  dueDate?: string;
18
18
  dueNow?: boolean;
19
+ expiryDateUtc?: string;
19
20
  feeAmount?: number;
20
21
  items?: Array<CasePaymentBreakdownItemModel>;
21
22
  }
@@ -9,10 +9,12 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { AuthorModel } from './authorModel';
12
13
  import { CaseCounterOptionModel } from './caseCounterOptionModel';
13
14
 
14
15
 
15
16
  export interface GetCounterOfferResponse {
17
+ author?: AuthorModel;
16
18
  counterOfferAmountInCents?: number;
17
19
  counterOfferDateUtc?: string;
18
20
  counterOfferId?: number;
@@ -14,6 +14,7 @@ export interface CasePaymentModel {
14
14
  "captureDateUtc"?: string;
15
15
  "dueDate"?: string;
16
16
  "dueNow"?: boolean;
17
+ "expiryDateUtc"?: string;
17
18
  "feeAmount"?: number;
18
19
  "items"?: Array<models.CasePaymentBreakdownItemModel>;
19
20
  }
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import * as models from './models';
13
13
  export interface GetCounterOfferResponse {
14
+ "author"?: models.AuthorModel;
14
15
  "counterOfferAmountInCents"?: number;
15
16
  "counterOfferDateUtc"?: string;
16
17
  "counterOfferId"?: number;
@@ -34,6 +34,12 @@ export interface CasePaymentModel {
34
34
  * @memberof CasePaymentModel
35
35
  */
36
36
  dueNow?: boolean;
37
+ /**
38
+ *
39
+ * @type {Date}
40
+ * @memberof CasePaymentModel
41
+ */
42
+ expiryDateUtc?: Date;
37
43
  /**
38
44
  *
39
45
  * @type {number}
@@ -24,6 +24,7 @@ export function CasePaymentModelFromJSONTyped(json, ignoreDiscriminator) {
24
24
  'captureDateUtc': !exists(json, 'captureDateUtc') ? undefined : (new Date(json['captureDateUtc'])),
25
25
  'dueDate': !exists(json, 'dueDate') ? undefined : (new Date(json['dueDate'])),
26
26
  'dueNow': !exists(json, 'dueNow') ? undefined : json['dueNow'],
27
+ 'expiryDateUtc': !exists(json, 'expiryDateUtc') ? undefined : (new Date(json['expiryDateUtc'])),
27
28
  'feeAmount': !exists(json, 'feeAmount') ? undefined : json['feeAmount'],
28
29
  'items': !exists(json, 'items') ? undefined : (json['items'].map(CasePaymentBreakdownItemModelFromJSON)),
29
30
  };
@@ -39,6 +40,7 @@ export function CasePaymentModelToJSON(value) {
39
40
  'captureDateUtc': value.captureDateUtc === undefined ? undefined : (value.captureDateUtc.toISOString()),
40
41
  'dueDate': value.dueDate === undefined ? undefined : (value.dueDate.toISOString()),
41
42
  'dueNow': value.dueNow,
43
+ 'expiryDateUtc': value.expiryDateUtc === undefined ? undefined : (value.expiryDateUtc.toISOString()),
42
44
  'feeAmount': value.feeAmount,
43
45
  'items': value.items === undefined ? undefined : (value.items.map(CasePaymentBreakdownItemModelToJSON)),
44
46
  };
@@ -9,13 +9,19 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { CaseCounterOptionModel } from './';
12
+ import { AuthorModel, CaseCounterOptionModel } from './';
13
13
  /**
14
14
  *
15
15
  * @export
16
16
  * @interface GetCounterOfferResponse
17
17
  */
18
18
  export interface GetCounterOfferResponse {
19
+ /**
20
+ *
21
+ * @type {AuthorModel}
22
+ * @memberof GetCounterOfferResponse
23
+ */
24
+ author?: AuthorModel;
19
25
  /**
20
26
  *
21
27
  * @type {number}
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
- import { CaseCounterOptionModelFromJSON, CaseCounterOptionModelToJSON, } from './';
15
+ import { AuthorModelFromJSON, AuthorModelToJSON, CaseCounterOptionModelFromJSON, CaseCounterOptionModelToJSON, } from './';
16
16
  export function GetCounterOfferResponseFromJSON(json) {
17
17
  return GetCounterOfferResponseFromJSONTyped(json, false);
18
18
  }
@@ -21,6 +21,7 @@ export function GetCounterOfferResponseFromJSONTyped(json, ignoreDiscriminator)
21
21
  return json;
22
22
  }
23
23
  return {
24
+ 'author': !exists(json, 'author') ? undefined : AuthorModelFromJSON(json['author']),
24
25
  'counterOfferAmountInCents': !exists(json, 'counterOfferAmountInCents') ? undefined : json['counterOfferAmountInCents'],
25
26
  'counterOfferDateUtc': !exists(json, 'counterOfferDateUtc') ? undefined : (new Date(json['counterOfferDateUtc'])),
26
27
  'counterOfferId': !exists(json, 'counterOfferId') ? undefined : json['counterOfferId'],
@@ -46,6 +47,7 @@ export function GetCounterOfferResponseToJSON(value) {
46
47
  return null;
47
48
  }
48
49
  return {
50
+ 'author': AuthorModelToJSON(value.author),
49
51
  'counterOfferAmountInCents': value.counterOfferAmountInCents,
50
52
  'counterOfferDateUtc': value.counterOfferDateUtc === undefined ? undefined : (value.counterOfferDateUtc.toISOString()),
51
53
  'counterOfferId': value.counterOfferId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.4.74",
3
+ "version": "2.4.75",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"