@teemill/platform 0.69.0 → 0.71.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.69.0
7
+ * The version of the OpenAPI document: 0.71.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.69.0
7
+ * The version of the OpenAPI document: 0.71.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.69.0
6
+ * The version of the OpenAPI document: 0.71.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.69.0
5
+ * The version of the OpenAPI document: 0.71.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
@@ -605,7 +629,7 @@ export interface Fulfillment {
605
629
  */
606
630
  'frozen'?: boolean;
607
631
  /**
608
- * 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. - `client_credit_control` - The client is under credit control. - `factory_credit_control` - The factory fulfilling the order 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.
632
+ * 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.
609
633
  */
610
634
  'frozenReasons'?: Array<FulfillmentFrozenReasonsEnum>;
611
635
  }
@@ -613,8 +637,7 @@ export declare const FulfillmentFrozenReasonsEnum: {
613
637
  readonly Moderation: "moderation";
614
638
  readonly InternalScreenPrint: "internal_screen_print";
615
639
  readonly Manual: "manual";
616
- readonly ClientCreditControl: "client_credit_control";
617
- readonly FactoryCreditControl: "factory_credit_control";
640
+ readonly CreditControl: "credit_control";
618
641
  readonly BillingFailed: "billing_failed";
619
642
  readonly PickfaceFlagged: "pickface_flagged";
620
643
  readonly FlowFrozen: "flow_frozen";
@@ -1333,6 +1356,16 @@ export declare const ConciergeCandidatesApiAxiosParamCreator: (configuration?: C
1333
1356
  * @throws {RequiredError}
1334
1357
  */
1335
1358
  deleteConciergeCandidate: (project: string, platformId: string, conciergeCandidateId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1359
+ /**
1360
+ * 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.
1361
+ * @summary Exclude an email domain from concierge candidates
1362
+ * @param {string} project Project unique identifier
1363
+ * @param {string} platformId The platform identifier
1364
+ * @param {ExcludeEmailDomainRequest} excludeEmailDomainRequest Create an excluded email domain
1365
+ * @param {*} [options] Override http request option.
1366
+ * @throws {RequiredError}
1367
+ */
1368
+ excludeEmailDomain: (project: string, platformId: string, excludeEmailDomainRequest: ExcludeEmailDomainRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1336
1369
  /**
1337
1370
  * Get a concierge candidate by a given concierge candidate ID.
1338
1371
  * @summary Get concierge candidate
@@ -1380,6 +1413,16 @@ export declare const ConciergeCandidatesApiFp: (configuration?: Configuration) =
1380
1413
  * @throws {RequiredError}
1381
1414
  */
1382
1415
  deleteConciergeCandidate(project: string, platformId: string, conciergeCandidateId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1416
+ /**
1417
+ * 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.
1418
+ * @summary Exclude an email domain from concierge candidates
1419
+ * @param {string} project Project unique identifier
1420
+ * @param {string} platformId The platform identifier
1421
+ * @param {ExcludeEmailDomainRequest} excludeEmailDomainRequest Create an excluded email domain
1422
+ * @param {*} [options] Override http request option.
1423
+ * @throws {RequiredError}
1424
+ */
1425
+ excludeEmailDomain(project: string, platformId: string, excludeEmailDomainRequest: ExcludeEmailDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExcludedEmailDomain>>;
1383
1426
  /**
1384
1427
  * Get a concierge candidate by a given concierge candidate ID.
1385
1428
  * @summary Get concierge candidate
@@ -1423,6 +1466,14 @@ export declare const ConciergeCandidatesApiFactory: (configuration?: Configurati
1423
1466
  * @throws {RequiredError}
1424
1467
  */
1425
1468
  deleteConciergeCandidate(requestParameters: ConciergeCandidatesApiDeleteConciergeCandidateRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1469
+ /**
1470
+ * 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.
1471
+ * @summary Exclude an email domain from concierge candidates
1472
+ * @param {ConciergeCandidatesApiExcludeEmailDomainRequest} requestParameters Request parameters.
1473
+ * @param {*} [options] Override http request option.
1474
+ * @throws {RequiredError}
1475
+ */
1476
+ excludeEmailDomain(requestParameters: ConciergeCandidatesApiExcludeEmailDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExcludedEmailDomain>;
1426
1477
  /**
1427
1478
  * Get a concierge candidate by a given concierge candidate ID.
1428
1479
  * @summary Get concierge candidate
@@ -1474,6 +1525,23 @@ export interface ConciergeCandidatesApiDeleteConciergeCandidateRequest {
1474
1525
  */
1475
1526
  readonly conciergeCandidateId: string;
1476
1527
  }
1528
+ /**
1529
+ * Request parameters for excludeEmailDomain operation in ConciergeCandidatesApi.
1530
+ */
1531
+ export interface ConciergeCandidatesApiExcludeEmailDomainRequest {
1532
+ /**
1533
+ * Project unique identifier
1534
+ */
1535
+ readonly project: string;
1536
+ /**
1537
+ * The platform identifier
1538
+ */
1539
+ readonly platformId: string;
1540
+ /**
1541
+ * Create an excluded email domain
1542
+ */
1543
+ readonly excludeEmailDomainRequest: ExcludeEmailDomainRequest;
1544
+ }
1477
1545
  /**
1478
1546
  * Request parameters for getConciergeCandidate operation in ConciergeCandidatesApi.
1479
1547
  */
@@ -1536,6 +1604,14 @@ export declare class ConciergeCandidatesApi extends BaseAPI {
1536
1604
  * @throws {RequiredError}
1537
1605
  */
1538
1606
  deleteConciergeCandidate(requestParameters: ConciergeCandidatesApiDeleteConciergeCandidateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1607
+ /**
1608
+ * 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.
1609
+ * @summary Exclude an email domain from concierge candidates
1610
+ * @param {ConciergeCandidatesApiExcludeEmailDomainRequest} requestParameters Request parameters.
1611
+ * @param {*} [options] Override http request option.
1612
+ * @throws {RequiredError}
1613
+ */
1614
+ excludeEmailDomain(requestParameters: ConciergeCandidatesApiExcludeEmailDomainRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExcludedEmailDomain, any, {}>>;
1539
1615
  /**
1540
1616
  * Get a concierge candidate by a given concierge candidate ID.
1541
1617
  * @summary Get concierge candidate