@teemill/orders 1.28.3 → 1.29.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/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/api.ts +22 -14
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +9 -1
- package/dist/api.js +14 -14
- 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 +9 -1
- package/dist/esm/api.js +14 -14
- 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 +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.21.0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/orders@1.
|
|
1
|
+
## @teemill/orders@1.29.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/orders@1.
|
|
39
|
+
npm install @teemill/orders@1.29.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders
|
|
5
5
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.29.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -118,7 +118,7 @@ export const ConfirmOrderValidationErrorCodeEnum = {
|
|
|
118
118
|
BadRequest: 'BAD_REQUEST',
|
|
119
119
|
PaymentFailed: 'PAYMENT_FAILED',
|
|
120
120
|
Conflict: 'CONFLICT',
|
|
121
|
-
ActionRequired: 'ACTION_REQUIRED'
|
|
121
|
+
ActionRequired: 'ACTION_REQUIRED',
|
|
122
122
|
} as const;
|
|
123
123
|
|
|
124
124
|
export type ConfirmOrderValidationErrorCodeEnum = typeof ConfirmOrderValidationErrorCodeEnum[keyof typeof ConfirmOrderValidationErrorCodeEnum];
|
|
@@ -223,7 +223,7 @@ export interface CustomsInformation {
|
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
export const CustomsInformationPreRegistrationTypeEnum = {
|
|
226
|
-
Ioss: 'IOSS'
|
|
226
|
+
Ioss: 'IOSS',
|
|
227
227
|
} as const;
|
|
228
228
|
|
|
229
229
|
export type CustomsInformationPreRegistrationTypeEnum = typeof CustomsInformationPreRegistrationTypeEnum[keyof typeof CustomsInformationPreRegistrationTypeEnum];
|
|
@@ -333,6 +333,14 @@ export interface Fulfillment {
|
|
|
333
333
|
* Reference to the source platform of this fulfillment.
|
|
334
334
|
*/
|
|
335
335
|
'platformRef'?: string;
|
|
336
|
+
/**
|
|
337
|
+
* Whether the fulfillment is frozen. This will prevent the fulfillment from being picked.
|
|
338
|
+
*/
|
|
339
|
+
'frozen'?: boolean;
|
|
340
|
+
/**
|
|
341
|
+
* List of reason codes why this fulfillment is frozen.
|
|
342
|
+
*/
|
|
343
|
+
'frozenReasons'?: Array<string>;
|
|
336
344
|
}
|
|
337
345
|
|
|
338
346
|
|
|
@@ -530,7 +538,7 @@ export const OrderImportErrorCode = {
|
|
|
530
538
|
MissingSku: 'MISSING_SKU',
|
|
531
539
|
ShippingMethodUnavailable: 'SHIPPING_METHOD_UNAVAILABLE',
|
|
532
540
|
TransientSystemError: 'TRANSIENT_SYSTEM_ERROR',
|
|
533
|
-
ImportFailed: 'IMPORT_FAILED'
|
|
541
|
+
ImportFailed: 'IMPORT_FAILED',
|
|
534
542
|
} as const;
|
|
535
543
|
|
|
536
544
|
export type OrderImportErrorCode = typeof OrderImportErrorCode[keyof typeof OrderImportErrorCode];
|
|
@@ -581,7 +589,7 @@ export const OrderImportGroupStatus = {
|
|
|
581
589
|
Processing: 'processing',
|
|
582
590
|
Success: 'success',
|
|
583
591
|
Failed: 'failed',
|
|
584
|
-
Cancelled: 'cancelled'
|
|
592
|
+
Cancelled: 'cancelled',
|
|
585
593
|
} as const;
|
|
586
594
|
|
|
587
595
|
export type OrderImportGroupStatus = typeof OrderImportGroupStatus[keyof typeof OrderImportGroupStatus];
|
|
@@ -601,7 +609,7 @@ export const OrderImportStatus = {
|
|
|
601
609
|
CompletedSuccess: 'completedSuccess',
|
|
602
610
|
CompletedPartial: 'completedPartial',
|
|
603
611
|
CompletedFailed: 'completedFailed',
|
|
604
|
-
Cancelled: 'cancelled'
|
|
612
|
+
Cancelled: 'cancelled',
|
|
605
613
|
} as const;
|
|
606
614
|
|
|
607
615
|
export type OrderImportStatus = typeof OrderImportStatus[keyof typeof OrderImportStatus];
|
|
@@ -732,7 +740,7 @@ export interface PaymentAttempt {
|
|
|
732
740
|
export const PaymentAttemptPaymentProviderEnum = {
|
|
733
741
|
Stripe: 'stripe',
|
|
734
742
|
Paypal: 'paypal',
|
|
735
|
-
Wallet: 'wallet'
|
|
743
|
+
Wallet: 'wallet',
|
|
736
744
|
} as const;
|
|
737
745
|
|
|
738
746
|
export type PaymentAttemptPaymentProviderEnum = typeof PaymentAttemptPaymentProviderEnum[keyof typeof PaymentAttemptPaymentProviderEnum];
|
|
@@ -740,7 +748,7 @@ export const PaymentAttemptStatusEnum = {
|
|
|
740
748
|
Success: 'success',
|
|
741
749
|
Failed: 'failed',
|
|
742
750
|
Pending: 'pending',
|
|
743
|
-
Cancelled: 'cancelled'
|
|
751
|
+
Cancelled: 'cancelled',
|
|
744
752
|
} as const;
|
|
745
753
|
|
|
746
754
|
export type PaymentAttemptStatusEnum = typeof PaymentAttemptStatusEnum[keyof typeof PaymentAttemptStatusEnum];
|
|
@@ -794,12 +802,12 @@ export interface ProductUnavailableError {
|
|
|
794
802
|
}
|
|
795
803
|
|
|
796
804
|
export const ProductUnavailableErrorCodeEnum = {
|
|
797
|
-
ProductUnavailable: 'PRODUCT_UNAVAILABLE'
|
|
805
|
+
ProductUnavailable: 'PRODUCT_UNAVAILABLE',
|
|
798
806
|
} as const;
|
|
799
807
|
|
|
800
808
|
export type ProductUnavailableErrorCodeEnum = typeof ProductUnavailableErrorCodeEnum[keyof typeof ProductUnavailableErrorCodeEnum];
|
|
801
809
|
export const ProductUnavailableErrorAvailableQuantityEnum = {
|
|
802
|
-
NUMBER_0: 0
|
|
810
|
+
NUMBER_0: 0,
|
|
803
811
|
} as const;
|
|
804
812
|
|
|
805
813
|
export type ProductUnavailableErrorAvailableQuantityEnum = typeof ProductUnavailableErrorAvailableQuantityEnum[keyof typeof ProductUnavailableErrorAvailableQuantityEnum];
|
|
@@ -871,7 +879,7 @@ export const Status = {
|
|
|
871
879
|
Complete: 'complete',
|
|
872
880
|
Refunded: 'refunded',
|
|
873
881
|
Quote: 'quote',
|
|
874
|
-
Moderation: 'moderation'
|
|
882
|
+
Moderation: 'moderation',
|
|
875
883
|
} as const;
|
|
876
884
|
|
|
877
885
|
export type Status = typeof Status[keyof typeof Status];
|
|
@@ -927,7 +935,7 @@ export interface StockUnavailableError {
|
|
|
927
935
|
}
|
|
928
936
|
|
|
929
937
|
export const StockUnavailableErrorCodeEnum = {
|
|
930
|
-
StockUnavailable: 'STOCK_UNAVAILABLE'
|
|
938
|
+
StockUnavailable: 'STOCK_UNAVAILABLE',
|
|
931
939
|
} as const;
|
|
932
940
|
|
|
933
941
|
export type StockUnavailableErrorCodeEnum = typeof StockUnavailableErrorCodeEnum[keyof typeof StockUnavailableErrorCodeEnum];
|
|
@@ -2387,7 +2395,7 @@ export const ExportOrdersDateFilterTypeEnum = {
|
|
|
2387
2395
|
StatusChangedAt: 'statusChangedAt',
|
|
2388
2396
|
CompletedAt: 'completedAt',
|
|
2389
2397
|
RefundedAt: 'refundedAt',
|
|
2390
|
-
QuoteAt: 'quoteAt'
|
|
2398
|
+
QuoteAt: 'quoteAt',
|
|
2391
2399
|
} as const;
|
|
2392
2400
|
export type ExportOrdersDateFilterTypeEnum = typeof ExportOrdersDateFilterTypeEnum[keyof typeof ExportOrdersDateFilterTypeEnum];
|
|
2393
2401
|
export const GetOrdersDateFilterTypeEnum = {
|
|
@@ -2397,7 +2405,7 @@ export const GetOrdersDateFilterTypeEnum = {
|
|
|
2397
2405
|
StatusChangedAt: 'statusChangedAt',
|
|
2398
2406
|
CompletedAt: 'completedAt',
|
|
2399
2407
|
RefundedAt: 'refundedAt',
|
|
2400
|
-
QuoteAt: 'quoteAt'
|
|
2408
|
+
QuoteAt: 'quoteAt',
|
|
2401
2409
|
} as const;
|
|
2402
2410
|
export type GetOrdersDateFilterTypeEnum = typeof GetOrdersDateFilterTypeEnum[keyof typeof GetOrdersDateFilterTypeEnum];
|
|
2403
2411
|
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders
|
|
5
5
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.29.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
|
* Orders
|
|
5
5
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.29.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
|
* Orders
|
|
4
4
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 1.
|
|
6
|
+
* The version of the OpenAPI document: 1.29.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
|
* Orders
|
|
3
3
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.29.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -316,6 +316,14 @@ export interface Fulfillment {
|
|
|
316
316
|
* Reference to the source platform of this fulfillment.
|
|
317
317
|
*/
|
|
318
318
|
'platformRef'?: string;
|
|
319
|
+
/**
|
|
320
|
+
* Whether the fulfillment is frozen. This will prevent the fulfillment from being picked.
|
|
321
|
+
*/
|
|
322
|
+
'frozen'?: boolean;
|
|
323
|
+
/**
|
|
324
|
+
* List of reason codes why this fulfillment is frozen.
|
|
325
|
+
*/
|
|
326
|
+
'frozenReasons'?: Array<string>;
|
|
319
327
|
}
|
|
320
328
|
export interface FulfillmentItem {
|
|
321
329
|
/**
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Orders
|
|
6
6
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.29.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,10 +33,10 @@ exports.ConfirmOrderValidationErrorCodeEnum = {
|
|
|
33
33
|
BadRequest: 'BAD_REQUEST',
|
|
34
34
|
PaymentFailed: 'PAYMENT_FAILED',
|
|
35
35
|
Conflict: 'CONFLICT',
|
|
36
|
-
ActionRequired: 'ACTION_REQUIRED'
|
|
36
|
+
ActionRequired: 'ACTION_REQUIRED',
|
|
37
37
|
};
|
|
38
38
|
exports.CustomsInformationPreRegistrationTypeEnum = {
|
|
39
|
-
Ioss: 'IOSS'
|
|
39
|
+
Ioss: 'IOSS',
|
|
40
40
|
};
|
|
41
41
|
/**
|
|
42
42
|
* Machine-readable error code identifying the type of import failure: - `VARIANT_NOT_FOUND` — The SKU does not match any variant in the project\'s catalog - `MISSING_SKU` — A required SKU field was empty or missing - `SHIPPING_METHOD_UNAVAILABLE` — No shipping methods are available for the fulfillment - `TRANSIENT_SYSTEM_ERROR` — A temporary system issue occurred; the import may succeed on retry - `IMPORT_FAILED` — A general import failure that does not match a more specific code
|
|
@@ -46,7 +46,7 @@ exports.OrderImportErrorCode = {
|
|
|
46
46
|
MissingSku: 'MISSING_SKU',
|
|
47
47
|
ShippingMethodUnavailable: 'SHIPPING_METHOD_UNAVAILABLE',
|
|
48
48
|
TransientSystemError: 'TRANSIENT_SYSTEM_ERROR',
|
|
49
|
-
ImportFailed: 'IMPORT_FAILED'
|
|
49
|
+
ImportFailed: 'IMPORT_FAILED',
|
|
50
50
|
};
|
|
51
51
|
/**
|
|
52
52
|
* The lifecycle status of a single group (order) within an import: - `pending` — Group is queued and has not started processing - `processing` — Group is currently being processed - `success` — Order was created and confirmed successfully - `failed` — Order creation or confirmation failed - `cancelled` — Group was cancelled (e.g. parent import was cancelled)
|
|
@@ -56,7 +56,7 @@ exports.OrderImportGroupStatus = {
|
|
|
56
56
|
Processing: 'processing',
|
|
57
57
|
Success: 'success',
|
|
58
58
|
Failed: 'failed',
|
|
59
|
-
Cancelled: 'cancelled'
|
|
59
|
+
Cancelled: 'cancelled',
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
62
|
* The lifecycle status of an order import: - `queued` — Import has been accepted but no groups have started processing yet - `processing` — One or more groups are currently being processed - `completedSuccess` — All groups were imported successfully - `completedPartial` — Some groups succeeded but others failed or were cancelled - `completedFailed` — All groups failed or were cancelled, with none succeeding - `cancelled` — The entire import was cancelled before completion
|
|
@@ -67,24 +67,24 @@ exports.OrderImportStatus = {
|
|
|
67
67
|
CompletedSuccess: 'completedSuccess',
|
|
68
68
|
CompletedPartial: 'completedPartial',
|
|
69
69
|
CompletedFailed: 'completedFailed',
|
|
70
|
-
Cancelled: 'cancelled'
|
|
70
|
+
Cancelled: 'cancelled',
|
|
71
71
|
};
|
|
72
72
|
exports.PaymentAttemptPaymentProviderEnum = {
|
|
73
73
|
Stripe: 'stripe',
|
|
74
74
|
Paypal: 'paypal',
|
|
75
|
-
Wallet: 'wallet'
|
|
75
|
+
Wallet: 'wallet',
|
|
76
76
|
};
|
|
77
77
|
exports.PaymentAttemptStatusEnum = {
|
|
78
78
|
Success: 'success',
|
|
79
79
|
Failed: 'failed',
|
|
80
80
|
Pending: 'pending',
|
|
81
|
-
Cancelled: 'cancelled'
|
|
81
|
+
Cancelled: 'cancelled',
|
|
82
82
|
};
|
|
83
83
|
exports.ProductUnavailableErrorCodeEnum = {
|
|
84
|
-
ProductUnavailable: 'PRODUCT_UNAVAILABLE'
|
|
84
|
+
ProductUnavailable: 'PRODUCT_UNAVAILABLE',
|
|
85
85
|
};
|
|
86
86
|
exports.ProductUnavailableErrorAvailableQuantityEnum = {
|
|
87
|
-
NUMBER_0: 0
|
|
87
|
+
NUMBER_0: 0,
|
|
88
88
|
};
|
|
89
89
|
/**
|
|
90
90
|
* The lifecycle status of an order or fulfillment: - `new` — Order has been created but not yet confirmed or paid - `paid` — Payment has been received, awaiting fulfillment - `processing` — Order is being produced or packed - `complete` — Order has been shipped - `refunded` — Order has been refunded - `quote` — Order is a draft quote, not yet submitted - `moderation` — Order is held for review
|
|
@@ -96,10 +96,10 @@ exports.Status = {
|
|
|
96
96
|
Complete: 'complete',
|
|
97
97
|
Refunded: 'refunded',
|
|
98
98
|
Quote: 'quote',
|
|
99
|
-
Moderation: 'moderation'
|
|
99
|
+
Moderation: 'moderation',
|
|
100
100
|
};
|
|
101
101
|
exports.StockUnavailableErrorCodeEnum = {
|
|
102
|
-
StockUnavailable: 'STOCK_UNAVAILABLE'
|
|
102
|
+
StockUnavailable: 'STOCK_UNAVAILABLE',
|
|
103
103
|
};
|
|
104
104
|
/**
|
|
105
105
|
* OrdersApi - axios parameter creator
|
|
@@ -1193,7 +1193,7 @@ exports.ExportOrdersDateFilterTypeEnum = {
|
|
|
1193
1193
|
StatusChangedAt: 'statusChangedAt',
|
|
1194
1194
|
CompletedAt: 'completedAt',
|
|
1195
1195
|
RefundedAt: 'refundedAt',
|
|
1196
|
-
QuoteAt: 'quoteAt'
|
|
1196
|
+
QuoteAt: 'quoteAt',
|
|
1197
1197
|
};
|
|
1198
1198
|
exports.GetOrdersDateFilterTypeEnum = {
|
|
1199
1199
|
CreatedAt: 'createdAt',
|
|
@@ -1202,5 +1202,5 @@ exports.GetOrdersDateFilterTypeEnum = {
|
|
|
1202
1202
|
StatusChangedAt: 'statusChangedAt',
|
|
1203
1203
|
CompletedAt: 'completedAt',
|
|
1204
1204
|
RefundedAt: 'refundedAt',
|
|
1205
|
-
QuoteAt: 'quoteAt'
|
|
1205
|
+
QuoteAt: 'quoteAt',
|
|
1206
1206
|
};
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
3
3
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.29.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
|
* Orders
|
|
6
6
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.29.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
|
* Orders
|
|
3
3
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.29.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
|
* Orders
|
|
6
6
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.29.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
3
3
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.29.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders
|
|
5
5
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.29.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
|
* Orders
|
|
3
3
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.29.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -316,6 +316,14 @@ export interface Fulfillment {
|
|
|
316
316
|
* Reference to the source platform of this fulfillment.
|
|
317
317
|
*/
|
|
318
318
|
'platformRef'?: string;
|
|
319
|
+
/**
|
|
320
|
+
* Whether the fulfillment is frozen. This will prevent the fulfillment from being picked.
|
|
321
|
+
*/
|
|
322
|
+
'frozen'?: boolean;
|
|
323
|
+
/**
|
|
324
|
+
* List of reason codes why this fulfillment is frozen.
|
|
325
|
+
*/
|
|
326
|
+
'frozenReasons'?: Array<string>;
|
|
319
327
|
}
|
|
320
328
|
export interface FulfillmentItem {
|
|
321
329
|
/**
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders
|
|
5
5
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.29.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -30,10 +30,10 @@ export const ConfirmOrderValidationErrorCodeEnum = {
|
|
|
30
30
|
BadRequest: 'BAD_REQUEST',
|
|
31
31
|
PaymentFailed: 'PAYMENT_FAILED',
|
|
32
32
|
Conflict: 'CONFLICT',
|
|
33
|
-
ActionRequired: 'ACTION_REQUIRED'
|
|
33
|
+
ActionRequired: 'ACTION_REQUIRED',
|
|
34
34
|
};
|
|
35
35
|
export const CustomsInformationPreRegistrationTypeEnum = {
|
|
36
|
-
Ioss: 'IOSS'
|
|
36
|
+
Ioss: 'IOSS',
|
|
37
37
|
};
|
|
38
38
|
/**
|
|
39
39
|
* Machine-readable error code identifying the type of import failure: - `VARIANT_NOT_FOUND` — The SKU does not match any variant in the project\'s catalog - `MISSING_SKU` — A required SKU field was empty or missing - `SHIPPING_METHOD_UNAVAILABLE` — No shipping methods are available for the fulfillment - `TRANSIENT_SYSTEM_ERROR` — A temporary system issue occurred; the import may succeed on retry - `IMPORT_FAILED` — A general import failure that does not match a more specific code
|
|
@@ -43,7 +43,7 @@ export const OrderImportErrorCode = {
|
|
|
43
43
|
MissingSku: 'MISSING_SKU',
|
|
44
44
|
ShippingMethodUnavailable: 'SHIPPING_METHOD_UNAVAILABLE',
|
|
45
45
|
TransientSystemError: 'TRANSIENT_SYSTEM_ERROR',
|
|
46
|
-
ImportFailed: 'IMPORT_FAILED'
|
|
46
|
+
ImportFailed: 'IMPORT_FAILED',
|
|
47
47
|
};
|
|
48
48
|
/**
|
|
49
49
|
* The lifecycle status of a single group (order) within an import: - `pending` — Group is queued and has not started processing - `processing` — Group is currently being processed - `success` — Order was created and confirmed successfully - `failed` — Order creation or confirmation failed - `cancelled` — Group was cancelled (e.g. parent import was cancelled)
|
|
@@ -53,7 +53,7 @@ export const OrderImportGroupStatus = {
|
|
|
53
53
|
Processing: 'processing',
|
|
54
54
|
Success: 'success',
|
|
55
55
|
Failed: 'failed',
|
|
56
|
-
Cancelled: 'cancelled'
|
|
56
|
+
Cancelled: 'cancelled',
|
|
57
57
|
};
|
|
58
58
|
/**
|
|
59
59
|
* The lifecycle status of an order import: - `queued` — Import has been accepted but no groups have started processing yet - `processing` — One or more groups are currently being processed - `completedSuccess` — All groups were imported successfully - `completedPartial` — Some groups succeeded but others failed or were cancelled - `completedFailed` — All groups failed or were cancelled, with none succeeding - `cancelled` — The entire import was cancelled before completion
|
|
@@ -64,24 +64,24 @@ export const OrderImportStatus = {
|
|
|
64
64
|
CompletedSuccess: 'completedSuccess',
|
|
65
65
|
CompletedPartial: 'completedPartial',
|
|
66
66
|
CompletedFailed: 'completedFailed',
|
|
67
|
-
Cancelled: 'cancelled'
|
|
67
|
+
Cancelled: 'cancelled',
|
|
68
68
|
};
|
|
69
69
|
export const PaymentAttemptPaymentProviderEnum = {
|
|
70
70
|
Stripe: 'stripe',
|
|
71
71
|
Paypal: 'paypal',
|
|
72
|
-
Wallet: 'wallet'
|
|
72
|
+
Wallet: 'wallet',
|
|
73
73
|
};
|
|
74
74
|
export const PaymentAttemptStatusEnum = {
|
|
75
75
|
Success: 'success',
|
|
76
76
|
Failed: 'failed',
|
|
77
77
|
Pending: 'pending',
|
|
78
|
-
Cancelled: 'cancelled'
|
|
78
|
+
Cancelled: 'cancelled',
|
|
79
79
|
};
|
|
80
80
|
export const ProductUnavailableErrorCodeEnum = {
|
|
81
|
-
ProductUnavailable: 'PRODUCT_UNAVAILABLE'
|
|
81
|
+
ProductUnavailable: 'PRODUCT_UNAVAILABLE',
|
|
82
82
|
};
|
|
83
83
|
export const ProductUnavailableErrorAvailableQuantityEnum = {
|
|
84
|
-
NUMBER_0: 0
|
|
84
|
+
NUMBER_0: 0,
|
|
85
85
|
};
|
|
86
86
|
/**
|
|
87
87
|
* The lifecycle status of an order or fulfillment: - `new` — Order has been created but not yet confirmed or paid - `paid` — Payment has been received, awaiting fulfillment - `processing` — Order is being produced or packed - `complete` — Order has been shipped - `refunded` — Order has been refunded - `quote` — Order is a draft quote, not yet submitted - `moderation` — Order is held for review
|
|
@@ -93,10 +93,10 @@ export const Status = {
|
|
|
93
93
|
Complete: 'complete',
|
|
94
94
|
Refunded: 'refunded',
|
|
95
95
|
Quote: 'quote',
|
|
96
|
-
Moderation: 'moderation'
|
|
96
|
+
Moderation: 'moderation',
|
|
97
97
|
};
|
|
98
98
|
export const StockUnavailableErrorCodeEnum = {
|
|
99
|
-
StockUnavailable: 'STOCK_UNAVAILABLE'
|
|
99
|
+
StockUnavailable: 'STOCK_UNAVAILABLE',
|
|
100
100
|
};
|
|
101
101
|
/**
|
|
102
102
|
* OrdersApi - axios parameter creator
|
|
@@ -1186,7 +1186,7 @@ export const ExportOrdersDateFilterTypeEnum = {
|
|
|
1186
1186
|
StatusChangedAt: 'statusChangedAt',
|
|
1187
1187
|
CompletedAt: 'completedAt',
|
|
1188
1188
|
RefundedAt: 'refundedAt',
|
|
1189
|
-
QuoteAt: 'quoteAt'
|
|
1189
|
+
QuoteAt: 'quoteAt',
|
|
1190
1190
|
};
|
|
1191
1191
|
export const GetOrdersDateFilterTypeEnum = {
|
|
1192
1192
|
CreatedAt: 'createdAt',
|
|
@@ -1195,5 +1195,5 @@ export const GetOrdersDateFilterTypeEnum = {
|
|
|
1195
1195
|
StatusChangedAt: 'statusChangedAt',
|
|
1196
1196
|
CompletedAt: 'completedAt',
|
|
1197
1197
|
RefundedAt: 'refundedAt',
|
|
1198
|
-
QuoteAt: 'quoteAt'
|
|
1198
|
+
QuoteAt: 'quoteAt',
|
|
1199
1199
|
};
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
3
3
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.29.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
|
* Orders
|
|
5
5
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.29.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
3
3
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.29.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders
|
|
5
5
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.29.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
|
* Orders
|
|
3
3
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.29.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
|
* Orders
|
|
4
4
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 1.
|
|
6
|
+
* The version of the OpenAPI document: 1.29.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
3
3
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.29.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
|
* Orders
|
|
5
5
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.29.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
|
* Orders
|
|
3
3
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.29.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
|
* Orders
|
|
6
6
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.29.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
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. Use one of these IDs when confirming the order. | [optional] [default to undefined]
|
|
16
16
|
**packageWeight** | **number** | The estimated weight of the package in grams. | [optional] [default to undefined]
|
|
17
17
|
**platformRef** | **string** | Reference to the source platform of this fulfillment. | [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. | [optional] [readonly] [default to undefined]
|
|
18
20
|
|
|
19
21
|
## Example
|
|
20
22
|
|
|
@@ -31,6 +33,8 @@ const instance: Fulfillment = {
|
|
|
31
33
|
availableShippingMethods,
|
|
32
34
|
packageWeight,
|
|
33
35
|
platformRef,
|
|
36
|
+
frozen,
|
|
37
|
+
frozenReasons,
|
|
34
38
|
};
|
|
35
39
|
```
|
|
36
40
|
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders
|
|
5
5
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.29.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|