@randock/nameshift-api-client 0.0.539 → 0.0.540
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/AccountDto.d.ts +6 -0
- package/dist/models/AccountDto.js +4 -0
- package/dist/models/CustomerSuccessListAccountMetricsDto.d.ts +6 -0
- package/dist/models/CustomerSuccessListAccountMetricsDto.js +4 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +6 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +4 -0
- package/dist/models/ListAccountMetricsDto.d.ts +6 -0
- package/dist/models/ListAccountMetricsDto.js +4 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +6 -0
- package/dist/models/PrivateAccountGetMeResponse.js +4 -0
- package/package.json +1 -1
- package/src/models/AccountDto.ts +9 -0
- package/src/models/CustomerSuccessListAccountMetricsDto.ts +9 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +9 -0
- package/src/models/ListAccountMetricsDto.ts +9 -0
- package/src/models/PrivateAccountGetMeResponse.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.540
|
|
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.540 --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
|
+
c0b9938c934418424cd1cb2ec7c661b24201794a86f4b618dd6472ea7ca96ebf6dc9ab16ca5b9c2ab053523daedb0aee
|
|
@@ -86,6 +86,12 @@ export interface AccountDto {
|
|
|
86
86
|
* @memberof AccountDto
|
|
87
87
|
*/
|
|
88
88
|
canBroker: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Whether the account can see the onboarding.
|
|
91
|
+
* @type {boolean}
|
|
92
|
+
* @memberof AccountDto
|
|
93
|
+
*/
|
|
94
|
+
canSeeOnboarding: boolean;
|
|
89
95
|
}
|
|
90
96
|
/**
|
|
91
97
|
* Check if a given object implements the AccountDto interface.
|
|
@@ -49,6 +49,8 @@ function instanceOfAccountDto(value) {
|
|
|
49
49
|
return false;
|
|
50
50
|
if (!('canBroker' in value) || value['canBroker'] === undefined)
|
|
51
51
|
return false;
|
|
52
|
+
if (!('canSeeOnboarding' in value) || value['canSeeOnboarding'] === undefined)
|
|
53
|
+
return false;
|
|
52
54
|
return true;
|
|
53
55
|
}
|
|
54
56
|
function AccountDtoFromJSON(json) {
|
|
@@ -70,6 +72,7 @@ function AccountDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
70
72
|
'challengeRewardBalance': (0, ChallengeRewardBalanceDto_1.ChallengeRewardBalanceDtoFromJSON)(json['challengeRewardBalance']),
|
|
71
73
|
'canSell': json['canSell'],
|
|
72
74
|
'canBroker': json['canBroker'],
|
|
75
|
+
'canSeeOnboarding': json['canSeeOnboarding'],
|
|
73
76
|
};
|
|
74
77
|
}
|
|
75
78
|
function AccountDtoToJSON(json) {
|
|
@@ -92,5 +95,6 @@ function AccountDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
92
95
|
'challengeRewardBalance': (0, ChallengeRewardBalanceDto_1.ChallengeRewardBalanceDtoToJSON)(value['challengeRewardBalance']),
|
|
93
96
|
'canSell': value['canSell'],
|
|
94
97
|
'canBroker': value['canBroker'],
|
|
98
|
+
'canSeeOnboarding': value['canSeeOnboarding'],
|
|
95
99
|
};
|
|
96
100
|
}
|
|
@@ -63,6 +63,12 @@ export interface CustomerSuccessListAccountMetricsDto {
|
|
|
63
63
|
* @memberof CustomerSuccessListAccountMetricsDto
|
|
64
64
|
*/
|
|
65
65
|
pointingDomainsNumber: number;
|
|
66
|
+
/**
|
|
67
|
+
* Number of verified domains.
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof CustomerSuccessListAccountMetricsDto
|
|
70
|
+
*/
|
|
71
|
+
verifiedDomainsNumber: number;
|
|
66
72
|
/**
|
|
67
73
|
* Number of pending challenges to collect.
|
|
68
74
|
* @type {number}
|
|
@@ -38,6 +38,8 @@ function instanceOfCustomerSuccessListAccountMetricsDto(value) {
|
|
|
38
38
|
return false;
|
|
39
39
|
if (!('pointingDomainsNumber' in value) || value['pointingDomainsNumber'] === undefined)
|
|
40
40
|
return false;
|
|
41
|
+
if (!('verifiedDomainsNumber' in value) || value['verifiedDomainsNumber'] === undefined)
|
|
42
|
+
return false;
|
|
41
43
|
if (!('pendingChallengesToCollectNumber' in value) || value['pendingChallengesToCollectNumber'] === undefined)
|
|
42
44
|
return false;
|
|
43
45
|
if (!('salesRatio' in value) || value['salesRatio'] === undefined)
|
|
@@ -60,6 +62,7 @@ function CustomerSuccessListAccountMetricsDtoFromJSONTyped(json, ignoreDiscrimin
|
|
|
60
62
|
'soldDomainsNumber': json['soldDomainsNumber'],
|
|
61
63
|
'referralsNumber': json['referralsNumber'],
|
|
62
64
|
'pointingDomainsNumber': json['pointingDomainsNumber'],
|
|
65
|
+
'verifiedDomainsNumber': json['verifiedDomainsNumber'],
|
|
63
66
|
'pendingChallengesToCollectNumber': json['pendingChallengesToCollectNumber'],
|
|
64
67
|
'salesRatio': json['salesRatio'],
|
|
65
68
|
};
|
|
@@ -81,6 +84,7 @@ function CustomerSuccessListAccountMetricsDtoToJSONTyped(value, ignoreDiscrimina
|
|
|
81
84
|
'soldDomainsNumber': value['soldDomainsNumber'],
|
|
82
85
|
'referralsNumber': value['referralsNumber'],
|
|
83
86
|
'pointingDomainsNumber': value['pointingDomainsNumber'],
|
|
87
|
+
'verifiedDomainsNumber': value['verifiedDomainsNumber'],
|
|
84
88
|
'pendingChallengesToCollectNumber': value['pendingChallengesToCollectNumber'],
|
|
85
89
|
'salesRatio': value['salesRatio'],
|
|
86
90
|
};
|
|
@@ -88,6 +88,12 @@ export interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFe
|
|
|
88
88
|
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
89
89
|
*/
|
|
90
90
|
canBroker: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Whether the account can see the onboarding.
|
|
93
|
+
* @type {boolean}
|
|
94
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
95
|
+
*/
|
|
96
|
+
canSeeOnboarding: boolean;
|
|
91
97
|
/**
|
|
92
98
|
* Account settings.
|
|
93
99
|
* @type {WithSettingsInner}
|
package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js
CHANGED
|
@@ -93,6 +93,8 @@ function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWith
|
|
|
93
93
|
return false;
|
|
94
94
|
if (!('canBroker' in value) || value['canBroker'] === undefined)
|
|
95
95
|
return false;
|
|
96
|
+
if (!('canSeeOnboarding' in value) || value['canSeeOnboarding'] === undefined)
|
|
97
|
+
return false;
|
|
96
98
|
if (!('settings' in value) || value['settings'] === undefined)
|
|
97
99
|
return false;
|
|
98
100
|
if (!('notifications' in value) || value['notifications'] === undefined)
|
|
@@ -120,6 +122,7 @@ function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFla
|
|
|
120
122
|
'challengeRewardBalance': (0, ChallengeRewardBalanceDto_1.ChallengeRewardBalanceDtoFromJSON)(json['challengeRewardBalance']),
|
|
121
123
|
'canSell': json['canSell'],
|
|
122
124
|
'canBroker': json['canBroker'],
|
|
125
|
+
'canSeeOnboarding': json['canSeeOnboarding'],
|
|
123
126
|
'settings': (0, WithSettingsInner_1.WithSettingsInnerFromJSON)(json['settings']),
|
|
124
127
|
'notifications': (json['notifications'].map(AccountNotificationDto_1.AccountNotificationDtoFromJSON)),
|
|
125
128
|
'enabledFeatures': json['enabledFeatures'],
|
|
@@ -145,6 +148,7 @@ function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFla
|
|
|
145
148
|
'challengeRewardBalance': (0, ChallengeRewardBalanceDto_1.ChallengeRewardBalanceDtoToJSON)(value['challengeRewardBalance']),
|
|
146
149
|
'canSell': value['canSell'],
|
|
147
150
|
'canBroker': value['canBroker'],
|
|
151
|
+
'canSeeOnboarding': value['canSeeOnboarding'],
|
|
148
152
|
'settings': (0, WithSettingsInner_1.WithSettingsInnerToJSON)(value['settings']),
|
|
149
153
|
'notifications': (value['notifications'].map(AccountNotificationDto_1.AccountNotificationDtoToJSON)),
|
|
150
154
|
'enabledFeatures': value['enabledFeatures'],
|
|
@@ -63,6 +63,12 @@ export interface ListAccountMetricsDto {
|
|
|
63
63
|
* @memberof ListAccountMetricsDto
|
|
64
64
|
*/
|
|
65
65
|
pointingDomainsNumber: number;
|
|
66
|
+
/**
|
|
67
|
+
* Number of verified domains.
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof ListAccountMetricsDto
|
|
70
|
+
*/
|
|
71
|
+
verifiedDomainsNumber: number;
|
|
66
72
|
/**
|
|
67
73
|
* Number of pending challenges to collect.
|
|
68
74
|
* @type {number}
|
|
@@ -38,6 +38,8 @@ function instanceOfListAccountMetricsDto(value) {
|
|
|
38
38
|
return false;
|
|
39
39
|
if (!('pointingDomainsNumber' in value) || value['pointingDomainsNumber'] === undefined)
|
|
40
40
|
return false;
|
|
41
|
+
if (!('verifiedDomainsNumber' in value) || value['verifiedDomainsNumber'] === undefined)
|
|
42
|
+
return false;
|
|
41
43
|
if (!('pendingChallengesToCollectNumber' in value) || value['pendingChallengesToCollectNumber'] === undefined)
|
|
42
44
|
return false;
|
|
43
45
|
if (!('salesRatio' in value) || value['salesRatio'] === undefined)
|
|
@@ -60,6 +62,7 @@ function ListAccountMetricsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
62
|
'soldDomainsNumber': json['soldDomainsNumber'],
|
|
61
63
|
'referralsNumber': json['referralsNumber'],
|
|
62
64
|
'pointingDomainsNumber': json['pointingDomainsNumber'],
|
|
65
|
+
'verifiedDomainsNumber': json['verifiedDomainsNumber'],
|
|
63
66
|
'pendingChallengesToCollectNumber': json['pendingChallengesToCollectNumber'],
|
|
64
67
|
'salesRatio': json['salesRatio'],
|
|
65
68
|
};
|
|
@@ -81,6 +84,7 @@ function ListAccountMetricsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
81
84
|
'soldDomainsNumber': value['soldDomainsNumber'],
|
|
82
85
|
'referralsNumber': value['referralsNumber'],
|
|
83
86
|
'pointingDomainsNumber': value['pointingDomainsNumber'],
|
|
87
|
+
'verifiedDomainsNumber': value['verifiedDomainsNumber'],
|
|
84
88
|
'pendingChallengesToCollectNumber': value['pendingChallengesToCollectNumber'],
|
|
85
89
|
'salesRatio': value['salesRatio'],
|
|
86
90
|
};
|
|
@@ -88,6 +88,12 @@ export interface PrivateAccountGetMeResponse {
|
|
|
88
88
|
* @memberof PrivateAccountGetMeResponse
|
|
89
89
|
*/
|
|
90
90
|
canBroker: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Whether the account can see the onboarding.
|
|
93
|
+
* @type {boolean}
|
|
94
|
+
* @memberof PrivateAccountGetMeResponse
|
|
95
|
+
*/
|
|
96
|
+
canSeeOnboarding: boolean;
|
|
91
97
|
/**
|
|
92
98
|
* Account settings.
|
|
93
99
|
* @type {WithSettingsInner}
|
|
@@ -93,6 +93,8 @@ function instanceOfPrivateAccountGetMeResponse(value) {
|
|
|
93
93
|
return false;
|
|
94
94
|
if (!('canBroker' in value) || value['canBroker'] === undefined)
|
|
95
95
|
return false;
|
|
96
|
+
if (!('canSeeOnboarding' in value) || value['canSeeOnboarding'] === undefined)
|
|
97
|
+
return false;
|
|
96
98
|
if (!('settings' in value) || value['settings'] === undefined)
|
|
97
99
|
return false;
|
|
98
100
|
if (!('notifications' in value) || value['notifications'] === undefined)
|
|
@@ -124,6 +126,7 @@ function PrivateAccountGetMeResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
124
126
|
'challengeRewardBalance': (0, ChallengeRewardBalanceDto_1.ChallengeRewardBalanceDtoFromJSON)(json['challengeRewardBalance']),
|
|
125
127
|
'canSell': json['canSell'],
|
|
126
128
|
'canBroker': json['canBroker'],
|
|
129
|
+
'canSeeOnboarding': json['canSeeOnboarding'],
|
|
127
130
|
'settings': (0, WithSettingsInner_1.WithSettingsInnerFromJSON)(json['settings']),
|
|
128
131
|
'notifications': (json['notifications'].map(AccountNotificationDto_1.AccountNotificationDtoFromJSON)),
|
|
129
132
|
'enabledFeatures': json['enabledFeatures'],
|
|
@@ -151,6 +154,7 @@ function PrivateAccountGetMeResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
|
151
154
|
'challengeRewardBalance': (0, ChallengeRewardBalanceDto_1.ChallengeRewardBalanceDtoToJSON)(value['challengeRewardBalance']),
|
|
152
155
|
'canSell': value['canSell'],
|
|
153
156
|
'canBroker': value['canBroker'],
|
|
157
|
+
'canSeeOnboarding': value['canSeeOnboarding'],
|
|
154
158
|
'settings': (0, WithSettingsInner_1.WithSettingsInnerToJSON)(value['settings']),
|
|
155
159
|
'notifications': (value['notifications'].map(AccountNotificationDto_1.AccountNotificationDtoToJSON)),
|
|
156
160
|
'enabledFeatures': value['enabledFeatures'],
|
package/package.json
CHANGED
package/src/models/AccountDto.ts
CHANGED
|
@@ -121,6 +121,12 @@ export interface AccountDto {
|
|
|
121
121
|
* @memberof AccountDto
|
|
122
122
|
*/
|
|
123
123
|
canBroker: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* Whether the account can see the onboarding.
|
|
126
|
+
* @type {boolean}
|
|
127
|
+
* @memberof AccountDto
|
|
128
|
+
*/
|
|
129
|
+
canSeeOnboarding: boolean;
|
|
124
130
|
}
|
|
125
131
|
|
|
126
132
|
/**
|
|
@@ -138,6 +144,7 @@ export function instanceOfAccountDto(value: object): value is AccountDto {
|
|
|
138
144
|
if (!('challengeRewardBalance' in value) || value['challengeRewardBalance'] === undefined) return false;
|
|
139
145
|
if (!('canSell' in value) || value['canSell'] === undefined) return false;
|
|
140
146
|
if (!('canBroker' in value) || value['canBroker'] === undefined) return false;
|
|
147
|
+
if (!('canSeeOnboarding' in value) || value['canSeeOnboarding'] === undefined) return false;
|
|
141
148
|
return true;
|
|
142
149
|
}
|
|
143
150
|
|
|
@@ -162,6 +169,7 @@ export function AccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
162
169
|
'challengeRewardBalance': ChallengeRewardBalanceDtoFromJSON(json['challengeRewardBalance']),
|
|
163
170
|
'canSell': json['canSell'],
|
|
164
171
|
'canBroker': json['canBroker'],
|
|
172
|
+
'canSeeOnboarding': json['canSeeOnboarding'],
|
|
165
173
|
};
|
|
166
174
|
}
|
|
167
175
|
|
|
@@ -187,6 +195,7 @@ export function AccountDtoToJSONTyped(value?: AccountDto | null, ignoreDiscrimin
|
|
|
187
195
|
'challengeRewardBalance': ChallengeRewardBalanceDtoToJSON(value['challengeRewardBalance']),
|
|
188
196
|
'canSell': value['canSell'],
|
|
189
197
|
'canBroker': value['canBroker'],
|
|
198
|
+
'canSeeOnboarding': value['canSeeOnboarding'],
|
|
190
199
|
};
|
|
191
200
|
}
|
|
192
201
|
|
|
@@ -67,6 +67,12 @@ export interface CustomerSuccessListAccountMetricsDto {
|
|
|
67
67
|
* @memberof CustomerSuccessListAccountMetricsDto
|
|
68
68
|
*/
|
|
69
69
|
pointingDomainsNumber: number;
|
|
70
|
+
/**
|
|
71
|
+
* Number of verified domains.
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof CustomerSuccessListAccountMetricsDto
|
|
74
|
+
*/
|
|
75
|
+
verifiedDomainsNumber: number;
|
|
70
76
|
/**
|
|
71
77
|
* Number of pending challenges to collect.
|
|
72
78
|
* @type {number}
|
|
@@ -93,6 +99,7 @@ export function instanceOfCustomerSuccessListAccountMetricsDto(value: object): v
|
|
|
93
99
|
if (!('soldDomainsNumber' in value) || value['soldDomainsNumber'] === undefined) return false;
|
|
94
100
|
if (!('referralsNumber' in value) || value['referralsNumber'] === undefined) return false;
|
|
95
101
|
if (!('pointingDomainsNumber' in value) || value['pointingDomainsNumber'] === undefined) return false;
|
|
102
|
+
if (!('verifiedDomainsNumber' in value) || value['verifiedDomainsNumber'] === undefined) return false;
|
|
96
103
|
if (!('pendingChallengesToCollectNumber' in value) || value['pendingChallengesToCollectNumber'] === undefined) return false;
|
|
97
104
|
if (!('salesRatio' in value) || value['salesRatio'] === undefined) return false;
|
|
98
105
|
return true;
|
|
@@ -116,6 +123,7 @@ export function CustomerSuccessListAccountMetricsDtoFromJSONTyped(json: any, ign
|
|
|
116
123
|
'soldDomainsNumber': json['soldDomainsNumber'],
|
|
117
124
|
'referralsNumber': json['referralsNumber'],
|
|
118
125
|
'pointingDomainsNumber': json['pointingDomainsNumber'],
|
|
126
|
+
'verifiedDomainsNumber': json['verifiedDomainsNumber'],
|
|
119
127
|
'pendingChallengesToCollectNumber': json['pendingChallengesToCollectNumber'],
|
|
120
128
|
'salesRatio': json['salesRatio'],
|
|
121
129
|
};
|
|
@@ -140,6 +148,7 @@ export function CustomerSuccessListAccountMetricsDtoToJSONTyped(value?: Customer
|
|
|
140
148
|
'soldDomainsNumber': value['soldDomainsNumber'],
|
|
141
149
|
'referralsNumber': value['referralsNumber'],
|
|
142
150
|
'pointingDomainsNumber': value['pointingDomainsNumber'],
|
|
151
|
+
'verifiedDomainsNumber': value['verifiedDomainsNumber'],
|
|
143
152
|
'pendingChallengesToCollectNumber': value['pendingChallengesToCollectNumber'],
|
|
144
153
|
'salesRatio': value['salesRatio'],
|
|
145
154
|
};
|
package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
CHANGED
|
@@ -135,6 +135,12 @@ export interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFe
|
|
|
135
135
|
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
136
136
|
*/
|
|
137
137
|
canBroker: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Whether the account can see the onboarding.
|
|
140
|
+
* @type {boolean}
|
|
141
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
142
|
+
*/
|
|
143
|
+
canSeeOnboarding: boolean;
|
|
138
144
|
/**
|
|
139
145
|
* Account settings.
|
|
140
146
|
* @type {WithSettingsInner}
|
|
@@ -215,6 +221,7 @@ export function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotifications
|
|
|
215
221
|
if (!('challengeRewardBalance' in value) || value['challengeRewardBalance'] === undefined) return false;
|
|
216
222
|
if (!('canSell' in value) || value['canSell'] === undefined) return false;
|
|
217
223
|
if (!('canBroker' in value) || value['canBroker'] === undefined) return false;
|
|
224
|
+
if (!('canSeeOnboarding' in value) || value['canSeeOnboarding'] === undefined) return false;
|
|
218
225
|
if (!('settings' in value) || value['settings'] === undefined) return false;
|
|
219
226
|
if (!('notifications' in value) || value['notifications'] === undefined) return false;
|
|
220
227
|
if (!('enabledFeatures' in value) || value['enabledFeatures'] === undefined) return false;
|
|
@@ -242,6 +249,7 @@ export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFea
|
|
|
242
249
|
'challengeRewardBalance': ChallengeRewardBalanceDtoFromJSON(json['challengeRewardBalance']),
|
|
243
250
|
'canSell': json['canSell'],
|
|
244
251
|
'canBroker': json['canBroker'],
|
|
252
|
+
'canSeeOnboarding': json['canSeeOnboarding'],
|
|
245
253
|
'settings': WithSettingsInnerFromJSON(json['settings']),
|
|
246
254
|
'notifications': ((json['notifications'] as Array<any>).map(AccountNotificationDtoFromJSON)),
|
|
247
255
|
'enabledFeatures': json['enabledFeatures'],
|
|
@@ -270,6 +278,7 @@ export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFea
|
|
|
270
278
|
'challengeRewardBalance': ChallengeRewardBalanceDtoToJSON(value['challengeRewardBalance']),
|
|
271
279
|
'canSell': value['canSell'],
|
|
272
280
|
'canBroker': value['canBroker'],
|
|
281
|
+
'canSeeOnboarding': value['canSeeOnboarding'],
|
|
273
282
|
'settings': WithSettingsInnerToJSON(value['settings']),
|
|
274
283
|
'notifications': ((value['notifications'] as Array<any>).map(AccountNotificationDtoToJSON)),
|
|
275
284
|
'enabledFeatures': value['enabledFeatures'],
|
|
@@ -67,6 +67,12 @@ export interface ListAccountMetricsDto {
|
|
|
67
67
|
* @memberof ListAccountMetricsDto
|
|
68
68
|
*/
|
|
69
69
|
pointingDomainsNumber: number;
|
|
70
|
+
/**
|
|
71
|
+
* Number of verified domains.
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof ListAccountMetricsDto
|
|
74
|
+
*/
|
|
75
|
+
verifiedDomainsNumber: number;
|
|
70
76
|
/**
|
|
71
77
|
* Number of pending challenges to collect.
|
|
72
78
|
* @type {number}
|
|
@@ -93,6 +99,7 @@ export function instanceOfListAccountMetricsDto(value: object): value is ListAcc
|
|
|
93
99
|
if (!('soldDomainsNumber' in value) || value['soldDomainsNumber'] === undefined) return false;
|
|
94
100
|
if (!('referralsNumber' in value) || value['referralsNumber'] === undefined) return false;
|
|
95
101
|
if (!('pointingDomainsNumber' in value) || value['pointingDomainsNumber'] === undefined) return false;
|
|
102
|
+
if (!('verifiedDomainsNumber' in value) || value['verifiedDomainsNumber'] === undefined) return false;
|
|
96
103
|
if (!('pendingChallengesToCollectNumber' in value) || value['pendingChallengesToCollectNumber'] === undefined) return false;
|
|
97
104
|
if (!('salesRatio' in value) || value['salesRatio'] === undefined) return false;
|
|
98
105
|
return true;
|
|
@@ -116,6 +123,7 @@ export function ListAccountMetricsDtoFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
116
123
|
'soldDomainsNumber': json['soldDomainsNumber'],
|
|
117
124
|
'referralsNumber': json['referralsNumber'],
|
|
118
125
|
'pointingDomainsNumber': json['pointingDomainsNumber'],
|
|
126
|
+
'verifiedDomainsNumber': json['verifiedDomainsNumber'],
|
|
119
127
|
'pendingChallengesToCollectNumber': json['pendingChallengesToCollectNumber'],
|
|
120
128
|
'salesRatio': json['salesRatio'],
|
|
121
129
|
};
|
|
@@ -140,6 +148,7 @@ export function ListAccountMetricsDtoToJSONTyped(value?: ListAccountMetricsDto |
|
|
|
140
148
|
'soldDomainsNumber': value['soldDomainsNumber'],
|
|
141
149
|
'referralsNumber': value['referralsNumber'],
|
|
142
150
|
'pointingDomainsNumber': value['pointingDomainsNumber'],
|
|
151
|
+
'verifiedDomainsNumber': value['verifiedDomainsNumber'],
|
|
143
152
|
'pendingChallengesToCollectNumber': value['pendingChallengesToCollectNumber'],
|
|
144
153
|
'salesRatio': value['salesRatio'],
|
|
145
154
|
};
|
|
@@ -135,6 +135,12 @@ export interface PrivateAccountGetMeResponse {
|
|
|
135
135
|
* @memberof PrivateAccountGetMeResponse
|
|
136
136
|
*/
|
|
137
137
|
canBroker: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Whether the account can see the onboarding.
|
|
140
|
+
* @type {boolean}
|
|
141
|
+
* @memberof PrivateAccountGetMeResponse
|
|
142
|
+
*/
|
|
143
|
+
canSeeOnboarding: boolean;
|
|
138
144
|
/**
|
|
139
145
|
* Account settings.
|
|
140
146
|
* @type {WithSettingsInner}
|
|
@@ -227,6 +233,7 @@ export function instanceOfPrivateAccountGetMeResponse(value: object): value is P
|
|
|
227
233
|
if (!('challengeRewardBalance' in value) || value['challengeRewardBalance'] === undefined) return false;
|
|
228
234
|
if (!('canSell' in value) || value['canSell'] === undefined) return false;
|
|
229
235
|
if (!('canBroker' in value) || value['canBroker'] === undefined) return false;
|
|
236
|
+
if (!('canSeeOnboarding' in value) || value['canSeeOnboarding'] === undefined) return false;
|
|
230
237
|
if (!('settings' in value) || value['settings'] === undefined) return false;
|
|
231
238
|
if (!('notifications' in value) || value['notifications'] === undefined) return false;
|
|
232
239
|
if (!('enabledFeatures' in value) || value['enabledFeatures'] === undefined) return false;
|
|
@@ -256,6 +263,7 @@ export function PrivateAccountGetMeResponseFromJSONTyped(json: any, ignoreDiscri
|
|
|
256
263
|
'challengeRewardBalance': ChallengeRewardBalanceDtoFromJSON(json['challengeRewardBalance']),
|
|
257
264
|
'canSell': json['canSell'],
|
|
258
265
|
'canBroker': json['canBroker'],
|
|
266
|
+
'canSeeOnboarding': json['canSeeOnboarding'],
|
|
259
267
|
'settings': WithSettingsInnerFromJSON(json['settings']),
|
|
260
268
|
'notifications': ((json['notifications'] as Array<any>).map(AccountNotificationDtoFromJSON)),
|
|
261
269
|
'enabledFeatures': json['enabledFeatures'],
|
|
@@ -286,6 +294,7 @@ export function PrivateAccountGetMeResponseToJSONTyped(value?: PrivateAccountGet
|
|
|
286
294
|
'challengeRewardBalance': ChallengeRewardBalanceDtoToJSON(value['challengeRewardBalance']),
|
|
287
295
|
'canSell': value['canSell'],
|
|
288
296
|
'canBroker': value['canBroker'],
|
|
297
|
+
'canSeeOnboarding': value['canSeeOnboarding'],
|
|
289
298
|
'settings': WithSettingsInnerToJSON(value['settings']),
|
|
290
299
|
'notifications': ((value['notifications'] as Array<any>).map(AccountNotificationDtoToJSON)),
|
|
291
300
|
'enabledFeatures': value['enabledFeatures'],
|