@randock/nameshift-api-client 0.0.448 → 0.0.450
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/.openapi-generator/FILES +12 -0
- package/README.md +3 -3
- package/dist/apis/APIKeysApi.d.ts +78 -0
- package/dist/apis/APIKeysApi.js +354 -0
- package/dist/apis/AccountsApi.d.ts +36 -36
- package/dist/apis/AccountsApi.js +360 -216
- package/dist/apis/AdminApi.d.ts +37 -1
- package/dist/apis/AdminApi.js +122 -1
- package/dist/apis/AuctionsApi.d.ts +4 -4
- package/dist/apis/AuctionsApi.js +40 -24
- package/dist/apis/BankAccountsApi.d.ts +10 -10
- package/dist/apis/BankAccountsApi.js +100 -60
- package/dist/apis/ChallengesApi.d.ts +6 -6
- package/dist/apis/ChallengesApi.js +60 -36
- package/dist/apis/DomainTransfersApi.d.ts +2 -2
- package/dist/apis/DomainTransfersApi.js +20 -12
- package/dist/apis/DomainsApi.d.ts +44 -44
- package/dist/apis/DomainsApi.js +440 -264
- package/dist/apis/EppApi.d.ts +2 -2
- package/dist/apis/EppApi.js +20 -12
- package/dist/apis/InvoicesApi.d.ts +6 -6
- package/dist/apis/InvoicesApi.js +60 -36
- package/dist/apis/LeadsApi.d.ts +38 -38
- package/dist/apis/LeadsApi.js +380 -228
- package/dist/apis/MarketplacesApi.d.ts +89 -0
- package/dist/apis/MarketplacesApi.js +332 -0
- package/dist/apis/NotificationsApi.d.ts +8 -8
- package/dist/apis/NotificationsApi.js +80 -48
- package/dist/apis/StatsApi.d.ts +14 -14
- package/dist/apis/StatsApi.js +140 -84
- package/dist/apis/SubscriptionsApi.d.ts +2 -2
- package/dist/apis/SubscriptionsApi.js +20 -12
- package/dist/apis/TasksApi.d.ts +6 -6
- package/dist/apis/TasksApi.js +60 -36
- package/dist/apis/UsersApi.d.ts +10 -10
- package/dist/apis/UsersApi.js +100 -60
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AccountMarketplaceDto.d.ts +56 -0
- package/dist/models/AccountMarketplaceDto.js +71 -0
- package/dist/models/AccountNameshiftCommissionBySubtypeDto.d.ts +1 -0
- package/dist/models/AccountNameshiftCommissionBySubtypeDto.js +1 -0
- package/dist/models/AccountNameshiftCommissionItemDto.d.ts +1 -0
- package/dist/models/AccountNameshiftCommissionItemDto.js +1 -0
- package/dist/models/AccountNameshiftCommissionReasonDto.d.ts +1 -0
- package/dist/models/AccountNameshiftCommissionReasonDto.js +1 -0
- package/dist/models/AccountSettingsDto.d.ts +18 -0
- package/dist/models/AccountSettingsDto.js +16 -0
- package/dist/models/AccountSettingsInput.d.ts +18 -0
- package/dist/models/AccountSettingsInput.js +14 -0
- package/dist/models/AdminDomainListItemDto.d.ts +19 -0
- package/dist/models/AdminDomainListItemDto.js +17 -1
- package/dist/models/AdminMarketplaceDto.d.ts +86 -0
- package/dist/models/AdminMarketplaceDto.js +91 -0
- package/dist/models/ApiKeyDto.d.ts +107 -0
- package/dist/models/ApiKeyDto.js +114 -0
- package/dist/models/ApiKeyScopeDto.d.ts +83 -0
- package/dist/models/ApiKeyScopeDto.js +98 -0
- package/dist/models/CommissionDto.d.ts +1 -0
- package/dist/models/CommissionDto.js +1 -0
- package/dist/models/CommissionPayloadInput.d.ts +1 -0
- package/dist/models/CommissionPayloadInput.js +1 -0
- package/dist/models/CommissionReasonDto.d.ts +1 -0
- package/dist/models/CommissionReasonDto.js +1 -0
- package/dist/models/CommissionSimulationItemInput.d.ts +1 -0
- package/dist/models/CommissionSimulationItemInput.js +1 -0
- package/dist/models/CreateApiKeyInput.d.ts +83 -0
- package/dist/models/CreateApiKeyInput.js +96 -0
- package/dist/models/CreateOrderInput.d.ts +6 -0
- package/dist/models/CreateOrderInput.js +2 -0
- package/dist/models/CreateSubscriptionInput.d.ts +6 -0
- package/dist/models/CreateSubscriptionInput.js +2 -0
- package/dist/models/CreatedApiKeyDto.d.ts +113 -0
- package/dist/models/CreatedApiKeyDto.js +118 -0
- package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
- package/dist/models/FeatureFlagListItemDto.js +2 -1
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +18 -0
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +16 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +18 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +16 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +18 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +16 -0
- package/dist/models/MarketplaceDto.d.ts +74 -0
- package/dist/models/MarketplaceDto.js +83 -0
- package/dist/models/OrderDto.d.ts +7 -1
- package/dist/models/OrderDto.js +4 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/SetAccountMarketplaceInput.d.ts +32 -0
- package/dist/models/SetAccountMarketplaceInput.js +51 -0
- package/dist/models/SimulateCommissionInput.d.ts +1 -0
- package/dist/models/SimulateCommissionInput.js +1 -0
- package/dist/models/SubscriptionDto.d.ts +7 -1
- package/dist/models/SubscriptionDto.js +4 -0
- package/dist/models/UpdateApiKeyInput.d.ts +77 -0
- package/dist/models/UpdateApiKeyInput.js +90 -0
- package/dist/models/UpdateDomainInput.d.ts +18 -0
- package/dist/models/UpdateDomainInput.js +14 -0
- package/dist/models/UpdateMarketplaceInput.d.ts +44 -0
- package/dist/models/UpdateMarketplaceInput.js +53 -0
- package/dist/models/UpdateOrderInput.d.ts +6 -0
- package/dist/models/UpdateOrderInput.js +2 -0
- package/dist/models/UpdateSubscriptionInput.d.ts +6 -0
- package/dist/models/UpdateSubscriptionInput.js +2 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/package.json +1 -1
- package/src/apis/APIKeysApi.ts +271 -0
- package/src/apis/AccountsApi.ts +108 -36
- package/src/apis/AdminApi.ts +112 -0
- package/src/apis/AuctionsApi.ts +12 -4
- package/src/apis/BankAccountsApi.ts +30 -10
- package/src/apis/ChallengesApi.ts +18 -6
- package/src/apis/DomainTransfersApi.ts +6 -2
- package/src/apis/DomainsApi.ts +132 -44
- package/src/apis/EppApi.ts +6 -2
- package/src/apis/InvoicesApi.ts +18 -6
- package/src/apis/LeadsApi.ts +114 -38
- package/src/apis/MarketplacesApi.ts +240 -0
- package/src/apis/NotificationsApi.ts +24 -8
- package/src/apis/StatsApi.ts +42 -14
- package/src/apis/SubscriptionsApi.ts +6 -2
- package/src/apis/TasksApi.ts +18 -6
- package/src/apis/UsersApi.ts +30 -10
- package/src/apis/index.ts +2 -0
- package/src/models/AccountMarketplaceDto.ts +99 -0
- package/src/models/AccountNameshiftCommissionBySubtypeDto.ts +1 -0
- package/src/models/AccountNameshiftCommissionItemDto.ts +1 -0
- package/src/models/AccountNameshiftCommissionReasonDto.ts +1 -0
- package/src/models/AccountSettingsDto.ts +24 -0
- package/src/models/AccountSettingsInput.ts +23 -0
- package/src/models/AdminDomainListItemDto.ts +23 -0
- package/src/models/AdminMarketplaceDto.ts +144 -0
- package/src/models/ApiKeyDto.ts +162 -0
- package/src/models/ApiKeyScopeDto.ts +126 -0
- package/src/models/CommissionDto.ts +1 -0
- package/src/models/CommissionPayloadInput.ts +1 -0
- package/src/models/CommissionReasonDto.ts +1 -0
- package/src/models/CommissionSimulationItemInput.ts +1 -0
- package/src/models/CreateApiKeyInput.ts +125 -0
- package/src/models/CreateOrderInput.ts +8 -0
- package/src/models/CreateSubscriptionInput.ts +8 -0
- package/src/models/CreatedApiKeyDto.ts +171 -0
- package/src/models/FeatureFlagListItemDto.ts +2 -1
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +24 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +24 -0
- package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +24 -0
- package/src/models/MarketplaceDto.ts +126 -0
- package/src/models/OrderDto.ts +10 -1
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/SetAccountMarketplaceInput.ts +66 -0
- package/src/models/SimulateCommissionInput.ts +1 -0
- package/src/models/SubscriptionDto.ts +10 -1
- package/src/models/UpdateApiKeyInput.ts +115 -0
- package/src/models/UpdateDomainInput.ts +23 -0
- package/src/models/UpdateMarketplaceInput.ts +81 -0
- package/src/models/UpdateOrderInput.ts +8 -0
- package/src/models/UpdateSubscriptionInput.ts +8 -0
- package/src/models/index.ts +10 -0
package/dist/apis/TasksApi.js
CHANGED
|
@@ -76,44 +76,52 @@ var TasksApi = /** @class */ (function (_super) {
|
|
|
76
76
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
* Returns task information for the seller.
|
|
79
|
+
* Returns task information for the seller. **API key scope required:** `TASKS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
80
80
|
* Get task details
|
|
81
81
|
*/
|
|
82
82
|
TasksApi.prototype.getTaskRaw = function (requestParameters, initOverrides) {
|
|
83
83
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, token, tokenString, response;
|
|
85
|
-
return __generator(this, function (
|
|
86
|
-
switch (
|
|
84
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response;
|
|
85
|
+
return __generator(this, function (_c) {
|
|
86
|
+
switch (_c.label) {
|
|
87
87
|
case 0:
|
|
88
88
|
if (requestParameters['taskId'] == null) {
|
|
89
89
|
throw new runtime.RequiredError('taskId', 'Required parameter "taskId" was null or undefined when calling getTask().');
|
|
90
90
|
}
|
|
91
91
|
queryParameters = {};
|
|
92
92
|
headerParameters = {};
|
|
93
|
-
if (!(this.configuration && this.configuration.
|
|
93
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
94
|
+
_a = headerParameters;
|
|
95
|
+
_b = "apikey";
|
|
96
|
+
return [4 /*yield*/, this.configuration.apiKey("apikey")];
|
|
97
|
+
case 1:
|
|
98
|
+
_a[_b] = _c.sent(); // api_key authentication
|
|
99
|
+
_c.label = 2;
|
|
100
|
+
case 2:
|
|
101
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
94
102
|
token = this.configuration.accessToken;
|
|
95
103
|
return [4 /*yield*/, token("bearer", [])];
|
|
96
|
-
case
|
|
97
|
-
tokenString =
|
|
104
|
+
case 3:
|
|
105
|
+
tokenString = _c.sent();
|
|
98
106
|
if (tokenString) {
|
|
99
107
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
100
108
|
}
|
|
101
|
-
|
|
102
|
-
case
|
|
109
|
+
_c.label = 4;
|
|
110
|
+
case 4: return [4 /*yield*/, this.request({
|
|
103
111
|
path: "/private/tasks/{taskId}".replace("{".concat("taskId", "}"), encodeURIComponent(String(requestParameters['taskId']))),
|
|
104
112
|
method: 'GET',
|
|
105
113
|
headers: headerParameters,
|
|
106
114
|
query: queryParameters,
|
|
107
115
|
}, initOverrides)];
|
|
108
|
-
case
|
|
109
|
-
response =
|
|
116
|
+
case 5:
|
|
117
|
+
response = _c.sent();
|
|
110
118
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.TaskDetailsDtoFromJSON)(jsonValue); })];
|
|
111
119
|
}
|
|
112
120
|
});
|
|
113
121
|
});
|
|
114
122
|
};
|
|
115
123
|
/**
|
|
116
|
-
* Returns task information for the seller.
|
|
124
|
+
* Returns task information for the seller. **API key scope required:** `TASKS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
117
125
|
* Get task details
|
|
118
126
|
*/
|
|
119
127
|
TasksApi.prototype.getTask = function (requestParameters, initOverrides) {
|
|
@@ -131,14 +139,14 @@ var TasksApi = /** @class */ (function (_super) {
|
|
|
131
139
|
});
|
|
132
140
|
};
|
|
133
141
|
/**
|
|
134
|
-
* Lists tasks for the seller account.
|
|
142
|
+
* Lists tasks for the seller account. **API key scope required:** `TASKS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
135
143
|
* List seller tasks
|
|
136
144
|
*/
|
|
137
145
|
TasksApi.prototype.listRaw = function (requestParameters, initOverrides) {
|
|
138
146
|
return __awaiter(this, void 0, void 0, function () {
|
|
139
|
-
var queryParameters, headerParameters, token, tokenString, response;
|
|
140
|
-
return __generator(this, function (
|
|
141
|
-
switch (
|
|
147
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response;
|
|
148
|
+
return __generator(this, function (_c) {
|
|
149
|
+
switch (_c.label) {
|
|
142
150
|
case 0:
|
|
143
151
|
queryParameters = {};
|
|
144
152
|
if (requestParameters['filter'] != null) {
|
|
@@ -160,30 +168,38 @@ var TasksApi = /** @class */ (function (_super) {
|
|
|
160
168
|
queryParameters['filter[priority]'] = requestParameters['filterPriority'];
|
|
161
169
|
}
|
|
162
170
|
headerParameters = {};
|
|
163
|
-
if (!(this.configuration && this.configuration.
|
|
171
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
172
|
+
_a = headerParameters;
|
|
173
|
+
_b = "apikey";
|
|
174
|
+
return [4 /*yield*/, this.configuration.apiKey("apikey")];
|
|
175
|
+
case 1:
|
|
176
|
+
_a[_b] = _c.sent(); // api_key authentication
|
|
177
|
+
_c.label = 2;
|
|
178
|
+
case 2:
|
|
179
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
164
180
|
token = this.configuration.accessToken;
|
|
165
181
|
return [4 /*yield*/, token("bearer", [])];
|
|
166
|
-
case
|
|
167
|
-
tokenString =
|
|
182
|
+
case 3:
|
|
183
|
+
tokenString = _c.sent();
|
|
168
184
|
if (tokenString) {
|
|
169
185
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
170
186
|
}
|
|
171
|
-
|
|
172
|
-
case
|
|
187
|
+
_c.label = 4;
|
|
188
|
+
case 4: return [4 /*yield*/, this.request({
|
|
173
189
|
path: "/private/tasks",
|
|
174
190
|
method: 'GET',
|
|
175
191
|
headers: headerParameters,
|
|
176
192
|
query: queryParameters,
|
|
177
193
|
}, initOverrides)];
|
|
178
|
-
case
|
|
179
|
-
response =
|
|
194
|
+
case 5:
|
|
195
|
+
response = _c.sent();
|
|
180
196
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.List200Response1FromJSON)(jsonValue); })];
|
|
181
197
|
}
|
|
182
198
|
});
|
|
183
199
|
});
|
|
184
200
|
};
|
|
185
201
|
/**
|
|
186
|
-
* Lists tasks for the seller account.
|
|
202
|
+
* Lists tasks for the seller account. **API key scope required:** `TASKS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
187
203
|
* List seller tasks
|
|
188
204
|
*/
|
|
189
205
|
TasksApi.prototype.list = function () {
|
|
@@ -202,14 +218,14 @@ var TasksApi = /** @class */ (function (_super) {
|
|
|
202
218
|
});
|
|
203
219
|
};
|
|
204
220
|
/**
|
|
205
|
-
* Mutes or unmutes task notifications for the seller.
|
|
221
|
+
* Mutes or unmutes task notifications for the seller. **API key scope required:** `TASKS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
206
222
|
* Update task mute status
|
|
207
223
|
*/
|
|
208
224
|
TasksApi.prototype.updateTaskMuteStatusRaw = function (requestParameters, initOverrides) {
|
|
209
225
|
return __awaiter(this, void 0, void 0, function () {
|
|
210
|
-
var queryParameters, headerParameters, token, tokenString, response;
|
|
211
|
-
return __generator(this, function (
|
|
212
|
-
switch (
|
|
226
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response;
|
|
227
|
+
return __generator(this, function (_c) {
|
|
228
|
+
switch (_c.label) {
|
|
213
229
|
case 0:
|
|
214
230
|
if (requestParameters['taskId'] == null) {
|
|
215
231
|
throw new runtime.RequiredError('taskId', 'Required parameter "taskId" was null or undefined when calling updateTaskMuteStatus().');
|
|
@@ -220,31 +236,39 @@ var TasksApi = /** @class */ (function (_super) {
|
|
|
220
236
|
queryParameters = {};
|
|
221
237
|
headerParameters = {};
|
|
222
238
|
headerParameters['Content-Type'] = 'application/json';
|
|
223
|
-
if (!(this.configuration && this.configuration.
|
|
239
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
240
|
+
_a = headerParameters;
|
|
241
|
+
_b = "apikey";
|
|
242
|
+
return [4 /*yield*/, this.configuration.apiKey("apikey")];
|
|
243
|
+
case 1:
|
|
244
|
+
_a[_b] = _c.sent(); // api_key authentication
|
|
245
|
+
_c.label = 2;
|
|
246
|
+
case 2:
|
|
247
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
224
248
|
token = this.configuration.accessToken;
|
|
225
249
|
return [4 /*yield*/, token("bearer", [])];
|
|
226
|
-
case
|
|
227
|
-
tokenString =
|
|
250
|
+
case 3:
|
|
251
|
+
tokenString = _c.sent();
|
|
228
252
|
if (tokenString) {
|
|
229
253
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
230
254
|
}
|
|
231
|
-
|
|
232
|
-
case
|
|
255
|
+
_c.label = 4;
|
|
256
|
+
case 4: return [4 /*yield*/, this.request({
|
|
233
257
|
path: "/private/tasks/{taskId}/status/mute-for-seller".replace("{".concat("taskId", "}"), encodeURIComponent(String(requestParameters['taskId']))),
|
|
234
258
|
method: 'PUT',
|
|
235
259
|
headers: headerParameters,
|
|
236
260
|
query: queryParameters,
|
|
237
261
|
body: (0, index_1.UpdateTaskMuteStatusInputToJSON)(requestParameters['updateTaskMuteStatusInput']),
|
|
238
262
|
}, initOverrides)];
|
|
239
|
-
case
|
|
240
|
-
response =
|
|
263
|
+
case 5:
|
|
264
|
+
response = _c.sent();
|
|
241
265
|
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
242
266
|
}
|
|
243
267
|
});
|
|
244
268
|
});
|
|
245
269
|
};
|
|
246
270
|
/**
|
|
247
|
-
* Mutes or unmutes task notifications for the seller.
|
|
271
|
+
* Mutes or unmutes task notifications for the seller. **API key scope required:** `TASKS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
248
272
|
* Update task mute status
|
|
249
273
|
*/
|
|
250
274
|
TasksApi.prototype.updateTaskMuteStatus = function (requestParameters, initOverrides) {
|
package/dist/apis/UsersApi.d.ts
CHANGED
|
@@ -28,52 +28,52 @@ export interface UsersApiUpdateUserNotificationSettingsRequest {
|
|
|
28
28
|
*/
|
|
29
29
|
export declare class UsersApi extends runtime.BaseAPI {
|
|
30
30
|
/**
|
|
31
|
-
* Changes the seller user email after validating the OTP sent to the new address.
|
|
31
|
+
* Changes the seller user email after validating the OTP sent to the new address. **API key scope required:** `USER_EMAIL_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
32
32
|
* Change user email with OTP
|
|
33
33
|
*/
|
|
34
34
|
changeUserEmailWithOtpRaw(requestParameters: UsersApiChangeUserEmailWithOtpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
35
35
|
/**
|
|
36
|
-
* Changes the seller user email after validating the OTP sent to the new address.
|
|
36
|
+
* Changes the seller user email after validating the OTP sent to the new address. **API key scope required:** `USER_EMAIL_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
37
37
|
* Change user email with OTP
|
|
38
38
|
*/
|
|
39
39
|
changeUserEmailWithOtp(requestParameters: UsersApiChangeUserEmailWithOtpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
40
40
|
/**
|
|
41
|
-
* Returns the notification preferences configured for the seller user.
|
|
41
|
+
* Returns the notification preferences configured for the seller user. **API key scope required:** `USERS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
42
42
|
* Get user notification settings
|
|
43
43
|
*/
|
|
44
44
|
getUserNotificationSettingsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserNotificationSettingsDto>>;
|
|
45
45
|
/**
|
|
46
|
-
* Returns the notification preferences configured for the seller user.
|
|
46
|
+
* Returns the notification preferences configured for the seller user. **API key scope required:** `USERS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
47
47
|
* Get user notification settings
|
|
48
48
|
*/
|
|
49
49
|
getUserNotificationSettings(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserNotificationSettingsDto>;
|
|
50
50
|
/**
|
|
51
|
-
* Sends a one-time password to the new email address to verify ownership before changing the account email.
|
|
51
|
+
* Sends a one-time password to the new email address to verify ownership before changing the account email. **API key scope required:** `USER_EMAIL_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
52
52
|
* Request email change OTP
|
|
53
53
|
*/
|
|
54
54
|
requestUserEmailChangeOtpRaw(requestParameters: UsersApiRequestUserEmailChangeOtpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
55
55
|
/**
|
|
56
|
-
* Sends a one-time password to the new email address to verify ownership before changing the account email.
|
|
56
|
+
* Sends a one-time password to the new email address to verify ownership before changing the account email. **API key scope required:** `USER_EMAIL_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
57
57
|
* Request email change OTP
|
|
58
58
|
*/
|
|
59
59
|
requestUserEmailChangeOtp(requestParameters: UsersApiRequestUserEmailChangeOtpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
60
60
|
/**
|
|
61
|
-
* Persists the seller user locale used for notifications and UI content.
|
|
61
|
+
* Persists the seller user locale used for notifications and UI content. **API key scope required:** `USERS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
62
62
|
* Store user locale preference
|
|
63
63
|
*/
|
|
64
64
|
setLocaleRaw(requestParameters: UsersApiSetLocaleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
65
65
|
/**
|
|
66
|
-
* Persists the seller user locale used for notifications and UI content.
|
|
66
|
+
* Persists the seller user locale used for notifications and UI content. **API key scope required:** `USERS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
67
67
|
* Store user locale preference
|
|
68
68
|
*/
|
|
69
69
|
setLocale(requestParameters: UsersApiSetLocaleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
70
70
|
/**
|
|
71
|
-
* Updates one or more notification preferences for the seller user.
|
|
71
|
+
* Updates one or more notification preferences for the seller user. **API key scope required:** `USERS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
72
72
|
* Update user notification settings
|
|
73
73
|
*/
|
|
74
74
|
updateUserNotificationSettingsRaw(requestParameters: UsersApiUpdateUserNotificationSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
75
75
|
/**
|
|
76
|
-
* Updates one or more notification preferences for the seller user.
|
|
76
|
+
* Updates one or more notification preferences for the seller user. **API key scope required:** `USERS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
77
77
|
* Update user notification settings
|
|
78
78
|
*/
|
|
79
79
|
updateUserNotificationSettings(requestParameters: UsersApiUpdateUserNotificationSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
package/dist/apis/UsersApi.js
CHANGED
|
@@ -76,14 +76,14 @@ var UsersApi = /** @class */ (function (_super) {
|
|
|
76
76
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
* Changes the seller user email after validating the OTP sent to the new address.
|
|
79
|
+
* Changes the seller user email after validating the OTP sent to the new address. **API key scope required:** `USER_EMAIL_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
80
80
|
* Change user email with OTP
|
|
81
81
|
*/
|
|
82
82
|
UsersApi.prototype.changeUserEmailWithOtpRaw = function (requestParameters, initOverrides) {
|
|
83
83
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, token, tokenString, response;
|
|
85
|
-
return __generator(this, function (
|
|
86
|
-
switch (
|
|
84
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response;
|
|
85
|
+
return __generator(this, function (_c) {
|
|
86
|
+
switch (_c.label) {
|
|
87
87
|
case 0:
|
|
88
88
|
if (requestParameters['changeUserEmailWithOtpInput'] == null) {
|
|
89
89
|
throw new runtime.RequiredError('changeUserEmailWithOtpInput', 'Required parameter "changeUserEmailWithOtpInput" was null or undefined when calling changeUserEmailWithOtp().');
|
|
@@ -91,31 +91,39 @@ var UsersApi = /** @class */ (function (_super) {
|
|
|
91
91
|
queryParameters = {};
|
|
92
92
|
headerParameters = {};
|
|
93
93
|
headerParameters['Content-Type'] = 'application/json';
|
|
94
|
-
if (!(this.configuration && this.configuration.
|
|
94
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
95
|
+
_a = headerParameters;
|
|
96
|
+
_b = "apikey";
|
|
97
|
+
return [4 /*yield*/, this.configuration.apiKey("apikey")];
|
|
98
|
+
case 1:
|
|
99
|
+
_a[_b] = _c.sent(); // api_key authentication
|
|
100
|
+
_c.label = 2;
|
|
101
|
+
case 2:
|
|
102
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
95
103
|
token = this.configuration.accessToken;
|
|
96
104
|
return [4 /*yield*/, token("bearer", [])];
|
|
97
|
-
case
|
|
98
|
-
tokenString =
|
|
105
|
+
case 3:
|
|
106
|
+
tokenString = _c.sent();
|
|
99
107
|
if (tokenString) {
|
|
100
108
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
101
109
|
}
|
|
102
|
-
|
|
103
|
-
case
|
|
110
|
+
_c.label = 4;
|
|
111
|
+
case 4: return [4 /*yield*/, this.request({
|
|
104
112
|
path: "/private/users/email",
|
|
105
113
|
method: 'PATCH',
|
|
106
114
|
headers: headerParameters,
|
|
107
115
|
query: queryParameters,
|
|
108
116
|
body: (0, index_1.ChangeUserEmailWithOtpInputToJSON)(requestParameters['changeUserEmailWithOtpInput']),
|
|
109
117
|
}, initOverrides)];
|
|
110
|
-
case
|
|
111
|
-
response =
|
|
118
|
+
case 5:
|
|
119
|
+
response = _c.sent();
|
|
112
120
|
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
113
121
|
}
|
|
114
122
|
});
|
|
115
123
|
});
|
|
116
124
|
};
|
|
117
125
|
/**
|
|
118
|
-
* Changes the seller user email after validating the OTP sent to the new address.
|
|
126
|
+
* Changes the seller user email after validating the OTP sent to the new address. **API key scope required:** `USER_EMAIL_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
119
127
|
* Change user email with OTP
|
|
120
128
|
*/
|
|
121
129
|
UsersApi.prototype.changeUserEmailWithOtp = function (requestParameters, initOverrides) {
|
|
@@ -131,41 +139,49 @@ var UsersApi = /** @class */ (function (_super) {
|
|
|
131
139
|
});
|
|
132
140
|
};
|
|
133
141
|
/**
|
|
134
|
-
* Returns the notification preferences configured for the seller user.
|
|
142
|
+
* Returns the notification preferences configured for the seller user. **API key scope required:** `USERS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
135
143
|
* Get user notification settings
|
|
136
144
|
*/
|
|
137
145
|
UsersApi.prototype.getUserNotificationSettingsRaw = function (initOverrides) {
|
|
138
146
|
return __awaiter(this, void 0, void 0, function () {
|
|
139
|
-
var queryParameters, headerParameters, token, tokenString, response;
|
|
140
|
-
return __generator(this, function (
|
|
141
|
-
switch (
|
|
147
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response;
|
|
148
|
+
return __generator(this, function (_c) {
|
|
149
|
+
switch (_c.label) {
|
|
142
150
|
case 0:
|
|
143
151
|
queryParameters = {};
|
|
144
152
|
headerParameters = {};
|
|
145
|
-
if (!(this.configuration && this.configuration.
|
|
153
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
154
|
+
_a = headerParameters;
|
|
155
|
+
_b = "apikey";
|
|
156
|
+
return [4 /*yield*/, this.configuration.apiKey("apikey")];
|
|
157
|
+
case 1:
|
|
158
|
+
_a[_b] = _c.sent(); // api_key authentication
|
|
159
|
+
_c.label = 2;
|
|
160
|
+
case 2:
|
|
161
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
146
162
|
token = this.configuration.accessToken;
|
|
147
163
|
return [4 /*yield*/, token("bearer", [])];
|
|
148
|
-
case
|
|
149
|
-
tokenString =
|
|
164
|
+
case 3:
|
|
165
|
+
tokenString = _c.sent();
|
|
150
166
|
if (tokenString) {
|
|
151
167
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
152
168
|
}
|
|
153
|
-
|
|
154
|
-
case
|
|
169
|
+
_c.label = 4;
|
|
170
|
+
case 4: return [4 /*yield*/, this.request({
|
|
155
171
|
path: "/private/users/notification-settings",
|
|
156
172
|
method: 'GET',
|
|
157
173
|
headers: headerParameters,
|
|
158
174
|
query: queryParameters,
|
|
159
175
|
}, initOverrides)];
|
|
160
|
-
case
|
|
161
|
-
response =
|
|
176
|
+
case 5:
|
|
177
|
+
response = _c.sent();
|
|
162
178
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.UserNotificationSettingsDtoFromJSON)(jsonValue); })];
|
|
163
179
|
}
|
|
164
180
|
});
|
|
165
181
|
});
|
|
166
182
|
};
|
|
167
183
|
/**
|
|
168
|
-
* Returns the notification preferences configured for the seller user.
|
|
184
|
+
* Returns the notification preferences configured for the seller user. **API key scope required:** `USERS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
169
185
|
* Get user notification settings
|
|
170
186
|
*/
|
|
171
187
|
UsersApi.prototype.getUserNotificationSettings = function (initOverrides) {
|
|
@@ -183,14 +199,14 @@ var UsersApi = /** @class */ (function (_super) {
|
|
|
183
199
|
});
|
|
184
200
|
};
|
|
185
201
|
/**
|
|
186
|
-
* Sends a one-time password to the new email address to verify ownership before changing the account email.
|
|
202
|
+
* Sends a one-time password to the new email address to verify ownership before changing the account email. **API key scope required:** `USER_EMAIL_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
187
203
|
* Request email change OTP
|
|
188
204
|
*/
|
|
189
205
|
UsersApi.prototype.requestUserEmailChangeOtpRaw = function (requestParameters, initOverrides) {
|
|
190
206
|
return __awaiter(this, void 0, void 0, function () {
|
|
191
|
-
var queryParameters, headerParameters, token, tokenString, response;
|
|
192
|
-
return __generator(this, function (
|
|
193
|
-
switch (
|
|
207
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response;
|
|
208
|
+
return __generator(this, function (_c) {
|
|
209
|
+
switch (_c.label) {
|
|
194
210
|
case 0:
|
|
195
211
|
if (requestParameters['requestUserEmailChangeOtpInput'] == null) {
|
|
196
212
|
throw new runtime.RequiredError('requestUserEmailChangeOtpInput', 'Required parameter "requestUserEmailChangeOtpInput" was null or undefined when calling requestUserEmailChangeOtp().');
|
|
@@ -198,31 +214,39 @@ var UsersApi = /** @class */ (function (_super) {
|
|
|
198
214
|
queryParameters = {};
|
|
199
215
|
headerParameters = {};
|
|
200
216
|
headerParameters['Content-Type'] = 'application/json';
|
|
201
|
-
if (!(this.configuration && this.configuration.
|
|
217
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
218
|
+
_a = headerParameters;
|
|
219
|
+
_b = "apikey";
|
|
220
|
+
return [4 /*yield*/, this.configuration.apiKey("apikey")];
|
|
221
|
+
case 1:
|
|
222
|
+
_a[_b] = _c.sent(); // api_key authentication
|
|
223
|
+
_c.label = 2;
|
|
224
|
+
case 2:
|
|
225
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
202
226
|
token = this.configuration.accessToken;
|
|
203
227
|
return [4 /*yield*/, token("bearer", [])];
|
|
204
|
-
case
|
|
205
|
-
tokenString =
|
|
228
|
+
case 3:
|
|
229
|
+
tokenString = _c.sent();
|
|
206
230
|
if (tokenString) {
|
|
207
231
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
208
232
|
}
|
|
209
|
-
|
|
210
|
-
case
|
|
233
|
+
_c.label = 4;
|
|
234
|
+
case 4: return [4 /*yield*/, this.request({
|
|
211
235
|
path: "/private/users/email-change/request-otp",
|
|
212
236
|
method: 'POST',
|
|
213
237
|
headers: headerParameters,
|
|
214
238
|
query: queryParameters,
|
|
215
239
|
body: (0, index_1.RequestUserEmailChangeOtpInputToJSON)(requestParameters['requestUserEmailChangeOtpInput']),
|
|
216
240
|
}, initOverrides)];
|
|
217
|
-
case
|
|
218
|
-
response =
|
|
241
|
+
case 5:
|
|
242
|
+
response = _c.sent();
|
|
219
243
|
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
220
244
|
}
|
|
221
245
|
});
|
|
222
246
|
});
|
|
223
247
|
};
|
|
224
248
|
/**
|
|
225
|
-
* Sends a one-time password to the new email address to verify ownership before changing the account email.
|
|
249
|
+
* Sends a one-time password to the new email address to verify ownership before changing the account email. **API key scope required:** `USER_EMAIL_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
226
250
|
* Request email change OTP
|
|
227
251
|
*/
|
|
228
252
|
UsersApi.prototype.requestUserEmailChangeOtp = function (requestParameters, initOverrides) {
|
|
@@ -238,14 +262,14 @@ var UsersApi = /** @class */ (function (_super) {
|
|
|
238
262
|
});
|
|
239
263
|
};
|
|
240
264
|
/**
|
|
241
|
-
* Persists the seller user locale used for notifications and UI content.
|
|
265
|
+
* Persists the seller user locale used for notifications and UI content. **API key scope required:** `USERS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
242
266
|
* Store user locale preference
|
|
243
267
|
*/
|
|
244
268
|
UsersApi.prototype.setLocaleRaw = function (requestParameters, initOverrides) {
|
|
245
269
|
return __awaiter(this, void 0, void 0, function () {
|
|
246
|
-
var queryParameters, headerParameters, token, tokenString, response;
|
|
247
|
-
return __generator(this, function (
|
|
248
|
-
switch (
|
|
270
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response;
|
|
271
|
+
return __generator(this, function (_c) {
|
|
272
|
+
switch (_c.label) {
|
|
249
273
|
case 0:
|
|
250
274
|
if (requestParameters['storeUserLocaleInput'] == null) {
|
|
251
275
|
throw new runtime.RequiredError('storeUserLocaleInput', 'Required parameter "storeUserLocaleInput" was null or undefined when calling setLocale().');
|
|
@@ -253,31 +277,39 @@ var UsersApi = /** @class */ (function (_super) {
|
|
|
253
277
|
queryParameters = {};
|
|
254
278
|
headerParameters = {};
|
|
255
279
|
headerParameters['Content-Type'] = 'application/json';
|
|
256
|
-
if (!(this.configuration && this.configuration.
|
|
280
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
281
|
+
_a = headerParameters;
|
|
282
|
+
_b = "apikey";
|
|
283
|
+
return [4 /*yield*/, this.configuration.apiKey("apikey")];
|
|
284
|
+
case 1:
|
|
285
|
+
_a[_b] = _c.sent(); // api_key authentication
|
|
286
|
+
_c.label = 2;
|
|
287
|
+
case 2:
|
|
288
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
257
289
|
token = this.configuration.accessToken;
|
|
258
290
|
return [4 /*yield*/, token("bearer", [])];
|
|
259
|
-
case
|
|
260
|
-
tokenString =
|
|
291
|
+
case 3:
|
|
292
|
+
tokenString = _c.sent();
|
|
261
293
|
if (tokenString) {
|
|
262
294
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
263
295
|
}
|
|
264
|
-
|
|
265
|
-
case
|
|
296
|
+
_c.label = 4;
|
|
297
|
+
case 4: return [4 /*yield*/, this.request({
|
|
266
298
|
path: "/private/users/store-locale",
|
|
267
299
|
method: 'PATCH',
|
|
268
300
|
headers: headerParameters,
|
|
269
301
|
query: queryParameters,
|
|
270
302
|
body: (0, index_1.StoreUserLocaleInputToJSON)(requestParameters['storeUserLocaleInput']),
|
|
271
303
|
}, initOverrides)];
|
|
272
|
-
case
|
|
273
|
-
response =
|
|
304
|
+
case 5:
|
|
305
|
+
response = _c.sent();
|
|
274
306
|
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
275
307
|
}
|
|
276
308
|
});
|
|
277
309
|
});
|
|
278
310
|
};
|
|
279
311
|
/**
|
|
280
|
-
* Persists the seller user locale used for notifications and UI content.
|
|
312
|
+
* Persists the seller user locale used for notifications and UI content. **API key scope required:** `USERS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
281
313
|
* Store user locale preference
|
|
282
314
|
*/
|
|
283
315
|
UsersApi.prototype.setLocale = function (requestParameters, initOverrides) {
|
|
@@ -293,14 +325,14 @@ var UsersApi = /** @class */ (function (_super) {
|
|
|
293
325
|
});
|
|
294
326
|
};
|
|
295
327
|
/**
|
|
296
|
-
* Updates one or more notification preferences for the seller user.
|
|
328
|
+
* Updates one or more notification preferences for the seller user. **API key scope required:** `USERS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
297
329
|
* Update user notification settings
|
|
298
330
|
*/
|
|
299
331
|
UsersApi.prototype.updateUserNotificationSettingsRaw = function (requestParameters, initOverrides) {
|
|
300
332
|
return __awaiter(this, void 0, void 0, function () {
|
|
301
|
-
var queryParameters, headerParameters, token, tokenString, response;
|
|
302
|
-
return __generator(this, function (
|
|
303
|
-
switch (
|
|
333
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response;
|
|
334
|
+
return __generator(this, function (_c) {
|
|
335
|
+
switch (_c.label) {
|
|
304
336
|
case 0:
|
|
305
337
|
if (requestParameters['updateUserNotificationSettingsInput'] == null) {
|
|
306
338
|
throw new runtime.RequiredError('updateUserNotificationSettingsInput', 'Required parameter "updateUserNotificationSettingsInput" was null or undefined when calling updateUserNotificationSettings().');
|
|
@@ -308,31 +340,39 @@ var UsersApi = /** @class */ (function (_super) {
|
|
|
308
340
|
queryParameters = {};
|
|
309
341
|
headerParameters = {};
|
|
310
342
|
headerParameters['Content-Type'] = 'application/json';
|
|
311
|
-
if (!(this.configuration && this.configuration.
|
|
343
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
344
|
+
_a = headerParameters;
|
|
345
|
+
_b = "apikey";
|
|
346
|
+
return [4 /*yield*/, this.configuration.apiKey("apikey")];
|
|
347
|
+
case 1:
|
|
348
|
+
_a[_b] = _c.sent(); // api_key authentication
|
|
349
|
+
_c.label = 2;
|
|
350
|
+
case 2:
|
|
351
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
312
352
|
token = this.configuration.accessToken;
|
|
313
353
|
return [4 /*yield*/, token("bearer", [])];
|
|
314
|
-
case
|
|
315
|
-
tokenString =
|
|
354
|
+
case 3:
|
|
355
|
+
tokenString = _c.sent();
|
|
316
356
|
if (tokenString) {
|
|
317
357
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
318
358
|
}
|
|
319
|
-
|
|
320
|
-
case
|
|
359
|
+
_c.label = 4;
|
|
360
|
+
case 4: return [4 /*yield*/, this.request({
|
|
321
361
|
path: "/private/users/notification-settings",
|
|
322
362
|
method: 'PATCH',
|
|
323
363
|
headers: headerParameters,
|
|
324
364
|
query: queryParameters,
|
|
325
365
|
body: (0, index_1.UpdateUserNotificationSettingsInputToJSON)(requestParameters['updateUserNotificationSettingsInput']),
|
|
326
366
|
}, initOverrides)];
|
|
327
|
-
case
|
|
328
|
-
response =
|
|
367
|
+
case 5:
|
|
368
|
+
response = _c.sent();
|
|
329
369
|
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
330
370
|
}
|
|
331
371
|
});
|
|
332
372
|
});
|
|
333
373
|
};
|
|
334
374
|
/**
|
|
335
|
-
* Updates one or more notification preferences for the seller user.
|
|
375
|
+
* Updates one or more notification preferences for the seller user. **API key scope required:** `USERS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
336
376
|
* Update user notification settings
|
|
337
377
|
*/
|
|
338
378
|
UsersApi.prototype.updateUserNotificationSettings = function (requestParameters, initOverrides) {
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from './APIKeysApi';
|
|
1
2
|
export * from './AccountsApi';
|
|
2
3
|
export * from './AccountsPublicApi';
|
|
3
4
|
export * from './AddressPublicApi';
|
|
@@ -17,6 +18,7 @@ export * from './LeadsApi';
|
|
|
17
18
|
export * from './LeadsPublicApi';
|
|
18
19
|
export * from './MarketApi';
|
|
19
20
|
export * from './MarketingApi';
|
|
21
|
+
export * from './MarketplacesApi';
|
|
20
22
|
export * from './NotificationsApi';
|
|
21
23
|
export * from './OrdersPublicApi';
|
|
22
24
|
export * from './PartnerApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./APIKeysApi"), exports);
|
|
19
20
|
__exportStar(require("./AccountsApi"), exports);
|
|
20
21
|
__exportStar(require("./AccountsPublicApi"), exports);
|
|
21
22
|
__exportStar(require("./AddressPublicApi"), exports);
|
|
@@ -35,6 +36,7 @@ __exportStar(require("./LeadsApi"), exports);
|
|
|
35
36
|
__exportStar(require("./LeadsPublicApi"), exports);
|
|
36
37
|
__exportStar(require("./MarketApi"), exports);
|
|
37
38
|
__exportStar(require("./MarketingApi"), exports);
|
|
39
|
+
__exportStar(require("./MarketplacesApi"), exports);
|
|
38
40
|
__exportStar(require("./NotificationsApi"), exports);
|
|
39
41
|
__exportStar(require("./OrdersPublicApi"), exports);
|
|
40
42
|
__exportStar(require("./PartnerApi"), exports);
|