@randock/nameshift-api-client 0.0.134 → 0.0.136

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.134
1
+ ## @randock/nameshift-api-client@0.0.136
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.134 --save
39
+ npm install @randock/nameshift-api-client@0.0.136 --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
- 4d566c3c82683a4e5f66af26b92e2edc075f27a870d3248109a3f93af75ea6d9206a170c420c45178bd60ae7aaadaf01
47
+ 15cccafe7319839aae1bb97a7c2a9c38581409f30bb48e745db45042a4bd7e10cde9d3eeec85f17da6c95a64b9f24122
@@ -27,6 +27,12 @@ export interface BuyerDto {
27
27
  * @memberof BuyerDto
28
28
  */
29
29
  name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof BuyerDto
34
+ */
35
+ ipCountryCode: string | null;
30
36
  }
31
37
  /**
32
38
  * Check if a given object implements the BuyerDto interface.
@@ -26,6 +26,8 @@ function instanceOfBuyerDto(value) {
26
26
  return false;
27
27
  if (!('name' in value) || value['name'] === undefined)
28
28
  return false;
29
+ if (!('ipCountryCode' in value) || value['ipCountryCode'] === undefined)
30
+ return false;
29
31
  return true;
30
32
  }
31
33
  function BuyerDtoFromJSON(json) {
@@ -38,6 +40,7 @@ function BuyerDtoFromJSONTyped(json, ignoreDiscriminator) {
38
40
  return {
39
41
  'initials': json['initials'],
40
42
  'name': json['name'],
43
+ 'ipCountryCode': json['ipCountryCode'],
41
44
  };
42
45
  }
43
46
  function BuyerDtoToJSON(json) {
@@ -51,5 +54,6 @@ function BuyerDtoToJSONTyped(value, ignoreDiscriminator) {
51
54
  return {
52
55
  'initials': value['initials'],
53
56
  'name': value['name'],
57
+ 'ipCountryCode': value['ipCountryCode'],
54
58
  };
55
59
  }
@@ -23,17 +23,17 @@ export interface DomainSellerDto {
23
23
  */
24
24
  createdAt: Date;
25
25
  /**
26
- * The domain seller account verified status
27
- * @type {boolean}
26
+ * The seller account name
27
+ * @type {string}
28
28
  * @memberof DomainSellerDto
29
29
  */
30
- verified: boolean;
30
+ name: string;
31
31
  /**
32
32
  * Last online, formatted
33
- * @type {string}
33
+ * @type {Date}
34
34
  * @memberof DomainSellerDto
35
35
  */
36
- lastOnline: string | null;
36
+ lastOnline: Date;
37
37
  /**
38
38
  * Delivers in, formatted
39
39
  * @type {string}
@@ -25,7 +25,7 @@ var RelatedSellerDomain_1 = require("./RelatedSellerDomain");
25
25
  function instanceOfDomainSellerDto(value) {
26
26
  if (!('createdAt' in value) || value['createdAt'] === undefined)
27
27
  return false;
28
- if (!('verified' in value) || value['verified'] === undefined)
28
+ if (!('name' in value) || value['name'] === undefined)
29
29
  return false;
30
30
  if (!('lastOnline' in value) || value['lastOnline'] === undefined)
31
31
  return false;
@@ -44,8 +44,8 @@ function DomainSellerDtoFromJSONTyped(json, ignoreDiscriminator) {
44
44
  }
45
45
  return {
46
46
  'createdAt': (new Date(json['createdAt'])),
47
- 'verified': json['verified'],
48
- 'lastOnline': json['lastOnline'],
47
+ 'name': json['name'],
48
+ 'lastOnline': (new Date(json['lastOnline'])),
49
49
  'deliversIn': json['deliversIn'],
50
50
  'relatedDomains': (json['relatedDomains'] == null ? null : json['relatedDomains'].map(RelatedSellerDomain_1.RelatedSellerDomainFromJSON)),
51
51
  };
@@ -60,8 +60,8 @@ function DomainSellerDtoToJSONTyped(value, ignoreDiscriminator) {
60
60
  }
61
61
  return {
62
62
  'createdAt': ((value['createdAt']).toISOString()),
63
- 'verified': value['verified'],
64
- 'lastOnline': value['lastOnline'],
63
+ 'name': value['name'],
64
+ 'lastOnline': ((value['lastOnline']).toISOString()),
65
65
  'deliversIn': value['deliversIn'],
66
66
  'relatedDomains': (value['relatedDomains'] == null ? null : value['relatedDomains'].map(RelatedSellerDomain_1.RelatedSellerDomainToJSON)),
67
67
  };
@@ -53,7 +53,7 @@ export interface IntersectionDomainSalesInformationDtoWithDomainStatsDto {
53
53
  * @type {DomainSellerDto}
54
54
  * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
55
55
  */
56
- seller: DomainSellerDto;
56
+ seller: DomainSellerDto | null;
57
57
  /**
58
58
  * The domain "sold" status
59
59
  * @type {boolean}
@@ -102,6 +102,12 @@ export interface IntersectionLeadDtoWithListFieldsDto {
102
102
  * @memberof IntersectionLeadDtoWithListFieldsDto
103
103
  */
104
104
  buyerInitials: string;
105
+ /**
106
+ *
107
+ * @type {string}
108
+ * @memberof IntersectionLeadDtoWithListFieldsDto
109
+ */
110
+ buyerIpCountryCode: string | null;
105
111
  /**
106
112
  * The message in case lastMessageType === LeadMessageTypeEnum.MESSAGE
107
113
  * @type {string}
@@ -91,6 +91,8 @@ function instanceOfIntersectionLeadDtoWithListFieldsDto(value) {
91
91
  return false;
92
92
  if (!('buyerInitials' in value) || value['buyerInitials'] === undefined)
93
93
  return false;
94
+ if (!('buyerIpCountryCode' in value) || value['buyerIpCountryCode'] === undefined)
95
+ return false;
94
96
  if (!('lastMessageMessage' in value) || value['lastMessageMessage'] === undefined)
95
97
  return false;
96
98
  if (!('lastMessageDate' in value) || value['lastMessageDate'] === undefined)
@@ -119,6 +121,7 @@ function IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json, ignoreDiscrimin
119
121
  'orderPaymentUrl': json['orderPaymentUrl'],
120
122
  'domainName': json['domainName'],
121
123
  'buyerInitials': json['buyerInitials'],
124
+ 'buyerIpCountryCode': json['buyerIpCountryCode'],
122
125
  'lastMessageMessage': json['lastMessageMessage'],
123
126
  'lastMessageDate': (new Date(json['lastMessageDate'])),
124
127
  };
@@ -146,6 +149,7 @@ function IntersectionLeadDtoWithListFieldsDtoToJSONTyped(value, ignoreDiscrimina
146
149
  'orderPaymentUrl': value['orderPaymentUrl'],
147
150
  'domainName': value['domainName'],
148
151
  'buyerInitials': value['buyerInitials'],
152
+ 'buyerIpCountryCode': value['buyerIpCountryCode'],
149
153
  'lastMessageMessage': value['lastMessageMessage'],
150
154
  'lastMessageDate': ((value['lastMessageDate']).toISOString()),
151
155
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.134",
3
+ "version": "0.0.136",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -31,6 +31,12 @@ export interface BuyerDto {
31
31
  * @memberof BuyerDto
32
32
  */
33
33
  name: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof BuyerDto
38
+ */
39
+ ipCountryCode: string | null;
34
40
  }
35
41
 
36
42
  /**
@@ -39,6 +45,7 @@ export interface BuyerDto {
39
45
  export function instanceOfBuyerDto(value: object): value is BuyerDto {
40
46
  if (!('initials' in value) || value['initials'] === undefined) return false;
41
47
  if (!('name' in value) || value['name'] === undefined) return false;
48
+ if (!('ipCountryCode' in value) || value['ipCountryCode'] === undefined) return false;
42
49
  return true;
43
50
  }
44
51
 
@@ -54,6 +61,7 @@ export function BuyerDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
54
61
 
55
62
  'initials': json['initials'],
56
63
  'name': json['name'],
64
+ 'ipCountryCode': json['ipCountryCode'],
57
65
  };
58
66
  }
59
67
 
@@ -70,6 +78,7 @@ export function BuyerDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
70
78
 
71
79
  'initials': value['initials'],
72
80
  'name': value['name'],
81
+ 'ipCountryCode': value['ipCountryCode'],
73
82
  };
74
83
  }
75
84
 
@@ -34,17 +34,17 @@ export interface DomainSellerDto {
34
34
  */
35
35
  createdAt: Date;
36
36
  /**
37
- * The domain seller account verified status
38
- * @type {boolean}
37
+ * The seller account name
38
+ * @type {string}
39
39
  * @memberof DomainSellerDto
40
40
  */
41
- verified: boolean;
41
+ name: string;
42
42
  /**
43
43
  * Last online, formatted
44
- * @type {string}
44
+ * @type {Date}
45
45
  * @memberof DomainSellerDto
46
46
  */
47
- lastOnline: string | null;
47
+ lastOnline: Date;
48
48
  /**
49
49
  * Delivers in, formatted
50
50
  * @type {string}
@@ -64,7 +64,7 @@ export interface DomainSellerDto {
64
64
  */
65
65
  export function instanceOfDomainSellerDto(value: object): value is DomainSellerDto {
66
66
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
67
- if (!('verified' in value) || value['verified'] === undefined) return false;
67
+ if (!('name' in value) || value['name'] === undefined) return false;
68
68
  if (!('lastOnline' in value) || value['lastOnline'] === undefined) return false;
69
69
  if (!('deliversIn' in value) || value['deliversIn'] === undefined) return false;
70
70
  if (!('relatedDomains' in value) || value['relatedDomains'] === undefined) return false;
@@ -82,8 +82,8 @@ export function DomainSellerDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
82
82
  return {
83
83
 
84
84
  'createdAt': (new Date(json['createdAt'])),
85
- 'verified': json['verified'],
86
- 'lastOnline': json['lastOnline'],
85
+ 'name': json['name'],
86
+ 'lastOnline': (new Date(json['lastOnline'])),
87
87
  'deliversIn': json['deliversIn'],
88
88
  'relatedDomains': (json['relatedDomains'] == null ? null : (json['relatedDomains'] as Array<any>).map(RelatedSellerDomainFromJSON)),
89
89
  };
@@ -101,8 +101,8 @@ export function DomainSellerDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
101
101
  return {
102
102
 
103
103
  'createdAt': ((value['createdAt']).toISOString()),
104
- 'verified': value['verified'],
105
- 'lastOnline': value['lastOnline'],
104
+ 'name': value['name'],
105
+ 'lastOnline': ((value['lastOnline']).toISOString()),
106
106
  'deliversIn': value['deliversIn'],
107
107
  'relatedDomains': (value['relatedDomains'] == null ? null : (value['relatedDomains'] as Array<any>).map(RelatedSellerDomainToJSON)),
108
108
  };
@@ -76,7 +76,7 @@ export interface IntersectionDomainSalesInformationDtoWithDomainStatsDto {
76
76
  * @type {DomainSellerDto}
77
77
  * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
78
78
  */
79
- seller: DomainSellerDto;
79
+ seller: DomainSellerDto | null;
80
80
  /**
81
81
  * The domain "sold" status
82
82
  * @type {boolean}
@@ -125,6 +125,12 @@ export interface IntersectionLeadDtoWithListFieldsDto {
125
125
  * @memberof IntersectionLeadDtoWithListFieldsDto
126
126
  */
127
127
  buyerInitials: string;
128
+ /**
129
+ *
130
+ * @type {string}
131
+ * @memberof IntersectionLeadDtoWithListFieldsDto
132
+ */
133
+ buyerIpCountryCode: string | null;
128
134
  /**
129
135
  * The message in case lastMessageType === LeadMessageTypeEnum.MESSAGE
130
136
  * @type {string}
@@ -204,6 +210,7 @@ export function instanceOfIntersectionLeadDtoWithListFieldsDto(value: object): v
204
210
  if (!('orderPaymentUrl' in value) || value['orderPaymentUrl'] === undefined) return false;
205
211
  if (!('domainName' in value) || value['domainName'] === undefined) return false;
206
212
  if (!('buyerInitials' in value) || value['buyerInitials'] === undefined) return false;
213
+ if (!('buyerIpCountryCode' in value) || value['buyerIpCountryCode'] === undefined) return false;
207
214
  if (!('lastMessageMessage' in value) || value['lastMessageMessage'] === undefined) return false;
208
215
  if (!('lastMessageDate' in value) || value['lastMessageDate'] === undefined) return false;
209
216
  return true;
@@ -233,6 +240,7 @@ export function IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json: any, ign
233
240
  'orderPaymentUrl': json['orderPaymentUrl'],
234
241
  'domainName': json['domainName'],
235
242
  'buyerInitials': json['buyerInitials'],
243
+ 'buyerIpCountryCode': json['buyerIpCountryCode'],
236
244
  'lastMessageMessage': json['lastMessageMessage'],
237
245
  'lastMessageDate': (new Date(json['lastMessageDate'])),
238
246
  };
@@ -263,6 +271,7 @@ export function IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json: any, ign
263
271
  'orderPaymentUrl': value['orderPaymentUrl'],
264
272
  'domainName': value['domainName'],
265
273
  'buyerInitials': value['buyerInitials'],
274
+ 'buyerIpCountryCode': value['buyerIpCountryCode'],
266
275
  'lastMessageMessage': value['lastMessageMessage'],
267
276
  'lastMessageDate': ((value['lastMessageDate']).toISOString()),
268
277
  };