@epilot/sdk 2.4.1 → 2.4.3

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.
Files changed (142) hide show
  1. package/definitions/automation.json +42 -0
  2. package/definitions/kanban.json +2 -1
  3. package/definitions/pricing-runtime.json +1 -1
  4. package/definitions/pricing.json +158 -83
  5. package/dist/apis/access-token.cjs +6 -6
  6. package/dist/apis/access-token.js +1 -1
  7. package/dist/apis/address-suggestions.cjs +6 -6
  8. package/dist/apis/address-suggestions.js +1 -1
  9. package/dist/apis/address.cjs +6 -6
  10. package/dist/apis/address.js +1 -1
  11. package/dist/apis/ai-agents.cjs +6 -6
  12. package/dist/apis/ai-agents.js +1 -1
  13. package/dist/apis/app.cjs +6 -6
  14. package/dist/apis/app.js +1 -1
  15. package/dist/apis/audit-logs.cjs +6 -6
  16. package/dist/apis/audit-logs.js +1 -1
  17. package/dist/apis/automation.cjs +6 -6
  18. package/dist/apis/automation.d.cts +2 -2
  19. package/dist/apis/automation.d.ts +2 -2
  20. package/dist/apis/automation.js +1 -1
  21. package/dist/apis/billing.cjs +6 -6
  22. package/dist/apis/billing.js +1 -1
  23. package/dist/apis/blueprint-manifest.cjs +6 -6
  24. package/dist/apis/blueprint-manifest.js +1 -1
  25. package/dist/apis/configuration-hub.cjs +6 -6
  26. package/dist/apis/configuration-hub.js +1 -1
  27. package/dist/apis/consent.cjs +6 -6
  28. package/dist/apis/consent.js +1 -1
  29. package/dist/apis/customer-portal.cjs +6 -6
  30. package/dist/apis/customer-portal.js +1 -1
  31. package/dist/apis/dashboard.cjs +6 -6
  32. package/dist/apis/dashboard.js +1 -1
  33. package/dist/apis/data-governance.cjs +6 -6
  34. package/dist/apis/data-governance.js +1 -1
  35. package/dist/apis/deduplication.cjs +6 -6
  36. package/dist/apis/deduplication.js +1 -1
  37. package/dist/apis/design.cjs +6 -6
  38. package/dist/apis/design.js +1 -1
  39. package/dist/apis/document.cjs +6 -6
  40. package/dist/apis/document.js +1 -1
  41. package/dist/apis/email-settings.cjs +6 -6
  42. package/dist/apis/email-settings.js +1 -1
  43. package/dist/apis/email-template.cjs +6 -6
  44. package/dist/apis/email-template.js +1 -1
  45. package/dist/apis/entity-mapping.cjs +6 -6
  46. package/dist/apis/entity-mapping.js +1 -1
  47. package/dist/apis/entity.cjs +6 -6
  48. package/dist/apis/entity.js +1 -1
  49. package/dist/apis/environments.cjs +6 -6
  50. package/dist/apis/environments.js +1 -1
  51. package/dist/apis/event-catalog.cjs +6 -6
  52. package/dist/apis/event-catalog.js +1 -1
  53. package/dist/apis/file.cjs +6 -6
  54. package/dist/apis/file.js +1 -1
  55. package/dist/apis/iban.cjs +6 -6
  56. package/dist/apis/iban.js +1 -1
  57. package/dist/apis/integration-toolkit.cjs +6 -6
  58. package/dist/apis/integration-toolkit.js +1 -1
  59. package/dist/apis/journey.cjs +6 -6
  60. package/dist/apis/journey.js +1 -1
  61. package/dist/apis/kanban.cjs +6 -6
  62. package/dist/apis/kanban.d.cts +2 -2
  63. package/dist/apis/kanban.d.ts +2 -2
  64. package/dist/apis/kanban.js +1 -1
  65. package/dist/apis/message.cjs +6 -6
  66. package/dist/apis/message.js +1 -1
  67. package/dist/apis/metering.cjs +6 -6
  68. package/dist/apis/metering.js +1 -1
  69. package/dist/apis/notes.cjs +6 -6
  70. package/dist/apis/notes.js +1 -1
  71. package/dist/apis/notification.cjs +6 -6
  72. package/dist/apis/notification.js +1 -1
  73. package/dist/apis/organization.cjs +6 -6
  74. package/dist/apis/organization.js +1 -1
  75. package/dist/apis/partner-directory.cjs +6 -6
  76. package/dist/apis/partner-directory.js +1 -1
  77. package/dist/apis/permissions.cjs +6 -6
  78. package/dist/apis/permissions.js +1 -1
  79. package/dist/apis/pricing-tier.cjs +6 -6
  80. package/dist/apis/pricing-tier.js +1 -1
  81. package/dist/apis/pricing.cjs +8 -8
  82. package/dist/apis/pricing.d.cts +2 -2
  83. package/dist/apis/pricing.d.ts +2 -2
  84. package/dist/apis/pricing.js +2 -2
  85. package/dist/apis/purpose.cjs +6 -6
  86. package/dist/apis/purpose.js +1 -1
  87. package/dist/apis/query.cjs +6 -6
  88. package/dist/apis/query.js +1 -1
  89. package/dist/apis/sandbox.cjs +6 -6
  90. package/dist/apis/sandbox.js +1 -1
  91. package/dist/apis/sharing.cjs +6 -6
  92. package/dist/apis/sharing.js +1 -1
  93. package/dist/apis/submission.cjs +6 -6
  94. package/dist/apis/submission.js +1 -1
  95. package/dist/apis/target.cjs +6 -6
  96. package/dist/apis/target.js +1 -1
  97. package/dist/apis/targeting.cjs +6 -6
  98. package/dist/apis/targeting.js +1 -1
  99. package/dist/apis/template-variables.cjs +6 -6
  100. package/dist/apis/template-variables.js +1 -1
  101. package/dist/apis/user.cjs +6 -6
  102. package/dist/apis/user.js +1 -1
  103. package/dist/apis/validation-rules.cjs +6 -6
  104. package/dist/apis/validation-rules.js +1 -1
  105. package/dist/apis/webhooks.cjs +6 -6
  106. package/dist/apis/webhooks.js +1 -1
  107. package/dist/apis/workflow-definition.cjs +6 -6
  108. package/dist/apis/workflow-definition.js +1 -1
  109. package/dist/apis/workflow.cjs +6 -6
  110. package/dist/apis/workflow.js +1 -1
  111. package/dist/automation-BMO7ZFTN.cjs +7 -0
  112. package/dist/automation-MEZTSUR3.js +7 -0
  113. package/dist/{automation.d-CzhG2m4L.d.cts → automation.d-Du6-uiz5.d.cts} +31 -0
  114. package/dist/{automation.d-CzhG2m4L.d.ts → automation.d-Du6-uiz5.d.ts} +31 -0
  115. package/dist/bin/cli.js +1 -1
  116. package/dist/{chunk-MEUS7LCE.js → chunk-63BFJKWV.js} +1 -1
  117. package/dist/{chunk-OK74PNHY.cjs → chunk-AM5TSEMU.cjs} +4 -4
  118. package/dist/{chunk-JXJC6WEW.cjs → chunk-KP7H52BF.cjs} +1 -1
  119. package/dist/{chunk-O2AUZKUD.js → chunk-M25MI6ZX.js} +4 -4
  120. package/dist/index.cjs +10 -10
  121. package/dist/index.d.cts +3 -3
  122. package/dist/index.d.ts +3 -3
  123. package/dist/index.js +2 -2
  124. package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
  125. package/dist/{kanban-PMG5TXE5.js → kanban-F22JXYCG.js} +1 -1
  126. package/dist/{kanban-E2UOBVBK.cjs → kanban-FSATKIGH.cjs} +1 -1
  127. package/dist/{kanban.d-B99GucT_.d.cts → kanban.d-BHnSRCYW.d.cts} +1 -1
  128. package/dist/{kanban.d-B99GucT_.d.ts → kanban.d-BHnSRCYW.d.ts} +1 -1
  129. package/dist/pricing-G67CH3XH.js +7 -0
  130. package/dist/pricing-XAET4G7T.cjs +7 -0
  131. package/dist/{pricing-runtime-JRR4FWFI.js → pricing-runtime-2YKEJJMZ.js} +1 -1
  132. package/dist/{pricing-runtime-6XNS4EOF.cjs → pricing-runtime-XDCOKL47.cjs} +2 -2
  133. package/dist/{pricing.d-Cv39plGm.d.cts → pricing.d-BHpMU4KU.d.cts} +80 -25
  134. package/dist/{pricing.d-Cv39plGm.d.ts → pricing.d-BHpMU4KU.d.ts} +80 -25
  135. package/docs/automation.md +42 -5
  136. package/docs/kanban.md +2 -2
  137. package/docs/pricing.md +39 -15
  138. package/package.json +1 -1
  139. package/dist/automation-GFNNLSIN.js +0 -7
  140. package/dist/automation-IOCVCTKR.cjs +0 -7
  141. package/dist/pricing-4Z4TOETA.cjs +0 -7
  142. package/dist/pricing-C65DTZSX.js +0 -7
@@ -70,6 +70,15 @@
70
70
  "example": "600945fe-212e-4b97-acf7-391d64648384"
71
71
  }
72
72
  },
73
+ {
74
+ "name": "target_workflow",
75
+ "in": "query",
76
+ "description": "Filter by target workflow ID. Returns only automations that have a trigger-workflow action targeting this workflow.",
77
+ "schema": {
78
+ "type": "string",
79
+ "example": "wfABCDEFGH"
80
+ }
81
+ },
73
82
  {
74
83
  "name": "include_flows",
75
84
  "in": "query",
@@ -2239,6 +2248,11 @@
2239
2248
  "type": "boolean",
2240
2249
  "description": "When enabled, the email thread will be automatically marked as done after this action completes.",
2241
2250
  "default": false
2251
+ },
2252
+ "mark_as_read": {
2253
+ "type": "boolean",
2254
+ "description": "When enabled, the email thread will be marked as read after this action completes.",
2255
+ "default": true
2242
2256
  }
2243
2257
  },
2244
2258
  "required": [
@@ -2323,6 +2337,11 @@
2323
2337
  "type": "boolean",
2324
2338
  "description": "When enabled, the email thread will be automatically marked as done after this action completes.",
2325
2339
  "default": false
2340
+ },
2341
+ "mark_as_read": {
2342
+ "type": "boolean",
2343
+ "description": "When enabled, the email thread will be marked as read after this action completes.",
2344
+ "default": false
2326
2345
  }
2327
2346
  }
2328
2347
  },
@@ -2373,6 +2392,11 @@
2373
2392
  "description": "When enabled, the email thread will be automatically marked as done after this action completes.",
2374
2393
  "default": true
2375
2394
  },
2395
+ "mark_as_read": {
2396
+ "type": "boolean",
2397
+ "description": "When enabled, the email thread will be marked as read after this action completes.",
2398
+ "default": true
2399
+ },
2376
2400
  "attachments": {
2377
2401
  "type": "array",
2378
2402
  "description": "Include extra file attachments in sent email.\nAttachments in email template will be sent regardless of this configuration.\n",
@@ -3438,6 +3462,24 @@
3438
3462
  },
3439
3463
  "_execution_chain": {
3440
3464
  "$ref": "#/components/schemas/ExecutionChain"
3465
+ },
3466
+ "entity_contexts": {
3467
+ "type": "array",
3468
+ "description": "Additional entity contexts from the parent flow execution. Used when an automation is triggered from a workflow task to carry all flow contexts into the automation, not just the primary entity.\n",
3469
+ "items": {
3470
+ "type": "object",
3471
+ "properties": {
3472
+ "entity_id": {
3473
+ "type": "string"
3474
+ },
3475
+ "entity_schema": {
3476
+ "type": "string"
3477
+ },
3478
+ "is_primary": {
3479
+ "type": "boolean"
3480
+ }
3481
+ }
3482
+ }
3441
3483
  }
3442
3484
  }
3443
3485
  },
@@ -1257,7 +1257,8 @@
1257
1257
  "type": "string",
1258
1258
  "enum": [
1259
1259
  "context_entity",
1260
- "phase"
1260
+ "phase",
1261
+ "task"
1261
1262
  ],
1262
1263
  "description": "Property to group tasks by within each swimlane"
1263
1264
  }
@@ -1 +1 @@
1
- {"s":"https://pricing-api.sls.epilot.io","o":[["$calculatePricingDetails","post","/v1/pricing:compute",null,1],["createOrder","post","/v1/order",null,1],["putOrder","put","/v1/order/{id}",[["id","p",true]],1],["$checkoutCart","post","/v1/public/cart:checkout",[["X-Ivy-Org-ID","h",true]],1],["$searchCatalog","post","/v1/public/catalog",[["X-Ivy-Org-ID","h"],["Authorization","h"]],1],["$privateSearchCatalog","post","/v1/catalog",null,1],["$validatePromoCodes","post","/v1/public/validate-promo-codes",[["X-Ivy-Org-ID","h",true]],1],["$availabilityCheck","post","/v1/public/availability:check",[["X-Ivy-Org-ID","h",true]],1],["$validateAvailabilityFile","get","/v1/validate-availability/{id}",[["id","p",true],["X-Epilot-Org-ID","h",true]]],["$historicMarketPrices","get","/v1/public/historicMarketPrices",[["market","q",true],["bidding_zone","q",true],["frequency","q",true],["from","q",true],["to","q",true]]],["$averageMarketPrice","get","/v1/public/averageMarketPrice",[["market","q",true],["bidding_zone","q",true],["from","q",true],["to","q",true]]],["$searchExternalProducts","post","/v1/public/integration/{integrationId}/products",[["integrationId","p",true]],1],["$searchExternalProductRecommendations","post","/v1/public/integration/{integrationId}/product-recommendations",[["integrationId","p",true]],1],["$searchProviders","post","/v1/public/integration/{integrationId}/providers:search",[["X-Epilot-Org-ID","h",true],["integrationId","p",true]],1],["$searchStreets","post","/v1/public/integration/{integrationId}/streets:search",[["X-Epilot-Org-ID","h",true],["integrationId","p",true]],1],["$computePrice","post","/v1/public/integration/{integrationId}/compute-price",[["X-Epilot-Org-ID","h",true],["integrationId","p",true]],1],["$getCredentials","get","/v1/integration/{integrationId}/credentials",[["integrationId","p",true]]],["$saveCredentials","put","/v1/integration/{integrationId}/credentials:save",[["integrationId","p",true]],1],["$deleteCredentials","delete","/v1/integration/{integrationId}/credentials:delete",[["integrationId","p",true]]],["$getExternalCatalogProducts","post","/v1/public/external-catalog/products",null,1],["$getExternalCatalogProductRecommendations","post","/v1/public/external-catalog/product-recommendations",null,1],["$productRecommendations","post","/v1/public/product-recommendations",[["X-Ivy-Org-ID","h"]],1]],"v":"3.0.3"}
1
+ {"s":"https://pricing-api.sls.epilot.io","o":[["$calculatePricingDetails","post","/v1/pricing:compute",null,1],["createOrder","post","/v1/order",null,1],["putOrder","put","/v1/order/{id}",[["id","p",true]],1],["$checkoutCart","post","/v1/public/cart:checkout",[["X-Ivy-Org-ID","h",true]],1],["$searchCatalog","post","/v1/public/catalog",[["X-Ivy-Org-ID","h"],["Authorization","h"]],1],["$privateSearchCatalog","post","/v1/catalog",null,1],["$validatePromoCodes","post","/v1/public/validate-promo-codes",[["X-Ivy-Org-ID","h",true]],1],["$availabilityCheck","post","/v1/public/availability:check",[["X-Ivy-Org-ID","h",true]],1],["$validateAvailabilityFile","get","/v1/validate-availability/{id}",[["id","p",true],["X-Epilot-Org-ID","h",true]]],["$historicMarketPrices","get","/v1/public/historicMarketPrices",[["market","q",true],["bidding_zone","q",true],["frequency","q",true],["from","q",true],["to","q",true]]],["$averageMarketPrice","get","/v1/public/averageMarketPrice",[["market","q",true],["bidding_zone","q",true],["from","q",true],["to","q",true]]],["$searchExternalProducts","post","/v1/public/integration/{integrationId}/products",[["integrationId","p",true]],1],["$searchExternalProductRecommendations","post","/v1/public/integration/{integrationId}/product-recommendations",[["integrationId","p",true]],1],["$searchProviders","post","/v1/public/integration/{integrationId}/providers:search",[["X-Epilot-Org-ID","h",true],["integrationId","p",true]],1],["$searchStreets","post","/v1/public/integration/{integrationId}/streets:search",[["X-Epilot-Org-ID","h",true],["integrationId","p",true]],1],["$computePrice","post","/v1/public/integration/{integrationId}/compute-price",[["X-Epilot-Org-ID","h",true],["integrationId","p",true]],1],["$getCredentials","get","/v1/integration/{integrationId}/credentials",[["integrationId","p",true]]],["$saveCredentials","put","/v1/integration/{integrationId}/credentials:save",[["integrationId","p",true]],1],["$deleteCredentials","delete","/v1/integration/{integrationId}/credentials:delete",[["integrationId","p",true]]],["$getExternalCatalogProducts","post","/v1/public/external-catalog/products",[["x-epilot-org-id","h"]],1],["$getExternalCatalogProductRecommendations","post","/v1/public/external-catalog/product-recommendations",[["x-epilot-org-id","h"]],1],["$productRecommendations","post","/v1/public/product-recommendations",[["X-Ivy-Org-ID","h"]],1]],"v":"3.0.3"}
@@ -2036,7 +2036,6 @@
2036
2036
  "unit_amount_gross_decimal": "25",
2037
2037
  "unit_amount_net": 25,
2038
2038
  "unit_amount_net_decimal": "25",
2039
- "billing_period": null,
2040
2039
  "type": "one_time",
2041
2040
  "taxes": [],
2042
2041
  "pricing_model": "per_unit",
@@ -2109,20 +2108,22 @@
2109
2108
  "amount_subtotal_decimal": "25",
2110
2109
  "amount_subtotal": 2500,
2111
2110
  "unit_amount": 25,
2112
- "unit_amount_gross": 29.75,
2111
+ "unit_amount_gross": 2975,
2113
2112
  "unit_amount_gross_decimal": "29.75",
2114
2113
  "unit_amount_net": 25,
2115
2114
  "unit_amount_net_decimal": "25",
2116
- "billing_period": null,
2117
2115
  "type": "one_time",
2118
2116
  "taxes": [
2119
2117
  {
2120
2118
  "tax": {
2121
- "_id": "tax-vat-19",
2122
- "name": "VAT",
2119
+ "_id": "24641e82-0690-4135-8b43-ef12a9b1c5dc",
2120
+ "_title": "VAT 19%",
2121
+ "_org": "728",
2122
+ "_schema": "tax",
2123
+ "_created_at": "2024-01-01T00:00:00.000Z",
2124
+ "_updated_at": "2024-01-01T00:00:00.000Z",
2123
2125
  "type": "VAT",
2124
- "rate": 19,
2125
- "region": "DE"
2126
+ "rate": 19
2126
2127
  },
2127
2128
  "amount": 475
2128
2129
  }
@@ -2140,15 +2141,16 @@
2140
2141
  "is_composite_price": false,
2141
2142
  "pricing_model": "per_unit",
2142
2143
  "price_display_in_journeys": "show_price",
2143
- "tax": [
2144
- {
2145
- "_id": "tax-vat-19",
2146
- "name": "VAT",
2147
- "type": "VAT",
2148
- "rate": 19,
2149
- "region": "DE"
2150
- }
2151
- ]
2144
+ "tax": {
2145
+ "_id": "24641e82-0690-4135-8b43-ef12a9b1c5dc",
2146
+ "_title": "VAT 19%",
2147
+ "_org": "728",
2148
+ "_schema": "tax",
2149
+ "_created_at": "2024-01-01T00:00:00.000Z",
2150
+ "_updated_at": "2024-01-01T00:00:00.000Z",
2151
+ "type": "VAT",
2152
+ "rate": 19
2153
+ }
2152
2154
  },
2153
2155
  "_product": {
2154
2156
  "_id": "product-93f857a4",
@@ -2168,11 +2170,14 @@
2168
2170
  "taxes": [
2169
2171
  {
2170
2172
  "tax": {
2171
- "_id": "tax-vat-19",
2172
- "name": "VAT",
2173
+ "_id": "24641e82-0690-4135-8b43-ef12a9b1c5dc",
2174
+ "_title": "VAT 19%",
2175
+ "_org": "728",
2176
+ "_schema": "tax",
2177
+ "_created_at": "2024-01-01T00:00:00.000Z",
2178
+ "_updated_at": "2024-01-01T00:00:00.000Z",
2173
2179
  "type": "VAT",
2174
- "rate": 19,
2175
- "region": "DE"
2180
+ "rate": 19
2176
2181
  },
2177
2182
  "amount": 475
2178
2183
  }
@@ -2722,6 +2727,17 @@
2722
2727
  "tags": [
2723
2728
  "External Catalog API"
2724
2729
  ],
2730
+ "parameters": [
2731
+ {
2732
+ "in": "header",
2733
+ "name": "x-epilot-org-id",
2734
+ "schema": {
2735
+ "type": "string"
2736
+ },
2737
+ "required": false,
2738
+ "description": "Organization ID (required when not using EpilotPublicAuth token)"
2739
+ }
2740
+ ],
2725
2741
  "requestBody": {
2726
2742
  "required": true,
2727
2743
  "content": {
@@ -2872,6 +2888,17 @@
2872
2888
  "tags": [
2873
2889
  "External Catalog API"
2874
2890
  ],
2891
+ "parameters": [
2892
+ {
2893
+ "in": "header",
2894
+ "name": "x-epilot-org-id",
2895
+ "schema": {
2896
+ "type": "string"
2897
+ },
2898
+ "required": false,
2899
+ "description": "Organization ID (required when not using EpilotPublicAuth token)"
2900
+ }
2901
+ ],
2875
2902
  "requestBody": {
2876
2903
  "required": true,
2877
2904
  "content": {
@@ -3003,7 +3030,6 @@
3003
3030
  "unit_amount_gross_decimal": "25",
3004
3031
  "unit_amount_net": 25,
3005
3032
  "unit_amount_net_decimal": "25",
3006
- "billing_period": null,
3007
3033
  "type": "one_time",
3008
3034
  "taxes": [],
3009
3035
  "pricing_model": "per_unit",
@@ -3076,20 +3102,22 @@
3076
3102
  "amount_subtotal_decimal": "25",
3077
3103
  "amount_subtotal": 2500,
3078
3104
  "unit_amount": 25,
3079
- "unit_amount_gross": 29.75,
3105
+ "unit_amount_gross": 2975,
3080
3106
  "unit_amount_gross_decimal": "29.75",
3081
3107
  "unit_amount_net": 25,
3082
3108
  "unit_amount_net_decimal": "25",
3083
- "billing_period": null,
3084
3109
  "type": "one_time",
3085
3110
  "taxes": [
3086
3111
  {
3087
3112
  "tax": {
3088
- "_id": "tax-vat-19",
3089
- "name": "VAT",
3113
+ "_id": "24641e82-0690-4135-8b43-ef12a9b1c5dc",
3114
+ "_title": "VAT 19%",
3115
+ "_org": "728",
3116
+ "_schema": "tax",
3117
+ "_created_at": "2024-01-01T00:00:00.000Z",
3118
+ "_updated_at": "2024-01-01T00:00:00.000Z",
3090
3119
  "type": "VAT",
3091
- "rate": 19,
3092
- "region": "DE"
3120
+ "rate": 19
3093
3121
  },
3094
3122
  "amount": 475
3095
3123
  }
@@ -3107,15 +3135,16 @@
3107
3135
  "is_composite_price": false,
3108
3136
  "pricing_model": "per_unit",
3109
3137
  "price_display_in_journeys": "show_price",
3110
- "tax": [
3111
- {
3112
- "_id": "tax-vat-19",
3113
- "name": "VAT",
3114
- "type": "VAT",
3115
- "rate": 19,
3116
- "region": "DE"
3117
- }
3118
- ]
3138
+ "tax": {
3139
+ "_id": "24641e82-0690-4135-8b43-ef12a9b1c5dc",
3140
+ "_title": "VAT 19%",
3141
+ "_org": "728",
3142
+ "_schema": "tax",
3143
+ "_created_at": "2024-01-01T00:00:00.000Z",
3144
+ "_updated_at": "2024-01-01T00:00:00.000Z",
3145
+ "type": "VAT",
3146
+ "rate": 19
3147
+ }
3119
3148
  },
3120
3149
  "_product": {
3121
3150
  "_id": "product-93f857a4",
@@ -3135,11 +3164,14 @@
3135
3164
  "taxes": [
3136
3165
  {
3137
3166
  "tax": {
3138
- "_id": "tax-vat-19",
3139
- "name": "VAT",
3167
+ "_id": "24641e82-0690-4135-8b43-ef12a9b1c5dc",
3168
+ "_title": "VAT 19%",
3169
+ "_org": "728",
3170
+ "_schema": "tax",
3171
+ "_created_at": "2024-01-01T00:00:00.000Z",
3172
+ "_updated_at": "2024-01-01T00:00:00.000Z",
3140
3173
  "type": "VAT",
3141
- "rate": 19,
3142
- "region": "DE"
3174
+ "rate": 19
3143
3175
  },
3144
3176
  "amount": 475
3145
3177
  }
@@ -9112,8 +9144,8 @@
9112
9144
  "description": "Description of the contract"
9113
9145
  },
9114
9146
  "billing_account": {
9115
- "type": "string",
9116
- "description": "Billing Account relation ID"
9147
+ "type": "object",
9148
+ "description": "Billing Account relation"
9117
9149
  },
9118
9150
  "account_number": {
9119
9151
  "type": "string",
@@ -9121,14 +9153,7 @@
9121
9153
  },
9122
9154
  "branch": {
9123
9155
  "type": "string",
9124
- "description": "Branch/commodity type",
9125
- "enum": [
9126
- "power",
9127
- "gas",
9128
- "water",
9129
- "waste_water",
9130
- "district_heating"
9131
- ]
9156
+ "description": "Branch/commodity type (e.g. power, gas, water, waste_water, district_heating, or any custom value)"
9132
9157
  },
9133
9158
  "move_in_date": {
9134
9159
  "type": "string",
@@ -9141,12 +9166,15 @@
9141
9166
  "description": "Move Out Date"
9142
9167
  },
9143
9168
  "billing_address": {
9144
- "type": "object",
9145
- "description": "Billing Address"
9169
+ "description": "Billing Address",
9170
+ "type": "object"
9146
9171
  },
9147
9172
  "delivery_address": {
9148
- "type": "object",
9149
- "description": "Delivery Address"
9173
+ "description": "Delivery Address",
9174
+ "type": "array",
9175
+ "items": {
9176
+ "type": "object"
9177
+ }
9150
9178
  },
9151
9179
  "additional_addresses": {
9152
9180
  "type": "array",
@@ -9175,11 +9203,8 @@
9175
9203
  "description": "End Date"
9176
9204
  },
9177
9205
  "customer": {
9178
- "type": "array",
9179
- "description": "Customer relation (contact or account)",
9180
- "items": {
9181
- "type": "string"
9182
- }
9206
+ "type": "object",
9207
+ "description": "Customer relation (contact or account)"
9183
9208
  },
9184
9209
  "order": {
9185
9210
  "type": "string",
@@ -9265,30 +9290,11 @@
9265
9290
  "description": "Billing Due Day"
9266
9291
  },
9267
9292
  "installment_amount": {
9268
- "type": "object",
9269
- "description": "Installment Amount",
9270
- "properties": {
9271
- "value": {
9272
- "type": "number"
9273
- },
9274
- "currency": {
9275
- "type": "string",
9276
- "default": "EUR"
9277
- }
9278
- }
9293
+ "type": "number"
9279
9294
  },
9280
9295
  "balance": {
9281
- "type": "object",
9282
- "description": "Balance",
9283
- "properties": {
9284
- "value": {
9285
- "type": "number"
9286
- },
9287
- "currency": {
9288
- "type": "string",
9289
- "default": "EUR"
9290
- }
9291
- }
9296
+ "type": "number",
9297
+ "description": "Balance"
9292
9298
  },
9293
9299
  "meters": {
9294
9300
  "type": "array",
@@ -9298,8 +9304,8 @@
9298
9304
  }
9299
9305
  },
9300
9306
  "payment": {
9301
- "type": "string",
9302
- "description": "Payment Details relation ID"
9307
+ "type": "object",
9308
+ "description": "Payment Details relation"
9303
9309
  },
9304
9310
  "last_sync_at": {
9305
9311
  "type": "string",
@@ -9507,6 +9513,65 @@
9507
9513
  "readOnly": true
9508
9514
  }
9509
9515
  }
9516
+ },
9517
+ "availability_address": {
9518
+ "type": "object",
9519
+ "description": "Address to use for product availability checks. Include when the catalog should filter products by serviceable area (e.g. postal code coverage).\n",
9520
+ "properties": {
9521
+ "postal_code": {
9522
+ "type": "string",
9523
+ "description": "Postal Code"
9524
+ },
9525
+ "city": {
9526
+ "type": "string",
9527
+ "description": "City"
9528
+ },
9529
+ "street": {
9530
+ "type": "string",
9531
+ "description": "Street"
9532
+ },
9533
+ "street_number": {
9534
+ "type": "string",
9535
+ "description": "Street Number"
9536
+ },
9537
+ "journey_target_block": {
9538
+ "type": "string",
9539
+ "description": "The journey target block of the availability address <step_index>/<block_name>"
9540
+ }
9541
+ }
9542
+ },
9543
+ "variable_inputs": {
9544
+ "type": "array",
9545
+ "description": "Variable inputs (e.g. energy or water consumption) extracted/provided by the portal so the external catalog service can compute amounts for variable prices.\n",
9546
+ "items": {
9547
+ "type": "object",
9548
+ "properties": {
9549
+ "value": {
9550
+ "type": "number",
9551
+ "description": "The value of the variable input"
9552
+ },
9553
+ "unit": {
9554
+ "type": "string",
9555
+ "description": "The unit of the variable input"
9556
+ },
9557
+ "frequency_unit": {
9558
+ "type": "string",
9559
+ "description": "The frequency unit of the variable input",
9560
+ "enum": [
9561
+ "weekly",
9562
+ "monthly",
9563
+ "every_quarter",
9564
+ "every_6_months",
9565
+ "yearly",
9566
+ "one_time"
9567
+ ]
9568
+ },
9569
+ "journey_target_block": {
9570
+ "type": "string",
9571
+ "description": "The journey target block of the variable input <step_index>/<block_name>"
9572
+ }
9573
+ }
9574
+ }
9510
9575
  }
9511
9576
  },
9512
9577
  "required": [
@@ -9858,6 +9923,11 @@
9858
9923
  {
9859
9924
  "tax": {
9860
9925
  "_id": "936db2a1-3748-45b6-bb9d-04943280ceeb",
9926
+ "_title": "VAT 23%",
9927
+ "_org": "728",
9928
+ "_schema": "tax",
9929
+ "_created_at": "2021-09-24T15:06:13.859Z",
9930
+ "_updated_at": "2021-09-24T15:06:13.859Z",
9861
9931
  "type": "VAT",
9862
9932
  "rate": 23
9863
9933
  },
@@ -9866,6 +9936,11 @@
9866
9936
  {
9867
9937
  "tax": {
9868
9938
  "_id": "936db2a1-3748-45b6-bb9d-04943280cee4",
9939
+ "_title": "VAT 7%",
9940
+ "_org": "728",
9941
+ "_schema": "tax",
9942
+ "_created_at": "2021-09-24T15:06:13.859Z",
9943
+ "_updated_at": "2021-09-24T15:06:13.859Z",
9869
9944
  "type": "VAT",
9870
9945
  "rate": 7
9871
9946
  },
@@ -6,25 +6,25 @@ var _chunkOXJOO2YFcjs = require('../chunk-OXJOO2YF.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkOK74PNHYcjs = require('../chunk-OK74PNHY.cjs');
9
+ var _chunkAM5TSEMUcjs = require('../chunk-AM5TSEMU.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/access-token.ts
13
13
  var loadDefinition = () => {
14
14
  const mod = _chunkOXJOO2YFcjs.require_access_token_runtime.call(void 0, );
15
- return _chunkOK74PNHYcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
15
+ return _chunkAM5TSEMUcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
16
16
  };
17
17
  var _instance = null;
18
18
  var resolve = () => {
19
19
  if (!_instance) {
20
20
  const def = loadDefinition();
21
- _instance = _chunkOK74PNHYcjs.createApiClient.call(void 0, { definition: def, apiName: "accessToken" });
21
+ _instance = _chunkAM5TSEMUcjs.createApiClient.call(void 0, { definition: def, apiName: "accessToken" });
22
22
  }
23
23
  return _instance;
24
24
  };
25
- var _handle = _chunkOK74PNHYcjs.createApiHandle.call(void 0, {
25
+ var _handle = _chunkAM5TSEMUcjs.createApiHandle.call(void 0, {
26
26
  resolveClient: resolve,
27
- createClient: () => _chunkOK74PNHYcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "accessToken" }),
27
+ createClient: () => _chunkAM5TSEMUcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "accessToken" }),
28
28
  apiName: "accessToken"
29
29
  });
30
30
  var getClient = _handle.getClient;
@@ -35,4 +35,4 @@ var accessToken = _handle;
35
35
 
36
36
 
37
37
 
38
- exports.accessToken = accessToken; exports.authorize = _chunkOK74PNHYcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
38
+ exports.accessToken = accessToken; exports.authorize = _chunkAM5TSEMUcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-O2AUZKUD.js";
9
+ } from "../chunk-M25MI6ZX.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/access-token.ts
@@ -6,25 +6,25 @@ var _chunkLKRBFBFNcjs = require('../chunk-LKRBFBFN.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkOK74PNHYcjs = require('../chunk-OK74PNHY.cjs');
9
+ var _chunkAM5TSEMUcjs = require('../chunk-AM5TSEMU.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/address-suggestions.ts
13
13
  var loadDefinition = () => {
14
14
  const mod = _chunkLKRBFBFNcjs.require_address_suggestions_runtime.call(void 0, );
15
- return _chunkOK74PNHYcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
15
+ return _chunkAM5TSEMUcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
16
16
  };
17
17
  var _instance = null;
18
18
  var resolve = () => {
19
19
  if (!_instance) {
20
20
  const def = loadDefinition();
21
- _instance = _chunkOK74PNHYcjs.createApiClient.call(void 0, { definition: def, apiName: "addressSuggestions" });
21
+ _instance = _chunkAM5TSEMUcjs.createApiClient.call(void 0, { definition: def, apiName: "addressSuggestions" });
22
22
  }
23
23
  return _instance;
24
24
  };
25
- var _handle = _chunkOK74PNHYcjs.createApiHandle.call(void 0, {
25
+ var _handle = _chunkAM5TSEMUcjs.createApiHandle.call(void 0, {
26
26
  resolveClient: resolve,
27
- createClient: () => _chunkOK74PNHYcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "addressSuggestions" }),
27
+ createClient: () => _chunkAM5TSEMUcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "addressSuggestions" }),
28
28
  apiName: "addressSuggestions"
29
29
  });
30
30
  var getClient = _handle.getClient;
@@ -35,4 +35,4 @@ var addressSuggestions = _handle;
35
35
 
36
36
 
37
37
 
38
- exports.addressSuggestions = addressSuggestions; exports.authorize = _chunkOK74PNHYcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
38
+ exports.addressSuggestions = addressSuggestions; exports.authorize = _chunkAM5TSEMUcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-O2AUZKUD.js";
9
+ } from "../chunk-M25MI6ZX.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/address-suggestions.ts
@@ -6,25 +6,25 @@ var _chunkT67ZXTVGcjs = require('../chunk-T67ZXTVG.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkOK74PNHYcjs = require('../chunk-OK74PNHY.cjs');
9
+ var _chunkAM5TSEMUcjs = require('../chunk-AM5TSEMU.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/address.ts
13
13
  var loadDefinition = () => {
14
14
  const mod = _chunkT67ZXTVGcjs.require_address_runtime.call(void 0, );
15
- return _chunkOK74PNHYcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
15
+ return _chunkAM5TSEMUcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
16
16
  };
17
17
  var _instance = null;
18
18
  var resolve = () => {
19
19
  if (!_instance) {
20
20
  const def = loadDefinition();
21
- _instance = _chunkOK74PNHYcjs.createApiClient.call(void 0, { definition: def, apiName: "address" });
21
+ _instance = _chunkAM5TSEMUcjs.createApiClient.call(void 0, { definition: def, apiName: "address" });
22
22
  }
23
23
  return _instance;
24
24
  };
25
- var _handle = _chunkOK74PNHYcjs.createApiHandle.call(void 0, {
25
+ var _handle = _chunkAM5TSEMUcjs.createApiHandle.call(void 0, {
26
26
  resolveClient: resolve,
27
- createClient: () => _chunkOK74PNHYcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "address" }),
27
+ createClient: () => _chunkAM5TSEMUcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "address" }),
28
28
  apiName: "address"
29
29
  });
30
30
  var getClient = _handle.getClient;
@@ -35,4 +35,4 @@ var address = _handle;
35
35
 
36
36
 
37
37
 
38
- exports.address = address; exports.authorize = _chunkOK74PNHYcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
38
+ exports.address = address; exports.authorize = _chunkAM5TSEMUcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-O2AUZKUD.js";
9
+ } from "../chunk-M25MI6ZX.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/address.ts