@epilot/sdk 2.11.0 → 2.11.1

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 (124) hide show
  1. package/definitions/customer-portal.json +79 -21
  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/calendar.cjs +6 -6
  21. package/dist/apis/calendar.js +1 -1
  22. package/dist/apis/configuration-hub.cjs +6 -6
  23. package/dist/apis/configuration-hub.js +1 -1
  24. package/dist/apis/consent.cjs +6 -6
  25. package/dist/apis/consent.js +1 -1
  26. package/dist/apis/customer-portal.cjs +6 -6
  27. package/dist/apis/customer-portal.d.cts +2 -2
  28. package/dist/apis/customer-portal.d.ts +2 -2
  29. package/dist/apis/customer-portal.js +1 -1
  30. package/dist/apis/dashboard.cjs +6 -6
  31. package/dist/apis/dashboard.js +1 -1
  32. package/dist/apis/data-governance.cjs +6 -6
  33. package/dist/apis/data-governance.js +1 -1
  34. package/dist/apis/deduplication.cjs +6 -6
  35. package/dist/apis/deduplication.js +1 -1
  36. package/dist/apis/design.cjs +6 -6
  37. package/dist/apis/design.js +1 -1
  38. package/dist/apis/document.cjs +6 -6
  39. package/dist/apis/document.js +1 -1
  40. package/dist/apis/email-settings.cjs +6 -6
  41. package/dist/apis/email-settings.js +1 -1
  42. package/dist/apis/email-template.cjs +6 -6
  43. package/dist/apis/email-template.js +1 -1
  44. package/dist/apis/entity-mapping.cjs +6 -6
  45. package/dist/apis/entity-mapping.js +1 -1
  46. package/dist/apis/entity.cjs +6 -6
  47. package/dist/apis/entity.js +1 -1
  48. package/dist/apis/environments.cjs +6 -6
  49. package/dist/apis/environments.js +1 -1
  50. package/dist/apis/event-catalog.cjs +6 -6
  51. package/dist/apis/event-catalog.js +1 -1
  52. package/dist/apis/file.cjs +6 -6
  53. package/dist/apis/file.js +1 -1
  54. package/dist/apis/iban.cjs +6 -6
  55. package/dist/apis/iban.js +1 -1
  56. package/dist/apis/integration-toolkit.cjs +6 -6
  57. package/dist/apis/integration-toolkit.js +1 -1
  58. package/dist/apis/journey.cjs +6 -6
  59. package/dist/apis/journey.js +1 -1
  60. package/dist/apis/kanban.cjs +6 -6
  61. package/dist/apis/kanban.js +1 -1
  62. package/dist/apis/message.cjs +6 -6
  63. package/dist/apis/message.js +1 -1
  64. package/dist/apis/metering.cjs +6 -6
  65. package/dist/apis/metering.js +1 -1
  66. package/dist/apis/notes.cjs +6 -6
  67. package/dist/apis/notes.js +1 -1
  68. package/dist/apis/notification.cjs +6 -6
  69. package/dist/apis/notification.js +1 -1
  70. package/dist/apis/organization.cjs +6 -6
  71. package/dist/apis/organization.js +1 -1
  72. package/dist/apis/partner-directory.cjs +6 -6
  73. package/dist/apis/partner-directory.js +1 -1
  74. package/dist/apis/permissions.cjs +6 -6
  75. package/dist/apis/permissions.js +1 -1
  76. package/dist/apis/pricing-tier.cjs +6 -6
  77. package/dist/apis/pricing-tier.js +1 -1
  78. package/dist/apis/pricing.cjs +6 -6
  79. package/dist/apis/pricing.js +1 -1
  80. package/dist/apis/purpose.cjs +6 -6
  81. package/dist/apis/purpose.js +1 -1
  82. package/dist/apis/query.cjs +6 -6
  83. package/dist/apis/query.js +1 -1
  84. package/dist/apis/sandbox.cjs +6 -6
  85. package/dist/apis/sandbox.js +1 -1
  86. package/dist/apis/sharing.cjs +6 -6
  87. package/dist/apis/sharing.js +1 -1
  88. package/dist/apis/snapshot.cjs +6 -6
  89. package/dist/apis/snapshot.js +1 -1
  90. package/dist/apis/submission.cjs +6 -6
  91. package/dist/apis/submission.js +1 -1
  92. package/dist/apis/target.cjs +6 -6
  93. package/dist/apis/target.js +1 -1
  94. package/dist/apis/targeting.cjs +6 -6
  95. package/dist/apis/targeting.js +1 -1
  96. package/dist/apis/template-variables.cjs +6 -6
  97. package/dist/apis/template-variables.js +1 -1
  98. package/dist/apis/user.cjs +6 -6
  99. package/dist/apis/user.js +1 -1
  100. package/dist/apis/validation-rules.cjs +6 -6
  101. package/dist/apis/validation-rules.js +1 -1
  102. package/dist/apis/webhooks.cjs +6 -6
  103. package/dist/apis/webhooks.js +1 -1
  104. package/dist/apis/workflow-definition.cjs +6 -6
  105. package/dist/apis/workflow-definition.js +1 -1
  106. package/dist/apis/workflow.cjs +6 -6
  107. package/dist/apis/workflow.js +1 -1
  108. package/dist/{chunk-Y4FVLGZ3.js → chunk-CF2RGSFQ.js} +1 -1
  109. package/dist/{chunk-OZ7JODOI.cjs → chunk-LJ4LC3P3.cjs} +1 -1
  110. package/dist/customer-portal-K2HBVB7T.cjs +7 -0
  111. package/dist/customer-portal-UAKA5B2P.js +7 -0
  112. package/dist/{customer-portal.d-JUlTCfGt.d.cts → customer-portal.d-C9TeumWq.d.cts} +50 -26
  113. package/dist/{customer-portal.d-JUlTCfGt.d.ts → customer-portal.d-C9TeumWq.d.ts} +50 -26
  114. package/dist/index.cjs +8 -8
  115. package/dist/index.d.cts +1 -1
  116. package/dist/index.d.ts +1 -1
  117. package/dist/index.js +1 -1
  118. package/dist/js-yaml-DLCVPJ7G.js +0 -0
  119. package/docs/customer-portal.md +69 -9
  120. package/package.json +11 -12
  121. package/definitions/focus-pocus-runtime.json +0 -1
  122. package/definitions/focus-pocus.json +0 -757
  123. package/dist/customer-portal-EJBJ4BNI.cjs +0 -7
  124. package/dist/customer-portal-ZVST2CTU.js +0 -7
@@ -2060,15 +2060,6 @@ declare namespace Components {
2060
2060
  [name: string]: string;
2061
2061
  };
2062
2062
  };
2063
- /**
2064
- * Whether to (re)trigger the registration identifiers check hook, which issues a request
2065
- * to the connected ERP to (re)sync the contact, in addition to waiting for the entity to
2066
- * arrive. Defaults to true to preserve existing behaviour. Set to false on retry attempts
2067
- * to only poll for an already-triggered sync to land, without issuing another upstream
2068
- * request to the ERP.
2069
- *
2070
- */
2071
- trigger_identifiers_check?: boolean;
2072
2063
  }
2073
2064
  export interface ContentWidget {
2074
2065
  id: string;
@@ -5175,6 +5166,7 @@ declare namespace Components {
5175
5166
  store_url?: string;
5176
5167
  last_build?: /* Latest build/upload status for a platform (system-written). */ MobileBuildStatus;
5177
5168
  };
5169
+ ota?: /* OTA (over-the-air) update settings for the portal's mobile app. Drives the OTA build pipeline and the per-portal manifest. channel / update_strategy / min_native_version are epilot-internal controls. */ MobileOtaConfig;
5178
5170
  }
5179
5171
  /**
5180
5172
  * Editable mobile fields for PUT. Only mobile-relevant settings + app branding can be changed. Portal-derived values (display_name, app_host), the portal logo, and system-written fields (credentials_status, app_store_id, last_build, …) are ignored if sent.
@@ -5195,6 +5187,33 @@ declare namespace Components {
5195
5187
  store_url?: string;
5196
5188
  };
5197
5189
  branding?: MobileBranding;
5190
+ ota?: /* OTA (over-the-air) update settings for the portal's mobile app. Drives the OTA build pipeline and the per-portal manifest. channel / update_strategy / min_native_version are epilot-internal controls. */ MobileOtaConfig;
5191
+ }
5192
+ /**
5193
+ * OTA (over-the-air) update settings for the portal's mobile app. Drives the OTA build pipeline and the per-portal manifest. channel / update_strategy / min_native_version are epilot-internal controls.
5194
+ */
5195
+ export interface MobileOtaConfig {
5196
+ [name: string]: any;
5197
+ /**
5198
+ * Whether OTA updates are enabled for this portal.
5199
+ */
5200
+ enabled?: boolean;
5201
+ /**
5202
+ * Release channel this portal follows.
5203
+ */
5204
+ channel?: "canary" | "stable";
5205
+ /**
5206
+ * Whether the app auto-updates or prompts the user.
5207
+ */
5208
+ auto_update?: boolean;
5209
+ /**
5210
+ * When to apply a downloaded bundle.
5211
+ */
5212
+ update_strategy?: "next-launch" | "immediate";
5213
+ /**
5214
+ * Minimum native app version required to load OTA bundles.
5215
+ */
5216
+ min_native_version?: string;
5198
5217
  }
5199
5218
  /**
5200
5219
  * Mobile OIDC configuration. Values are resolved at SSO invocation time, so the
@@ -5585,6 +5604,25 @@ declare namespace Components {
5585
5604
  * Origin of the portal
5586
5605
  */
5587
5606
  export type Origin = string;
5607
+ /**
5608
+ * A portal that has mobile OTA updates enabled.
5609
+ */
5610
+ export interface OtaPortal {
5611
+ /**
5612
+ * Portal hostname — the OTA manifest filename ({domain}.json).
5613
+ * example:
5614
+ * kundenportal.twl.de
5615
+ */
5616
+ domain: string;
5617
+ channel: "canary" | "stable";
5618
+ autoUpdate: boolean;
5619
+ updateStrategy: "next-launch" | "immediate";
5620
+ /**
5621
+ * example:
5622
+ * 1.0.0
5623
+ */
5624
+ minNativeVersion?: string;
5625
+ }
5588
5626
  export interface Page {
5589
5627
  [name: string]: any;
5590
5628
  /**
@@ -9450,14 +9488,6 @@ declare namespace Paths {
9450
9488
  * 5da0a718-c822-403d-9f5d-20d4584e0528
9451
9489
  */
9452
9490
  Components.Schemas.EntityId /* uuid */;
9453
- /**
9454
- * Present only when exists is false. NOT_FOUND means the given identifiers did
9455
- * not match any contact (definitive - the client should not retry). TIMEOUT
9456
- * means the contact was not found within the processing window but may still be
9457
- * ingesting; the client may retry (ideally with trigger_identifiers_check=false).
9458
- *
9459
- */
9460
- reason?: "TIMEOUT" | "NOT_FOUND";
9461
9491
  }
9462
9492
  export type $400 = Components.Responses.InvalidRequest;
9463
9493
  export type $404 = Components.Responses.NotFound;
@@ -9505,14 +9535,6 @@ declare namespace Paths {
9505
9535
  * 5da0a718-c822-403d-9f5d-20d4584e0528
9506
9536
  */
9507
9537
  Components.Schemas.EntityId /* uuid */;
9508
- /**
9509
- * Present only when exists is false. NOT_FOUND means the given identifiers did
9510
- * not match any contact (definitive - the client should not retry). TIMEOUT
9511
- * means the contact was not found within the processing window but may still be
9512
- * ingesting; the client may retry (ideally with trigger_identifiers_check=false).
9513
- *
9514
- */
9515
- reason?: "TIMEOUT" | "NOT_FOUND";
9516
9538
  }
9517
9539
  export type $400 = Components.Responses.InvalidRequest;
9518
9540
  export type $404 = Components.Responses.NotFound;
@@ -19370,6 +19392,7 @@ type MobileBranding = Components.Schemas.MobileBranding;
19370
19392
  type MobileBuildStatus = Components.Schemas.MobileBuildStatus;
19371
19393
  type MobileConfig = Components.Schemas.MobileConfig;
19372
19394
  type MobileConfigUpdate = Components.Schemas.MobileConfigUpdate;
19395
+ type MobileOtaConfig = Components.Schemas.MobileOtaConfig;
19373
19396
  type MoblieOIDCConfig = Components.Schemas.MoblieOIDCConfig;
19374
19397
  type OIDCProviderConfig = Components.Schemas.OIDCProviderConfig;
19375
19398
  type OIDCProviderMetadata = Components.Schemas.OIDCProviderMetadata;
@@ -19377,6 +19400,7 @@ type Opportunity = Components.Schemas.Opportunity;
19377
19400
  type Order = Components.Schemas.Order;
19378
19401
  type OrganizationSettings = Components.Schemas.OrganizationSettings;
19379
19402
  type Origin = Components.Schemas.Origin;
19403
+ type OtaPortal = Components.Schemas.OtaPortal;
19380
19404
  type Page = Components.Schemas.Page;
19381
19405
  type PageRequest = Components.Schemas.PageRequest;
19382
19406
  type PaymentWidget = Components.Schemas.PaymentWidget;
@@ -19436,4 +19460,4 @@ type WorfklowIdentifier = Components.Schemas.WorfklowIdentifier;
19436
19460
  type WorkflowExecution = Components.Schemas.WorkflowExecution;
19437
19461
  type WorkflowStep = Components.Schemas.WorkflowStep;
19438
19462
 
19439
- 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 PortalWidget 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 MoblieOIDCConfig as aM, type OIDCProviderConfig as aN, type OIDCProviderMetadata as aO, type Opportunity as aP, type Order as aQ, type OrganizationSettings as aR, type Origin as aS, type Page as aT, type PageRequest as aU, type PaymentWidget as aV, type PortalConfig as aW, type PortalConfigV3 as aX, type PortalId as aY, type PortalUser as aZ, type PortalUserRegistrationStatus 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 Product as b0, type ProductRecommendationsWidget as b1, type ProviderConfig as b2, type ProviderDisplayName as b3, type ProviderPublicConfig as b4, type ProviderSlug as b5, type PublicAppDetails as b6, type PublicChangeEmailDetails as b7, type PublicChangePasswordDetails as b8, type PublicContractIdentificationDetails as b9, type UpdateOnlyPortalConfigAttributes as bA, type UpsertPortalConfig as bB, type UpsertPortalConfigV3 as bC, UpsertPortalWidget as bD, type UserRequest as bE, type VisualizationDataRange as bF, type VisualizationMetadata as bG, type VisualizationTypeOption as bH, type WidgetAction as bI, type WidgetBase as bJ, type WorfklowIdentifier as bK, type WorkflowExecution as bL, type WorkflowStep as bM, type PublicDataRetrievalHookDetails as ba, type PublicDeleteAccountDetails as bb, type PublicExtensionCapabilities as bc, type PublicExtensionDetails as bd, type PublicMeterReadingPlausibilityCheckDetails as be, type PublicSelfManagementExplanation as bf, type ReadBy as bg, type ReadingStatus as bh, type Reason as bi, type RegistrationIdentifier as bj, type ReimbursementEvent as bk, type Rule as bl, type SAMLProviderConfig as bm, type SSOCallbackRequest as bn, type SSOCallbackResponse as bo, type SSOLoginToken as bp, SaveEntityFile as bq, type SavePortalFile as br, type Schema as bs, type SearchIncludes as bt, type SecureProxyConfig as bu, type Source as bv, type SwappableConfig as bw, type TariffType as bx, type TeaserWidget as by, type TriggerPortalFlow 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 };
19463
+ 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 };
@@ -2060,15 +2060,6 @@ declare namespace Components {
2060
2060
  [name: string]: string;
2061
2061
  };
2062
2062
  };
2063
- /**
2064
- * Whether to (re)trigger the registration identifiers check hook, which issues a request
2065
- * to the connected ERP to (re)sync the contact, in addition to waiting for the entity to
2066
- * arrive. Defaults to true to preserve existing behaviour. Set to false on retry attempts
2067
- * to only poll for an already-triggered sync to land, without issuing another upstream
2068
- * request to the ERP.
2069
- *
2070
- */
2071
- trigger_identifiers_check?: boolean;
2072
2063
  }
2073
2064
  export interface ContentWidget {
2074
2065
  id: string;
@@ -5175,6 +5166,7 @@ declare namespace Components {
5175
5166
  store_url?: string;
5176
5167
  last_build?: /* Latest build/upload status for a platform (system-written). */ MobileBuildStatus;
5177
5168
  };
5169
+ ota?: /* OTA (over-the-air) update settings for the portal's mobile app. Drives the OTA build pipeline and the per-portal manifest. channel / update_strategy / min_native_version are epilot-internal controls. */ MobileOtaConfig;
5178
5170
  }
5179
5171
  /**
5180
5172
  * Editable mobile fields for PUT. Only mobile-relevant settings + app branding can be changed. Portal-derived values (display_name, app_host), the portal logo, and system-written fields (credentials_status, app_store_id, last_build, …) are ignored if sent.
@@ -5195,6 +5187,33 @@ declare namespace Components {
5195
5187
  store_url?: string;
5196
5188
  };
5197
5189
  branding?: MobileBranding;
5190
+ ota?: /* OTA (over-the-air) update settings for the portal's mobile app. Drives the OTA build pipeline and the per-portal manifest. channel / update_strategy / min_native_version are epilot-internal controls. */ MobileOtaConfig;
5191
+ }
5192
+ /**
5193
+ * OTA (over-the-air) update settings for the portal's mobile app. Drives the OTA build pipeline and the per-portal manifest. channel / update_strategy / min_native_version are epilot-internal controls.
5194
+ */
5195
+ export interface MobileOtaConfig {
5196
+ [name: string]: any;
5197
+ /**
5198
+ * Whether OTA updates are enabled for this portal.
5199
+ */
5200
+ enabled?: boolean;
5201
+ /**
5202
+ * Release channel this portal follows.
5203
+ */
5204
+ channel?: "canary" | "stable";
5205
+ /**
5206
+ * Whether the app auto-updates or prompts the user.
5207
+ */
5208
+ auto_update?: boolean;
5209
+ /**
5210
+ * When to apply a downloaded bundle.
5211
+ */
5212
+ update_strategy?: "next-launch" | "immediate";
5213
+ /**
5214
+ * Minimum native app version required to load OTA bundles.
5215
+ */
5216
+ min_native_version?: string;
5198
5217
  }
5199
5218
  /**
5200
5219
  * Mobile OIDC configuration. Values are resolved at SSO invocation time, so the
@@ -5585,6 +5604,25 @@ declare namespace Components {
5585
5604
  * Origin of the portal
5586
5605
  */
5587
5606
  export type Origin = string;
5607
+ /**
5608
+ * A portal that has mobile OTA updates enabled.
5609
+ */
5610
+ export interface OtaPortal {
5611
+ /**
5612
+ * Portal hostname — the OTA manifest filename ({domain}.json).
5613
+ * example:
5614
+ * kundenportal.twl.de
5615
+ */
5616
+ domain: string;
5617
+ channel: "canary" | "stable";
5618
+ autoUpdate: boolean;
5619
+ updateStrategy: "next-launch" | "immediate";
5620
+ /**
5621
+ * example:
5622
+ * 1.0.0
5623
+ */
5624
+ minNativeVersion?: string;
5625
+ }
5588
5626
  export interface Page {
5589
5627
  [name: string]: any;
5590
5628
  /**
@@ -9450,14 +9488,6 @@ declare namespace Paths {
9450
9488
  * 5da0a718-c822-403d-9f5d-20d4584e0528
9451
9489
  */
9452
9490
  Components.Schemas.EntityId /* uuid */;
9453
- /**
9454
- * Present only when exists is false. NOT_FOUND means the given identifiers did
9455
- * not match any contact (definitive - the client should not retry). TIMEOUT
9456
- * means the contact was not found within the processing window but may still be
9457
- * ingesting; the client may retry (ideally with trigger_identifiers_check=false).
9458
- *
9459
- */
9460
- reason?: "TIMEOUT" | "NOT_FOUND";
9461
9491
  }
9462
9492
  export type $400 = Components.Responses.InvalidRequest;
9463
9493
  export type $404 = Components.Responses.NotFound;
@@ -9505,14 +9535,6 @@ declare namespace Paths {
9505
9535
  * 5da0a718-c822-403d-9f5d-20d4584e0528
9506
9536
  */
9507
9537
  Components.Schemas.EntityId /* uuid */;
9508
- /**
9509
- * Present only when exists is false. NOT_FOUND means the given identifiers did
9510
- * not match any contact (definitive - the client should not retry). TIMEOUT
9511
- * means the contact was not found within the processing window but may still be
9512
- * ingesting; the client may retry (ideally with trigger_identifiers_check=false).
9513
- *
9514
- */
9515
- reason?: "TIMEOUT" | "NOT_FOUND";
9516
9538
  }
9517
9539
  export type $400 = Components.Responses.InvalidRequest;
9518
9540
  export type $404 = Components.Responses.NotFound;
@@ -19370,6 +19392,7 @@ type MobileBranding = Components.Schemas.MobileBranding;
19370
19392
  type MobileBuildStatus = Components.Schemas.MobileBuildStatus;
19371
19393
  type MobileConfig = Components.Schemas.MobileConfig;
19372
19394
  type MobileConfigUpdate = Components.Schemas.MobileConfigUpdate;
19395
+ type MobileOtaConfig = Components.Schemas.MobileOtaConfig;
19373
19396
  type MoblieOIDCConfig = Components.Schemas.MoblieOIDCConfig;
19374
19397
  type OIDCProviderConfig = Components.Schemas.OIDCProviderConfig;
19375
19398
  type OIDCProviderMetadata = Components.Schemas.OIDCProviderMetadata;
@@ -19377,6 +19400,7 @@ type Opportunity = Components.Schemas.Opportunity;
19377
19400
  type Order = Components.Schemas.Order;
19378
19401
  type OrganizationSettings = Components.Schemas.OrganizationSettings;
19379
19402
  type Origin = Components.Schemas.Origin;
19403
+ type OtaPortal = Components.Schemas.OtaPortal;
19380
19404
  type Page = Components.Schemas.Page;
19381
19405
  type PageRequest = Components.Schemas.PageRequest;
19382
19406
  type PaymentWidget = Components.Schemas.PaymentWidget;
@@ -19436,4 +19460,4 @@ type WorfklowIdentifier = Components.Schemas.WorfklowIdentifier;
19436
19460
  type WorkflowExecution = Components.Schemas.WorkflowExecution;
19437
19461
  type WorkflowStep = Components.Schemas.WorkflowStep;
19438
19462
 
19439
- 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 PortalWidget 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 MoblieOIDCConfig as aM, type OIDCProviderConfig as aN, type OIDCProviderMetadata as aO, type Opportunity as aP, type Order as aQ, type OrganizationSettings as aR, type Origin as aS, type Page as aT, type PageRequest as aU, type PaymentWidget as aV, type PortalConfig as aW, type PortalConfigV3 as aX, type PortalId as aY, type PortalUser as aZ, type PortalUserRegistrationStatus 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 Product as b0, type ProductRecommendationsWidget as b1, type ProviderConfig as b2, type ProviderDisplayName as b3, type ProviderPublicConfig as b4, type ProviderSlug as b5, type PublicAppDetails as b6, type PublicChangeEmailDetails as b7, type PublicChangePasswordDetails as b8, type PublicContractIdentificationDetails as b9, type UpdateOnlyPortalConfigAttributes as bA, type UpsertPortalConfig as bB, type UpsertPortalConfigV3 as bC, UpsertPortalWidget as bD, type UserRequest as bE, type VisualizationDataRange as bF, type VisualizationMetadata as bG, type VisualizationTypeOption as bH, type WidgetAction as bI, type WidgetBase as bJ, type WorfklowIdentifier as bK, type WorkflowExecution as bL, type WorkflowStep as bM, type PublicDataRetrievalHookDetails as ba, type PublicDeleteAccountDetails as bb, type PublicExtensionCapabilities as bc, type PublicExtensionDetails as bd, type PublicMeterReadingPlausibilityCheckDetails as be, type PublicSelfManagementExplanation as bf, type ReadBy as bg, type ReadingStatus as bh, type Reason as bi, type RegistrationIdentifier as bj, type ReimbursementEvent as bk, type Rule as bl, type SAMLProviderConfig as bm, type SSOCallbackRequest as bn, type SSOCallbackResponse as bo, type SSOLoginToken as bp, SaveEntityFile as bq, type SavePortalFile as br, type Schema as bs, type SearchIncludes as bt, type SecureProxyConfig as bu, type Source as bv, type SwappableConfig as bw, type TariffType as bx, type TeaserWidget as by, type TriggerPortalFlow 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 };
19463
+ 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 };
package/dist/index.cjs CHANGED
@@ -158,7 +158,7 @@ var _chunkDVM27A7Ecjs = require('./chunk-DVM27A7E.cjs');
158
158
 
159
159
 
160
160
 
161
- var _chunkOZ7JODOIcjs = require('./chunk-OZ7JODOI.cjs');
161
+ var _chunkLJ4LC3P3cjs = require('./chunk-LJ4LC3P3.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 = _chunkOZ7JODOIcjs.createApiClient.call(void 0, {
228
+ entry.instance = _chunkLJ4LC3P3cjs.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) => _chunkOZ7JODOIcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
261
+ var expandDef = (mod) => _chunkLJ4LC3P3cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
262
262
  var registerBuiltinApis = (registry) => {
263
263
  registerApi({
264
264
  registry,
@@ -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 _chunkOZ7JODOIcjs.createApiHandle.call(void 0, {
604
+ return _chunkLJ4LC3P3cjs.createApiHandle.call(void 0, {
605
605
  resolveClient: () => resolveClient({ registry, name, state }),
606
- createClient: () => _chunkOZ7JODOIcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
606
+ createClient: () => _chunkLJ4LC3P3cjs.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) => _chunkOZ7JODOIcjs.help.call(void 0, apiName);
654
+ return (apiName) => _chunkLJ4LC3P3cjs.help.call(void 0, apiName);
655
655
  case "openapi":
656
- return (apiName) => _chunkOZ7JODOIcjs.openapi.call(void 0, apiName);
656
+ return (apiName) => _chunkLJ4LC3P3cjs.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 = _chunkOZ7JODOIcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkOZ7JODOIcjs.help; exports.openapi = _chunkOZ7JODOIcjs.openapi;
686
+ exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkLJ4LC3P3cjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkLJ4LC3P3cjs.help; exports.openapi = _chunkLJ4LC3P3cjs.openapi;
package/dist/index.d.cts CHANGED
@@ -15,7 +15,7 @@ import { C as Client$8 } from './blueprint-manifest.d-2-TORV8o.cjs';
15
15
  import { C as Client$9 } from './calendar.d-BEjLDagH.cjs';
16
16
  import { C as Client$a } from './configuration-hub.d-CbSJDa7k.cjs';
17
17
  import { C as Client$b } from './consent.d-C2PROHhX.cjs';
18
- import { C as Client$c } from './customer-portal.d-JUlTCfGt.cjs';
18
+ import { C as Client$c } from './customer-portal.d-C9TeumWq.cjs';
19
19
  import { C as Client$d } from './dashboard.d-CsGcA74I.cjs';
20
20
  import { C as Client$e } from './data-governance.d-BbZ466j5.cjs';
21
21
  import { C as Client$f } from './deduplication.d-D5GYddVu.cjs';
package/dist/index.d.ts CHANGED
@@ -15,7 +15,7 @@ import { C as Client$8 } from './blueprint-manifest.d-2-TORV8o.js';
15
15
  import { C as Client$9 } from './calendar.d-BEjLDagH.js';
16
16
  import { C as Client$a } from './configuration-hub.d-CbSJDa7k.js';
17
17
  import { C as Client$b } from './consent.d-C2PROHhX.js';
18
- import { C as Client$c } from './customer-portal.d-JUlTCfGt.js';
18
+ import { C as Client$c } from './customer-portal.d-C9TeumWq.js';
19
19
  import { C as Client$d } from './dashboard.d-CsGcA74I.js';
20
20
  import { C as Client$e } from './data-governance.d-BbZ466j5.js';
21
21
  import { C as Client$f } from './deduplication.d-D5GYddVu.js';
package/dist/index.js CHANGED
@@ -158,7 +158,7 @@ import {
158
158
  expand,
159
159
  help,
160
160
  openapi
161
- } from "./chunk-Y4FVLGZ3.js";
161
+ } from "./chunk-CF2RGSFQ.js";
162
162
  import {
163
163
  __require
164
164
  } from "./chunk-YPSWSI3M.js";
File without changes
@@ -174,6 +174,8 @@ const { data } = await customerPortalClient.upsertPortal(...)
174
174
  - [`MobileBranding`](#mobilebranding)
175
175
  - [`MobileConfig`](#mobileconfig)
176
176
  - [`MobileConfigUpdate`](#mobileconfigupdate)
177
+ - [`MobileOtaConfig`](#mobileotaconfig)
178
+ - [`OtaPortal`](#otaportal)
177
179
  - [`ContextEntity`](#contextentity)
178
180
  - [`ContextEntities`](#contextentities)
179
181
  - [`ErrorResp`](#errorresp)
@@ -4194,8 +4196,7 @@ const { data } = await client.checkContactExists(
4194
4196
  contract: {
4195
4197
  contract_number: '123456'
4196
4198
  }
4197
- },
4198
- trigger_identifiers_check: true
4199
+ }
4199
4200
  },
4200
4201
  )
4201
4202
  ```
@@ -4206,8 +4207,7 @@ const { data } = await client.checkContactExists(
4206
4207
  ```json
4207
4208
  {
4208
4209
  "exists": true,
4209
- "contactId": "5da0a718-c822-403d-9f5d-20d4584e0528",
4210
- "reason": "TIMEOUT"
4210
+ "contactId": "5da0a718-c822-403d-9f5d-20d4584e0528"
4211
4211
  }
4212
4212
  ```
4213
4213
 
@@ -4239,8 +4239,7 @@ const { data } = await client.checkContactExistsV3(
4239
4239
  contract: {
4240
4240
  contract_number: '123456'
4241
4241
  }
4242
- },
4243
- trigger_identifiers_check: true
4242
+ }
4244
4243
  },
4245
4244
  )
4246
4245
  ```
@@ -4252,8 +4251,7 @@ const { data } = await client.checkContactExistsV3(
4252
4251
  {
4253
4252
  "exists": true,
4254
4253
  "contactId": "5da0a718-c822-403d-9f5d-20d4584e0528",
4255
- "accountId": "5da0a718-c822-403d-9f5d-20d4584e0528",
4256
- "reason": "TIMEOUT"
4254
+ "accountId": "5da0a718-c822-403d-9f5d-20d4584e0528"
4257
4255
  }
4258
4256
  ```
4259
4257
 
@@ -9193,6 +9191,13 @@ const { data } = await client.getMobileConfig({
9193
9191
  "updated_at": "1970-01-01T00:00:00.000Z",
9194
9192
  "error": "string"
9195
9193
  }
9194
+ },
9195
+ "ota": {
9196
+ "enabled": true,
9197
+ "channel": "canary",
9198
+ "auto_update": true,
9199
+ "update_strategy": "next-launch",
9200
+ "min_native_version": "string"
9196
9201
  }
9197
9202
  }
9198
9203
  ```
@@ -9233,6 +9238,13 @@ const { data } = await client.putMobileConfig(
9233
9238
  icon_background_color: 'string',
9234
9239
  splash_background_color: 'string',
9235
9240
  splash_background_color_dark: 'string'
9241
+ },
9242
+ ota: {
9243
+ enabled: true,
9244
+ channel: 'canary',
9245
+ auto_update: true,
9246
+ update_strategy: 'next-launch',
9247
+ min_native_version: 'string'
9236
9248
  }
9237
9249
  },
9238
9250
  )
@@ -9284,6 +9296,13 @@ const { data } = await client.putMobileConfig(
9284
9296
  "updated_at": "1970-01-01T00:00:00.000Z",
9285
9297
  "error": "string"
9286
9298
  }
9299
+ },
9300
+ "ota": {
9301
+ "enabled": true,
9302
+ "channel": "canary",
9303
+ "auto_update": true,
9304
+ "update_strategy": "next-launch",
9305
+ "min_native_version": "string"
9287
9306
  }
9288
9307
  }
9289
9308
  ```
@@ -9370,6 +9389,13 @@ type MobileConfig = {
9370
9389
  error?: { ... }
9371
9390
  }
9372
9391
  }
9392
+ ota?: {
9393
+ enabled?: boolean
9394
+ channel?: "canary" | "stable"
9395
+ auto_update?: boolean
9396
+ update_strategy?: "next-launch" | "immediate"
9397
+ min_native_version?: string
9398
+ }
9373
9399
  }
9374
9400
  ```
9375
9401
 
@@ -9398,6 +9424,41 @@ type MobileConfigUpdate = {
9398
9424
  splash_background_color?: string
9399
9425
  splash_background_color_dark?: string
9400
9426
  }
9427
+ ota?: {
9428
+ enabled?: boolean
9429
+ channel?: "canary" | "stable"
9430
+ auto_update?: boolean
9431
+ update_strategy?: "next-launch" | "immediate"
9432
+ min_native_version?: string
9433
+ }
9434
+ }
9435
+ ```
9436
+
9437
+ ### `MobileOtaConfig`
9438
+
9439
+ OTA (over-the-air) update settings for the portal's mobile app. Drives the OTA build pipeline and the per-portal manifest. channel / update_strategy / min_native_version are epilot-internal controls.
9440
+
9441
+ ```ts
9442
+ type MobileOtaConfig = {
9443
+ enabled?: boolean
9444
+ channel?: "canary" | "stable"
9445
+ auto_update?: boolean
9446
+ update_strategy?: "next-launch" | "immediate"
9447
+ min_native_version?: string
9448
+ }
9449
+ ```
9450
+
9451
+ ### `OtaPortal`
9452
+
9453
+ A portal that has mobile OTA updates enabled.
9454
+
9455
+ ```ts
9456
+ type OtaPortal = {
9457
+ domain: string
9458
+ channel: "canary" | "stable"
9459
+ autoUpdate: boolean
9460
+ updateStrategy: "next-launch" | "immediate"
9461
+ minNativeVersion?: string
9401
9462
  }
9402
9463
  ```
9403
9464
 
@@ -10398,7 +10459,6 @@ type ContactCountRequest = {
10398
10459
  type ContactExistsRequest = {
10399
10460
  org_id: string
10400
10461
  registration_identifiers: Record<string, Record<string, string>>
10401
- trigger_identifiers_check?: boolean
10402
10462
  }
10403
10463
  ```
10404
10464
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/sdk",
3
- "version": "2.11.0",
3
+ "version": "2.11.1",
4
4
  "description": "JavaScript/TypeScript SDK for epilot APIs",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -322,16 +322,6 @@
322
322
  },
323
323
  "./workflow-definition/openapi.json": "./definitions/workflow-definition.json"
324
324
  },
325
- "scripts": {
326
- "generate": "tsx ../../scripts/generate-sdk-v2.ts && pnpm lint:fix",
327
- "build": "tsup",
328
- "build:watch": "tsup --watch",
329
- "test": "vitest run",
330
- "test:watch": "vitest",
331
- "lint": "biome check src",
332
- "lint:fix": "biome check src --fix",
333
- "prepublishOnly": "npm run build"
334
- },
335
325
  "keywords": [
336
326
  "epilot",
337
327
  "sdk",
@@ -525,5 +515,14 @@
525
515
  "./dist/apis/workflow-definition.d.ts"
526
516
  ]
527
517
  }
518
+ },
519
+ "scripts": {
520
+ "generate": "tsx ../../scripts/generate-sdk-v2.ts && pnpm lint:fix",
521
+ "build": "tsup",
522
+ "build:watch": "tsup --watch",
523
+ "test": "vitest run",
524
+ "test:watch": "vitest",
525
+ "lint": "biome check src",
526
+ "lint:fix": "biome check src --fix"
528
527
  }
529
- }
528
+ }
@@ -1 +0,0 @@
1
- {"s":"https://focus-pocus.dev.sls.epilot.io","o":[["getHealth","get","/v1/health"],["listAchievements","get","/v1/achievements"],["getAchievement","get","/v1/achievements/{id}",[["AchievementOrChallengeId"]]],["getSuggestedChallenge","get","/v1/challenges/suggest",[["route","q"],["entity_type","q"],["category_hint","q"]]],["acceptChallenge","post","/v1/challenges/{id}/accept",[["ChallengeId"]]],["dismissChallenge","post","/v1/challenges/{id}/dismiss",[["ChallengeId"]]],["listActiveChallenges","get","/v1/challenges/active"],["postEvent","post","/v1/events",null,1]],"v":"3.0.3","cp":{"AchievementId":["id","p",true],"AchievementOrChallengeId":["id","p",true],"ChallengeId":["id","p",true],"Cursor":["cursor","q"],"Size":["size","q"]}}