@teemill/platform 0.68.0 → 0.70.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/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.68.0
7
+ * The version of the OpenAPI document: 0.70.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.68.0
7
+ * The version of the OpenAPI document: 0.70.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.68.0
6
+ * The version of the OpenAPI document: 0.70.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -115,7 +115,7 @@ export class Configuration {
115
115
  * @return True if the given MIME is JSON, false otherwise.
116
116
  */
117
117
  public isJsonMime(mime: string): boolean {
118
- const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
119
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
118
+ const jsonMime: RegExp = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
119
+ return mime !== null && jsonMime.test(mime);
120
120
  }
121
121
  }
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.68.0
5
+ * The version of the OpenAPI document: 0.70.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -543,6 +543,30 @@ export interface EnquiryTracking {
543
543
  'utmTerm': string | null;
544
544
  'utmContent': string | null;
545
545
  }
546
+ export interface ExcludeEmailDomainRequest {
547
+ /**
548
+ * The email domain to exclude
549
+ */
550
+ 'domain': string;
551
+ }
552
+ export interface ExcludedEmailDomain {
553
+ /**
554
+ * Unique object identifier
555
+ */
556
+ 'id': string;
557
+ /**
558
+ * The email domain to exclude
559
+ */
560
+ 'domain': string;
561
+ /**
562
+ * Reference to the user resource
563
+ */
564
+ 'userRef': string;
565
+ /**
566
+ * ISO 8601 Timestamp
567
+ */
568
+ 'createdAt': string;
569
+ }
546
570
  export interface ExportOrders202Response {
547
571
  /**
548
572
  * A message describing the export status
@@ -1005,6 +1029,10 @@ export interface Platform {
1005
1029
  * The maximum number of days it can take to dispatch an order to adjust the comms in cart, receipt and CX.
1006
1030
  */
1007
1031
  'slaFloat': number;
1032
+ /**
1033
+ * The maximum number of days it can take to dispatch an order containing products with application technologies, to adjust the comms in cart, receipt and CX.
1034
+ */
1035
+ 'slaApplicationFloat': number;
1008
1036
  }
1009
1037
  export interface PlatformLogo {
1010
1038
  'url': string;
@@ -1279,6 +1307,10 @@ export interface UpdatePlatformRequest {
1279
1307
  * Set the maximum number of days it can take to dispatch an order to adjust the comms in cart, receipt and CX.
1280
1308
  */
1281
1309
  'slaFloat'?: number;
1310
+ /**
1311
+ * Set the maximum number of days it can take to dispatch an order containing products with application technologies, to adjust the comms in cart, receipt and CX.
1312
+ */
1313
+ 'slaApplicationFloat'?: number;
1282
1314
  }
1283
1315
  export interface ValidationError {
1284
1316
  'message': string;
@@ -1325,6 +1357,16 @@ export declare const ConciergeCandidatesApiAxiosParamCreator: (configuration?: C
1325
1357
  * @throws {RequiredError}
1326
1358
  */
1327
1359
  deleteConciergeCandidate: (project: string, platformId: string, conciergeCandidateId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1360
+ /**
1361
+ * Exclude an email domain from concierge candidates. This will prevent new concierge candidates being created if they have an email address that contains this domain.
1362
+ * @summary Exclude an email domain from concierge candidates
1363
+ * @param {string} project Project unique identifier
1364
+ * @param {string} platformId The platform identifier
1365
+ * @param {ExcludeEmailDomainRequest} excludeEmailDomainRequest Create an excluded email domain
1366
+ * @param {*} [options] Override http request option.
1367
+ * @throws {RequiredError}
1368
+ */
1369
+ excludeEmailDomain: (project: string, platformId: string, excludeEmailDomainRequest: ExcludeEmailDomainRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1328
1370
  /**
1329
1371
  * Get a concierge candidate by a given concierge candidate ID.
1330
1372
  * @summary Get concierge candidate
@@ -1372,6 +1414,16 @@ export declare const ConciergeCandidatesApiFp: (configuration?: Configuration) =
1372
1414
  * @throws {RequiredError}
1373
1415
  */
1374
1416
  deleteConciergeCandidate(project: string, platformId: string, conciergeCandidateId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1417
+ /**
1418
+ * Exclude an email domain from concierge candidates. This will prevent new concierge candidates being created if they have an email address that contains this domain.
1419
+ * @summary Exclude an email domain from concierge candidates
1420
+ * @param {string} project Project unique identifier
1421
+ * @param {string} platformId The platform identifier
1422
+ * @param {ExcludeEmailDomainRequest} excludeEmailDomainRequest Create an excluded email domain
1423
+ * @param {*} [options] Override http request option.
1424
+ * @throws {RequiredError}
1425
+ */
1426
+ excludeEmailDomain(project: string, platformId: string, excludeEmailDomainRequest: ExcludeEmailDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExcludedEmailDomain>>;
1375
1427
  /**
1376
1428
  * Get a concierge candidate by a given concierge candidate ID.
1377
1429
  * @summary Get concierge candidate
@@ -1415,6 +1467,14 @@ export declare const ConciergeCandidatesApiFactory: (configuration?: Configurati
1415
1467
  * @throws {RequiredError}
1416
1468
  */
1417
1469
  deleteConciergeCandidate(requestParameters: ConciergeCandidatesApiDeleteConciergeCandidateRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1470
+ /**
1471
+ * Exclude an email domain from concierge candidates. This will prevent new concierge candidates being created if they have an email address that contains this domain.
1472
+ * @summary Exclude an email domain from concierge candidates
1473
+ * @param {ConciergeCandidatesApiExcludeEmailDomainRequest} requestParameters Request parameters.
1474
+ * @param {*} [options] Override http request option.
1475
+ * @throws {RequiredError}
1476
+ */
1477
+ excludeEmailDomain(requestParameters: ConciergeCandidatesApiExcludeEmailDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExcludedEmailDomain>;
1418
1478
  /**
1419
1479
  * Get a concierge candidate by a given concierge candidate ID.
1420
1480
  * @summary Get concierge candidate
@@ -1466,6 +1526,23 @@ export interface ConciergeCandidatesApiDeleteConciergeCandidateRequest {
1466
1526
  */
1467
1527
  readonly conciergeCandidateId: string;
1468
1528
  }
1529
+ /**
1530
+ * Request parameters for excludeEmailDomain operation in ConciergeCandidatesApi.
1531
+ */
1532
+ export interface ConciergeCandidatesApiExcludeEmailDomainRequest {
1533
+ /**
1534
+ * Project unique identifier
1535
+ */
1536
+ readonly project: string;
1537
+ /**
1538
+ * The platform identifier
1539
+ */
1540
+ readonly platformId: string;
1541
+ /**
1542
+ * Create an excluded email domain
1543
+ */
1544
+ readonly excludeEmailDomainRequest: ExcludeEmailDomainRequest;
1545
+ }
1469
1546
  /**
1470
1547
  * Request parameters for getConciergeCandidate operation in ConciergeCandidatesApi.
1471
1548
  */
@@ -1528,6 +1605,14 @@ export declare class ConciergeCandidatesApi extends BaseAPI {
1528
1605
  * @throws {RequiredError}
1529
1606
  */
1530
1607
  deleteConciergeCandidate(requestParameters: ConciergeCandidatesApiDeleteConciergeCandidateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1608
+ /**
1609
+ * Exclude an email domain from concierge candidates. This will prevent new concierge candidates being created if they have an email address that contains this domain.
1610
+ * @summary Exclude an email domain from concierge candidates
1611
+ * @param {ConciergeCandidatesApiExcludeEmailDomainRequest} requestParameters Request parameters.
1612
+ * @param {*} [options] Override http request option.
1613
+ * @throws {RequiredError}
1614
+ */
1615
+ excludeEmailDomain(requestParameters: ConciergeCandidatesApiExcludeEmailDomainRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExcludedEmailDomain, any, {}>>;
1531
1616
  /**
1532
1617
  * Get a concierge candidate by a given concierge candidate ID.
1533
1618
  * @summary Get concierge candidate