@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.
- package/dist/angular/model/casePaymentModel.ts +1 -0
- package/dist/angular/model/getCounterOfferResponse.ts +2 -0
- package/dist/typescript/model/CasePaymentModel.d.ts +1 -0
- package/dist/typescript/model/GetCounterOfferResponse.d.ts +1 -0
- package/dist/typescript-fetch/models/CasePaymentModel.d.ts +6 -0
- package/dist/typescript-fetch/models/CasePaymentModel.js +2 -0
- package/dist/typescript-fetch/models/GetCounterOfferResponse.d.ts +7 -1
- package/dist/typescript-fetch/models/GetCounterOfferResponse.js +3 -1
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -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,
|