@epilot/pricing-client 3.36.5 → 3.36.6
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 -10
- package/dist/openapi.json +12 -12
- 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
|
*/
|
|
@@ -2377,16 +2445,6 @@ declare namespace Components {
|
|
|
2377
2445
|
* journey name
|
|
2378
2446
|
*/
|
|
2379
2447
|
journey_name: string;
|
|
2380
|
-
/**
|
|
2381
|
-
* The tags of the journey.
|
|
2382
|
-
*/
|
|
2383
|
-
journey_tags?: string[];
|
|
2384
|
-
/**
|
|
2385
|
-
* The URL parameters of the journey.
|
|
2386
|
-
*/
|
|
2387
|
-
journey_url_params?: {
|
|
2388
|
-
[name: string]: any;
|
|
2389
|
-
};
|
|
2390
2448
|
/**
|
|
2391
2449
|
* The name of the step where the products selection is happening.
|
|
2392
2450
|
* example:
|
|
@@ -3487,6 +3545,40 @@ declare namespace Components {
|
|
|
3487
3545
|
* The sum of amounts of the price items by recurrence.
|
|
3488
3546
|
*/
|
|
3489
3547
|
recurrences?: (/* An amount associated with a specific recurrence. */ RecurrenceAmount)[];
|
|
3548
|
+
/**
|
|
3549
|
+
* The coupons applicable to the price item
|
|
3550
|
+
*/
|
|
3551
|
+
_coupons?: (/**
|
|
3552
|
+
* The coupon configuration
|
|
3553
|
+
* example:
|
|
3554
|
+
* {
|
|
3555
|
+
* "_id": "123e4567-e89b-12d3-a456-426614174000",
|
|
3556
|
+
* "_schema": "coupon",
|
|
3557
|
+
* "_org": "org_12345",
|
|
3558
|
+
* "_created_at": "2024-01-15T10:00:00.000Z",
|
|
3559
|
+
* "_updated_at": "2024-01-20T12:00:00.000Z",
|
|
3560
|
+
* "_title": "Sample Coupon",
|
|
3561
|
+
* "name": "Sample Coupon",
|
|
3562
|
+
* "type": "fixed",
|
|
3563
|
+
* "fixed_value": 555,
|
|
3564
|
+
* "fixed_value_currency": "USD",
|
|
3565
|
+
* "fixed_value_decimal": "5.55",
|
|
3566
|
+
* "active": true,
|
|
3567
|
+
* "prices": {
|
|
3568
|
+
* "$relation": [
|
|
3569
|
+
* {
|
|
3570
|
+
* "entity_id": "abc12345-def6-7890-gh12-ijklmnopqrst",
|
|
3571
|
+
* "_tags": [
|
|
3572
|
+
* "discount",
|
|
3573
|
+
* "special"
|
|
3574
|
+
* ],
|
|
3575
|
+
* "_schema": "price"
|
|
3576
|
+
* }
|
|
3577
|
+
* ]
|
|
3578
|
+
* }
|
|
3579
|
+
* }
|
|
3580
|
+
*/
|
|
3581
|
+
Coupon)[];
|
|
3490
3582
|
/**
|
|
3491
3583
|
* 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
3584
|
*/
|
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'."
|
|
@@ -5414,18 +5426,6 @@
|
|
|
5414
5426
|
"description": "The name of the journey.",
|
|
5415
5427
|
"example": "journey name"
|
|
5416
5428
|
},
|
|
5417
|
-
"journey_tags": {
|
|
5418
|
-
"type": "array",
|
|
5419
|
-
"items": {
|
|
5420
|
-
"type": "string"
|
|
5421
|
-
},
|
|
5422
|
-
"description": "The tags of the journey."
|
|
5423
|
-
},
|
|
5424
|
-
"journey_url_params": {
|
|
5425
|
-
"type": "object",
|
|
5426
|
-
"description": "The URL parameters of the journey.",
|
|
5427
|
-
"additionalProperties": true
|
|
5428
|
-
},
|
|
5429
5429
|
"current_step_name": {
|
|
5430
5430
|
"description": "The name of the step where the products selection is happening.",
|
|
5431
5431
|
"type": "string",
|