@teemill/platform 0.63.0 → 0.65.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/FILES +2 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +4 -2
- package/api.ts +47 -23
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +27 -3
- package/dist/api.js +21 -21
- 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 +27 -3
- package/dist/esm/api.js +21 -21
- 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/docs/OrdersResponse.md +4 -2
- package/docs/OrdersResponseMeta.md +21 -0
- package/docs/OrdersResponseMetaFilters.md +21 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.21.0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/platform@0.
|
|
1
|
+
## @teemill/platform@0.65.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/platform@0.
|
|
39
|
+
npm install @teemill/platform@0.65.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -175,6 +175,8 @@ Class | Method | HTTP request | Description
|
|
|
175
175
|
- [OrderStatus](docs/OrderStatus.md)
|
|
176
176
|
- [OrderTracking](docs/OrderTracking.md)
|
|
177
177
|
- [OrdersResponse](docs/OrdersResponse.md)
|
|
178
|
+
- [OrdersResponseMeta](docs/OrdersResponseMeta.md)
|
|
179
|
+
- [OrdersResponseMetaFilters](docs/OrdersResponseMetaFilters.md)
|
|
178
180
|
- [Origin](docs/Origin.md)
|
|
179
181
|
- [PaymentAccount](docs/PaymentAccount.md)
|
|
180
182
|
- [PaymentAttempt](docs/PaymentAttempt.md)
|
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.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -80,7 +80,7 @@ export interface AmendOrderRequestAmendmentsInner {
|
|
|
80
80
|
|
|
81
81
|
export const AmendOrderRequestAmendmentsInnerActionEnum = {
|
|
82
82
|
Refund: 'refund',
|
|
83
|
-
Exchange: 'exchange'
|
|
83
|
+
Exchange: 'exchange',
|
|
84
84
|
} as const;
|
|
85
85
|
|
|
86
86
|
export type AmendOrderRequestAmendmentsInnerActionEnum = typeof AmendOrderRequestAmendmentsInnerActionEnum[keyof typeof AmendOrderRequestAmendmentsInnerActionEnum];
|
|
@@ -126,7 +126,7 @@ export interface AmendmentLog {
|
|
|
126
126
|
export const AmendmentLogAmendmentTypeEnum = {
|
|
127
127
|
Refund: 'refund',
|
|
128
128
|
Exchange: 'exchange',
|
|
129
|
-
ShippingRefund: 'shipping_refund'
|
|
129
|
+
ShippingRefund: 'shipping_refund',
|
|
130
130
|
} as const;
|
|
131
131
|
|
|
132
132
|
export type AmendmentLogAmendmentTypeEnum = typeof AmendmentLogAmendmentTypeEnum[keyof typeof AmendmentLogAmendmentTypeEnum];
|
|
@@ -153,7 +153,7 @@ export interface Application {
|
|
|
153
153
|
|
|
154
154
|
export const ApplicationPlacementEnum = {
|
|
155
155
|
Front: 'front',
|
|
156
|
-
Back: 'back'
|
|
156
|
+
Back: 'back',
|
|
157
157
|
} as const;
|
|
158
158
|
|
|
159
159
|
export type ApplicationPlacementEnum = typeof ApplicationPlacementEnum[keyof typeof ApplicationPlacementEnum];
|
|
@@ -277,7 +277,7 @@ export interface CreateOrderPaymentMethod {
|
|
|
277
277
|
export const CreateOrderPaymentMethodTypeEnum = {
|
|
278
278
|
Card: 'card',
|
|
279
279
|
Bacs: 'bacs',
|
|
280
|
-
Terms: 'terms'
|
|
280
|
+
Terms: 'terms',
|
|
281
281
|
} as const;
|
|
282
282
|
|
|
283
283
|
export type CreateOrderPaymentMethodTypeEnum = typeof CreateOrderPaymentMethodTypeEnum[keyof typeof CreateOrderPaymentMethodTypeEnum];
|
|
@@ -389,7 +389,7 @@ export interface CustomsInformation {
|
|
|
389
389
|
}
|
|
390
390
|
|
|
391
391
|
export const CustomsInformationPreRegistrationTypeEnum = {
|
|
392
|
-
Ioss: 'IOSS'
|
|
392
|
+
Ioss: 'IOSS',
|
|
393
393
|
} as const;
|
|
394
394
|
|
|
395
395
|
export type CustomsInformationPreRegistrationTypeEnum = typeof CustomsInformationPreRegistrationTypeEnum[keyof typeof CustomsInformationPreRegistrationTypeEnum];
|
|
@@ -472,7 +472,7 @@ export interface Enquiry {
|
|
|
472
472
|
export const EnquiryStatusEnum = {
|
|
473
473
|
New: 'New',
|
|
474
474
|
Archived: 'Archived',
|
|
475
|
-
Priority: 'Priority'
|
|
475
|
+
Priority: 'Priority',
|
|
476
476
|
} as const;
|
|
477
477
|
|
|
478
478
|
export type EnquiryStatusEnum = typeof EnquiryStatusEnum[keyof typeof EnquiryStatusEnum];
|
|
@@ -551,6 +551,14 @@ 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.
|
|
560
|
+
*/
|
|
561
|
+
'frozenReasons'?: Array<string>;
|
|
554
562
|
}
|
|
555
563
|
|
|
556
564
|
|
|
@@ -811,7 +819,7 @@ export const OrderStatus = {
|
|
|
811
819
|
Processing: 'processing',
|
|
812
820
|
Complete: 'complete',
|
|
813
821
|
Refunded: 'refunded',
|
|
814
|
-
Moderation: 'moderation'
|
|
822
|
+
Moderation: 'moderation',
|
|
815
823
|
} as const;
|
|
816
824
|
|
|
817
825
|
export type OrderStatus = typeof OrderStatus[keyof typeof OrderStatus];
|
|
@@ -823,8 +831,24 @@ export interface OrderTracking {
|
|
|
823
831
|
'url'?: string;
|
|
824
832
|
}
|
|
825
833
|
export interface OrdersResponse {
|
|
826
|
-
'orders'
|
|
827
|
-
'
|
|
834
|
+
'orders': Array<Order>;
|
|
835
|
+
'meta'?: OrdersResponseMeta;
|
|
836
|
+
'nextPageToken': number | null;
|
|
837
|
+
}
|
|
838
|
+
/**
|
|
839
|
+
* Object containing metadata about the orders list
|
|
840
|
+
*/
|
|
841
|
+
export interface OrdersResponseMeta {
|
|
842
|
+
'filters': OrdersResponseMetaFilters;
|
|
843
|
+
}
|
|
844
|
+
/**
|
|
845
|
+
* Filters that can be applied to the orders list.
|
|
846
|
+
*/
|
|
847
|
+
export interface OrdersResponseMetaFilters {
|
|
848
|
+
/**
|
|
849
|
+
* Sources that can be used to filter the orders list, such as Website, Shopify, or Etsy.
|
|
850
|
+
*/
|
|
851
|
+
'sources': Array<string> | null;
|
|
828
852
|
}
|
|
829
853
|
export interface Origin {
|
|
830
854
|
'code'?: string;
|
|
@@ -846,7 +870,7 @@ export interface PaymentAccount {
|
|
|
846
870
|
}
|
|
847
871
|
|
|
848
872
|
export const PaymentAccountMethodEnum = {
|
|
849
|
-
Stripe: 'stripe'
|
|
873
|
+
Stripe: 'stripe',
|
|
850
874
|
} as const;
|
|
851
875
|
|
|
852
876
|
export type PaymentAccountMethodEnum = typeof PaymentAccountMethodEnum[keyof typeof PaymentAccountMethodEnum];
|
|
@@ -868,7 +892,7 @@ export interface PaymentAttempt {
|
|
|
868
892
|
export const PaymentAttemptPaymentProviderEnum = {
|
|
869
893
|
Stripe: 'stripe',
|
|
870
894
|
Paypal: 'paypal',
|
|
871
|
-
Wallet: 'wallet'
|
|
895
|
+
Wallet: 'wallet',
|
|
872
896
|
} as const;
|
|
873
897
|
|
|
874
898
|
export type PaymentAttemptPaymentProviderEnum = typeof PaymentAttemptPaymentProviderEnum[keyof typeof PaymentAttemptPaymentProviderEnum];
|
|
@@ -876,7 +900,7 @@ export const PaymentAttemptStatusEnum = {
|
|
|
876
900
|
Success: 'success',
|
|
877
901
|
Failed: 'failed',
|
|
878
902
|
Pending: 'pending',
|
|
879
|
-
Cancelled: 'cancelled'
|
|
903
|
+
Cancelled: 'cancelled',
|
|
880
904
|
} as const;
|
|
881
905
|
|
|
882
906
|
export type PaymentAttemptStatusEnum = typeof PaymentAttemptStatusEnum[keyof typeof PaymentAttemptStatusEnum];
|
|
@@ -957,7 +981,7 @@ export interface PrintArea {
|
|
|
957
981
|
|
|
958
982
|
export const PriorityLevel = {
|
|
959
983
|
Standard: 'standard',
|
|
960
|
-
Priority: 'priority'
|
|
984
|
+
Priority: 'priority',
|
|
961
985
|
} as const;
|
|
962
986
|
|
|
963
987
|
export type PriorityLevel = typeof PriorityLevel[keyof typeof PriorityLevel];
|
|
@@ -992,7 +1016,7 @@ export interface ReturnOrderRequestReturnsInner {
|
|
|
992
1016
|
|
|
993
1017
|
export const ReturnOrderRequestReturnsInnerActionEnum = {
|
|
994
1018
|
Refund: 'refund',
|
|
995
|
-
Exchange: 'exchange'
|
|
1019
|
+
Exchange: 'exchange',
|
|
996
1020
|
} as const;
|
|
997
1021
|
|
|
998
1022
|
export type ReturnOrderRequestReturnsInnerActionEnum = typeof ReturnOrderRequestReturnsInnerActionEnum[keyof typeof ReturnOrderRequestReturnsInnerActionEnum];
|
|
@@ -1171,7 +1195,7 @@ export interface UpdateModerationItemRequest {
|
|
|
1171
1195
|
|
|
1172
1196
|
export const UpdateModerationItemRequestJudgementEnum = {
|
|
1173
1197
|
Approved: 'approved',
|
|
1174
|
-
Denied: 'denied'
|
|
1198
|
+
Denied: 'denied',
|
|
1175
1199
|
} as const;
|
|
1176
1200
|
|
|
1177
1201
|
export type UpdateModerationItemRequestJudgementEnum = typeof UpdateModerationItemRequestJudgementEnum[keyof typeof UpdateModerationItemRequestJudgementEnum];
|
|
@@ -2532,12 +2556,12 @@ export const ExportCustomersSortByEnum = {
|
|
|
2532
2556
|
LastPurchased: '+lastPurchased',
|
|
2533
2557
|
LastPurchased2: '-lastPurchased',
|
|
2534
2558
|
UsedDiscount: '+usedDiscount',
|
|
2535
|
-
UsedDiscount2: '-usedDiscount'
|
|
2559
|
+
UsedDiscount2: '-usedDiscount',
|
|
2536
2560
|
} as const;
|
|
2537
2561
|
export type ExportCustomersSortByEnum = typeof ExportCustomersSortByEnum[keyof typeof ExportCustomersSortByEnum];
|
|
2538
2562
|
export const ExportCustomersGenderEnum = {
|
|
2539
2563
|
Male: 'male',
|
|
2540
|
-
Female: 'female'
|
|
2564
|
+
Female: 'female',
|
|
2541
2565
|
} as const;
|
|
2542
2566
|
export type ExportCustomersGenderEnum = typeof ExportCustomersGenderEnum[keyof typeof ExportCustomersGenderEnum];
|
|
2543
2567
|
export const ListCustomersSortByEnum = {
|
|
@@ -2550,12 +2574,12 @@ export const ListCustomersSortByEnum = {
|
|
|
2550
2574
|
LastPurchased: '+lastPurchased',
|
|
2551
2575
|
LastPurchased2: '-lastPurchased',
|
|
2552
2576
|
UsedDiscount: '+usedDiscount',
|
|
2553
|
-
UsedDiscount2: '-usedDiscount'
|
|
2577
|
+
UsedDiscount2: '-usedDiscount',
|
|
2554
2578
|
} as const;
|
|
2555
2579
|
export type ListCustomersSortByEnum = typeof ListCustomersSortByEnum[keyof typeof ListCustomersSortByEnum];
|
|
2556
2580
|
export const ListCustomersGenderEnum = {
|
|
2557
2581
|
Male: 'male',
|
|
2558
|
-
Female: 'female'
|
|
2582
|
+
Female: 'female',
|
|
2559
2583
|
} as const;
|
|
2560
2584
|
export type ListCustomersGenderEnum = typeof ListCustomersGenderEnum[keyof typeof ListCustomersGenderEnum];
|
|
2561
2585
|
|
|
@@ -5534,7 +5558,7 @@ export const ExportOrdersDateFilterTypeEnum = {
|
|
|
5534
5558
|
UpdatedAt: 'updatedAt',
|
|
5535
5559
|
StatusChangedAt: 'statusChangedAt',
|
|
5536
5560
|
CompletedAt: 'completedAt',
|
|
5537
|
-
RefundedAt: 'refundedAt'
|
|
5561
|
+
RefundedAt: 'refundedAt',
|
|
5538
5562
|
} as const;
|
|
5539
5563
|
export type ExportOrdersDateFilterTypeEnum = typeof ExportOrdersDateFilterTypeEnum[keyof typeof ExportOrdersDateFilterTypeEnum];
|
|
5540
5564
|
export const ListOrdersDateFilterTypeEnum = {
|
|
@@ -5543,12 +5567,12 @@ export const ListOrdersDateFilterTypeEnum = {
|
|
|
5543
5567
|
UpdatedAt: 'updatedAt',
|
|
5544
5568
|
StatusChangedAt: 'statusChangedAt',
|
|
5545
5569
|
CompletedAt: 'completedAt',
|
|
5546
|
-
RefundedAt: 'refundedAt'
|
|
5570
|
+
RefundedAt: 'refundedAt',
|
|
5547
5571
|
} as const;
|
|
5548
5572
|
export type ListOrdersDateFilterTypeEnum = typeof ListOrdersDateFilterTypeEnum[keyof typeof ListOrdersDateFilterTypeEnum];
|
|
5549
5573
|
export const ListOrdersSortByEnum = {
|
|
5550
5574
|
CreatedAt: '+createdAt',
|
|
5551
|
-
CreatedAt2: '-createdAt'
|
|
5575
|
+
CreatedAt2: '-createdAt',
|
|
5552
5576
|
} as const;
|
|
5553
5577
|
export type ListOrdersSortByEnum = typeof ListOrdersSortByEnum[keyof typeof ListOrdersSortByEnum];
|
|
5554
5578
|
|
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.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -522,6 +522,14 @@ 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.
|
|
531
|
+
*/
|
|
532
|
+
'frozenReasons'?: Array<string>;
|
|
525
533
|
}
|
|
526
534
|
export interface FulfillmentItem {
|
|
527
535
|
/**
|
|
@@ -786,8 +794,24 @@ export interface OrderTracking {
|
|
|
786
794
|
'url'?: string;
|
|
787
795
|
}
|
|
788
796
|
export interface OrdersResponse {
|
|
789
|
-
'orders'
|
|
790
|
-
'
|
|
797
|
+
'orders': Array<Order>;
|
|
798
|
+
'meta'?: OrdersResponseMeta;
|
|
799
|
+
'nextPageToken': number | null;
|
|
800
|
+
}
|
|
801
|
+
/**
|
|
802
|
+
* Object containing metadata about the orders list
|
|
803
|
+
*/
|
|
804
|
+
export interface OrdersResponseMeta {
|
|
805
|
+
'filters': OrdersResponseMetaFilters;
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
* Filters that can be applied to the orders list.
|
|
809
|
+
*/
|
|
810
|
+
export interface OrdersResponseMetaFilters {
|
|
811
|
+
/**
|
|
812
|
+
* Sources that can be used to filter the orders list, such as Website, Shopify, or Etsy.
|
|
813
|
+
*/
|
|
814
|
+
'sources': Array<string> | null;
|
|
791
815
|
}
|
|
792
816
|
export interface Origin {
|
|
793
817
|
'code'?: string;
|
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.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -32,29 +32,29 @@ const common_1 = require("./common");
|
|
|
32
32
|
const base_1 = require("./base");
|
|
33
33
|
exports.AmendOrderRequestAmendmentsInnerActionEnum = {
|
|
34
34
|
Refund: 'refund',
|
|
35
|
-
Exchange: 'exchange'
|
|
35
|
+
Exchange: 'exchange',
|
|
36
36
|
};
|
|
37
37
|
exports.AmendmentLogAmendmentTypeEnum = {
|
|
38
38
|
Refund: 'refund',
|
|
39
39
|
Exchange: 'exchange',
|
|
40
|
-
ShippingRefund: 'shipping_refund'
|
|
40
|
+
ShippingRefund: 'shipping_refund',
|
|
41
41
|
};
|
|
42
42
|
exports.ApplicationPlacementEnum = {
|
|
43
43
|
Front: 'front',
|
|
44
|
-
Back: 'back'
|
|
44
|
+
Back: 'back',
|
|
45
45
|
};
|
|
46
46
|
exports.CreateOrderPaymentMethodTypeEnum = {
|
|
47
47
|
Card: 'card',
|
|
48
48
|
Bacs: 'bacs',
|
|
49
|
-
Terms: 'terms'
|
|
49
|
+
Terms: 'terms',
|
|
50
50
|
};
|
|
51
51
|
exports.CustomsInformationPreRegistrationTypeEnum = {
|
|
52
|
-
Ioss: 'IOSS'
|
|
52
|
+
Ioss: 'IOSS',
|
|
53
53
|
};
|
|
54
54
|
exports.EnquiryStatusEnum = {
|
|
55
55
|
New: 'New',
|
|
56
56
|
Archived: 'Archived',
|
|
57
|
-
Priority: 'Priority'
|
|
57
|
+
Priority: 'Priority',
|
|
58
58
|
};
|
|
59
59
|
exports.OrderStatus = {
|
|
60
60
|
New: 'new',
|
|
@@ -63,33 +63,33 @@ exports.OrderStatus = {
|
|
|
63
63
|
Processing: 'processing',
|
|
64
64
|
Complete: 'complete',
|
|
65
65
|
Refunded: 'refunded',
|
|
66
|
-
Moderation: 'moderation'
|
|
66
|
+
Moderation: 'moderation',
|
|
67
67
|
};
|
|
68
68
|
exports.PaymentAccountMethodEnum = {
|
|
69
|
-
Stripe: 'stripe'
|
|
69
|
+
Stripe: 'stripe',
|
|
70
70
|
};
|
|
71
71
|
exports.PaymentAttemptPaymentProviderEnum = {
|
|
72
72
|
Stripe: 'stripe',
|
|
73
73
|
Paypal: 'paypal',
|
|
74
|
-
Wallet: 'wallet'
|
|
74
|
+
Wallet: 'wallet',
|
|
75
75
|
};
|
|
76
76
|
exports.PaymentAttemptStatusEnum = {
|
|
77
77
|
Success: 'success',
|
|
78
78
|
Failed: 'failed',
|
|
79
79
|
Pending: 'pending',
|
|
80
|
-
Cancelled: 'cancelled'
|
|
80
|
+
Cancelled: 'cancelled',
|
|
81
81
|
};
|
|
82
82
|
exports.PriorityLevel = {
|
|
83
83
|
Standard: 'standard',
|
|
84
|
-
Priority: 'priority'
|
|
84
|
+
Priority: 'priority',
|
|
85
85
|
};
|
|
86
86
|
exports.ReturnOrderRequestReturnsInnerActionEnum = {
|
|
87
87
|
Refund: 'refund',
|
|
88
|
-
Exchange: 'exchange'
|
|
88
|
+
Exchange: 'exchange',
|
|
89
89
|
};
|
|
90
90
|
exports.UpdateModerationItemRequestJudgementEnum = {
|
|
91
91
|
Approved: 'approved',
|
|
92
|
-
Denied: 'denied'
|
|
92
|
+
Denied: 'denied',
|
|
93
93
|
};
|
|
94
94
|
/**
|
|
95
95
|
* CustomersApi - axios parameter creator
|
|
@@ -980,11 +980,11 @@ exports.ExportCustomersSortByEnum = {
|
|
|
980
980
|
LastPurchased: '+lastPurchased',
|
|
981
981
|
LastPurchased2: '-lastPurchased',
|
|
982
982
|
UsedDiscount: '+usedDiscount',
|
|
983
|
-
UsedDiscount2: '-usedDiscount'
|
|
983
|
+
UsedDiscount2: '-usedDiscount',
|
|
984
984
|
};
|
|
985
985
|
exports.ExportCustomersGenderEnum = {
|
|
986
986
|
Male: 'male',
|
|
987
|
-
Female: 'female'
|
|
987
|
+
Female: 'female',
|
|
988
988
|
};
|
|
989
989
|
exports.ListCustomersSortByEnum = {
|
|
990
990
|
LifetimeValue: '+lifetimeValue',
|
|
@@ -996,11 +996,11 @@ exports.ListCustomersSortByEnum = {
|
|
|
996
996
|
LastPurchased: '+lastPurchased',
|
|
997
997
|
LastPurchased2: '-lastPurchased',
|
|
998
998
|
UsedDiscount: '+usedDiscount',
|
|
999
|
-
UsedDiscount2: '-usedDiscount'
|
|
999
|
+
UsedDiscount2: '-usedDiscount',
|
|
1000
1000
|
};
|
|
1001
1001
|
exports.ListCustomersGenderEnum = {
|
|
1002
1002
|
Male: 'male',
|
|
1003
|
-
Female: 'female'
|
|
1003
|
+
Female: 'female',
|
|
1004
1004
|
};
|
|
1005
1005
|
/**
|
|
1006
1006
|
* DashboardApi - axios parameter creator
|
|
@@ -3258,7 +3258,7 @@ exports.ExportOrdersDateFilterTypeEnum = {
|
|
|
3258
3258
|
UpdatedAt: 'updatedAt',
|
|
3259
3259
|
StatusChangedAt: 'statusChangedAt',
|
|
3260
3260
|
CompletedAt: 'completedAt',
|
|
3261
|
-
RefundedAt: 'refundedAt'
|
|
3261
|
+
RefundedAt: 'refundedAt',
|
|
3262
3262
|
};
|
|
3263
3263
|
exports.ListOrdersDateFilterTypeEnum = {
|
|
3264
3264
|
CreatedAt: 'createdAt',
|
|
@@ -3266,11 +3266,11 @@ exports.ListOrdersDateFilterTypeEnum = {
|
|
|
3266
3266
|
UpdatedAt: 'updatedAt',
|
|
3267
3267
|
StatusChangedAt: 'statusChangedAt',
|
|
3268
3268
|
CompletedAt: 'completedAt',
|
|
3269
|
-
RefundedAt: 'refundedAt'
|
|
3269
|
+
RefundedAt: 'refundedAt',
|
|
3270
3270
|
};
|
|
3271
3271
|
exports.ListOrdersSortByEnum = {
|
|
3272
3272
|
CreatedAt: '+createdAt',
|
|
3273
|
-
CreatedAt2: '-createdAt'
|
|
3273
|
+
CreatedAt2: '-createdAt',
|
|
3274
3274
|
};
|
|
3275
3275
|
/**
|
|
3276
3276
|
* PaymentApi - axios parameter creator
|
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.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -522,6 +522,14 @@ 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.
|
|
531
|
+
*/
|
|
532
|
+
'frozenReasons'?: Array<string>;
|
|
525
533
|
}
|
|
526
534
|
export interface FulfillmentItem {
|
|
527
535
|
/**
|
|
@@ -786,8 +794,24 @@ export interface OrderTracking {
|
|
|
786
794
|
'url'?: string;
|
|
787
795
|
}
|
|
788
796
|
export interface OrdersResponse {
|
|
789
|
-
'orders'
|
|
790
|
-
'
|
|
797
|
+
'orders': Array<Order>;
|
|
798
|
+
'meta'?: OrdersResponseMeta;
|
|
799
|
+
'nextPageToken': number | null;
|
|
800
|
+
}
|
|
801
|
+
/**
|
|
802
|
+
* Object containing metadata about the orders list
|
|
803
|
+
*/
|
|
804
|
+
export interface OrdersResponseMeta {
|
|
805
|
+
'filters': OrdersResponseMetaFilters;
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
* Filters that can be applied to the orders list.
|
|
809
|
+
*/
|
|
810
|
+
export interface OrdersResponseMetaFilters {
|
|
811
|
+
/**
|
|
812
|
+
* Sources that can be used to filter the orders list, such as Website, Shopify, or Etsy.
|
|
813
|
+
*/
|
|
814
|
+
'sources': Array<string> | null;
|
|
791
815
|
}
|
|
792
816
|
export interface Origin {
|
|
793
817
|
'code'?: string;
|
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.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,29 +28,29 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setOAuthToObject,
|
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from './base';
|
|
29
29
|
export const AmendOrderRequestAmendmentsInnerActionEnum = {
|
|
30
30
|
Refund: 'refund',
|
|
31
|
-
Exchange: 'exchange'
|
|
31
|
+
Exchange: 'exchange',
|
|
32
32
|
};
|
|
33
33
|
export const AmendmentLogAmendmentTypeEnum = {
|
|
34
34
|
Refund: 'refund',
|
|
35
35
|
Exchange: 'exchange',
|
|
36
|
-
ShippingRefund: 'shipping_refund'
|
|
36
|
+
ShippingRefund: 'shipping_refund',
|
|
37
37
|
};
|
|
38
38
|
export const ApplicationPlacementEnum = {
|
|
39
39
|
Front: 'front',
|
|
40
|
-
Back: 'back'
|
|
40
|
+
Back: 'back',
|
|
41
41
|
};
|
|
42
42
|
export const CreateOrderPaymentMethodTypeEnum = {
|
|
43
43
|
Card: 'card',
|
|
44
44
|
Bacs: 'bacs',
|
|
45
|
-
Terms: 'terms'
|
|
45
|
+
Terms: 'terms',
|
|
46
46
|
};
|
|
47
47
|
export const CustomsInformationPreRegistrationTypeEnum = {
|
|
48
|
-
Ioss: 'IOSS'
|
|
48
|
+
Ioss: 'IOSS',
|
|
49
49
|
};
|
|
50
50
|
export const EnquiryStatusEnum = {
|
|
51
51
|
New: 'New',
|
|
52
52
|
Archived: 'Archived',
|
|
53
|
-
Priority: 'Priority'
|
|
53
|
+
Priority: 'Priority',
|
|
54
54
|
};
|
|
55
55
|
export const OrderStatus = {
|
|
56
56
|
New: 'new',
|
|
@@ -59,33 +59,33 @@ export const OrderStatus = {
|
|
|
59
59
|
Processing: 'processing',
|
|
60
60
|
Complete: 'complete',
|
|
61
61
|
Refunded: 'refunded',
|
|
62
|
-
Moderation: 'moderation'
|
|
62
|
+
Moderation: 'moderation',
|
|
63
63
|
};
|
|
64
64
|
export const PaymentAccountMethodEnum = {
|
|
65
|
-
Stripe: 'stripe'
|
|
65
|
+
Stripe: 'stripe',
|
|
66
66
|
};
|
|
67
67
|
export const PaymentAttemptPaymentProviderEnum = {
|
|
68
68
|
Stripe: 'stripe',
|
|
69
69
|
Paypal: 'paypal',
|
|
70
|
-
Wallet: 'wallet'
|
|
70
|
+
Wallet: 'wallet',
|
|
71
71
|
};
|
|
72
72
|
export const PaymentAttemptStatusEnum = {
|
|
73
73
|
Success: 'success',
|
|
74
74
|
Failed: 'failed',
|
|
75
75
|
Pending: 'pending',
|
|
76
|
-
Cancelled: 'cancelled'
|
|
76
|
+
Cancelled: 'cancelled',
|
|
77
77
|
};
|
|
78
78
|
export const PriorityLevel = {
|
|
79
79
|
Standard: 'standard',
|
|
80
|
-
Priority: 'priority'
|
|
80
|
+
Priority: 'priority',
|
|
81
81
|
};
|
|
82
82
|
export const ReturnOrderRequestReturnsInnerActionEnum = {
|
|
83
83
|
Refund: 'refund',
|
|
84
|
-
Exchange: 'exchange'
|
|
84
|
+
Exchange: 'exchange',
|
|
85
85
|
};
|
|
86
86
|
export const UpdateModerationItemRequestJudgementEnum = {
|
|
87
87
|
Approved: 'approved',
|
|
88
|
-
Denied: 'denied'
|
|
88
|
+
Denied: 'denied',
|
|
89
89
|
};
|
|
90
90
|
/**
|
|
91
91
|
* CustomersApi - axios parameter creator
|
|
@@ -972,11 +972,11 @@ export const ExportCustomersSortByEnum = {
|
|
|
972
972
|
LastPurchased: '+lastPurchased',
|
|
973
973
|
LastPurchased2: '-lastPurchased',
|
|
974
974
|
UsedDiscount: '+usedDiscount',
|
|
975
|
-
UsedDiscount2: '-usedDiscount'
|
|
975
|
+
UsedDiscount2: '-usedDiscount',
|
|
976
976
|
};
|
|
977
977
|
export const ExportCustomersGenderEnum = {
|
|
978
978
|
Male: 'male',
|
|
979
|
-
Female: 'female'
|
|
979
|
+
Female: 'female',
|
|
980
980
|
};
|
|
981
981
|
export const ListCustomersSortByEnum = {
|
|
982
982
|
LifetimeValue: '+lifetimeValue',
|
|
@@ -988,11 +988,11 @@ export const ListCustomersSortByEnum = {
|
|
|
988
988
|
LastPurchased: '+lastPurchased',
|
|
989
989
|
LastPurchased2: '-lastPurchased',
|
|
990
990
|
UsedDiscount: '+usedDiscount',
|
|
991
|
-
UsedDiscount2: '-usedDiscount'
|
|
991
|
+
UsedDiscount2: '-usedDiscount',
|
|
992
992
|
};
|
|
993
993
|
export const ListCustomersGenderEnum = {
|
|
994
994
|
Male: 'male',
|
|
995
|
-
Female: 'female'
|
|
995
|
+
Female: 'female',
|
|
996
996
|
};
|
|
997
997
|
/**
|
|
998
998
|
* DashboardApi - axios parameter creator
|
|
@@ -3234,7 +3234,7 @@ export const ExportOrdersDateFilterTypeEnum = {
|
|
|
3234
3234
|
UpdatedAt: 'updatedAt',
|
|
3235
3235
|
StatusChangedAt: 'statusChangedAt',
|
|
3236
3236
|
CompletedAt: 'completedAt',
|
|
3237
|
-
RefundedAt: 'refundedAt'
|
|
3237
|
+
RefundedAt: 'refundedAt',
|
|
3238
3238
|
};
|
|
3239
3239
|
export const ListOrdersDateFilterTypeEnum = {
|
|
3240
3240
|
CreatedAt: 'createdAt',
|
|
@@ -3242,11 +3242,11 @@ export const ListOrdersDateFilterTypeEnum = {
|
|
|
3242
3242
|
UpdatedAt: 'updatedAt',
|
|
3243
3243
|
StatusChangedAt: 'statusChangedAt',
|
|
3244
3244
|
CompletedAt: 'completedAt',
|
|
3245
|
-
RefundedAt: 'refundedAt'
|
|
3245
|
+
RefundedAt: 'refundedAt',
|
|
3246
3246
|
};
|
|
3247
3247
|
export const ListOrdersSortByEnum = {
|
|
3248
3248
|
CreatedAt: '+createdAt',
|
|
3249
|
-
CreatedAt2: '-createdAt'
|
|
3249
|
+
CreatedAt2: '-createdAt',
|
|
3250
3250
|
};
|
|
3251
3251
|
/**
|
|
3252
3252
|
* PaymentApi - axios parameter creator
|
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. | [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/docs/OrdersResponse.md
CHANGED
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**orders** | [**Array<Order>**](Order.md) | | [
|
|
9
|
-
**
|
|
8
|
+
**orders** | [**Array<Order>**](Order.md) | | [default to undefined]
|
|
9
|
+
**meta** | [**OrdersResponseMeta**](OrdersResponseMeta.md) | | [optional] [default to undefined]
|
|
10
|
+
**nextPageToken** | **number** | | [default to undefined]
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -15,6 +16,7 @@ import { OrdersResponse } from '@teemill/platform';
|
|
|
15
16
|
|
|
16
17
|
const instance: OrdersResponse = {
|
|
17
18
|
orders,
|
|
19
|
+
meta,
|
|
18
20
|
nextPageToken,
|
|
19
21
|
};
|
|
20
22
|
```
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# OrdersResponseMeta
|
|
2
|
+
|
|
3
|
+
Object containing metadata about the orders list
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**filters** | [**OrdersResponseMetaFilters**](OrdersResponseMetaFilters.md) | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { OrdersResponseMeta } from '@teemill/platform';
|
|
15
|
+
|
|
16
|
+
const instance: OrdersResponseMeta = {
|
|
17
|
+
filters,
|
|
18
|
+
};
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# OrdersResponseMetaFilters
|
|
2
|
+
|
|
3
|
+
Filters that can be applied to the orders list.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**sources** | **Array<string>** | Sources that can be used to filter the orders list, such as Website, Shopify, or Etsy. | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { OrdersResponseMetaFilters } from '@teemill/platform';
|
|
15
|
+
|
|
16
|
+
const instance: OrdersResponseMetaFilters = {
|
|
17
|
+
sources,
|
|
18
|
+
};
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/index.ts
CHANGED