@randock/nameshift-api-client 0.0.261 → 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.261
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.261 --save
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
- 4dc55629a6fc8b1284fc5cdecc6da26329c09faa942139e3dc9372cfd27b4abd523420d9329f2330c1543126b843f547
47
+ 8621240e957ba3ce8d32737942c7f1d0e328099555a926d22f120d7e5d3e56645f789263a0ab36f679e39c6f642d5e90
@@ -80,6 +80,12 @@ export interface AccountSettingsInput {
80
80
  * @memberof AccountSettingsInput
81
81
  */
82
82
  timezone?: string;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof AccountSettingsInput
87
+ */
88
+ alias?: string;
83
89
  }
84
90
  /**
85
91
  * Check if a given object implements the AccountSettingsInput interface.
@@ -47,6 +47,7 @@ function AccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
47
47
  'timeTable': json['timeTable'] == null ? undefined : (0, TimeTableConfigurationInput_1.TimeTableConfigurationInputFromJSON)(json['timeTable']),
48
48
  'leadPriceNegotiatorAiAgent': json['leadPriceNegotiatorAiAgent'] == null ? undefined : (0, LeadPriceNegotiatorAiAgentConfigurationInput_1.LeadPriceNegotiatorAiAgentConfigurationInputFromJSON)(json['leadPriceNegotiatorAiAgent']),
49
49
  'timezone': json['timezone'] == null ? undefined : json['timezone'],
50
+ 'alias': json['alias'] == null ? undefined : json['alias'],
50
51
  };
51
52
  }
52
53
  function AccountSettingsInputToJSON(json) {
@@ -68,5 +69,6 @@ function AccountSettingsInputToJSONTyped(value, ignoreDiscriminator) {
68
69
  'timeTable': (0, TimeTableConfigurationInput_1.TimeTableConfigurationInputToJSON)(value['timeTable']),
69
70
  'leadPriceNegotiatorAiAgent': (0, LeadPriceNegotiatorAiAgentConfigurationInput_1.LeadPriceNegotiatorAiAgentConfigurationInputToJSON)(value['leadPriceNegotiatorAiAgent']),
70
71
  'timezone': value['timezone'],
72
+ 'alias': value['alias'],
71
73
  };
72
74
  }
@@ -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']),
@@ -92,6 +92,12 @@ export interface WithSettingsInner {
92
92
  * @memberof WithSettingsInner
93
93
  */
94
94
  timezone: string;
95
+ /**
96
+ *
97
+ * @type {string}
98
+ * @memberof WithSettingsInner
99
+ */
100
+ alias: string | null;
95
101
  /**
96
102
  *
97
103
  * @type {LeadPriceNegotiatorAiAgentConfigurationDto}
@@ -51,6 +51,8 @@ function instanceOfWithSettingsInner(value) {
51
51
  return false;
52
52
  if (!('timezone' in value) || value['timezone'] === undefined)
53
53
  return false;
54
+ if (!('alias' in value) || value['alias'] === undefined)
55
+ return false;
54
56
  if (!('leadPriceNegotiatorAiAgent' in value) || value['leadPriceNegotiatorAiAgent'] === undefined)
55
57
  return false;
56
58
  return true;
@@ -75,6 +77,7 @@ function WithSettingsInnerFromJSONTyped(json, ignoreDiscriminator) {
75
77
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
76
78
  'timeTable': (0, TimeTableConfigurationDto_1.TimeTableConfigurationDtoFromJSON)(json['timeTable']),
77
79
  'timezone': json['timezone'],
80
+ 'alias': json['alias'],
78
81
  'leadPriceNegotiatorAiAgent': (0, LeadPriceNegotiatorAiAgentConfigurationDto_1.LeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiatorAiAgent']),
79
82
  };
80
83
  }
@@ -99,6 +102,7 @@ function WithSettingsInnerToJSONTyped(value, ignoreDiscriminator) {
99
102
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
100
103
  'timeTable': (0, TimeTableConfigurationDto_1.TimeTableConfigurationDtoToJSON)(value['timeTable']),
101
104
  'timezone': value['timezone'],
105
+ 'alias': value['alias'],
102
106
  'leadPriceNegotiatorAiAgent': (0, LeadPriceNegotiatorAiAgentConfigurationDto_1.LeadPriceNegotiatorAiAgentConfigurationDtoToJSON)(value['leadPriceNegotiatorAiAgent']),
103
107
  };
104
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.261",
3
+ "version": "0.0.263",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -115,6 +115,12 @@ export interface AccountSettingsInput {
115
115
  * @memberof AccountSettingsInput
116
116
  */
117
117
  timezone?: string;
118
+ /**
119
+ *
120
+ * @type {string}
121
+ * @memberof AccountSettingsInput
122
+ */
123
+ alias?: string;
118
124
  }
119
125
 
120
126
  /**
@@ -144,6 +150,7 @@ export function AccountSettingsInputFromJSONTyped(json: any, ignoreDiscriminator
144
150
  'timeTable': json['timeTable'] == null ? undefined : TimeTableConfigurationInputFromJSON(json['timeTable']),
145
151
  'leadPriceNegotiatorAiAgent': json['leadPriceNegotiatorAiAgent'] == null ? undefined : LeadPriceNegotiatorAiAgentConfigurationInputFromJSON(json['leadPriceNegotiatorAiAgent']),
146
152
  'timezone': json['timezone'] == null ? undefined : json['timezone'],
153
+ 'alias': json['alias'] == null ? undefined : json['alias'],
147
154
  };
148
155
  }
149
156
 
@@ -168,6 +175,7 @@ export function AccountSettingsInputToJSONTyped(value?: AccountSettingsInput | n
168
175
  'timeTable': TimeTableConfigurationInputToJSON(value['timeTable']),
169
176
  'leadPriceNegotiatorAiAgent': LeadPriceNegotiatorAiAgentConfigurationInputToJSON(value['leadPriceNegotiatorAiAgent']),
170
177
  'timezone': value['timezone'],
178
+ 'alias': value['alias'],
171
179
  };
172
180
  }
173
181
 
@@ -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']),
@@ -127,6 +127,12 @@ export interface WithSettingsInner {
127
127
  * @memberof WithSettingsInner
128
128
  */
129
129
  timezone: string;
130
+ /**
131
+ *
132
+ * @type {string}
133
+ * @memberof WithSettingsInner
134
+ */
135
+ alias: string | null;
130
136
  /**
131
137
  *
132
138
  * @type {LeadPriceNegotiatorAiAgentConfigurationDto}
@@ -151,6 +157,7 @@ export function instanceOfWithSettingsInner(value: object): value is WithSetting
151
157
  if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined) return false;
152
158
  if (!('timeTable' in value) || value['timeTable'] === undefined) return false;
153
159
  if (!('timezone' in value) || value['timezone'] === undefined) return false;
160
+ if (!('alias' in value) || value['alias'] === undefined) return false;
154
161
  if (!('leadPriceNegotiatorAiAgent' in value) || value['leadPriceNegotiatorAiAgent'] === undefined) return false;
155
162
  return true;
156
163
  }
@@ -177,6 +184,7 @@ export function WithSettingsInnerFromJSONTyped(json: any, ignoreDiscriminator: b
177
184
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
178
185
  'timeTable': TimeTableConfigurationDtoFromJSON(json['timeTable']),
179
186
  'timezone': json['timezone'],
187
+ 'alias': json['alias'],
180
188
  'leadPriceNegotiatorAiAgent': LeadPriceNegotiatorAiAgentConfigurationDtoFromJSON(json['leadPriceNegotiatorAiAgent']),
181
189
  };
182
190
  }
@@ -204,6 +212,7 @@ export function WithSettingsInnerToJSONTyped(value?: WithSettingsInner | null, i
204
212
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
205
213
  'timeTable': TimeTableConfigurationDtoToJSON(value['timeTable']),
206
214
  'timezone': value['timezone'],
215
+ 'alias': value['alias'],
207
216
  'leadPriceNegotiatorAiAgent': LeadPriceNegotiatorAiAgentConfigurationDtoToJSON(value['leadPriceNegotiatorAiAgent']),
208
217
  };
209
218
  }