@epilot/pricing-client 3.9.1 → 3.9.2
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 +4 -0
- package/dist/openapi.json +64 -223
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
package/dist/openapi.json
CHANGED
|
@@ -66,24 +66,15 @@
|
|
|
66
66
|
"x-tagGroups": [
|
|
67
67
|
{
|
|
68
68
|
"name": "Commerce Schemas",
|
|
69
|
-
"tags": [
|
|
70
|
-
"order_schema",
|
|
71
|
-
"opportunity_schema"
|
|
72
|
-
]
|
|
69
|
+
"tags": ["order_schema", "opportunity_schema"]
|
|
73
70
|
},
|
|
74
71
|
{
|
|
75
72
|
"name": "Pricing Schemas",
|
|
76
|
-
"tags": [
|
|
77
|
-
"product_schema",
|
|
78
|
-
"simple_price_schema",
|
|
79
|
-
"dynamic_price_schema"
|
|
80
|
-
]
|
|
73
|
+
"tags": ["product_schema", "simple_price_schema", "dynamic_price_schema"]
|
|
81
74
|
},
|
|
82
75
|
{
|
|
83
76
|
"name": "Examples",
|
|
84
|
-
"tags": [
|
|
85
|
-
"order_composite_prices"
|
|
86
|
-
]
|
|
77
|
+
"tags": ["order_composite_prices"]
|
|
87
78
|
},
|
|
88
79
|
{
|
|
89
80
|
"name": "APIs",
|
|
@@ -115,9 +106,7 @@
|
|
|
115
106
|
"description": "Create an order",
|
|
116
107
|
"operationId": "createOrder",
|
|
117
108
|
"summary": "createOrder",
|
|
118
|
-
"tags": [
|
|
119
|
-
"Order API"
|
|
120
|
-
],
|
|
109
|
+
"tags": ["Order API"],
|
|
121
110
|
"requestBody": {
|
|
122
111
|
"required": true,
|
|
123
112
|
"content": {
|
|
@@ -183,9 +172,7 @@
|
|
|
183
172
|
"delivery_address": [],
|
|
184
173
|
"dates": [
|
|
185
174
|
{
|
|
186
|
-
"_tags": [
|
|
187
|
-
"Instalation Date"
|
|
188
|
-
],
|
|
175
|
+
"_tags": ["Instalation Date"],
|
|
189
176
|
"dates": "",
|
|
190
177
|
"value": "2022-06-30T16:29:00.000Z"
|
|
191
178
|
}
|
|
@@ -249,9 +236,7 @@
|
|
|
249
236
|
"delivery_address": [],
|
|
250
237
|
"dates": [
|
|
251
238
|
{
|
|
252
|
-
"_tags": [
|
|
253
|
-
"Instalation Date"
|
|
254
|
-
],
|
|
239
|
+
"_tags": ["Instalation Date"],
|
|
255
240
|
"dates": "",
|
|
256
241
|
"value": "2022-06-30T16:29:00.000Z"
|
|
257
242
|
}
|
|
@@ -324,9 +309,7 @@
|
|
|
324
309
|
"delivery_address": [],
|
|
325
310
|
"dates": [
|
|
326
311
|
{
|
|
327
|
-
"_tags": [
|
|
328
|
-
"Instalation Date"
|
|
329
|
-
],
|
|
312
|
+
"_tags": ["Instalation Date"],
|
|
330
313
|
"dates": "",
|
|
331
314
|
"value": "2022-06-30T16:29:00.000Z"
|
|
332
315
|
}
|
|
@@ -369,9 +352,7 @@
|
|
|
369
352
|
"description": "Update an existing Order",
|
|
370
353
|
"operationId": "putOrder",
|
|
371
354
|
"summary": "putOrder",
|
|
372
|
-
"tags": [
|
|
373
|
-
"Order API"
|
|
374
|
-
],
|
|
355
|
+
"tags": ["Order API"],
|
|
375
356
|
"parameters": [
|
|
376
357
|
{
|
|
377
358
|
"in": "path",
|
|
@@ -452,9 +433,7 @@
|
|
|
452
433
|
"delivery_address": [],
|
|
453
434
|
"dates": [
|
|
454
435
|
{
|
|
455
|
-
"_tags": [
|
|
456
|
-
"Instalation Date"
|
|
457
|
-
],
|
|
436
|
+
"_tags": ["Instalation Date"],
|
|
458
437
|
"dates": "",
|
|
459
438
|
"value": "2022-06-30T16:29:00.000Z"
|
|
460
439
|
}
|
|
@@ -495,9 +474,7 @@
|
|
|
495
474
|
"operationId": "$checkoutCart",
|
|
496
475
|
"summary": "checkoutCart",
|
|
497
476
|
"security": [],
|
|
498
|
-
"tags": [
|
|
499
|
-
"Cart API"
|
|
500
|
-
],
|
|
477
|
+
"tags": ["Cart API"],
|
|
501
478
|
"parameters": [
|
|
502
479
|
{
|
|
503
480
|
"in": "header",
|
|
@@ -559,9 +536,7 @@
|
|
|
559
536
|
"operationId": "$searchCatalog",
|
|
560
537
|
"summary": "searchCatalog",
|
|
561
538
|
"security": [],
|
|
562
|
-
"tags": [
|
|
563
|
-
"Catalog API"
|
|
564
|
-
],
|
|
539
|
+
"tags": ["Catalog API"],
|
|
565
540
|
"parameters": [
|
|
566
541
|
{
|
|
567
542
|
"in": "header",
|
|
@@ -613,9 +588,7 @@
|
|
|
613
588
|
"operationId": "$availabilityCheck",
|
|
614
589
|
"summary": "availabilityCheck",
|
|
615
590
|
"security": [],
|
|
616
|
-
"tags": [
|
|
617
|
-
"Availability API"
|
|
618
|
-
],
|
|
591
|
+
"tags": ["Availability API"],
|
|
619
592
|
"parameters": [
|
|
620
593
|
{
|
|
621
594
|
"in": "header",
|
|
@@ -637,9 +610,7 @@
|
|
|
637
610
|
"examples": {
|
|
638
611
|
"Check availability with location dimension": {
|
|
639
612
|
"value": {
|
|
640
|
-
"products": [
|
|
641
|
-
"cd75456a-30e4-4912-95be-e743d5ea175b"
|
|
642
|
-
],
|
|
613
|
+
"products": ["cd75456a-30e4-4912-95be-e743d5ea175b"],
|
|
643
614
|
"filters": {
|
|
644
615
|
"location": {
|
|
645
616
|
"postal_code": "57008",
|
|
@@ -652,9 +623,7 @@
|
|
|
652
623
|
},
|
|
653
624
|
"Check availability with location & available date dimension": {
|
|
654
625
|
"value": {
|
|
655
|
-
"products": [
|
|
656
|
-
"cd75456a-30e4-4912-95be-e743d5ea175b"
|
|
657
|
-
],
|
|
626
|
+
"products": ["cd75456a-30e4-4912-95be-e743d5ea175b"],
|
|
658
627
|
"filters": {
|
|
659
628
|
"location": {
|
|
660
629
|
"postal_code": "57008",
|
|
@@ -699,9 +668,7 @@
|
|
|
699
668
|
},
|
|
700
669
|
"Response with available and unavailable products": {
|
|
701
670
|
"value": {
|
|
702
|
-
"availableProducts": [
|
|
703
|
-
"my-product-id-123-2"
|
|
704
|
-
],
|
|
671
|
+
"availableProducts": ["my-product-id-123-2"],
|
|
705
672
|
"checkResults": [
|
|
706
673
|
{
|
|
707
674
|
"productId": "my-product-id-123-1",
|
|
@@ -738,9 +705,7 @@
|
|
|
738
705
|
"description": "Validates an availability file, it returns an array of errors if the file is invalid",
|
|
739
706
|
"operationId": "$validateAvailabilityFile",
|
|
740
707
|
"summary": "validateAvailabilityFile",
|
|
741
|
-
"tags": [
|
|
742
|
-
"Availability API"
|
|
743
|
-
],
|
|
708
|
+
"tags": ["Availability API"],
|
|
744
709
|
"parameters": [
|
|
745
710
|
{
|
|
746
711
|
"in": "path",
|
|
@@ -811,9 +776,7 @@
|
|
|
811
776
|
"operationId": "$createOpportunity",
|
|
812
777
|
"summary": "createOpportunity",
|
|
813
778
|
"security": [],
|
|
814
|
-
"tags": [
|
|
815
|
-
"Deprecated"
|
|
816
|
-
],
|
|
779
|
+
"tags": ["Deprecated"],
|
|
817
780
|
"parameters": [
|
|
818
781
|
{
|
|
819
782
|
"in": "header",
|
|
@@ -855,16 +818,11 @@
|
|
|
855
818
|
"$relation": [
|
|
856
819
|
{
|
|
857
820
|
"entity_id": "c8dbe8f3-28b6-4d77-aae8-47bc24a2532f",
|
|
858
|
-
"_tags": [
|
|
859
|
-
"journey"
|
|
860
|
-
]
|
|
821
|
+
"_tags": ["journey"]
|
|
861
822
|
}
|
|
862
823
|
]
|
|
863
824
|
},
|
|
864
|
-
"_tags": [
|
|
865
|
-
"journey",
|
|
866
|
-
"ORWNr4iCN"
|
|
867
|
-
]
|
|
825
|
+
"_tags": ["journey", "ORWNr4iCN"]
|
|
868
826
|
}
|
|
869
827
|
}
|
|
870
828
|
}
|
|
@@ -906,9 +864,7 @@
|
|
|
906
864
|
},
|
|
907
865
|
"schemas": {
|
|
908
866
|
"Error": {
|
|
909
|
-
"required": [
|
|
910
|
-
"message"
|
|
911
|
-
],
|
|
867
|
+
"required": ["message"],
|
|
912
868
|
"properties": {
|
|
913
869
|
"message": {
|
|
914
870
|
"type": "string",
|
|
@@ -944,10 +900,7 @@
|
|
|
944
900
|
"type": {
|
|
945
901
|
"type": "string",
|
|
946
902
|
"description": "The type of Product:\n\n| type | description |\n|----| ----|\n| `product` | Represents a physical good |\n| `service` | Represents a service or virtual product |\n",
|
|
947
|
-
"enum": [
|
|
948
|
-
"product",
|
|
949
|
-
"service"
|
|
950
|
-
]
|
|
903
|
+
"enum": ["product", "service"]
|
|
951
904
|
},
|
|
952
905
|
"name": {
|
|
953
906
|
"type": "string",
|
|
@@ -1544,10 +1497,7 @@
|
|
|
1544
1497
|
"type": {
|
|
1545
1498
|
"type": "string",
|
|
1546
1499
|
"description": "One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.",
|
|
1547
|
-
"enum": [
|
|
1548
|
-
"one_time",
|
|
1549
|
-
"recurring"
|
|
1550
|
-
]
|
|
1500
|
+
"enum": ["one_time", "recurring"]
|
|
1551
1501
|
},
|
|
1552
1502
|
"billing_period": {
|
|
1553
1503
|
"description": "For recurring prices `billing_period` defines the default extent of the recurrence.",
|
|
@@ -1589,11 +1539,7 @@
|
|
|
1589
1539
|
"billing_duration_unit": {
|
|
1590
1540
|
"description": "The billing period duration unit",
|
|
1591
1541
|
"type": "string",
|
|
1592
|
-
"enum": [
|
|
1593
|
-
"weeks",
|
|
1594
|
-
"months",
|
|
1595
|
-
"years"
|
|
1596
|
-
]
|
|
1542
|
+
"enum": ["weeks", "months", "years"]
|
|
1597
1543
|
},
|
|
1598
1544
|
"notice_time_amount": {
|
|
1599
1545
|
"description": "The notice period duration",
|
|
@@ -1602,11 +1548,7 @@
|
|
|
1602
1548
|
"notice_time_unit": {
|
|
1603
1549
|
"description": "The notice period duration unit",
|
|
1604
1550
|
"type": "string",
|
|
1605
|
-
"enum": [
|
|
1606
|
-
"weeks",
|
|
1607
|
-
"months",
|
|
1608
|
-
"years"
|
|
1609
|
-
]
|
|
1551
|
+
"enum": ["weeks", "months", "years"]
|
|
1610
1552
|
},
|
|
1611
1553
|
"termination_time_amount": {
|
|
1612
1554
|
"description": "The termination period duration",
|
|
@@ -1615,11 +1557,7 @@
|
|
|
1615
1557
|
"termination_time_unit": {
|
|
1616
1558
|
"description": "The termination period duration unit",
|
|
1617
1559
|
"type": "string",
|
|
1618
|
-
"enum": [
|
|
1619
|
-
"weeks",
|
|
1620
|
-
"months",
|
|
1621
|
-
"years"
|
|
1622
|
-
]
|
|
1560
|
+
"enum": ["weeks", "months", "years"]
|
|
1623
1561
|
},
|
|
1624
1562
|
"renewal_duration_amount": {
|
|
1625
1563
|
"description": "The renewal period duration",
|
|
@@ -1628,11 +1566,7 @@
|
|
|
1628
1566
|
"renewal_duration_unit": {
|
|
1629
1567
|
"description": "The renewal period duration unit",
|
|
1630
1568
|
"type": "string",
|
|
1631
|
-
"enum": [
|
|
1632
|
-
"weeks",
|
|
1633
|
-
"months",
|
|
1634
|
-
"years"
|
|
1635
|
-
]
|
|
1569
|
+
"enum": ["weeks", "months", "years"]
|
|
1636
1570
|
},
|
|
1637
1571
|
"variable_price": {
|
|
1638
1572
|
"description": "The flag for prices that can be influenced by external variables such as user input.",
|
|
@@ -1694,9 +1628,7 @@
|
|
|
1694
1628
|
}
|
|
1695
1629
|
}
|
|
1696
1630
|
},
|
|
1697
|
-
"required": [
|
|
1698
|
-
"pricing_model"
|
|
1699
|
-
]
|
|
1631
|
+
"required": ["pricing_model"]
|
|
1700
1632
|
},
|
|
1701
1633
|
"CompositePrice": {
|
|
1702
1634
|
"type": "object",
|
|
@@ -1925,9 +1857,7 @@
|
|
|
1925
1857
|
}
|
|
1926
1858
|
}
|
|
1927
1859
|
},
|
|
1928
|
-
"required": [
|
|
1929
|
-
"q"
|
|
1930
|
-
]
|
|
1860
|
+
"required": ["q"]
|
|
1931
1861
|
},
|
|
1932
1862
|
"CatalogSearchResult": {
|
|
1933
1863
|
"description": "The query result payload",
|
|
@@ -1981,10 +1911,7 @@
|
|
|
1981
1911
|
"$ref": "#/components/schemas/AvailabilityFilters"
|
|
1982
1912
|
}
|
|
1983
1913
|
},
|
|
1984
|
-
"required": [
|
|
1985
|
-
"products",
|
|
1986
|
-
"filters"
|
|
1987
|
-
]
|
|
1914
|
+
"required": ["products", "filters"]
|
|
1988
1915
|
},
|
|
1989
1916
|
"AvailabilityResult": {
|
|
1990
1917
|
"description": "The availability check result payload",
|
|
@@ -2016,15 +1943,11 @@
|
|
|
2016
1943
|
"additionalProperties": true
|
|
2017
1944
|
}
|
|
2018
1945
|
},
|
|
2019
|
-
"required": [
|
|
2020
|
-
"product_id"
|
|
2021
|
-
]
|
|
1946
|
+
"required": ["product_id"]
|
|
2022
1947
|
}
|
|
2023
1948
|
}
|
|
2024
1949
|
},
|
|
2025
|
-
"required": [
|
|
2026
|
-
"available_products"
|
|
2027
|
-
],
|
|
1950
|
+
"required": ["available_products"],
|
|
2028
1951
|
"example": {
|
|
2029
1952
|
"available_products": [],
|
|
2030
1953
|
"check_results": [
|
|
@@ -2050,11 +1973,13 @@
|
|
|
2050
1973
|
"msg": {
|
|
2051
1974
|
"description": "The error message",
|
|
2052
1975
|
"type": "string"
|
|
1976
|
+
},
|
|
1977
|
+
"data": {
|
|
1978
|
+
"description": "Data related with the error",
|
|
1979
|
+
"type": "string"
|
|
2053
1980
|
}
|
|
2054
1981
|
},
|
|
2055
|
-
"required": [
|
|
2056
|
-
"msg"
|
|
2057
|
-
]
|
|
1982
|
+
"required": ["msg"]
|
|
2058
1983
|
},
|
|
2059
1984
|
"ValidateAvailabilityFileResult": {
|
|
2060
1985
|
"description": "The availability map file result payload",
|
|
@@ -2063,10 +1988,7 @@
|
|
|
2063
1988
|
"status": {
|
|
2064
1989
|
"description": "The status of the validation",
|
|
2065
1990
|
"type": "string",
|
|
2066
|
-
"enum": [
|
|
2067
|
-
"success",
|
|
2068
|
-
"error"
|
|
2069
|
-
]
|
|
1991
|
+
"enum": ["success", "error"]
|
|
2070
1992
|
},
|
|
2071
1993
|
"rules_parsed_count": {
|
|
2072
1994
|
"description": "The number of rules successfully parsed",
|
|
@@ -2080,11 +2002,7 @@
|
|
|
2080
2002
|
}
|
|
2081
2003
|
}
|
|
2082
2004
|
},
|
|
2083
|
-
"required": [
|
|
2084
|
-
"status",
|
|
2085
|
-
"rules_parsed_count",
|
|
2086
|
-
"errors"
|
|
2087
|
-
],
|
|
2005
|
+
"required": ["status", "rules_parsed_count", "errors"],
|
|
2088
2006
|
"example": {
|
|
2089
2007
|
"rules_parsed_count": 8,
|
|
2090
2008
|
"errors": [
|
|
@@ -2160,9 +2078,7 @@
|
|
|
2160
2078
|
"additionalProperties": true
|
|
2161
2079
|
}
|
|
2162
2080
|
},
|
|
2163
|
-
"required": [
|
|
2164
|
-
"line_items"
|
|
2165
|
-
]
|
|
2081
|
+
"required": ["line_items"]
|
|
2166
2082
|
},
|
|
2167
2083
|
"CheckoutCart": {
|
|
2168
2084
|
"type": "object",
|
|
@@ -2196,21 +2112,11 @@
|
|
|
2196
2112
|
"CheckoutMode": {
|
|
2197
2113
|
"type": "string",
|
|
2198
2114
|
"description": "The checkout mode for the cart checkout.",
|
|
2199
|
-
"enum": [
|
|
2200
|
-
"create_order",
|
|
2201
|
-
"create_invoice",
|
|
2202
|
-
"create_quote"
|
|
2203
|
-
]
|
|
2115
|
+
"enum": ["create_order", "create_invoice", "create_quote"]
|
|
2204
2116
|
},
|
|
2205
2117
|
"OrderStatus": {
|
|
2206
2118
|
"type": "string",
|
|
2207
|
-
"enum": [
|
|
2208
|
-
"draft",
|
|
2209
|
-
"quote",
|
|
2210
|
-
"placed",
|
|
2211
|
-
"cancelled",
|
|
2212
|
-
"completed"
|
|
2213
|
-
],
|
|
2119
|
+
"enum": ["draft", "quote", "placed", "cancelled", "completed"],
|
|
2214
2120
|
"description": "\n| status | description |\n|-------------|-------|\n| `draft` | Starting state for all orders, at this point we can still edit the order |\n| `quote` | The order is in a quoting phase, bound to an expiration date |\n| `placed` | The order has been paid and can now be fulfilled (shipped, delivered, complete) or canceled |\n| `cancelled` | The order has been cancelled |\n| `completed` | The order is now closed and finalized |\n"
|
|
2215
2121
|
},
|
|
2216
2122
|
"PriceItemsDto": {
|
|
@@ -2304,10 +2210,7 @@
|
|
|
2304
2210
|
"type": {
|
|
2305
2211
|
"type": "string",
|
|
2306
2212
|
"description": "One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.",
|
|
2307
|
-
"enum": [
|
|
2308
|
-
"one_time",
|
|
2309
|
-
"recurring"
|
|
2310
|
-
]
|
|
2213
|
+
"enum": ["one_time", "recurring"]
|
|
2311
2214
|
},
|
|
2312
2215
|
"unit_amount": {
|
|
2313
2216
|
"type": "integer",
|
|
@@ -2343,9 +2246,7 @@
|
|
|
2343
2246
|
]
|
|
2344
2247
|
}
|
|
2345
2248
|
},
|
|
2346
|
-
"required": [
|
|
2347
|
-
"pricing_model"
|
|
2348
|
-
]
|
|
2249
|
+
"required": ["pricing_model"]
|
|
2349
2250
|
},
|
|
2350
2251
|
"CompositePriceItemDto": {
|
|
2351
2252
|
"allOf": [
|
|
@@ -2443,10 +2344,7 @@
|
|
|
2443
2344
|
"description": "Total of all items taxes, with same recurrence."
|
|
2444
2345
|
}
|
|
2445
2346
|
},
|
|
2446
|
-
"required": [
|
|
2447
|
-
"amount_subtotal",
|
|
2448
|
-
"amount_total"
|
|
2449
|
-
]
|
|
2347
|
+
"required": ["amount_subtotal", "amount_total"]
|
|
2450
2348
|
},
|
|
2451
2349
|
"Cart": {
|
|
2452
2350
|
"description": "Supports shopping for products and services until ready for checkout.",
|
|
@@ -2461,11 +2359,7 @@
|
|
|
2461
2359
|
"readOnly": true
|
|
2462
2360
|
},
|
|
2463
2361
|
"status": {
|
|
2464
|
-
"enum": [
|
|
2465
|
-
"open",
|
|
2466
|
-
"complete",
|
|
2467
|
-
"expired"
|
|
2468
|
-
],
|
|
2362
|
+
"enum": ["open", "complete", "expired"],
|
|
2469
2363
|
"type": "string",
|
|
2470
2364
|
"readOnly": true,
|
|
2471
2365
|
"description": "The status of the Cart:\n- open - the cart checkout is still in progress. Payment processing has not started\n- complete - the cart checkout is complete. Payment processing may still be in progress\n- expired - the cart checkout has expired. No further processing will occur\n"
|
|
@@ -2765,10 +2659,7 @@
|
|
|
2765
2659
|
"type": {
|
|
2766
2660
|
"type": "string",
|
|
2767
2661
|
"description": "One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.",
|
|
2768
|
-
"enum": [
|
|
2769
|
-
"one_time",
|
|
2770
|
-
"recurring"
|
|
2771
|
-
]
|
|
2662
|
+
"enum": ["one_time", "recurring"]
|
|
2772
2663
|
},
|
|
2773
2664
|
"pricing_model": {
|
|
2774
2665
|
"type": "string",
|
|
@@ -2781,9 +2672,7 @@
|
|
|
2781
2672
|
]
|
|
2782
2673
|
}
|
|
2783
2674
|
},
|
|
2784
|
-
"required": [
|
|
2785
|
-
"pricing_model"
|
|
2786
|
-
]
|
|
2675
|
+
"required": ["pricing_model"]
|
|
2787
2676
|
},
|
|
2788
2677
|
"TaxAmount": {
|
|
2789
2678
|
"type": "object",
|
|
@@ -2869,10 +2758,7 @@
|
|
|
2869
2758
|
"description": "Total of all items taxes, with same recurrence."
|
|
2870
2759
|
}
|
|
2871
2760
|
},
|
|
2872
|
-
"required": [
|
|
2873
|
-
"amount_subtotal",
|
|
2874
|
-
"amount_total"
|
|
2875
|
-
]
|
|
2761
|
+
"required": ["amount_subtotal", "amount_total"]
|
|
2876
2762
|
},
|
|
2877
2763
|
"TotalDetails": {
|
|
2878
2764
|
"type": "object",
|
|
@@ -2964,11 +2850,7 @@
|
|
|
2964
2850
|
},
|
|
2965
2851
|
"SalesTax": {
|
|
2966
2852
|
"type": "string",
|
|
2967
|
-
"enum": [
|
|
2968
|
-
"nontaxable",
|
|
2969
|
-
"reduced",
|
|
2970
|
-
"standard"
|
|
2971
|
-
]
|
|
2853
|
+
"enum": ["nontaxable", "reduced", "standard"]
|
|
2972
2854
|
},
|
|
2973
2855
|
"AvailabilityLocation": {
|
|
2974
2856
|
"type": "object",
|
|
@@ -3026,9 +2908,7 @@
|
|
|
3026
2908
|
"description": "A value to be matched against the availability window (start & end date)"
|
|
3027
2909
|
}
|
|
3028
2910
|
},
|
|
3029
|
-
"required": [
|
|
3030
|
-
"location"
|
|
3031
|
-
]
|
|
2911
|
+
"required": ["location"]
|
|
3032
2912
|
},
|
|
3033
2913
|
"Address": {
|
|
3034
2914
|
"type": "object",
|
|
@@ -3039,9 +2919,7 @@
|
|
|
3039
2919
|
"items": {
|
|
3040
2920
|
"type": "string"
|
|
3041
2921
|
},
|
|
3042
|
-
"example": [
|
|
3043
|
-
"billing"
|
|
3044
|
-
]
|
|
2922
|
+
"example": ["billing"]
|
|
3045
2923
|
},
|
|
3046
2924
|
"street": {
|
|
3047
2925
|
"type": "string",
|
|
@@ -3168,15 +3046,10 @@
|
|
|
3168
3046
|
"type": "string"
|
|
3169
3047
|
}
|
|
3170
3048
|
},
|
|
3171
|
-
"required": [
|
|
3172
|
-
"bucket",
|
|
3173
|
-
"key"
|
|
3174
|
-
]
|
|
3049
|
+
"required": ["bucket", "key"]
|
|
3175
3050
|
}
|
|
3176
3051
|
},
|
|
3177
|
-
"required": [
|
|
3178
|
-
"s3ref"
|
|
3179
|
-
]
|
|
3052
|
+
"required": ["s3ref"]
|
|
3180
3053
|
}
|
|
3181
3054
|
},
|
|
3182
3055
|
"_schema": {
|
|
@@ -3259,10 +3132,7 @@
|
|
|
3259
3132
|
"_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
3260
3133
|
"_org": "123",
|
|
3261
3134
|
"_schema": "contact",
|
|
3262
|
-
"_tags": [
|
|
3263
|
-
"example",
|
|
3264
|
-
"mock"
|
|
3265
|
-
],
|
|
3135
|
+
"_tags": ["example", "mock"],
|
|
3266
3136
|
"_created_at": "2021-02-09T12:41:43.662Z",
|
|
3267
3137
|
"_updated_at": "2021-02-09T12:41:43.662Z"
|
|
3268
3138
|
}
|
|
@@ -3327,11 +3197,7 @@
|
|
|
3327
3197
|
},
|
|
3328
3198
|
"type": {
|
|
3329
3199
|
"type": "string",
|
|
3330
|
-
"enum": [
|
|
3331
|
-
"VAT",
|
|
3332
|
-
"GST",
|
|
3333
|
-
"Custom"
|
|
3334
|
-
]
|
|
3200
|
+
"enum": ["VAT", "GST", "Custom"]
|
|
3335
3201
|
},
|
|
3336
3202
|
"description": {
|
|
3337
3203
|
"type": "string"
|
|
@@ -3358,10 +3224,7 @@
|
|
|
3358
3224
|
"region_label": "Germany",
|
|
3359
3225
|
"_org": "123",
|
|
3360
3226
|
"_schema": "tax",
|
|
3361
|
-
"_tags": [
|
|
3362
|
-
"example",
|
|
3363
|
-
"mock"
|
|
3364
|
-
],
|
|
3227
|
+
"_tags": ["example", "mock"],
|
|
3365
3228
|
"_created_at": "2021-02-09T12:41:43.662Z",
|
|
3366
3229
|
"_updated_at": "2021-02-09T12:41:43.662Z"
|
|
3367
3230
|
}
|
|
@@ -3374,11 +3237,7 @@
|
|
|
3374
3237
|
},
|
|
3375
3238
|
"type": {
|
|
3376
3239
|
"type": "string",
|
|
3377
|
-
"enum": [
|
|
3378
|
-
"VAT",
|
|
3379
|
-
"GST",
|
|
3380
|
-
"Custom"
|
|
3381
|
-
]
|
|
3240
|
+
"enum": ["VAT", "GST", "Custom"]
|
|
3382
3241
|
},
|
|
3383
3242
|
"_id": {
|
|
3384
3243
|
"type": "string"
|
|
@@ -3411,10 +3270,7 @@
|
|
|
3411
3270
|
},
|
|
3412
3271
|
"PriceTierDisplayMode": {
|
|
3413
3272
|
"type": "string",
|
|
3414
|
-
"enum": [
|
|
3415
|
-
"hidden",
|
|
3416
|
-
"on_request"
|
|
3417
|
-
]
|
|
3273
|
+
"enum": ["hidden", "on_request"]
|
|
3418
3274
|
}
|
|
3419
3275
|
},
|
|
3420
3276
|
"examples": {
|
|
@@ -3891,14 +3747,8 @@
|
|
|
3891
3747
|
"_id": "065d6618-cc59-45f4-8e3a-700edf6813c3",
|
|
3892
3748
|
"name": "Smartmeter: Schneider Electric PM5000 LCD Energiemessgerät / 3-phasig",
|
|
3893
3749
|
"code": "1312378123",
|
|
3894
|
-
"_tags": [
|
|
3895
|
-
|
|
3896
|
-
"review demo",
|
|
3897
|
-
"1"
|
|
3898
|
-
],
|
|
3899
|
-
"categories": [
|
|
3900
|
-
"Power"
|
|
3901
|
-
],
|
|
3750
|
+
"_tags": ["wallbox", "review demo", "1"],
|
|
3751
|
+
"categories": ["Power"],
|
|
3902
3752
|
"type": "product",
|
|
3903
3753
|
"active": true,
|
|
3904
3754
|
"feature": [
|
|
@@ -4104,9 +3954,7 @@
|
|
|
4104
3954
|
"delivery_address": [],
|
|
4105
3955
|
"dates": [
|
|
4106
3956
|
{
|
|
4107
|
-
"_tags": [
|
|
4108
|
-
"Instalation Date"
|
|
4109
|
-
],
|
|
3957
|
+
"_tags": ["Instalation Date"],
|
|
4110
3958
|
"dates": "",
|
|
4111
3959
|
"value": "2022-06-30T16:29:00.000Z"
|
|
4112
3960
|
}
|
|
@@ -4184,9 +4032,7 @@
|
|
|
4184
4032
|
"delivery_address": [],
|
|
4185
4033
|
"dates": [
|
|
4186
4034
|
{
|
|
4187
|
-
"_tags": [
|
|
4188
|
-
"Instalation Date"
|
|
4189
|
-
],
|
|
4035
|
+
"_tags": ["Instalation Date"],
|
|
4190
4036
|
"dates": "",
|
|
4191
4037
|
"value": "2022-06-30T16:29:00.000Z"
|
|
4192
4038
|
}
|
|
@@ -4205,10 +4051,7 @@
|
|
|
4205
4051
|
"value": "journey checkout"
|
|
4206
4052
|
}
|
|
4207
4053
|
],
|
|
4208
|
-
"_tags": [
|
|
4209
|
-
"journey",
|
|
4210
|
-
"automation"
|
|
4211
|
-
],
|
|
4054
|
+
"_tags": ["journey", "automation"],
|
|
4212
4055
|
"status": "quote",
|
|
4213
4056
|
"order_number": "OREabZxnO",
|
|
4214
4057
|
"billing_first_name": "Paulo",
|
|
@@ -4615,9 +4458,7 @@
|
|
|
4615
4458
|
},
|
|
4616
4459
|
"dates": [
|
|
4617
4460
|
{
|
|
4618
|
-
"_tags": [
|
|
4619
|
-
"Installation Date"
|
|
4620
|
-
],
|
|
4461
|
+
"_tags": ["Installation Date"],
|
|
4621
4462
|
"dates": "",
|
|
4622
4463
|
"value": "2022-06-30T15:21:00.000Z"
|
|
4623
4464
|
}
|