@randock/nameshift-api-client 0.0.135 → 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 +3 -3
- package/dist/models/BuyerDto.d.ts +6 -0
- package/dist/models/BuyerDto.js +4 -0
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +6 -0
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +4 -0
- package/package.json +1 -1
- package/src/models/BuyerDto.ts +9 -0
- package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +9 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
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.
|
|
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
|
-
|
|
47
|
+
15cccafe7319839aae1bb97a7c2a9c38581409f30bb48e745db45042a4bd7e10cde9d3eeec85f17da6c95a64b9f24122
|
package/dist/models/BuyerDto.js
CHANGED
|
@@ -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
|
}
|
|
@@ -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
package/src/models/BuyerDto.ts
CHANGED
|
@@ -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
|
|
|
@@ -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
|
};
|