@randock/nameshift-api-client 0.0.301 → 0.0.302
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/package.json +1 -1
- package/src/models/BuyerDto.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.302
|
|
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.302 --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
|
+
bc5710916f5e718436bd5eb4a8687d7c212061aa806e305ed8b40f3420a5899b41f4ff1eaab2fafec7b716b2e90236ad
|
package/dist/models/BuyerDto.js
CHANGED
|
@@ -32,6 +32,8 @@ function instanceOfBuyerDto(value) {
|
|
|
32
32
|
return false;
|
|
33
33
|
if (!('buyerName' in value) || value['buyerName'] === undefined)
|
|
34
34
|
return false;
|
|
35
|
+
if (!('emailDomain' in value) || value['emailDomain'] === undefined)
|
|
36
|
+
return false;
|
|
35
37
|
return true;
|
|
36
38
|
}
|
|
37
39
|
function BuyerDtoFromJSON(json) {
|
|
@@ -47,6 +49,7 @@ function BuyerDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
49
|
'ipCountryCode': json['ipCountryCode'],
|
|
48
50
|
'companyName': json['companyName'],
|
|
49
51
|
'buyerName': json['buyerName'],
|
|
52
|
+
'emailDomain': json['emailDomain'],
|
|
50
53
|
};
|
|
51
54
|
}
|
|
52
55
|
function BuyerDtoToJSON(json) {
|
|
@@ -63,5 +66,6 @@ function BuyerDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
63
66
|
'ipCountryCode': value['ipCountryCode'],
|
|
64
67
|
'companyName': value['companyName'],
|
|
65
68
|
'buyerName': value['buyerName'],
|
|
69
|
+
'emailDomain': value['emailDomain'],
|
|
66
70
|
};
|
|
67
71
|
}
|
package/package.json
CHANGED
package/src/models/BuyerDto.ts
CHANGED
|
@@ -49,6 +49,12 @@ export interface BuyerDto {
|
|
|
49
49
|
* @memberof BuyerDto
|
|
50
50
|
*/
|
|
51
51
|
buyerName: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof BuyerDto
|
|
56
|
+
*/
|
|
57
|
+
emailDomain: string;
|
|
52
58
|
}
|
|
53
59
|
|
|
54
60
|
/**
|
|
@@ -60,6 +66,7 @@ export function instanceOfBuyerDto(value: object): value is BuyerDto {
|
|
|
60
66
|
if (!('ipCountryCode' in value) || value['ipCountryCode'] === undefined) return false;
|
|
61
67
|
if (!('companyName' in value) || value['companyName'] === undefined) return false;
|
|
62
68
|
if (!('buyerName' in value) || value['buyerName'] === undefined) return false;
|
|
69
|
+
if (!('emailDomain' in value) || value['emailDomain'] === undefined) return false;
|
|
63
70
|
return true;
|
|
64
71
|
}
|
|
65
72
|
|
|
@@ -78,6 +85,7 @@ export function BuyerDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
78
85
|
'ipCountryCode': json['ipCountryCode'],
|
|
79
86
|
'companyName': json['companyName'],
|
|
80
87
|
'buyerName': json['buyerName'],
|
|
88
|
+
'emailDomain': json['emailDomain'],
|
|
81
89
|
};
|
|
82
90
|
}
|
|
83
91
|
|
|
@@ -97,6 +105,7 @@ export function BuyerDtoToJSONTyped(value?: BuyerDto | null, ignoreDiscriminator
|
|
|
97
105
|
'ipCountryCode': value['ipCountryCode'],
|
|
98
106
|
'companyName': value['companyName'],
|
|
99
107
|
'buyerName': value['buyerName'],
|
|
108
|
+
'emailDomain': value['emailDomain'],
|
|
100
109
|
};
|
|
101
110
|
}
|
|
102
111
|
|