@epilot/pricing-client 3.50.4 → 3.51.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/dist/additional-types.d.ts +54 -0
- package/dist/additional-types.js +10 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/openapi.d.ts +1 -3
- package/dist/openapi.json +1 -3
- package/package.json +1 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Additional legacy types that were removed from the OpenAPI specification
|
|
3
|
+
* because they are no longer used by the API.
|
|
4
|
+
*
|
|
5
|
+
* These types remain temporarily for backwards compatibility and will be
|
|
6
|
+
* removed once all dependent code has been migrated.
|
|
7
|
+
*/
|
|
8
|
+
import { Address, Amounts, Customer, MetaData, OrderStatus, PriceItems, PriceTier, TotalDetails } from './openapi';
|
|
9
|
+
export interface AvailabilityDate {
|
|
10
|
+
/**
|
|
11
|
+
* The availability interval start date
|
|
12
|
+
* example:
|
|
13
|
+
* 2017-07-21
|
|
14
|
+
*/
|
|
15
|
+
available_start_date?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The availability interval end date
|
|
18
|
+
* example:
|
|
19
|
+
* 2017-07-21
|
|
20
|
+
*/
|
|
21
|
+
available_end_date?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface PriceTierEnhanced extends PriceTier {
|
|
24
|
+
unit_amount_gross?: number;
|
|
25
|
+
unit_amount_gross_decimal?: string;
|
|
26
|
+
flat_fee_amount_gross?: number;
|
|
27
|
+
flat_fee_amount_gross_decimal?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface Cart extends Amounts {
|
|
30
|
+
/**
|
|
31
|
+
* The cart identifier
|
|
32
|
+
*/
|
|
33
|
+
id?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The user's Organization Id the cart belongs to
|
|
36
|
+
*/
|
|
37
|
+
org_id?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The status of the Cart:
|
|
40
|
+
* - open - the cart checkout is still in progress. Payment processing has not started
|
|
41
|
+
* - complete - the cart checkout is complete. Payment processing may still be in progress
|
|
42
|
+
* - expired - the cart checkout has expired. No further processing will occur
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
status?: OrderStatus;
|
|
46
|
+
customer?: Customer;
|
|
47
|
+
billing_address?: Address;
|
|
48
|
+
delivery_address?: Address;
|
|
49
|
+
metadata?: MetaData;
|
|
50
|
+
line_items?: PriceItems;
|
|
51
|
+
total_details?: TotalDetails;
|
|
52
|
+
created_at?: string;
|
|
53
|
+
updated_at?: string;
|
|
54
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Additional legacy types that were removed from the OpenAPI specification
|
|
4
|
+
* because they are no longer used by the API.
|
|
5
|
+
*
|
|
6
|
+
* These types remain temporarily for backwards compatibility and will be
|
|
7
|
+
* removed once all dependent code has been migrated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=additional-types.js.map
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./client"), exports);
|
|
18
|
+
__exportStar(require("./additional-types"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
package/dist/openapi.d.ts
CHANGED
|
@@ -9026,9 +9026,7 @@ declare namespace Components {
|
|
|
9026
9026
|
/**
|
|
9027
9027
|
* The taxes applied to the price item.
|
|
9028
9028
|
*/
|
|
9029
|
-
tax?:
|
|
9030
|
-
[name: string]: /* A tax amount associated with a specific tax rate. */ TaxAmountBreakdown;
|
|
9031
|
-
};
|
|
9029
|
+
tax?: /* A tax amount associated with a specific tax rate. */ TaxAmountBreakdown;
|
|
9032
9030
|
}
|
|
9033
9031
|
export interface RedeemedPromo {
|
|
9034
9032
|
/**
|
package/dist/openapi.json
CHANGED
|
@@ -6858,9 +6858,7 @@
|
|
|
6858
6858
|
"tax": {
|
|
6859
6859
|
"type": "object",
|
|
6860
6860
|
"description": "The taxes applied to the price item.",
|
|
6861
|
-
"
|
|
6862
|
-
"$ref": "#/components/schemas/TaxAmountBreakdown"
|
|
6863
|
-
}
|
|
6861
|
+
"$ref": "#/components/schemas/TaxAmountBreakdown"
|
|
6864
6862
|
}
|
|
6865
6863
|
},
|
|
6866
6864
|
"required": [
|