@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/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.66.0
7
+ * The version of the OpenAPI document: 0.67.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -109,22 +109,22 @@ export const UpdateModerationItemRequestJudgementEnum = {
109
109
  export const ConciergeCandidatesApiAxiosParamCreator = function (configuration) {
110
110
  return {
111
111
  /**
112
- * Get a concierge candidate by a given concierge candidate ID.
113
- * @summary Get concierge candidate
112
+ * 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.
113
+ * @summary Approve concierge candidate
114
114
  * @param {string} project Project unique identifier
115
115
  * @param {string} platformId The platform identifier
116
116
  * @param {string} conciergeCandidateId The concierge candidate identifier
117
117
  * @param {*} [options] Override http request option.
118
118
  * @throws {RequiredError}
119
119
  */
120
- 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 = {}) {
120
+ 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 = {}) {
121
121
  // verify required parameter 'project' is not null or undefined
122
- assertParamExists('getConciergeCandidate', 'project', project);
122
+ assertParamExists('approveConciergeCandidate', 'project', project);
123
123
  // verify required parameter 'platformId' is not null or undefined
124
- assertParamExists('getConciergeCandidate', 'platformId', platformId);
124
+ assertParamExists('approveConciergeCandidate', 'platformId', platformId);
125
125
  // verify required parameter 'conciergeCandidateId' is not null or undefined
126
- assertParamExists('getConciergeCandidate', 'conciergeCandidateId', conciergeCandidateId);
127
- const localVarPath = `/v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId}`
126
+ assertParamExists('approveConciergeCandidate', 'conciergeCandidateId', conciergeCandidateId);
127
+ const localVarPath = `/v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId}/approve`
128
128
  .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
129
129
  .replace(`{${"conciergeCandidateId"}}`, encodeURIComponent(String(conciergeCandidateId)));
130
130
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -133,7 +133,7 @@ export const ConciergeCandidatesApiAxiosParamCreator = function (configuration)
133
133
  if (configuration) {
134
134
  baseOptions = configuration.baseOptions;
135
135
  }
136
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
136
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
137
137
  const localVarHeaderParameter = {};
138
138
  const localVarQueryParameter = {};
139
139
  // authentication session-oauth required
@@ -154,27 +154,31 @@ export const ConciergeCandidatesApiAxiosParamCreator = function (configuration)
154
154
  };
155
155
  }),
156
156
  /**
157
- * List concierge candidates
158
- * @summary List concierge candidates
157
+ * Delete a concierge candidate by a given concierge candidate ID.
158
+ * @summary Delete concierge candidate
159
159
  * @param {string} project Project unique identifier
160
160
  * @param {string} platformId The platform identifier
161
+ * @param {string} conciergeCandidateId The concierge candidate identifier
161
162
  * @param {*} [options] Override http request option.
162
163
  * @throws {RequiredError}
163
164
  */
164
- listConciergeCandidates: (project_1, platformId_1, ...args_1) => __awaiter(this, [project_1, platformId_1, ...args_1], void 0, function* (project, platformId, options = {}) {
165
+ 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 = {}) {
165
166
  // verify required parameter 'project' is not null or undefined
166
- assertParamExists('listConciergeCandidates', 'project', project);
167
+ assertParamExists('deleteConciergeCandidate', 'project', project);
167
168
  // verify required parameter 'platformId' is not null or undefined
168
- assertParamExists('listConciergeCandidates', 'platformId', platformId);
169
- const localVarPath = `/v1/platform/{platformId}/concierge-candidates`
170
- .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
169
+ assertParamExists('deleteConciergeCandidate', 'platformId', platformId);
170
+ // verify required parameter 'conciergeCandidateId' is not null or undefined
171
+ assertParamExists('deleteConciergeCandidate', 'conciergeCandidateId', conciergeCandidateId);
172
+ const localVarPath = `/v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId}`
173
+ .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
174
+ .replace(`{${"conciergeCandidateId"}}`, encodeURIComponent(String(conciergeCandidateId)));
171
175
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
172
176
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
173
177
  let baseOptions;
174
178
  if (configuration) {
175
179
  baseOptions = configuration.baseOptions;
176
180
  }
177
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
181
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
178
182
  const localVarHeaderParameter = {};
179
183
  const localVarQueryParameter = {};
180
184
  // authentication session-oauth required
@@ -195,24 +199,21 @@ export const ConciergeCandidatesApiAxiosParamCreator = function (configuration)
195
199
  };
196
200
  }),
197
201
  /**
198
- * Update a concierge candidate by a given concierge candidate ID.
199
- * @summary Update concierge candidate
202
+ * Get a concierge candidate by a given concierge candidate ID.
203
+ * @summary Get concierge candidate
200
204
  * @param {string} project Project unique identifier
201
205
  * @param {string} platformId The platform identifier
202
206
  * @param {string} conciergeCandidateId The concierge candidate identifier
203
- * @param {UpdateConciergeCandidateRequest} updateConciergeCandidateRequest
204
207
  * @param {*} [options] Override http request option.
205
208
  * @throws {RequiredError}
206
209
  */
207
- updateConciergeCandidate: (project_1, platformId_1, conciergeCandidateId_1, updateConciergeCandidateRequest_1, ...args_1) => __awaiter(this, [project_1, platformId_1, conciergeCandidateId_1, updateConciergeCandidateRequest_1, ...args_1], void 0, function* (project, platformId, conciergeCandidateId, updateConciergeCandidateRequest, options = {}) {
210
+ 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 = {}) {
208
211
  // verify required parameter 'project' is not null or undefined
209
- assertParamExists('updateConciergeCandidate', 'project', project);
212
+ assertParamExists('getConciergeCandidate', 'project', project);
210
213
  // verify required parameter 'platformId' is not null or undefined
211
- assertParamExists('updateConciergeCandidate', 'platformId', platformId);
214
+ assertParamExists('getConciergeCandidate', 'platformId', platformId);
212
215
  // verify required parameter 'conciergeCandidateId' is not null or undefined
213
- assertParamExists('updateConciergeCandidate', 'conciergeCandidateId', conciergeCandidateId);
214
- // verify required parameter 'updateConciergeCandidateRequest' is not null or undefined
215
- assertParamExists('updateConciergeCandidate', 'updateConciergeCandidateRequest', updateConciergeCandidateRequest);
216
+ assertParamExists('getConciergeCandidate', 'conciergeCandidateId', conciergeCandidateId);
216
217
  const localVarPath = `/v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId}`
217
218
  .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
218
219
  .replace(`{${"conciergeCandidateId"}}`, encodeURIComponent(String(conciergeCandidateId)));
@@ -222,7 +223,7 @@ export const ConciergeCandidatesApiAxiosParamCreator = function (configuration)
222
223
  if (configuration) {
223
224
  baseOptions = configuration.baseOptions;
224
225
  }
225
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
226
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
226
227
  const localVarHeaderParameter = {};
227
228
  const localVarQueryParameter = {};
228
229
  // authentication session-oauth required
@@ -233,12 +234,63 @@ export const ConciergeCandidatesApiAxiosParamCreator = function (configuration)
233
234
  if (project !== undefined) {
234
235
  localVarQueryParameter['project'] = project;
235
236
  }
236
- localVarHeaderParameter['Content-Type'] = 'application/json';
237
237
  localVarHeaderParameter['Accept'] = 'application/json';
238
238
  setSearchParams(localVarUrlObj, localVarQueryParameter);
239
239
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
240
240
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
241
- localVarRequestOptions.data = serializeDataIfNeeded(updateConciergeCandidateRequest, localVarRequestOptions, configuration);
241
+ return {
242
+ url: toPathString(localVarUrlObj),
243
+ options: localVarRequestOptions,
244
+ };
245
+ }),
246
+ /**
247
+ * List concierge candidates
248
+ * @summary List concierge candidates
249
+ * @param {string} project Project unique identifier
250
+ * @param {string} platformId The platform identifier
251
+ * @param {string} [search] Search term to filter results
252
+ * @param {number} [pageToken] Page reference token
253
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
254
+ * @param {*} [options] Override http request option.
255
+ * @throws {RequiredError}
256
+ */
257
+ 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 = {}) {
258
+ // verify required parameter 'project' is not null or undefined
259
+ assertParamExists('listConciergeCandidates', 'project', project);
260
+ // verify required parameter 'platformId' is not null or undefined
261
+ assertParamExists('listConciergeCandidates', 'platformId', platformId);
262
+ const localVarPath = `/v1/platform/{platformId}/concierge-candidates`
263
+ .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
264
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
265
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
266
+ let baseOptions;
267
+ if (configuration) {
268
+ baseOptions = configuration.baseOptions;
269
+ }
270
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
271
+ const localVarHeaderParameter = {};
272
+ const localVarQueryParameter = {};
273
+ // authentication session-oauth required
274
+ // oauth required
275
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
276
+ // authentication api-key required
277
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
278
+ if (project !== undefined) {
279
+ localVarQueryParameter['project'] = project;
280
+ }
281
+ if (search !== undefined) {
282
+ localVarQueryParameter['search'] = search;
283
+ }
284
+ if (pageToken !== undefined) {
285
+ localVarQueryParameter['pageToken'] = pageToken;
286
+ }
287
+ if (pageSize !== undefined) {
288
+ localVarQueryParameter['pageSize'] = pageSize;
289
+ }
290
+ localVarHeaderParameter['Accept'] = 'application/json';
291
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
292
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
293
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
242
294
  return {
243
295
  url: toPathString(localVarUrlObj),
244
296
  options: localVarRequestOptions,
@@ -253,56 +305,76 @@ export const ConciergeCandidatesApiFp = function (configuration) {
253
305
  const localVarAxiosParamCreator = ConciergeCandidatesApiAxiosParamCreator(configuration);
254
306
  return {
255
307
  /**
256
- * Get a concierge candidate by a given concierge candidate ID.
257
- * @summary Get concierge candidate
308
+ * 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.
309
+ * @summary Approve concierge candidate
258
310
  * @param {string} project Project unique identifier
259
311
  * @param {string} platformId The platform identifier
260
312
  * @param {string} conciergeCandidateId The concierge candidate identifier
261
313
  * @param {*} [options] Override http request option.
262
314
  * @throws {RequiredError}
263
315
  */
264
- getConciergeCandidate(project, platformId, conciergeCandidateId, options) {
316
+ approveConciergeCandidate(project, platformId, conciergeCandidateId, options) {
265
317
  return __awaiter(this, void 0, void 0, function* () {
266
318
  var _a, _b, _c;
267
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getConciergeCandidate(project, platformId, conciergeCandidateId, options);
319
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.approveConciergeCandidate(project, platformId, conciergeCandidateId, options);
268
320
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
269
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ConciergeCandidatesApi.getConciergeCandidate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
321
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ConciergeCandidatesApi.approveConciergeCandidate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
270
322
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
271
323
  });
272
324
  },
273
325
  /**
274
- * List concierge candidates
275
- * @summary List concierge candidates
326
+ * Delete a concierge candidate by a given concierge candidate ID.
327
+ * @summary Delete concierge candidate
276
328
  * @param {string} project Project unique identifier
277
329
  * @param {string} platformId The platform identifier
330
+ * @param {string} conciergeCandidateId The concierge candidate identifier
278
331
  * @param {*} [options] Override http request option.
279
332
  * @throws {RequiredError}
280
333
  */
281
- listConciergeCandidates(project, platformId, options) {
334
+ deleteConciergeCandidate(project, platformId, conciergeCandidateId, options) {
282
335
  return __awaiter(this, void 0, void 0, function* () {
283
336
  var _a, _b, _c;
284
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listConciergeCandidates(project, platformId, options);
337
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteConciergeCandidate(project, platformId, conciergeCandidateId, options);
285
338
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
286
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ConciergeCandidatesApi.listConciergeCandidates']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
339
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ConciergeCandidatesApi.deleteConciergeCandidate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
287
340
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
288
341
  });
289
342
  },
290
343
  /**
291
- * Update a concierge candidate by a given concierge candidate ID.
292
- * @summary Update concierge candidate
344
+ * Get a concierge candidate by a given concierge candidate ID.
345
+ * @summary Get concierge candidate
293
346
  * @param {string} project Project unique identifier
294
347
  * @param {string} platformId The platform identifier
295
348
  * @param {string} conciergeCandidateId The concierge candidate identifier
296
- * @param {UpdateConciergeCandidateRequest} updateConciergeCandidateRequest
297
349
  * @param {*} [options] Override http request option.
298
350
  * @throws {RequiredError}
299
351
  */
300
- updateConciergeCandidate(project, platformId, conciergeCandidateId, updateConciergeCandidateRequest, options) {
352
+ getConciergeCandidate(project, platformId, conciergeCandidateId, options) {
353
+ return __awaiter(this, void 0, void 0, function* () {
354
+ var _a, _b, _c;
355
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getConciergeCandidate(project, platformId, conciergeCandidateId, options);
356
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
357
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ConciergeCandidatesApi.getConciergeCandidate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
358
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
359
+ });
360
+ },
361
+ /**
362
+ * List concierge candidates
363
+ * @summary List concierge candidates
364
+ * @param {string} project Project unique identifier
365
+ * @param {string} platformId The platform identifier
366
+ * @param {string} [search] Search term to filter results
367
+ * @param {number} [pageToken] Page reference token
368
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
369
+ * @param {*} [options] Override http request option.
370
+ * @throws {RequiredError}
371
+ */
372
+ listConciergeCandidates(project, platformId, search, pageToken, pageSize, options) {
301
373
  return __awaiter(this, void 0, void 0, function* () {
302
374
  var _a, _b, _c;
303
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateConciergeCandidate(project, platformId, conciergeCandidateId, updateConciergeCandidateRequest, options);
375
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listConciergeCandidates(project, platformId, search, pageToken, pageSize, options);
304
376
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
305
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ConciergeCandidatesApi.updateConciergeCandidate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
377
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ConciergeCandidatesApi.listConciergeCandidates']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
306
378
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
307
379
  });
308
380
  },
@@ -314,6 +386,26 @@ export const ConciergeCandidatesApiFp = function (configuration) {
314
386
  export const ConciergeCandidatesApiFactory = function (configuration, basePath, axios) {
315
387
  const localVarFp = ConciergeCandidatesApiFp(configuration);
316
388
  return {
389
+ /**
390
+ * 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.
391
+ * @summary Approve concierge candidate
392
+ * @param {ConciergeCandidatesApiApproveConciergeCandidateRequest} requestParameters Request parameters.
393
+ * @param {*} [options] Override http request option.
394
+ * @throws {RequiredError}
395
+ */
396
+ approveConciergeCandidate(requestParameters, options) {
397
+ return localVarFp.approveConciergeCandidate(requestParameters.project, requestParameters.platformId, requestParameters.conciergeCandidateId, options).then((request) => request(axios, basePath));
398
+ },
399
+ /**
400
+ * Delete a concierge candidate by a given concierge candidate ID.
401
+ * @summary Delete concierge candidate
402
+ * @param {ConciergeCandidatesApiDeleteConciergeCandidateRequest} requestParameters Request parameters.
403
+ * @param {*} [options] Override http request option.
404
+ * @throws {RequiredError}
405
+ */
406
+ deleteConciergeCandidate(requestParameters, options) {
407
+ return localVarFp.deleteConciergeCandidate(requestParameters.project, requestParameters.platformId, requestParameters.conciergeCandidateId, options).then((request) => request(axios, basePath));
408
+ },
317
409
  /**
318
410
  * Get a concierge candidate by a given concierge candidate ID.
319
411
  * @summary Get concierge candidate
@@ -332,17 +424,7 @@ export const ConciergeCandidatesApiFactory = function (configuration, basePath,
332
424
  * @throws {RequiredError}
333
425
  */
334
426
  listConciergeCandidates(requestParameters, options) {
335
- return localVarFp.listConciergeCandidates(requestParameters.project, requestParameters.platformId, options).then((request) => request(axios, basePath));
336
- },
337
- /**
338
- * Update a concierge candidate by a given concierge candidate ID.
339
- * @summary Update concierge candidate
340
- * @param {ConciergeCandidatesApiUpdateConciergeCandidateRequest} requestParameters Request parameters.
341
- * @param {*} [options] Override http request option.
342
- * @throws {RequiredError}
343
- */
344
- updateConciergeCandidate(requestParameters, options) {
345
- return localVarFp.updateConciergeCandidate(requestParameters.project, requestParameters.platformId, requestParameters.conciergeCandidateId, requestParameters.updateConciergeCandidateRequest, options).then((request) => request(axios, basePath));
427
+ return localVarFp.listConciergeCandidates(requestParameters.project, requestParameters.platformId, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
346
428
  },
347
429
  };
348
430
  };
@@ -350,6 +432,26 @@ export const ConciergeCandidatesApiFactory = function (configuration, basePath,
350
432
  * ConciergeCandidatesApi - object-oriented interface
351
433
  */
352
434
  export class ConciergeCandidatesApi extends BaseAPI {
435
+ /**
436
+ * 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.
437
+ * @summary Approve concierge candidate
438
+ * @param {ConciergeCandidatesApiApproveConciergeCandidateRequest} requestParameters Request parameters.
439
+ * @param {*} [options] Override http request option.
440
+ * @throws {RequiredError}
441
+ */
442
+ approveConciergeCandidate(requestParameters, options) {
443
+ return ConciergeCandidatesApiFp(this.configuration).approveConciergeCandidate(requestParameters.project, requestParameters.platformId, requestParameters.conciergeCandidateId, options).then((request) => request(this.axios, this.basePath));
444
+ }
445
+ /**
446
+ * Delete a concierge candidate by a given concierge candidate ID.
447
+ * @summary Delete concierge candidate
448
+ * @param {ConciergeCandidatesApiDeleteConciergeCandidateRequest} requestParameters Request parameters.
449
+ * @param {*} [options] Override http request option.
450
+ * @throws {RequiredError}
451
+ */
452
+ deleteConciergeCandidate(requestParameters, options) {
453
+ return ConciergeCandidatesApiFp(this.configuration).deleteConciergeCandidate(requestParameters.project, requestParameters.platformId, requestParameters.conciergeCandidateId, options).then((request) => request(this.axios, this.basePath));
454
+ }
353
455
  /**
354
456
  * Get a concierge candidate by a given concierge candidate ID.
355
457
  * @summary Get concierge candidate
@@ -368,17 +470,7 @@ export class ConciergeCandidatesApi extends BaseAPI {
368
470
  * @throws {RequiredError}
369
471
  */
370
472
  listConciergeCandidates(requestParameters, options) {
371
- return ConciergeCandidatesApiFp(this.configuration).listConciergeCandidates(requestParameters.project, requestParameters.platformId, options).then((request) => request(this.axios, this.basePath));
372
- }
373
- /**
374
- * Update a concierge candidate by a given concierge candidate ID.
375
- * @summary Update concierge candidate
376
- * @param {ConciergeCandidatesApiUpdateConciergeCandidateRequest} requestParameters Request parameters.
377
- * @param {*} [options] Override http request option.
378
- * @throws {RequiredError}
379
- */
380
- updateConciergeCandidate(requestParameters, options) {
381
- return ConciergeCandidatesApiFp(this.configuration).updateConciergeCandidate(requestParameters.project, requestParameters.platformId, requestParameters.conciergeCandidateId, requestParameters.updateConciergeCandidateRequest, options).then((request) => request(this.axios, this.basePath));
473
+ return ConciergeCandidatesApiFp(this.configuration).listConciergeCandidates(requestParameters.project, requestParameters.platformId, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
382
474
  }
383
475
  }
384
476
  /**
@@ -2,7 +2,7 @@
2
2
  * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.66.0
5
+ * The version of the OpenAPI document: 0.67.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.66.0
7
+ * The version of the OpenAPI document: 0.67.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.66.0
5
+ * The version of the OpenAPI document: 0.67.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.66.0
7
+ * The version of the OpenAPI document: 0.67.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.66.0
5
+ * The version of the OpenAPI document: 0.67.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Platform
4
4
  * Manage Your podOS platform
5
5
  *
6
- * The version of the OpenAPI document: 0.66.0
6
+ * The version of the OpenAPI document: 0.67.1
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.66.0
5
+ * The version of the OpenAPI document: 0.67.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.66.0
7
+ * The version of the OpenAPI document: 0.67.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.66.0
5
+ * The version of the OpenAPI document: 0.67.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.66.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).
@@ -12,10 +12,11 @@ Name | Type | Description | Notes
12
12
  **email** | **string** | The email of the concierge candidate | [default to undefined]
13
13
  **source** | [**ConciergeCandidateSource**](ConciergeCandidateSource.md) | | [default to undefined]
14
14
  **createdAt** | **string** | ISO 8601 Timestamp | [default to undefined]
15
- **dismissedAt** | **string** | ISO 8601 Timestamp | [optional] [default to undefined]
15
+ **approvedAt** | **string** | ISO 8601 Timestamp | [default to undefined]
16
+ **completedAt** | **string** | ISO 8601 Timestamp | [default to undefined]
16
17
  **clientRef** | **string** | A reference to the project being ordered | [default to undefined]
17
18
  **originRef** | **string** | A reference to the origin of the concierge candidate. The structure of the origin ref can be inferred from the concierge candidate source. | [default to undefined]
18
- **assignedUserRef** | **string** | Reference to the user resource | [optional] [default to undefined]
19
+ **taskRef** | **string** | Reference to the task resource | [optional] [default to undefined]
19
20
 
20
21
  ## Example
21
22
 
@@ -29,10 +30,11 @@ const instance: ConciergeCandidate = {
29
30
  email,
30
31
  source,
31
32
  createdAt,
32
- dismissedAt,
33
+ approvedAt,
34
+ completedAt,
33
35
  clientRef,
34
36
  originRef,
35
- assignedUserRef,
37
+ taskRef,
36
38
  };
37
39
  ```
38
40