@epilot/pricing-client 2.0.1 → 2.1.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/definition.js +1 -1
- package/dist/openapi.d.ts +320 -79
- package/dist/openapi.json +191 -44
- package/package.json +2 -2
package/dist/openapi.d.ts
CHANGED
|
@@ -21,47 +21,47 @@ declare namespace Components {
|
|
|
21
21
|
/**
|
|
22
22
|
* The first line of the address. Typically the street address or PO Box number.
|
|
23
23
|
*/
|
|
24
|
-
street?: string;
|
|
24
|
+
street?: string | null;
|
|
25
25
|
/**
|
|
26
26
|
* The second line of the address. Typically the number of the apartment, suite, or unit.
|
|
27
27
|
*/
|
|
28
|
-
street_number?: string;
|
|
28
|
+
street_number?: string | null;
|
|
29
29
|
/**
|
|
30
30
|
* The postal code for the address.
|
|
31
31
|
*/
|
|
32
|
-
postal_code?: string;
|
|
32
|
+
postal_code?: string | null;
|
|
33
33
|
/**
|
|
34
34
|
* The name of the city, district, village, or town.
|
|
35
35
|
*/
|
|
36
|
-
city?: string;
|
|
36
|
+
city?: string | null;
|
|
37
37
|
/**
|
|
38
38
|
* The two-letter code for the country of the address.
|
|
39
39
|
*/
|
|
40
|
-
country?: string;
|
|
40
|
+
country?: string | null;
|
|
41
41
|
/**
|
|
42
42
|
* An additional description for the address
|
|
43
43
|
*/
|
|
44
|
-
additional_info?: string;
|
|
44
|
+
additional_info?: string | null;
|
|
45
45
|
/**
|
|
46
46
|
* the company name, usually used as extra delivery instructions
|
|
47
47
|
*/
|
|
48
|
-
company_name?: string;
|
|
48
|
+
company_name?: string | null;
|
|
49
49
|
/**
|
|
50
50
|
* the first name of the recipient, usually used as extra delivery instructions
|
|
51
51
|
*/
|
|
52
|
-
first_name?: string;
|
|
52
|
+
first_name?: string | null;
|
|
53
53
|
/**
|
|
54
54
|
* the last name of the recipient, usually used as extra delivery instructions
|
|
55
55
|
*/
|
|
56
|
-
last_name?: string;
|
|
56
|
+
last_name?: string | null;
|
|
57
57
|
/**
|
|
58
58
|
* the salutation of the recipient, usually used as extra delivery instructions
|
|
59
59
|
*/
|
|
60
|
-
salutation?: string;
|
|
60
|
+
salutation?: string | null;
|
|
61
61
|
/**
|
|
62
62
|
* the title of the recipient, usually used as extra delivery instructions
|
|
63
63
|
*/
|
|
64
|
-
title?: string;
|
|
64
|
+
title?: string | null;
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
67
|
* Availability check request payload
|
|
@@ -353,6 +353,251 @@ declare namespace Components {
|
|
|
353
353
|
* The checkout mode for the cart checkout.
|
|
354
354
|
*/
|
|
355
355
|
export type CheckoutMode = "create_order" | "create_invoice" | "create_quote";
|
|
356
|
+
/**
|
|
357
|
+
* The price entity schema for dynamic pricing
|
|
358
|
+
* example:
|
|
359
|
+
* {
|
|
360
|
+
* "$ref": "#/components/examples/composite-price"
|
|
361
|
+
* }
|
|
362
|
+
*/
|
|
363
|
+
export interface CompositePrice {
|
|
364
|
+
[name: string]: any;
|
|
365
|
+
/**
|
|
366
|
+
* Whether the price can be used for new purchases.
|
|
367
|
+
*/
|
|
368
|
+
active?: boolean;
|
|
369
|
+
/**
|
|
370
|
+
* A brief description of the price.
|
|
371
|
+
*/
|
|
372
|
+
description?: string;
|
|
373
|
+
/**
|
|
374
|
+
* A set of [price](/api/pricing#tag/simple_price_schema) components that define the composite price.
|
|
375
|
+
*/
|
|
376
|
+
price_components?: {
|
|
377
|
+
$relation?: PriceComponentRelation[];
|
|
378
|
+
};
|
|
379
|
+
/**
|
|
380
|
+
* Three-letter ISO currency code, in lowercase.
|
|
381
|
+
*/
|
|
382
|
+
unit_amount_currency?: /* Three-letter ISO currency code, in lowercase. */ /**
|
|
383
|
+
* Three-letter ISO currency code, in lowercase. Must be a supported currency.
|
|
384
|
+
* ISO 4217 CURRENCY CODES as specified in the documentation: https://www.iso.org/iso-4217-currency-codes.html
|
|
385
|
+
*
|
|
386
|
+
* example:
|
|
387
|
+
* EUR
|
|
388
|
+
*/
|
|
389
|
+
Currency;
|
|
390
|
+
/**
|
|
391
|
+
* The price creation date
|
|
392
|
+
*/
|
|
393
|
+
_created_at?: string;
|
|
394
|
+
/**
|
|
395
|
+
* The price id
|
|
396
|
+
*/
|
|
397
|
+
_id?: string;
|
|
398
|
+
/**
|
|
399
|
+
* The price autogenerated title
|
|
400
|
+
*/
|
|
401
|
+
_title?: string;
|
|
402
|
+
/**
|
|
403
|
+
* The price last update date
|
|
404
|
+
*/
|
|
405
|
+
_updated_at?: string;
|
|
406
|
+
/**
|
|
407
|
+
* The organization id the price belongs to
|
|
408
|
+
*/
|
|
409
|
+
_org_id?: string;
|
|
410
|
+
/**
|
|
411
|
+
* An arbitrary set of tags attached to the composite price
|
|
412
|
+
*/
|
|
413
|
+
_tags?: string[];
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* Represents a composite price input to the pricing library.
|
|
417
|
+
* example:
|
|
418
|
+
* {
|
|
419
|
+
* "$ref": "#/components/examples/price-item"
|
|
420
|
+
* }
|
|
421
|
+
*/
|
|
422
|
+
export interface CompositePriceItem {
|
|
423
|
+
/**
|
|
424
|
+
* price item id
|
|
425
|
+
*/
|
|
426
|
+
id?: string;
|
|
427
|
+
metadata?: /* A set of key-value pairs used to store meta data information about an entity. */ MetaData;
|
|
428
|
+
/**
|
|
429
|
+
* The unit amount value
|
|
430
|
+
*/
|
|
431
|
+
unit_amount?: number;
|
|
432
|
+
/**
|
|
433
|
+
* Total before any (discounts or) taxes are applied.
|
|
434
|
+
*/
|
|
435
|
+
amount_subtotal?: number;
|
|
436
|
+
/**
|
|
437
|
+
* Net unit amount without taxes or discounts.
|
|
438
|
+
*/
|
|
439
|
+
unit_amount_net?: number;
|
|
440
|
+
/**
|
|
441
|
+
* Total after (discounts and) taxes.
|
|
442
|
+
*/
|
|
443
|
+
amount_total?: number;
|
|
444
|
+
currency?: /**
|
|
445
|
+
* Three-letter ISO currency code, in lowercase. Must be a supported currency.
|
|
446
|
+
* ISO 4217 CURRENCY CODES as specified in the documentation: https://www.iso.org/iso-4217-currency-codes.html
|
|
447
|
+
*
|
|
448
|
+
* example:
|
|
449
|
+
* EUR
|
|
450
|
+
*/
|
|
451
|
+
Currency;
|
|
452
|
+
/**
|
|
453
|
+
* An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name.
|
|
454
|
+
*/
|
|
455
|
+
description?: string;
|
|
456
|
+
/**
|
|
457
|
+
* The quantity of products being purchased.
|
|
458
|
+
*/
|
|
459
|
+
quantity?: number;
|
|
460
|
+
/**
|
|
461
|
+
* The id of the product.
|
|
462
|
+
*/
|
|
463
|
+
product_id?: string;
|
|
464
|
+
/**
|
|
465
|
+
* The id of the price.
|
|
466
|
+
*/
|
|
467
|
+
price_id?: string;
|
|
468
|
+
/**
|
|
469
|
+
* The flag for prices that contain price components.
|
|
470
|
+
*/
|
|
471
|
+
is_composite_price?: boolean;
|
|
472
|
+
/**
|
|
473
|
+
* The price snapshot data.
|
|
474
|
+
*/
|
|
475
|
+
_price?: /* The price snapshot data. */ /**
|
|
476
|
+
* The price entity schema for simple pricing
|
|
477
|
+
* example:
|
|
478
|
+
* {
|
|
479
|
+
* "$ref": "#/components/examples/price"
|
|
480
|
+
* }
|
|
481
|
+
*/
|
|
482
|
+
Price | /**
|
|
483
|
+
* The price entity schema for dynamic pricing
|
|
484
|
+
* example:
|
|
485
|
+
* {
|
|
486
|
+
* "$ref": "#/components/examples/composite-price"
|
|
487
|
+
* }
|
|
488
|
+
*/
|
|
489
|
+
CompositePrice;
|
|
490
|
+
/**
|
|
491
|
+
* The product snapshot data.
|
|
492
|
+
*/
|
|
493
|
+
_product?: /* The product snapshot data. */ /**
|
|
494
|
+
* The product entity
|
|
495
|
+
* example:
|
|
496
|
+
* {
|
|
497
|
+
* "$ref": "#/components/examples/product"
|
|
498
|
+
* }
|
|
499
|
+
*/
|
|
500
|
+
Product;
|
|
501
|
+
/**
|
|
502
|
+
* The taxes applied to the price item.
|
|
503
|
+
*/
|
|
504
|
+
taxes?: (/* A tax amount associated with a specific tax rate. */ TaxAmount)[];
|
|
505
|
+
/**
|
|
506
|
+
* The sum of amounts of the price items by recurrence.
|
|
507
|
+
*/
|
|
508
|
+
recurrences?: (/* An amount associated with a specific recurrence. */ RecurrenceAmount)[];
|
|
509
|
+
/**
|
|
510
|
+
* Contains price item configurations, per price component, when the main price item is a [composite price](/api/pricing#tag/dynamic_price_schema).
|
|
511
|
+
*/
|
|
512
|
+
item_components?: /**
|
|
513
|
+
* Represents a price item
|
|
514
|
+
* example:
|
|
515
|
+
* {
|
|
516
|
+
* "$ref": "#/components/examples/price-item"
|
|
517
|
+
* }
|
|
518
|
+
*/
|
|
519
|
+
PriceItem[];
|
|
520
|
+
}
|
|
521
|
+
/**
|
|
522
|
+
* Represents a composite price input to the pricing library.
|
|
523
|
+
*/
|
|
524
|
+
export interface CompositePriceItemDto {
|
|
525
|
+
metadata?: /* A set of key-value pairs used to store meta data information about an entity. */ MetaData;
|
|
526
|
+
/**
|
|
527
|
+
* The quantity of products being purchased.
|
|
528
|
+
*/
|
|
529
|
+
quantity?: number;
|
|
530
|
+
/**
|
|
531
|
+
* An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name.
|
|
532
|
+
*/
|
|
533
|
+
description?: string;
|
|
534
|
+
/**
|
|
535
|
+
* The id of the product.
|
|
536
|
+
*/
|
|
537
|
+
product_id?: string;
|
|
538
|
+
/**
|
|
539
|
+
* The id of the price.
|
|
540
|
+
*/
|
|
541
|
+
price_id?: string;
|
|
542
|
+
/**
|
|
543
|
+
* The unit amount value
|
|
544
|
+
*/
|
|
545
|
+
unit_amount?: number;
|
|
546
|
+
/**
|
|
547
|
+
* Three-letter ISO currency code, in lowercase.
|
|
548
|
+
*/
|
|
549
|
+
unit_amount_currency?: /* Three-letter ISO currency code, in lowercase. */ /**
|
|
550
|
+
* Three-letter ISO currency code, in lowercase. Must be a supported currency.
|
|
551
|
+
* ISO 4217 CURRENCY CODES as specified in the documentation: https://www.iso.org/iso-4217-currency-codes.html
|
|
552
|
+
*
|
|
553
|
+
* example:
|
|
554
|
+
* EUR
|
|
555
|
+
*/
|
|
556
|
+
Currency;
|
|
557
|
+
/**
|
|
558
|
+
* The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places.
|
|
559
|
+
*/
|
|
560
|
+
unit_amount_decimal?: string;
|
|
561
|
+
/**
|
|
562
|
+
* The flag for prices that contain price components.
|
|
563
|
+
*/
|
|
564
|
+
is_composite_price?: boolean;
|
|
565
|
+
/**
|
|
566
|
+
* The taxes applied to the price item.
|
|
567
|
+
*/
|
|
568
|
+
taxes?: (/* A valid tax rate from a client. */ TaxAmountDto)[];
|
|
569
|
+
/**
|
|
570
|
+
* The taxes applied to the price item.
|
|
571
|
+
*/
|
|
572
|
+
recurrences?: (/* An amount associated with a specific recurrence. */ RecurrenceAmountDto)[];
|
|
573
|
+
_price?: /**
|
|
574
|
+
* The price entity schema for simple pricing
|
|
575
|
+
* example:
|
|
576
|
+
* {
|
|
577
|
+
* "$ref": "#/components/examples/price"
|
|
578
|
+
* }
|
|
579
|
+
*/
|
|
580
|
+
Price | /**
|
|
581
|
+
* The price entity schema for dynamic pricing
|
|
582
|
+
* example:
|
|
583
|
+
* {
|
|
584
|
+
* "$ref": "#/components/examples/composite-price"
|
|
585
|
+
* }
|
|
586
|
+
*/
|
|
587
|
+
CompositePrice;
|
|
588
|
+
_product?: /**
|
|
589
|
+
* The product entity
|
|
590
|
+
* example:
|
|
591
|
+
* {
|
|
592
|
+
* "$ref": "#/components/examples/product"
|
|
593
|
+
* }
|
|
594
|
+
*/
|
|
595
|
+
Product;
|
|
596
|
+
/**
|
|
597
|
+
* Contains price item configurations, per price component, when the main price item is a [composite price](/api/pricing#tag/dynamic_price_schema).
|
|
598
|
+
*/
|
|
599
|
+
item_components?: /* Represents a valid price item from a client. */ PriceItemDto[];
|
|
600
|
+
}
|
|
356
601
|
/**
|
|
357
602
|
* Three-letter ISO currency code, in lowercase. Must be a supported currency.
|
|
358
603
|
* ISO 4217 CURRENCY CODES as specified in the documentation: https://www.iso.org/iso-4217-currency-codes.html
|
|
@@ -971,54 +1216,6 @@ declare namespace Components {
|
|
|
971
1216
|
*/
|
|
972
1217
|
_tags?: string[];
|
|
973
1218
|
}
|
|
974
|
-
/**
|
|
975
|
-
* The price entity schema for dynamic pricing
|
|
976
|
-
* example:
|
|
977
|
-
* {
|
|
978
|
-
* "$ref": "#/components/examples/price-bundle"
|
|
979
|
-
* }
|
|
980
|
-
*/
|
|
981
|
-
export interface PriceBundle {
|
|
982
|
-
[name: string]: any;
|
|
983
|
-
/**
|
|
984
|
-
* Whether the price can be used for new purchases.
|
|
985
|
-
*/
|
|
986
|
-
active?: boolean;
|
|
987
|
-
/**
|
|
988
|
-
* A brief description of the price.
|
|
989
|
-
*/
|
|
990
|
-
description?: string;
|
|
991
|
-
/**
|
|
992
|
-
* A set of [price](/api/pricing#tag/simple_price_schema) components that define the price bundle.
|
|
993
|
-
*/
|
|
994
|
-
price_components?: {
|
|
995
|
-
$relation?: PriceComponentRelation[];
|
|
996
|
-
};
|
|
997
|
-
/**
|
|
998
|
-
* The price creation date
|
|
999
|
-
*/
|
|
1000
|
-
_created_at?: string;
|
|
1001
|
-
/**
|
|
1002
|
-
* The price id
|
|
1003
|
-
*/
|
|
1004
|
-
_id?: string;
|
|
1005
|
-
/**
|
|
1006
|
-
* The price autogenerated title
|
|
1007
|
-
*/
|
|
1008
|
-
_title?: string;
|
|
1009
|
-
/**
|
|
1010
|
-
* The price last update date
|
|
1011
|
-
*/
|
|
1012
|
-
_updated_at?: string;
|
|
1013
|
-
/**
|
|
1014
|
-
* The organization id the price belongs to
|
|
1015
|
-
*/
|
|
1016
|
-
_org_id?: string;
|
|
1017
|
-
/**
|
|
1018
|
-
* An arbitrary set of tags attached to the price bundle
|
|
1019
|
-
*/
|
|
1020
|
-
_tags?: string[];
|
|
1021
|
-
}
|
|
1022
1219
|
export interface PriceComponentRelation {
|
|
1023
1220
|
/**
|
|
1024
1221
|
* The id of the price component
|
|
@@ -1030,8 +1227,16 @@ declare namespace Components {
|
|
|
1030
1227
|
*
|
|
1031
1228
|
*/
|
|
1032
1229
|
quantity?: number;
|
|
1230
|
+
item?: /**
|
|
1231
|
+
* The price entity schema for simple pricing
|
|
1232
|
+
* example:
|
|
1233
|
+
* {
|
|
1234
|
+
* "$ref": "#/components/examples/price"
|
|
1235
|
+
* }
|
|
1236
|
+
*/
|
|
1237
|
+
Price;
|
|
1033
1238
|
/**
|
|
1034
|
-
* An arbitrary set of tags attached to the
|
|
1239
|
+
* An arbitrary set of tags attached to the composite price - component relation
|
|
1035
1240
|
*/
|
|
1036
1241
|
_tags?: string[];
|
|
1037
1242
|
}
|
|
@@ -1039,7 +1244,7 @@ declare namespace Components {
|
|
|
1039
1244
|
* Represents a price item
|
|
1040
1245
|
* example:
|
|
1041
1246
|
* {
|
|
1042
|
-
* "$ref": "#/components/examples/
|
|
1247
|
+
* "$ref": "#/components/examples/price-item"
|
|
1043
1248
|
* }
|
|
1044
1249
|
*/
|
|
1045
1250
|
export interface PriceItem {
|
|
@@ -1048,10 +1253,6 @@ declare namespace Components {
|
|
|
1048
1253
|
*/
|
|
1049
1254
|
id?: string;
|
|
1050
1255
|
metadata?: /* A set of key-value pairs used to store meta data information about an entity. */ MetaData;
|
|
1051
|
-
/**
|
|
1052
|
-
* Contains price item configurations, per price component, when the main price item is a [price bundle](/api/pricing#tag/dynamic_price_schema).
|
|
1053
|
-
*/
|
|
1054
|
-
item_components?: PriceItemComponent[];
|
|
1055
1256
|
/**
|
|
1056
1257
|
* The unit amount value
|
|
1057
1258
|
*/
|
|
@@ -1092,6 +1293,10 @@ declare namespace Components {
|
|
|
1092
1293
|
* The id of the price.
|
|
1093
1294
|
*/
|
|
1094
1295
|
price_id?: string;
|
|
1296
|
+
/**
|
|
1297
|
+
* The flag for prices that contain price components.
|
|
1298
|
+
*/
|
|
1299
|
+
is_composite_price?: boolean;
|
|
1095
1300
|
/**
|
|
1096
1301
|
* The price snapshot data.
|
|
1097
1302
|
*/
|
|
@@ -1102,7 +1307,14 @@ declare namespace Components {
|
|
|
1102
1307
|
* "$ref": "#/components/examples/price"
|
|
1103
1308
|
* }
|
|
1104
1309
|
*/
|
|
1105
|
-
Price
|
|
1310
|
+
Price | /**
|
|
1311
|
+
* The price entity schema for dynamic pricing
|
|
1312
|
+
* example:
|
|
1313
|
+
* {
|
|
1314
|
+
* "$ref": "#/components/examples/composite-price"
|
|
1315
|
+
* }
|
|
1316
|
+
*/
|
|
1317
|
+
CompositePrice;
|
|
1106
1318
|
/**
|
|
1107
1319
|
* The product snapshot data.
|
|
1108
1320
|
*/
|
|
@@ -1123,14 +1335,6 @@ declare namespace Components {
|
|
|
1123
1335
|
*/
|
|
1124
1336
|
recurrences?: (/* An amount associated with a specific recurrence. */ RecurrenceAmount)[];
|
|
1125
1337
|
}
|
|
1126
|
-
export type PriceItemComponent = /**
|
|
1127
|
-
* Represents a price item
|
|
1128
|
-
* example:
|
|
1129
|
-
* {
|
|
1130
|
-
* "$ref": "#/components/examples/order-with-simple-prices"
|
|
1131
|
-
* }
|
|
1132
|
-
*/
|
|
1133
|
-
PriceItem;
|
|
1134
1338
|
/**
|
|
1135
1339
|
* Represents a valid price item from a client.
|
|
1136
1340
|
*/
|
|
@@ -1152,6 +1356,29 @@ declare namespace Components {
|
|
|
1152
1356
|
* The id of the price.
|
|
1153
1357
|
*/
|
|
1154
1358
|
price_id?: string;
|
|
1359
|
+
/**
|
|
1360
|
+
* The unit amount value
|
|
1361
|
+
*/
|
|
1362
|
+
unit_amount?: number;
|
|
1363
|
+
/**
|
|
1364
|
+
* Three-letter ISO currency code, in lowercase.
|
|
1365
|
+
*/
|
|
1366
|
+
unit_amount_currency?: /* Three-letter ISO currency code, in lowercase. */ /**
|
|
1367
|
+
* Three-letter ISO currency code, in lowercase. Must be a supported currency.
|
|
1368
|
+
* ISO 4217 CURRENCY CODES as specified in the documentation: https://www.iso.org/iso-4217-currency-codes.html
|
|
1369
|
+
*
|
|
1370
|
+
* example:
|
|
1371
|
+
* EUR
|
|
1372
|
+
*/
|
|
1373
|
+
Currency;
|
|
1374
|
+
/**
|
|
1375
|
+
* The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places.
|
|
1376
|
+
*/
|
|
1377
|
+
unit_amount_decimal?: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* The flag for prices that contain price components.
|
|
1380
|
+
*/
|
|
1381
|
+
is_composite_price?: boolean;
|
|
1155
1382
|
/**
|
|
1156
1383
|
* The taxes applied to the price item.
|
|
1157
1384
|
*/
|
|
@@ -1167,7 +1394,14 @@ declare namespace Components {
|
|
|
1167
1394
|
* "$ref": "#/components/examples/price"
|
|
1168
1395
|
* }
|
|
1169
1396
|
*/
|
|
1170
|
-
Price
|
|
1397
|
+
Price | /**
|
|
1398
|
+
* The price entity schema for dynamic pricing
|
|
1399
|
+
* example:
|
|
1400
|
+
* {
|
|
1401
|
+
* "$ref": "#/components/examples/composite-price"
|
|
1402
|
+
* }
|
|
1403
|
+
*/
|
|
1404
|
+
CompositePrice;
|
|
1171
1405
|
/**
|
|
1172
1406
|
* The product linked to the price item.
|
|
1173
1407
|
*/
|
|
@@ -1187,10 +1421,17 @@ declare namespace Components {
|
|
|
1187
1421
|
* Represents a price item
|
|
1188
1422
|
* example:
|
|
1189
1423
|
* {
|
|
1190
|
-
* "$ref": "#/components/examples/
|
|
1424
|
+
* "$ref": "#/components/examples/price-item"
|
|
1191
1425
|
* }
|
|
1192
1426
|
*/
|
|
1193
|
-
PriceItem
|
|
1427
|
+
PriceItem | /**
|
|
1428
|
+
* Represents a composite price input to the pricing library.
|
|
1429
|
+
* example:
|
|
1430
|
+
* {
|
|
1431
|
+
* "$ref": "#/components/examples/price-item"
|
|
1432
|
+
* }
|
|
1433
|
+
*/
|
|
1434
|
+
CompositePriceItem)[];
|
|
1194
1435
|
/**
|
|
1195
1436
|
* A valid set of product prices, quantities, (discounts) and taxes from a client.
|
|
1196
1437
|
*/
|
|
@@ -1203,7 +1444,7 @@ declare namespace Components {
|
|
|
1203
1444
|
* Represents a price item
|
|
1204
1445
|
* example:
|
|
1205
1446
|
* {
|
|
1206
|
-
* "$ref": "#/components/examples/
|
|
1447
|
+
* "$ref": "#/components/examples/price-item"
|
|
1207
1448
|
* }
|
|
1208
1449
|
*/
|
|
1209
1450
|
PriceItem)[];
|
|
@@ -1272,7 +1513,7 @@ declare namespace Components {
|
|
|
1272
1513
|
$relation?: EntityRelation[];
|
|
1273
1514
|
};
|
|
1274
1515
|
/**
|
|
1275
|
-
* A set of [prices](/api/pricing#tag/simple_price_schema) or [
|
|
1516
|
+
* A set of [prices](/api/pricing#tag/simple_price_schema) or [composite prices](/api/pricing#tag/dynamic_price_schema) for the current product.
|
|
1276
1517
|
*/
|
|
1277
1518
|
price_options?: {
|
|
1278
1519
|
$relation?: EntityRelation[];
|