@teemill/platform 0.71.0 → 0.72.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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/platform@0.71.0
1
+ ## @teemill/platform@0.72.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @teemill/platform@0.71.0 --save
39
+ npm install @teemill/platform@0.72.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.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.71.0
7
+ * The version of the OpenAPI document: 0.72.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -338,7 +338,20 @@ export interface CreateOrder {
338
338
  * The discount to be applied to the order.
339
339
  */
340
340
  'discount'?: number;
341
+ /**
342
+ * The attribution channel for the order.
343
+ */
344
+ 'attributionChannel'?: CreateOrderAttributionChannelEnum;
341
345
  }
346
+
347
+ export const CreateOrderAttributionChannelEnum = {
348
+ Custom: 'custom',
349
+ Vip: 'vip',
350
+ Api: 'api',
351
+ } as const;
352
+
353
+ export type CreateOrderAttributionChannelEnum = typeof CreateOrderAttributionChannelEnum[keyof typeof CreateOrderAttributionChannelEnum];
354
+
342
355
  export interface CreateOrderChatChannel200Response {
343
356
  /**
344
357
  * Reference to the chat channel resource
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.71.0
7
+ * The version of the OpenAPI document: 0.72.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.71.0
7
+ * The version of the OpenAPI document: 0.72.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -112,7 +112,7 @@ function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: an
112
112
  export const setSearchParams = function (url: URL, ...objects: any[]) {
113
113
  const searchParams = new URLSearchParams(url.search);
114
114
  setFlattenedQueryParams(searchParams, objects);
115
- url.search = decodeURIComponent(searchParams.toString());
115
+ url.search = searchParams.toString();
116
116
  }
117
117
 
118
118
  /**
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.71.0
6
+ * The version of the OpenAPI document: 0.72.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.71.0
5
+ * The version of the OpenAPI document: 0.72.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -315,7 +315,17 @@ export interface CreateOrder {
315
315
  * The discount to be applied to the order.
316
316
  */
317
317
  'discount'?: number;
318
+ /**
319
+ * The attribution channel for the order.
320
+ */
321
+ 'attributionChannel'?: CreateOrderAttributionChannelEnum;
318
322
  }
323
+ export declare const CreateOrderAttributionChannelEnum: {
324
+ readonly Custom: "custom";
325
+ readonly Vip: "vip";
326
+ readonly Api: "api";
327
+ };
328
+ export type CreateOrderAttributionChannelEnum = typeof CreateOrderAttributionChannelEnum[keyof typeof CreateOrderAttributionChannelEnum];
319
329
  export interface CreateOrderChatChannel200Response {
320
330
  /**
321
331
  * Reference to the chat channel resource
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.71.0
8
+ * The version of the OpenAPI document: 0.72.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,8 +22,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.ListOrdersSortByEnum = exports.ListOrdersDateFilterTypeEnum = exports.ExportOrdersDateFilterTypeEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.ModerationApi = exports.ModerationApiFactory = exports.ModerationApiFp = exports.ModerationApiAxiosParamCreator = exports.EnquiriesApi = exports.EnquiriesApiFactory = exports.EnquiriesApiFp = exports.EnquiriesApiAxiosParamCreator = exports.DashboardApi = exports.DashboardApiFactory = exports.DashboardApiFp = exports.DashboardApiAxiosParamCreator = exports.ListCustomersGenderEnum = exports.ListCustomersSortByEnum = exports.ExportCustomersGenderEnum = exports.ExportCustomersSortByEnum = exports.CustomersApi = exports.CustomersApiFactory = exports.CustomersApiFp = exports.CustomersApiAxiosParamCreator = exports.ConciergeCandidatesApi = exports.ConciergeCandidatesApiFactory = exports.ConciergeCandidatesApiFp = exports.ConciergeCandidatesApiAxiosParamCreator = exports.UpdateModerationItemRequestJudgementEnum = exports.ReturnOrderRequestReturnsInnerActionEnum = exports.PriorityLevel = exports.PaymentAttemptStatusEnum = exports.PaymentAttemptPaymentProviderEnum = exports.PaymentAccountMethodEnum = exports.OrderStatus = exports.FulfillmentFrozenReasonsEnum = exports.EnquiryStatusEnum = exports.CustomsInformationPreRegistrationTypeEnum = exports.CreateOrderPaymentMethodTypeEnum = exports.ConciergeCandidateSourceTypeEnum = exports.ApplicationPlacementEnum = exports.AmendmentLogAmendmentTypeEnum = exports.AmendOrderRequestAmendmentsInnerActionEnum = void 0;
26
- exports.TermsApi = exports.TermsApiFactory = exports.TermsApiFp = exports.TermsApiAxiosParamCreator = exports.ReviewsApi = exports.ReviewsApiFactory = exports.ReviewsApiFp = exports.ReviewsApiAxiosParamCreator = exports.PlatformApi = exports.PlatformApiFactory = exports.PlatformApiFp = exports.PlatformApiAxiosParamCreator = exports.PixelsApi = exports.PixelsApiFactory = exports.PixelsApiFp = exports.PixelsApiAxiosParamCreator = void 0;
25
+ exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.ListOrdersSortByEnum = exports.ListOrdersDateFilterTypeEnum = exports.ExportOrdersDateFilterTypeEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.ModerationApi = exports.ModerationApiFactory = exports.ModerationApiFp = exports.ModerationApiAxiosParamCreator = exports.EnquiriesApi = exports.EnquiriesApiFactory = exports.EnquiriesApiFp = exports.EnquiriesApiAxiosParamCreator = exports.DashboardApi = exports.DashboardApiFactory = exports.DashboardApiFp = exports.DashboardApiAxiosParamCreator = exports.ListCustomersGenderEnum = exports.ListCustomersSortByEnum = exports.ExportCustomersGenderEnum = exports.ExportCustomersSortByEnum = exports.CustomersApi = exports.CustomersApiFactory = exports.CustomersApiFp = exports.CustomersApiAxiosParamCreator = exports.ConciergeCandidatesApi = exports.ConciergeCandidatesApiFactory = exports.ConciergeCandidatesApiFp = exports.ConciergeCandidatesApiAxiosParamCreator = exports.UpdateModerationItemRequestJudgementEnum = exports.ReturnOrderRequestReturnsInnerActionEnum = exports.PriorityLevel = exports.PaymentAttemptStatusEnum = exports.PaymentAttemptPaymentProviderEnum = exports.PaymentAccountMethodEnum = exports.OrderStatus = exports.FulfillmentFrozenReasonsEnum = exports.EnquiryStatusEnum = exports.CustomsInformationPreRegistrationTypeEnum = exports.CreateOrderPaymentMethodTypeEnum = exports.CreateOrderAttributionChannelEnum = exports.ConciergeCandidateSourceTypeEnum = exports.ApplicationPlacementEnum = exports.AmendmentLogAmendmentTypeEnum = exports.AmendOrderRequestAmendmentsInnerActionEnum = void 0;
26
+ exports.TermsApi = exports.TermsApiFactory = exports.TermsApiFp = exports.TermsApiAxiosParamCreator = exports.ReviewsApi = exports.ReviewsApiFactory = exports.ReviewsApiFp = exports.ReviewsApiAxiosParamCreator = exports.PlatformApi = exports.PlatformApiFactory = exports.PlatformApiFp = exports.PlatformApiAxiosParamCreator = exports.PixelsApi = exports.PixelsApiFactory = exports.PixelsApiFp = exports.PixelsApiAxiosParamCreator = exports.PaymentApi = void 0;
27
27
  const axios_1 = require("axios");
28
28
  // Some imports not used depending on template conditions
29
29
  // @ts-ignore
@@ -49,6 +49,11 @@ exports.ConciergeCandidateSourceTypeEnum = {
49
49
  CustomOrder: 'custom_order',
50
50
  QuoteForm: 'quote_form',
51
51
  };
52
+ exports.CreateOrderAttributionChannelEnum = {
53
+ Custom: 'custom',
54
+ Vip: 'vip',
55
+ Api: 'api',
56
+ };
52
57
  exports.CreateOrderPaymentMethodTypeEnum = {
53
58
  Card: 'card',
54
59
  Bacs: 'bacs',
package/dist/base.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.71.0
5
+ * The version of the OpenAPI document: 0.72.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.71.0
8
+ * The version of the OpenAPI document: 0.72.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.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.71.0
5
+ * The version of the OpenAPI document: 0.72.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.71.0
8
+ * The version of the OpenAPI document: 0.72.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -122,7 +122,7 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
122
122
  const setSearchParams = function (url, ...objects) {
123
123
  const searchParams = new URLSearchParams(url.search);
124
124
  setFlattenedQueryParams(searchParams, objects);
125
- url.search = decodeURIComponent(searchParams.toString());
125
+ url.search = searchParams.toString();
126
126
  };
127
127
  exports.setSearchParams = setSearchParams;
128
128
  /**
@@ -2,7 +2,7 @@
2
2
  * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.71.0
5
+ * The version of the OpenAPI document: 0.72.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.71.0
7
+ * The version of the OpenAPI document: 0.72.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.71.0
5
+ * The version of the OpenAPI document: 0.72.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -315,7 +315,17 @@ export interface CreateOrder {
315
315
  * The discount to be applied to the order.
316
316
  */
317
317
  'discount'?: number;
318
+ /**
319
+ * The attribution channel for the order.
320
+ */
321
+ 'attributionChannel'?: CreateOrderAttributionChannelEnum;
318
322
  }
323
+ export declare const CreateOrderAttributionChannelEnum: {
324
+ readonly Custom: "custom";
325
+ readonly Vip: "vip";
326
+ readonly Api: "api";
327
+ };
328
+ export type CreateOrderAttributionChannelEnum = typeof CreateOrderAttributionChannelEnum[keyof typeof CreateOrderAttributionChannelEnum];
319
329
  export interface CreateOrderChatChannel200Response {
320
330
  /**
321
331
  * Reference to the chat channel resource
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.71.0
7
+ * The version of the OpenAPI document: 0.72.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -45,6 +45,11 @@ export const ConciergeCandidateSourceTypeEnum = {
45
45
  CustomOrder: 'custom_order',
46
46
  QuoteForm: 'quote_form',
47
47
  };
48
+ export const CreateOrderAttributionChannelEnum = {
49
+ Custom: 'custom',
50
+ Vip: 'vip',
51
+ Api: 'api',
52
+ };
48
53
  export const CreateOrderPaymentMethodTypeEnum = {
49
54
  Card: 'card',
50
55
  Bacs: 'bacs',
@@ -2,7 +2,7 @@
2
2
  * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.71.0
5
+ * The version of the OpenAPI document: 0.72.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.71.0
7
+ * The version of the OpenAPI document: 0.72.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.71.0
5
+ * The version of the OpenAPI document: 0.72.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.71.0
7
+ * The version of the OpenAPI document: 0.72.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -114,7 +114,7 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
114
114
  export const setSearchParams = function (url, ...objects) {
115
115
  const searchParams = new URLSearchParams(url.search);
116
116
  setFlattenedQueryParams(searchParams, objects);
117
- url.search = decodeURIComponent(searchParams.toString());
117
+ url.search = searchParams.toString();
118
118
  };
119
119
  /**
120
120
  *
@@ -2,7 +2,7 @@
2
2
  * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.71.0
5
+ * The version of the OpenAPI document: 0.72.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Platform
4
4
  * Manage Your podOS platform
5
5
  *
6
- * The version of the OpenAPI document: 0.71.0
6
+ * The version of the OpenAPI document: 0.72.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.71.0
5
+ * The version of the OpenAPI document: 0.72.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.71.0
7
+ * The version of the OpenAPI document: 0.72.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.71.0
5
+ * The version of the OpenAPI document: 0.72.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.71.0
8
+ * The version of the OpenAPI document: 0.72.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
18
18
  **client** | **string** | The project code of a client you want to order on the behalf of. If provided, the order will be created for the client\'s project. | [optional] [default to undefined]
19
19
  **bulk** | **boolean** | Determine whether this order will go through the bulk production flow or not | [optional] [default to undefined]
20
20
  **discount** | **number** | The discount to be applied to the order. | [optional] [default to undefined]
21
+ **attributionChannel** | **string** | The attribution channel for the order. | [optional] [default to undefined]
21
22
 
22
23
  ## Example
23
24
 
@@ -37,6 +38,7 @@ const instance: CreateOrder = {
37
38
  client,
38
39
  bulk,
39
40
  discount,
41
+ attributionChannel,
40
42
  };
41
43
  ```
42
44
 
package/index.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.71.0
7
+ * The version of the OpenAPI document: 0.72.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/platform",
3
- "version": "0.71.0",
3
+ "version": "0.72.0",
4
4
  "description": "OpenAPI client for @teemill/platform",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "prepare": "npm run build"
25
25
  },
26
26
  "dependencies": {
27
- "axios": "1.15.0"
27
+ "axios": "^1.16.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "12.11.5 - 12.20.42",