@epilot/pricing-client 3.36.5 → 3.36.7
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/openapi.d.ts +102 -0
- package/dist/openapi.json +12 -0
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -547,6 +547,40 @@ declare namespace Components {
|
|
|
547
547
|
* The sum of amounts of the price items by recurrence.
|
|
548
548
|
*/
|
|
549
549
|
recurrences?: (/* An amount associated with a specific recurrence. */ RecurrenceAmount)[];
|
|
550
|
+
/**
|
|
551
|
+
* The coupons applicable to the price item
|
|
552
|
+
*/
|
|
553
|
+
_coupons?: (/**
|
|
554
|
+
* The coupon configuration
|
|
555
|
+
* example:
|
|
556
|
+
* {
|
|
557
|
+
* "_id": "123e4567-e89b-12d3-a456-426614174000",
|
|
558
|
+
* "_schema": "coupon",
|
|
559
|
+
* "_org": "org_12345",
|
|
560
|
+
* "_created_at": "2024-01-15T10:00:00.000Z",
|
|
561
|
+
* "_updated_at": "2024-01-20T12:00:00.000Z",
|
|
562
|
+
* "_title": "Sample Coupon",
|
|
563
|
+
* "name": "Sample Coupon",
|
|
564
|
+
* "type": "fixed",
|
|
565
|
+
* "fixed_value": 555,
|
|
566
|
+
* "fixed_value_currency": "USD",
|
|
567
|
+
* "fixed_value_decimal": "5.55",
|
|
568
|
+
* "active": true,
|
|
569
|
+
* "prices": {
|
|
570
|
+
* "$relation": [
|
|
571
|
+
* {
|
|
572
|
+
* "entity_id": "abc12345-def6-7890-gh12-ijklmnopqrst",
|
|
573
|
+
* "_tags": [
|
|
574
|
+
* "discount",
|
|
575
|
+
* "special"
|
|
576
|
+
* ],
|
|
577
|
+
* "_schema": "price"
|
|
578
|
+
* }
|
|
579
|
+
* ]
|
|
580
|
+
* }
|
|
581
|
+
* }
|
|
582
|
+
*/
|
|
583
|
+
Coupon)[];
|
|
550
584
|
/**
|
|
551
585
|
* When set to true on a `_price` displayed as OnRequest (`show_as_on_request: 'on_request'`) this flag means the price has been approved and can now be displayed to the customer. This flag is only valid for prices shown as 'on_request'.
|
|
552
586
|
*/
|
|
@@ -1599,6 +1633,40 @@ declare namespace Components {
|
|
|
1599
1633
|
* The sum of amounts of the price items by recurrence.
|
|
1600
1634
|
*/
|
|
1601
1635
|
recurrences?: (/* An amount associated with a specific recurrence. */ RecurrenceAmount)[];
|
|
1636
|
+
/**
|
|
1637
|
+
* The coupons applicable to the price item
|
|
1638
|
+
*/
|
|
1639
|
+
_coupons?: (/**
|
|
1640
|
+
* The coupon configuration
|
|
1641
|
+
* example:
|
|
1642
|
+
* {
|
|
1643
|
+
* "_id": "123e4567-e89b-12d3-a456-426614174000",
|
|
1644
|
+
* "_schema": "coupon",
|
|
1645
|
+
* "_org": "org_12345",
|
|
1646
|
+
* "_created_at": "2024-01-15T10:00:00.000Z",
|
|
1647
|
+
* "_updated_at": "2024-01-20T12:00:00.000Z",
|
|
1648
|
+
* "_title": "Sample Coupon",
|
|
1649
|
+
* "name": "Sample Coupon",
|
|
1650
|
+
* "type": "fixed",
|
|
1651
|
+
* "fixed_value": 555,
|
|
1652
|
+
* "fixed_value_currency": "USD",
|
|
1653
|
+
* "fixed_value_decimal": "5.55",
|
|
1654
|
+
* "active": true,
|
|
1655
|
+
* "prices": {
|
|
1656
|
+
* "$relation": [
|
|
1657
|
+
* {
|
|
1658
|
+
* "entity_id": "abc12345-def6-7890-gh12-ijklmnopqrst",
|
|
1659
|
+
* "_tags": [
|
|
1660
|
+
* "discount",
|
|
1661
|
+
* "special"
|
|
1662
|
+
* ],
|
|
1663
|
+
* "_schema": "price"
|
|
1664
|
+
* }
|
|
1665
|
+
* ]
|
|
1666
|
+
* }
|
|
1667
|
+
* }
|
|
1668
|
+
*/
|
|
1669
|
+
Coupon)[];
|
|
1602
1670
|
/**
|
|
1603
1671
|
* When set to true on a `_price` displayed as OnRequest (`show_as_on_request: 'on_request'`) this flag means the price has been approved and can now be displayed to the customer. This flag is only valid for prices shown as 'on_request'.
|
|
1604
1672
|
*/
|
|
@@ -3487,6 +3555,40 @@ declare namespace Components {
|
|
|
3487
3555
|
* The sum of amounts of the price items by recurrence.
|
|
3488
3556
|
*/
|
|
3489
3557
|
recurrences?: (/* An amount associated with a specific recurrence. */ RecurrenceAmount)[];
|
|
3558
|
+
/**
|
|
3559
|
+
* The coupons applicable to the price item
|
|
3560
|
+
*/
|
|
3561
|
+
_coupons?: (/**
|
|
3562
|
+
* The coupon configuration
|
|
3563
|
+
* example:
|
|
3564
|
+
* {
|
|
3565
|
+
* "_id": "123e4567-e89b-12d3-a456-426614174000",
|
|
3566
|
+
* "_schema": "coupon",
|
|
3567
|
+
* "_org": "org_12345",
|
|
3568
|
+
* "_created_at": "2024-01-15T10:00:00.000Z",
|
|
3569
|
+
* "_updated_at": "2024-01-20T12:00:00.000Z",
|
|
3570
|
+
* "_title": "Sample Coupon",
|
|
3571
|
+
* "name": "Sample Coupon",
|
|
3572
|
+
* "type": "fixed",
|
|
3573
|
+
* "fixed_value": 555,
|
|
3574
|
+
* "fixed_value_currency": "USD",
|
|
3575
|
+
* "fixed_value_decimal": "5.55",
|
|
3576
|
+
* "active": true,
|
|
3577
|
+
* "prices": {
|
|
3578
|
+
* "$relation": [
|
|
3579
|
+
* {
|
|
3580
|
+
* "entity_id": "abc12345-def6-7890-gh12-ijklmnopqrst",
|
|
3581
|
+
* "_tags": [
|
|
3582
|
+
* "discount",
|
|
3583
|
+
* "special"
|
|
3584
|
+
* ],
|
|
3585
|
+
* "_schema": "price"
|
|
3586
|
+
* }
|
|
3587
|
+
* ]
|
|
3588
|
+
* }
|
|
3589
|
+
* }
|
|
3590
|
+
*/
|
|
3591
|
+
Coupon)[];
|
|
3490
3592
|
/**
|
|
3491
3593
|
* When set to true on a `_price` displayed as OnRequest (`show_as_on_request: 'on_request'`) this flag means the price has been approved and can now be displayed to the customer. This flag is only valid for prices shown as 'on_request'.
|
|
3492
3594
|
*/
|
package/dist/openapi.json
CHANGED
|
@@ -4126,6 +4126,18 @@
|
|
|
4126
4126
|
]
|
|
4127
4127
|
}
|
|
4128
4128
|
},
|
|
4129
|
+
"_coupons": {
|
|
4130
|
+
"type": "array",
|
|
4131
|
+
"description": "The coupons applicable to the price item",
|
|
4132
|
+
"readOnly": true,
|
|
4133
|
+
"items": {
|
|
4134
|
+
"oneOf": [
|
|
4135
|
+
{
|
|
4136
|
+
"$ref": "#/components/schemas/Coupon"
|
|
4137
|
+
}
|
|
4138
|
+
]
|
|
4139
|
+
}
|
|
4140
|
+
},
|
|
4129
4141
|
"on_request_approved": {
|
|
4130
4142
|
"type": "boolean",
|
|
4131
4143
|
"description": "When set to true on a `_price` displayed as OnRequest (`show_as_on_request: 'on_request'`) this flag means the price has been approved and can now be displayed to the customer. This flag is only valid for prices shown as 'on_request'."
|