@teemill/platform 0.59.0 → 0.60.1
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 +47 -3
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +47 -3
- package/dist/api.js +2 -1
- 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 +47 -3
- package/dist/esm/api.js +2 -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/Order.md +13 -7
- package/docs/OrderItem.md +6 -4
- package/docs/OrderStatus.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/platform@0.
|
|
1
|
+
## @teemill/platform@0.60.1
|
|
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.60.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.60.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -652,12 +652,42 @@ export interface Order {
|
|
|
652
652
|
'fulfillments'?: Array<Fulfillment>;
|
|
653
653
|
'deliveryEstimates'?: DeliveryEstimates | null;
|
|
654
654
|
'items': Array<OrderItem>;
|
|
655
|
+
/**
|
|
656
|
+
* The total price of the order including tax and after discounts.
|
|
657
|
+
*/
|
|
655
658
|
'totalPrice'?: Price;
|
|
659
|
+
/**
|
|
660
|
+
* The total tax amount for the order.
|
|
661
|
+
*/
|
|
656
662
|
'taxPrice'?: Price;
|
|
663
|
+
/**
|
|
664
|
+
* The net items price (including shipping), excluding tax and after discounts.
|
|
665
|
+
*/
|
|
657
666
|
'subtotalPrice'?: Price;
|
|
667
|
+
/**
|
|
668
|
+
* The total discount amount applied to the order.
|
|
669
|
+
*/
|
|
658
670
|
'discountPrice'?: Price;
|
|
659
|
-
|
|
671
|
+
/**
|
|
672
|
+
* The total shipping cost for the order excluding tax.
|
|
673
|
+
*/
|
|
660
674
|
'shippingPrice'?: Price;
|
|
675
|
+
/**
|
|
676
|
+
* The total items price for the order excluding tax
|
|
677
|
+
*/
|
|
678
|
+
'itemsPrice'?: Price;
|
|
679
|
+
/**
|
|
680
|
+
* The coupon applied to the order, if any.
|
|
681
|
+
*/
|
|
682
|
+
'coupon'?: Coupon | null;
|
|
683
|
+
/**
|
|
684
|
+
* URL to page containing payment instructions for the payee. Only present when the order is in \'new\' status.
|
|
685
|
+
*/
|
|
686
|
+
'paymentLink'?: string | null;
|
|
687
|
+
/**
|
|
688
|
+
* URL to the order receipt page. Only present when the order is not in \'new\' status.
|
|
689
|
+
*/
|
|
690
|
+
'receiptLink'?: string | null;
|
|
661
691
|
'origin'?: Origin;
|
|
662
692
|
'statusHistory'?: Array<StatusHistoryItem>;
|
|
663
693
|
'project': Project;
|
|
@@ -708,12 +738,25 @@ export interface OrderItem {
|
|
|
708
738
|
* Images
|
|
709
739
|
*/
|
|
710
740
|
'images'?: Array<Image>;
|
|
741
|
+
/**
|
|
742
|
+
* Gross total with discount applied
|
|
743
|
+
*/
|
|
711
744
|
'totalPrice'?: Price;
|
|
712
745
|
/**
|
|
713
|
-
* This is an estimate until the order has been confirmed
|
|
746
|
+
* The tax amount for this line item after discounts. This is an estimate until the order has been confirmed.
|
|
714
747
|
*/
|
|
715
748
|
'taxPrice'?: Price;
|
|
749
|
+
/**
|
|
750
|
+
* The price for this line item, including tax and before discounts.
|
|
751
|
+
*/
|
|
716
752
|
'subtotalPrice'?: Price;
|
|
753
|
+
/**
|
|
754
|
+
* The net price for this line item, excluding tax and before discounts.
|
|
755
|
+
*/
|
|
756
|
+
'subtotalExTaxPrice'?: Price;
|
|
757
|
+
/**
|
|
758
|
+
* The discount amount applied to this line item.
|
|
759
|
+
*/
|
|
717
760
|
'discountPrice'?: Price;
|
|
718
761
|
'amendmentLogs'?: Array<AmendmentLog>;
|
|
719
762
|
}
|
|
@@ -736,6 +779,7 @@ export interface OrderPaymentMethod {
|
|
|
736
779
|
export const OrderStatus = {
|
|
737
780
|
New: 'new',
|
|
738
781
|
Paid: 'paid',
|
|
782
|
+
PaymentPending: 'payment_pending',
|
|
739
783
|
Processing: 'processing',
|
|
740
784
|
Complete: 'complete',
|
|
741
785
|
Refunded: 'refunded',
|
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 API
|
|
3
3
|
* Manage Your podOS platform
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.60.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -621,12 +621,42 @@ export interface Order {
|
|
|
621
621
|
'fulfillments'?: Array<Fulfillment>;
|
|
622
622
|
'deliveryEstimates'?: DeliveryEstimates | null;
|
|
623
623
|
'items': Array<OrderItem>;
|
|
624
|
+
/**
|
|
625
|
+
* The total price of the order including tax and after discounts.
|
|
626
|
+
*/
|
|
624
627
|
'totalPrice'?: Price;
|
|
628
|
+
/**
|
|
629
|
+
* The total tax amount for the order.
|
|
630
|
+
*/
|
|
625
631
|
'taxPrice'?: Price;
|
|
632
|
+
/**
|
|
633
|
+
* The net items price (including shipping), excluding tax and after discounts.
|
|
634
|
+
*/
|
|
626
635
|
'subtotalPrice'?: Price;
|
|
636
|
+
/**
|
|
637
|
+
* The total discount amount applied to the order.
|
|
638
|
+
*/
|
|
627
639
|
'discountPrice'?: Price;
|
|
628
|
-
|
|
640
|
+
/**
|
|
641
|
+
* The total shipping cost for the order excluding tax.
|
|
642
|
+
*/
|
|
629
643
|
'shippingPrice'?: Price;
|
|
644
|
+
/**
|
|
645
|
+
* The total items price for the order excluding tax
|
|
646
|
+
*/
|
|
647
|
+
'itemsPrice'?: Price;
|
|
648
|
+
/**
|
|
649
|
+
* The coupon applied to the order, if any.
|
|
650
|
+
*/
|
|
651
|
+
'coupon'?: Coupon | null;
|
|
652
|
+
/**
|
|
653
|
+
* URL to page containing payment instructions for the payee. Only present when the order is in \'new\' status.
|
|
654
|
+
*/
|
|
655
|
+
'paymentLink'?: string | null;
|
|
656
|
+
/**
|
|
657
|
+
* URL to the order receipt page. Only present when the order is not in \'new\' status.
|
|
658
|
+
*/
|
|
659
|
+
'receiptLink'?: string | null;
|
|
630
660
|
'origin'?: Origin;
|
|
631
661
|
'statusHistory'?: Array<StatusHistoryItem>;
|
|
632
662
|
'project': Project;
|
|
@@ -675,12 +705,25 @@ export interface OrderItem {
|
|
|
675
705
|
* Images
|
|
676
706
|
*/
|
|
677
707
|
'images'?: Array<Image>;
|
|
708
|
+
/**
|
|
709
|
+
* Gross total with discount applied
|
|
710
|
+
*/
|
|
678
711
|
'totalPrice'?: Price;
|
|
679
712
|
/**
|
|
680
|
-
* This is an estimate until the order has been confirmed
|
|
713
|
+
* The tax amount for this line item after discounts. This is an estimate until the order has been confirmed.
|
|
681
714
|
*/
|
|
682
715
|
'taxPrice'?: Price;
|
|
716
|
+
/**
|
|
717
|
+
* The price for this line item, including tax and before discounts.
|
|
718
|
+
*/
|
|
683
719
|
'subtotalPrice'?: Price;
|
|
720
|
+
/**
|
|
721
|
+
* The net price for this line item, excluding tax and before discounts.
|
|
722
|
+
*/
|
|
723
|
+
'subtotalExTaxPrice'?: Price;
|
|
724
|
+
/**
|
|
725
|
+
* The discount amount applied to this line item.
|
|
726
|
+
*/
|
|
684
727
|
'discountPrice'?: Price;
|
|
685
728
|
'amendmentLogs'?: Array<AmendmentLog>;
|
|
686
729
|
}
|
|
@@ -702,6 +745,7 @@ export interface OrderPaymentMethod {
|
|
|
702
745
|
export declare const OrderStatus: {
|
|
703
746
|
readonly New: "new";
|
|
704
747
|
readonly Paid: "paid";
|
|
748
|
+
readonly PaymentPending: "payment_pending";
|
|
705
749
|
readonly Processing: "processing";
|
|
706
750
|
readonly Complete: "complete";
|
|
707
751
|
readonly Refunded: "refunded";
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Platform API
|
|
6
6
|
* Manage Your podOS platform
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.60.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -59,6 +59,7 @@ exports.EnquiryStatusEnum = {
|
|
|
59
59
|
exports.OrderStatus = {
|
|
60
60
|
New: 'new',
|
|
61
61
|
Paid: 'paid',
|
|
62
|
+
PaymentPending: 'payment_pending',
|
|
62
63
|
Processing: 'processing',
|
|
63
64
|
Complete: 'complete',
|
|
64
65
|
Refunded: 'refunded',
|
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 API
|
|
3
3
|
* Manage Your podOS platform
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.60.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -621,12 +621,42 @@ export interface Order {
|
|
|
621
621
|
'fulfillments'?: Array<Fulfillment>;
|
|
622
622
|
'deliveryEstimates'?: DeliveryEstimates | null;
|
|
623
623
|
'items': Array<OrderItem>;
|
|
624
|
+
/**
|
|
625
|
+
* The total price of the order including tax and after discounts.
|
|
626
|
+
*/
|
|
624
627
|
'totalPrice'?: Price;
|
|
628
|
+
/**
|
|
629
|
+
* The total tax amount for the order.
|
|
630
|
+
*/
|
|
625
631
|
'taxPrice'?: Price;
|
|
632
|
+
/**
|
|
633
|
+
* The net items price (including shipping), excluding tax and after discounts.
|
|
634
|
+
*/
|
|
626
635
|
'subtotalPrice'?: Price;
|
|
636
|
+
/**
|
|
637
|
+
* The total discount amount applied to the order.
|
|
638
|
+
*/
|
|
627
639
|
'discountPrice'?: Price;
|
|
628
|
-
|
|
640
|
+
/**
|
|
641
|
+
* The total shipping cost for the order excluding tax.
|
|
642
|
+
*/
|
|
629
643
|
'shippingPrice'?: Price;
|
|
644
|
+
/**
|
|
645
|
+
* The total items price for the order excluding tax
|
|
646
|
+
*/
|
|
647
|
+
'itemsPrice'?: Price;
|
|
648
|
+
/**
|
|
649
|
+
* The coupon applied to the order, if any.
|
|
650
|
+
*/
|
|
651
|
+
'coupon'?: Coupon | null;
|
|
652
|
+
/**
|
|
653
|
+
* URL to page containing payment instructions for the payee. Only present when the order is in \'new\' status.
|
|
654
|
+
*/
|
|
655
|
+
'paymentLink'?: string | null;
|
|
656
|
+
/**
|
|
657
|
+
* URL to the order receipt page. Only present when the order is not in \'new\' status.
|
|
658
|
+
*/
|
|
659
|
+
'receiptLink'?: string | null;
|
|
630
660
|
'origin'?: Origin;
|
|
631
661
|
'statusHistory'?: Array<StatusHistoryItem>;
|
|
632
662
|
'project': Project;
|
|
@@ -675,12 +705,25 @@ export interface OrderItem {
|
|
|
675
705
|
* Images
|
|
676
706
|
*/
|
|
677
707
|
'images'?: Array<Image>;
|
|
708
|
+
/**
|
|
709
|
+
* Gross total with discount applied
|
|
710
|
+
*/
|
|
678
711
|
'totalPrice'?: Price;
|
|
679
712
|
/**
|
|
680
|
-
* This is an estimate until the order has been confirmed
|
|
713
|
+
* The tax amount for this line item after discounts. This is an estimate until the order has been confirmed.
|
|
681
714
|
*/
|
|
682
715
|
'taxPrice'?: Price;
|
|
716
|
+
/**
|
|
717
|
+
* The price for this line item, including tax and before discounts.
|
|
718
|
+
*/
|
|
683
719
|
'subtotalPrice'?: Price;
|
|
720
|
+
/**
|
|
721
|
+
* The net price for this line item, excluding tax and before discounts.
|
|
722
|
+
*/
|
|
723
|
+
'subtotalExTaxPrice'?: Price;
|
|
724
|
+
/**
|
|
725
|
+
* The discount amount applied to this line item.
|
|
726
|
+
*/
|
|
684
727
|
'discountPrice'?: Price;
|
|
685
728
|
'amendmentLogs'?: Array<AmendmentLog>;
|
|
686
729
|
}
|
|
@@ -702,6 +745,7 @@ export interface OrderPaymentMethod {
|
|
|
702
745
|
export declare const OrderStatus: {
|
|
703
746
|
readonly New: "new";
|
|
704
747
|
readonly Paid: "paid";
|
|
748
|
+
readonly PaymentPending: "payment_pending";
|
|
705
749
|
readonly Processing: "processing";
|
|
706
750
|
readonly Complete: "complete";
|
|
707
751
|
readonly Refunded: "refunded";
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.60.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -55,6 +55,7 @@ export const EnquiryStatusEnum = {
|
|
|
55
55
|
export const OrderStatus = {
|
|
56
56
|
New: 'new',
|
|
57
57
|
Paid: 'paid',
|
|
58
|
+
PaymentPending: 'payment_pending',
|
|
58
59
|
Processing: 'processing',
|
|
59
60
|
Complete: 'complete',
|
|
60
61
|
Refunded: 'refunded',
|
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/Order.md
CHANGED
|
@@ -20,12 +20,15 @@ Name | Type | Description | Notes
|
|
|
20
20
|
**fulfillments** | [**Array<Fulfillment>**](Fulfillment.md) | | [optional] [readonly] [default to undefined]
|
|
21
21
|
**deliveryEstimates** | [**DeliveryEstimates**](DeliveryEstimates.md) | | [optional] [default to undefined]
|
|
22
22
|
**items** | [**Array<OrderItem>**](OrderItem.md) | | [default to undefined]
|
|
23
|
-
**totalPrice** | [**Price**](Price.md) |
|
|
24
|
-
**taxPrice** | [**Price**](Price.md) |
|
|
25
|
-
**subtotalPrice** | [**Price**](Price.md) |
|
|
26
|
-
**discountPrice** | [**Price**](Price.md) |
|
|
27
|
-
**
|
|
28
|
-
**
|
|
23
|
+
**totalPrice** | [**Price**](Price.md) | The total price of the order including tax and after discounts. | [optional] [default to undefined]
|
|
24
|
+
**taxPrice** | [**Price**](Price.md) | The total tax amount for the order. | [optional] [default to undefined]
|
|
25
|
+
**subtotalPrice** | [**Price**](Price.md) | The net items price (including shipping), excluding tax and after discounts. | [optional] [default to undefined]
|
|
26
|
+
**discountPrice** | [**Price**](Price.md) | The total discount amount applied to the order. | [optional] [default to undefined]
|
|
27
|
+
**shippingPrice** | [**Price**](Price.md) | The total shipping cost for the order excluding tax. | [optional] [default to undefined]
|
|
28
|
+
**itemsPrice** | [**Price**](Price.md) | The total items price for the order excluding tax | [optional] [default to undefined]
|
|
29
|
+
**coupon** | [**Coupon**](Coupon.md) | The coupon applied to the order, if any. | [optional] [default to undefined]
|
|
30
|
+
**paymentLink** | **string** | URL to page containing payment instructions for the payee. Only present when the order is in \'new\' status. | [optional] [default to undefined]
|
|
31
|
+
**receiptLink** | **string** | URL to the order receipt page. Only present when the order is not in \'new\' status. | [optional] [default to undefined]
|
|
29
32
|
**origin** | [**Origin**](Origin.md) | | [optional] [default to undefined]
|
|
30
33
|
**statusHistory** | [**Array<StatusHistoryItem>**](StatusHistoryItem.md) | | [optional] [default to undefined]
|
|
31
34
|
**project** | [**Project**](Project.md) | | [default to undefined]
|
|
@@ -62,8 +65,11 @@ const instance: Order = {
|
|
|
62
65
|
taxPrice,
|
|
63
66
|
subtotalPrice,
|
|
64
67
|
discountPrice,
|
|
65
|
-
coupon,
|
|
66
68
|
shippingPrice,
|
|
69
|
+
itemsPrice,
|
|
70
|
+
coupon,
|
|
71
|
+
paymentLink,
|
|
72
|
+
receiptLink,
|
|
67
73
|
origin,
|
|
68
74
|
statusHistory,
|
|
69
75
|
project,
|
package/docs/OrderItem.md
CHANGED
|
@@ -12,10 +12,11 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**quantity** | **number** | | [default to undefined]
|
|
13
13
|
**name** | **string** | The name of the product | [optional] [default to undefined]
|
|
14
14
|
**images** | [**Array<Image>**](Image.md) | Images | [optional] [default to undefined]
|
|
15
|
-
**totalPrice** | [**Price**](Price.md) |
|
|
16
|
-
**taxPrice** | [**Price**](Price.md) | This is an estimate until the order has been confirmed | [optional] [readonly] [default to undefined]
|
|
17
|
-
**subtotalPrice** | [**Price**](Price.md) |
|
|
18
|
-
**
|
|
15
|
+
**totalPrice** | [**Price**](Price.md) | Gross total with discount applied | [optional] [readonly] [default to undefined]
|
|
16
|
+
**taxPrice** | [**Price**](Price.md) | The tax amount for this line item after discounts. This is an estimate until the order has been confirmed. | [optional] [readonly] [default to undefined]
|
|
17
|
+
**subtotalPrice** | [**Price**](Price.md) | The price for this line item, including tax and before discounts. | [optional] [readonly] [default to undefined]
|
|
18
|
+
**subtotalExTaxPrice** | [**Price**](Price.md) | The net price for this line item, excluding tax and before discounts. | [optional] [readonly] [default to undefined]
|
|
19
|
+
**discountPrice** | [**Price**](Price.md) | The discount amount applied to this line item. | [optional] [readonly] [default to undefined]
|
|
19
20
|
**amendmentLogs** | [**Array<AmendmentLog>**](AmendmentLog.md) | | [optional] [default to undefined]
|
|
20
21
|
|
|
21
22
|
## Example
|
|
@@ -34,6 +35,7 @@ const instance: OrderItem = {
|
|
|
34
35
|
totalPrice,
|
|
35
36
|
taxPrice,
|
|
36
37
|
subtotalPrice,
|
|
38
|
+
subtotalExTaxPrice,
|
|
37
39
|
discountPrice,
|
|
38
40
|
amendmentLogs,
|
|
39
41
|
};
|
package/docs/OrderStatus.md
CHANGED
package/index.ts
CHANGED