@teemill/orders 1.28.4 → 1.29.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/.openapi-generator/VERSION +1 -1
- package/README.md +3 -3
- package/api.ts +101 -32
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +87 -19
- package/dist/api.js +29 -19
- 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 +87 -19
- package/dist/esm/api.js +28 -18
- 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/Coupon.md +3 -3
- package/docs/Fulfillment.md +4 -0
- package/docs/ImportOrders202Response.md +1 -1
- package/docs/Order.md +2 -2
- package/docs/OrderImport.md +7 -6
- package/docs/OrderImportCounts.md +1 -0
- package/docs/OrderImportError.md +2 -1
- package/docs/OrderImportGroup.md +6 -5
- package/docs/OrderItem.md +2 -2
- package/docs/OrdersApi.md +13 -13
- package/docs/ProductUnavailableError.md +3 -3
- package/docs/StockConflictError.md +4 -3
- package/docs/StockUnavailableError.md +3 -3
- package/index.ts +1 -1
- package/package.json +2 -2
|
@@ -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.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/orders@1.
|
|
39
|
+
npm install @teemill/orders@1.29.2 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -62,7 +62,7 @@ Class | Method | HTTP request | Description
|
|
|
62
62
|
*OrdersApi* | [**importOrders**](docs/OrdersApi.md#importorders) | **POST** /v1/orders/imports | Import orders
|
|
63
63
|
*OrdersApi* | [**listOrderImportGroups**](docs/OrdersApi.md#listorderimportgroups) | **GET** /v1/orders/imports/{importId}/groups | List order import groups
|
|
64
64
|
*OrdersApi* | [**listOrderImports**](docs/OrdersApi.md#listorderimports) | **GET** /v1/orders/imports | List order imports
|
|
65
|
-
*OrdersApi* | [**retryPlatformPayment**](docs/OrdersApi.md#retryplatformpayment) | **POST** /v1/orders/{orderId}/retryPlatformPayment | Retry
|
|
65
|
+
*OrdersApi* | [**retryPlatformPayment**](docs/OrdersApi.md#retryplatformpayment) | **POST** /v1/orders/{orderId}/retryPlatformPayment | Retry platform payment
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
### Documentation For Models
|
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.2
|
|
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];
|
|
@@ -154,12 +154,15 @@ export interface ContactInformation1 {
|
|
|
154
154
|
*/
|
|
155
155
|
export interface Coupon {
|
|
156
156
|
/**
|
|
157
|
-
*
|
|
157
|
+
* The unique identifier of the coupon.
|
|
158
158
|
*/
|
|
159
159
|
'id': string;
|
|
160
|
+
/**
|
|
161
|
+
* The discount code entered by the customer.
|
|
162
|
+
*/
|
|
160
163
|
'code': string;
|
|
161
164
|
/**
|
|
162
|
-
*
|
|
165
|
+
* A URI reference to the discount resource. Requires the discounts integration.
|
|
163
166
|
*/
|
|
164
167
|
'ref'?: string | null;
|
|
165
168
|
}
|
|
@@ -223,7 +226,7 @@ export interface CustomsInformation {
|
|
|
223
226
|
}
|
|
224
227
|
|
|
225
228
|
export const CustomsInformationPreRegistrationTypeEnum = {
|
|
226
|
-
Ioss: 'IOSS'
|
|
229
|
+
Ioss: 'IOSS',
|
|
227
230
|
} as const;
|
|
228
231
|
|
|
229
232
|
export type CustomsInformationPreRegistrationTypeEnum = typeof CustomsInformationPreRegistrationTypeEnum[keyof typeof CustomsInformationPreRegistrationTypeEnum];
|
|
@@ -333,8 +336,28 @@ export interface Fulfillment {
|
|
|
333
336
|
* Reference to the source platform of this fulfillment.
|
|
334
337
|
*/
|
|
335
338
|
'platformRef'?: string;
|
|
339
|
+
/**
|
|
340
|
+
* Whether the fulfillment is frozen. This will prevent the fulfillment from being picked.
|
|
341
|
+
*/
|
|
342
|
+
'frozen'?: boolean;
|
|
343
|
+
/**
|
|
344
|
+
* 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.
|
|
345
|
+
*/
|
|
346
|
+
'frozenReasons'?: Array<FulfillmentFrozenReasonsEnum>;
|
|
336
347
|
}
|
|
337
348
|
|
|
349
|
+
export const FulfillmentFrozenReasonsEnum = {
|
|
350
|
+
Moderation: 'moderation',
|
|
351
|
+
InternalScreenPrint: 'internal_screen_print',
|
|
352
|
+
Manual: 'manual',
|
|
353
|
+
CreditControl: 'credit_control',
|
|
354
|
+
BillingFailed: 'billing_failed',
|
|
355
|
+
PickfaceFlagged: 'pickface_flagged',
|
|
356
|
+
FlowFrozen: 'flow_frozen',
|
|
357
|
+
Fraud: 'fraud',
|
|
358
|
+
} as const;
|
|
359
|
+
|
|
360
|
+
export type FulfillmentFrozenReasonsEnum = typeof FulfillmentFrozenReasonsEnum[keyof typeof FulfillmentFrozenReasonsEnum];
|
|
338
361
|
|
|
339
362
|
export interface FulfillmentItem {
|
|
340
363
|
/**
|
|
@@ -373,7 +396,7 @@ export interface Image {
|
|
|
373
396
|
}
|
|
374
397
|
export interface ImportOrders202Response {
|
|
375
398
|
/**
|
|
376
|
-
* Unique
|
|
399
|
+
* Unique identifier of the created import. Use this with the GET /v1/orders/imports/{importId} endpoint to track progress.
|
|
377
400
|
*/
|
|
378
401
|
'importId'?: string;
|
|
379
402
|
}
|
|
@@ -392,11 +415,11 @@ export interface Option {
|
|
|
392
415
|
*/
|
|
393
416
|
export interface Order {
|
|
394
417
|
/**
|
|
395
|
-
*
|
|
418
|
+
* The unique identifier of the order.
|
|
396
419
|
*/
|
|
397
420
|
'id'?: string;
|
|
398
421
|
/**
|
|
399
|
-
* A reference to
|
|
422
|
+
* A URI reference to this order resource.
|
|
400
423
|
*/
|
|
401
424
|
'ref'?: string;
|
|
402
425
|
/**
|
|
@@ -470,23 +493,41 @@ export interface Order {
|
|
|
470
493
|
}
|
|
471
494
|
|
|
472
495
|
|
|
496
|
+
/**
|
|
497
|
+
* Represents a bulk order import job, tracking the progress and outcome of importing orders from a CSV file.
|
|
498
|
+
*/
|
|
473
499
|
export interface OrderImport {
|
|
474
500
|
/**
|
|
475
|
-
*
|
|
501
|
+
* The unique identifier of this import job.
|
|
476
502
|
*/
|
|
477
503
|
'importId': string;
|
|
504
|
+
/**
|
|
505
|
+
* The current lifecycle status of this import.
|
|
506
|
+
*/
|
|
478
507
|
'status': OrderImportStatus;
|
|
479
508
|
'counts': OrderImportCounts;
|
|
480
509
|
/**
|
|
481
|
-
*
|
|
510
|
+
* The timestamp when the import was created.
|
|
482
511
|
*/
|
|
483
512
|
'createdAt': string;
|
|
513
|
+
/**
|
|
514
|
+
* The timestamp when the import was cancelled. Null if the import has not been cancelled.
|
|
515
|
+
*/
|
|
484
516
|
'cancelledAt'?: string | null;
|
|
517
|
+
/**
|
|
518
|
+
* The timestamp when the import started processing. Null if processing has not yet begun.
|
|
519
|
+
*/
|
|
485
520
|
'startedAt'?: string | null;
|
|
521
|
+
/**
|
|
522
|
+
* The timestamp when the import finished processing. Null if processing has not yet completed.
|
|
523
|
+
*/
|
|
486
524
|
'finishedAt'?: string | null;
|
|
487
525
|
}
|
|
488
526
|
|
|
489
527
|
|
|
528
|
+
/**
|
|
529
|
+
* Counts of import groups in each processing state.
|
|
530
|
+
*/
|
|
490
531
|
export interface OrderImportCounts {
|
|
491
532
|
'total': number;
|
|
492
533
|
'pending': number;
|
|
@@ -496,7 +537,13 @@ export interface OrderImportCounts {
|
|
|
496
537
|
'cancelled': number;
|
|
497
538
|
'completed': number;
|
|
498
539
|
}
|
|
540
|
+
/**
|
|
541
|
+
* An error encountered while processing an import group, including a machine-readable code and human-readable message.
|
|
542
|
+
*/
|
|
499
543
|
export interface OrderImportError {
|
|
544
|
+
/**
|
|
545
|
+
* A machine-readable error code identifying the type of import failure.
|
|
546
|
+
*/
|
|
500
547
|
'code': OrderImportErrorCode;
|
|
501
548
|
/**
|
|
502
549
|
* A human-readable description of the error.
|
|
@@ -530,17 +577,23 @@ export const OrderImportErrorCode = {
|
|
|
530
577
|
MissingSku: 'MISSING_SKU',
|
|
531
578
|
ShippingMethodUnavailable: 'SHIPPING_METHOD_UNAVAILABLE',
|
|
532
579
|
TransientSystemError: 'TRANSIENT_SYSTEM_ERROR',
|
|
533
|
-
ImportFailed: 'IMPORT_FAILED'
|
|
580
|
+
ImportFailed: 'IMPORT_FAILED',
|
|
534
581
|
} as const;
|
|
535
582
|
|
|
536
583
|
export type OrderImportErrorCode = typeof OrderImportErrorCode[keyof typeof OrderImportErrorCode];
|
|
537
584
|
|
|
538
585
|
|
|
586
|
+
/**
|
|
587
|
+
* A single group (order) within a bulk import, representing one merchant reference and its processing outcome.
|
|
588
|
+
*/
|
|
539
589
|
export interface OrderImportGroup {
|
|
540
590
|
/**
|
|
541
|
-
* Unique
|
|
591
|
+
* Unique identifier for this import group.
|
|
542
592
|
*/
|
|
543
593
|
'id': string;
|
|
594
|
+
/**
|
|
595
|
+
* The current lifecycle status of this import group.
|
|
596
|
+
*/
|
|
544
597
|
'status': OrderImportGroupStatus;
|
|
545
598
|
/**
|
|
546
599
|
* The merchant reference from the CSV rows belonging to this group.
|
|
@@ -566,8 +619,17 @@ export interface OrderImportGroup {
|
|
|
566
619
|
* Errors encountered while processing this group. Empty when the group succeeded.
|
|
567
620
|
*/
|
|
568
621
|
'errors': Array<OrderImportError>;
|
|
622
|
+
/**
|
|
623
|
+
* The timestamp when this group was created. Null if not yet set.
|
|
624
|
+
*/
|
|
569
625
|
'createdAt'?: string | null;
|
|
626
|
+
/**
|
|
627
|
+
* The timestamp when this group started processing. Null if processing has not yet begun.
|
|
628
|
+
*/
|
|
570
629
|
'startedAt'?: string | null;
|
|
630
|
+
/**
|
|
631
|
+
* The timestamp when this group finished processing. Null if processing has not yet completed.
|
|
632
|
+
*/
|
|
571
633
|
'finishedAt'?: string | null;
|
|
572
634
|
}
|
|
573
635
|
|
|
@@ -581,7 +643,7 @@ export const OrderImportGroupStatus = {
|
|
|
581
643
|
Processing: 'processing',
|
|
582
644
|
Success: 'success',
|
|
583
645
|
Failed: 'failed',
|
|
584
|
-
Cancelled: 'cancelled'
|
|
646
|
+
Cancelled: 'cancelled',
|
|
585
647
|
} as const;
|
|
586
648
|
|
|
587
649
|
export type OrderImportGroupStatus = typeof OrderImportGroupStatus[keyof typeof OrderImportGroupStatus];
|
|
@@ -601,7 +663,7 @@ export const OrderImportStatus = {
|
|
|
601
663
|
CompletedSuccess: 'completedSuccess',
|
|
602
664
|
CompletedPartial: 'completedPartial',
|
|
603
665
|
CompletedFailed: 'completedFailed',
|
|
604
|
-
Cancelled: 'cancelled'
|
|
666
|
+
Cancelled: 'cancelled',
|
|
605
667
|
} as const;
|
|
606
668
|
|
|
607
669
|
export type OrderImportStatus = typeof OrderImportStatus[keyof typeof OrderImportStatus];
|
|
@@ -620,11 +682,11 @@ export interface OrderItem {
|
|
|
620
682
|
*/
|
|
621
683
|
'id'?: string;
|
|
622
684
|
/**
|
|
623
|
-
* A reference to the variant being ordered
|
|
685
|
+
* A reference to the product variant being ordered.
|
|
624
686
|
*/
|
|
625
687
|
'variantRef': string;
|
|
626
688
|
/**
|
|
627
|
-
*
|
|
689
|
+
* The variant attributes (e.g. Colour, Size) for this line item.
|
|
628
690
|
*/
|
|
629
691
|
'options'?: Array<Option>;
|
|
630
692
|
/**
|
|
@@ -732,7 +794,7 @@ export interface PaymentAttempt {
|
|
|
732
794
|
export const PaymentAttemptPaymentProviderEnum = {
|
|
733
795
|
Stripe: 'stripe',
|
|
734
796
|
Paypal: 'paypal',
|
|
735
|
-
Wallet: 'wallet'
|
|
797
|
+
Wallet: 'wallet',
|
|
736
798
|
} as const;
|
|
737
799
|
|
|
738
800
|
export type PaymentAttemptPaymentProviderEnum = typeof PaymentAttemptPaymentProviderEnum[keyof typeof PaymentAttemptPaymentProviderEnum];
|
|
@@ -740,7 +802,7 @@ export const PaymentAttemptStatusEnum = {
|
|
|
740
802
|
Success: 'success',
|
|
741
803
|
Failed: 'failed',
|
|
742
804
|
Pending: 'pending',
|
|
743
|
-
Cancelled: 'cancelled'
|
|
805
|
+
Cancelled: 'cancelled',
|
|
744
806
|
} as const;
|
|
745
807
|
|
|
746
808
|
export type PaymentAttemptStatusEnum = typeof PaymentAttemptStatusEnum[keyof typeof PaymentAttemptStatusEnum];
|
|
@@ -762,6 +824,9 @@ export interface Price {
|
|
|
762
824
|
* The item cannot be fulfilled at all — either it is out of stock entirely, or the assigned fulfiller cannot produce it (e.g. missing machinery or variant not configured).
|
|
763
825
|
*/
|
|
764
826
|
export interface ProductUnavailableError {
|
|
827
|
+
/**
|
|
828
|
+
* The error code identifying this as a product unavailable error.
|
|
829
|
+
*/
|
|
765
830
|
'code': ProductUnavailableErrorCodeEnum;
|
|
766
831
|
/**
|
|
767
832
|
* Human-readable description including the product name.
|
|
@@ -772,11 +837,11 @@ export interface ProductUnavailableError {
|
|
|
772
837
|
*/
|
|
773
838
|
'productTitle': string;
|
|
774
839
|
/**
|
|
775
|
-
*
|
|
840
|
+
* The unique identifier of the unavailable variant.
|
|
776
841
|
*/
|
|
777
842
|
'variantId': string;
|
|
778
843
|
/**
|
|
779
|
-
* A reference to the variant
|
|
844
|
+
* A URI reference to the unavailable variant.
|
|
780
845
|
*/
|
|
781
846
|
'variantRef': string;
|
|
782
847
|
/**
|
|
@@ -794,12 +859,12 @@ export interface ProductUnavailableError {
|
|
|
794
859
|
}
|
|
795
860
|
|
|
796
861
|
export const ProductUnavailableErrorCodeEnum = {
|
|
797
|
-
ProductUnavailable: 'PRODUCT_UNAVAILABLE'
|
|
862
|
+
ProductUnavailable: 'PRODUCT_UNAVAILABLE',
|
|
798
863
|
} as const;
|
|
799
864
|
|
|
800
865
|
export type ProductUnavailableErrorCodeEnum = typeof ProductUnavailableErrorCodeEnum[keyof typeof ProductUnavailableErrorCodeEnum];
|
|
801
866
|
export const ProductUnavailableErrorAvailableQuantityEnum = {
|
|
802
|
-
NUMBER_0: 0
|
|
867
|
+
NUMBER_0: 0,
|
|
803
868
|
} as const;
|
|
804
869
|
|
|
805
870
|
export type ProductUnavailableErrorAvailableQuantityEnum = typeof ProductUnavailableErrorAvailableQuantityEnum[keyof typeof ProductUnavailableErrorAvailableQuantityEnum];
|
|
@@ -871,7 +936,7 @@ export const Status = {
|
|
|
871
936
|
Complete: 'complete',
|
|
872
937
|
Refunded: 'refunded',
|
|
873
938
|
Quote: 'quote',
|
|
874
|
-
Moderation: 'moderation'
|
|
939
|
+
Moderation: 'moderation',
|
|
875
940
|
} as const;
|
|
876
941
|
|
|
877
942
|
export type Status = typeof Status[keyof typeof Status];
|
|
@@ -888,6 +953,7 @@ export interface StatusHistoryItem {
|
|
|
888
953
|
|
|
889
954
|
/**
|
|
890
955
|
* @type StockConflictError
|
|
956
|
+
* An error indicating that one or more items in the order cannot be fulfilled due to stock or product availability issues. Use the \'code\' field to determine the specific error type.
|
|
891
957
|
*/
|
|
892
958
|
export type StockConflictError = { code: 'PRODUCT_UNAVAILABLE' } & ProductUnavailableError | { code: 'STOCK_UNAVAILABLE' } & StockUnavailableError;
|
|
893
959
|
|
|
@@ -895,6 +961,9 @@ export type StockConflictError = { code: 'PRODUCT_UNAVAILABLE' } & ProductUnavai
|
|
|
895
961
|
* The requested quantity exceeds available stock. The item can still be ordered in a smaller quantity.
|
|
896
962
|
*/
|
|
897
963
|
export interface StockUnavailableError {
|
|
964
|
+
/**
|
|
965
|
+
* The error code identifying this as a stock unavailable error.
|
|
966
|
+
*/
|
|
898
967
|
'code': StockUnavailableErrorCodeEnum;
|
|
899
968
|
/**
|
|
900
969
|
* Human-readable description including the product name and available quantity.
|
|
@@ -905,11 +974,11 @@ export interface StockUnavailableError {
|
|
|
905
974
|
*/
|
|
906
975
|
'productTitle': string;
|
|
907
976
|
/**
|
|
908
|
-
*
|
|
977
|
+
* The unique identifier of the variant with insufficient stock.
|
|
909
978
|
*/
|
|
910
979
|
'variantId': string;
|
|
911
980
|
/**
|
|
912
|
-
* A reference to the variant
|
|
981
|
+
* A URI reference to the variant with insufficient stock.
|
|
913
982
|
*/
|
|
914
983
|
'variantRef': string;
|
|
915
984
|
/**
|
|
@@ -927,7 +996,7 @@ export interface StockUnavailableError {
|
|
|
927
996
|
}
|
|
928
997
|
|
|
929
998
|
export const StockUnavailableErrorCodeEnum = {
|
|
930
|
-
StockUnavailable: 'STOCK_UNAVAILABLE'
|
|
999
|
+
StockUnavailable: 'STOCK_UNAVAILABLE',
|
|
931
1000
|
} as const;
|
|
932
1001
|
|
|
933
1002
|
export type StockUnavailableErrorCodeEnum = typeof StockUnavailableErrorCodeEnum[keyof typeof StockUnavailableErrorCodeEnum];
|
|
@@ -1583,7 +1652,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1583
1652
|
},
|
|
1584
1653
|
/**
|
|
1585
1654
|
* Retries failed platform payment, so fulfillment can proceed.
|
|
1586
|
-
* @summary Retry
|
|
1655
|
+
* @summary Retry platform payment
|
|
1587
1656
|
* @param {string} project The project identifier to scope the request to.
|
|
1588
1657
|
* @param {string} orderId Unique identifier of an order
|
|
1589
1658
|
* @param {string} [fields] Specifies which fields to return, separated by commas
|
|
@@ -1818,7 +1887,7 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
1818
1887
|
},
|
|
1819
1888
|
/**
|
|
1820
1889
|
* Retries failed platform payment, so fulfillment can proceed.
|
|
1821
|
-
* @summary Retry
|
|
1890
|
+
* @summary Retry platform payment
|
|
1822
1891
|
* @param {string} project The project identifier to scope the request to.
|
|
1823
1892
|
* @param {string} orderId Unique identifier of an order
|
|
1824
1893
|
* @param {string} [fields] Specifies which fields to return, separated by commas
|
|
@@ -1952,7 +2021,7 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
1952
2021
|
},
|
|
1953
2022
|
/**
|
|
1954
2023
|
* Retries failed platform payment, so fulfillment can proceed.
|
|
1955
|
-
* @summary Retry
|
|
2024
|
+
* @summary Retry platform payment
|
|
1956
2025
|
* @param {OrdersApiRetryPlatformPaymentRequest} requestParameters Request parameters.
|
|
1957
2026
|
* @param {*} [options] Override http request option.
|
|
1958
2027
|
* @throws {RequiredError}
|
|
@@ -2370,7 +2439,7 @@ export class OrdersApi extends BaseAPI {
|
|
|
2370
2439
|
|
|
2371
2440
|
/**
|
|
2372
2441
|
* Retries failed platform payment, so fulfillment can proceed.
|
|
2373
|
-
* @summary Retry
|
|
2442
|
+
* @summary Retry platform payment
|
|
2374
2443
|
* @param {OrdersApiRetryPlatformPaymentRequest} requestParameters Request parameters.
|
|
2375
2444
|
* @param {*} [options] Override http request option.
|
|
2376
2445
|
* @throws {RequiredError}
|
|
@@ -2387,7 +2456,7 @@ export const ExportOrdersDateFilterTypeEnum = {
|
|
|
2387
2456
|
StatusChangedAt: 'statusChangedAt',
|
|
2388
2457
|
CompletedAt: 'completedAt',
|
|
2389
2458
|
RefundedAt: 'refundedAt',
|
|
2390
|
-
QuoteAt: 'quoteAt'
|
|
2459
|
+
QuoteAt: 'quoteAt',
|
|
2391
2460
|
} as const;
|
|
2392
2461
|
export type ExportOrdersDateFilterTypeEnum = typeof ExportOrdersDateFilterTypeEnum[keyof typeof ExportOrdersDateFilterTypeEnum];
|
|
2393
2462
|
export const GetOrdersDateFilterTypeEnum = {
|
|
@@ -2397,7 +2466,7 @@ export const GetOrdersDateFilterTypeEnum = {
|
|
|
2397
2466
|
StatusChangedAt: 'statusChangedAt',
|
|
2398
2467
|
CompletedAt: 'completedAt',
|
|
2399
2468
|
RefundedAt: 'refundedAt',
|
|
2400
|
-
QuoteAt: 'quoteAt'
|
|
2469
|
+
QuoteAt: 'quoteAt',
|
|
2401
2470
|
} as const;
|
|
2402
2471
|
export type GetOrdersDateFilterTypeEnum = typeof GetOrdersDateFilterTypeEnum[keyof typeof GetOrdersDateFilterTypeEnum];
|
|
2403
2472
|
|
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.2
|
|
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.2
|
|
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.2
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|