@epilot/sdk 2.1.3 → 2.1.4

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 (109) hide show
  1. package/definitions/customer-portal.json +216 -19
  2. package/dist/apis/access-token.cjs +6 -6
  3. package/dist/apis/access-token.js +1 -1
  4. package/dist/apis/address-suggestions.cjs +6 -6
  5. package/dist/apis/address-suggestions.js +1 -1
  6. package/dist/apis/address.cjs +6 -6
  7. package/dist/apis/address.js +1 -1
  8. package/dist/apis/ai-agents.cjs +6 -6
  9. package/dist/apis/ai-agents.js +1 -1
  10. package/dist/apis/app.cjs +6 -6
  11. package/dist/apis/app.js +1 -1
  12. package/dist/apis/audit-logs.cjs +6 -6
  13. package/dist/apis/audit-logs.js +1 -1
  14. package/dist/apis/automation.cjs +6 -6
  15. package/dist/apis/automation.js +1 -1
  16. package/dist/apis/billing.cjs +6 -6
  17. package/dist/apis/billing.js +1 -1
  18. package/dist/apis/blueprint-manifest.cjs +6 -6
  19. package/dist/apis/blueprint-manifest.js +1 -1
  20. package/dist/apis/consent.cjs +6 -6
  21. package/dist/apis/consent.js +1 -1
  22. package/dist/apis/customer-portal.cjs +6 -6
  23. package/dist/apis/customer-portal.d.cts +2 -2
  24. package/dist/apis/customer-portal.d.ts +2 -2
  25. package/dist/apis/customer-portal.js +1 -1
  26. package/dist/apis/dashboard.cjs +6 -6
  27. package/dist/apis/dashboard.js +1 -1
  28. package/dist/apis/data-management.cjs +6 -6
  29. package/dist/apis/data-management.js +1 -1
  30. package/dist/apis/deduplication.cjs +6 -6
  31. package/dist/apis/deduplication.js +1 -1
  32. package/dist/apis/design.cjs +6 -6
  33. package/dist/apis/design.js +1 -1
  34. package/dist/apis/document.cjs +6 -6
  35. package/dist/apis/document.js +1 -1
  36. package/dist/apis/email-settings.cjs +6 -6
  37. package/dist/apis/email-settings.js +1 -1
  38. package/dist/apis/email-template.cjs +6 -6
  39. package/dist/apis/email-template.js +1 -1
  40. package/dist/apis/entity-mapping.cjs +6 -6
  41. package/dist/apis/entity-mapping.js +1 -1
  42. package/dist/apis/entity.cjs +6 -6
  43. package/dist/apis/entity.js +1 -1
  44. package/dist/apis/environments.cjs +6 -6
  45. package/dist/apis/environments.js +1 -1
  46. package/dist/apis/erp-integration.cjs +6 -6
  47. package/dist/apis/erp-integration.js +1 -1
  48. package/dist/apis/event-catalog.cjs +6 -6
  49. package/dist/apis/event-catalog.js +1 -1
  50. package/dist/apis/file.cjs +6 -6
  51. package/dist/apis/file.js +1 -1
  52. package/dist/apis/iban.cjs +6 -6
  53. package/dist/apis/iban.js +1 -1
  54. package/dist/apis/journey.cjs +6 -6
  55. package/dist/apis/journey.js +1 -1
  56. package/dist/apis/kanban.cjs +6 -6
  57. package/dist/apis/kanban.js +1 -1
  58. package/dist/apis/message.cjs +6 -6
  59. package/dist/apis/message.js +1 -1
  60. package/dist/apis/metering.cjs +6 -6
  61. package/dist/apis/metering.js +1 -1
  62. package/dist/apis/notes.cjs +6 -6
  63. package/dist/apis/notes.js +1 -1
  64. package/dist/apis/notification.cjs +6 -6
  65. package/dist/apis/notification.js +1 -1
  66. package/dist/apis/organization.cjs +6 -6
  67. package/dist/apis/organization.js +1 -1
  68. package/dist/apis/partner-directory.cjs +6 -6
  69. package/dist/apis/partner-directory.js +1 -1
  70. package/dist/apis/permissions.cjs +6 -6
  71. package/dist/apis/permissions.js +1 -1
  72. package/dist/apis/pricing-tier.cjs +6 -6
  73. package/dist/apis/pricing-tier.js +1 -1
  74. package/dist/apis/pricing.cjs +6 -6
  75. package/dist/apis/pricing.js +1 -1
  76. package/dist/apis/purpose.cjs +6 -6
  77. package/dist/apis/purpose.js +1 -1
  78. package/dist/apis/sandbox.cjs +6 -6
  79. package/dist/apis/sandbox.js +1 -1
  80. package/dist/apis/submission.cjs +6 -6
  81. package/dist/apis/submission.js +1 -1
  82. package/dist/apis/targeting.cjs +6 -6
  83. package/dist/apis/targeting.js +1 -1
  84. package/dist/apis/template-variables.cjs +6 -6
  85. package/dist/apis/template-variables.js +1 -1
  86. package/dist/apis/user.cjs +6 -6
  87. package/dist/apis/user.js +1 -1
  88. package/dist/apis/validation-rules.cjs +6 -6
  89. package/dist/apis/validation-rules.js +1 -1
  90. package/dist/apis/webhooks.cjs +6 -6
  91. package/dist/apis/webhooks.js +1 -1
  92. package/dist/apis/workflow-definition.cjs +6 -6
  93. package/dist/apis/workflow-definition.js +1 -1
  94. package/dist/apis/workflow.cjs +6 -6
  95. package/dist/apis/workflow.js +1 -1
  96. package/dist/{chunk-FPO2GB3J.cjs → chunk-5HXHGSD5.cjs} +1 -1
  97. package/dist/{chunk-PDALFDYR.js → chunk-YW6UBO24.js} +1 -1
  98. package/dist/customer-portal-5JVN4Y5Y.js +7 -0
  99. package/dist/customer-portal-T7KIY3AE.cjs +7 -0
  100. package/dist/{customer-portal.d-Bh9NF8cY.d.cts → customer-portal.d-uN6lOpvy.d.cts} +174 -32
  101. package/dist/{customer-portal.d-Bh9NF8cY.d.ts → customer-portal.d-uN6lOpvy.d.ts} +174 -32
  102. package/dist/index.cjs +8 -8
  103. package/dist/index.d.cts +1 -1
  104. package/dist/index.d.ts +1 -1
  105. package/dist/index.js +1 -1
  106. package/docs/customer-portal.md +351 -1123
  107. package/package.json +1 -1
  108. package/dist/customer-portal-D3SLPAHZ.js +0 -7
  109. package/dist/customer-portal-UR3GN4VU.cjs +0 -7
@@ -692,6 +692,46 @@ declare namespace Components {
692
692
  */
693
693
  visibility?: {
694
694
  [name: string]: any;
695
+ /**
696
+ * Block is fully hidden from portal users
697
+ */
698
+ is_hidden?: boolean;
699
+ /**
700
+ * Block is hidden on mobile viewports
701
+ */
702
+ hidden_on_mobile?: boolean;
703
+ /**
704
+ * Block is hidden on desktop viewports
705
+ */
706
+ hidden_on_desktop?: boolean;
707
+ /**
708
+ * Block is hidden in the mobile app
709
+ */
710
+ hidden_in_app?: boolean;
711
+ /**
712
+ * Schedule visibility start date. If only start_date is set, block is visible from this date onwards.
713
+ */
714
+ start_date?: string; // date-time
715
+ /**
716
+ * Schedule visibility end date. If only end_date is set, block is visible until this date.
717
+ */
718
+ end_date?: string; // date-time
719
+ /**
720
+ * Target IDs that must match for the block to be visible
721
+ */
722
+ visible_for_targets?: string[];
723
+ /**
724
+ * Operator for visible_for_targets matching
725
+ */
726
+ visible_for_operator?: "and" | "or";
727
+ /**
728
+ * Target IDs that if matched will hide the block
729
+ */
730
+ hidden_for_targets?: string[];
731
+ /**
732
+ * Operator for hidden_for_targets matching
733
+ */
734
+ hidden_for_operator?: "and" | "or";
695
735
  };
696
736
  /**
697
737
  * The content of the block
@@ -3123,6 +3163,7 @@ declare namespace Components {
3123
3163
  * If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
3124
3164
  */
3125
3165
  use_static_ips?: boolean;
3166
+ secure_proxy?: /* Configuration for routing requests through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ SecureProxyConfig;
3126
3167
  }
3127
3168
  /**
3128
3169
  * Hook that replaces the built-in Contract identification for self-assignment. This hook involves an HTTP request whenever a user is trying to self-assign Contract(s).
@@ -3199,6 +3240,7 @@ declare namespace Components {
3199
3240
  * If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
3200
3241
  */
3201
3242
  use_static_ips?: boolean;
3243
+ secure_proxy?: /* Configuration for routing requests through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ SecureProxyConfig;
3202
3244
  }
3203
3245
  /**
3204
3246
  * Hook that will allow using the specified source as data for consumption visualizations. This hook is triggered to fetch the data. Format of the request and response has to follow the following specification: TBD. The expected response to the call is:
@@ -3246,6 +3288,7 @@ declare namespace Components {
3246
3288
  * If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
3247
3289
  */
3248
3290
  use_static_ips?: boolean;
3291
+ secure_proxy?: /* Configuration for routing requests through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ SecureProxyConfig;
3249
3292
  }
3250
3293
  /**
3251
3294
  * Hook that checks the plausibility of meter readings before they are saved. This hook makes a POST call whenever a user is trying to save a meter reading. The expected response to the call is:
@@ -3337,6 +3380,7 @@ declare namespace Components {
3337
3380
  * If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
3338
3381
  */
3339
3382
  use_static_ips?: boolean;
3383
+ secure_proxy?: /* Configuration for routing requests through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ SecureProxyConfig;
3340
3384
  }
3341
3385
  /**
3342
3386
  * Hook that will allow using the specified source as data for price visualizations. This hook is triggered to fetch the data. Format of the request and response has to follow the following specification: TBD. The expected response to the call is:
@@ -3384,6 +3428,7 @@ declare namespace Components {
3384
3428
  * If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
3385
3429
  */
3386
3430
  use_static_ips?: boolean;
3431
+ secure_proxy?: /* Configuration for routing requests through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ SecureProxyConfig;
3387
3432
  }
3388
3433
  /**
3389
3434
  * Hook that replaces the built-in registration identifiers check. This hook makes a POST call whenever a user is trying to register to find the corresponding contact. The expected response to the call is:
@@ -3430,6 +3475,7 @@ declare namespace Components {
3430
3475
  * If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
3431
3476
  */
3432
3477
  use_static_ips?: boolean;
3478
+ secure_proxy?: /* Configuration for routing requests through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ SecureProxyConfig;
3433
3479
  }
3434
3480
  export type ExtensionHookSelection = {
3435
3481
  /**
@@ -4416,6 +4462,38 @@ declare namespace Components {
4416
4462
  */
4417
4463
  visibility?: {
4418
4464
  [name: string]: any;
4465
+ /**
4466
+ * Page is fully hidden from portal users
4467
+ */
4468
+ is_hidden?: boolean;
4469
+ /**
4470
+ * Page is hidden in the mobile app
4471
+ */
4472
+ hidden_in_app?: boolean;
4473
+ /**
4474
+ * Schedule visibility start date. If only start_date is set, page is visible from this date onwards.
4475
+ */
4476
+ start_date?: string; // date-time
4477
+ /**
4478
+ * Schedule visibility end date. If only end_date is set, page is visible until this date.
4479
+ */
4480
+ end_date?: string; // date-time
4481
+ /**
4482
+ * Target IDs that must match for the page to be visible
4483
+ */
4484
+ visible_for_targets?: string[];
4485
+ /**
4486
+ * Operator for visible_for_targets matching
4487
+ */
4488
+ visible_for_operator?: "and" | "or";
4489
+ /**
4490
+ * Target IDs that if matched will hide the page
4491
+ */
4492
+ hidden_for_targets?: string[];
4493
+ /**
4494
+ * Operator for hidden_for_targets matching
4495
+ */
4496
+ hidden_for_operator?: "and" | "or";
4419
4497
  };
4420
4498
  /**
4421
4499
  * The content of the page
@@ -4519,6 +4597,38 @@ declare namespace Components {
4519
4597
  */
4520
4598
  visibility?: {
4521
4599
  [name: string]: any;
4600
+ /**
4601
+ * Page is fully hidden from portal users
4602
+ */
4603
+ is_hidden?: boolean;
4604
+ /**
4605
+ * Page is hidden in the mobile app
4606
+ */
4607
+ hidden_in_app?: boolean;
4608
+ /**
4609
+ * Schedule visibility start date. If only start_date is set, page is visible from this date onwards.
4610
+ */
4611
+ start_date?: string; // date-time
4612
+ /**
4613
+ * Schedule visibility end date. If only end_date is set, page is visible until this date.
4614
+ */
4615
+ end_date?: string; // date-time
4616
+ /**
4617
+ * Target IDs that must match for the page to be visible
4618
+ */
4619
+ visible_for_targets?: string[];
4620
+ /**
4621
+ * Operator for visible_for_targets matching
4622
+ */
4623
+ visible_for_operator?: "and" | "or";
4624
+ /**
4625
+ * Target IDs that if matched will hide the page
4626
+ */
4627
+ hidden_for_targets?: string[];
4628
+ /**
4629
+ * Operator for hidden_for_targets matching
4630
+ */
4631
+ hidden_for_operator?: "and" | "or";
4522
4632
  };
4523
4633
  /**
4524
4634
  * The content of the page
@@ -6119,6 +6229,19 @@ declare namespace Components {
6119
6229
  };
6120
6230
  };
6121
6231
  }
6232
+ /**
6233
+ * Configuration for routing requests through the ERP Integration secure proxy. Mutually exclusive with use_static_ips.
6234
+ */
6235
+ export interface SecureProxyConfig {
6236
+ /**
6237
+ * Integration ID that owns the secure_proxy use case.
6238
+ */
6239
+ integration_id: string; // uuid
6240
+ /**
6241
+ * Use case slug for the secure proxy use case.
6242
+ */
6243
+ use_case_slug: string;
6244
+ }
6122
6245
  export type Source = "ECP" | "ERP" | "360" | "journey-submission";
6123
6246
  export type SwappableConfig = "all" | "domain" | "users" | "email_templates";
6124
6247
  export type TariffType = "ht" | "nt";
@@ -11231,6 +11354,10 @@ declare namespace Paths {
11231
11354
  * ]
11232
11355
  */
11233
11356
  Components.Schemas.ContextEntities;
11357
+ /**
11358
+ * When true, evaluates targeting conditions and annotates each page/block visibility with _targeting_status ('visible' | 'hidden' | 'no_targeting'). Blocks and pages are never removed — for preview/builder use only.
11359
+ */
11360
+ evaluate_targeting?: boolean;
11234
11361
  }
11235
11362
  namespace Responses {
11236
11363
  export type $200 = Components.Schemas.Page[];
@@ -11254,10 +11381,20 @@ declare namespace Paths {
11254
11381
  /**
11255
11382
  * Additional contact entity fields to set when creating the contact for the invited user.
11256
11383
  * These are mapped directly to contact entity attributes (e.g. first_name, last_name, phone).
11384
+ * Values can be strings or arrays of strings (for multiselect attributes).
11257
11385
  *
11258
11386
  */
11259
11387
  contact_data?: {
11260
- [name: string]: string;
11388
+ [name: string]: string | string[];
11389
+ };
11390
+ /**
11391
+ * Additional portal user entity fields to set when creating the portal user for the invited user.
11392
+ * These are mapped directly to portal_user entity attributes.
11393
+ * Values can be strings or arrays of strings (for multiselect attributes).
11394
+ *
11395
+ */
11396
+ portal_user_data?: {
11397
+ [name: string]: string | string[];
11261
11398
  };
11262
11399
  }
11263
11400
  namespace Responses {
@@ -11304,6 +11441,10 @@ declare namespace Paths {
11304
11441
  */
11305
11442
  email?: string;
11306
11443
  origin?: /* Origin of the portal */ Components.Schemas.Origin;
11444
+ /**
11445
+ * The portal ID to look up the portal config. When provided, takes precedence over origin.
11446
+ */
11447
+ portal_id?: string;
11307
11448
  }
11308
11449
  namespace Responses {
11309
11450
  export interface $200 {
@@ -12915,7 +13056,7 @@ interface OperationMethods {
12915
13056
  /**
12916
13057
  * getPublicPortalWidgets - getPublicPortalWidgets
12917
13058
  *
12918
- * Retrieves the public widgets of a portal
13059
+ * Retrieves the public widgets of a portal.
12919
13060
  */
12920
13061
  'getPublicPortalWidgets'(
12921
13062
  parameters?: Parameters<Paths.GetPublicPortalWidgets.QueryParameters> | null,
@@ -12925,7 +13066,7 @@ interface OperationMethods {
12925
13066
  /**
12926
13067
  * getPortalWidgets - getPortalWidgets
12927
13068
  *
12928
- * Retrieves the widgets of a portal
13069
+ * Retrieves the widgets of a portal.
12929
13070
  */
12930
13071
  'getPortalWidgets'(
12931
13072
  parameters?: Parameters<Paths.GetPortalWidgets.QueryParameters> | null,
@@ -13215,7 +13356,7 @@ interface OperationMethods {
13215
13356
  /**
13216
13357
  * getAllOrders - getAllOrders
13217
13358
  *
13218
- * Get all orders for the portal user
13359
+ * Get all orders for the portal user. Use searchPortalUserEntities instead.
13219
13360
  */
13220
13361
  'getAllOrders'(
13221
13362
  parameters?: Parameters<Paths.GetAllOrders.QueryParameters> | null,
@@ -13235,7 +13376,7 @@ interface OperationMethods {
13235
13376
  /**
13236
13377
  * getOrder - getOrder
13237
13378
  *
13238
- * Get an order by id
13379
+ * Get an order by id. Use getPortalUserEntity instead.
13239
13380
  */
13240
13381
  'getOrder'(
13241
13382
  parameters?: Parameters<Paths.GetOrder.PathParameters> | null,
@@ -13245,7 +13386,7 @@ interface OperationMethods {
13245
13386
  /**
13246
13387
  * updateOrder - updateOrder
13247
13388
  *
13248
- * Update an order by id
13389
+ * Update an order by id. Use getPortalUserEntity instead.
13249
13390
  */
13250
13391
  'updateOrder'(
13251
13392
  parameters?: Parameters<Paths.UpdateOrder.PathParameters> | null,
@@ -13255,7 +13396,7 @@ interface OperationMethods {
13255
13396
  /**
13256
13397
  * getAllOpportunities - getAllOpportunities
13257
13398
  *
13258
- * Get all opportunities of a portal user
13399
+ * Get all opportunities of a portal user. Use searchPortalUserEntities instead.
13259
13400
  */
13260
13401
  'getAllOpportunities'(
13261
13402
  parameters?: Parameters<Paths.GetAllOpportunities.QueryParameters> | null,
@@ -13265,7 +13406,7 @@ interface OperationMethods {
13265
13406
  /**
13266
13407
  * getSearchableAttributesForOpportunities - getSearchableAttributesForOpportunities
13267
13408
  *
13268
- * Get all opportunity searchable attributes for a portal user
13409
+ * Get all opportunity searchable attributes for a portal user. Use searchPortalUserEntities instead.
13269
13410
  */
13270
13411
  'getSearchableAttributesForOpportunities'(
13271
13412
  parameters?: Parameters<Paths.GetSearchableAttributesForOpportunities.QueryParameters> | null,
@@ -13275,7 +13416,7 @@ interface OperationMethods {
13275
13416
  /**
13276
13417
  * getSearchResultsForOpportunities - getSearchResultsForOpportunities
13277
13418
  *
13278
- * Get all opportunity with the given serached attributes
13419
+ * Get all opportunity with the given searched attributes. Use searchPortalUserEntities instead.
13279
13420
  */
13280
13421
  'getSearchResultsForOpportunities'(
13281
13422
  parameters?: Parameters<Paths.GetSearchResultsForOpportunities.QueryParameters> | null,
@@ -13285,7 +13426,7 @@ interface OperationMethods {
13285
13426
  /**
13286
13427
  * getOpportunity - getOpportunity
13287
13428
  *
13288
- * Get an opportunity by id
13429
+ * Get an opportunity by id. Use getPortalUserEntity instead.
13289
13430
  */
13290
13431
  'getOpportunity'(
13291
13432
  parameters?: Parameters<Paths.GetOpportunity.PathParameters> | null,
@@ -13295,7 +13436,7 @@ interface OperationMethods {
13295
13436
  /**
13296
13437
  * updateOpportunity - updateOpportunity
13297
13438
  *
13298
- * Update an opportunity by id
13439
+ * Update an opportunity by id.
13299
13440
  */
13300
13441
  'updateOpportunity'(
13301
13442
  parameters?: Parameters<Paths.UpdateOpportunity.PathParameters> | null,
@@ -13305,7 +13446,7 @@ interface OperationMethods {
13305
13446
  /**
13306
13447
  * getAllRequests - getAllRequests
13307
13448
  *
13308
- * Get all opportunities & orders of a portal user
13449
+ * Get all opportunities & orders of a portal user. Use searchPortalUserEntities instead.
13309
13450
  */
13310
13451
  'getAllRequests'(
13311
13452
  parameters?: Parameters<Paths.GetAllRequests.QueryParameters> | null,
@@ -13315,7 +13456,7 @@ interface OperationMethods {
13315
13456
  /**
13316
13457
  * getAllContracts - getAllContracts
13317
13458
  *
13318
- * Get all contracts for a portal user
13459
+ * Get all contracts for a portal user. Use searchPortalUserEntities instead.
13319
13460
  */
13320
13461
  'getAllContracts'(
13321
13462
  parameters?: Parameters<Paths.GetAllContracts.QueryParameters> | null,
@@ -13325,7 +13466,7 @@ interface OperationMethods {
13325
13466
  /**
13326
13467
  * getContract - getContract
13327
13468
  *
13328
- * Get a contract by id
13469
+ * Get a contract by id. Use getPortalUserEntity instead.
13329
13470
  */
13330
13471
  'getContract'(
13331
13472
  parameters?: Parameters<Paths.GetContract.PathParameters> | null,
@@ -13335,7 +13476,7 @@ interface OperationMethods {
13335
13476
  /**
13336
13477
  * updateContract - updateContract
13337
13478
  *
13338
- * Update a contract by id
13479
+ * Update a contract by id. Use getPortalUserEntity instead.
13339
13480
  */
13340
13481
  'updateContract'(
13341
13482
  parameters?: Parameters<Paths.UpdateContract.PathParameters> | null,
@@ -13458,7 +13599,7 @@ interface OperationMethods {
13458
13599
  /**
13459
13600
  * getFileById - getFileById
13460
13601
  *
13461
- * Fetch a document with ID
13602
+ * Fetch a document with ID. Use getPortalUserEntity instead.
13462
13603
  */
13463
13604
  'getFileById'(
13464
13605
  parameters?: Parameters<Paths.GetFileById.PathParameters> | null,
@@ -14346,7 +14487,7 @@ interface PathsDictionary {
14346
14487
  /**
14347
14488
  * getPublicPortalWidgets - getPublicPortalWidgets
14348
14489
  *
14349
- * Retrieves the public widgets of a portal
14490
+ * Retrieves the public widgets of a portal.
14350
14491
  */
14351
14492
  'get'(
14352
14493
  parameters?: Parameters<Paths.GetPublicPortalWidgets.QueryParameters> | null,
@@ -14368,7 +14509,7 @@ interface PathsDictionary {
14368
14509
  /**
14369
14510
  * getPortalWidgets - getPortalWidgets
14370
14511
  *
14371
- * Retrieves the widgets of a portal
14512
+ * Retrieves the widgets of a portal.
14372
14513
  */
14373
14514
  'get'(
14374
14515
  parameters?: Parameters<Paths.GetPortalWidgets.QueryParameters> | null,
@@ -14698,7 +14839,7 @@ interface PathsDictionary {
14698
14839
  /**
14699
14840
  * getAllOrders - getAllOrders
14700
14841
  *
14701
- * Get all orders for the portal user
14842
+ * Get all orders for the portal user. Use searchPortalUserEntities instead.
14702
14843
  */
14703
14844
  'get'(
14704
14845
  parameters?: Parameters<Paths.GetAllOrders.QueryParameters> | null,
@@ -14722,7 +14863,7 @@ interface PathsDictionary {
14722
14863
  /**
14723
14864
  * getOrder - getOrder
14724
14865
  *
14725
- * Get an order by id
14866
+ * Get an order by id. Use getPortalUserEntity instead.
14726
14867
  */
14727
14868
  'get'(
14728
14869
  parameters?: Parameters<Paths.GetOrder.PathParameters> | null,
@@ -14732,7 +14873,7 @@ interface PathsDictionary {
14732
14873
  /**
14733
14874
  * updateOrder - updateOrder
14734
14875
  *
14735
- * Update an order by id
14876
+ * Update an order by id. Use getPortalUserEntity instead.
14736
14877
  */
14737
14878
  'patch'(
14738
14879
  parameters?: Parameters<Paths.UpdateOrder.PathParameters> | null,
@@ -14744,7 +14885,7 @@ interface PathsDictionary {
14744
14885
  /**
14745
14886
  * getAllOpportunities - getAllOpportunities
14746
14887
  *
14747
- * Get all opportunities of a portal user
14888
+ * Get all opportunities of a portal user. Use searchPortalUserEntities instead.
14748
14889
  */
14749
14890
  'get'(
14750
14891
  parameters?: Parameters<Paths.GetAllOpportunities.QueryParameters> | null,
@@ -14756,7 +14897,7 @@ interface PathsDictionary {
14756
14897
  /**
14757
14898
  * getSearchableAttributesForOpportunities - getSearchableAttributesForOpportunities
14758
14899
  *
14759
- * Get all opportunity searchable attributes for a portal user
14900
+ * Get all opportunity searchable attributes for a portal user. Use searchPortalUserEntities instead.
14760
14901
  */
14761
14902
  'get'(
14762
14903
  parameters?: Parameters<Paths.GetSearchableAttributesForOpportunities.QueryParameters> | null,
@@ -14768,7 +14909,7 @@ interface PathsDictionary {
14768
14909
  /**
14769
14910
  * getSearchResultsForOpportunities - getSearchResultsForOpportunities
14770
14911
  *
14771
- * Get all opportunity with the given serached attributes
14912
+ * Get all opportunity with the given searched attributes. Use searchPortalUserEntities instead.
14772
14913
  */
14773
14914
  'post'(
14774
14915
  parameters?: Parameters<Paths.GetSearchResultsForOpportunities.QueryParameters> | null,
@@ -14780,7 +14921,7 @@ interface PathsDictionary {
14780
14921
  /**
14781
14922
  * getOpportunity - getOpportunity
14782
14923
  *
14783
- * Get an opportunity by id
14924
+ * Get an opportunity by id. Use getPortalUserEntity instead.
14784
14925
  */
14785
14926
  'get'(
14786
14927
  parameters?: Parameters<Paths.GetOpportunity.PathParameters> | null,
@@ -14790,7 +14931,7 @@ interface PathsDictionary {
14790
14931
  /**
14791
14932
  * updateOpportunity - updateOpportunity
14792
14933
  *
14793
- * Update an opportunity by id
14934
+ * Update an opportunity by id.
14794
14935
  */
14795
14936
  'patch'(
14796
14937
  parameters?: Parameters<Paths.UpdateOpportunity.PathParameters> | null,
@@ -14802,7 +14943,7 @@ interface PathsDictionary {
14802
14943
  /**
14803
14944
  * getAllRequests - getAllRequests
14804
14945
  *
14805
- * Get all opportunities & orders of a portal user
14946
+ * Get all opportunities & orders of a portal user. Use searchPortalUserEntities instead.
14806
14947
  */
14807
14948
  'get'(
14808
14949
  parameters?: Parameters<Paths.GetAllRequests.QueryParameters> | null,
@@ -14814,7 +14955,7 @@ interface PathsDictionary {
14814
14955
  /**
14815
14956
  * getAllContracts - getAllContracts
14816
14957
  *
14817
- * Get all contracts for a portal user
14958
+ * Get all contracts for a portal user. Use searchPortalUserEntities instead.
14818
14959
  */
14819
14960
  'get'(
14820
14961
  parameters?: Parameters<Paths.GetAllContracts.QueryParameters> | null,
@@ -14826,7 +14967,7 @@ interface PathsDictionary {
14826
14967
  /**
14827
14968
  * getContract - getContract
14828
14969
  *
14829
- * Get a contract by id
14970
+ * Get a contract by id. Use getPortalUserEntity instead.
14830
14971
  */
14831
14972
  'get'(
14832
14973
  parameters?: Parameters<Paths.GetContract.PathParameters> | null,
@@ -14836,7 +14977,7 @@ interface PathsDictionary {
14836
14977
  /**
14837
14978
  * updateContract - updateContract
14838
14979
  *
14839
- * Update a contract by id
14980
+ * Update a contract by id. Use getPortalUserEntity instead.
14840
14981
  */
14841
14982
  'patch'(
14842
14983
  parameters?: Parameters<Paths.UpdateContract.PathParameters> | null,
@@ -14981,7 +15122,7 @@ interface PathsDictionary {
14981
15122
  /**
14982
15123
  * getFileById - getFileById
14983
15124
  *
14984
- * Fetch a document with ID
15125
+ * Fetch a document with ID. Use getPortalUserEntity instead.
14985
15126
  */
14986
15127
  'get'(
14987
15128
  parameters?: Parameters<Paths.GetFileById.PathParameters> | null,
@@ -15734,6 +15875,7 @@ type SaveEntityFile = Components.Schemas.SaveEntityFile;
15734
15875
  type SavePortalFile = Components.Schemas.SavePortalFile;
15735
15876
  type Schema = Components.Schemas.Schema;
15736
15877
  type SearchIncludes = Components.Schemas.SearchIncludes;
15878
+ type SecureProxyConfig = Components.Schemas.SecureProxyConfig;
15737
15879
  type Source = Components.Schemas.Source;
15738
15880
  type SwappableConfig = Components.Schemas.SwappableConfig;
15739
15881
  type TariffType = Components.Schemas.TariffType;
@@ -15750,4 +15892,4 @@ type WorfklowIdentifier = Components.Schemas.WorfklowIdentifier;
15750
15892
  type WorkflowExecution = Components.Schemas.WorkflowExecution;
15751
15893
  type WorkflowStep = Components.Schemas.WorkflowStep;
15752
15894
 
15753
- export { type EntityResponseGroupedWithHits as $, type AcceptanceDecision as A, type Balance as B, type Client as C, type ContactCountRequest as D, type ContactExistsRequest as E, type ContentWidget as F, type ContextEntities as G, type ContextEntity as H, type Contract as I, type ContractIdentifier as J, type CreateUserRequest as K, type Currency as L, type DataRetrievalItem as M, DeleteEntityFile as N, type OperationMethods as O, Paths as P, type Direction as Q, type DocumentWidget as R, type EmailTemplates as S, type Entity as T, type EntityEditRule as U, type EntityFileCount as V, type EntityGetParams as W, type EntityId as X, type EntityItem as Y, type EntityMatchingConfig as Z, type EntityResponse as _, Components as a, type ReadBy as a$, type EntityResponseWithHits as a0, type EntitySearchParams as a1, type EntitySlug as a2, type EntitySlugConfig as a3, type EntityTemplates as a4, type EntityWidget as a5, type ErrorResp as a6, type Exists as a7, type Extension as a8, type ExtensionAuthBlock as a9, type MoblieOIDCConfig as aA, type OIDCProviderConfig as aB, type OIDCProviderMetadata as aC, type Opportunity as aD, type Order as aE, type OrganizationSettings as aF, type Origin as aG, type Page as aH, type PageRequest as aI, type PaymentWidget as aJ, type PortalConfig as aK, type PortalConfigV3 as aL, type PortalId as aM, type PortalUser as aN, type PortalUserRegistrationStatus as aO, type PortalWidget as aP, type Product as aQ, type ProductRecommendationsWidget as aR, type ProviderConfig as aS, type ProviderDisplayName as aT, type ProviderPublicConfig as aU, type ProviderSlug as aV, type PublicContractIdentificationDetails as aW, type PublicDataRetrievalHookDetails as aX, type PublicExtensionCapabilities as aY, type PublicExtensionDetails as aZ, type PublicMeterReadingPlausibilityCheckDetails as a_, type ExtensionConfig as aa, type ExtensionHook as ab, type ExtensionHookConsumptionDataRetrieval as ac, type ExtensionHookContractIdentification as ad, type ExtensionHookCostDataRetrieval as ae, type ExtensionHookMeterReadingPlausibilityCheck as af, type ExtensionHookPriceDataRetrieval as ag, type ExtensionHookRegistrationIdentifiersCheck as ah, type ExtensionHookSelection as ai, type ExtensionSeamlessLink as aj, type ExternalLink as ak, type ExtraSchemaAttributes as al, type FailedRuleErrorResp as am, type File as an, type FileItem as ao, type Grant as ap, type IdentifierAttribute as aq, type InstallmentEvent as ar, type JourneyActions as as, type JuiceSettings as at, type Meter as au, type MeterChartWidget as av, type MeterReading as aw, type MeterReadingPhoto as ax, type MeterReadingPhotoData as ay, type MeterReadingWidget as az, type PathsDictionary as b, type ReadingStatus as b0, type Reason as b1, type RegistrationIdentifier as b2, type ReimbursementEvent as b3, type Rule as b4, type SAMLProviderConfig as b5, type SSOCallbackRequest as b6, type SSOCallbackResponse as b7, type SSOLoginToken as b8, SaveEntityFile as b9, type SavePortalFile as ba, type Schema as bb, type SearchIncludes as bc, type Source as bd, type SwappableConfig as be, type TariffType as bf, type TeaserWidget as bg, type TriggerPortalFlow as bh, type UpdateOnlyPortalConfigAttributes as bi, type UpsertPortalConfig as bj, type UpsertPortalConfigV3 as bk, UpsertPortalWidget as bl, type UserRequest as bm, type WidgetAction as bn, type WidgetBase as bo, type WorfklowIdentifier as bp, type WorkflowExecution as bq, type WorkflowStep as br, type ActionLabel as c, type ActionWidget as d, type Activity as e, type ActivityCallerContext as f, type ActivityId as g, type ActivityItem as h, type AdminUser as i, type AllowedFileExtensions as j, type AttributeMappingConfig as k, type AuthConfig as l, type BaseBillingEvent as m, type BaseEntity as n, type BillingAccount as o, type BillingEvent as p, type Block as q, type BlockId as r, type BlockProps as s, type BlockRequest as t, type BlockType as u, type BusinessPartnerItem as v, type CampaignWidget as w, type CommonConfigAttributes as x, type CommonConfigAttributesV3 as y, type Contact as z };
15895
+ export { type EntityResponseGroupedWithHits as $, type AcceptanceDecision as A, type Balance as B, type Client as C, type ContactCountRequest as D, type ContactExistsRequest as E, type ContentWidget as F, type ContextEntities as G, type ContextEntity as H, type Contract as I, type ContractIdentifier as J, type CreateUserRequest as K, type Currency as L, type DataRetrievalItem as M, DeleteEntityFile as N, type OperationMethods as O, Paths as P, type Direction as Q, type DocumentWidget as R, type EmailTemplates as S, type Entity as T, type EntityEditRule as U, type EntityFileCount as V, type EntityGetParams as W, type EntityId as X, type EntityItem as Y, type EntityMatchingConfig as Z, type EntityResponse as _, Components as a, type ReadBy as a$, type EntityResponseWithHits as a0, type EntitySearchParams as a1, type EntitySlug as a2, type EntitySlugConfig as a3, type EntityTemplates as a4, type EntityWidget as a5, type ErrorResp as a6, type Exists as a7, type Extension as a8, type ExtensionAuthBlock as a9, type MoblieOIDCConfig as aA, type OIDCProviderConfig as aB, type OIDCProviderMetadata as aC, type Opportunity as aD, type Order as aE, type OrganizationSettings as aF, type Origin as aG, type Page as aH, type PageRequest as aI, type PaymentWidget as aJ, type PortalConfig as aK, type PortalConfigV3 as aL, type PortalId as aM, type PortalUser as aN, type PortalUserRegistrationStatus as aO, type PortalWidget as aP, type Product as aQ, type ProductRecommendationsWidget as aR, type ProviderConfig as aS, type ProviderDisplayName as aT, type ProviderPublicConfig as aU, type ProviderSlug as aV, type PublicContractIdentificationDetails as aW, type PublicDataRetrievalHookDetails as aX, type PublicExtensionCapabilities as aY, type PublicExtensionDetails as aZ, type PublicMeterReadingPlausibilityCheckDetails as a_, type ExtensionConfig as aa, type ExtensionHook as ab, type ExtensionHookConsumptionDataRetrieval as ac, type ExtensionHookContractIdentification as ad, type ExtensionHookCostDataRetrieval as ae, type ExtensionHookMeterReadingPlausibilityCheck as af, type ExtensionHookPriceDataRetrieval as ag, type ExtensionHookRegistrationIdentifiersCheck as ah, type ExtensionHookSelection as ai, type ExtensionSeamlessLink as aj, type ExternalLink as ak, type ExtraSchemaAttributes as al, type FailedRuleErrorResp as am, type File as an, type FileItem as ao, type Grant as ap, type IdentifierAttribute as aq, type InstallmentEvent as ar, type JourneyActions as as, type JuiceSettings as at, type Meter as au, type MeterChartWidget as av, type MeterReading as aw, type MeterReadingPhoto as ax, type MeterReadingPhotoData as ay, type MeterReadingWidget as az, type PathsDictionary as b, type ReadingStatus as b0, type Reason as b1, type RegistrationIdentifier as b2, type ReimbursementEvent as b3, type Rule as b4, type SAMLProviderConfig as b5, type SSOCallbackRequest as b6, type SSOCallbackResponse as b7, type SSOLoginToken as b8, SaveEntityFile as b9, type SavePortalFile as ba, type Schema as bb, type SearchIncludes as bc, type SecureProxyConfig as bd, type Source as be, type SwappableConfig as bf, type TariffType as bg, type TeaserWidget as bh, type TriggerPortalFlow as bi, type UpdateOnlyPortalConfigAttributes as bj, type UpsertPortalConfig as bk, type UpsertPortalConfigV3 as bl, UpsertPortalWidget as bm, type UserRequest as bn, type WidgetAction as bo, type WidgetBase as bp, type WorfklowIdentifier as bq, type WorkflowExecution as br, type WorkflowStep as bs, type ActionLabel as c, type ActionWidget as d, type Activity as e, type ActivityCallerContext as f, type ActivityId as g, type ActivityItem as h, type AdminUser as i, type AllowedFileExtensions as j, type AttributeMappingConfig as k, type AuthConfig as l, type BaseBillingEvent as m, type BaseEntity as n, type BillingAccount as o, type BillingEvent as p, type Block as q, type BlockId as r, type BlockProps as s, type BlockRequest as t, type BlockType as u, type BusinessPartnerItem as v, type CampaignWidget as w, type CommonConfigAttributes as x, type CommonConfigAttributesV3 as y, type Contact as z };
package/dist/index.cjs CHANGED
@@ -143,7 +143,7 @@ var _chunkRXMOHUBPcjs = require('./chunk-RXMOHUBP.cjs');
143
143
 
144
144
 
145
145
 
146
- var _chunkFPO2GB3Jcjs = require('./chunk-FPO2GB3J.cjs');
146
+ var _chunk5HXHGSD5cjs = require('./chunk-5HXHGSD5.cjs');
147
147
 
148
148
 
149
149
  var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
@@ -210,7 +210,7 @@ var resolveClient = (params) => {
210
210
  }
211
211
  if (!entry.instance) {
212
212
  const definition = entry.loader();
213
- entry.instance = _chunkFPO2GB3Jcjs.createApiClient.call(void 0, {
213
+ entry.instance = _chunk5HXHGSD5cjs.createApiClient.call(void 0, {
214
214
  definition,
215
215
  token: state.token,
216
216
  headers: state.globalHeaders,
@@ -243,7 +243,7 @@ var resetAllClients = (registry) => {
243
243
  };
244
244
 
245
245
  // src/apis/_registry.ts
246
- var expandDef = (mod) => _chunkFPO2GB3Jcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
246
+ var expandDef = (mod) => _chunk5HXHGSD5cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
247
247
  var registerBuiltinApis = (registry) => {
248
248
  registerApi({
249
249
  registry,
@@ -545,9 +545,9 @@ var createSDK = () => {
545
545
  const available = [...registry.keys()].join(", ");
546
546
  throw new Error(`Unknown API: "${name}". Available: ${available}`);
547
547
  }
548
- return _chunkFPO2GB3Jcjs.createApiHandle.call(void 0, {
548
+ return _chunk5HXHGSD5cjs.createApiHandle.call(void 0, {
549
549
  resolveClient: () => resolveClient({ registry, name, state }),
550
- createClient: () => _chunkFPO2GB3Jcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
550
+ createClient: () => _chunk5HXHGSD5cjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
551
551
  apiName: name
552
552
  });
553
553
  };
@@ -595,9 +595,9 @@ var createSDK = () => {
595
595
  return interceptorUse;
596
596
  }
597
597
  case "help":
598
- return (apiName) => _chunkFPO2GB3Jcjs.help.call(void 0, apiName);
598
+ return (apiName) => _chunk5HXHGSD5cjs.help.call(void 0, apiName);
599
599
  case "openapi":
600
- return (apiName) => _chunkFPO2GB3Jcjs.openapi.call(void 0, apiName);
600
+ return (apiName) => _chunk5HXHGSD5cjs.openapi.call(void 0, apiName);
601
601
  case "then":
602
602
  case "catch":
603
603
  case "finally":
@@ -624,4 +624,4 @@ var epilot = createSDK();
624
624
 
625
625
 
626
626
 
627
- exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkFPO2GB3Jcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkFPO2GB3Jcjs.help; exports.openapi = _chunkFPO2GB3Jcjs.openapi;
627
+ exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunk5HXHGSD5cjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunk5HXHGSD5cjs.help; exports.openapi = _chunk5HXHGSD5cjs.openapi;
package/dist/index.d.cts CHANGED
@@ -13,7 +13,7 @@ import { C as Client$6 } from './automation.d-KOiZ6ru5.cjs';
13
13
  import { C as Client$7 } from './billing.d-Bs8Ku9qE.cjs';
14
14
  import { C as Client$8 } from './blueprint-manifest.d-DECw6HdM.cjs';
15
15
  import { C as Client$9 } from './consent.d-C2PROHhX.cjs';
16
- import { C as Client$a } from './customer-portal.d-Bh9NF8cY.cjs';
16
+ import { C as Client$a } from './customer-portal.d-uN6lOpvy.cjs';
17
17
  import { C as Client$b } from './dashboard.d-CsGcA74I.cjs';
18
18
  import { C as Client$c } from './data-management.d-CkDmJwpx.cjs';
19
19
  import { C as Client$d } from './deduplication.d-w_2aJD5f.cjs';
package/dist/index.d.ts CHANGED
@@ -13,7 +13,7 @@ import { C as Client$6 } from './automation.d-KOiZ6ru5.js';
13
13
  import { C as Client$7 } from './billing.d-Bs8Ku9qE.js';
14
14
  import { C as Client$8 } from './blueprint-manifest.d-DECw6HdM.js';
15
15
  import { C as Client$9 } from './consent.d-C2PROHhX.js';
16
- import { C as Client$a } from './customer-portal.d-Bh9NF8cY.js';
16
+ import { C as Client$a } from './customer-portal.d-uN6lOpvy.js';
17
17
  import { C as Client$b } from './dashboard.d-CsGcA74I.js';
18
18
  import { C as Client$c } from './data-management.d-CkDmJwpx.js';
19
19
  import { C as Client$d } from './deduplication.d-w_2aJD5f.js';
package/dist/index.js CHANGED
@@ -143,7 +143,7 @@ import {
143
143
  expand,
144
144
  help,
145
145
  openapi
146
- } from "./chunk-PDALFDYR.js";
146
+ } from "./chunk-YW6UBO24.js";
147
147
  import {
148
148
  __require
149
149
  } from "./chunk-YPSWSI3M.js";