@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.
- package/.openapi-generator/FILES +5 -0
- package/README.md +9 -2
- package/api.ts +453 -3
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +270 -3
- package/dist/api.js +301 -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 +270 -3
- package/dist/esm/api.js +295 -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 +39 -0
- package/docs/ConciergeCandidateSource.md +25 -0
- package/docs/ConciergeCandidatesApi.md +197 -0
- package/docs/Fulfillment.md +1 -1
- package/docs/ListConciergeCandidates200Response.md +22 -0
- package/docs/UpdateConciergeCandidateRequest.md +22 -0
- package/index.ts +1 -1
- package/package.json +2 -2
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
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.
|
|
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
|
|
@@ -527,10 +593,21 @@ export interface Fulfillment {
|
|
|
527
593
|
*/
|
|
528
594
|
'frozen'?: boolean;
|
|
529
595
|
/**
|
|
530
|
-
* List of reason codes why this fulfillment is frozen.
|
|
596
|
+
* 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.
|
|
531
597
|
*/
|
|
532
|
-
'frozenReasons'?: Array<
|
|
598
|
+
'frozenReasons'?: Array<FulfillmentFrozenReasonsEnum>;
|
|
533
599
|
}
|
|
600
|
+
export declare const FulfillmentFrozenReasonsEnum: {
|
|
601
|
+
readonly Moderation: "moderation";
|
|
602
|
+
readonly InternalScreenPrint: "internal_screen_print";
|
|
603
|
+
readonly Manual: "manual";
|
|
604
|
+
readonly CreditControl: "credit_control";
|
|
605
|
+
readonly BillingFailed: "billing_failed";
|
|
606
|
+
readonly PickfaceFlagged: "pickface_flagged";
|
|
607
|
+
readonly FlowFrozen: "flow_frozen";
|
|
608
|
+
readonly Fraud: "fraud";
|
|
609
|
+
};
|
|
610
|
+
export type FulfillmentFrozenReasonsEnum = typeof FulfillmentFrozenReasonsEnum[keyof typeof FulfillmentFrozenReasonsEnum];
|
|
534
611
|
export interface FulfillmentItem {
|
|
535
612
|
/**
|
|
536
613
|
* Unique fulfillment item id
|
|
@@ -560,6 +637,10 @@ export interface Image {
|
|
|
560
637
|
'alt'?: string;
|
|
561
638
|
'sortOrder'?: number;
|
|
562
639
|
}
|
|
640
|
+
export interface ListConciergeCandidates200Response {
|
|
641
|
+
'candidates': Array<ConciergeCandidate>;
|
|
642
|
+
'nextPageToken': number | null;
|
|
643
|
+
}
|
|
563
644
|
export interface ListCustomerEnquiries200Response {
|
|
564
645
|
'enquiries'?: Array<Enquiry>;
|
|
565
646
|
'nextPageToken'?: number | null;
|
|
@@ -1115,6 +1196,16 @@ export interface Terms {
|
|
|
1115
1196
|
'createdAt': string;
|
|
1116
1197
|
'updatedAt': string;
|
|
1117
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
|
+
}
|
|
1118
1209
|
export interface UpdateCustomerEnquiryRequest {
|
|
1119
1210
|
/**
|
|
1120
1211
|
* The unique id of the user who owns the enquiry
|
|
@@ -1198,6 +1289,182 @@ export interface Variant {
|
|
|
1198
1289
|
*/
|
|
1199
1290
|
'warehouseVariantRef': string | null;
|
|
1200
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
|
+
}
|
|
1201
1468
|
/**
|
|
1202
1469
|
* CustomersApi - axios parameter creator
|
|
1203
1470
|
*/
|