@teemill/platform 0.64.0 → 0.65.2
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 +21 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +20 -1
- package/dist/api.js +13 -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 +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +20 -1
- package/dist/esm/api.js +11 -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 +1 -1
- 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/Fulfillment.md +4 -0
- package/index.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/platform@0.
|
|
1
|
+
## @teemill/platform@0.65.2
|
|
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.65.2 --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.65.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -551,8 +551,28 @@ export interface Fulfillment {
|
|
|
551
551
|
* A reference to the resource location
|
|
552
552
|
*/
|
|
553
553
|
'platformRef'?: string;
|
|
554
|
+
/**
|
|
555
|
+
* Whether the fulfillment is frozen. This will prevent the fulfillment from being picked.
|
|
556
|
+
*/
|
|
557
|
+
'frozen'?: boolean;
|
|
558
|
+
/**
|
|
559
|
+
* 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.
|
|
560
|
+
*/
|
|
561
|
+
'frozenReasons'?: Array<FulfillmentFrozenReasonsEnum>;
|
|
554
562
|
}
|
|
555
563
|
|
|
564
|
+
export const FulfillmentFrozenReasonsEnum = {
|
|
565
|
+
Moderation: 'moderation',
|
|
566
|
+
InternalScreenPrint: 'internal_screen_print',
|
|
567
|
+
Manual: 'manual',
|
|
568
|
+
CreditControl: 'credit_control',
|
|
569
|
+
BillingFailed: 'billing_failed',
|
|
570
|
+
PickfaceFlagged: 'pickface_flagged',
|
|
571
|
+
FlowFrozen: 'flow_frozen',
|
|
572
|
+
Fraud: 'fraud',
|
|
573
|
+
} as const;
|
|
574
|
+
|
|
575
|
+
export type FulfillmentFrozenReasonsEnum = typeof FulfillmentFrozenReasonsEnum[keyof typeof FulfillmentFrozenReasonsEnum];
|
|
556
576
|
|
|
557
577
|
export interface FulfillmentItem {
|
|
558
578
|
/**
|
package/base.ts
CHANGED
package/common.ts
CHANGED
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.65.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -522,7 +522,26 @@ export interface Fulfillment {
|
|
|
522
522
|
* A reference to the resource location
|
|
523
523
|
*/
|
|
524
524
|
'platformRef'?: string;
|
|
525
|
+
/**
|
|
526
|
+
* Whether the fulfillment is frozen. This will prevent the fulfillment from being picked.
|
|
527
|
+
*/
|
|
528
|
+
'frozen'?: boolean;
|
|
529
|
+
/**
|
|
530
|
+
* 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.
|
|
531
|
+
*/
|
|
532
|
+
'frozenReasons'?: Array<FulfillmentFrozenReasonsEnum>;
|
|
525
533
|
}
|
|
534
|
+
export declare const FulfillmentFrozenReasonsEnum: {
|
|
535
|
+
readonly Moderation: "moderation";
|
|
536
|
+
readonly InternalScreenPrint: "internal_screen_print";
|
|
537
|
+
readonly Manual: "manual";
|
|
538
|
+
readonly CreditControl: "credit_control";
|
|
539
|
+
readonly BillingFailed: "billing_failed";
|
|
540
|
+
readonly PickfaceFlagged: "pickface_flagged";
|
|
541
|
+
readonly FlowFrozen: "flow_frozen";
|
|
542
|
+
readonly Fraud: "fraud";
|
|
543
|
+
};
|
|
544
|
+
export type FulfillmentFrozenReasonsEnum = typeof FulfillmentFrozenReasonsEnum[keyof typeof FulfillmentFrozenReasonsEnum];
|
|
526
545
|
export interface FulfillmentItem {
|
|
527
546
|
/**
|
|
528
547
|
* Unique fulfillment item id
|
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.65.2
|
|
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 = void 0;
|
|
25
|
+
exports.PlatformApiAxiosParamCreator = exports.PixelsApi = exports.PixelsApiFactory = exports.PixelsApiFp = exports.PixelsApiAxiosParamCreator = 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.UpdateModerationItemRequestJudgementEnum = exports.ReturnOrderRequestReturnsInnerActionEnum = exports.PriorityLevel = exports.PaymentAttemptStatusEnum = exports.PaymentAttemptPaymentProviderEnum = exports.PaymentAccountMethodEnum = exports.OrderStatus = exports.FulfillmentFrozenReasonsEnum = exports.EnquiryStatusEnum = exports.CustomsInformationPreRegistrationTypeEnum = exports.CreateOrderPaymentMethodTypeEnum = 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 = void 0;
|
|
27
27
|
const axios_1 = require("axios");
|
|
28
28
|
// Some imports not used depending on template conditions
|
|
29
29
|
// @ts-ignore
|
|
@@ -56,6 +56,16 @@ exports.EnquiryStatusEnum = {
|
|
|
56
56
|
Archived: 'Archived',
|
|
57
57
|
Priority: 'Priority',
|
|
58
58
|
};
|
|
59
|
+
exports.FulfillmentFrozenReasonsEnum = {
|
|
60
|
+
Moderation: 'moderation',
|
|
61
|
+
InternalScreenPrint: 'internal_screen_print',
|
|
62
|
+
Manual: 'manual',
|
|
63
|
+
CreditControl: 'credit_control',
|
|
64
|
+
BillingFailed: 'billing_failed',
|
|
65
|
+
PickfaceFlagged: 'pickface_flagged',
|
|
66
|
+
FlowFrozen: 'flow_frozen',
|
|
67
|
+
Fraud: 'fraud',
|
|
68
|
+
};
|
|
59
69
|
exports.OrderStatus = {
|
|
60
70
|
New: 'new',
|
|
61
71
|
Paid: 'paid',
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
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.65.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -522,7 +522,26 @@ export interface Fulfillment {
|
|
|
522
522
|
* A reference to the resource location
|
|
523
523
|
*/
|
|
524
524
|
'platformRef'?: string;
|
|
525
|
+
/**
|
|
526
|
+
* Whether the fulfillment is frozen. This will prevent the fulfillment from being picked.
|
|
527
|
+
*/
|
|
528
|
+
'frozen'?: boolean;
|
|
529
|
+
/**
|
|
530
|
+
* 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.
|
|
531
|
+
*/
|
|
532
|
+
'frozenReasons'?: Array<FulfillmentFrozenReasonsEnum>;
|
|
525
533
|
}
|
|
534
|
+
export declare const FulfillmentFrozenReasonsEnum: {
|
|
535
|
+
readonly Moderation: "moderation";
|
|
536
|
+
readonly InternalScreenPrint: "internal_screen_print";
|
|
537
|
+
readonly Manual: "manual";
|
|
538
|
+
readonly CreditControl: "credit_control";
|
|
539
|
+
readonly BillingFailed: "billing_failed";
|
|
540
|
+
readonly PickfaceFlagged: "pickface_flagged";
|
|
541
|
+
readonly FlowFrozen: "flow_frozen";
|
|
542
|
+
readonly Fraud: "fraud";
|
|
543
|
+
};
|
|
544
|
+
export type FulfillmentFrozenReasonsEnum = typeof FulfillmentFrozenReasonsEnum[keyof typeof FulfillmentFrozenReasonsEnum];
|
|
526
545
|
export interface FulfillmentItem {
|
|
527
546
|
/**
|
|
528
547
|
* Unique fulfillment item id
|
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.65.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -52,6 +52,16 @@ export const EnquiryStatusEnum = {
|
|
|
52
52
|
Archived: 'Archived',
|
|
53
53
|
Priority: 'Priority',
|
|
54
54
|
};
|
|
55
|
+
export const FulfillmentFrozenReasonsEnum = {
|
|
56
|
+
Moderation: 'moderation',
|
|
57
|
+
InternalScreenPrint: 'internal_screen_print',
|
|
58
|
+
Manual: 'manual',
|
|
59
|
+
CreditControl: 'credit_control',
|
|
60
|
+
BillingFailed: 'billing_failed',
|
|
61
|
+
PickfaceFlagged: 'pickface_flagged',
|
|
62
|
+
FlowFrozen: 'flow_frozen',
|
|
63
|
+
Fraud: 'fraud',
|
|
64
|
+
};
|
|
55
65
|
export const OrderStatus = {
|
|
56
66
|
New: 'new',
|
|
57
67
|
Paid: 'paid',
|
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
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/Fulfillment.md
CHANGED
|
@@ -15,6 +15,8 @@ Name | Type | Description | Notes
|
|
|
15
15
|
**availableShippingMethods** | [**Array<ShippingMethod>**](ShippingMethod.md) | Shipping methods available for this fulfillment. One of these should be used to confirm the fulfillment. | [optional] [default to undefined]
|
|
16
16
|
**packageWeight** | **number** | Weight of the package being shipped in grams | [optional] [default to undefined]
|
|
17
17
|
**platformRef** | **string** | A reference to the resource location | [optional] [default to undefined]
|
|
18
|
+
**frozen** | **boolean** | Whether the fulfillment is frozen. This will prevent the fulfillment from being picked. | [optional] [readonly] [default to undefined]
|
|
19
|
+
**frozenReasons** | **Array<string>** | 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. | [optional] [readonly] [default to undefined]
|
|
18
20
|
|
|
19
21
|
## Example
|
|
20
22
|
|
|
@@ -32,6 +34,8 @@ const instance: Fulfillment = {
|
|
|
32
34
|
availableShippingMethods,
|
|
33
35
|
packageWeight,
|
|
34
36
|
platformRef,
|
|
37
|
+
frozen,
|
|
38
|
+
frozenReasons,
|
|
35
39
|
};
|
|
36
40
|
```
|
|
37
41
|
|
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teemill/platform",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.65.2",
|
|
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.
|
|
27
|
+
"axios": "1.15.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "12.11.5 - 12.20.42",
|