@randock/nameshift-api-client 0.0.262 → 0.0.263
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
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.263
|
|
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 @randock/nameshift-api-client@0.0.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.263 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
-
|
|
47
|
+
8621240e957ba3ce8d32737942c7f1d0e328099555a926d22f120d7e5d3e56645f789263a0ab36f679e39c6f642d5e90
|
|
@@ -37,6 +37,12 @@ export interface OrderListItemDto {
|
|
|
37
37
|
* @memberof OrderListItemDto
|
|
38
38
|
*/
|
|
39
39
|
createdAt: Date;
|
|
40
|
+
/**
|
|
41
|
+
* The order paid date
|
|
42
|
+
* @type {Date}
|
|
43
|
+
* @memberof OrderListItemDto
|
|
44
|
+
*/
|
|
45
|
+
paidAt: Date | null;
|
|
40
46
|
/**
|
|
41
47
|
* The order domain information
|
|
42
48
|
* @type {OrderListItemDtoDomainInformation}
|
|
@@ -41,6 +41,8 @@ function instanceOfOrderListItemDto(value) {
|
|
|
41
41
|
return false;
|
|
42
42
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
43
43
|
return false;
|
|
44
|
+
if (!('paidAt' in value) || value['paidAt'] === undefined)
|
|
45
|
+
return false;
|
|
44
46
|
if (!('domain' in value) || value['domain'] === undefined)
|
|
45
47
|
return false;
|
|
46
48
|
if (!('sellerAccount' in value) || value['sellerAccount'] === undefined)
|
|
@@ -66,6 +68,7 @@ function OrderListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
66
68
|
'id': json['id'],
|
|
67
69
|
'status': json['status'],
|
|
68
70
|
'createdAt': (new Date(json['createdAt'])),
|
|
71
|
+
'paidAt': (json['paidAt'] == null ? null : new Date(json['paidAt'])),
|
|
69
72
|
'domain': (0, OrderListItemDtoDomainInformation_1.OrderListItemDtoDomainInformationFromJSON)(json['domain']),
|
|
70
73
|
'sellerAccount': (0, OrderListItemDtoSellerAccount_1.OrderListItemDtoSellerAccountFromJSON)(json['sellerAccount']),
|
|
71
74
|
'buyerInformation': (0, OrderListItemDtoBuyerInformation_1.OrderListItemDtoBuyerInformationFromJSON)(json['buyerInformation']),
|
|
@@ -86,6 +89,7 @@ function OrderListItemDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
86
89
|
'id': value['id'],
|
|
87
90
|
'status': value['status'],
|
|
88
91
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
92
|
+
'paidAt': (value['paidAt'] == null ? null : value['paidAt'].toISOString()),
|
|
89
93
|
'domain': (0, OrderListItemDtoDomainInformation_1.OrderListItemDtoDomainInformationToJSON)(value['domain']),
|
|
90
94
|
'sellerAccount': (0, OrderListItemDtoSellerAccount_1.OrderListItemDtoSellerAccountToJSON)(value['sellerAccount']),
|
|
91
95
|
'buyerInformation': (0, OrderListItemDtoBuyerInformation_1.OrderListItemDtoBuyerInformationToJSON)(value['buyerInformation']),
|
package/package.json
CHANGED
|
@@ -66,6 +66,12 @@ export interface OrderListItemDto {
|
|
|
66
66
|
* @memberof OrderListItemDto
|
|
67
67
|
*/
|
|
68
68
|
createdAt: Date;
|
|
69
|
+
/**
|
|
70
|
+
* The order paid date
|
|
71
|
+
* @type {Date}
|
|
72
|
+
* @memberof OrderListItemDto
|
|
73
|
+
*/
|
|
74
|
+
paidAt: Date | null;
|
|
69
75
|
/**
|
|
70
76
|
* The order domain information
|
|
71
77
|
* @type {OrderListItemDtoDomainInformation}
|
|
@@ -123,6 +129,7 @@ export function instanceOfOrderListItemDto(value: object): value is OrderListIte
|
|
|
123
129
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
124
130
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
125
131
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
132
|
+
if (!('paidAt' in value) || value['paidAt'] === undefined) return false;
|
|
126
133
|
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
127
134
|
if (!('sellerAccount' in value) || value['sellerAccount'] === undefined) return false;
|
|
128
135
|
if (!('buyerInformation' in value) || value['buyerInformation'] === undefined) return false;
|
|
@@ -145,6 +152,7 @@ export function OrderListItemDtoFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
145
152
|
'id': json['id'],
|
|
146
153
|
'status': json['status'],
|
|
147
154
|
'createdAt': (new Date(json['createdAt'])),
|
|
155
|
+
'paidAt': (json['paidAt'] == null ? null : new Date(json['paidAt'])),
|
|
148
156
|
'domain': OrderListItemDtoDomainInformationFromJSON(json['domain']),
|
|
149
157
|
'sellerAccount': OrderListItemDtoSellerAccountFromJSON(json['sellerAccount']),
|
|
150
158
|
'buyerInformation': OrderListItemDtoBuyerInformationFromJSON(json['buyerInformation']),
|
|
@@ -168,6 +176,7 @@ export function OrderListItemDtoToJSONTyped(value?: OrderListItemDto | null, ign
|
|
|
168
176
|
'id': value['id'],
|
|
169
177
|
'status': value['status'],
|
|
170
178
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
179
|
+
'paidAt': (value['paidAt'] == null ? null : (value['paidAt'] as any).toISOString()),
|
|
171
180
|
'domain': OrderListItemDtoDomainInformationToJSON(value['domain']),
|
|
172
181
|
'sellerAccount': OrderListItemDtoSellerAccountToJSON(value['sellerAccount']),
|
|
173
182
|
'buyerInformation': OrderListItemDtoBuyerInformationToJSON(value['buyerInformation']),
|