@teemill/platform 0.66.0 → 0.67.1
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 +0 -1
- package/README.md +4 -4
- package/api.ts +215 -88
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +119 -57
- package/dist/api.js +159 -67
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +119 -57
- package/dist/esm/api.js +159 -67
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ConciergeCandidate.md +6 -4
- package/docs/ConciergeCandidatesApi.md +91 -23
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Platform
|
|
6
6
|
* Manage Your podOS platform
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.67.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -113,22 +113,22 @@ exports.UpdateModerationItemRequestJudgementEnum = {
|
|
|
113
113
|
const ConciergeCandidatesApiAxiosParamCreator = function (configuration) {
|
|
114
114
|
return {
|
|
115
115
|
/**
|
|
116
|
-
*
|
|
117
|
-
* @summary
|
|
116
|
+
* Approve a concierge candidate by a given concierge candidate ID. This will create a task with #concierge tag that can be assigned to a user.
|
|
117
|
+
* @summary Approve concierge candidate
|
|
118
118
|
* @param {string} project Project unique identifier
|
|
119
119
|
* @param {string} platformId The platform identifier
|
|
120
120
|
* @param {string} conciergeCandidateId The concierge candidate identifier
|
|
121
121
|
* @param {*} [options] Override http request option.
|
|
122
122
|
* @throws {RequiredError}
|
|
123
123
|
*/
|
|
124
|
-
|
|
124
|
+
approveConciergeCandidate: (project_1, platformId_1, conciergeCandidateId_1, ...args_1) => __awaiter(this, [project_1, platformId_1, conciergeCandidateId_1, ...args_1], void 0, function* (project, platformId, conciergeCandidateId, options = {}) {
|
|
125
125
|
// verify required parameter 'project' is not null or undefined
|
|
126
|
-
(0, common_1.assertParamExists)('
|
|
126
|
+
(0, common_1.assertParamExists)('approveConciergeCandidate', 'project', project);
|
|
127
127
|
// verify required parameter 'platformId' is not null or undefined
|
|
128
|
-
(0, common_1.assertParamExists)('
|
|
128
|
+
(0, common_1.assertParamExists)('approveConciergeCandidate', 'platformId', platformId);
|
|
129
129
|
// verify required parameter 'conciergeCandidateId' is not null or undefined
|
|
130
|
-
(0, common_1.assertParamExists)('
|
|
131
|
-
const localVarPath = `/v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId}`
|
|
130
|
+
(0, common_1.assertParamExists)('approveConciergeCandidate', 'conciergeCandidateId', conciergeCandidateId);
|
|
131
|
+
const localVarPath = `/v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId}/approve`
|
|
132
132
|
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
|
|
133
133
|
.replace(`{${"conciergeCandidateId"}}`, encodeURIComponent(String(conciergeCandidateId)));
|
|
134
134
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -137,7 +137,7 @@ const ConciergeCandidatesApiAxiosParamCreator = function (configuration) {
|
|
|
137
137
|
if (configuration) {
|
|
138
138
|
baseOptions = configuration.baseOptions;
|
|
139
139
|
}
|
|
140
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
140
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
141
141
|
const localVarHeaderParameter = {};
|
|
142
142
|
const localVarQueryParameter = {};
|
|
143
143
|
// authentication session-oauth required
|
|
@@ -158,27 +158,31 @@ const ConciergeCandidatesApiAxiosParamCreator = function (configuration) {
|
|
|
158
158
|
};
|
|
159
159
|
}),
|
|
160
160
|
/**
|
|
161
|
-
*
|
|
162
|
-
* @summary
|
|
161
|
+
* Delete a concierge candidate by a given concierge candidate ID.
|
|
162
|
+
* @summary Delete concierge candidate
|
|
163
163
|
* @param {string} project Project unique identifier
|
|
164
164
|
* @param {string} platformId The platform identifier
|
|
165
|
+
* @param {string} conciergeCandidateId The concierge candidate identifier
|
|
165
166
|
* @param {*} [options] Override http request option.
|
|
166
167
|
* @throws {RequiredError}
|
|
167
168
|
*/
|
|
168
|
-
|
|
169
|
+
deleteConciergeCandidate: (project_1, platformId_1, conciergeCandidateId_1, ...args_1) => __awaiter(this, [project_1, platformId_1, conciergeCandidateId_1, ...args_1], void 0, function* (project, platformId, conciergeCandidateId, options = {}) {
|
|
169
170
|
// verify required parameter 'project' is not null or undefined
|
|
170
|
-
(0, common_1.assertParamExists)('
|
|
171
|
+
(0, common_1.assertParamExists)('deleteConciergeCandidate', 'project', project);
|
|
171
172
|
// verify required parameter 'platformId' is not null or undefined
|
|
172
|
-
(0, common_1.assertParamExists)('
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
(0, common_1.assertParamExists)('deleteConciergeCandidate', 'platformId', platformId);
|
|
174
|
+
// verify required parameter 'conciergeCandidateId' is not null or undefined
|
|
175
|
+
(0, common_1.assertParamExists)('deleteConciergeCandidate', 'conciergeCandidateId', conciergeCandidateId);
|
|
176
|
+
const localVarPath = `/v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId}`
|
|
177
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
|
|
178
|
+
.replace(`{${"conciergeCandidateId"}}`, encodeURIComponent(String(conciergeCandidateId)));
|
|
175
179
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
176
180
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
177
181
|
let baseOptions;
|
|
178
182
|
if (configuration) {
|
|
179
183
|
baseOptions = configuration.baseOptions;
|
|
180
184
|
}
|
|
181
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
185
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
182
186
|
const localVarHeaderParameter = {};
|
|
183
187
|
const localVarQueryParameter = {};
|
|
184
188
|
// authentication session-oauth required
|
|
@@ -199,24 +203,21 @@ const ConciergeCandidatesApiAxiosParamCreator = function (configuration) {
|
|
|
199
203
|
};
|
|
200
204
|
}),
|
|
201
205
|
/**
|
|
202
|
-
*
|
|
203
|
-
* @summary
|
|
206
|
+
* Get a concierge candidate by a given concierge candidate ID.
|
|
207
|
+
* @summary Get concierge candidate
|
|
204
208
|
* @param {string} project Project unique identifier
|
|
205
209
|
* @param {string} platformId The platform identifier
|
|
206
210
|
* @param {string} conciergeCandidateId The concierge candidate identifier
|
|
207
|
-
* @param {UpdateConciergeCandidateRequest} updateConciergeCandidateRequest
|
|
208
211
|
* @param {*} [options] Override http request option.
|
|
209
212
|
* @throws {RequiredError}
|
|
210
213
|
*/
|
|
211
|
-
|
|
214
|
+
getConciergeCandidate: (project_1, platformId_1, conciergeCandidateId_1, ...args_1) => __awaiter(this, [project_1, platformId_1, conciergeCandidateId_1, ...args_1], void 0, function* (project, platformId, conciergeCandidateId, options = {}) {
|
|
212
215
|
// verify required parameter 'project' is not null or undefined
|
|
213
|
-
(0, common_1.assertParamExists)('
|
|
216
|
+
(0, common_1.assertParamExists)('getConciergeCandidate', 'project', project);
|
|
214
217
|
// verify required parameter 'platformId' is not null or undefined
|
|
215
|
-
(0, common_1.assertParamExists)('
|
|
218
|
+
(0, common_1.assertParamExists)('getConciergeCandidate', 'platformId', platformId);
|
|
216
219
|
// verify required parameter 'conciergeCandidateId' is not null or undefined
|
|
217
|
-
(0, common_1.assertParamExists)('
|
|
218
|
-
// verify required parameter 'updateConciergeCandidateRequest' is not null or undefined
|
|
219
|
-
(0, common_1.assertParamExists)('updateConciergeCandidate', 'updateConciergeCandidateRequest', updateConciergeCandidateRequest);
|
|
220
|
+
(0, common_1.assertParamExists)('getConciergeCandidate', 'conciergeCandidateId', conciergeCandidateId);
|
|
220
221
|
const localVarPath = `/v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId}`
|
|
221
222
|
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
|
|
222
223
|
.replace(`{${"conciergeCandidateId"}}`, encodeURIComponent(String(conciergeCandidateId)));
|
|
@@ -226,7 +227,7 @@ const ConciergeCandidatesApiAxiosParamCreator = function (configuration) {
|
|
|
226
227
|
if (configuration) {
|
|
227
228
|
baseOptions = configuration.baseOptions;
|
|
228
229
|
}
|
|
229
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
230
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
230
231
|
const localVarHeaderParameter = {};
|
|
231
232
|
const localVarQueryParameter = {};
|
|
232
233
|
// authentication session-oauth required
|
|
@@ -237,12 +238,63 @@ const ConciergeCandidatesApiAxiosParamCreator = function (configuration) {
|
|
|
237
238
|
if (project !== undefined) {
|
|
238
239
|
localVarQueryParameter['project'] = project;
|
|
239
240
|
}
|
|
240
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
241
241
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
242
242
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
243
243
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
244
244
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
245
|
-
|
|
245
|
+
return {
|
|
246
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
247
|
+
options: localVarRequestOptions,
|
|
248
|
+
};
|
|
249
|
+
}),
|
|
250
|
+
/**
|
|
251
|
+
* List concierge candidates
|
|
252
|
+
* @summary List concierge candidates
|
|
253
|
+
* @param {string} project Project unique identifier
|
|
254
|
+
* @param {string} platformId The platform identifier
|
|
255
|
+
* @param {string} [search] Search term to filter results
|
|
256
|
+
* @param {number} [pageToken] Page reference token
|
|
257
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
258
|
+
* @param {*} [options] Override http request option.
|
|
259
|
+
* @throws {RequiredError}
|
|
260
|
+
*/
|
|
261
|
+
listConciergeCandidates: (project_1, platformId_1, search_1, pageToken_1, pageSize_1, ...args_1) => __awaiter(this, [project_1, platformId_1, search_1, pageToken_1, pageSize_1, ...args_1], void 0, function* (project, platformId, search, pageToken, pageSize, options = {}) {
|
|
262
|
+
// verify required parameter 'project' is not null or undefined
|
|
263
|
+
(0, common_1.assertParamExists)('listConciergeCandidates', 'project', project);
|
|
264
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
265
|
+
(0, common_1.assertParamExists)('listConciergeCandidates', 'platformId', platformId);
|
|
266
|
+
const localVarPath = `/v1/platform/{platformId}/concierge-candidates`
|
|
267
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
|
|
268
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
269
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
270
|
+
let baseOptions;
|
|
271
|
+
if (configuration) {
|
|
272
|
+
baseOptions = configuration.baseOptions;
|
|
273
|
+
}
|
|
274
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
275
|
+
const localVarHeaderParameter = {};
|
|
276
|
+
const localVarQueryParameter = {};
|
|
277
|
+
// authentication session-oauth required
|
|
278
|
+
// oauth required
|
|
279
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
280
|
+
// authentication api-key required
|
|
281
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
282
|
+
if (project !== undefined) {
|
|
283
|
+
localVarQueryParameter['project'] = project;
|
|
284
|
+
}
|
|
285
|
+
if (search !== undefined) {
|
|
286
|
+
localVarQueryParameter['search'] = search;
|
|
287
|
+
}
|
|
288
|
+
if (pageToken !== undefined) {
|
|
289
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
290
|
+
}
|
|
291
|
+
if (pageSize !== undefined) {
|
|
292
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
293
|
+
}
|
|
294
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
295
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
296
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
297
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
246
298
|
return {
|
|
247
299
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
248
300
|
options: localVarRequestOptions,
|
|
@@ -258,56 +310,76 @@ const ConciergeCandidatesApiFp = function (configuration) {
|
|
|
258
310
|
const localVarAxiosParamCreator = (0, exports.ConciergeCandidatesApiAxiosParamCreator)(configuration);
|
|
259
311
|
return {
|
|
260
312
|
/**
|
|
261
|
-
*
|
|
262
|
-
* @summary
|
|
313
|
+
* Approve a concierge candidate by a given concierge candidate ID. This will create a task with #concierge tag that can be assigned to a user.
|
|
314
|
+
* @summary Approve concierge candidate
|
|
263
315
|
* @param {string} project Project unique identifier
|
|
264
316
|
* @param {string} platformId The platform identifier
|
|
265
317
|
* @param {string} conciergeCandidateId The concierge candidate identifier
|
|
266
318
|
* @param {*} [options] Override http request option.
|
|
267
319
|
* @throws {RequiredError}
|
|
268
320
|
*/
|
|
269
|
-
|
|
321
|
+
approveConciergeCandidate(project, platformId, conciergeCandidateId, options) {
|
|
270
322
|
return __awaiter(this, void 0, void 0, function* () {
|
|
271
323
|
var _a, _b, _c;
|
|
272
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
324
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.approveConciergeCandidate(project, platformId, conciergeCandidateId, options);
|
|
273
325
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
274
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ConciergeCandidatesApi.
|
|
326
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ConciergeCandidatesApi.approveConciergeCandidate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
275
327
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
276
328
|
});
|
|
277
329
|
},
|
|
278
330
|
/**
|
|
279
|
-
*
|
|
280
|
-
* @summary
|
|
331
|
+
* Delete a concierge candidate by a given concierge candidate ID.
|
|
332
|
+
* @summary Delete concierge candidate
|
|
281
333
|
* @param {string} project Project unique identifier
|
|
282
334
|
* @param {string} platformId The platform identifier
|
|
335
|
+
* @param {string} conciergeCandidateId The concierge candidate identifier
|
|
283
336
|
* @param {*} [options] Override http request option.
|
|
284
337
|
* @throws {RequiredError}
|
|
285
338
|
*/
|
|
286
|
-
|
|
339
|
+
deleteConciergeCandidate(project, platformId, conciergeCandidateId, options) {
|
|
287
340
|
return __awaiter(this, void 0, void 0, function* () {
|
|
288
341
|
var _a, _b, _c;
|
|
289
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
342
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteConciergeCandidate(project, platformId, conciergeCandidateId, options);
|
|
290
343
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
291
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ConciergeCandidatesApi.
|
|
344
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ConciergeCandidatesApi.deleteConciergeCandidate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
292
345
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
293
346
|
});
|
|
294
347
|
},
|
|
295
348
|
/**
|
|
296
|
-
*
|
|
297
|
-
* @summary
|
|
349
|
+
* Get a concierge candidate by a given concierge candidate ID.
|
|
350
|
+
* @summary Get concierge candidate
|
|
298
351
|
* @param {string} project Project unique identifier
|
|
299
352
|
* @param {string} platformId The platform identifier
|
|
300
353
|
* @param {string} conciergeCandidateId The concierge candidate identifier
|
|
301
|
-
* @param {UpdateConciergeCandidateRequest} updateConciergeCandidateRequest
|
|
302
354
|
* @param {*} [options] Override http request option.
|
|
303
355
|
* @throws {RequiredError}
|
|
304
356
|
*/
|
|
305
|
-
|
|
357
|
+
getConciergeCandidate(project, platformId, conciergeCandidateId, options) {
|
|
358
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
359
|
+
var _a, _b, _c;
|
|
360
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getConciergeCandidate(project, platformId, conciergeCandidateId, options);
|
|
361
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
362
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ConciergeCandidatesApi.getConciergeCandidate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
363
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
364
|
+
});
|
|
365
|
+
},
|
|
366
|
+
/**
|
|
367
|
+
* List concierge candidates
|
|
368
|
+
* @summary List concierge candidates
|
|
369
|
+
* @param {string} project Project unique identifier
|
|
370
|
+
* @param {string} platformId The platform identifier
|
|
371
|
+
* @param {string} [search] Search term to filter results
|
|
372
|
+
* @param {number} [pageToken] Page reference token
|
|
373
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
374
|
+
* @param {*} [options] Override http request option.
|
|
375
|
+
* @throws {RequiredError}
|
|
376
|
+
*/
|
|
377
|
+
listConciergeCandidates(project, platformId, search, pageToken, pageSize, options) {
|
|
306
378
|
return __awaiter(this, void 0, void 0, function* () {
|
|
307
379
|
var _a, _b, _c;
|
|
308
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
380
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listConciergeCandidates(project, platformId, search, pageToken, pageSize, options);
|
|
309
381
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
310
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ConciergeCandidatesApi.
|
|
382
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ConciergeCandidatesApi.listConciergeCandidates']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
311
383
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
312
384
|
});
|
|
313
385
|
},
|
|
@@ -320,6 +392,26 @@ exports.ConciergeCandidatesApiFp = ConciergeCandidatesApiFp;
|
|
|
320
392
|
const ConciergeCandidatesApiFactory = function (configuration, basePath, axios) {
|
|
321
393
|
const localVarFp = (0, exports.ConciergeCandidatesApiFp)(configuration);
|
|
322
394
|
return {
|
|
395
|
+
/**
|
|
396
|
+
* Approve a concierge candidate by a given concierge candidate ID. This will create a task with #concierge tag that can be assigned to a user.
|
|
397
|
+
* @summary Approve concierge candidate
|
|
398
|
+
* @param {ConciergeCandidatesApiApproveConciergeCandidateRequest} requestParameters Request parameters.
|
|
399
|
+
* @param {*} [options] Override http request option.
|
|
400
|
+
* @throws {RequiredError}
|
|
401
|
+
*/
|
|
402
|
+
approveConciergeCandidate(requestParameters, options) {
|
|
403
|
+
return localVarFp.approveConciergeCandidate(requestParameters.project, requestParameters.platformId, requestParameters.conciergeCandidateId, options).then((request) => request(axios, basePath));
|
|
404
|
+
},
|
|
405
|
+
/**
|
|
406
|
+
* Delete a concierge candidate by a given concierge candidate ID.
|
|
407
|
+
* @summary Delete concierge candidate
|
|
408
|
+
* @param {ConciergeCandidatesApiDeleteConciergeCandidateRequest} requestParameters Request parameters.
|
|
409
|
+
* @param {*} [options] Override http request option.
|
|
410
|
+
* @throws {RequiredError}
|
|
411
|
+
*/
|
|
412
|
+
deleteConciergeCandidate(requestParameters, options) {
|
|
413
|
+
return localVarFp.deleteConciergeCandidate(requestParameters.project, requestParameters.platformId, requestParameters.conciergeCandidateId, options).then((request) => request(axios, basePath));
|
|
414
|
+
},
|
|
323
415
|
/**
|
|
324
416
|
* Get a concierge candidate by a given concierge candidate ID.
|
|
325
417
|
* @summary Get concierge candidate
|
|
@@ -338,17 +430,7 @@ const ConciergeCandidatesApiFactory = function (configuration, basePath, axios)
|
|
|
338
430
|
* @throws {RequiredError}
|
|
339
431
|
*/
|
|
340
432
|
listConciergeCandidates(requestParameters, options) {
|
|
341
|
-
return localVarFp.listConciergeCandidates(requestParameters.project, requestParameters.platformId, options).then((request) => request(axios, basePath));
|
|
342
|
-
},
|
|
343
|
-
/**
|
|
344
|
-
* Update a concierge candidate by a given concierge candidate ID.
|
|
345
|
-
* @summary Update concierge candidate
|
|
346
|
-
* @param {ConciergeCandidatesApiUpdateConciergeCandidateRequest} requestParameters Request parameters.
|
|
347
|
-
* @param {*} [options] Override http request option.
|
|
348
|
-
* @throws {RequiredError}
|
|
349
|
-
*/
|
|
350
|
-
updateConciergeCandidate(requestParameters, options) {
|
|
351
|
-
return localVarFp.updateConciergeCandidate(requestParameters.project, requestParameters.platformId, requestParameters.conciergeCandidateId, requestParameters.updateConciergeCandidateRequest, options).then((request) => request(axios, basePath));
|
|
433
|
+
return localVarFp.listConciergeCandidates(requestParameters.project, requestParameters.platformId, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
352
434
|
},
|
|
353
435
|
};
|
|
354
436
|
};
|
|
@@ -357,6 +439,26 @@ exports.ConciergeCandidatesApiFactory = ConciergeCandidatesApiFactory;
|
|
|
357
439
|
* ConciergeCandidatesApi - object-oriented interface
|
|
358
440
|
*/
|
|
359
441
|
class ConciergeCandidatesApi extends base_1.BaseAPI {
|
|
442
|
+
/**
|
|
443
|
+
* Approve a concierge candidate by a given concierge candidate ID. This will create a task with #concierge tag that can be assigned to a user.
|
|
444
|
+
* @summary Approve concierge candidate
|
|
445
|
+
* @param {ConciergeCandidatesApiApproveConciergeCandidateRequest} requestParameters Request parameters.
|
|
446
|
+
* @param {*} [options] Override http request option.
|
|
447
|
+
* @throws {RequiredError}
|
|
448
|
+
*/
|
|
449
|
+
approveConciergeCandidate(requestParameters, options) {
|
|
450
|
+
return (0, exports.ConciergeCandidatesApiFp)(this.configuration).approveConciergeCandidate(requestParameters.project, requestParameters.platformId, requestParameters.conciergeCandidateId, options).then((request) => request(this.axios, this.basePath));
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* Delete a concierge candidate by a given concierge candidate ID.
|
|
454
|
+
* @summary Delete concierge candidate
|
|
455
|
+
* @param {ConciergeCandidatesApiDeleteConciergeCandidateRequest} requestParameters Request parameters.
|
|
456
|
+
* @param {*} [options] Override http request option.
|
|
457
|
+
* @throws {RequiredError}
|
|
458
|
+
*/
|
|
459
|
+
deleteConciergeCandidate(requestParameters, options) {
|
|
460
|
+
return (0, exports.ConciergeCandidatesApiFp)(this.configuration).deleteConciergeCandidate(requestParameters.project, requestParameters.platformId, requestParameters.conciergeCandidateId, options).then((request) => request(this.axios, this.basePath));
|
|
461
|
+
}
|
|
360
462
|
/**
|
|
361
463
|
* Get a concierge candidate by a given concierge candidate ID.
|
|
362
464
|
* @summary Get concierge candidate
|
|
@@ -375,17 +477,7 @@ class ConciergeCandidatesApi extends base_1.BaseAPI {
|
|
|
375
477
|
* @throws {RequiredError}
|
|
376
478
|
*/
|
|
377
479
|
listConciergeCandidates(requestParameters, options) {
|
|
378
|
-
return (0, exports.ConciergeCandidatesApiFp)(this.configuration).listConciergeCandidates(requestParameters.project, requestParameters.platformId, options).then((request) => request(this.axios, this.basePath));
|
|
379
|
-
}
|
|
380
|
-
/**
|
|
381
|
-
* Update a concierge candidate by a given concierge candidate ID.
|
|
382
|
-
* @summary Update concierge candidate
|
|
383
|
-
* @param {ConciergeCandidatesApiUpdateConciergeCandidateRequest} requestParameters Request parameters.
|
|
384
|
-
* @param {*} [options] Override http request option.
|
|
385
|
-
* @throws {RequiredError}
|
|
386
|
-
*/
|
|
387
|
-
updateConciergeCandidate(requestParameters, options) {
|
|
388
|
-
return (0, exports.ConciergeCandidatesApiFp)(this.configuration).updateConciergeCandidate(requestParameters.project, requestParameters.platformId, requestParameters.conciergeCandidateId, requestParameters.updateConciergeCandidateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
480
|
+
return (0, exports.ConciergeCandidatesApiFp)(this.configuration).listConciergeCandidates(requestParameters.project, requestParameters.platformId, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
389
481
|
}
|
|
390
482
|
}
|
|
391
483
|
exports.ConciergeCandidatesApi = ConciergeCandidatesApi;
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED