@randock/nameshift-api-client 0.0.387 → 0.0.388
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.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.388
|
|
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.388 --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
|
+
e7254650bd4e9b7099f425e49931129de7cc3e4c3beca1e9ae375afdd7c1c4ca94de8363b2be1af2dc1e454e84dd6b2a
|
|
@@ -73,6 +73,12 @@ export interface AdminListAccountDto {
|
|
|
73
73
|
* @memberof AdminListAccountDto
|
|
74
74
|
*/
|
|
75
75
|
companyName: string | null;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {boolean}
|
|
79
|
+
* @memberof AdminListAccountDto
|
|
80
|
+
*/
|
|
81
|
+
allowThirdPartySalesDataSharing: boolean;
|
|
76
82
|
/**
|
|
77
83
|
* Challenge reward balance (available and used).
|
|
78
84
|
* @type {ChallengeRewardBalanceDto}
|
|
@@ -67,6 +67,8 @@ function instanceOfAdminListAccountDto(value) {
|
|
|
67
67
|
return false;
|
|
68
68
|
if (!('companyName' in value) || value['companyName'] === undefined)
|
|
69
69
|
return false;
|
|
70
|
+
if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined)
|
|
71
|
+
return false;
|
|
70
72
|
if (!('challengeRewardBalance' in value) || value['challengeRewardBalance'] === undefined)
|
|
71
73
|
return false;
|
|
72
74
|
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
@@ -102,6 +104,7 @@ function AdminListAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
102
104
|
'affiliateId': json['affiliateId'],
|
|
103
105
|
'portfolioSize': (0, ListAccountPortfolioSizeDto_1.ListAccountPortfolioSizeDtoFromJSON)(json['portfolioSize']),
|
|
104
106
|
'companyName': json['companyName'],
|
|
107
|
+
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
105
108
|
'challengeRewardBalance': (0, ChallengeRewardBalanceDto_1.ChallengeRewardBalanceDtoFromJSON)(json['challengeRewardBalance']),
|
|
106
109
|
'identifier': json['identifier'],
|
|
107
110
|
'createdAt': (new Date(json['createdAt'])),
|
|
@@ -130,6 +133,7 @@ function AdminListAccountDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
130
133
|
'affiliateId': value['affiliateId'],
|
|
131
134
|
'portfolioSize': (0, ListAccountPortfolioSizeDto_1.ListAccountPortfolioSizeDtoToJSON)(value['portfolioSize']),
|
|
132
135
|
'companyName': value['companyName'],
|
|
136
|
+
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
133
137
|
'challengeRewardBalance': (0, ChallengeRewardBalanceDto_1.ChallengeRewardBalanceDtoToJSON)(value['challengeRewardBalance']),
|
|
134
138
|
'identifier': value['identifier'],
|
|
135
139
|
'createdAt': ((value['createdAt']).toISOString()),
|
package/package.json
CHANGED
|
@@ -102,6 +102,12 @@ export interface AdminListAccountDto {
|
|
|
102
102
|
* @memberof AdminListAccountDto
|
|
103
103
|
*/
|
|
104
104
|
companyName: string | null;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @type {boolean}
|
|
108
|
+
* @memberof AdminListAccountDto
|
|
109
|
+
*/
|
|
110
|
+
allowThirdPartySalesDataSharing: boolean;
|
|
105
111
|
/**
|
|
106
112
|
* Challenge reward balance (available and used).
|
|
107
113
|
* @type {ChallengeRewardBalanceDto}
|
|
@@ -195,6 +201,7 @@ export function instanceOfAdminListAccountDto(value: object): value is AdminList
|
|
|
195
201
|
if (!('affiliateId' in value) || value['affiliateId'] === undefined) return false;
|
|
196
202
|
if (!('portfolioSize' in value) || value['portfolioSize'] === undefined) return false;
|
|
197
203
|
if (!('companyName' in value) || value['companyName'] === undefined) return false;
|
|
204
|
+
if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined) return false;
|
|
198
205
|
if (!('challengeRewardBalance' in value) || value['challengeRewardBalance'] === undefined) return false;
|
|
199
206
|
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
200
207
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
@@ -225,6 +232,7 @@ export function AdminListAccountDtoFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
225
232
|
'affiliateId': json['affiliateId'],
|
|
226
233
|
'portfolioSize': ListAccountPortfolioSizeDtoFromJSON(json['portfolioSize']),
|
|
227
234
|
'companyName': json['companyName'],
|
|
235
|
+
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
228
236
|
'challengeRewardBalance': ChallengeRewardBalanceDtoFromJSON(json['challengeRewardBalance']),
|
|
229
237
|
'identifier': json['identifier'],
|
|
230
238
|
'createdAt': (new Date(json['createdAt'])),
|
|
@@ -256,6 +264,7 @@ export function AdminListAccountDtoToJSONTyped(value?: AdminListAccountDto | nul
|
|
|
256
264
|
'affiliateId': value['affiliateId'],
|
|
257
265
|
'portfolioSize': ListAccountPortfolioSizeDtoToJSON(value['portfolioSize']),
|
|
258
266
|
'companyName': value['companyName'],
|
|
267
|
+
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
259
268
|
'challengeRewardBalance': ChallengeRewardBalanceDtoToJSON(value['challengeRewardBalance']),
|
|
260
269
|
'identifier': value['identifier'],
|
|
261
270
|
'createdAt': ((value['createdAt']).toISOString()),
|