@epilot/sdk 2.12.1 → 2.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/definitions/customer-portal-runtime.json +1 -1
  2. package/definitions/customer-portal.json +164 -16
  3. package/definitions/focus-pocus-runtime.json +1 -0
  4. package/definitions/focus-pocus.json +757 -0
  5. package/definitions/user-runtime.json +1 -1
  6. package/definitions/user.json +146 -0
  7. package/definitions/workflow-definition-runtime.json +1 -1
  8. package/definitions/workflow-definition.json +281 -47
  9. package/definitions/workflow.json +12 -0
  10. package/dist/apis/access-token.cjs +6 -6
  11. package/dist/apis/access-token.js +1 -1
  12. package/dist/apis/address-suggestions.cjs +6 -6
  13. package/dist/apis/address-suggestions.js +1 -1
  14. package/dist/apis/address.cjs +6 -6
  15. package/dist/apis/address.js +1 -1
  16. package/dist/apis/ai-agents.cjs +6 -6
  17. package/dist/apis/ai-agents.js +1 -1
  18. package/dist/apis/app.cjs +6 -6
  19. package/dist/apis/app.js +1 -1
  20. package/dist/apis/audit-logs.cjs +6 -6
  21. package/dist/apis/audit-logs.js +1 -1
  22. package/dist/apis/automation.cjs +6 -6
  23. package/dist/apis/automation.js +1 -1
  24. package/dist/apis/billing.cjs +6 -6
  25. package/dist/apis/billing.js +1 -1
  26. package/dist/apis/blueprint-manifest.cjs +6 -6
  27. package/dist/apis/blueprint-manifest.js +1 -1
  28. package/dist/apis/calendar.cjs +6 -6
  29. package/dist/apis/calendar.js +1 -1
  30. package/dist/apis/configuration-hub.cjs +6 -6
  31. package/dist/apis/configuration-hub.js +1 -1
  32. package/dist/apis/consent.cjs +6 -6
  33. package/dist/apis/consent.js +1 -1
  34. package/dist/apis/customer-portal.cjs +8 -8
  35. package/dist/apis/customer-portal.d.cts +2 -2
  36. package/dist/apis/customer-portal.d.ts +2 -2
  37. package/dist/apis/customer-portal.js +2 -2
  38. package/dist/apis/dashboard.cjs +6 -6
  39. package/dist/apis/dashboard.js +1 -1
  40. package/dist/apis/data-governance.cjs +6 -6
  41. package/dist/apis/data-governance.js +1 -1
  42. package/dist/apis/deduplication.cjs +6 -6
  43. package/dist/apis/deduplication.js +1 -1
  44. package/dist/apis/design.cjs +6 -6
  45. package/dist/apis/design.js +1 -1
  46. package/dist/apis/document.cjs +6 -6
  47. package/dist/apis/document.js +1 -1
  48. package/dist/apis/email-settings.cjs +6 -6
  49. package/dist/apis/email-settings.js +1 -1
  50. package/dist/apis/email-template.cjs +6 -6
  51. package/dist/apis/email-template.js +1 -1
  52. package/dist/apis/entity-mapping.cjs +6 -6
  53. package/dist/apis/entity-mapping.js +1 -1
  54. package/dist/apis/entity.cjs +6 -6
  55. package/dist/apis/entity.js +1 -1
  56. package/dist/apis/environments.cjs +6 -6
  57. package/dist/apis/environments.js +1 -1
  58. package/dist/apis/event-catalog.cjs +6 -6
  59. package/dist/apis/event-catalog.js +1 -1
  60. package/dist/apis/file.cjs +6 -6
  61. package/dist/apis/file.js +1 -1
  62. package/dist/apis/iban.cjs +6 -6
  63. package/dist/apis/iban.js +1 -1
  64. package/dist/apis/integration-toolkit.cjs +6 -6
  65. package/dist/apis/integration-toolkit.js +1 -1
  66. package/dist/apis/journey.cjs +6 -6
  67. package/dist/apis/journey.js +1 -1
  68. package/dist/apis/kanban.cjs +6 -6
  69. package/dist/apis/kanban.js +1 -1
  70. package/dist/apis/message.cjs +6 -6
  71. package/dist/apis/message.js +1 -1
  72. package/dist/apis/metering.cjs +6 -6
  73. package/dist/apis/metering.js +1 -1
  74. package/dist/apis/notes.cjs +6 -6
  75. package/dist/apis/notes.js +1 -1
  76. package/dist/apis/notification.cjs +6 -6
  77. package/dist/apis/notification.js +1 -1
  78. package/dist/apis/organization.cjs +6 -6
  79. package/dist/apis/organization.js +1 -1
  80. package/dist/apis/partner-directory.cjs +6 -6
  81. package/dist/apis/partner-directory.js +1 -1
  82. package/dist/apis/permissions.cjs +6 -6
  83. package/dist/apis/permissions.js +1 -1
  84. package/dist/apis/pricing-tier.cjs +6 -6
  85. package/dist/apis/pricing-tier.js +1 -1
  86. package/dist/apis/pricing.cjs +6 -6
  87. package/dist/apis/pricing.js +1 -1
  88. package/dist/apis/purpose.cjs +6 -6
  89. package/dist/apis/purpose.js +1 -1
  90. package/dist/apis/query.cjs +6 -6
  91. package/dist/apis/query.js +1 -1
  92. package/dist/apis/sandbox.cjs +6 -6
  93. package/dist/apis/sandbox.js +1 -1
  94. package/dist/apis/sharing.cjs +6 -6
  95. package/dist/apis/sharing.js +1 -1
  96. package/dist/apis/snapshot.cjs +6 -6
  97. package/dist/apis/snapshot.js +1 -1
  98. package/dist/apis/submission.cjs +6 -6
  99. package/dist/apis/submission.js +1 -1
  100. package/dist/apis/target.cjs +6 -6
  101. package/dist/apis/target.js +1 -1
  102. package/dist/apis/targeting.cjs +6 -6
  103. package/dist/apis/targeting.js +1 -1
  104. package/dist/apis/template-variables.cjs +6 -6
  105. package/dist/apis/template-variables.js +1 -1
  106. package/dist/apis/user.cjs +8 -8
  107. package/dist/apis/user.d.cts +2 -2
  108. package/dist/apis/user.d.ts +2 -2
  109. package/dist/apis/user.js +2 -2
  110. package/dist/apis/validation-rules.cjs +6 -6
  111. package/dist/apis/validation-rules.js +1 -1
  112. package/dist/apis/webhooks.cjs +6 -6
  113. package/dist/apis/webhooks.js +1 -1
  114. package/dist/apis/workflow-definition.cjs +8 -8
  115. package/dist/apis/workflow-definition.d.cts +2 -2
  116. package/dist/apis/workflow-definition.d.ts +2 -2
  117. package/dist/apis/workflow-definition.js +2 -2
  118. package/dist/apis/workflow.cjs +6 -6
  119. package/dist/apis/workflow.d.cts +2 -2
  120. package/dist/apis/workflow.d.ts +2 -2
  121. package/dist/apis/workflow.js +1 -1
  122. package/dist/chunk-6HJ2Y7DZ.js +14 -0
  123. package/dist/chunk-BFMY2X2J.cjs +14 -0
  124. package/dist/{chunk-AJDY36Y6.cjs → chunk-C35OPQHY.cjs} +7 -7
  125. package/dist/{chunk-NFIYEMMM.js → chunk-N254AABZ.js} +1 -1
  126. package/dist/chunk-OSPTVXY4.js +14 -0
  127. package/dist/chunk-QNSMYDKG.cjs +14 -0
  128. package/dist/{chunk-L3UZLJPQ.js → chunk-SQQJND25.js} +7 -7
  129. package/dist/{chunk-OWXEZ56F.cjs → chunk-X2LMHC5R.cjs} +1 -1
  130. package/dist/customer-portal-6I3G44I4.cjs +7 -0
  131. package/dist/customer-portal-PTVGKDUH.js +7 -0
  132. package/dist/{customer-portal-runtime-VRGCSOVU.cjs → customer-portal-runtime-4ACQGDNY.cjs} +2 -2
  133. package/dist/{customer-portal-runtime-NRIQG6IO.js → customer-portal-runtime-E4RI7NYM.js} +1 -1
  134. package/dist/{customer-portal.d-fWVl8_mE.d.cts → customer-portal.d-Bpc-wk9K.d.cts} +140 -12
  135. package/dist/{customer-portal.d-fWVl8_mE.d.ts → customer-portal.d-Bpc-wk9K.d.ts} +140 -12
  136. package/dist/index.cjs +14 -14
  137. package/dist/index.d.cts +4 -4
  138. package/dist/index.d.ts +4 -4
  139. package/dist/index.js +4 -4
  140. package/dist/js-yaml-DLCVPJ7G.js +0 -0
  141. package/dist/user-5KLWGPQ2.js +7 -0
  142. package/dist/user-GZLPNGIW.cjs +7 -0
  143. package/dist/user-runtime-6TSL4RZN.cjs +5 -0
  144. package/dist/{user-runtime-6ICV2Y73.js → user-runtime-UPFER72E.js} +1 -1
  145. package/dist/{user.d-L-C7_K84.d.cts → user.d-6bp0zEwE.d.cts} +131 -0
  146. package/dist/{user.d-L-C7_K84.d.ts → user.d-6bp0zEwE.d.ts} +131 -0
  147. package/dist/workflow-JQT3F5NJ.cjs +7 -0
  148. package/dist/workflow-Q6FAE5OL.js +7 -0
  149. package/dist/workflow-definition-5P3PDJKU.cjs +7 -0
  150. package/dist/workflow-definition-XSSOSEGF.js +7 -0
  151. package/dist/{workflow-definition-runtime-GACBV4WM.cjs → workflow-definition-runtime-2HQS3RPK.cjs} +2 -2
  152. package/dist/{workflow-definition-runtime-OVXRSE34.js → workflow-definition-runtime-JUPATIKU.js} +1 -1
  153. package/dist/{workflow-definition.d-DOeb0KVV.d.cts → workflow-definition.d-CweGhhBU.d.cts} +416 -82
  154. package/dist/{workflow-definition.d-DOeb0KVV.d.ts → workflow-definition.d-CweGhhBU.d.ts} +416 -82
  155. package/dist/{workflow.d-eFv0ecBi.d.cts → workflow.d-5cyNJgVQ.d.cts} +28 -0
  156. package/dist/{workflow.d-eFv0ecBi.d.ts → workflow.d-5cyNJgVQ.d.ts} +28 -0
  157. package/docs/customer-portal.md +86 -21
  158. package/docs/user.md +174 -11
  159. package/docs/workflow-definition.md +179 -43
  160. package/docs/workflow.md +16 -7
  161. package/package.json +12 -11
  162. package/dist/chunk-43GJY2EB.js +0 -14
  163. package/dist/chunk-4H2KIKGL.cjs +0 -14
  164. package/dist/chunk-COASF7ZR.js +0 -14
  165. package/dist/chunk-CYS6QBW6.cjs +0 -14
  166. package/dist/customer-portal-F45XWLIO.cjs +0 -7
  167. package/dist/customer-portal-MYNJZ4OW.js +0 -7
  168. package/dist/user-3SLAEEVD.cjs +0 -7
  169. package/dist/user-PRUYBXQV.js +0 -7
  170. package/dist/user-runtime-Y3227ETX.cjs +0 -5
  171. package/dist/workflow-7OU2YEEI.cjs +0 -7
  172. package/dist/workflow-IVKCWS44.js +0 -7
  173. package/dist/workflow-definition-2VF7S23G.js +0 -7
  174. package/dist/workflow-definition-U6YXD42W.cjs +0 -7
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk4H2KIKGLcjs = require('./chunk-4H2KIKGL.cjs');
3
+ var _chunkBFMY2X2Jcjs = require('./chunk-BFMY2X2J.cjs');
4
4
  require('./chunk-NJK5F5TF.cjs');
5
- exports. default = _chunk4H2KIKGLcjs.require_customer_portal_runtime.call(void 0, );
5
+ exports. default = _chunkBFMY2X2Jcjs.require_customer_portal_runtime.call(void 0, );
@@ -1,5 +1,5 @@
1
1
  import {
2
2
  require_customer_portal_runtime
3
- } from "./chunk-COASF7ZR.js";
3
+ } from "./chunk-6HJ2Y7DZ.js";
4
4
  import "./chunk-YPSWSI3M.js";
5
5
  export default require_customer_portal_runtime();
@@ -1167,6 +1167,12 @@ declare namespace Components {
1167
1167
  * true
1168
1168
  */
1169
1169
  require_symbols?: boolean;
1170
+ /**
1171
+ * Number of previous passwords a user is prevented from reusing. Set to 0 to disable reuse prevention. Maps to Cognito's PasswordHistorySize and requires the user pool to be on the Essentials or Plus feature plan.
1172
+ * example:
1173
+ * 3
1174
+ */
1175
+ password_history_size?: number;
1170
1176
  };
1171
1177
  };
1172
1178
  /**
@@ -1688,6 +1694,12 @@ declare namespace Components {
1688
1694
  * true
1689
1695
  */
1690
1696
  require_symbols?: boolean;
1697
+ /**
1698
+ * Number of previous passwords a user is prevented from reusing. Set to 0 to disable reuse prevention. Maps to Cognito's PasswordHistorySize and requires the user pool to be on the Essentials or Plus feature plan.
1699
+ * example:
1700
+ * 3
1701
+ */
1702
+ password_history_size?: number;
1691
1703
  };
1692
1704
  };
1693
1705
  /**
@@ -6167,6 +6179,12 @@ declare namespace Components {
6167
6179
  * true
6168
6180
  */
6169
6181
  require_symbols?: boolean;
6182
+ /**
6183
+ * Number of previous passwords a user is prevented from reusing. Set to 0 to disable reuse prevention. Maps to Cognito's PasswordHistorySize and requires the user pool to be on the Essentials or Plus feature plan.
6184
+ * example:
6185
+ * 3
6186
+ */
6187
+ password_history_size?: number;
6170
6188
  };
6171
6189
  };
6172
6190
  /**
@@ -6780,6 +6798,12 @@ declare namespace Components {
6780
6798
  * true
6781
6799
  */
6782
6800
  require_symbols?: boolean;
6801
+ /**
6802
+ * Number of previous passwords a user is prevented from reusing. Set to 0 to disable reuse prevention. Maps to Cognito's PasswordHistorySize and requires the user pool to be on the Essentials or Plus feature plan.
6803
+ * example:
6804
+ * 3
6805
+ */
6806
+ password_history_size?: number;
6783
6807
  };
6784
6808
  };
6785
6809
  /**
@@ -7095,6 +7119,63 @@ declare namespace Components {
7095
7119
  grants?: Grant[];
7096
7120
  pages?: Page[];
7097
7121
  }
7122
+ /**
7123
+ * One column of the portal data export CSV.
7124
+ */
7125
+ export interface PortalDataExportColumn {
7126
+ /**
7127
+ * Stable, immutable column id (snake_case). Append-only contract: never rename, reorder semantics, or remove an existing key; new columns are appended.
7128
+ *
7129
+ * example:
7130
+ * vertragsnummer
7131
+ */
7132
+ key: string;
7133
+ /**
7134
+ * Localized header label, keyed by language (de, en).
7135
+ * example:
7136
+ * {
7137
+ * "de": "Vertragsnummer",
7138
+ * "en": "Contract number"
7139
+ * }
7140
+ */
7141
+ header: {
7142
+ [name: string]: string;
7143
+ };
7144
+ /**
7145
+ * Where the value comes from: relation hops from the anchor entity plus the attribute to read on the resolved entity. An empty path means the anchor itself.
7146
+ *
7147
+ */
7148
+ source: {
7149
+ /**
7150
+ * Relation hops from the anchor entity (max 3).
7151
+ * example:
7152
+ * [
7153
+ * "customer"
7154
+ * ]
7155
+ */
7156
+ path?: string[];
7157
+ /**
7158
+ * Attribute to read on the resolved entity.
7159
+ * example:
7160
+ * customer_number
7161
+ */
7162
+ attribute: string;
7163
+ /**
7164
+ * Which part of an address-typed attribute to render.
7165
+ */
7166
+ address_field?: "full" | "street" | "street_number" | "postal_code" | "city" | "additional_info" | "country";
7167
+ };
7168
+ formatter?: "text" | "date" | "money_cents" | "enum" | "address";
7169
+ /**
7170
+ * Localized value maps for the enum formatter, keyed by language then raw value.
7171
+ *
7172
+ */
7173
+ enum_labels?: {
7174
+ [name: string]: {
7175
+ [name: string]: string;
7176
+ };
7177
+ };
7178
+ }
7098
7179
  /**
7099
7180
  * ID of the portal
7100
7181
  * example:
@@ -8279,6 +8360,12 @@ declare namespace Components {
8279
8360
  * true
8280
8361
  */
8281
8362
  require_symbols?: boolean;
8363
+ /**
8364
+ * Number of previous passwords a user is prevented from reusing. Set to 0 to disable reuse prevention. Maps to Cognito's PasswordHistorySize and requires the user pool to be on the Essentials or Plus feature plan.
8365
+ * example:
8366
+ * 3
8367
+ */
8368
+ password_history_size?: number;
8282
8369
  };
8283
8370
  };
8284
8371
  /**
@@ -8860,6 +8947,12 @@ declare namespace Components {
8860
8947
  * true
8861
8948
  */
8862
8949
  require_symbols?: boolean;
8950
+ /**
8951
+ * Number of previous passwords a user is prevented from reusing. Set to 0 to disable reuse prevention. Maps to Cognito's PasswordHistorySize and requires the user pool to be on the Essentials or Plus feature plan.
8952
+ * example:
8953
+ * 3
8954
+ */
8955
+ password_history_size?: number;
8863
8956
  };
8864
8957
  };
8865
8958
  /**
@@ -9749,11 +9842,31 @@ declare namespace Paths {
9749
9842
  }
9750
9843
  }
9751
9844
  namespace CreateExport {
9752
- namespace Parameters {
9753
- export type Language = "de" | "en";
9754
- }
9755
- export interface QueryParameters {
9756
- language?: Parameters.Language;
9845
+ export interface RequestBody {
9846
+ /**
9847
+ * Entity schema to export (must be an allowed portal entity).
9848
+ */
9849
+ schema: string;
9850
+ /**
9851
+ * Search parameters, same shape the entity list queries with.
9852
+ */
9853
+ search?: {
9854
+ q?: string;
9855
+ q_fields?: string[];
9856
+ filters?: {
9857
+ [key: string]: any;
9858
+ }[];
9859
+ filters_context?: {
9860
+ [key: string]: any;
9861
+ }[];
9862
+ sort?: any;
9863
+ };
9864
+ /**
9865
+ * Ordered column definitions; order is the CSV column order.
9866
+ */
9867
+ columns: /* One column of the portal data export CSV. */ Components.Schemas.PortalDataExportColumn[];
9868
+ expand_over?: string;
9869
+ language?: "de" | "en";
9757
9870
  }
9758
9871
  namespace Responses {
9759
9872
  export interface $202 {
@@ -11912,6 +12025,12 @@ declare namespace Paths {
11912
12025
  * true
11913
12026
  */
11914
12027
  require_symbols?: boolean;
12028
+ /**
12029
+ * Number of previous passwords a user is prevented from reusing. Set to 0 to disable reuse prevention. Maps to Cognito's PasswordHistorySize and requires the user pool to be on the Essentials or Plus feature plan.
12030
+ * example:
12031
+ * 3
12032
+ */
12033
+ password_history_size?: number;
11915
12034
  };
11916
12035
  };
11917
12036
  /**
@@ -12524,6 +12643,12 @@ declare namespace Paths {
12524
12643
  * true
12525
12644
  */
12526
12645
  require_symbols?: boolean;
12646
+ /**
12647
+ * Number of previous passwords a user is prevented from reusing. Set to 0 to disable reuse prevention. Maps to Cognito's PasswordHistorySize and requires the user pool to be on the Essentials or Plus feature plan.
12648
+ * example:
12649
+ * 3
12650
+ */
12651
+ password_history_size?: number;
12527
12652
  };
12528
12653
  };
12529
12654
  /**
@@ -15858,11 +15983,12 @@ interface OperationMethods {
15858
15983
  /**
15859
15984
  * createExport - createExport
15860
15985
  *
15861
- * Request an asynchronous CSV export of the portal user's contracts, delivery points and meters. Returns a job id to poll.
15986
+ * Request an asynchronous CSV export of the portal user's entities for one schema. Columns come from the request Returns a job id to poll.
15987
+ *
15862
15988
  */
15863
15989
  'createExport'(
15864
- parameters?: Parameters<Paths.CreateExport.QueryParameters> | null,
15865
- data?: any,
15990
+ parameters?: Parameters<UnknownParamsObject> | null,
15991
+ data?: Paths.CreateExport.RequestBody,
15866
15992
  config?: AxiosRequestConfig
15867
15993
  ): OperationResponse<Paths.CreateExport.Responses.$202>
15868
15994
  /**
@@ -17560,11 +17686,12 @@ interface PathsDictionary {
17560
17686
  /**
17561
17687
  * createExport - createExport
17562
17688
  *
17563
- * Request an asynchronous CSV export of the portal user's contracts, delivery points and meters. Returns a job id to poll.
17689
+ * Request an asynchronous CSV export of the portal user's entities for one schema. Columns come from the request Returns a job id to poll.
17690
+ *
17564
17691
  */
17565
17692
  'post'(
17566
- parameters?: Parameters<Paths.CreateExport.QueryParameters> | null,
17567
- data?: any,
17693
+ parameters?: Parameters<UnknownParamsObject> | null,
17694
+ data?: Paths.CreateExport.RequestBody,
17568
17695
  config?: AxiosRequestConfig
17569
17696
  ): OperationResponse<Paths.CreateExport.Responses.$202>
17570
17697
  }
@@ -19532,6 +19659,7 @@ type PageRequest = Components.Schemas.PageRequest;
19532
19659
  type PaymentWidget = Components.Schemas.PaymentWidget;
19533
19660
  type PortalConfig = Components.Schemas.PortalConfig;
19534
19661
  type PortalConfigV3 = Components.Schemas.PortalConfigV3;
19662
+ type PortalDataExportColumn = Components.Schemas.PortalDataExportColumn;
19535
19663
  type PortalId = Components.Schemas.PortalId;
19536
19664
  type PortalUser = Components.Schemas.PortalUser;
19537
19665
  type PortalUserRegistrationStatus = Components.Schemas.PortalUserRegistrationStatus;
@@ -19586,4 +19714,4 @@ type WorfklowIdentifier = Components.Schemas.WorfklowIdentifier;
19586
19714
  type WorkflowExecution = Components.Schemas.WorkflowExecution;
19587
19715
  type WorkflowStep = Components.Schemas.WorkflowStep;
19588
19716
 
19589
- export { type EntityItem as $, type AcceptanceDecision as A, type Balance as B, type Client as C, type CommonConfigAttributesV3 as D, type Contact as E, type ContactCountRequest as F, type ContactExistsRequest as G, type ContentWidget as H, type ContextEntities as I, type ContextEntity as J, type Contract as K, type ContractIdentifier as L, type CreateUserRequest as M, type Currency as N, type OperationMethods as O, Paths as P, type DataRetrievalItem as Q, DeleteEntityFile as R, type Direction as S, type DocumentWidget as T, type DomainSettings as U, type EmailTemplates as V, type Entity as W, type EntityEditRule as X, type EntityFileCount as Y, type EntityGetParams as Z, type EntityId as _, Components as a, type PortalUser as a$, type EntityMatchingConfig as a0, type EntityResponse as a1, type EntityResponseGroupedWithHits as a2, type EntityResponseWithHits as a3, type EntitySearchParams as a4, type EntitySlug as a5, type EntitySlugConfig as a6, type EntityTemplates as a7, type EntityWidget as a8, type ErrorResp as a9, type JourneyActions as aA, type JuiceSettings as aB, type Meter as aC, type MeterChartWidget as aD, type MeterReading as aE, type MeterReadingPhoto as aF, type MeterReadingPhotoData as aG, type MeterReadingWidget as aH, type MobileBranding as aI, type MobileBuildStatus as aJ, type MobileConfig as aK, type MobileConfigUpdate as aL, type MobileOtaConfig as aM, type MoblieOIDCConfig as aN, type OIDCProviderConfig as aO, type OIDCProviderMetadata as aP, type Opportunity as aQ, type Order as aR, type OrganizationSettings as aS, type Origin as aT, type OtaPortal as aU, type Page as aV, type PageRequest as aW, type PaymentWidget as aX, type PortalConfig as aY, type PortalConfigV3 as aZ, type PortalId as a_, type Exists as aa, type Extension as ab, type ExtensionAuthBlock as ac, type ExtensionConfig as ad, type ExtensionHook as ae, type ExtensionHookChangeEmail as af, type ExtensionHookChangePassword as ag, type ExtensionHookConsumptionDataRetrieval as ah, type ExtensionHookContractIdentification as ai, type ExtensionHookCostDataRetrieval as aj, type ExtensionHookDataExport as ak, type ExtensionHookDeleteAccount as al, type ExtensionHookMeterReadingPlausibilityCheck as am, type ExtensionHookPriceDataRetrieval as an, type ExtensionHookRegistrationIdentifiersCheck as ao, type ExtensionHookSelection as ap, type ExtensionHookVisualizationMetadata as aq, type ExtensionSeamlessLink as ar, type ExternalLink as as, type ExtraSchemaAttributes as at, type FailedRuleErrorResp as au, type File as av, type FileItem as aw, type Grant as ax, type IdentifierAttribute as ay, type InstallmentEvent as az, type PathsDictionary as b, type PortalUserRegistrationStatus as b0, type PortalWidget as b1, type Product as b2, type ProductRecommendationsWidget as b3, type ProviderConfig as b4, type ProviderDisplayName as b5, type ProviderPublicConfig as b6, type ProviderSlug as b7, type PublicAppDetails as b8, type PublicChangeEmailDetails as b9, type TeaserWidget as bA, type TriggerPortalFlow as bB, type UpdateOnlyPortalConfigAttributes as bC, type UpsertPortalConfig as bD, type UpsertPortalConfigV3 as bE, UpsertPortalWidget as bF, type UserRequest as bG, type VisualizationDataRange as bH, type VisualizationMetadata as bI, type VisualizationTypeOption as bJ, type WidgetAction as bK, type WidgetBase as bL, type WorfklowIdentifier as bM, type WorkflowExecution as bN, type WorkflowStep as bO, type PublicChangePasswordDetails as ba, type PublicContractIdentificationDetails as bb, type PublicDataRetrievalHookDetails as bc, type PublicDeleteAccountDetails as bd, type PublicExtensionCapabilities as be, type PublicExtensionDetails as bf, type PublicMeterReadingPlausibilityCheckDetails as bg, type PublicSelfManagementExplanation as bh, type ReadBy as bi, type ReadingStatus as bj, type Reason as bk, type RegistrationIdentifier as bl, type ReimbursementEvent as bm, type Rule as bn, type SAMLProviderConfig as bo, type SSOCallbackRequest as bp, type SSOCallbackResponse as bq, type SSOLoginToken as br, SaveEntityFile as bs, type SavePortalFile as bt, type Schema as bu, type SearchIncludes as bv, type SecureProxyConfig as bw, type Source as bx, type SwappableConfig as by, type TariffType as bz, type AccountExistsRequest as c, type ActionLabel as d, type ActionWidget as e, type Activity as f, type ActivityCallerContext as g, type ActivityId as h, type ActivityItem as i, type AdditionalContactAttribute as j, type AdminUser as k, type AllowedFileExtensions as l, type AttributeMappingConfig as m, type AuthConfig as n, type BaseBillingEvent as o, type BaseEntity as p, type BillingAccount as q, type BillingEvent as r, type Block as s, type BlockId as t, type BlockProps as u, type BlockRequest as v, type BlockType as w, type BusinessPartnerItem as x, type CampaignWidget as y, type CommonConfigAttributes as z };
19717
+ export { type EntityItem as $, type AcceptanceDecision as A, type Balance as B, type Client as C, type CommonConfigAttributesV3 as D, type Contact as E, type ContactCountRequest as F, type ContactExistsRequest as G, type ContentWidget as H, type ContextEntities as I, type ContextEntity as J, type Contract as K, type ContractIdentifier as L, type CreateUserRequest as M, type Currency as N, type OperationMethods as O, Paths as P, type DataRetrievalItem as Q, DeleteEntityFile as R, type Direction as S, type DocumentWidget as T, type DomainSettings as U, type EmailTemplates as V, type Entity as W, type EntityEditRule as X, type EntityFileCount as Y, type EntityGetParams as Z, type EntityId as _, Components as a, type PortalId as a$, type EntityMatchingConfig as a0, type EntityResponse as a1, type EntityResponseGroupedWithHits as a2, type EntityResponseWithHits as a3, type EntitySearchParams as a4, type EntitySlug as a5, type EntitySlugConfig as a6, type EntityTemplates as a7, type EntityWidget as a8, type ErrorResp as a9, type JourneyActions as aA, type JuiceSettings as aB, type Meter as aC, type MeterChartWidget as aD, type MeterReading as aE, type MeterReadingPhoto as aF, type MeterReadingPhotoData as aG, type MeterReadingWidget as aH, type MobileBranding as aI, type MobileBuildStatus as aJ, type MobileConfig as aK, type MobileConfigUpdate as aL, type MobileOtaConfig as aM, type MoblieOIDCConfig as aN, type OIDCProviderConfig as aO, type OIDCProviderMetadata as aP, type Opportunity as aQ, type Order as aR, type OrganizationSettings as aS, type Origin as aT, type OtaPortal as aU, type Page as aV, type PageRequest as aW, type PaymentWidget as aX, type PortalConfig as aY, type PortalConfigV3 as aZ, type PortalDataExportColumn as a_, type Exists as aa, type Extension as ab, type ExtensionAuthBlock as ac, type ExtensionConfig as ad, type ExtensionHook as ae, type ExtensionHookChangeEmail as af, type ExtensionHookChangePassword as ag, type ExtensionHookConsumptionDataRetrieval as ah, type ExtensionHookContractIdentification as ai, type ExtensionHookCostDataRetrieval as aj, type ExtensionHookDataExport as ak, type ExtensionHookDeleteAccount as al, type ExtensionHookMeterReadingPlausibilityCheck as am, type ExtensionHookPriceDataRetrieval as an, type ExtensionHookRegistrationIdentifiersCheck as ao, type ExtensionHookSelection as ap, type ExtensionHookVisualizationMetadata as aq, type ExtensionSeamlessLink as ar, type ExternalLink as as, type ExtraSchemaAttributes as at, type FailedRuleErrorResp as au, type File as av, type FileItem as aw, type Grant as ax, type IdentifierAttribute as ay, type InstallmentEvent as az, type PathsDictionary as b, type PortalUser as b0, type PortalUserRegistrationStatus as b1, type PortalWidget as b2, type Product as b3, type ProductRecommendationsWidget as b4, type ProviderConfig as b5, type ProviderDisplayName as b6, type ProviderPublicConfig as b7, type ProviderSlug as b8, type PublicAppDetails as b9, type TariffType as bA, type TeaserWidget as bB, type TriggerPortalFlow as bC, type UpdateOnlyPortalConfigAttributes as bD, type UpsertPortalConfig as bE, type UpsertPortalConfigV3 as bF, UpsertPortalWidget as bG, type UserRequest as bH, type VisualizationDataRange as bI, type VisualizationMetadata as bJ, type VisualizationTypeOption as bK, type WidgetAction as bL, type WidgetBase as bM, type WorfklowIdentifier as bN, type WorkflowExecution as bO, type WorkflowStep as bP, type PublicChangeEmailDetails as ba, type PublicChangePasswordDetails as bb, type PublicContractIdentificationDetails as bc, type PublicDataRetrievalHookDetails as bd, type PublicDeleteAccountDetails as be, type PublicExtensionCapabilities as bf, type PublicExtensionDetails as bg, type PublicMeterReadingPlausibilityCheckDetails as bh, type PublicSelfManagementExplanation as bi, type ReadBy as bj, type ReadingStatus as bk, type Reason as bl, type RegistrationIdentifier as bm, type ReimbursementEvent as bn, type Rule as bo, type SAMLProviderConfig as bp, type SSOCallbackRequest as bq, type SSOCallbackResponse as br, type SSOLoginToken as bs, SaveEntityFile as bt, type SavePortalFile as bu, type Schema as bv, type SearchIncludes as bw, type SecureProxyConfig as bx, type Source as by, type SwappableConfig as bz, type AccountExistsRequest as c, type ActionLabel as d, type ActionWidget as e, type Activity as f, type ActivityCallerContext as g, type ActivityId as h, type ActivityItem as i, type AdditionalContactAttribute as j, type AdminUser as k, type AllowedFileExtensions as l, type AttributeMappingConfig as m, type AuthConfig as n, type BaseBillingEvent as o, type BaseEntity as p, type BillingAccount as q, type BillingEvent as r, type Block as s, type BlockId as t, type BlockProps as u, type BlockRequest as v, type BlockType as w, type BusinessPartnerItem as x, type CampaignWidget as y, type CommonConfigAttributes as z };
@@ -1167,6 +1167,12 @@ declare namespace Components {
1167
1167
  * true
1168
1168
  */
1169
1169
  require_symbols?: boolean;
1170
+ /**
1171
+ * Number of previous passwords a user is prevented from reusing. Set to 0 to disable reuse prevention. Maps to Cognito's PasswordHistorySize and requires the user pool to be on the Essentials or Plus feature plan.
1172
+ * example:
1173
+ * 3
1174
+ */
1175
+ password_history_size?: number;
1170
1176
  };
1171
1177
  };
1172
1178
  /**
@@ -1688,6 +1694,12 @@ declare namespace Components {
1688
1694
  * true
1689
1695
  */
1690
1696
  require_symbols?: boolean;
1697
+ /**
1698
+ * Number of previous passwords a user is prevented from reusing. Set to 0 to disable reuse prevention. Maps to Cognito's PasswordHistorySize and requires the user pool to be on the Essentials or Plus feature plan.
1699
+ * example:
1700
+ * 3
1701
+ */
1702
+ password_history_size?: number;
1691
1703
  };
1692
1704
  };
1693
1705
  /**
@@ -6167,6 +6179,12 @@ declare namespace Components {
6167
6179
  * true
6168
6180
  */
6169
6181
  require_symbols?: boolean;
6182
+ /**
6183
+ * Number of previous passwords a user is prevented from reusing. Set to 0 to disable reuse prevention. Maps to Cognito's PasswordHistorySize and requires the user pool to be on the Essentials or Plus feature plan.
6184
+ * example:
6185
+ * 3
6186
+ */
6187
+ password_history_size?: number;
6170
6188
  };
6171
6189
  };
6172
6190
  /**
@@ -6780,6 +6798,12 @@ declare namespace Components {
6780
6798
  * true
6781
6799
  */
6782
6800
  require_symbols?: boolean;
6801
+ /**
6802
+ * Number of previous passwords a user is prevented from reusing. Set to 0 to disable reuse prevention. Maps to Cognito's PasswordHistorySize and requires the user pool to be on the Essentials or Plus feature plan.
6803
+ * example:
6804
+ * 3
6805
+ */
6806
+ password_history_size?: number;
6783
6807
  };
6784
6808
  };
6785
6809
  /**
@@ -7095,6 +7119,63 @@ declare namespace Components {
7095
7119
  grants?: Grant[];
7096
7120
  pages?: Page[];
7097
7121
  }
7122
+ /**
7123
+ * One column of the portal data export CSV.
7124
+ */
7125
+ export interface PortalDataExportColumn {
7126
+ /**
7127
+ * Stable, immutable column id (snake_case). Append-only contract: never rename, reorder semantics, or remove an existing key; new columns are appended.
7128
+ *
7129
+ * example:
7130
+ * vertragsnummer
7131
+ */
7132
+ key: string;
7133
+ /**
7134
+ * Localized header label, keyed by language (de, en).
7135
+ * example:
7136
+ * {
7137
+ * "de": "Vertragsnummer",
7138
+ * "en": "Contract number"
7139
+ * }
7140
+ */
7141
+ header: {
7142
+ [name: string]: string;
7143
+ };
7144
+ /**
7145
+ * Where the value comes from: relation hops from the anchor entity plus the attribute to read on the resolved entity. An empty path means the anchor itself.
7146
+ *
7147
+ */
7148
+ source: {
7149
+ /**
7150
+ * Relation hops from the anchor entity (max 3).
7151
+ * example:
7152
+ * [
7153
+ * "customer"
7154
+ * ]
7155
+ */
7156
+ path?: string[];
7157
+ /**
7158
+ * Attribute to read on the resolved entity.
7159
+ * example:
7160
+ * customer_number
7161
+ */
7162
+ attribute: string;
7163
+ /**
7164
+ * Which part of an address-typed attribute to render.
7165
+ */
7166
+ address_field?: "full" | "street" | "street_number" | "postal_code" | "city" | "additional_info" | "country";
7167
+ };
7168
+ formatter?: "text" | "date" | "money_cents" | "enum" | "address";
7169
+ /**
7170
+ * Localized value maps for the enum formatter, keyed by language then raw value.
7171
+ *
7172
+ */
7173
+ enum_labels?: {
7174
+ [name: string]: {
7175
+ [name: string]: string;
7176
+ };
7177
+ };
7178
+ }
7098
7179
  /**
7099
7180
  * ID of the portal
7100
7181
  * example:
@@ -8279,6 +8360,12 @@ declare namespace Components {
8279
8360
  * true
8280
8361
  */
8281
8362
  require_symbols?: boolean;
8363
+ /**
8364
+ * Number of previous passwords a user is prevented from reusing. Set to 0 to disable reuse prevention. Maps to Cognito's PasswordHistorySize and requires the user pool to be on the Essentials or Plus feature plan.
8365
+ * example:
8366
+ * 3
8367
+ */
8368
+ password_history_size?: number;
8282
8369
  };
8283
8370
  };
8284
8371
  /**
@@ -8860,6 +8947,12 @@ declare namespace Components {
8860
8947
  * true
8861
8948
  */
8862
8949
  require_symbols?: boolean;
8950
+ /**
8951
+ * Number of previous passwords a user is prevented from reusing. Set to 0 to disable reuse prevention. Maps to Cognito's PasswordHistorySize and requires the user pool to be on the Essentials or Plus feature plan.
8952
+ * example:
8953
+ * 3
8954
+ */
8955
+ password_history_size?: number;
8863
8956
  };
8864
8957
  };
8865
8958
  /**
@@ -9749,11 +9842,31 @@ declare namespace Paths {
9749
9842
  }
9750
9843
  }
9751
9844
  namespace CreateExport {
9752
- namespace Parameters {
9753
- export type Language = "de" | "en";
9754
- }
9755
- export interface QueryParameters {
9756
- language?: Parameters.Language;
9845
+ export interface RequestBody {
9846
+ /**
9847
+ * Entity schema to export (must be an allowed portal entity).
9848
+ */
9849
+ schema: string;
9850
+ /**
9851
+ * Search parameters, same shape the entity list queries with.
9852
+ */
9853
+ search?: {
9854
+ q?: string;
9855
+ q_fields?: string[];
9856
+ filters?: {
9857
+ [key: string]: any;
9858
+ }[];
9859
+ filters_context?: {
9860
+ [key: string]: any;
9861
+ }[];
9862
+ sort?: any;
9863
+ };
9864
+ /**
9865
+ * Ordered column definitions; order is the CSV column order.
9866
+ */
9867
+ columns: /* One column of the portal data export CSV. */ Components.Schemas.PortalDataExportColumn[];
9868
+ expand_over?: string;
9869
+ language?: "de" | "en";
9757
9870
  }
9758
9871
  namespace Responses {
9759
9872
  export interface $202 {
@@ -11912,6 +12025,12 @@ declare namespace Paths {
11912
12025
  * true
11913
12026
  */
11914
12027
  require_symbols?: boolean;
12028
+ /**
12029
+ * Number of previous passwords a user is prevented from reusing. Set to 0 to disable reuse prevention. Maps to Cognito's PasswordHistorySize and requires the user pool to be on the Essentials or Plus feature plan.
12030
+ * example:
12031
+ * 3
12032
+ */
12033
+ password_history_size?: number;
11915
12034
  };
11916
12035
  };
11917
12036
  /**
@@ -12524,6 +12643,12 @@ declare namespace Paths {
12524
12643
  * true
12525
12644
  */
12526
12645
  require_symbols?: boolean;
12646
+ /**
12647
+ * Number of previous passwords a user is prevented from reusing. Set to 0 to disable reuse prevention. Maps to Cognito's PasswordHistorySize and requires the user pool to be on the Essentials or Plus feature plan.
12648
+ * example:
12649
+ * 3
12650
+ */
12651
+ password_history_size?: number;
12527
12652
  };
12528
12653
  };
12529
12654
  /**
@@ -15858,11 +15983,12 @@ interface OperationMethods {
15858
15983
  /**
15859
15984
  * createExport - createExport
15860
15985
  *
15861
- * Request an asynchronous CSV export of the portal user's contracts, delivery points and meters. Returns a job id to poll.
15986
+ * Request an asynchronous CSV export of the portal user's entities for one schema. Columns come from the request Returns a job id to poll.
15987
+ *
15862
15988
  */
15863
15989
  'createExport'(
15864
- parameters?: Parameters<Paths.CreateExport.QueryParameters> | null,
15865
- data?: any,
15990
+ parameters?: Parameters<UnknownParamsObject> | null,
15991
+ data?: Paths.CreateExport.RequestBody,
15866
15992
  config?: AxiosRequestConfig
15867
15993
  ): OperationResponse<Paths.CreateExport.Responses.$202>
15868
15994
  /**
@@ -17560,11 +17686,12 @@ interface PathsDictionary {
17560
17686
  /**
17561
17687
  * createExport - createExport
17562
17688
  *
17563
- * Request an asynchronous CSV export of the portal user's contracts, delivery points and meters. Returns a job id to poll.
17689
+ * Request an asynchronous CSV export of the portal user's entities for one schema. Columns come from the request Returns a job id to poll.
17690
+ *
17564
17691
  */
17565
17692
  'post'(
17566
- parameters?: Parameters<Paths.CreateExport.QueryParameters> | null,
17567
- data?: any,
17693
+ parameters?: Parameters<UnknownParamsObject> | null,
17694
+ data?: Paths.CreateExport.RequestBody,
17568
17695
  config?: AxiosRequestConfig
17569
17696
  ): OperationResponse<Paths.CreateExport.Responses.$202>
17570
17697
  }
@@ -19532,6 +19659,7 @@ type PageRequest = Components.Schemas.PageRequest;
19532
19659
  type PaymentWidget = Components.Schemas.PaymentWidget;
19533
19660
  type PortalConfig = Components.Schemas.PortalConfig;
19534
19661
  type PortalConfigV3 = Components.Schemas.PortalConfigV3;
19662
+ type PortalDataExportColumn = Components.Schemas.PortalDataExportColumn;
19535
19663
  type PortalId = Components.Schemas.PortalId;
19536
19664
  type PortalUser = Components.Schemas.PortalUser;
19537
19665
  type PortalUserRegistrationStatus = Components.Schemas.PortalUserRegistrationStatus;
@@ -19586,4 +19714,4 @@ type WorfklowIdentifier = Components.Schemas.WorfklowIdentifier;
19586
19714
  type WorkflowExecution = Components.Schemas.WorkflowExecution;
19587
19715
  type WorkflowStep = Components.Schemas.WorkflowStep;
19588
19716
 
19589
- export { type EntityItem as $, type AcceptanceDecision as A, type Balance as B, type Client as C, type CommonConfigAttributesV3 as D, type Contact as E, type ContactCountRequest as F, type ContactExistsRequest as G, type ContentWidget as H, type ContextEntities as I, type ContextEntity as J, type Contract as K, type ContractIdentifier as L, type CreateUserRequest as M, type Currency as N, type OperationMethods as O, Paths as P, type DataRetrievalItem as Q, DeleteEntityFile as R, type Direction as S, type DocumentWidget as T, type DomainSettings as U, type EmailTemplates as V, type Entity as W, type EntityEditRule as X, type EntityFileCount as Y, type EntityGetParams as Z, type EntityId as _, Components as a, type PortalUser as a$, type EntityMatchingConfig as a0, type EntityResponse as a1, type EntityResponseGroupedWithHits as a2, type EntityResponseWithHits as a3, type EntitySearchParams as a4, type EntitySlug as a5, type EntitySlugConfig as a6, type EntityTemplates as a7, type EntityWidget as a8, type ErrorResp as a9, type JourneyActions as aA, type JuiceSettings as aB, type Meter as aC, type MeterChartWidget as aD, type MeterReading as aE, type MeterReadingPhoto as aF, type MeterReadingPhotoData as aG, type MeterReadingWidget as aH, type MobileBranding as aI, type MobileBuildStatus as aJ, type MobileConfig as aK, type MobileConfigUpdate as aL, type MobileOtaConfig as aM, type MoblieOIDCConfig as aN, type OIDCProviderConfig as aO, type OIDCProviderMetadata as aP, type Opportunity as aQ, type Order as aR, type OrganizationSettings as aS, type Origin as aT, type OtaPortal as aU, type Page as aV, type PageRequest as aW, type PaymentWidget as aX, type PortalConfig as aY, type PortalConfigV3 as aZ, type PortalId as a_, type Exists as aa, type Extension as ab, type ExtensionAuthBlock as ac, type ExtensionConfig as ad, type ExtensionHook as ae, type ExtensionHookChangeEmail as af, type ExtensionHookChangePassword as ag, type ExtensionHookConsumptionDataRetrieval as ah, type ExtensionHookContractIdentification as ai, type ExtensionHookCostDataRetrieval as aj, type ExtensionHookDataExport as ak, type ExtensionHookDeleteAccount as al, type ExtensionHookMeterReadingPlausibilityCheck as am, type ExtensionHookPriceDataRetrieval as an, type ExtensionHookRegistrationIdentifiersCheck as ao, type ExtensionHookSelection as ap, type ExtensionHookVisualizationMetadata as aq, type ExtensionSeamlessLink as ar, type ExternalLink as as, type ExtraSchemaAttributes as at, type FailedRuleErrorResp as au, type File as av, type FileItem as aw, type Grant as ax, type IdentifierAttribute as ay, type InstallmentEvent as az, type PathsDictionary as b, type PortalUserRegistrationStatus as b0, type PortalWidget as b1, type Product as b2, type ProductRecommendationsWidget as b3, type ProviderConfig as b4, type ProviderDisplayName as b5, type ProviderPublicConfig as b6, type ProviderSlug as b7, type PublicAppDetails as b8, type PublicChangeEmailDetails as b9, type TeaserWidget as bA, type TriggerPortalFlow as bB, type UpdateOnlyPortalConfigAttributes as bC, type UpsertPortalConfig as bD, type UpsertPortalConfigV3 as bE, UpsertPortalWidget as bF, type UserRequest as bG, type VisualizationDataRange as bH, type VisualizationMetadata as bI, type VisualizationTypeOption as bJ, type WidgetAction as bK, type WidgetBase as bL, type WorfklowIdentifier as bM, type WorkflowExecution as bN, type WorkflowStep as bO, type PublicChangePasswordDetails as ba, type PublicContractIdentificationDetails as bb, type PublicDataRetrievalHookDetails as bc, type PublicDeleteAccountDetails as bd, type PublicExtensionCapabilities as be, type PublicExtensionDetails as bf, type PublicMeterReadingPlausibilityCheckDetails as bg, type PublicSelfManagementExplanation as bh, type ReadBy as bi, type ReadingStatus as bj, type Reason as bk, type RegistrationIdentifier as bl, type ReimbursementEvent as bm, type Rule as bn, type SAMLProviderConfig as bo, type SSOCallbackRequest as bp, type SSOCallbackResponse as bq, type SSOLoginToken as br, SaveEntityFile as bs, type SavePortalFile as bt, type Schema as bu, type SearchIncludes as bv, type SecureProxyConfig as bw, type Source as bx, type SwappableConfig as by, type TariffType as bz, type AccountExistsRequest as c, type ActionLabel as d, type ActionWidget as e, type Activity as f, type ActivityCallerContext as g, type ActivityId as h, type ActivityItem as i, type AdditionalContactAttribute as j, type AdminUser as k, type AllowedFileExtensions as l, type AttributeMappingConfig as m, type AuthConfig as n, type BaseBillingEvent as o, type BaseEntity as p, type BillingAccount as q, type BillingEvent as r, type Block as s, type BlockId as t, type BlockProps as u, type BlockRequest as v, type BlockType as w, type BusinessPartnerItem as x, type CampaignWidget as y, type CommonConfigAttributes as z };
19717
+ export { type EntityItem as $, type AcceptanceDecision as A, type Balance as B, type Client as C, type CommonConfigAttributesV3 as D, type Contact as E, type ContactCountRequest as F, type ContactExistsRequest as G, type ContentWidget as H, type ContextEntities as I, type ContextEntity as J, type Contract as K, type ContractIdentifier as L, type CreateUserRequest as M, type Currency as N, type OperationMethods as O, Paths as P, type DataRetrievalItem as Q, DeleteEntityFile as R, type Direction as S, type DocumentWidget as T, type DomainSettings as U, type EmailTemplates as V, type Entity as W, type EntityEditRule as X, type EntityFileCount as Y, type EntityGetParams as Z, type EntityId as _, Components as a, type PortalId as a$, type EntityMatchingConfig as a0, type EntityResponse as a1, type EntityResponseGroupedWithHits as a2, type EntityResponseWithHits as a3, type EntitySearchParams as a4, type EntitySlug as a5, type EntitySlugConfig as a6, type EntityTemplates as a7, type EntityWidget as a8, type ErrorResp as a9, type JourneyActions as aA, type JuiceSettings as aB, type Meter as aC, type MeterChartWidget as aD, type MeterReading as aE, type MeterReadingPhoto as aF, type MeterReadingPhotoData as aG, type MeterReadingWidget as aH, type MobileBranding as aI, type MobileBuildStatus as aJ, type MobileConfig as aK, type MobileConfigUpdate as aL, type MobileOtaConfig as aM, type MoblieOIDCConfig as aN, type OIDCProviderConfig as aO, type OIDCProviderMetadata as aP, type Opportunity as aQ, type Order as aR, type OrganizationSettings as aS, type Origin as aT, type OtaPortal as aU, type Page as aV, type PageRequest as aW, type PaymentWidget as aX, type PortalConfig as aY, type PortalConfigV3 as aZ, type PortalDataExportColumn as a_, type Exists as aa, type Extension as ab, type ExtensionAuthBlock as ac, type ExtensionConfig as ad, type ExtensionHook as ae, type ExtensionHookChangeEmail as af, type ExtensionHookChangePassword as ag, type ExtensionHookConsumptionDataRetrieval as ah, type ExtensionHookContractIdentification as ai, type ExtensionHookCostDataRetrieval as aj, type ExtensionHookDataExport as ak, type ExtensionHookDeleteAccount as al, type ExtensionHookMeterReadingPlausibilityCheck as am, type ExtensionHookPriceDataRetrieval as an, type ExtensionHookRegistrationIdentifiersCheck as ao, type ExtensionHookSelection as ap, type ExtensionHookVisualizationMetadata as aq, type ExtensionSeamlessLink as ar, type ExternalLink as as, type ExtraSchemaAttributes as at, type FailedRuleErrorResp as au, type File as av, type FileItem as aw, type Grant as ax, type IdentifierAttribute as ay, type InstallmentEvent as az, type PathsDictionary as b, type PortalUser as b0, type PortalUserRegistrationStatus as b1, type PortalWidget as b2, type Product as b3, type ProductRecommendationsWidget as b4, type ProviderConfig as b5, type ProviderDisplayName as b6, type ProviderPublicConfig as b7, type ProviderSlug as b8, type PublicAppDetails as b9, type TariffType as bA, type TeaserWidget as bB, type TriggerPortalFlow as bC, type UpdateOnlyPortalConfigAttributes as bD, type UpsertPortalConfig as bE, type UpsertPortalConfigV3 as bF, UpsertPortalWidget as bG, type UserRequest as bH, type VisualizationDataRange as bI, type VisualizationMetadata as bJ, type VisualizationTypeOption as bK, type WidgetAction as bL, type WidgetBase as bM, type WorfklowIdentifier as bN, type WorkflowExecution as bO, type WorkflowStep as bP, type PublicChangeEmailDetails as ba, type PublicChangePasswordDetails as bb, type PublicContractIdentificationDetails as bc, type PublicDataRetrievalHookDetails as bd, type PublicDeleteAccountDetails as be, type PublicExtensionCapabilities as bf, type PublicExtensionDetails as bg, type PublicMeterReadingPlausibilityCheckDetails as bh, type PublicSelfManagementExplanation as bi, type ReadBy as bj, type ReadingStatus as bk, type Reason as bl, type RegistrationIdentifier as bm, type ReimbursementEvent as bn, type Rule as bo, type SAMLProviderConfig as bp, type SSOCallbackRequest as bq, type SSOCallbackResponse as br, type SSOLoginToken as bs, SaveEntityFile as bt, type SavePortalFile as bu, type Schema as bv, type SearchIncludes as bw, type SecureProxyConfig as bx, type Source as by, type SwappableConfig as bz, type AccountExistsRequest as c, type ActionLabel as d, type ActionWidget as e, type Activity as f, type ActivityCallerContext as g, type ActivityId as h, type ActivityItem as i, type AdditionalContactAttribute as j, type AdminUser as k, type AllowedFileExtensions as l, type AttributeMappingConfig as m, type AuthConfig as n, type BaseBillingEvent as o, type BaseEntity as p, type BillingAccount as q, type BillingEvent as r, type Block as s, type BlockId as t, type BlockProps as u, type BlockRequest as v, type BlockType as w, type BusinessPartnerItem as x, type CampaignWidget as y, type CommonConfigAttributes as z };
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkOWXEZ56Fcjs = require('./chunk-OWXEZ56F.cjs');
3
+ var _chunkX2LMHC5Rcjs = require('./chunk-X2LMHC5R.cjs');
4
4
 
5
5
 
6
6
  var _chunkJIUTCNTBcjs = require('./chunk-JIUTCNTB.cjs');
@@ -9,7 +9,7 @@ var _chunkJIUTCNTBcjs = require('./chunk-JIUTCNTB.cjs');
9
9
  var _chunkNGGI52NVcjs = require('./chunk-NGGI52NV.cjs');
10
10
 
11
11
 
12
- var _chunkCYS6QBW6cjs = require('./chunk-CYS6QBW6.cjs');
12
+ var _chunkQNSMYDKGcjs = require('./chunk-QNSMYDKG.cjs');
13
13
 
14
14
 
15
15
  var _chunkPM25LLETcjs = require('./chunk-PM25LLET.cjs');
@@ -123,7 +123,7 @@ var _chunkMOLFG5L4cjs = require('./chunk-MOLFG5L4.cjs');
123
123
  var _chunkBM6NCHPLcjs = require('./chunk-BM6NCHPL.cjs');
124
124
 
125
125
 
126
- var _chunk4H2KIKGLcjs = require('./chunk-4H2KIKGL.cjs');
126
+ var _chunkBFMY2X2Jcjs = require('./chunk-BFMY2X2J.cjs');
127
127
 
128
128
 
129
129
  var _chunkM2UDF7PYcjs = require('./chunk-M2UDF7PY.cjs');
@@ -158,7 +158,7 @@ var _chunkDVM27A7Ecjs = require('./chunk-DVM27A7E.cjs');
158
158
 
159
159
 
160
160
 
161
- var _chunkAJDY36Y6cjs = require('./chunk-AJDY36Y6.cjs');
161
+ var _chunkC35OPQHYcjs = require('./chunk-C35OPQHY.cjs');
162
162
 
163
163
 
164
164
  var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
@@ -225,7 +225,7 @@ var resolveClient = (params) => {
225
225
  }
226
226
  if (!entry.instance) {
227
227
  const definition = entry.loader();
228
- entry.instance = _chunkAJDY36Y6cjs.createApiClient.call(void 0, {
228
+ entry.instance = _chunkC35OPQHYcjs.createApiClient.call(void 0, {
229
229
  definition,
230
230
  token: state.token,
231
231
  headers: state.globalHeaders,
@@ -258,7 +258,7 @@ var resetAllClients = (registry) => {
258
258
  };
259
259
 
260
260
  // src/apis/_registry.ts
261
- var expandDef = (mod) => _chunkAJDY36Y6cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
261
+ var expandDef = (mod) => _chunkC35OPQHYcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
262
262
  var registerBuiltinApis = (registry) => {
263
263
  registerApi({
264
264
  registry,
@@ -323,7 +323,7 @@ var registerBuiltinApis = (registry) => {
323
323
  registerApi({
324
324
  registry,
325
325
  name: "customerPortal",
326
- loader: () => expandDef(_chunk4H2KIKGLcjs.require_customer_portal_runtime.call(void 0, ))
326
+ loader: () => expandDef(_chunkBFMY2X2Jcjs.require_customer_portal_runtime.call(void 0, ))
327
327
  });
328
328
  registerApi({
329
329
  registry,
@@ -493,7 +493,7 @@ var registerBuiltinApis = (registry) => {
493
493
  registerApi({
494
494
  registry,
495
495
  name: "user",
496
- loader: () => expandDef(_chunkOWXEZ56Fcjs.require_user_runtime.call(void 0, ))
496
+ loader: () => expandDef(_chunkX2LMHC5Rcjs.require_user_runtime.call(void 0, ))
497
497
  });
498
498
  registerApi({
499
499
  registry,
@@ -513,7 +513,7 @@ var registerBuiltinApis = (registry) => {
513
513
  registerApi({
514
514
  registry,
515
515
  name: "workflowDefinition",
516
- loader: () => expandDef(_chunkCYS6QBW6cjs.require_workflow_definition_runtime.call(void 0, ))
516
+ loader: () => expandDef(_chunkQNSMYDKGcjs.require_workflow_definition_runtime.call(void 0, ))
517
517
  });
518
518
  };
519
519
  var registerBuiltinExtensions = (extensions) => {
@@ -601,9 +601,9 @@ var createSDK = () => {
601
601
  const available = [...registry.keys()].join(", ");
602
602
  throw new Error(`Unknown API: "${name}". Available: ${available}`);
603
603
  }
604
- return _chunkAJDY36Y6cjs.createApiHandle.call(void 0, {
604
+ return _chunkC35OPQHYcjs.createApiHandle.call(void 0, {
605
605
  resolveClient: () => resolveClient({ registry, name, state }),
606
- createClient: () => _chunkAJDY36Y6cjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
606
+ createClient: () => _chunkC35OPQHYcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
607
607
  apiName: name
608
608
  });
609
609
  };
@@ -651,9 +651,9 @@ var createSDK = () => {
651
651
  return interceptorUse;
652
652
  }
653
653
  case "help":
654
- return (apiName) => _chunkAJDY36Y6cjs.help.call(void 0, apiName);
654
+ return (apiName) => _chunkC35OPQHYcjs.help.call(void 0, apiName);
655
655
  case "openapi":
656
- return (apiName) => _chunkAJDY36Y6cjs.openapi.call(void 0, apiName);
656
+ return (apiName) => _chunkC35OPQHYcjs.openapi.call(void 0, apiName);
657
657
  case "then":
658
658
  case "catch":
659
659
  case "finally":
@@ -683,4 +683,4 @@ var epilot = createSDK();
683
683
 
684
684
 
685
685
 
686
- exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkAJDY36Y6cjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkAJDY36Y6cjs.help; exports.openapi = _chunkAJDY36Y6cjs.openapi;
686
+ exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkC35OPQHYcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkC35OPQHYcjs.help; exports.openapi = _chunkC35OPQHYcjs.openapi;