@epilot/sdk 2.4.2 → 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 (132) hide show
  1. package/definitions/automation.json +42 -0
  2. package/definitions/pricing-runtime.json +1 -1
  3. package/definitions/pricing.json +158 -83
  4. package/dist/apis/access-token.cjs +6 -6
  5. package/dist/apis/access-token.js +1 -1
  6. package/dist/apis/address-suggestions.cjs +6 -6
  7. package/dist/apis/address-suggestions.js +1 -1
  8. package/dist/apis/address.cjs +6 -6
  9. package/dist/apis/address.js +1 -1
  10. package/dist/apis/ai-agents.cjs +6 -6
  11. package/dist/apis/ai-agents.js +1 -1
  12. package/dist/apis/app.cjs +6 -6
  13. package/dist/apis/app.js +1 -1
  14. package/dist/apis/audit-logs.cjs +6 -6
  15. package/dist/apis/audit-logs.js +1 -1
  16. package/dist/apis/automation.cjs +6 -6
  17. package/dist/apis/automation.d.cts +2 -2
  18. package/dist/apis/automation.d.ts +2 -2
  19. package/dist/apis/automation.js +1 -1
  20. package/dist/apis/billing.cjs +6 -6
  21. package/dist/apis/billing.js +1 -1
  22. package/dist/apis/blueprint-manifest.cjs +6 -6
  23. package/dist/apis/blueprint-manifest.js +1 -1
  24. package/dist/apis/configuration-hub.cjs +6 -6
  25. package/dist/apis/configuration-hub.js +1 -1
  26. package/dist/apis/consent.cjs +6 -6
  27. package/dist/apis/consent.js +1 -1
  28. package/dist/apis/customer-portal.cjs +6 -6
  29. package/dist/apis/customer-portal.js +1 -1
  30. package/dist/apis/dashboard.cjs +6 -6
  31. package/dist/apis/dashboard.js +1 -1
  32. package/dist/apis/data-governance.cjs +6 -6
  33. package/dist/apis/data-governance.js +1 -1
  34. package/dist/apis/deduplication.cjs +6 -6
  35. package/dist/apis/deduplication.js +1 -1
  36. package/dist/apis/design.cjs +6 -6
  37. package/dist/apis/design.js +1 -1
  38. package/dist/apis/document.cjs +6 -6
  39. package/dist/apis/document.js +1 -1
  40. package/dist/apis/email-settings.cjs +6 -6
  41. package/dist/apis/email-settings.js +1 -1
  42. package/dist/apis/email-template.cjs +6 -6
  43. package/dist/apis/email-template.js +1 -1
  44. package/dist/apis/entity-mapping.cjs +6 -6
  45. package/dist/apis/entity-mapping.js +1 -1
  46. package/dist/apis/entity.cjs +6 -6
  47. package/dist/apis/entity.js +1 -1
  48. package/dist/apis/environments.cjs +6 -6
  49. package/dist/apis/environments.js +1 -1
  50. package/dist/apis/event-catalog.cjs +6 -6
  51. package/dist/apis/event-catalog.js +1 -1
  52. package/dist/apis/file.cjs +6 -6
  53. package/dist/apis/file.js +1 -1
  54. package/dist/apis/iban.cjs +6 -6
  55. package/dist/apis/iban.js +1 -1
  56. package/dist/apis/integration-toolkit.cjs +6 -6
  57. package/dist/apis/integration-toolkit.js +1 -1
  58. package/dist/apis/journey.cjs +6 -6
  59. package/dist/apis/journey.js +1 -1
  60. package/dist/apis/kanban.cjs +6 -6
  61. package/dist/apis/kanban.js +1 -1
  62. package/dist/apis/message.cjs +6 -6
  63. package/dist/apis/message.js +1 -1
  64. package/dist/apis/metering.cjs +6 -6
  65. package/dist/apis/metering.js +1 -1
  66. package/dist/apis/notes.cjs +6 -6
  67. package/dist/apis/notes.js +1 -1
  68. package/dist/apis/notification.cjs +6 -6
  69. package/dist/apis/notification.js +1 -1
  70. package/dist/apis/organization.cjs +6 -6
  71. package/dist/apis/organization.js +1 -1
  72. package/dist/apis/partner-directory.cjs +6 -6
  73. package/dist/apis/partner-directory.js +1 -1
  74. package/dist/apis/permissions.cjs +6 -6
  75. package/dist/apis/permissions.js +1 -1
  76. package/dist/apis/pricing-tier.cjs +6 -6
  77. package/dist/apis/pricing-tier.js +1 -1
  78. package/dist/apis/pricing.cjs +8 -8
  79. package/dist/apis/pricing.d.cts +2 -2
  80. package/dist/apis/pricing.d.ts +2 -2
  81. package/dist/apis/pricing.js +2 -2
  82. package/dist/apis/purpose.cjs +6 -6
  83. package/dist/apis/purpose.js +1 -1
  84. package/dist/apis/query.cjs +6 -6
  85. package/dist/apis/query.js +1 -1
  86. package/dist/apis/sandbox.cjs +6 -6
  87. package/dist/apis/sandbox.js +1 -1
  88. package/dist/apis/sharing.cjs +6 -6
  89. package/dist/apis/sharing.js +1 -1
  90. package/dist/apis/submission.cjs +6 -6
  91. package/dist/apis/submission.js +1 -1
  92. package/dist/apis/target.cjs +6 -6
  93. package/dist/apis/target.js +1 -1
  94. package/dist/apis/targeting.cjs +6 -6
  95. package/dist/apis/targeting.js +1 -1
  96. package/dist/apis/template-variables.cjs +6 -6
  97. package/dist/apis/template-variables.js +1 -1
  98. package/dist/apis/user.cjs +6 -6
  99. package/dist/apis/user.js +1 -1
  100. package/dist/apis/validation-rules.cjs +6 -6
  101. package/dist/apis/validation-rules.js +1 -1
  102. package/dist/apis/webhooks.cjs +6 -6
  103. package/dist/apis/webhooks.js +1 -1
  104. package/dist/apis/workflow-definition.cjs +6 -6
  105. package/dist/apis/workflow-definition.js +1 -1
  106. package/dist/apis/workflow.cjs +6 -6
  107. package/dist/apis/workflow.js +1 -1
  108. package/dist/automation-BMO7ZFTN.cjs +7 -0
  109. package/dist/automation-MEZTSUR3.js +7 -0
  110. package/dist/{automation.d-CzhG2m4L.d.cts → automation.d-Du6-uiz5.d.cts} +31 -0
  111. package/dist/{automation.d-CzhG2m4L.d.ts → automation.d-Du6-uiz5.d.ts} +31 -0
  112. package/dist/{chunk-MEUS7LCE.js → chunk-63BFJKWV.js} +1 -1
  113. package/dist/{chunk-YLJD7G7H.cjs → chunk-AM5TSEMU.cjs} +3 -3
  114. package/dist/{chunk-JXJC6WEW.cjs → chunk-KP7H52BF.cjs} +1 -1
  115. package/dist/{chunk-CQ3AKMIJ.js → chunk-M25MI6ZX.js} +3 -3
  116. package/dist/index.cjs +10 -10
  117. package/dist/index.d.cts +2 -2
  118. package/dist/index.d.ts +2 -2
  119. package/dist/index.js +2 -2
  120. package/dist/pricing-G67CH3XH.js +7 -0
  121. package/dist/pricing-XAET4G7T.cjs +7 -0
  122. package/dist/{pricing-runtime-JRR4FWFI.js → pricing-runtime-2YKEJJMZ.js} +1 -1
  123. package/dist/{pricing-runtime-6XNS4EOF.cjs → pricing-runtime-XDCOKL47.cjs} +2 -2
  124. package/dist/{pricing.d-Cv39plGm.d.cts → pricing.d-BHpMU4KU.d.cts} +80 -25
  125. package/dist/{pricing.d-Cv39plGm.d.ts → pricing.d-BHpMU4KU.d.ts} +80 -25
  126. package/docs/automation.md +42 -5
  127. package/docs/pricing.md +39 -15
  128. package/package.json +1 -1
  129. package/dist/automation-GFNNLSIN.js +0 -7
  130. package/dist/automation-IOCVCTKR.cjs +0 -7
  131. package/dist/pricing-4Z4TOETA.cjs +0 -7
  132. package/dist/pricing-C65DTZSX.js +0 -7
@@ -1,8 +1,6 @@
1
1
  import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
2
2
 
3
3
  /* Auto-copied from pricing-client */
4
- /* eslint-disable */
5
-
6
4
 
7
5
 
8
6
  declare namespace Components {
@@ -6603,17 +6601,19 @@ declare namespace Components {
6603
6601
  */
6604
6602
  description?: string;
6605
6603
  /**
6606
- * Billing Account relation ID
6604
+ * Billing Account relation
6607
6605
  */
6608
- billing_account?: string;
6606
+ billing_account?: {
6607
+ [key: string]: any;
6608
+ };
6609
6609
  /**
6610
6610
  * Account Number
6611
6611
  */
6612
6612
  account_number?: string;
6613
6613
  /**
6614
- * Branch/commodity type
6614
+ * Branch/commodity type (e.g. power, gas, water, waste_water, district_heating, or any custom value)
6615
6615
  */
6616
- branch?: "power" | "gas" | "water" | "waste_water" | "district_heating";
6616
+ branch?: string;
6617
6617
  /**
6618
6618
  * Move In Date
6619
6619
  */
@@ -6633,7 +6633,7 @@ declare namespace Components {
6633
6633
  */
6634
6634
  delivery_address?: {
6635
6635
  [key: string]: any;
6636
- };
6636
+ }[];
6637
6637
  /**
6638
6638
  * Additional Addresses
6639
6639
  */
@@ -6659,7 +6659,9 @@ declare namespace Components {
6659
6659
  /**
6660
6660
  * Customer relation (contact or account)
6661
6661
  */
6662
- customer?: string[];
6662
+ customer?: {
6663
+ [key: string]: any;
6664
+ };
6663
6665
  /**
6664
6666
  * Order relation ID
6665
6667
  */
@@ -6708,28 +6710,21 @@ declare namespace Components {
6708
6710
  * Billing Due Day
6709
6711
  */
6710
6712
  billing_due_day?: number;
6711
- /**
6712
- * Installment Amount
6713
- */
6714
- installment_amount?: {
6715
- value?: number;
6716
- currency?: string;
6717
- };
6713
+ installment_amount?: number;
6718
6714
  /**
6719
6715
  * Balance
6720
6716
  */
6721
- balance?: {
6722
- value?: number;
6723
- currency?: string;
6724
- };
6717
+ balance?: number;
6725
6718
  /**
6726
6719
  * Meters relation
6727
6720
  */
6728
6721
  meters?: string[];
6729
6722
  /**
6730
- * Payment Details relation ID
6723
+ * Payment Details relation
6731
6724
  */
6732
- payment?: string;
6725
+ payment?: {
6726
+ [key: string]: any;
6727
+ };
6733
6728
  /**
6734
6729
  * Last Sync At
6735
6730
  */
@@ -6863,6 +6858,54 @@ declare namespace Components {
6863
6858
  */
6864
6859
  external_id?: string;
6865
6860
  };
6861
+ /**
6862
+ * Address to use for product availability checks. Include when the catalog should filter products by serviceable area (e.g. postal code coverage).
6863
+ *
6864
+ */
6865
+ availability_address?: {
6866
+ /**
6867
+ * Postal Code
6868
+ */
6869
+ postal_code?: string;
6870
+ /**
6871
+ * City
6872
+ */
6873
+ city?: string;
6874
+ /**
6875
+ * Street
6876
+ */
6877
+ street?: string;
6878
+ /**
6879
+ * Street Number
6880
+ */
6881
+ street_number?: string;
6882
+ /**
6883
+ * The journey target block of the availability address <step_index>/<block_name>
6884
+ */
6885
+ journey_target_block?: string;
6886
+ };
6887
+ /**
6888
+ * Variable inputs (e.g. energy or water consumption) extracted/provided by the portal so the external catalog service can compute amounts for variable prices.
6889
+ *
6890
+ */
6891
+ variable_inputs?: {
6892
+ /**
6893
+ * The value of the variable input
6894
+ */
6895
+ value?: number;
6896
+ /**
6897
+ * The unit of the variable input
6898
+ */
6899
+ unit?: string;
6900
+ /**
6901
+ * The frequency unit of the variable input
6902
+ */
6903
+ frequency_unit?: "weekly" | "monthly" | "every_quarter" | "every_6_months" | "yearly" | "one_time";
6904
+ /**
6905
+ * The journey target block of the variable input <step_index>/<block_name>
6906
+ */
6907
+ journey_target_block?: string;
6908
+ }[];
6866
6909
  }
6867
6910
  /**
6868
6911
  * The meter type for power
@@ -10061,6 +10104,12 @@ declare namespace Paths {
10061
10104
  }
10062
10105
  }
10063
10106
  namespace $GetExternalCatalogProductRecommendations {
10107
+ export interface HeaderParameters {
10108
+ "x-epilot-org-id"?: Parameters.XEpilotOrgId;
10109
+ }
10110
+ namespace Parameters {
10111
+ export type XEpilotOrgId = string;
10112
+ }
10064
10113
  export type RequestBody = /**
10065
10114
  * The request payload for the external catalog service.
10066
10115
  * example:
@@ -10111,6 +10160,12 @@ declare namespace Paths {
10111
10160
  }
10112
10161
  }
10113
10162
  namespace $GetExternalCatalogProducts {
10163
+ export interface HeaderParameters {
10164
+ "x-epilot-org-id"?: Parameters.XEpilotOrgId;
10165
+ }
10166
+ namespace Parameters {
10167
+ export type XEpilotOrgId = string;
10168
+ }
10114
10169
  export type RequestBody = /**
10115
10170
  * The request payload for the external catalog service.
10116
10171
  * example:
@@ -11748,7 +11803,7 @@ interface OperationMethods {
11748
11803
  * Returns the list of available external catalog products with computed prices based on a given context
11749
11804
  */
11750
11805
  '$getExternalCatalogProducts'(
11751
- parameters?: Parameters<UnknownParamsObject> | null,
11806
+ parameters?: Parameters<Paths.$GetExternalCatalogProducts.HeaderParameters> | null,
11752
11807
  data?: Paths.$GetExternalCatalogProducts.RequestBody,
11753
11808
  config?: AxiosRequestConfig
11754
11809
  ): OperationResponse<Paths.$GetExternalCatalogProducts.Responses.$200>
@@ -11758,7 +11813,7 @@ interface OperationMethods {
11758
11813
  * Returns the list of available external catalog products recommendations based on a given context
11759
11814
  */
11760
11815
  '$getExternalCatalogProductRecommendations'(
11761
- parameters?: Parameters<UnknownParamsObject> | null,
11816
+ parameters?: Parameters<Paths.$GetExternalCatalogProductRecommendations.HeaderParameters> | null,
11762
11817
  data?: Paths.$GetExternalCatalogProductRecommendations.RequestBody,
11763
11818
  config?: AxiosRequestConfig
11764
11819
  ): OperationResponse<Paths.$GetExternalCatalogProductRecommendations.Responses.$200>
@@ -12021,7 +12076,7 @@ interface PathsDictionary {
12021
12076
  * Returns the list of available external catalog products with computed prices based on a given context
12022
12077
  */
12023
12078
  'post'(
12024
- parameters?: Parameters<UnknownParamsObject> | null,
12079
+ parameters?: Parameters<Paths.$GetExternalCatalogProducts.HeaderParameters> | null,
12025
12080
  data?: Paths.$GetExternalCatalogProducts.RequestBody,
12026
12081
  config?: AxiosRequestConfig
12027
12082
  ): OperationResponse<Paths.$GetExternalCatalogProducts.Responses.$200>
@@ -12033,7 +12088,7 @@ interface PathsDictionary {
12033
12088
  * Returns the list of available external catalog products recommendations based on a given context
12034
12089
  */
12035
12090
  'post'(
12036
- parameters?: Parameters<UnknownParamsObject> | null,
12091
+ parameters?: Parameters<Paths.$GetExternalCatalogProductRecommendations.HeaderParameters> | null,
12037
12092
  data?: Paths.$GetExternalCatalogProductRecommendations.RequestBody,
12038
12093
  config?: AxiosRequestConfig
12039
12094
  ): OperationResponse<Paths.$GetExternalCatalogProductRecommendations.Responses.$200>
@@ -192,6 +192,7 @@ const { data } = await client.searchFlows({
192
192
  size: 1,
193
193
  from: 1,
194
194
  trigger_source_id: 'example',
195
+ target_workflow: 'example',
195
196
  include_flows: true,
196
197
  })
197
198
  ```
@@ -340,7 +341,14 @@ const { data } = await client.startExecution(
340
341
  parent_execution_id: 'string',
341
342
  parent_task_id: 'string',
342
343
  depth: 0
343
- }
344
+ },
345
+ entity_contexts: [
346
+ {
347
+ entity_id: 'string',
348
+ entity_schema: 'string',
349
+ is_primary: true
350
+ }
351
+ ]
344
352
  },
345
353
  flow_execution_id: 'string',
346
354
  flow_automation_task_id: 'string'
@@ -451,7 +459,10 @@ const { data } = await client.startExecution(
451
459
  "parent_execution_id": "string",
452
460
  "parent_task_id": "string",
453
461
  "depth": 0
454
- }
462
+ },
463
+ "entity_contexts": [
464
+ {}
465
+ ]
455
466
  }
456
467
  }
457
468
  ```
@@ -735,7 +746,10 @@ const { data } = await client.getExecution({
735
746
  "parent_execution_id": "string",
736
747
  "parent_task_id": "string",
737
748
  "depth": 0
738
- }
749
+ },
750
+ "entity_contexts": [
751
+ {}
752
+ ]
739
753
  }
740
754
  }
741
755
  ```
@@ -859,7 +873,10 @@ const { data } = await client.cancelExecution({
859
873
  "parent_execution_id": "string",
860
874
  "parent_task_id": "string",
861
875
  "depth": 0
862
- }
876
+ },
877
+ "entity_contexts": [
878
+ {}
879
+ ]
863
880
  }
864
881
  }
865
882
  ```
@@ -954,7 +971,8 @@ const { data } = await client.resumeExecutionWithToken(
954
971
  "workflow_exec_id": "string",
955
972
  "workflow_exec_task_id": "string",
956
973
  "workflow_role": "trigger_workflow",
957
- "_execution_chain": {}
974
+ "_execution_chain": {},
975
+ "entity_contexts": []
958
976
  }
959
977
  },
960
978
  "resumedAction": {
@@ -2176,6 +2194,7 @@ type SendEmailActionConfig = {
2176
2194
  reply_to_sender?: boolean
2177
2195
  reply_mode?: "reply_in_thread" | "new_email"
2178
2196
  mark_as_done?: boolean
2197
+ mark_as_read?: boolean
2179
2198
  attachments?: Array<{
2180
2199
  source_filter?: { ... }
2181
2200
  }>
@@ -2209,6 +2228,7 @@ type SendEmailAction = {
2209
2228
  reply_to_sender?: boolean
2210
2229
  reply_mode?: "reply_in_thread" | "new_email"
2211
2230
  mark_as_done?: boolean
2231
+ mark_as_read?: boolean
2212
2232
  attachments?: Array<{
2213
2233
  source_filter?: { ... }
2214
2234
  }>
@@ -2235,6 +2255,7 @@ type ForwardEmailActionConfig = {
2235
2255
  include_attachments?: boolean
2236
2256
  subject_prefix?: string
2237
2257
  mark_as_done?: boolean
2258
+ mark_as_read?: boolean
2238
2259
  }
2239
2260
  allow_failure?: boolean
2240
2261
  created_automatically?: boolean
@@ -2261,6 +2282,7 @@ type ForwardEmailAction = {
2261
2282
  include_attachments?: boolean
2262
2283
  subject_prefix?: string
2263
2284
  mark_as_done?: boolean
2285
+ mark_as_read?: boolean
2264
2286
  }
2265
2287
  }
2266
2288
  ```
@@ -2276,6 +2298,7 @@ type ForwardEmailConfig = {
2276
2298
  include_attachments?: boolean
2277
2299
  subject_prefix?: string
2278
2300
  mark_as_done?: boolean
2301
+ mark_as_read?: boolean
2279
2302
  }
2280
2303
  ```
2281
2304
 
@@ -2292,6 +2315,7 @@ type ReplyEmailActionConfig = {
2292
2315
  language_code?: "de" | "en"
2293
2316
  reply_mode?: "reply_in_thread" | "new_email"
2294
2317
  mark_as_done?: boolean
2318
+ mark_as_read?: boolean
2295
2319
  }
2296
2320
  allow_failure?: boolean
2297
2321
  created_automatically?: boolean
@@ -2315,6 +2339,7 @@ type ReplyEmailAction = {
2315
2339
  language_code?: "de" | "en"
2316
2340
  reply_mode?: "reply_in_thread" | "new_email"
2317
2341
  mark_as_done?: boolean
2342
+ mark_as_read?: boolean
2318
2343
  }
2319
2344
  }
2320
2345
  ```
@@ -2327,6 +2352,7 @@ type ReplyEmailConfig = {
2327
2352
  language_code?: "de" | "en"
2328
2353
  reply_mode?: "reply_in_thread" | "new_email"
2329
2354
  mark_as_done?: boolean
2355
+ mark_as_read?: boolean
2330
2356
  }
2331
2357
  ```
2332
2358
 
@@ -2342,6 +2368,7 @@ type SendEmailConfig = {
2342
2368
  reply_to_sender?: boolean
2343
2369
  reply_mode?: "reply_in_thread" | "new_email"
2344
2370
  mark_as_done?: boolean
2371
+ mark_as_read?: boolean
2345
2372
  attachments?: Array<{
2346
2373
  source_filter?: {
2347
2374
  limit?: { ... }
@@ -2993,6 +3020,11 @@ type WorkflowExecutionContext = {
2993
3020
  parent_task_id?: string
2994
3021
  depth?: number
2995
3022
  }
3023
+ entity_contexts?: Array<{
3024
+ entity_id?: string
3025
+ entity_schema?: string
3026
+ is_primary?: boolean
3027
+ }>
2996
3028
  }
2997
3029
  ```
2998
3030
 
@@ -3229,6 +3261,11 @@ type StartExecutionRequest = {
3229
3261
  parent_task_id?: { ... }
3230
3262
  depth?: { ... }
3231
3263
  }
3264
+ entity_contexts?: Array<{
3265
+ entity_id?: { ... }
3266
+ entity_schema?: { ... }
3267
+ is_primary?: { ... }
3268
+ }>
3232
3269
  }
3233
3270
  flow_execution_id?: string
3234
3271
  flow_automation_task_id?: string
package/docs/pricing.md CHANGED
@@ -1473,7 +1473,9 @@ getExternalCatalogProducts
1473
1473
 
1474
1474
  ```ts
1475
1475
  const { data } = await client.$getExternalCatalogProducts(
1476
- null,
1476
+ {
1477
+ x-epilot-org-id: 'example',
1478
+ },
1477
1479
  {
1478
1480
  config: {
1479
1481
  appId: '1234567890',
@@ -1539,7 +1541,9 @@ getExternalCatalogProductRecommendations
1539
1541
 
1540
1542
  ```ts
1541
1543
  const { data } = await client.$getExternalCatalogProductRecommendations(
1542
- null,
1544
+ {
1545
+ x-epilot-org-id: 'example',
1546
+ },
1543
1547
  {
1544
1548
  config: {
1545
1549
  appId: '1234567890',
@@ -5598,6 +5602,19 @@ type ExternalCatalogPortalRequest = {
5598
5602
  contracts?: { ... }
5599
5603
  external_id?: { ... }
5600
5604
  }
5605
+ availability_address?: {
5606
+ postal_code?: { ... }
5607
+ city?: { ... }
5608
+ street?: { ... }
5609
+ street_number?: { ... }
5610
+ journey_target_block?: { ... }
5611
+ }
5612
+ variable_inputs?: Array<{
5613
+ value?: { ... }
5614
+ unit?: { ... }
5615
+ frequency_unit?: { ... }
5616
+ journey_target_block?: { ... }
5617
+ }>
5601
5618
  }
5602
5619
  }
5603
5620
  ```
@@ -5651,19 +5668,19 @@ type PortalContext = {
5651
5668
  assignee?: string
5652
5669
  status?: "draft" | "in_approval_process" | "approved" | "active" | "deactivated" | "revoked" | "terminated" | "expired"
5653
5670
  description?: string
5654
- billing_account?: string
5671
+ billing_account?: object
5655
5672
  account_number?: string
5656
- branch?: "power" | "gas" | "water" | "waste_water" | "district_heating"
5673
+ branch?: string
5657
5674
  move_in_date?: string // date
5658
5675
  move_out_date?: string // date
5659
5676
  billing_address?: object
5660
- delivery_address?: object
5677
+ delivery_address?: object[]
5661
5678
  additional_addresses?: object[]
5662
5679
  termination_date?: string // date
5663
5680
  termination_reason?: string
5664
5681
  start_date?: string // date
5665
5682
  end_date?: string // date
5666
- customer?: string[]
5683
+ customer?: object
5667
5684
  order?: string
5668
5685
  type?: "one_time" | "recurring"
5669
5686
  billing_period?: "weekly" | "monthly" | "every_quarter" | "every_6_months" | "yearly"
@@ -5676,16 +5693,10 @@ type PortalContext = {
5676
5693
  renewal_duration_amount?: number
5677
5694
  renewal_duration_unit?: "weeks" | "months" | "years"
5678
5695
  billing_due_day?: number
5679
- installment_amount?: {
5680
- value?: { ... }
5681
- currency?: { ... }
5682
- }
5683
- balance?: {
5684
- value?: { ... }
5685
- currency?: { ... }
5686
- }
5696
+ installment_amount?: number
5697
+ balance?: number
5687
5698
  meters?: string[]
5688
- payment?: string
5699
+ payment?: object
5689
5700
  last_sync_at?: string // date
5690
5701
  external_id?: string
5691
5702
  }
@@ -5730,6 +5741,19 @@ type PortalContext = {
5730
5741
  contracts?: string[]
5731
5742
  external_id?: string
5732
5743
  }
5744
+ availability_address?: {
5745
+ postal_code?: string
5746
+ city?: string
5747
+ street?: string
5748
+ street_number?: string
5749
+ journey_target_block?: string
5750
+ }
5751
+ variable_inputs?: Array<{
5752
+ value?: number
5753
+ unit?: string
5754
+ frequency_unit?: "weekly" | "monthly" | "every_quarter" | "every_6_months" | "yearly" | "one_time"
5755
+ journey_target_block?: string
5756
+ }>
5733
5757
  }
5734
5758
  ```
5735
5759
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/sdk",
3
- "version": "2.4.2",
3
+ "version": "2.4.3",
4
4
  "description": "JavaScript/TypeScript SDK for epilot APIs",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",