@teemill/platform 0.65.2 → 0.67.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.
- package/.openapi-generator/FILES +4 -0
- package/README.md +9 -2
- package/api.ts +566 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +319 -1
- package/dist/api.js +383 -3
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +319 -1
- package/dist/esm/api.js +377 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ConciergeCandidate.md +41 -0
- package/docs/ConciergeCandidateSource.md +25 -0
- package/docs/ConciergeCandidatesApi.md +265 -0
- package/docs/ListConciergeCandidates200Response.md +22 -0
- package/docs/UpdateConciergeCandidateRequest.md +22 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/configuration.ts
CHANGED
package/dist/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.
|
|
5
|
+
* The version of the OpenAPI document: 0.67.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -163,6 +163,76 @@ 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
|
+
'approvedAt': string | null;
|
|
195
|
+
/**
|
|
196
|
+
* ISO 8601 Timestamp
|
|
197
|
+
*/
|
|
198
|
+
'completedAt': string | null;
|
|
199
|
+
/**
|
|
200
|
+
* A reference to the project being ordered
|
|
201
|
+
*/
|
|
202
|
+
'clientRef': string;
|
|
203
|
+
/**
|
|
204
|
+
* A reference to the origin of the concierge candidate. The structure of the origin ref can be inferred from the concierge candidate source.
|
|
205
|
+
*/
|
|
206
|
+
'originRef': string;
|
|
207
|
+
/**
|
|
208
|
+
* Reference to the task resource
|
|
209
|
+
*/
|
|
210
|
+
'taskRef'?: string | null;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* The source of the concierge candidate. This is the channel through which the concierge candidate interacted with the platform.
|
|
214
|
+
*/
|
|
215
|
+
export interface ConciergeCandidateSource {
|
|
216
|
+
/**
|
|
217
|
+
* The type of the source
|
|
218
|
+
*/
|
|
219
|
+
'type': ConciergeCandidateSourceTypeEnum;
|
|
220
|
+
/**
|
|
221
|
+
* The name of the source
|
|
222
|
+
*/
|
|
223
|
+
'name': string;
|
|
224
|
+
/**
|
|
225
|
+
* The description of the source
|
|
226
|
+
*/
|
|
227
|
+
'description': string;
|
|
228
|
+
}
|
|
229
|
+
export declare const ConciergeCandidateSourceTypeEnum: {
|
|
230
|
+
readonly ContactForm: "contact_form";
|
|
231
|
+
readonly SignedUp: "signed_up";
|
|
232
|
+
readonly CustomOrder: "custom_order";
|
|
233
|
+
readonly QuoteForm: "quote_form";
|
|
234
|
+
};
|
|
235
|
+
export type ConciergeCandidateSourceTypeEnum = typeof ConciergeCandidateSourceTypeEnum[keyof typeof ConciergeCandidateSourceTypeEnum];
|
|
166
236
|
export interface ConfirmOrderFulfillment {
|
|
167
237
|
/**
|
|
168
238
|
* Unique object identifier
|
|
@@ -571,6 +641,10 @@ export interface Image {
|
|
|
571
641
|
'alt'?: string;
|
|
572
642
|
'sortOrder'?: number;
|
|
573
643
|
}
|
|
644
|
+
export interface ListConciergeCandidates200Response {
|
|
645
|
+
'candidates': Array<ConciergeCandidate>;
|
|
646
|
+
'nextPageToken': number | null;
|
|
647
|
+
}
|
|
574
648
|
export interface ListCustomerEnquiries200Response {
|
|
575
649
|
'enquiries'?: Array<Enquiry>;
|
|
576
650
|
'nextPageToken'?: number | null;
|
|
@@ -1209,6 +1283,250 @@ export interface Variant {
|
|
|
1209
1283
|
*/
|
|
1210
1284
|
'warehouseVariantRef': string | null;
|
|
1211
1285
|
}
|
|
1286
|
+
/**
|
|
1287
|
+
* ConciergeCandidatesApi - axios parameter creator
|
|
1288
|
+
*/
|
|
1289
|
+
export declare const ConciergeCandidatesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1290
|
+
/**
|
|
1291
|
+
* Approve a concierge candidate by a given concierge candidate ID. This will create a task that cann be assigned to a user.
|
|
1292
|
+
* @summary Approve concierge candidate
|
|
1293
|
+
* @param {string} project Project unique identifier
|
|
1294
|
+
* @param {string} platformId The platform identifier
|
|
1295
|
+
* @param {string} conciergeCandidateId The concierge candidate identifier
|
|
1296
|
+
* @param {*} [options] Override http request option.
|
|
1297
|
+
* @throws {RequiredError}
|
|
1298
|
+
*/
|
|
1299
|
+
approveConciergeCandidate: (project: string, platformId: string, conciergeCandidateId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1300
|
+
/**
|
|
1301
|
+
* Delete a concierge candidate by a given concierge candidate ID.
|
|
1302
|
+
* @summary Delete concierge candidate
|
|
1303
|
+
* @param {string} project Project unique identifier
|
|
1304
|
+
* @param {string} platformId The platform identifier
|
|
1305
|
+
* @param {string} conciergeCandidateId The concierge candidate identifier
|
|
1306
|
+
* @param {*} [options] Override http request option.
|
|
1307
|
+
* @throws {RequiredError}
|
|
1308
|
+
*/
|
|
1309
|
+
deleteConciergeCandidate: (project: string, platformId: string, conciergeCandidateId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1310
|
+
/**
|
|
1311
|
+
* Get a concierge candidate by a given concierge candidate ID.
|
|
1312
|
+
* @summary Get concierge candidate
|
|
1313
|
+
* @param {string} project Project unique identifier
|
|
1314
|
+
* @param {string} platformId The platform identifier
|
|
1315
|
+
* @param {string} conciergeCandidateId The concierge candidate identifier
|
|
1316
|
+
* @param {*} [options] Override http request option.
|
|
1317
|
+
* @throws {RequiredError}
|
|
1318
|
+
*/
|
|
1319
|
+
getConciergeCandidate: (project: string, platformId: string, conciergeCandidateId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1320
|
+
/**
|
|
1321
|
+
* List concierge candidates
|
|
1322
|
+
* @summary List concierge candidates
|
|
1323
|
+
* @param {string} project Project unique identifier
|
|
1324
|
+
* @param {string} platformId The platform identifier
|
|
1325
|
+
* @param {string} [search] Search term to filter results
|
|
1326
|
+
* @param {number} [pageToken] Page reference token
|
|
1327
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1328
|
+
* @param {*} [options] Override http request option.
|
|
1329
|
+
* @throws {RequiredError}
|
|
1330
|
+
*/
|
|
1331
|
+
listConciergeCandidates: (project: string, platformId: string, search?: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1332
|
+
};
|
|
1333
|
+
/**
|
|
1334
|
+
* ConciergeCandidatesApi - functional programming interface
|
|
1335
|
+
*/
|
|
1336
|
+
export declare const ConciergeCandidatesApiFp: (configuration?: Configuration) => {
|
|
1337
|
+
/**
|
|
1338
|
+
* Approve a concierge candidate by a given concierge candidate ID. This will create a task that cann be assigned to a user.
|
|
1339
|
+
* @summary Approve concierge candidate
|
|
1340
|
+
* @param {string} project Project unique identifier
|
|
1341
|
+
* @param {string} platformId The platform identifier
|
|
1342
|
+
* @param {string} conciergeCandidateId The concierge candidate identifier
|
|
1343
|
+
* @param {*} [options] Override http request option.
|
|
1344
|
+
* @throws {RequiredError}
|
|
1345
|
+
*/
|
|
1346
|
+
approveConciergeCandidate(project: string, platformId: string, conciergeCandidateId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConciergeCandidate>>;
|
|
1347
|
+
/**
|
|
1348
|
+
* Delete a concierge candidate by a given concierge candidate ID.
|
|
1349
|
+
* @summary Delete concierge candidate
|
|
1350
|
+
* @param {string} project Project unique identifier
|
|
1351
|
+
* @param {string} platformId The platform identifier
|
|
1352
|
+
* @param {string} conciergeCandidateId The concierge candidate identifier
|
|
1353
|
+
* @param {*} [options] Override http request option.
|
|
1354
|
+
* @throws {RequiredError}
|
|
1355
|
+
*/
|
|
1356
|
+
deleteConciergeCandidate(project: string, platformId: string, conciergeCandidateId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1357
|
+
/**
|
|
1358
|
+
* Get a concierge candidate by a given concierge candidate ID.
|
|
1359
|
+
* @summary Get concierge candidate
|
|
1360
|
+
* @param {string} project Project unique identifier
|
|
1361
|
+
* @param {string} platformId The platform identifier
|
|
1362
|
+
* @param {string} conciergeCandidateId The concierge candidate identifier
|
|
1363
|
+
* @param {*} [options] Override http request option.
|
|
1364
|
+
* @throws {RequiredError}
|
|
1365
|
+
*/
|
|
1366
|
+
getConciergeCandidate(project: string, platformId: string, conciergeCandidateId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConciergeCandidate>>;
|
|
1367
|
+
/**
|
|
1368
|
+
* List concierge candidates
|
|
1369
|
+
* @summary List concierge candidates
|
|
1370
|
+
* @param {string} project Project unique identifier
|
|
1371
|
+
* @param {string} platformId The platform identifier
|
|
1372
|
+
* @param {string} [search] Search term to filter results
|
|
1373
|
+
* @param {number} [pageToken] Page reference token
|
|
1374
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1375
|
+
* @param {*} [options] Override http request option.
|
|
1376
|
+
* @throws {RequiredError}
|
|
1377
|
+
*/
|
|
1378
|
+
listConciergeCandidates(project: string, platformId: string, search?: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListConciergeCandidates200Response>>;
|
|
1379
|
+
};
|
|
1380
|
+
/**
|
|
1381
|
+
* ConciergeCandidatesApi - factory interface
|
|
1382
|
+
*/
|
|
1383
|
+
export declare const ConciergeCandidatesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1384
|
+
/**
|
|
1385
|
+
* Approve a concierge candidate by a given concierge candidate ID. This will create a task that cann be assigned to a user.
|
|
1386
|
+
* @summary Approve concierge candidate
|
|
1387
|
+
* @param {ConciergeCandidatesApiApproveConciergeCandidateRequest} requestParameters Request parameters.
|
|
1388
|
+
* @param {*} [options] Override http request option.
|
|
1389
|
+
* @throws {RequiredError}
|
|
1390
|
+
*/
|
|
1391
|
+
approveConciergeCandidate(requestParameters: ConciergeCandidatesApiApproveConciergeCandidateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConciergeCandidate>;
|
|
1392
|
+
/**
|
|
1393
|
+
* Delete a concierge candidate by a given concierge candidate ID.
|
|
1394
|
+
* @summary Delete concierge candidate
|
|
1395
|
+
* @param {ConciergeCandidatesApiDeleteConciergeCandidateRequest} requestParameters Request parameters.
|
|
1396
|
+
* @param {*} [options] Override http request option.
|
|
1397
|
+
* @throws {RequiredError}
|
|
1398
|
+
*/
|
|
1399
|
+
deleteConciergeCandidate(requestParameters: ConciergeCandidatesApiDeleteConciergeCandidateRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1400
|
+
/**
|
|
1401
|
+
* Get a concierge candidate by a given concierge candidate ID.
|
|
1402
|
+
* @summary Get concierge candidate
|
|
1403
|
+
* @param {ConciergeCandidatesApiGetConciergeCandidateRequest} requestParameters Request parameters.
|
|
1404
|
+
* @param {*} [options] Override http request option.
|
|
1405
|
+
* @throws {RequiredError}
|
|
1406
|
+
*/
|
|
1407
|
+
getConciergeCandidate(requestParameters: ConciergeCandidatesApiGetConciergeCandidateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConciergeCandidate>;
|
|
1408
|
+
/**
|
|
1409
|
+
* List concierge candidates
|
|
1410
|
+
* @summary List concierge candidates
|
|
1411
|
+
* @param {ConciergeCandidatesApiListConciergeCandidatesRequest} requestParameters Request parameters.
|
|
1412
|
+
* @param {*} [options] Override http request option.
|
|
1413
|
+
* @throws {RequiredError}
|
|
1414
|
+
*/
|
|
1415
|
+
listConciergeCandidates(requestParameters: ConciergeCandidatesApiListConciergeCandidatesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListConciergeCandidates200Response>;
|
|
1416
|
+
};
|
|
1417
|
+
/**
|
|
1418
|
+
* Request parameters for approveConciergeCandidate operation in ConciergeCandidatesApi.
|
|
1419
|
+
*/
|
|
1420
|
+
export interface ConciergeCandidatesApiApproveConciergeCandidateRequest {
|
|
1421
|
+
/**
|
|
1422
|
+
* Project unique identifier
|
|
1423
|
+
*/
|
|
1424
|
+
readonly project: string;
|
|
1425
|
+
/**
|
|
1426
|
+
* The platform identifier
|
|
1427
|
+
*/
|
|
1428
|
+
readonly platformId: string;
|
|
1429
|
+
/**
|
|
1430
|
+
* The concierge candidate identifier
|
|
1431
|
+
*/
|
|
1432
|
+
readonly conciergeCandidateId: string;
|
|
1433
|
+
}
|
|
1434
|
+
/**
|
|
1435
|
+
* Request parameters for deleteConciergeCandidate operation in ConciergeCandidatesApi.
|
|
1436
|
+
*/
|
|
1437
|
+
export interface ConciergeCandidatesApiDeleteConciergeCandidateRequest {
|
|
1438
|
+
/**
|
|
1439
|
+
* Project unique identifier
|
|
1440
|
+
*/
|
|
1441
|
+
readonly project: string;
|
|
1442
|
+
/**
|
|
1443
|
+
* The platform identifier
|
|
1444
|
+
*/
|
|
1445
|
+
readonly platformId: string;
|
|
1446
|
+
/**
|
|
1447
|
+
* The concierge candidate identifier
|
|
1448
|
+
*/
|
|
1449
|
+
readonly conciergeCandidateId: string;
|
|
1450
|
+
}
|
|
1451
|
+
/**
|
|
1452
|
+
* Request parameters for getConciergeCandidate operation in ConciergeCandidatesApi.
|
|
1453
|
+
*/
|
|
1454
|
+
export interface ConciergeCandidatesApiGetConciergeCandidateRequest {
|
|
1455
|
+
/**
|
|
1456
|
+
* Project unique identifier
|
|
1457
|
+
*/
|
|
1458
|
+
readonly project: string;
|
|
1459
|
+
/**
|
|
1460
|
+
* The platform identifier
|
|
1461
|
+
*/
|
|
1462
|
+
readonly platformId: string;
|
|
1463
|
+
/**
|
|
1464
|
+
* The concierge candidate identifier
|
|
1465
|
+
*/
|
|
1466
|
+
readonly conciergeCandidateId: string;
|
|
1467
|
+
}
|
|
1468
|
+
/**
|
|
1469
|
+
* Request parameters for listConciergeCandidates operation in ConciergeCandidatesApi.
|
|
1470
|
+
*/
|
|
1471
|
+
export interface ConciergeCandidatesApiListConciergeCandidatesRequest {
|
|
1472
|
+
/**
|
|
1473
|
+
* Project unique identifier
|
|
1474
|
+
*/
|
|
1475
|
+
readonly project: string;
|
|
1476
|
+
/**
|
|
1477
|
+
* The platform identifier
|
|
1478
|
+
*/
|
|
1479
|
+
readonly platformId: string;
|
|
1480
|
+
/**
|
|
1481
|
+
* Search term to filter results
|
|
1482
|
+
*/
|
|
1483
|
+
readonly search?: string;
|
|
1484
|
+
/**
|
|
1485
|
+
* Page reference token
|
|
1486
|
+
*/
|
|
1487
|
+
readonly pageToken?: number;
|
|
1488
|
+
/**
|
|
1489
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1490
|
+
*/
|
|
1491
|
+
readonly pageSize?: number;
|
|
1492
|
+
}
|
|
1493
|
+
/**
|
|
1494
|
+
* ConciergeCandidatesApi - object-oriented interface
|
|
1495
|
+
*/
|
|
1496
|
+
export declare class ConciergeCandidatesApi extends BaseAPI {
|
|
1497
|
+
/**
|
|
1498
|
+
* Approve a concierge candidate by a given concierge candidate ID. This will create a task that cann be assigned to a user.
|
|
1499
|
+
* @summary Approve concierge candidate
|
|
1500
|
+
* @param {ConciergeCandidatesApiApproveConciergeCandidateRequest} requestParameters Request parameters.
|
|
1501
|
+
* @param {*} [options] Override http request option.
|
|
1502
|
+
* @throws {RequiredError}
|
|
1503
|
+
*/
|
|
1504
|
+
approveConciergeCandidate(requestParameters: ConciergeCandidatesApiApproveConciergeCandidateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConciergeCandidate, any, {}>>;
|
|
1505
|
+
/**
|
|
1506
|
+
* Delete a concierge candidate by a given concierge candidate ID.
|
|
1507
|
+
* @summary Delete concierge candidate
|
|
1508
|
+
* @param {ConciergeCandidatesApiDeleteConciergeCandidateRequest} requestParameters Request parameters.
|
|
1509
|
+
* @param {*} [options] Override http request option.
|
|
1510
|
+
* @throws {RequiredError}
|
|
1511
|
+
*/
|
|
1512
|
+
deleteConciergeCandidate(requestParameters: ConciergeCandidatesApiDeleteConciergeCandidateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1513
|
+
/**
|
|
1514
|
+
* Get a concierge candidate by a given concierge candidate ID.
|
|
1515
|
+
* @summary Get concierge candidate
|
|
1516
|
+
* @param {ConciergeCandidatesApiGetConciergeCandidateRequest} requestParameters Request parameters.
|
|
1517
|
+
* @param {*} [options] Override http request option.
|
|
1518
|
+
* @throws {RequiredError}
|
|
1519
|
+
*/
|
|
1520
|
+
getConciergeCandidate(requestParameters: ConciergeCandidatesApiGetConciergeCandidateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConciergeCandidate, any, {}>>;
|
|
1521
|
+
/**
|
|
1522
|
+
* List concierge candidates
|
|
1523
|
+
* @summary List concierge candidates
|
|
1524
|
+
* @param {ConciergeCandidatesApiListConciergeCandidatesRequest} requestParameters Request parameters.
|
|
1525
|
+
* @param {*} [options] Override http request option.
|
|
1526
|
+
* @throws {RequiredError}
|
|
1527
|
+
*/
|
|
1528
|
+
listConciergeCandidates(requestParameters: ConciergeCandidatesApiListConciergeCandidatesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListConciergeCandidates200Response, any, {}>>;
|
|
1529
|
+
}
|
|
1212
1530
|
/**
|
|
1213
1531
|
* CustomersApi - axios parameter creator
|
|
1214
1532
|
*/
|