@teemill/orders 1.16.0 → 1.17.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 +20 -17
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +18 -17
- package/dist/api.js +13 -2
- 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 +18 -17
- package/dist/esm/api.js +12 -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/PaymentAttempt.md +4 -7
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/orders@1.
|
|
1
|
+
## @teemill/orders@1.17.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.17.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders API
|
|
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.17.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -839,35 +839,23 @@ export interface Origin {
|
|
|
839
839
|
'isPaid'?: boolean;
|
|
840
840
|
}
|
|
841
841
|
/**
|
|
842
|
-
*
|
|
842
|
+
* List of payment attempts for this order
|
|
843
843
|
* @export
|
|
844
844
|
* @interface PaymentAttempt
|
|
845
845
|
*/
|
|
846
846
|
export interface PaymentAttempt {
|
|
847
|
-
/**
|
|
848
|
-
* Unique object identifier
|
|
849
|
-
* @type {string}
|
|
850
|
-
* @memberof PaymentAttempt
|
|
851
|
-
*/
|
|
852
|
-
'id'?: string;
|
|
853
|
-
/**
|
|
854
|
-
* Unique object identifier
|
|
855
|
-
* @type {string}
|
|
856
|
-
* @memberof PaymentAttempt
|
|
857
|
-
*/
|
|
858
|
-
'invoiceId'?: string;
|
|
859
847
|
/**
|
|
860
848
|
*
|
|
861
849
|
* @type {string}
|
|
862
850
|
* @memberof PaymentAttempt
|
|
863
851
|
*/
|
|
864
|
-
'
|
|
852
|
+
'paymentProvider'?: PaymentAttemptPaymentProviderEnum;
|
|
865
853
|
/**
|
|
866
854
|
*
|
|
867
|
-
* @type {
|
|
855
|
+
* @type {string}
|
|
868
856
|
* @memberof PaymentAttempt
|
|
869
857
|
*/
|
|
870
|
-
'status'?:
|
|
858
|
+
'status'?: PaymentAttemptStatusEnum;
|
|
871
859
|
/**
|
|
872
860
|
*
|
|
873
861
|
* @type {string}
|
|
@@ -888,6 +876,21 @@ export interface PaymentAttempt {
|
|
|
888
876
|
'createdAt'?: string;
|
|
889
877
|
}
|
|
890
878
|
|
|
879
|
+
export const PaymentAttemptPaymentProviderEnum = {
|
|
880
|
+
Stripe: 'stripe',
|
|
881
|
+
Paypal: 'paypal',
|
|
882
|
+
Wallet: 'wallet'
|
|
883
|
+
} as const;
|
|
884
|
+
|
|
885
|
+
export type PaymentAttemptPaymentProviderEnum = typeof PaymentAttemptPaymentProviderEnum[keyof typeof PaymentAttemptPaymentProviderEnum];
|
|
886
|
+
export const PaymentAttemptStatusEnum = {
|
|
887
|
+
Success: 'success',
|
|
888
|
+
Failed: 'failed',
|
|
889
|
+
Pending: 'pending',
|
|
890
|
+
Cancelled: 'cancelled'
|
|
891
|
+
} as const;
|
|
892
|
+
|
|
893
|
+
export type PaymentAttemptStatusEnum = typeof PaymentAttemptStatusEnum[keyof typeof PaymentAttemptStatusEnum];
|
|
891
894
|
|
|
892
895
|
/**
|
|
893
896
|
* Standard price definition that defines the amount and currency.
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders API
|
|
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.17.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 API
|
|
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.17.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders API
|
|
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.17.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* 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 API
|
|
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.17.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -819,35 +819,23 @@ export interface Origin {
|
|
|
819
819
|
'isPaid'?: boolean;
|
|
820
820
|
}
|
|
821
821
|
/**
|
|
822
|
-
*
|
|
822
|
+
* List of payment attempts for this order
|
|
823
823
|
* @export
|
|
824
824
|
* @interface PaymentAttempt
|
|
825
825
|
*/
|
|
826
826
|
export interface PaymentAttempt {
|
|
827
|
-
/**
|
|
828
|
-
* Unique object identifier
|
|
829
|
-
* @type {string}
|
|
830
|
-
* @memberof PaymentAttempt
|
|
831
|
-
*/
|
|
832
|
-
'id'?: string;
|
|
833
|
-
/**
|
|
834
|
-
* Unique object identifier
|
|
835
|
-
* @type {string}
|
|
836
|
-
* @memberof PaymentAttempt
|
|
837
|
-
*/
|
|
838
|
-
'invoiceId'?: string;
|
|
839
827
|
/**
|
|
840
828
|
*
|
|
841
829
|
* @type {string}
|
|
842
830
|
* @memberof PaymentAttempt
|
|
843
831
|
*/
|
|
844
|
-
'
|
|
832
|
+
'paymentProvider'?: PaymentAttemptPaymentProviderEnum;
|
|
845
833
|
/**
|
|
846
834
|
*
|
|
847
|
-
* @type {
|
|
835
|
+
* @type {string}
|
|
848
836
|
* @memberof PaymentAttempt
|
|
849
837
|
*/
|
|
850
|
-
'status'?:
|
|
838
|
+
'status'?: PaymentAttemptStatusEnum;
|
|
851
839
|
/**
|
|
852
840
|
*
|
|
853
841
|
* @type {string}
|
|
@@ -867,6 +855,19 @@ export interface PaymentAttempt {
|
|
|
867
855
|
*/
|
|
868
856
|
'createdAt'?: string;
|
|
869
857
|
}
|
|
858
|
+
export declare const PaymentAttemptPaymentProviderEnum: {
|
|
859
|
+
readonly Stripe: "stripe";
|
|
860
|
+
readonly Paypal: "paypal";
|
|
861
|
+
readonly Wallet: "wallet";
|
|
862
|
+
};
|
|
863
|
+
export type PaymentAttemptPaymentProviderEnum = typeof PaymentAttemptPaymentProviderEnum[keyof typeof PaymentAttemptPaymentProviderEnum];
|
|
864
|
+
export declare const PaymentAttemptStatusEnum: {
|
|
865
|
+
readonly Success: "success";
|
|
866
|
+
readonly Failed: "failed";
|
|
867
|
+
readonly Pending: "pending";
|
|
868
|
+
readonly Cancelled: "cancelled";
|
|
869
|
+
};
|
|
870
|
+
export type PaymentAttemptStatusEnum = typeof PaymentAttemptStatusEnum[keyof typeof PaymentAttemptStatusEnum];
|
|
870
871
|
/**
|
|
871
872
|
* Standard price definition that defines the amount and currency.
|
|
872
873
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Orders API
|
|
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.17.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.GetOrdersDateFilterTypeEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.Status = exports.CustomsInformationPreRegistrationTypeEnum = exports.ConfirmOrderValidationErrorCodeEnum = void 0;
|
|
25
|
+
exports.GetOrdersDateFilterTypeEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.Status = exports.PaymentAttemptStatusEnum = exports.PaymentAttemptPaymentProviderEnum = exports.CustomsInformationPreRegistrationTypeEnum = exports.ConfirmOrderValidationErrorCodeEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -38,6 +38,17 @@ exports.ConfirmOrderValidationErrorCodeEnum = {
|
|
|
38
38
|
exports.CustomsInformationPreRegistrationTypeEnum = {
|
|
39
39
|
Ioss: 'IOSS'
|
|
40
40
|
};
|
|
41
|
+
exports.PaymentAttemptPaymentProviderEnum = {
|
|
42
|
+
Stripe: 'stripe',
|
|
43
|
+
Paypal: 'paypal',
|
|
44
|
+
Wallet: 'wallet'
|
|
45
|
+
};
|
|
46
|
+
exports.PaymentAttemptStatusEnum = {
|
|
47
|
+
Success: 'success',
|
|
48
|
+
Failed: 'failed',
|
|
49
|
+
Pending: 'pending',
|
|
50
|
+
Cancelled: 'cancelled'
|
|
51
|
+
};
|
|
41
52
|
/**
|
|
42
53
|
*
|
|
43
54
|
* @export
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders API
|
|
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.17.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 API
|
|
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.17.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 API
|
|
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.17.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 API
|
|
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.17.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 API
|
|
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.17.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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Orders API
|
|
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.17.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* 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 API
|
|
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.17.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -819,35 +819,23 @@ export interface Origin {
|
|
|
819
819
|
'isPaid'?: boolean;
|
|
820
820
|
}
|
|
821
821
|
/**
|
|
822
|
-
*
|
|
822
|
+
* List of payment attempts for this order
|
|
823
823
|
* @export
|
|
824
824
|
* @interface PaymentAttempt
|
|
825
825
|
*/
|
|
826
826
|
export interface PaymentAttempt {
|
|
827
|
-
/**
|
|
828
|
-
* Unique object identifier
|
|
829
|
-
* @type {string}
|
|
830
|
-
* @memberof PaymentAttempt
|
|
831
|
-
*/
|
|
832
|
-
'id'?: string;
|
|
833
|
-
/**
|
|
834
|
-
* Unique object identifier
|
|
835
|
-
* @type {string}
|
|
836
|
-
* @memberof PaymentAttempt
|
|
837
|
-
*/
|
|
838
|
-
'invoiceId'?: string;
|
|
839
827
|
/**
|
|
840
828
|
*
|
|
841
829
|
* @type {string}
|
|
842
830
|
* @memberof PaymentAttempt
|
|
843
831
|
*/
|
|
844
|
-
'
|
|
832
|
+
'paymentProvider'?: PaymentAttemptPaymentProviderEnum;
|
|
845
833
|
/**
|
|
846
834
|
*
|
|
847
|
-
* @type {
|
|
835
|
+
* @type {string}
|
|
848
836
|
* @memberof PaymentAttempt
|
|
849
837
|
*/
|
|
850
|
-
'status'?:
|
|
838
|
+
'status'?: PaymentAttemptStatusEnum;
|
|
851
839
|
/**
|
|
852
840
|
*
|
|
853
841
|
* @type {string}
|
|
@@ -867,6 +855,19 @@ export interface PaymentAttempt {
|
|
|
867
855
|
*/
|
|
868
856
|
'createdAt'?: string;
|
|
869
857
|
}
|
|
858
|
+
export declare const PaymentAttemptPaymentProviderEnum: {
|
|
859
|
+
readonly Stripe: "stripe";
|
|
860
|
+
readonly Paypal: "paypal";
|
|
861
|
+
readonly Wallet: "wallet";
|
|
862
|
+
};
|
|
863
|
+
export type PaymentAttemptPaymentProviderEnum = typeof PaymentAttemptPaymentProviderEnum[keyof typeof PaymentAttemptPaymentProviderEnum];
|
|
864
|
+
export declare const PaymentAttemptStatusEnum: {
|
|
865
|
+
readonly Success: "success";
|
|
866
|
+
readonly Failed: "failed";
|
|
867
|
+
readonly Pending: "pending";
|
|
868
|
+
readonly Cancelled: "cancelled";
|
|
869
|
+
};
|
|
870
|
+
export type PaymentAttemptStatusEnum = typeof PaymentAttemptStatusEnum[keyof typeof PaymentAttemptStatusEnum];
|
|
870
871
|
/**
|
|
871
872
|
* Standard price definition that defines the amount and currency.
|
|
872
873
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders API
|
|
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.17.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -35,6 +35,17 @@ export const ConfirmOrderValidationErrorCodeEnum = {
|
|
|
35
35
|
export const CustomsInformationPreRegistrationTypeEnum = {
|
|
36
36
|
Ioss: 'IOSS'
|
|
37
37
|
};
|
|
38
|
+
export const PaymentAttemptPaymentProviderEnum = {
|
|
39
|
+
Stripe: 'stripe',
|
|
40
|
+
Paypal: 'paypal',
|
|
41
|
+
Wallet: 'wallet'
|
|
42
|
+
};
|
|
43
|
+
export const PaymentAttemptStatusEnum = {
|
|
44
|
+
Success: 'success',
|
|
45
|
+
Failed: 'failed',
|
|
46
|
+
Pending: 'pending',
|
|
47
|
+
Cancelled: 'cancelled'
|
|
48
|
+
};
|
|
38
49
|
/**
|
|
39
50
|
*
|
|
40
51
|
* @export
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders API
|
|
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.17.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 API
|
|
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.17.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 API
|
|
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.17.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 API
|
|
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.17.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 API
|
|
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.17.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
|
* Orders API
|
|
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.17.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* 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 API
|
|
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.17.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 API
|
|
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.17.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 API
|
|
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.17.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 API
|
|
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.17.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/PaymentAttempt.md
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
# PaymentAttempt
|
|
2
2
|
|
|
3
|
+
List of payment attempts for this order
|
|
3
4
|
|
|
4
5
|
## Properties
|
|
5
6
|
|
|
6
7
|
Name | Type | Description | Notes
|
|
7
8
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
9
|
-
**
|
|
10
|
-
**paymentMethodType** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**status** | [**Status**](Status.md) | | [optional] [default to undefined]
|
|
9
|
+
**paymentProvider** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**status** | **string** | | [optional] [default to undefined]
|
|
12
11
|
**transactionId** | **string** | | [optional] [default to undefined]
|
|
13
12
|
**message** | **string** | | [optional] [default to undefined]
|
|
14
13
|
**createdAt** | **string** | ISO 8601 Timestamp | [optional] [default to undefined]
|
|
@@ -19,9 +18,7 @@ Name | Type | Description | Notes
|
|
|
19
18
|
import { PaymentAttempt } from '@teemill/orders';
|
|
20
19
|
|
|
21
20
|
const instance: PaymentAttempt = {
|
|
22
|
-
|
|
23
|
-
invoiceId,
|
|
24
|
-
paymentMethodType,
|
|
21
|
+
paymentProvider,
|
|
25
22
|
status,
|
|
26
23
|
transactionId,
|
|
27
24
|
message,
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders API
|
|
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.17.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|