ultracart_rest_api_v2_typescript 4.0.146 → 4.0.147
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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@4.0.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.147
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install ultracart_rest_api_v2_typescript@4.0.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@4.0.147 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,7 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 4.0.147 | 04/17/2023 | OrderPaymentTransaction - expose the transaction id |
|
|
57
58
|
| 4.0.146 | 04/11/2023 | missing sezzle payment constant |
|
|
58
59
|
| 4.0.145 | 04/10/2023 | data warehouse internal dev |
|
|
59
60
|
| 4.0.144 | 03/29/2023 | internal development |
|
|
@@ -34,6 +34,12 @@ export interface OrderPaymentTransaction {
|
|
|
34
34
|
* @memberof OrderPaymentTransaction
|
|
35
35
|
*/
|
|
36
36
|
transaction_gateway?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Transaction ID
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof OrderPaymentTransaction
|
|
41
|
+
*/
|
|
42
|
+
transaction_id?: number;
|
|
37
43
|
/**
|
|
38
44
|
* Transaction date/time
|
|
39
45
|
* @type {string}
|
|
@@ -28,6 +28,7 @@ function OrderPaymentTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
'details': !(0, runtime_1.exists)(json, 'details') ? undefined : (json['details'].map(OrderPaymentTransactionDetail_1.OrderPaymentTransactionDetailFromJSON)),
|
|
29
29
|
'successful': !(0, runtime_1.exists)(json, 'successful') ? undefined : json['successful'],
|
|
30
30
|
'transaction_gateway': !(0, runtime_1.exists)(json, 'transaction_gateway') ? undefined : json['transaction_gateway'],
|
|
31
|
+
'transaction_id': !(0, runtime_1.exists)(json, 'transaction_id') ? undefined : json['transaction_id'],
|
|
31
32
|
'transaction_timestamp': !(0, runtime_1.exists)(json, 'transaction_timestamp') ? undefined : json['transaction_timestamp'],
|
|
32
33
|
};
|
|
33
34
|
}
|
|
@@ -43,6 +44,7 @@ function OrderPaymentTransactionToJSON(value) {
|
|
|
43
44
|
'details': value.details === undefined ? undefined : (value.details.map(OrderPaymentTransactionDetail_1.OrderPaymentTransactionDetailToJSON)),
|
|
44
45
|
'successful': value.successful,
|
|
45
46
|
'transaction_gateway': value.transaction_gateway,
|
|
47
|
+
'transaction_id': value.transaction_id,
|
|
46
48
|
'transaction_timestamp': value.transaction_timestamp,
|
|
47
49
|
};
|
|
48
50
|
}
|
package/package.json
CHANGED
|
@@ -44,6 +44,12 @@ export interface OrderPaymentTransaction {
|
|
|
44
44
|
* @memberof OrderPaymentTransaction
|
|
45
45
|
*/
|
|
46
46
|
transaction_gateway?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Transaction ID
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof OrderPaymentTransaction
|
|
51
|
+
*/
|
|
52
|
+
transaction_id?: number;
|
|
47
53
|
/**
|
|
48
54
|
* Transaction date/time
|
|
49
55
|
* @type {string}
|
|
@@ -65,6 +71,7 @@ export function OrderPaymentTransactionFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
65
71
|
'details': !exists(json, 'details') ? undefined : ((json['details'] as Array<any>).map(OrderPaymentTransactionDetailFromJSON)),
|
|
66
72
|
'successful': !exists(json, 'successful') ? undefined : json['successful'],
|
|
67
73
|
'transaction_gateway': !exists(json, 'transaction_gateway') ? undefined : json['transaction_gateway'],
|
|
74
|
+
'transaction_id': !exists(json, 'transaction_id') ? undefined : json['transaction_id'],
|
|
68
75
|
'transaction_timestamp': !exists(json, 'transaction_timestamp') ? undefined : json['transaction_timestamp'],
|
|
69
76
|
};
|
|
70
77
|
}
|
|
@@ -81,6 +88,7 @@ export function OrderPaymentTransactionToJSON(value?: OrderPaymentTransaction |
|
|
|
81
88
|
'details': value.details === undefined ? undefined : ((value.details as Array<any>).map(OrderPaymentTransactionDetailToJSON)),
|
|
82
89
|
'successful': value.successful,
|
|
83
90
|
'transaction_gateway': value.transaction_gateway,
|
|
91
|
+
'transaction_id': value.transaction_id,
|
|
84
92
|
'transaction_timestamp': value.transaction_timestamp,
|
|
85
93
|
};
|
|
86
94
|
}
|