@epilot/sdk 2.3.6 → 2.3.7-rc1

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 (148) hide show
  1. package/definitions/blueprint-manifest-runtime.json +1 -1
  2. package/definitions/blueprint-manifest.json +239 -12
  3. package/definitions/configuration-hub-runtime.json +1 -0
  4. package/definitions/configuration-hub.json +399 -0
  5. package/definitions/customer-portal-runtime.json +1 -1
  6. package/definitions/customer-portal.json +373 -4
  7. package/definitions/entity-runtime.json +1 -1
  8. package/definitions/entity.json +354 -4
  9. package/dist/apis/access-token.cjs +6 -6
  10. package/dist/apis/access-token.js +1 -1
  11. package/dist/apis/address-suggestions.cjs +6 -6
  12. package/dist/apis/address-suggestions.js +1 -1
  13. package/dist/apis/address.cjs +6 -6
  14. package/dist/apis/address.js +1 -1
  15. package/dist/apis/ai-agents.cjs +6 -6
  16. package/dist/apis/ai-agents.js +1 -1
  17. package/dist/apis/app.cjs +6 -6
  18. package/dist/apis/app.js +1 -1
  19. package/dist/apis/audit-logs.cjs +6 -6
  20. package/dist/apis/audit-logs.js +1 -1
  21. package/dist/apis/automation.cjs +6 -6
  22. package/dist/apis/automation.js +1 -1
  23. package/dist/apis/billing.cjs +6 -6
  24. package/dist/apis/billing.js +1 -1
  25. package/dist/apis/blueprint-manifest.cjs +6 -6
  26. package/dist/apis/blueprint-manifest.js +1 -1
  27. package/dist/apis/configuration-hub.cjs +6 -6
  28. package/dist/apis/configuration-hub.js +1 -1
  29. package/dist/apis/consent.cjs +6 -6
  30. package/dist/apis/consent.js +1 -1
  31. package/dist/apis/customer-portal.cjs +8 -8
  32. package/dist/apis/customer-portal.d.cts +2 -2
  33. package/dist/apis/customer-portal.d.ts +2 -2
  34. package/dist/apis/customer-portal.js +2 -2
  35. package/dist/apis/dashboard.cjs +6 -6
  36. package/dist/apis/dashboard.js +1 -1
  37. package/dist/apis/data-governance.cjs +6 -6
  38. package/dist/apis/data-governance.js +1 -1
  39. package/dist/apis/deduplication.cjs +6 -6
  40. package/dist/apis/deduplication.js +1 -1
  41. package/dist/apis/design.cjs +6 -6
  42. package/dist/apis/design.js +1 -1
  43. package/dist/apis/document.cjs +6 -6
  44. package/dist/apis/document.js +1 -1
  45. package/dist/apis/email-settings.cjs +6 -6
  46. package/dist/apis/email-settings.js +1 -1
  47. package/dist/apis/email-template.cjs +6 -6
  48. package/dist/apis/email-template.js +1 -1
  49. package/dist/apis/entity-mapping.cjs +6 -6
  50. package/dist/apis/entity-mapping.js +1 -1
  51. package/dist/apis/entity.cjs +8 -8
  52. package/dist/apis/entity.js +2 -2
  53. package/dist/apis/environments.cjs +6 -6
  54. package/dist/apis/environments.js +1 -1
  55. package/dist/apis/event-catalog.cjs +6 -6
  56. package/dist/apis/event-catalog.js +1 -1
  57. package/dist/apis/file.cjs +6 -6
  58. package/dist/apis/file.js +1 -1
  59. package/dist/apis/iban.cjs +6 -6
  60. package/dist/apis/iban.js +1 -1
  61. package/dist/apis/integration-toolkit.cjs +6 -6
  62. package/dist/apis/integration-toolkit.js +1 -1
  63. package/dist/apis/journey.cjs +6 -6
  64. package/dist/apis/journey.js +1 -1
  65. package/dist/apis/kanban.cjs +6 -6
  66. package/dist/apis/kanban.js +1 -1
  67. package/dist/apis/message.cjs +6 -6
  68. package/dist/apis/message.js +1 -1
  69. package/dist/apis/metering.cjs +6 -6
  70. package/dist/apis/metering.js +1 -1
  71. package/dist/apis/notes.cjs +6 -6
  72. package/dist/apis/notes.js +1 -1
  73. package/dist/apis/notification.cjs +6 -6
  74. package/dist/apis/notification.js +1 -1
  75. package/dist/apis/organization.cjs +6 -6
  76. package/dist/apis/organization.js +1 -1
  77. package/dist/apis/partner-directory.cjs +6 -6
  78. package/dist/apis/partner-directory.js +1 -1
  79. package/dist/apis/permissions.cjs +6 -6
  80. package/dist/apis/permissions.js +1 -1
  81. package/dist/apis/pricing-tier.cjs +6 -6
  82. package/dist/apis/pricing-tier.js +1 -1
  83. package/dist/apis/pricing.cjs +6 -6
  84. package/dist/apis/pricing.js +1 -1
  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/chunk-2MMSXUOL.cjs +14 -0
  112. package/dist/{chunk-XN43KCAN.cjs → chunk-FCT6W5UM.cjs} +4 -4
  113. package/dist/chunk-GVNT76UU.js +14 -0
  114. package/dist/chunk-M6Z6ES3I.js +14 -0
  115. package/dist/{chunk-YD2W64XJ.js → chunk-OU5NVIJW.js} +4 -4
  116. package/dist/chunk-UBQCDPW6.cjs +14 -0
  117. package/dist/customer-portal-5LMHNBMD.cjs +7 -0
  118. package/dist/customer-portal-RZACUF4N.js +7 -0
  119. package/dist/{customer-portal-runtime-3LTXCTKD.cjs → customer-portal-runtime-DULJLR7F.cjs} +2 -2
  120. package/dist/{customer-portal-runtime-374XJ6LB.js → customer-portal-runtime-PSM55KGU.js} +1 -1
  121. package/dist/{customer-portal.d-BJNWYMt9.d.cts → customer-portal.d-DyZ2n2dW.d.cts} +633 -5
  122. package/dist/{customer-portal.d-BJNWYMt9.d.ts → customer-portal.d-DyZ2n2dW.d.ts} +633 -5
  123. package/dist/entity-VDUN7SYC.cjs +7 -0
  124. package/dist/entity-WWM2Z7BU.js +7 -0
  125. package/dist/entity-runtime-3J5EDLXP.cjs +5 -0
  126. package/dist/{entity-runtime-D4DV5XRM.js → entity-runtime-LNAZILIN.js} +1 -1
  127. package/dist/index.cjs +12 -12
  128. package/dist/index.d.cts +1 -1
  129. package/dist/index.d.ts +1 -1
  130. package/dist/index.js +3 -3
  131. package/docs/customer-portal.md +602 -51
  132. package/docs/entity.md +965 -39
  133. package/package.json +1 -1
  134. package/definitions/data-management-runtime.json +0 -1
  135. package/definitions/data-management.json +0 -972
  136. package/definitions/erp-integration-runtime.json +0 -1
  137. package/definitions/erp-integration.json +0 -6780
  138. package/definitions/target-runtime.json +0 -1
  139. package/definitions/target.json +0 -609
  140. package/dist/chunk-F7W62NKV.js +0 -14
  141. package/dist/chunk-QA2OYK7N.cjs +0 -14
  142. package/dist/chunk-XT54462S.js +0 -14
  143. package/dist/chunk-YWDWPVIC.cjs +0 -14
  144. package/dist/customer-portal-AEFMNNYP.cjs +0 -7
  145. package/dist/customer-portal-Y3GLUVMW.js +0 -7
  146. package/dist/entity-CK76MXVN.js +0 -7
  147. package/dist/entity-TFMH5VTZ.cjs +0 -7
  148. package/dist/entity-runtime-DUJTRYLQ.cjs +0 -5
@@ -464,6 +464,27 @@ declare namespace Components {
464
464
  * 2021-02-09T12:41:43.662Z
465
465
  */
466
466
  _updated_at: string; // date-time
467
+ /**
468
+ * Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.
469
+ */
470
+ templates_output_highlighted?: {
471
+ [name: string]: string | {
472
+ [name: string]: string;
473
+ };
474
+ };
475
+ /**
476
+ * Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.
477
+ */
478
+ search_snippets?: {
479
+ /**
480
+ * Human-readable field label
481
+ */
482
+ field?: string;
483
+ /**
484
+ * Highlighted text fragment with <em> tags
485
+ */
486
+ fragment?: string;
487
+ }[];
467
488
  /**
468
489
  * Amount to be paid in cents i.e. precision 2
469
490
  * example:
@@ -589,6 +610,27 @@ declare namespace Components {
589
610
  * 2021-02-09T12:41:43.662Z
590
611
  */
591
612
  _updated_at: string; // date-time
613
+ /**
614
+ * Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.
615
+ */
616
+ templates_output_highlighted?: {
617
+ [name: string]: string | {
618
+ [name: string]: string;
619
+ };
620
+ };
621
+ /**
622
+ * Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.
623
+ */
624
+ search_snippets?: {
625
+ /**
626
+ * Human-readable field label
627
+ */
628
+ field?: string;
629
+ /**
630
+ * Highlighted text fragment with <em> tags
631
+ */
632
+ fragment?: string;
633
+ }[];
592
634
  /**
593
635
  * Billing account number
594
636
  */
@@ -1724,6 +1766,27 @@ declare namespace Components {
1724
1766
  * 2021-02-09T12:41:43.662Z
1725
1767
  */
1726
1768
  _updated_at: string; // date-time
1769
+ /**
1770
+ * Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.
1771
+ */
1772
+ templates_output_highlighted?: {
1773
+ [name: string]: string | {
1774
+ [name: string]: string;
1775
+ };
1776
+ };
1777
+ /**
1778
+ * Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.
1779
+ */
1780
+ search_snippets?: {
1781
+ /**
1782
+ * Human-readable field label
1783
+ */
1784
+ field?: string;
1785
+ /**
1786
+ * Highlighted text fragment with <em> tags
1787
+ */
1788
+ fragment?: string;
1789
+ }[];
1727
1790
  _schema: "contact";
1728
1791
  }
1729
1792
  export interface ContactCountRequest {
@@ -1854,6 +1917,27 @@ declare namespace Components {
1854
1917
  * 2021-02-09T12:41:43.662Z
1855
1918
  */
1856
1919
  _updated_at: string; // date-time
1920
+ /**
1921
+ * Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.
1922
+ */
1923
+ templates_output_highlighted?: {
1924
+ [name: string]: string | {
1925
+ [name: string]: string;
1926
+ };
1927
+ };
1928
+ /**
1929
+ * Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.
1930
+ */
1931
+ search_snippets?: {
1932
+ /**
1933
+ * Human-readable field label
1934
+ */
1935
+ field?: string;
1936
+ /**
1937
+ * Highlighted text fragment with <em> tags
1938
+ */
1939
+ fragment?: string;
1940
+ }[];
1857
1941
  /**
1858
1942
  * The name of the contract.
1859
1943
  * example:
@@ -2264,6 +2348,27 @@ declare namespace Components {
2264
2348
  }
2265
2349
  export interface Entity {
2266
2350
  [name: string]: any;
2351
+ /**
2352
+ * Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.
2353
+ */
2354
+ templates_output_highlighted?: {
2355
+ [name: string]: string | {
2356
+ [name: string]: string;
2357
+ };
2358
+ };
2359
+ /**
2360
+ * Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.
2361
+ */
2362
+ search_snippets?: {
2363
+ /**
2364
+ * Human-readable field label
2365
+ */
2366
+ field?: string;
2367
+ /**
2368
+ * Highlighted text fragment with <em> tags
2369
+ */
2370
+ fragment?: string;
2371
+ }[];
2267
2372
  }
2268
2373
  export interface EntityEditRule {
2269
2374
  slug?: /**
@@ -2453,6 +2558,27 @@ declare namespace Components {
2453
2558
  * 2021-02-09T12:41:43.662Z
2454
2559
  */
2455
2560
  _updated_at: string; // date-time
2561
+ /**
2562
+ * Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.
2563
+ */
2564
+ templates_output_highlighted?: {
2565
+ [name: string]: string | {
2566
+ [name: string]: string;
2567
+ };
2568
+ };
2569
+ /**
2570
+ * Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.
2571
+ */
2572
+ search_snippets?: {
2573
+ /**
2574
+ * Human-readable field label
2575
+ */
2576
+ field?: string;
2577
+ /**
2578
+ * Highlighted text fragment with <em> tags
2579
+ */
2580
+ fragment?: string;
2581
+ }[];
2456
2582
  /**
2457
2583
  * Resolved template strings corresponding to the templates parameter. Supports both string values and nested objects of strings.
2458
2584
  * example:
@@ -2790,6 +2916,12 @@ declare namespace Components {
2790
2916
  * ]
2791
2917
  */
2792
2918
  include?: ("active_workflow")[];
2919
+ /**
2920
+ * Elasticsearch highlight configuration passed through to the Entity API. When provided, matching results include a `highlight` object with field names as keys and arrays of highlighted fragments as values.
2921
+ */
2922
+ highlight?: {
2923
+ [key: string]: any;
2924
+ };
2793
2925
  }
2794
2926
  /**
2795
2927
  * URL-friendly identifier for the entity schema
@@ -3657,6 +3789,27 @@ declare namespace Components {
3657
3789
  * 2021-02-09T12:41:43.662Z
3658
3790
  */
3659
3791
  _updated_at: string; // date-time
3792
+ /**
3793
+ * Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.
3794
+ */
3795
+ templates_output_highlighted?: {
3796
+ [name: string]: string | {
3797
+ [name: string]: string;
3798
+ };
3799
+ };
3800
+ /**
3801
+ * Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.
3802
+ */
3803
+ search_snippets?: {
3804
+ /**
3805
+ * Human-readable field label
3806
+ */
3807
+ field?: string;
3808
+ /**
3809
+ * Highlighted text fragment with <em> tags
3810
+ */
3811
+ fragment?: string;
3812
+ }[];
3660
3813
  _schema: "file";
3661
3814
  }
3662
3815
  /**
@@ -3703,6 +3856,27 @@ declare namespace Components {
3703
3856
  * 2021-02-09T12:41:43.662Z
3704
3857
  */
3705
3858
  _updated_at: string; // date-time
3859
+ /**
3860
+ * Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.
3861
+ */
3862
+ templates_output_highlighted?: {
3863
+ [name: string]: string | {
3864
+ [name: string]: string;
3865
+ };
3866
+ };
3867
+ /**
3868
+ * Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.
3869
+ */
3870
+ search_snippets?: {
3871
+ /**
3872
+ * Human-readable field label
3873
+ */
3874
+ field?: string;
3875
+ /**
3876
+ * Highlighted text fragment with <em> tags
3877
+ */
3878
+ fragment?: string;
3879
+ }[];
3706
3880
  _schema: "file";
3707
3881
  /**
3708
3882
  * example:
@@ -3833,6 +4007,27 @@ declare namespace Components {
3833
4007
  * 2021-02-09T12:41:43.662Z
3834
4008
  */
3835
4009
  _updated_at: string; // date-time
4010
+ /**
4011
+ * Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.
4012
+ */
4013
+ templates_output_highlighted?: {
4014
+ [name: string]: string | {
4015
+ [name: string]: string;
4016
+ };
4017
+ };
4018
+ /**
4019
+ * Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.
4020
+ */
4021
+ search_snippets?: {
4022
+ /**
4023
+ * Human-readable field label
4024
+ */
4025
+ field?: string;
4026
+ /**
4027
+ * Highlighted text fragment with <em> tags
4028
+ */
4029
+ fragment?: string;
4030
+ }[];
3836
4031
  /**
3837
4032
  * Amount to be paid in cents i.e. precision 2
3838
4033
  * example:
@@ -3942,6 +4137,27 @@ declare namespace Components {
3942
4137
  * 2021-02-09T12:41:43.662Z
3943
4138
  */
3944
4139
  _updated_at: string; // date-time
4140
+ /**
4141
+ * Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.
4142
+ */
4143
+ templates_output_highlighted?: {
4144
+ [name: string]: string | {
4145
+ [name: string]: string;
4146
+ };
4147
+ };
4148
+ /**
4149
+ * Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.
4150
+ */
4151
+ search_snippets?: {
4152
+ /**
4153
+ * Human-readable field label
4154
+ */
4155
+ field?: string;
4156
+ /**
4157
+ * Highlighted text fragment with <em> tags
4158
+ */
4159
+ fragment?: string;
4160
+ }[];
3945
4161
  _schema: "meter";
3946
4162
  }
3947
4163
  export interface MeterChartWidget {
@@ -4274,6 +4490,27 @@ declare namespace Components {
4274
4490
  * 2021-02-09T12:41:43.662Z
4275
4491
  */
4276
4492
  _updated_at: string; // date-time
4493
+ /**
4494
+ * Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.
4495
+ */
4496
+ templates_output_highlighted?: {
4497
+ [name: string]: string | {
4498
+ [name: string]: string;
4499
+ };
4500
+ };
4501
+ /**
4502
+ * Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.
4503
+ */
4504
+ search_snippets?: {
4505
+ /**
4506
+ * Human-readable field label
4507
+ */
4508
+ field?: string;
4509
+ /**
4510
+ * Highlighted text fragment with <em> tags
4511
+ */
4512
+ fragment?: string;
4513
+ }[];
4277
4514
  _schema: "opportunity";
4278
4515
  }
4279
4516
  /**
@@ -4320,6 +4557,27 @@ declare namespace Components {
4320
4557
  * 2021-02-09T12:41:43.662Z
4321
4558
  */
4322
4559
  _updated_at: string; // date-time
4560
+ /**
4561
+ * Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.
4562
+ */
4563
+ templates_output_highlighted?: {
4564
+ [name: string]: string | {
4565
+ [name: string]: string;
4566
+ };
4567
+ };
4568
+ /**
4569
+ * Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.
4570
+ */
4571
+ search_snippets?: {
4572
+ /**
4573
+ * Human-readable field label
4574
+ */
4575
+ field?: string;
4576
+ /**
4577
+ * Highlighted text fragment with <em> tags
4578
+ */
4579
+ fragment?: string;
4580
+ }[];
4323
4581
  _schema: "order";
4324
4582
  }
4325
4583
  export interface OrganizationSettings {
@@ -5732,6 +5990,27 @@ declare namespace Components {
5732
5990
  * 2021-02-09T12:41:43.662Z
5733
5991
  */
5734
5992
  _updated_at: string; // date-time
5993
+ /**
5994
+ * Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.
5995
+ */
5996
+ templates_output_highlighted?: {
5997
+ [name: string]: string | {
5998
+ [name: string]: string;
5999
+ };
6000
+ };
6001
+ /**
6002
+ * Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.
6003
+ */
6004
+ search_snippets?: {
6005
+ /**
6006
+ * Human-readable field label
6007
+ */
6008
+ field?: string;
6009
+ /**
6010
+ * Highlighted text fragment with <em> tags
6011
+ */
6012
+ fragment?: string;
6013
+ }[];
5735
6014
  _schema: "portal_user";
5736
6015
  }
5737
6016
  export type PortalUserRegistrationStatus = "Registration Pending" | "Confirmation Email Sent" | "Registered" | "Email Update In Progress";
@@ -5780,6 +6059,27 @@ declare namespace Components {
5780
6059
  * 2021-02-09T12:41:43.662Z
5781
6060
  */
5782
6061
  _updated_at: string; // date-time
6062
+ /**
6063
+ * Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.
6064
+ */
6065
+ templates_output_highlighted?: {
6066
+ [name: string]: string | {
6067
+ [name: string]: string;
6068
+ };
6069
+ };
6070
+ /**
6071
+ * Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.
6072
+ */
6073
+ search_snippets?: {
6074
+ /**
6075
+ * Human-readable field label
6076
+ */
6077
+ field?: string;
6078
+ /**
6079
+ * Highlighted text fragment with <em> tags
6080
+ */
6081
+ fragment?: string;
6082
+ }[];
5783
6083
  _schema: "product";
5784
6084
  }
5785
6085
  export interface ProductRecommendationsWidget {
@@ -5994,6 +6294,27 @@ declare namespace Components {
5994
6294
  * 2021-02-09T12:41:43.662Z
5995
6295
  */
5996
6296
  _updated_at: string; // date-time
6297
+ /**
6298
+ * Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.
6299
+ */
6300
+ templates_output_highlighted?: {
6301
+ [name: string]: string | {
6302
+ [name: string]: string;
6303
+ };
6304
+ };
6305
+ /**
6306
+ * Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.
6307
+ */
6308
+ search_snippets?: {
6309
+ /**
6310
+ * Human-readable field label
6311
+ */
6312
+ field?: string;
6313
+ /**
6314
+ * Highlighted text fragment with <em> tags
6315
+ */
6316
+ fragment?: string;
6317
+ }[];
5997
6318
  /**
5998
6319
  * Amount to be paid in cents i.e. precision 2
5999
6320
  * example:
@@ -7538,6 +7859,28 @@ declare namespace Paths {
7538
7859
  export type $500 = Components.Responses.InternalServerError;
7539
7860
  }
7540
7861
  }
7862
+ namespace ClonePortalConfig {
7863
+ export interface RequestBody {
7864
+ source_portal_id: /**
7865
+ * ID of the portal
7866
+ * example:
7867
+ * 453ad7bf-86d5-46c8-8252-bcc868df5e3c
7868
+ */
7869
+ Components.Schemas.PortalId;
7870
+ /**
7871
+ * Name for the cloned portal. Defaults to "Copy of <source portal name>".
7872
+ */
7873
+ name?: string;
7874
+ }
7875
+ namespace Responses {
7876
+ export type $201 = Components.Schemas.PortalConfigV3;
7877
+ export type $400 = Components.Responses.InvalidRequest;
7878
+ export type $401 = Components.Responses.Unauthorized;
7879
+ export type $403 = Components.Responses.Forbidden;
7880
+ export type $404 = Components.Responses.NotFound;
7881
+ export type $500 = Components.Responses.InternalServerError;
7882
+ }
7883
+ }
7541
7884
  namespace ConfigureDistribution {
7542
7885
  namespace Parameters {
7543
7886
  export type Origin = /* Origin of the portal */ Components.Schemas.Origin;
@@ -8047,6 +8390,27 @@ declare namespace Paths {
8047
8390
  * 2021-02-09T12:41:43.662Z
8048
8391
  */
8049
8392
  _updated_at: string; // date-time
8393
+ /**
8394
+ * Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.
8395
+ */
8396
+ templates_output_highlighted?: {
8397
+ [name: string]: string | {
8398
+ [name: string]: string;
8399
+ };
8400
+ };
8401
+ /**
8402
+ * Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.
8403
+ */
8404
+ search_snippets?: {
8405
+ /**
8406
+ * Human-readable field label
8407
+ */
8408
+ field?: string;
8409
+ /**
8410
+ * Highlighted text fragment with <em> tags
8411
+ */
8412
+ fragment?: string;
8413
+ }[];
8050
8414
  /**
8051
8415
  * The name of the contract.
8052
8416
  * example:
@@ -8352,6 +8716,27 @@ declare namespace Paths {
8352
8716
  * 2021-02-09T12:41:43.662Z
8353
8717
  */
8354
8718
  _updated_at: string; // date-time
8719
+ /**
8720
+ * Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.
8721
+ */
8722
+ templates_output_highlighted?: {
8723
+ [name: string]: string | {
8724
+ [name: string]: string;
8725
+ };
8726
+ };
8727
+ /**
8728
+ * Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.
8729
+ */
8730
+ search_snippets?: {
8731
+ /**
8732
+ * Human-readable field label
8733
+ */
8734
+ field?: string;
8735
+ /**
8736
+ * Highlighted text fragment with <em> tags
8737
+ */
8738
+ fragment?: string;
8739
+ }[];
8355
8740
  _schema: "opportunity";
8356
8741
  journey_actions?: Components.Schemas.JourneyActions;
8357
8742
  }[];
@@ -8434,6 +8819,27 @@ declare namespace Paths {
8434
8819
  * 2021-02-09T12:41:43.662Z
8435
8820
  */
8436
8821
  _updated_at: string; // date-time
8822
+ /**
8823
+ * Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.
8824
+ */
8825
+ templates_output_highlighted?: {
8826
+ [name: string]: string | {
8827
+ [name: string]: string;
8828
+ };
8829
+ };
8830
+ /**
8831
+ * Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.
8832
+ */
8833
+ search_snippets?: {
8834
+ /**
8835
+ * Human-readable field label
8836
+ */
8837
+ field?: string;
8838
+ /**
8839
+ * Highlighted text fragment with <em> tags
8840
+ */
8841
+ fragment?: string;
8842
+ }[];
8437
8843
  _schema: "order";
8438
8844
  journey_actions?: Components.Schemas.JourneyActions;
8439
8845
  }[];
@@ -8724,9 +9130,17 @@ declare namespace Paths {
8724
9130
  */
8725
9131
  value: number;
8726
9132
  /**
8727
- * Optional type of the consumption, such as 'nt' (night time) or 'ht' (high time). Can be any string.
9133
+ * Optional type of the consumption, such as 'nt' (night time) and 'ht' (high time) or 'feed-in' and 'feed-out'. Can be any string.
9134
+ * example:
9135
+ * nt
8728
9136
  */
8729
9137
  type?: string;
9138
+ /**
9139
+ * The method used to aggregate the consumption data. Assumed default is 'sum'.
9140
+ * example:
9141
+ * sum
9142
+ */
9143
+ aggregation_method?: "sum" | "average" | "max" | "min";
8730
9144
  }[];
8731
9145
  }
8732
9146
  export type $401 = Components.Responses.Unauthorized;
@@ -9227,6 +9641,48 @@ declare namespace Paths {
9227
9641
  export type $500 = Components.Responses.InternalServerError;
9228
9642
  }
9229
9643
  }
9644
+ namespace GetMeterReadings {
9645
+ export interface RequestBody {
9646
+ meter_id: string;
9647
+ counter_id: string;
9648
+ sort?: "asc" | "desc";
9649
+ from?: number;
9650
+ size?: number;
9651
+ /**
9652
+ * Template map (key to Handlebars template string). Each template is resolved per reading.
9653
+ */
9654
+ templates?: {
9655
+ [name: string]: string;
9656
+ };
9657
+ /**
9658
+ * Template map resolved against the counter entity.
9659
+ */
9660
+ counter_templates?: {
9661
+ [name: string]: string;
9662
+ };
9663
+ }
9664
+ namespace Responses {
9665
+ export interface $200 {
9666
+ results?: {
9667
+ [name: string]: any;
9668
+ templates_output?: {
9669
+ [name: string]: string;
9670
+ };
9671
+ }[];
9672
+ hits?: number;
9673
+ /**
9674
+ * Resolved counter templates.
9675
+ */
9676
+ counter_templates_output?: {
9677
+ [name: string]: string;
9678
+ };
9679
+ }
9680
+ export type $400 = Components.Responses.InvalidRequest;
9681
+ export type $401 = Components.Responses.Unauthorized;
9682
+ export type $403 = Components.Responses.Forbidden;
9683
+ export type $500 = Components.Responses.InternalServerError;
9684
+ }
9685
+ }
9230
9686
  namespace GetOpportunity {
9231
9687
  namespace Parameters {
9232
9688
  export type Id = /**
@@ -10978,6 +11434,70 @@ declare namespace Paths {
10978
11434
  export type $500 = Components.Responses.InternalServerError;
10979
11435
  }
10980
11436
  }
11437
+ namespace GetPublicPortalWidgetsV3 {
11438
+ namespace Parameters {
11439
+ export type Domain = string;
11440
+ /**
11441
+ * example:
11442
+ * 12324
11443
+ */
11444
+ export type OrgId = string;
11445
+ export type PortalId = /**
11446
+ * ID of the portal
11447
+ * example:
11448
+ * 453ad7bf-86d5-46c8-8252-bcc868df5e3c
11449
+ */
11450
+ Components.Schemas.PortalId;
11451
+ }
11452
+ export interface QueryParameters {
11453
+ org_id?: /**
11454
+ * example:
11455
+ * 12324
11456
+ */
11457
+ Parameters.OrgId;
11458
+ portal_id?: Parameters.PortalId;
11459
+ domain?: Parameters.Domain;
11460
+ }
11461
+ namespace Responses {
11462
+ export type $200 = Components.Schemas.UpsertPortalWidget;
11463
+ export type $401 = Components.Responses.Unauthorized;
11464
+ export type $403 = Components.Responses.Forbidden;
11465
+ export type $500 = Components.Responses.InternalServerError;
11466
+ }
11467
+ }
11468
+ namespace GetPublicSchemasV3 {
11469
+ namespace Parameters {
11470
+ export type Domain = string;
11471
+ /**
11472
+ * example:
11473
+ * 12324
11474
+ */
11475
+ export type OrgId = string;
11476
+ export type PortalId = /**
11477
+ * ID of the portal
11478
+ * example:
11479
+ * 453ad7bf-86d5-46c8-8252-bcc868df5e3c
11480
+ */
11481
+ Components.Schemas.PortalId;
11482
+ }
11483
+ export interface QueryParameters {
11484
+ org_id?: /**
11485
+ * example:
11486
+ * 12324
11487
+ */
11488
+ Parameters.OrgId;
11489
+ portal_id?: Parameters.PortalId;
11490
+ domain?: Parameters.Domain;
11491
+ }
11492
+ namespace Responses {
11493
+ export interface $200 {
11494
+ schemas?: Components.Schemas.Schema[];
11495
+ }
11496
+ export type $401 = Components.Responses.Unauthorized;
11497
+ export type $403 = Components.Responses.Forbidden;
11498
+ export type $500 = Components.Responses.InternalServerError;
11499
+ }
11500
+ }
10981
11501
  namespace GetRecipientsToNotifyOnAutomation {
10982
11502
  export interface RequestBody {
10983
11503
  /**
@@ -13158,6 +13678,20 @@ interface OperationMethods {
13158
13678
  data?: any,
13159
13679
  config?: AxiosRequestConfig
13160
13680
  ): OperationResponse<Paths.GetPublicPortalWidgets.Responses.$200>
13681
+ /**
13682
+ * getPublicPortalWidgetsV3 - getPublicPortalWidgetsV3
13683
+ *
13684
+ * Retrieves the public widgets of a portal.
13685
+ * Supports two identification methods:
13686
+ * 1. Using org_id + portal_id
13687
+ * 2. Using domain
13688
+ *
13689
+ */
13690
+ 'getPublicPortalWidgetsV3'(
13691
+ parameters?: Parameters<Paths.GetPublicPortalWidgetsV3.QueryParameters> | null,
13692
+ data?: any,
13693
+ config?: AxiosRequestConfig
13694
+ ): OperationResponse<Paths.GetPublicPortalWidgetsV3.Responses.$200>
13161
13695
  /**
13162
13696
  * getPortalWidgets - getPortalWidgets
13163
13697
  *
@@ -13248,6 +13782,20 @@ interface OperationMethods {
13248
13782
  data?: any,
13249
13783
  config?: AxiosRequestConfig
13250
13784
  ): OperationResponse<Paths.GetSchemasByDomain.Responses.$200>
13785
+ /**
13786
+ * getPublicSchemasV3 - getPublicSchemasV3
13787
+ *
13788
+ * Retrieves schemas by portal. Only schemas and attributes used on public pages are returned.
13789
+ * Supports two identification methods:
13790
+ * 1. Using org_id + portal_id
13791
+ * 2. Using domain
13792
+ *
13793
+ */
13794
+ 'getPublicSchemasV3'(
13795
+ parameters?: Parameters<Paths.GetPublicSchemasV3.QueryParameters> | null,
13796
+ data?: any,
13797
+ config?: AxiosRequestConfig
13798
+ ): OperationResponse<Paths.GetPublicSchemasV3.Responses.$200>
13251
13799
  /**
13252
13800
  * getOrganizationSettingsByDomain - getOrganizationSettingsByDomain
13253
13801
  *
@@ -13912,8 +14460,8 @@ interface OperationMethods {
13912
14460
  config?: AxiosRequestConfig
13913
14461
  ): OperationResponse<Paths.CreateMeterReading.Responses.$200>
13914
14462
  /**
13915
- * getAllowedMeterReadingRange - Get allowed reading range for all counters of a meter from the configured
13916
- * third-party plausibility check hook using 'range' mode. This endpoint requires
14463
+ * getAllowedMeterReadingRange - Get allowed reading range for all counters of a meter from the configured
14464
+ * third-party plausibility check hook using 'range' mode. This endpoint requires
13917
14465
  * a plausibility check hook to be configured for the portal.
13918
14466
  *
13919
14467
  */
@@ -13922,6 +14470,18 @@ interface OperationMethods {
13922
14470
  data?: any,
13923
14471
  config?: AxiosRequestConfig
13924
14472
  ): OperationResponse<Paths.GetAllowedMeterReadingRange.Responses.$200>
14473
+ /**
14474
+ * getMeterReadings - Get meter readings with optional template resolution
14475
+ *
14476
+ * Fetches meter readings for a counter and optionally resolves Handlebars
14477
+ * template strings against each reading object using @epilot/variables.
14478
+ *
14479
+ */
14480
+ 'getMeterReadings'(
14481
+ parameters?: Parameters<UnknownParamsObject> | null,
14482
+ data?: Paths.GetMeterReadings.RequestBody,
14483
+ config?: AxiosRequestConfig
14484
+ ): OperationResponse<Paths.GetMeterReadings.Responses.$200>
13925
14485
  /**
13926
14486
  * ssoLogin - ssoLogin
13927
14487
  *
@@ -14220,6 +14780,16 @@ interface OperationMethods {
14220
14780
  data?: Paths.SwapPortalConfig.RequestBody,
14221
14781
  config?: AxiosRequestConfig
14222
14782
  ): OperationResponse<Paths.SwapPortalConfig.Responses.$200>
14783
+ /**
14784
+ * clonePortalConfig - clonePortalConfig
14785
+ *
14786
+ * Creates a new portal by cloning configuration and pages from an existing portal. The new portal gets its own domain, users, email templates, and authentication settings.
14787
+ */
14788
+ 'clonePortalConfig'(
14789
+ parameters?: Parameters<UnknownParamsObject> | null,
14790
+ data?: Paths.ClonePortalConfig.RequestBody,
14791
+ config?: AxiosRequestConfig
14792
+ ): OperationResponse<Paths.ClonePortalConfig.Responses.$201>
14223
14793
  /**
14224
14794
  * invitePartner - invitePartner
14225
14795
  *
@@ -14645,6 +15215,22 @@ interface PathsDictionary {
14645
15215
  config?: AxiosRequestConfig
14646
15216
  ): OperationResponse<Paths.GetPublicPortalWidgets.Responses.$200>
14647
15217
  }
15218
+ ['/v3/portal/public/widgets']: {
15219
+ /**
15220
+ * getPublicPortalWidgetsV3 - getPublicPortalWidgetsV3
15221
+ *
15222
+ * Retrieves the public widgets of a portal.
15223
+ * Supports two identification methods:
15224
+ * 1. Using org_id + portal_id
15225
+ * 2. Using domain
15226
+ *
15227
+ */
15228
+ 'get'(
15229
+ parameters?: Parameters<Paths.GetPublicPortalWidgetsV3.QueryParameters> | null,
15230
+ data?: any,
15231
+ config?: AxiosRequestConfig
15232
+ ): OperationResponse<Paths.GetPublicPortalWidgetsV3.Responses.$200>
15233
+ }
14648
15234
  ['/v2/portal/widgets']: {
14649
15235
  /**
14650
15236
  * upsertPortalWidget - upsertPortalWidget
@@ -14749,6 +15335,22 @@ interface PathsDictionary {
14749
15335
  config?: AxiosRequestConfig
14750
15336
  ): OperationResponse<Paths.GetSchemasByDomain.Responses.$200>
14751
15337
  }
15338
+ ['/v3/portal/public/schemas']: {
15339
+ /**
15340
+ * getPublicSchemasV3 - getPublicSchemasV3
15341
+ *
15342
+ * Retrieves schemas by portal. Only schemas and attributes used on public pages are returned.
15343
+ * Supports two identification methods:
15344
+ * 1. Using org_id + portal_id
15345
+ * 2. Using domain
15346
+ *
15347
+ */
15348
+ 'get'(
15349
+ parameters?: Parameters<Paths.GetPublicSchemasV3.QueryParameters> | null,
15350
+ data?: any,
15351
+ config?: AxiosRequestConfig
15352
+ ): OperationResponse<Paths.GetPublicSchemasV3.Responses.$200>
15353
+ }
14752
15354
  ['/v2/portal/public/org/settings']: {
14753
15355
  /**
14754
15356
  * getOrganizationSettingsByDomain - getOrganizationSettingsByDomain
@@ -15528,8 +16130,8 @@ interface PathsDictionary {
15528
16130
  }
15529
16131
  ['/v2/portal/metering/reading/allowed-range/{meter_id}']: {
15530
16132
  /**
15531
- * getAllowedMeterReadingRange - Get allowed reading range for all counters of a meter from the configured
15532
- * third-party plausibility check hook using 'range' mode. This endpoint requires
16133
+ * getAllowedMeterReadingRange - Get allowed reading range for all counters of a meter from the configured
16134
+ * third-party plausibility check hook using 'range' mode. This endpoint requires
15533
16135
  * a plausibility check hook to be configured for the portal.
15534
16136
  *
15535
16137
  */
@@ -15539,6 +16141,20 @@ interface PathsDictionary {
15539
16141
  config?: AxiosRequestConfig
15540
16142
  ): OperationResponse<Paths.GetAllowedMeterReadingRange.Responses.$200>
15541
16143
  }
16144
+ ['/v2/portal/metering/readings']: {
16145
+ /**
16146
+ * getMeterReadings - Get meter readings with optional template resolution
16147
+ *
16148
+ * Fetches meter readings for a counter and optionally resolves Handlebars
16149
+ * template strings against each reading object using @epilot/variables.
16150
+ *
16151
+ */
16152
+ 'post'(
16153
+ parameters?: Parameters<UnknownParamsObject> | null,
16154
+ data?: Paths.GetMeterReadings.RequestBody,
16155
+ config?: AxiosRequestConfig
16156
+ ): OperationResponse<Paths.GetMeterReadings.Responses.$200>
16157
+ }
15542
16158
  ['/v2/portal/public/sso/login']: {
15543
16159
  /**
15544
16160
  * ssoLogin - ssoLogin
@@ -15877,6 +16493,18 @@ interface PathsDictionary {
15877
16493
  config?: AxiosRequestConfig
15878
16494
  ): OperationResponse<Paths.SwapPortalConfig.Responses.$200>
15879
16495
  }
16496
+ ['/v3/portal/config/clone']: {
16497
+ /**
16498
+ * clonePortalConfig - clonePortalConfig
16499
+ *
16500
+ * Creates a new portal by cloning configuration and pages from an existing portal. The new portal gets its own domain, users, email templates, and authentication settings.
16501
+ */
16502
+ 'post'(
16503
+ parameters?: Parameters<UnknownParamsObject> | null,
16504
+ data?: Paths.ClonePortalConfig.RequestBody,
16505
+ config?: AxiosRequestConfig
16506
+ ): OperationResponse<Paths.ClonePortalConfig.Responses.$201>
16507
+ }
15880
16508
  ['/v3/portal/partner/invite']: {
15881
16509
  /**
15882
16510
  * invitePartner - invitePartner