@randock/nameshift-api-client 0.0.293 → 0.0.294
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/ListAccountDto.d.ts +6 -0
- package/dist/models/ListAccountDto.js +4 -0
- package/dist/models/ListAccountMetricsDto.d.ts +6 -0
- package/dist/models/ListAccountMetricsDto.js +4 -0
- package/package.json +1 -1
- package/src/models/ListAccountDto.ts +9 -0
- package/src/models/ListAccountMetricsDto.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.294
|
|
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.294 --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
|
+
568449dfde926d67dd3b77900002c243ad1a582c6cbe2a12a82db1bb7e6186657d95dbafb041d801853e6503007443e9
|
|
@@ -53,6 +53,12 @@ export interface ListAccountDto {
|
|
|
53
53
|
* @memberof ListAccountDto
|
|
54
54
|
*/
|
|
55
55
|
payoutProvider: ListAccountDtoPayoutProviderEnum;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof ListAccountDto
|
|
60
|
+
*/
|
|
61
|
+
affiliateId: string | null;
|
|
56
62
|
/**
|
|
57
63
|
*
|
|
58
64
|
* @type {string}
|
|
@@ -59,6 +59,8 @@ function instanceOfListAccountDto(value) {
|
|
|
59
59
|
return false;
|
|
60
60
|
if (!('payoutProvider' in value) || value['payoutProvider'] === undefined)
|
|
61
61
|
return false;
|
|
62
|
+
if (!('affiliateId' in value) || value['affiliateId'] === undefined)
|
|
63
|
+
return false;
|
|
62
64
|
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
63
65
|
return false;
|
|
64
66
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
@@ -89,6 +91,7 @@ function ListAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
89
91
|
'onboardingProvider': json['onboardingProvider'],
|
|
90
92
|
'onboardingStatus': json['onboardingStatus'],
|
|
91
93
|
'payoutProvider': json['payoutProvider'],
|
|
94
|
+
'affiliateId': json['affiliateId'],
|
|
92
95
|
'identifier': json['identifier'],
|
|
93
96
|
'createdAt': (new Date(json['createdAt'])),
|
|
94
97
|
'name': json['name'],
|
|
@@ -113,6 +116,7 @@ function ListAccountDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
113
116
|
'onboardingProvider': value['onboardingProvider'],
|
|
114
117
|
'onboardingStatus': value['onboardingStatus'],
|
|
115
118
|
'payoutProvider': value['payoutProvider'],
|
|
119
|
+
'affiliateId': value['affiliateId'],
|
|
116
120
|
'identifier': value['identifier'],
|
|
117
121
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
118
122
|
'name': value['name'],
|
|
@@ -51,6 +51,12 @@ export interface ListAccountMetricsDto {
|
|
|
51
51
|
* @memberof ListAccountMetricsDto
|
|
52
52
|
*/
|
|
53
53
|
soldDomainsNumber: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof ListAccountMetricsDto
|
|
58
|
+
*/
|
|
59
|
+
referralsNumber: number;
|
|
54
60
|
}
|
|
55
61
|
/**
|
|
56
62
|
* Check if a given object implements the ListAccountMetricsDto interface.
|
|
@@ -34,6 +34,8 @@ function instanceOfListAccountMetricsDto(value) {
|
|
|
34
34
|
return false;
|
|
35
35
|
if (!('soldDomainsNumber' in value) || value['soldDomainsNumber'] === undefined)
|
|
36
36
|
return false;
|
|
37
|
+
if (!('referralsNumber' in value) || value['referralsNumber'] === undefined)
|
|
38
|
+
return false;
|
|
37
39
|
return true;
|
|
38
40
|
}
|
|
39
41
|
function ListAccountMetricsDtoFromJSON(json) {
|
|
@@ -50,6 +52,7 @@ function ListAccountMetricsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
52
|
'activeDomainTransfersNumber': json['activeDomainTransfersNumber'],
|
|
51
53
|
'tasksNumber': json['tasksNumber'],
|
|
52
54
|
'soldDomainsNumber': json['soldDomainsNumber'],
|
|
55
|
+
'referralsNumber': json['referralsNumber'],
|
|
53
56
|
};
|
|
54
57
|
}
|
|
55
58
|
function ListAccountMetricsDtoToJSON(json) {
|
|
@@ -67,5 +70,6 @@ function ListAccountMetricsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
67
70
|
'activeDomainTransfersNumber': value['activeDomainTransfersNumber'],
|
|
68
71
|
'tasksNumber': value['tasksNumber'],
|
|
69
72
|
'soldDomainsNumber': value['soldDomainsNumber'],
|
|
73
|
+
'referralsNumber': value['referralsNumber'],
|
|
70
74
|
};
|
|
71
75
|
}
|
package/package.json
CHANGED
|
@@ -70,6 +70,12 @@ export interface ListAccountDto {
|
|
|
70
70
|
* @memberof ListAccountDto
|
|
71
71
|
*/
|
|
72
72
|
payoutProvider: ListAccountDtoPayoutProviderEnum;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof ListAccountDto
|
|
77
|
+
*/
|
|
78
|
+
affiliateId: string | null;
|
|
73
79
|
/**
|
|
74
80
|
*
|
|
75
81
|
* @type {string}
|
|
@@ -154,6 +160,7 @@ export function instanceOfListAccountDto(value: object): value is ListAccountDto
|
|
|
154
160
|
if (!('onboardingProvider' in value) || value['onboardingProvider'] === undefined) return false;
|
|
155
161
|
if (!('onboardingStatus' in value) || value['onboardingStatus'] === undefined) return false;
|
|
156
162
|
if (!('payoutProvider' in value) || value['payoutProvider'] === undefined) return false;
|
|
163
|
+
if (!('affiliateId' in value) || value['affiliateId'] === undefined) return false;
|
|
157
164
|
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
158
165
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
159
166
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
@@ -180,6 +187,7 @@ export function ListAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
180
187
|
'onboardingProvider': json['onboardingProvider'],
|
|
181
188
|
'onboardingStatus': json['onboardingStatus'],
|
|
182
189
|
'payoutProvider': json['payoutProvider'],
|
|
190
|
+
'affiliateId': json['affiliateId'],
|
|
183
191
|
'identifier': json['identifier'],
|
|
184
192
|
'createdAt': (new Date(json['createdAt'])),
|
|
185
193
|
'name': json['name'],
|
|
@@ -207,6 +215,7 @@ export function ListAccountDtoToJSONTyped(value?: ListAccountDto | null, ignoreD
|
|
|
207
215
|
'onboardingProvider': value['onboardingProvider'],
|
|
208
216
|
'onboardingStatus': value['onboardingStatus'],
|
|
209
217
|
'payoutProvider': value['payoutProvider'],
|
|
218
|
+
'affiliateId': value['affiliateId'],
|
|
210
219
|
'identifier': value['identifier'],
|
|
211
220
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
212
221
|
'name': value['name'],
|
|
@@ -55,6 +55,12 @@ export interface ListAccountMetricsDto {
|
|
|
55
55
|
* @memberof ListAccountMetricsDto
|
|
56
56
|
*/
|
|
57
57
|
soldDomainsNumber: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof ListAccountMetricsDto
|
|
62
|
+
*/
|
|
63
|
+
referralsNumber: number;
|
|
58
64
|
}
|
|
59
65
|
|
|
60
66
|
/**
|
|
@@ -67,6 +73,7 @@ export function instanceOfListAccountMetricsDto(value: object): value is ListAcc
|
|
|
67
73
|
if (!('activeDomainTransfersNumber' in value) || value['activeDomainTransfersNumber'] === undefined) return false;
|
|
68
74
|
if (!('tasksNumber' in value) || value['tasksNumber'] === undefined) return false;
|
|
69
75
|
if (!('soldDomainsNumber' in value) || value['soldDomainsNumber'] === undefined) return false;
|
|
76
|
+
if (!('referralsNumber' in value) || value['referralsNumber'] === undefined) return false;
|
|
70
77
|
return true;
|
|
71
78
|
}
|
|
72
79
|
|
|
@@ -86,6 +93,7 @@ export function ListAccountMetricsDtoFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
86
93
|
'activeDomainTransfersNumber': json['activeDomainTransfersNumber'],
|
|
87
94
|
'tasksNumber': json['tasksNumber'],
|
|
88
95
|
'soldDomainsNumber': json['soldDomainsNumber'],
|
|
96
|
+
'referralsNumber': json['referralsNumber'],
|
|
89
97
|
};
|
|
90
98
|
}
|
|
91
99
|
|
|
@@ -106,6 +114,7 @@ export function ListAccountMetricsDtoToJSONTyped(value?: ListAccountMetricsDto |
|
|
|
106
114
|
'activeDomainTransfersNumber': value['activeDomainTransfersNumber'],
|
|
107
115
|
'tasksNumber': value['tasksNumber'],
|
|
108
116
|
'soldDomainsNumber': value['soldDomainsNumber'],
|
|
117
|
+
'referralsNumber': value['referralsNumber'],
|
|
109
118
|
};
|
|
110
119
|
}
|
|
111
120
|
|