@teemill/platform 0.71.2 → 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 +2 -2
- package/api.ts +14 -1
- package/base.ts +1 -1
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api.d.ts +11 -1
- package/dist/api.js +8 -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 +2 -2
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +11 -1
- package/dist/esm/api.js +6 -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 +2 -2
- 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/CreateOrder.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/platform@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.
|
|
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.
|
|
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
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.
|
|
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 =
|
|
115
|
+
url.search = searchParams.toString();
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
/**
|
package/configuration.ts
CHANGED
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.
|
|
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.
|
|
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.
|
|
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
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
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.
|
|
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 =
|
|
125
|
+
url.search = searchParams.toString();
|
|
126
126
|
};
|
|
127
127
|
exports.setSearchParams = setSearchParams;
|
|
128
128
|
/**
|
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.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.
|
|
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',
|
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.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.
|
|
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 =
|
|
117
|
+
url.search = searchParams.toString();
|
|
118
118
|
};
|
|
119
119
|
/**
|
|
120
120
|
*
|
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/docs/CreateOrder.md
CHANGED
|
@@ -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