@teemill/platform 0.65.2 → 0.66.0

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.
@@ -4,7 +4,7 @@
4
4
  * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.65.2
7
+ * The version of the OpenAPI document: 0.66.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.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.65.2
5
+ * The version of the OpenAPI document: 0.66.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -163,6 +163,72 @@ export interface Client {
163
163
  'ref'?: string;
164
164
  'name'?: string;
165
165
  }
166
+ /**
167
+ * A concierge candidate. This is a potentially high value person who has interacted with the platform in some way.
168
+ */
169
+ export interface ConciergeCandidate {
170
+ /**
171
+ * Unique object identifier
172
+ */
173
+ 'id': string;
174
+ /**
175
+ * The first name of the concierge candidate
176
+ */
177
+ 'firstName': string;
178
+ /**
179
+ * The last name of the concierge candidate
180
+ */
181
+ 'lastName': string;
182
+ /**
183
+ * The email of the concierge candidate
184
+ */
185
+ 'email': string;
186
+ 'source': ConciergeCandidateSource;
187
+ /**
188
+ * ISO 8601 Timestamp
189
+ */
190
+ 'createdAt': string;
191
+ /**
192
+ * ISO 8601 Timestamp
193
+ */
194
+ 'dismissedAt'?: string;
195
+ /**
196
+ * A reference to the project being ordered
197
+ */
198
+ 'clientRef': string;
199
+ /**
200
+ * A reference to the origin of the concierge candidate. The structure of the origin ref can be inferred from the concierge candidate source.
201
+ */
202
+ 'originRef': string;
203
+ /**
204
+ * Reference to the user resource
205
+ */
206
+ 'assignedUserRef'?: string;
207
+ }
208
+ /**
209
+ * The source of the concierge candidate. This is the channel through which the concierge candidate interacted with the platform.
210
+ */
211
+ export interface ConciergeCandidateSource {
212
+ /**
213
+ * The type of the source
214
+ */
215
+ 'type': ConciergeCandidateSourceTypeEnum;
216
+ /**
217
+ * The name of the source
218
+ */
219
+ 'name': string;
220
+ /**
221
+ * The description of the source
222
+ */
223
+ 'description': string;
224
+ }
225
+ export declare const ConciergeCandidateSourceTypeEnum: {
226
+ readonly ContactForm: "contact_form";
227
+ readonly SignedUp: "signed_up";
228
+ readonly CustomOrder: "custom_order";
229
+ readonly QuoteForm: "quote_form";
230
+ };
231
+ export type ConciergeCandidateSourceTypeEnum = typeof ConciergeCandidateSourceTypeEnum[keyof typeof ConciergeCandidateSourceTypeEnum];
166
232
  export interface ConfirmOrderFulfillment {
167
233
  /**
168
234
  * Unique object identifier
@@ -571,6 +637,10 @@ export interface Image {
571
637
  'alt'?: string;
572
638
  'sortOrder'?: number;
573
639
  }
640
+ export interface ListConciergeCandidates200Response {
641
+ 'candidates': Array<ConciergeCandidate>;
642
+ 'nextPageToken': number | null;
643
+ }
574
644
  export interface ListCustomerEnquiries200Response {
575
645
  'enquiries'?: Array<Enquiry>;
576
646
  'nextPageToken'?: number | null;
@@ -1126,6 +1196,16 @@ export interface Terms {
1126
1196
  'createdAt': string;
1127
1197
  'updatedAt': string;
1128
1198
  }
1199
+ export interface UpdateConciergeCandidateRequest {
1200
+ /**
1201
+ * Whether the concierge candidate has been dismissed or not.
1202
+ */
1203
+ 'dismiss'?: boolean;
1204
+ /**
1205
+ * Reference to the user resource
1206
+ */
1207
+ 'assignedUserRef'?: string | null;
1208
+ }
1129
1209
  export interface UpdateCustomerEnquiryRequest {
1130
1210
  /**
1131
1211
  * The unique id of the user who owns the enquiry
@@ -1209,6 +1289,182 @@ export interface Variant {
1209
1289
  */
1210
1290
  'warehouseVariantRef': string | null;
1211
1291
  }
1292
+ /**
1293
+ * ConciergeCandidatesApi - axios parameter creator
1294
+ */
1295
+ export declare const ConciergeCandidatesApiAxiosParamCreator: (configuration?: Configuration) => {
1296
+ /**
1297
+ * Get a concierge candidate by a given concierge candidate ID.
1298
+ * @summary Get concierge candidate
1299
+ * @param {string} project Project unique identifier
1300
+ * @param {string} platformId The platform identifier
1301
+ * @param {string} conciergeCandidateId The concierge candidate identifier
1302
+ * @param {*} [options] Override http request option.
1303
+ * @throws {RequiredError}
1304
+ */
1305
+ getConciergeCandidate: (project: string, platformId: string, conciergeCandidateId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1306
+ /**
1307
+ * List concierge candidates
1308
+ * @summary List concierge candidates
1309
+ * @param {string} project Project unique identifier
1310
+ * @param {string} platformId The platform identifier
1311
+ * @param {*} [options] Override http request option.
1312
+ * @throws {RequiredError}
1313
+ */
1314
+ listConciergeCandidates: (project: string, platformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1315
+ /**
1316
+ * Update a concierge candidate by a given concierge candidate ID.
1317
+ * @summary Update concierge candidate
1318
+ * @param {string} project Project unique identifier
1319
+ * @param {string} platformId The platform identifier
1320
+ * @param {string} conciergeCandidateId The concierge candidate identifier
1321
+ * @param {UpdateConciergeCandidateRequest} updateConciergeCandidateRequest
1322
+ * @param {*} [options] Override http request option.
1323
+ * @throws {RequiredError}
1324
+ */
1325
+ updateConciergeCandidate: (project: string, platformId: string, conciergeCandidateId: string, updateConciergeCandidateRequest: UpdateConciergeCandidateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1326
+ };
1327
+ /**
1328
+ * ConciergeCandidatesApi - functional programming interface
1329
+ */
1330
+ export declare const ConciergeCandidatesApiFp: (configuration?: Configuration) => {
1331
+ /**
1332
+ * Get a concierge candidate by a given concierge candidate ID.
1333
+ * @summary Get concierge candidate
1334
+ * @param {string} project Project unique identifier
1335
+ * @param {string} platformId The platform identifier
1336
+ * @param {string} conciergeCandidateId The concierge candidate identifier
1337
+ * @param {*} [options] Override http request option.
1338
+ * @throws {RequiredError}
1339
+ */
1340
+ getConciergeCandidate(project: string, platformId: string, conciergeCandidateId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConciergeCandidate>>;
1341
+ /**
1342
+ * List concierge candidates
1343
+ * @summary List concierge candidates
1344
+ * @param {string} project Project unique identifier
1345
+ * @param {string} platformId The platform identifier
1346
+ * @param {*} [options] Override http request option.
1347
+ * @throws {RequiredError}
1348
+ */
1349
+ listConciergeCandidates(project: string, platformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListConciergeCandidates200Response>>;
1350
+ /**
1351
+ * Update a concierge candidate by a given concierge candidate ID.
1352
+ * @summary Update concierge candidate
1353
+ * @param {string} project Project unique identifier
1354
+ * @param {string} platformId The platform identifier
1355
+ * @param {string} conciergeCandidateId The concierge candidate identifier
1356
+ * @param {UpdateConciergeCandidateRequest} updateConciergeCandidateRequest
1357
+ * @param {*} [options] Override http request option.
1358
+ * @throws {RequiredError}
1359
+ */
1360
+ updateConciergeCandidate(project: string, platformId: string, conciergeCandidateId: string, updateConciergeCandidateRequest: UpdateConciergeCandidateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConciergeCandidate>>;
1361
+ };
1362
+ /**
1363
+ * ConciergeCandidatesApi - factory interface
1364
+ */
1365
+ export declare const ConciergeCandidatesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1366
+ /**
1367
+ * Get a concierge candidate by a given concierge candidate ID.
1368
+ * @summary Get concierge candidate
1369
+ * @param {ConciergeCandidatesApiGetConciergeCandidateRequest} requestParameters Request parameters.
1370
+ * @param {*} [options] Override http request option.
1371
+ * @throws {RequiredError}
1372
+ */
1373
+ getConciergeCandidate(requestParameters: ConciergeCandidatesApiGetConciergeCandidateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConciergeCandidate>;
1374
+ /**
1375
+ * List concierge candidates
1376
+ * @summary List concierge candidates
1377
+ * @param {ConciergeCandidatesApiListConciergeCandidatesRequest} requestParameters Request parameters.
1378
+ * @param {*} [options] Override http request option.
1379
+ * @throws {RequiredError}
1380
+ */
1381
+ listConciergeCandidates(requestParameters: ConciergeCandidatesApiListConciergeCandidatesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListConciergeCandidates200Response>;
1382
+ /**
1383
+ * Update a concierge candidate by a given concierge candidate ID.
1384
+ * @summary Update concierge candidate
1385
+ * @param {ConciergeCandidatesApiUpdateConciergeCandidateRequest} requestParameters Request parameters.
1386
+ * @param {*} [options] Override http request option.
1387
+ * @throws {RequiredError}
1388
+ */
1389
+ updateConciergeCandidate(requestParameters: ConciergeCandidatesApiUpdateConciergeCandidateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConciergeCandidate>;
1390
+ };
1391
+ /**
1392
+ * Request parameters for getConciergeCandidate operation in ConciergeCandidatesApi.
1393
+ */
1394
+ export interface ConciergeCandidatesApiGetConciergeCandidateRequest {
1395
+ /**
1396
+ * Project unique identifier
1397
+ */
1398
+ readonly project: string;
1399
+ /**
1400
+ * The platform identifier
1401
+ */
1402
+ readonly platformId: string;
1403
+ /**
1404
+ * The concierge candidate identifier
1405
+ */
1406
+ readonly conciergeCandidateId: string;
1407
+ }
1408
+ /**
1409
+ * Request parameters for listConciergeCandidates operation in ConciergeCandidatesApi.
1410
+ */
1411
+ export interface ConciergeCandidatesApiListConciergeCandidatesRequest {
1412
+ /**
1413
+ * Project unique identifier
1414
+ */
1415
+ readonly project: string;
1416
+ /**
1417
+ * The platform identifier
1418
+ */
1419
+ readonly platformId: string;
1420
+ }
1421
+ /**
1422
+ * Request parameters for updateConciergeCandidate operation in ConciergeCandidatesApi.
1423
+ */
1424
+ export interface ConciergeCandidatesApiUpdateConciergeCandidateRequest {
1425
+ /**
1426
+ * Project unique identifier
1427
+ */
1428
+ readonly project: string;
1429
+ /**
1430
+ * The platform identifier
1431
+ */
1432
+ readonly platformId: string;
1433
+ /**
1434
+ * The concierge candidate identifier
1435
+ */
1436
+ readonly conciergeCandidateId: string;
1437
+ readonly updateConciergeCandidateRequest: UpdateConciergeCandidateRequest;
1438
+ }
1439
+ /**
1440
+ * ConciergeCandidatesApi - object-oriented interface
1441
+ */
1442
+ export declare class ConciergeCandidatesApi extends BaseAPI {
1443
+ /**
1444
+ * Get a concierge candidate by a given concierge candidate ID.
1445
+ * @summary Get concierge candidate
1446
+ * @param {ConciergeCandidatesApiGetConciergeCandidateRequest} requestParameters Request parameters.
1447
+ * @param {*} [options] Override http request option.
1448
+ * @throws {RequiredError}
1449
+ */
1450
+ getConciergeCandidate(requestParameters: ConciergeCandidatesApiGetConciergeCandidateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConciergeCandidate, any, {}>>;
1451
+ /**
1452
+ * List concierge candidates
1453
+ * @summary List concierge candidates
1454
+ * @param {ConciergeCandidatesApiListConciergeCandidatesRequest} requestParameters Request parameters.
1455
+ * @param {*} [options] Override http request option.
1456
+ * @throws {RequiredError}
1457
+ */
1458
+ listConciergeCandidates(requestParameters: ConciergeCandidatesApiListConciergeCandidatesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListConciergeCandidates200Response, any, {}>>;
1459
+ /**
1460
+ * Update a concierge candidate by a given concierge candidate ID.
1461
+ * @summary Update concierge candidate
1462
+ * @param {ConciergeCandidatesApiUpdateConciergeCandidateRequest} requestParameters Request parameters.
1463
+ * @param {*} [options] Override http request option.
1464
+ * @throws {RequiredError}
1465
+ */
1466
+ updateConciergeCandidate(requestParameters: ConciergeCandidatesApiUpdateConciergeCandidateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConciergeCandidate, any, {}>>;
1467
+ }
1212
1468
  /**
1213
1469
  * CustomersApi - axios parameter creator
1214
1470
  */
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.65.2
7
+ * The version of the OpenAPI document: 0.66.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -39,6 +39,12 @@ export const ApplicationPlacementEnum = {
39
39
  Front: 'front',
40
40
  Back: 'back',
41
41
  };
42
+ export const ConciergeCandidateSourceTypeEnum = {
43
+ ContactForm: 'contact_form',
44
+ SignedUp: 'signed_up',
45
+ CustomOrder: 'custom_order',
46
+ QuoteForm: 'quote_form',
47
+ };
42
48
  export const CreateOrderPaymentMethodTypeEnum = {
43
49
  Card: 'card',
44
50
  Bacs: 'bacs',
@@ -97,6 +103,284 @@ export const UpdateModerationItemRequestJudgementEnum = {
97
103
  Approved: 'approved',
98
104
  Denied: 'denied',
99
105
  };
106
+ /**
107
+ * ConciergeCandidatesApi - axios parameter creator
108
+ */
109
+ export const ConciergeCandidatesApiAxiosParamCreator = function (configuration) {
110
+ return {
111
+ /**
112
+ * Get a concierge candidate by a given concierge candidate ID.
113
+ * @summary Get concierge candidate
114
+ * @param {string} project Project unique identifier
115
+ * @param {string} platformId The platform identifier
116
+ * @param {string} conciergeCandidateId The concierge candidate identifier
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
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 = {}) {
121
+ // verify required parameter 'project' is not null or undefined
122
+ assertParamExists('getConciergeCandidate', 'project', project);
123
+ // verify required parameter 'platformId' is not null or undefined
124
+ assertParamExists('getConciergeCandidate', 'platformId', platformId);
125
+ // verify required parameter 'conciergeCandidateId' is not null or undefined
126
+ assertParamExists('getConciergeCandidate', 'conciergeCandidateId', conciergeCandidateId);
127
+ const localVarPath = `/v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId}`
128
+ .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
129
+ .replace(`{${"conciergeCandidateId"}}`, encodeURIComponent(String(conciergeCandidateId)));
130
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
131
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
132
+ let baseOptions;
133
+ if (configuration) {
134
+ baseOptions = configuration.baseOptions;
135
+ }
136
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
137
+ const localVarHeaderParameter = {};
138
+ const localVarQueryParameter = {};
139
+ // authentication session-oauth required
140
+ // oauth required
141
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
142
+ // authentication api-key required
143
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
144
+ if (project !== undefined) {
145
+ localVarQueryParameter['project'] = project;
146
+ }
147
+ localVarHeaderParameter['Accept'] = 'application/json';
148
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
149
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
150
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
151
+ return {
152
+ url: toPathString(localVarUrlObj),
153
+ options: localVarRequestOptions,
154
+ };
155
+ }),
156
+ /**
157
+ * List concierge candidates
158
+ * @summary List concierge candidates
159
+ * @param {string} project Project unique identifier
160
+ * @param {string} platformId The platform identifier
161
+ * @param {*} [options] Override http request option.
162
+ * @throws {RequiredError}
163
+ */
164
+ listConciergeCandidates: (project_1, platformId_1, ...args_1) => __awaiter(this, [project_1, platformId_1, ...args_1], void 0, function* (project, platformId, options = {}) {
165
+ // verify required parameter 'project' is not null or undefined
166
+ assertParamExists('listConciergeCandidates', 'project', project);
167
+ // 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)));
171
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
172
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
173
+ let baseOptions;
174
+ if (configuration) {
175
+ baseOptions = configuration.baseOptions;
176
+ }
177
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
178
+ const localVarHeaderParameter = {};
179
+ const localVarQueryParameter = {};
180
+ // authentication session-oauth required
181
+ // oauth required
182
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
183
+ // authentication api-key required
184
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
185
+ if (project !== undefined) {
186
+ localVarQueryParameter['project'] = project;
187
+ }
188
+ localVarHeaderParameter['Accept'] = 'application/json';
189
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
190
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
191
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
192
+ return {
193
+ url: toPathString(localVarUrlObj),
194
+ options: localVarRequestOptions,
195
+ };
196
+ }),
197
+ /**
198
+ * Update a concierge candidate by a given concierge candidate ID.
199
+ * @summary Update concierge candidate
200
+ * @param {string} project Project unique identifier
201
+ * @param {string} platformId The platform identifier
202
+ * @param {string} conciergeCandidateId The concierge candidate identifier
203
+ * @param {UpdateConciergeCandidateRequest} updateConciergeCandidateRequest
204
+ * @param {*} [options] Override http request option.
205
+ * @throws {RequiredError}
206
+ */
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 = {}) {
208
+ // verify required parameter 'project' is not null or undefined
209
+ assertParamExists('updateConciergeCandidate', 'project', project);
210
+ // verify required parameter 'platformId' is not null or undefined
211
+ assertParamExists('updateConciergeCandidate', 'platformId', platformId);
212
+ // 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
+ const localVarPath = `/v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId}`
217
+ .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
218
+ .replace(`{${"conciergeCandidateId"}}`, encodeURIComponent(String(conciergeCandidateId)));
219
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
220
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
221
+ let baseOptions;
222
+ if (configuration) {
223
+ baseOptions = configuration.baseOptions;
224
+ }
225
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
226
+ const localVarHeaderParameter = {};
227
+ const localVarQueryParameter = {};
228
+ // authentication session-oauth required
229
+ // oauth required
230
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
231
+ // authentication api-key required
232
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
233
+ if (project !== undefined) {
234
+ localVarQueryParameter['project'] = project;
235
+ }
236
+ localVarHeaderParameter['Content-Type'] = 'application/json';
237
+ localVarHeaderParameter['Accept'] = 'application/json';
238
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
239
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
240
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
241
+ localVarRequestOptions.data = serializeDataIfNeeded(updateConciergeCandidateRequest, localVarRequestOptions, configuration);
242
+ return {
243
+ url: toPathString(localVarUrlObj),
244
+ options: localVarRequestOptions,
245
+ };
246
+ }),
247
+ };
248
+ };
249
+ /**
250
+ * ConciergeCandidatesApi - functional programming interface
251
+ */
252
+ export const ConciergeCandidatesApiFp = function (configuration) {
253
+ const localVarAxiosParamCreator = ConciergeCandidatesApiAxiosParamCreator(configuration);
254
+ return {
255
+ /**
256
+ * Get a concierge candidate by a given concierge candidate ID.
257
+ * @summary Get concierge candidate
258
+ * @param {string} project Project unique identifier
259
+ * @param {string} platformId The platform identifier
260
+ * @param {string} conciergeCandidateId The concierge candidate identifier
261
+ * @param {*} [options] Override http request option.
262
+ * @throws {RequiredError}
263
+ */
264
+ getConciergeCandidate(project, platformId, conciergeCandidateId, options) {
265
+ return __awaiter(this, void 0, void 0, function* () {
266
+ var _a, _b, _c;
267
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getConciergeCandidate(project, platformId, conciergeCandidateId, options);
268
+ 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;
270
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
271
+ });
272
+ },
273
+ /**
274
+ * List concierge candidates
275
+ * @summary List concierge candidates
276
+ * @param {string} project Project unique identifier
277
+ * @param {string} platformId The platform identifier
278
+ * @param {*} [options] Override http request option.
279
+ * @throws {RequiredError}
280
+ */
281
+ listConciergeCandidates(project, platformId, options) {
282
+ return __awaiter(this, void 0, void 0, function* () {
283
+ var _a, _b, _c;
284
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listConciergeCandidates(project, platformId, options);
285
+ 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;
287
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
288
+ });
289
+ },
290
+ /**
291
+ * Update a concierge candidate by a given concierge candidate ID.
292
+ * @summary Update concierge candidate
293
+ * @param {string} project Project unique identifier
294
+ * @param {string} platformId The platform identifier
295
+ * @param {string} conciergeCandidateId The concierge candidate identifier
296
+ * @param {UpdateConciergeCandidateRequest} updateConciergeCandidateRequest
297
+ * @param {*} [options] Override http request option.
298
+ * @throws {RequiredError}
299
+ */
300
+ updateConciergeCandidate(project, platformId, conciergeCandidateId, updateConciergeCandidateRequest, options) {
301
+ return __awaiter(this, void 0, void 0, function* () {
302
+ var _a, _b, _c;
303
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateConciergeCandidate(project, platformId, conciergeCandidateId, updateConciergeCandidateRequest, options);
304
+ 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;
306
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
307
+ });
308
+ },
309
+ };
310
+ };
311
+ /**
312
+ * ConciergeCandidatesApi - factory interface
313
+ */
314
+ export const ConciergeCandidatesApiFactory = function (configuration, basePath, axios) {
315
+ const localVarFp = ConciergeCandidatesApiFp(configuration);
316
+ return {
317
+ /**
318
+ * Get a concierge candidate by a given concierge candidate ID.
319
+ * @summary Get concierge candidate
320
+ * @param {ConciergeCandidatesApiGetConciergeCandidateRequest} requestParameters Request parameters.
321
+ * @param {*} [options] Override http request option.
322
+ * @throws {RequiredError}
323
+ */
324
+ getConciergeCandidate(requestParameters, options) {
325
+ return localVarFp.getConciergeCandidate(requestParameters.project, requestParameters.platformId, requestParameters.conciergeCandidateId, options).then((request) => request(axios, basePath));
326
+ },
327
+ /**
328
+ * List concierge candidates
329
+ * @summary List concierge candidates
330
+ * @param {ConciergeCandidatesApiListConciergeCandidatesRequest} requestParameters Request parameters.
331
+ * @param {*} [options] Override http request option.
332
+ * @throws {RequiredError}
333
+ */
334
+ 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));
346
+ },
347
+ };
348
+ };
349
+ /**
350
+ * ConciergeCandidatesApi - object-oriented interface
351
+ */
352
+ export class ConciergeCandidatesApi extends BaseAPI {
353
+ /**
354
+ * Get a concierge candidate by a given concierge candidate ID.
355
+ * @summary Get concierge candidate
356
+ * @param {ConciergeCandidatesApiGetConciergeCandidateRequest} requestParameters Request parameters.
357
+ * @param {*} [options] Override http request option.
358
+ * @throws {RequiredError}
359
+ */
360
+ getConciergeCandidate(requestParameters, options) {
361
+ return ConciergeCandidatesApiFp(this.configuration).getConciergeCandidate(requestParameters.project, requestParameters.platformId, requestParameters.conciergeCandidateId, options).then((request) => request(this.axios, this.basePath));
362
+ }
363
+ /**
364
+ * List concierge candidates
365
+ * @summary List concierge candidates
366
+ * @param {ConciergeCandidatesApiListConciergeCandidatesRequest} requestParameters Request parameters.
367
+ * @param {*} [options] Override http request option.
368
+ * @throws {RequiredError}
369
+ */
370
+ 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));
382
+ }
383
+ }
100
384
  /**
101
385
  * CustomersApi - axios parameter creator
102
386
  */
@@ -2,7 +2,7 @@
2
2
  * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.65.2
5
+ * The version of the OpenAPI document: 0.66.0
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.65.2
7
+ * The version of the OpenAPI document: 0.66.0
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.65.2
5
+ * The version of the OpenAPI document: 0.66.0
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.65.2
7
+ * The version of the OpenAPI document: 0.66.0
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.65.2
5
+ * The version of the OpenAPI document: 0.66.0
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.65.2
6
+ * The version of the OpenAPI document: 0.66.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).