@teemill/platform 0.69.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.69.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.69.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.69.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.69.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
@@ -1333,6 +1357,16 @@ export declare const ConciergeCandidatesApiAxiosParamCreator: (configuration?: C
1333
1357
  * @throws {RequiredError}
1334
1358
  */
1335
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>;
1336
1370
  /**
1337
1371
  * Get a concierge candidate by a given concierge candidate ID.
1338
1372
  * @summary Get concierge candidate
@@ -1380,6 +1414,16 @@ export declare const ConciergeCandidatesApiFp: (configuration?: Configuration) =
1380
1414
  * @throws {RequiredError}
1381
1415
  */
1382
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>>;
1383
1427
  /**
1384
1428
  * Get a concierge candidate by a given concierge candidate ID.
1385
1429
  * @summary Get concierge candidate
@@ -1423,6 +1467,14 @@ export declare const ConciergeCandidatesApiFactory: (configuration?: Configurati
1423
1467
  * @throws {RequiredError}
1424
1468
  */
1425
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>;
1426
1478
  /**
1427
1479
  * Get a concierge candidate by a given concierge candidate ID.
1428
1480
  * @summary Get concierge candidate
@@ -1474,6 +1526,23 @@ export interface ConciergeCandidatesApiDeleteConciergeCandidateRequest {
1474
1526
  */
1475
1527
  readonly conciergeCandidateId: string;
1476
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
+ }
1477
1546
  /**
1478
1547
  * Request parameters for getConciergeCandidate operation in ConciergeCandidatesApi.
1479
1548
  */
@@ -1536,6 +1605,14 @@ export declare class ConciergeCandidatesApi extends BaseAPI {
1536
1605
  * @throws {RequiredError}
1537
1606
  */
1538
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, {}>>;
1539
1616
  /**
1540
1617
  * Get a concierge candidate by a given concierge candidate ID.
1541
1618
  * @summary Get concierge candidate