@teemill/platform 0.65.0 → 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.
@@ -17,6 +17,9 @@ docs/AuthorizeStripe200Response.md
17
17
  docs/BulkCreateReviewPayload.md
18
18
  docs/BulkCreatedReviews.md
19
19
  docs/Client.md
20
+ docs/ConciergeCandidate.md
21
+ docs/ConciergeCandidateSource.md
22
+ docs/ConciergeCandidatesApi.md
20
23
  docs/ConfirmOrderFulfillment.md
21
24
  docs/ConfirmOrderFulfillmentShipment.md
22
25
  docs/ConfirmOrderRequest.md
@@ -55,6 +58,7 @@ docs/Fulfillment.md
55
58
  docs/FulfillmentItem.md
56
59
  docs/GetDashboardResponse.md
57
60
  docs/Image.md
61
+ docs/ListConciergeCandidates200Response.md
58
62
  docs/ListCustomerEnquiries200Response.md
59
63
  docs/ListCustomerEnquiryLogs200Response.md
60
64
  docs/ListCustomerEnquiryLogs200ResponseLogsInner.md
@@ -109,6 +113,7 @@ docs/Statistics.md
109
113
  docs/StatusHistoryItem.md
110
114
  docs/Terms.md
111
115
  docs/TermsApi.md
116
+ docs/UpdateConciergeCandidateRequest.md
112
117
  docs/UpdateCustomerEnquiryRequest.md
113
118
  docs/UpdateCustomerRequest.md
114
119
  docs/UpdateFulfillmentRequest.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/platform@0.65.0
1
+ ## @teemill/platform@0.66.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @teemill/platform@0.65.0 --save
39
+ npm install @teemill/platform@0.66.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -51,6 +51,9 @@ All URIs are relative to *https://localhost:8080*
51
51
 
52
52
  Class | Method | HTTP request | Description
53
53
  ------------ | ------------- | ------------- | -------------
54
+ *ConciergeCandidatesApi* | [**getConciergeCandidate**](docs/ConciergeCandidatesApi.md#getconciergecandidate) | **GET** /v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId} | Get concierge candidate
55
+ *ConciergeCandidatesApi* | [**listConciergeCandidates**](docs/ConciergeCandidatesApi.md#listconciergecandidates) | **GET** /v1/platform/{platformId}/concierge-candidates | List concierge candidates
56
+ *ConciergeCandidatesApi* | [**updateConciergeCandidate**](docs/ConciergeCandidatesApi.md#updateconciergecandidate) | **PATCH** /v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId} | Update concierge candidate
54
57
  *CustomersApi* | [**createCustomerChatChannel**](docs/CustomersApi.md#createcustomerchatchannel) | **POST** /v1/platform/{platformId}/customers/{customerId}/chat-channel | Create chat channel
55
58
  *CustomersApi* | [**createCustomerDataDeletionRequest**](docs/CustomersApi.md#createcustomerdatadeletionrequest) | **POST** /v1/platform/{platformId}/customers/{customerId}/data-deletion-request | Create data deletion request
56
59
  *CustomersApi* | [**exportCustomers**](docs/CustomersApi.md#exportcustomers) | **GET** /v1/platform/{platformId}/customers/export | Export customers
@@ -122,6 +125,8 @@ Class | Method | HTTP request | Description
122
125
  - [BulkCreateReviewPayload](docs/BulkCreateReviewPayload.md)
123
126
  - [BulkCreatedReviews](docs/BulkCreatedReviews.md)
124
127
  - [Client](docs/Client.md)
128
+ - [ConciergeCandidate](docs/ConciergeCandidate.md)
129
+ - [ConciergeCandidateSource](docs/ConciergeCandidateSource.md)
125
130
  - [ConfirmOrderFulfillment](docs/ConfirmOrderFulfillment.md)
126
131
  - [ConfirmOrderFulfillmentShipment](docs/ConfirmOrderFulfillmentShipment.md)
127
132
  - [ConfirmOrderRequest](docs/ConfirmOrderRequest.md)
@@ -157,6 +162,7 @@ Class | Method | HTTP request | Description
157
162
  - [FulfillmentItem](docs/FulfillmentItem.md)
158
163
  - [GetDashboardResponse](docs/GetDashboardResponse.md)
159
164
  - [Image](docs/Image.md)
165
+ - [ListConciergeCandidates200Response](docs/ListConciergeCandidates200Response.md)
160
166
  - [ListCustomerEnquiries200Response](docs/ListCustomerEnquiries200Response.md)
161
167
  - [ListCustomerEnquiryLogs200Response](docs/ListCustomerEnquiryLogs200Response.md)
162
168
  - [ListCustomerEnquiryLogs200ResponseLogsInner](docs/ListCustomerEnquiryLogs200ResponseLogsInner.md)
@@ -204,6 +210,7 @@ Class | Method | HTTP request | Description
204
210
  - [Statistics](docs/Statistics.md)
205
211
  - [StatusHistoryItem](docs/StatusHistoryItem.md)
206
212
  - [Terms](docs/Terms.md)
213
+ - [UpdateConciergeCandidateRequest](docs/UpdateConciergeCandidateRequest.md)
207
214
  - [UpdateCustomerEnquiryRequest](docs/UpdateCustomerEnquiryRequest.md)
208
215
  - [UpdateCustomerRequest](docs/UpdateCustomerRequest.md)
209
216
  - [UpdateFulfillmentRequest](docs/UpdateFulfillmentRequest.md)
package/api.ts 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.0
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).
@@ -182,6 +182,75 @@ export interface Client {
182
182
  'ref'?: string;
183
183
  'name'?: string;
184
184
  }
185
+ /**
186
+ * A concierge candidate. This is a potentially high value person who has interacted with the platform in some way.
187
+ */
188
+ export interface ConciergeCandidate {
189
+ /**
190
+ * Unique object identifier
191
+ */
192
+ 'id': string;
193
+ /**
194
+ * The first name of the concierge candidate
195
+ */
196
+ 'firstName': string;
197
+ /**
198
+ * The last name of the concierge candidate
199
+ */
200
+ 'lastName': string;
201
+ /**
202
+ * The email of the concierge candidate
203
+ */
204
+ 'email': string;
205
+ 'source': ConciergeCandidateSource;
206
+ /**
207
+ * ISO 8601 Timestamp
208
+ */
209
+ 'createdAt': string;
210
+ /**
211
+ * ISO 8601 Timestamp
212
+ */
213
+ 'dismissedAt'?: string;
214
+ /**
215
+ * A reference to the project being ordered
216
+ */
217
+ 'clientRef': string;
218
+ /**
219
+ * A reference to the origin of the concierge candidate. The structure of the origin ref can be inferred from the concierge candidate source.
220
+ */
221
+ 'originRef': string;
222
+ /**
223
+ * Reference to the user resource
224
+ */
225
+ 'assignedUserRef'?: string;
226
+ }
227
+ /**
228
+ * The source of the concierge candidate. This is the channel through which the concierge candidate interacted with the platform.
229
+ */
230
+ export interface ConciergeCandidateSource {
231
+ /**
232
+ * The type of the source
233
+ */
234
+ 'type': ConciergeCandidateSourceTypeEnum;
235
+ /**
236
+ * The name of the source
237
+ */
238
+ 'name': string;
239
+ /**
240
+ * The description of the source
241
+ */
242
+ 'description': string;
243
+ }
244
+
245
+ export const ConciergeCandidateSourceTypeEnum = {
246
+ ContactForm: 'contact_form',
247
+ SignedUp: 'signed_up',
248
+ CustomOrder: 'custom_order',
249
+ QuoteForm: 'quote_form',
250
+ } as const;
251
+
252
+ export type ConciergeCandidateSourceTypeEnum = typeof ConciergeCandidateSourceTypeEnum[keyof typeof ConciergeCandidateSourceTypeEnum];
253
+
185
254
  export interface ConfirmOrderFulfillment {
186
255
  /**
187
256
  * Unique object identifier
@@ -556,11 +625,23 @@ export interface Fulfillment {
556
625
  */
557
626
  'frozen'?: boolean;
558
627
  /**
559
- * List of reason codes why this fulfillment is frozen.
628
+ * List of reason codes why this fulfillment is frozen. - `moderation` - Held for content moderation review. - `internal_screen_print` - Awaiting internal screen print processing. - `manual` - Manually frozen by a user. - `credit_control` - Client is under credit control. - `billing_failed` - Payment for this order failed. - `pickface_flagged` - Flagged on the pickface for review. - `flow_frozen` - Frozen by internal production flow handling. - `fraud` - Frozen due to fraud checks.
560
629
  */
561
- 'frozenReasons'?: Array<string>;
630
+ 'frozenReasons'?: Array<FulfillmentFrozenReasonsEnum>;
562
631
  }
563
632
 
633
+ export const FulfillmentFrozenReasonsEnum = {
634
+ Moderation: 'moderation',
635
+ InternalScreenPrint: 'internal_screen_print',
636
+ Manual: 'manual',
637
+ CreditControl: 'credit_control',
638
+ BillingFailed: 'billing_failed',
639
+ PickfaceFlagged: 'pickface_flagged',
640
+ FlowFrozen: 'flow_frozen',
641
+ Fraud: 'fraud',
642
+ } as const;
643
+
644
+ export type FulfillmentFrozenReasonsEnum = typeof FulfillmentFrozenReasonsEnum[keyof typeof FulfillmentFrozenReasonsEnum];
564
645
 
565
646
  export interface FulfillmentItem {
566
647
  /**
@@ -591,6 +672,10 @@ export interface Image {
591
672
  'alt'?: string;
592
673
  'sortOrder'?: number;
593
674
  }
675
+ export interface ListConciergeCandidates200Response {
676
+ 'candidates': Array<ConciergeCandidate>;
677
+ 'nextPageToken': number | null;
678
+ }
594
679
  export interface ListCustomerEnquiries200Response {
595
680
  'enquiries'?: Array<Enquiry>;
596
681
  'nextPageToken'?: number | null;
@@ -1164,6 +1249,16 @@ export interface Terms {
1164
1249
  'createdAt': string;
1165
1250
  'updatedAt': string;
1166
1251
  }
1252
+ export interface UpdateConciergeCandidateRequest {
1253
+ /**
1254
+ * Whether the concierge candidate has been dismissed or not.
1255
+ */
1256
+ 'dismiss'?: boolean;
1257
+ /**
1258
+ * Reference to the user resource
1259
+ */
1260
+ 'assignedUserRef'?: string | null;
1261
+ }
1167
1262
  export interface UpdateCustomerEnquiryRequest {
1168
1263
  /**
1169
1264
  * The unique id of the user who owns the enquiry
@@ -1253,6 +1348,361 @@ export interface Variant {
1253
1348
  'warehouseVariantRef': string | null;
1254
1349
  }
1255
1350
 
1351
+ /**
1352
+ * ConciergeCandidatesApi - axios parameter creator
1353
+ */
1354
+ export const ConciergeCandidatesApiAxiosParamCreator = function (configuration?: Configuration) {
1355
+ return {
1356
+ /**
1357
+ * Get a concierge candidate by a given concierge candidate ID.
1358
+ * @summary Get concierge candidate
1359
+ * @param {string} project Project unique identifier
1360
+ * @param {string} platformId The platform identifier
1361
+ * @param {string} conciergeCandidateId The concierge candidate identifier
1362
+ * @param {*} [options] Override http request option.
1363
+ * @throws {RequiredError}
1364
+ */
1365
+ getConciergeCandidate: async (project: string, platformId: string, conciergeCandidateId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1366
+ // verify required parameter 'project' is not null or undefined
1367
+ assertParamExists('getConciergeCandidate', 'project', project)
1368
+ // verify required parameter 'platformId' is not null or undefined
1369
+ assertParamExists('getConciergeCandidate', 'platformId', platformId)
1370
+ // verify required parameter 'conciergeCandidateId' is not null or undefined
1371
+ assertParamExists('getConciergeCandidate', 'conciergeCandidateId', conciergeCandidateId)
1372
+ const localVarPath = `/v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId}`
1373
+ .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
1374
+ .replace(`{${"conciergeCandidateId"}}`, encodeURIComponent(String(conciergeCandidateId)));
1375
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1376
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1377
+ let baseOptions;
1378
+ if (configuration) {
1379
+ baseOptions = configuration.baseOptions;
1380
+ }
1381
+
1382
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1383
+ const localVarHeaderParameter = {} as any;
1384
+ const localVarQueryParameter = {} as any;
1385
+
1386
+ // authentication session-oauth required
1387
+ // oauth required
1388
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
1389
+
1390
+ // authentication api-key required
1391
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1392
+
1393
+ if (project !== undefined) {
1394
+ localVarQueryParameter['project'] = project;
1395
+ }
1396
+
1397
+ localVarHeaderParameter['Accept'] = 'application/json';
1398
+
1399
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1400
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1401
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1402
+
1403
+ return {
1404
+ url: toPathString(localVarUrlObj),
1405
+ options: localVarRequestOptions,
1406
+ };
1407
+ },
1408
+ /**
1409
+ * List concierge candidates
1410
+ * @summary List concierge candidates
1411
+ * @param {string} project Project unique identifier
1412
+ * @param {string} platformId The platform identifier
1413
+ * @param {*} [options] Override http request option.
1414
+ * @throws {RequiredError}
1415
+ */
1416
+ listConciergeCandidates: async (project: string, platformId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1417
+ // verify required parameter 'project' is not null or undefined
1418
+ assertParamExists('listConciergeCandidates', 'project', project)
1419
+ // verify required parameter 'platformId' is not null or undefined
1420
+ assertParamExists('listConciergeCandidates', 'platformId', platformId)
1421
+ const localVarPath = `/v1/platform/{platformId}/concierge-candidates`
1422
+ .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
1423
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1424
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1425
+ let baseOptions;
1426
+ if (configuration) {
1427
+ baseOptions = configuration.baseOptions;
1428
+ }
1429
+
1430
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1431
+ const localVarHeaderParameter = {} as any;
1432
+ const localVarQueryParameter = {} as any;
1433
+
1434
+ // authentication session-oauth required
1435
+ // oauth required
1436
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
1437
+
1438
+ // authentication api-key required
1439
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1440
+
1441
+ if (project !== undefined) {
1442
+ localVarQueryParameter['project'] = project;
1443
+ }
1444
+
1445
+ localVarHeaderParameter['Accept'] = 'application/json';
1446
+
1447
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1448
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1449
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1450
+
1451
+ return {
1452
+ url: toPathString(localVarUrlObj),
1453
+ options: localVarRequestOptions,
1454
+ };
1455
+ },
1456
+ /**
1457
+ * Update a concierge candidate by a given concierge candidate ID.
1458
+ * @summary Update concierge candidate
1459
+ * @param {string} project Project unique identifier
1460
+ * @param {string} platformId The platform identifier
1461
+ * @param {string} conciergeCandidateId The concierge candidate identifier
1462
+ * @param {UpdateConciergeCandidateRequest} updateConciergeCandidateRequest
1463
+ * @param {*} [options] Override http request option.
1464
+ * @throws {RequiredError}
1465
+ */
1466
+ updateConciergeCandidate: async (project: string, platformId: string, conciergeCandidateId: string, updateConciergeCandidateRequest: UpdateConciergeCandidateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1467
+ // verify required parameter 'project' is not null or undefined
1468
+ assertParamExists('updateConciergeCandidate', 'project', project)
1469
+ // verify required parameter 'platformId' is not null or undefined
1470
+ assertParamExists('updateConciergeCandidate', 'platformId', platformId)
1471
+ // verify required parameter 'conciergeCandidateId' is not null or undefined
1472
+ assertParamExists('updateConciergeCandidate', 'conciergeCandidateId', conciergeCandidateId)
1473
+ // verify required parameter 'updateConciergeCandidateRequest' is not null or undefined
1474
+ assertParamExists('updateConciergeCandidate', 'updateConciergeCandidateRequest', updateConciergeCandidateRequest)
1475
+ const localVarPath = `/v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId}`
1476
+ .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
1477
+ .replace(`{${"conciergeCandidateId"}}`, encodeURIComponent(String(conciergeCandidateId)));
1478
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1479
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1480
+ let baseOptions;
1481
+ if (configuration) {
1482
+ baseOptions = configuration.baseOptions;
1483
+ }
1484
+
1485
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
1486
+ const localVarHeaderParameter = {} as any;
1487
+ const localVarQueryParameter = {} as any;
1488
+
1489
+ // authentication session-oauth required
1490
+ // oauth required
1491
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
1492
+
1493
+ // authentication api-key required
1494
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1495
+
1496
+ if (project !== undefined) {
1497
+ localVarQueryParameter['project'] = project;
1498
+ }
1499
+
1500
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1501
+ localVarHeaderParameter['Accept'] = 'application/json';
1502
+
1503
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1504
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1505
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1506
+ localVarRequestOptions.data = serializeDataIfNeeded(updateConciergeCandidateRequest, localVarRequestOptions, configuration)
1507
+
1508
+ return {
1509
+ url: toPathString(localVarUrlObj),
1510
+ options: localVarRequestOptions,
1511
+ };
1512
+ },
1513
+ }
1514
+ };
1515
+
1516
+ /**
1517
+ * ConciergeCandidatesApi - functional programming interface
1518
+ */
1519
+ export const ConciergeCandidatesApiFp = function(configuration?: Configuration) {
1520
+ const localVarAxiosParamCreator = ConciergeCandidatesApiAxiosParamCreator(configuration)
1521
+ return {
1522
+ /**
1523
+ * Get a concierge candidate by a given concierge candidate ID.
1524
+ * @summary Get concierge candidate
1525
+ * @param {string} project Project unique identifier
1526
+ * @param {string} platformId The platform identifier
1527
+ * @param {string} conciergeCandidateId The concierge candidate identifier
1528
+ * @param {*} [options] Override http request option.
1529
+ * @throws {RequiredError}
1530
+ */
1531
+ async getConciergeCandidate(project: string, platformId: string, conciergeCandidateId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConciergeCandidate>> {
1532
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getConciergeCandidate(project, platformId, conciergeCandidateId, options);
1533
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1534
+ const localVarOperationServerBasePath = operationServerMap['ConciergeCandidatesApi.getConciergeCandidate']?.[localVarOperationServerIndex]?.url;
1535
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1536
+ },
1537
+ /**
1538
+ * List concierge candidates
1539
+ * @summary List concierge candidates
1540
+ * @param {string} project Project unique identifier
1541
+ * @param {string} platformId The platform identifier
1542
+ * @param {*} [options] Override http request option.
1543
+ * @throws {RequiredError}
1544
+ */
1545
+ async listConciergeCandidates(project: string, platformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListConciergeCandidates200Response>> {
1546
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listConciergeCandidates(project, platformId, options);
1547
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1548
+ const localVarOperationServerBasePath = operationServerMap['ConciergeCandidatesApi.listConciergeCandidates']?.[localVarOperationServerIndex]?.url;
1549
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1550
+ },
1551
+ /**
1552
+ * Update a concierge candidate by a given concierge candidate ID.
1553
+ * @summary Update concierge candidate
1554
+ * @param {string} project Project unique identifier
1555
+ * @param {string} platformId The platform identifier
1556
+ * @param {string} conciergeCandidateId The concierge candidate identifier
1557
+ * @param {UpdateConciergeCandidateRequest} updateConciergeCandidateRequest
1558
+ * @param {*} [options] Override http request option.
1559
+ * @throws {RequiredError}
1560
+ */
1561
+ async updateConciergeCandidate(project: string, platformId: string, conciergeCandidateId: string, updateConciergeCandidateRequest: UpdateConciergeCandidateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConciergeCandidate>> {
1562
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateConciergeCandidate(project, platformId, conciergeCandidateId, updateConciergeCandidateRequest, options);
1563
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1564
+ const localVarOperationServerBasePath = operationServerMap['ConciergeCandidatesApi.updateConciergeCandidate']?.[localVarOperationServerIndex]?.url;
1565
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1566
+ },
1567
+ }
1568
+ };
1569
+
1570
+ /**
1571
+ * ConciergeCandidatesApi - factory interface
1572
+ */
1573
+ export const ConciergeCandidatesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1574
+ const localVarFp = ConciergeCandidatesApiFp(configuration)
1575
+ return {
1576
+ /**
1577
+ * Get a concierge candidate by a given concierge candidate ID.
1578
+ * @summary Get concierge candidate
1579
+ * @param {ConciergeCandidatesApiGetConciergeCandidateRequest} requestParameters Request parameters.
1580
+ * @param {*} [options] Override http request option.
1581
+ * @throws {RequiredError}
1582
+ */
1583
+ getConciergeCandidate(requestParameters: ConciergeCandidatesApiGetConciergeCandidateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConciergeCandidate> {
1584
+ return localVarFp.getConciergeCandidate(requestParameters.project, requestParameters.platformId, requestParameters.conciergeCandidateId, options).then((request) => request(axios, basePath));
1585
+ },
1586
+ /**
1587
+ * List concierge candidates
1588
+ * @summary List concierge candidates
1589
+ * @param {ConciergeCandidatesApiListConciergeCandidatesRequest} requestParameters Request parameters.
1590
+ * @param {*} [options] Override http request option.
1591
+ * @throws {RequiredError}
1592
+ */
1593
+ listConciergeCandidates(requestParameters: ConciergeCandidatesApiListConciergeCandidatesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListConciergeCandidates200Response> {
1594
+ return localVarFp.listConciergeCandidates(requestParameters.project, requestParameters.platformId, options).then((request) => request(axios, basePath));
1595
+ },
1596
+ /**
1597
+ * Update a concierge candidate by a given concierge candidate ID.
1598
+ * @summary Update concierge candidate
1599
+ * @param {ConciergeCandidatesApiUpdateConciergeCandidateRequest} requestParameters Request parameters.
1600
+ * @param {*} [options] Override http request option.
1601
+ * @throws {RequiredError}
1602
+ */
1603
+ updateConciergeCandidate(requestParameters: ConciergeCandidatesApiUpdateConciergeCandidateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConciergeCandidate> {
1604
+ return localVarFp.updateConciergeCandidate(requestParameters.project, requestParameters.platformId, requestParameters.conciergeCandidateId, requestParameters.updateConciergeCandidateRequest, options).then((request) => request(axios, basePath));
1605
+ },
1606
+ };
1607
+ };
1608
+
1609
+ /**
1610
+ * Request parameters for getConciergeCandidate operation in ConciergeCandidatesApi.
1611
+ */
1612
+ export interface ConciergeCandidatesApiGetConciergeCandidateRequest {
1613
+ /**
1614
+ * Project unique identifier
1615
+ */
1616
+ readonly project: string
1617
+
1618
+ /**
1619
+ * The platform identifier
1620
+ */
1621
+ readonly platformId: string
1622
+
1623
+ /**
1624
+ * The concierge candidate identifier
1625
+ */
1626
+ readonly conciergeCandidateId: string
1627
+ }
1628
+
1629
+ /**
1630
+ * Request parameters for listConciergeCandidates operation in ConciergeCandidatesApi.
1631
+ */
1632
+ export interface ConciergeCandidatesApiListConciergeCandidatesRequest {
1633
+ /**
1634
+ * Project unique identifier
1635
+ */
1636
+ readonly project: string
1637
+
1638
+ /**
1639
+ * The platform identifier
1640
+ */
1641
+ readonly platformId: string
1642
+ }
1643
+
1644
+ /**
1645
+ * Request parameters for updateConciergeCandidate operation in ConciergeCandidatesApi.
1646
+ */
1647
+ export interface ConciergeCandidatesApiUpdateConciergeCandidateRequest {
1648
+ /**
1649
+ * Project unique identifier
1650
+ */
1651
+ readonly project: string
1652
+
1653
+ /**
1654
+ * The platform identifier
1655
+ */
1656
+ readonly platformId: string
1657
+
1658
+ /**
1659
+ * The concierge candidate identifier
1660
+ */
1661
+ readonly conciergeCandidateId: string
1662
+
1663
+ readonly updateConciergeCandidateRequest: UpdateConciergeCandidateRequest
1664
+ }
1665
+
1666
+ /**
1667
+ * ConciergeCandidatesApi - object-oriented interface
1668
+ */
1669
+ export class ConciergeCandidatesApi extends BaseAPI {
1670
+ /**
1671
+ * Get a concierge candidate by a given concierge candidate ID.
1672
+ * @summary Get concierge candidate
1673
+ * @param {ConciergeCandidatesApiGetConciergeCandidateRequest} requestParameters Request parameters.
1674
+ * @param {*} [options] Override http request option.
1675
+ * @throws {RequiredError}
1676
+ */
1677
+ public getConciergeCandidate(requestParameters: ConciergeCandidatesApiGetConciergeCandidateRequest, options?: RawAxiosRequestConfig) {
1678
+ return ConciergeCandidatesApiFp(this.configuration).getConciergeCandidate(requestParameters.project, requestParameters.platformId, requestParameters.conciergeCandidateId, options).then((request) => request(this.axios, this.basePath));
1679
+ }
1680
+
1681
+ /**
1682
+ * List concierge candidates
1683
+ * @summary List concierge candidates
1684
+ * @param {ConciergeCandidatesApiListConciergeCandidatesRequest} requestParameters Request parameters.
1685
+ * @param {*} [options] Override http request option.
1686
+ * @throws {RequiredError}
1687
+ */
1688
+ public listConciergeCandidates(requestParameters: ConciergeCandidatesApiListConciergeCandidatesRequest, options?: RawAxiosRequestConfig) {
1689
+ return ConciergeCandidatesApiFp(this.configuration).listConciergeCandidates(requestParameters.project, requestParameters.platformId, options).then((request) => request(this.axios, this.basePath));
1690
+ }
1691
+
1692
+ /**
1693
+ * Update a concierge candidate by a given concierge candidate ID.
1694
+ * @summary Update concierge candidate
1695
+ * @param {ConciergeCandidatesApiUpdateConciergeCandidateRequest} requestParameters Request parameters.
1696
+ * @param {*} [options] Override http request option.
1697
+ * @throws {RequiredError}
1698
+ */
1699
+ public updateConciergeCandidate(requestParameters: ConciergeCandidatesApiUpdateConciergeCandidateRequest, options?: RawAxiosRequestConfig) {
1700
+ return ConciergeCandidatesApiFp(this.configuration).updateConciergeCandidate(requestParameters.project, requestParameters.platformId, requestParameters.conciergeCandidateId, requestParameters.updateConciergeCandidateRequest, options).then((request) => request(this.axios, this.basePath));
1701
+ }
1702
+ }
1703
+
1704
+
1705
+
1256
1706
  /**
1257
1707
  * CustomersApi - axios parameter creator
1258
1708
  */
package/base.ts 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.0
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/common.ts 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.0
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/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Platform
4
4
  * Manage Your podOS platform
5
5
  *
6
- * The version of the OpenAPI document: 0.65.0
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).