@epilot/sdk 2.11.0 → 2.11.2
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.
- package/definitions/automation.json +19 -0
- package/definitions/customer-portal.json +79 -21
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.d.cts +2 -2
- package/dist/apis/automation.d.ts +2 -2
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/automation-5NBZZJK2.cjs +7 -0
- package/dist/automation-HKXKZO4Z.js +7 -0
- package/dist/{automation.d-DS_YXDE8.d.cts → automation.d-Beojxb43.d.cts} +21 -0
- package/dist/{automation.d-DS_YXDE8.d.ts → automation.d-Beojxb43.d.ts} +21 -0
- package/dist/{chunk-OZ7JODOI.cjs → chunk-NKT4AVEL.cjs} +2 -2
- package/dist/{chunk-Y4FVLGZ3.js → chunk-XO2GYSCA.js} +2 -2
- package/dist/customer-portal-K2HBVB7T.cjs +7 -0
- package/dist/customer-portal-UAKA5B2P.js +7 -0
- package/dist/{customer-portal.d-JUlTCfGt.d.cts → customer-portal.d-C9TeumWq.d.cts} +50 -26
- package/dist/{customer-portal.d-JUlTCfGt.d.ts → customer-portal.d-C9TeumWq.d.ts} +50 -26
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/js-yaml-DLCVPJ7G.js +0 -0
- package/docs/automation.md +28 -15
- package/docs/customer-portal.md +69 -9
- package/package.json +11 -12
- package/definitions/focus-pocus-runtime.json +0 -1
- package/definitions/focus-pocus.json +0 -757
- package/dist/automation-S6NFS5KU.cjs +0 -7
- package/dist/automation-W75XZG7B.js +0 -7
- package/dist/customer-portal-EJBJ4BNI.cjs +0 -7
- 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
|
|
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
|
|
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
|
|
161
|
+
var _chunkNKT4AVELcjs = require('./chunk-NKT4AVEL.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 =
|
|
228
|
+
entry.instance = _chunkNKT4AVELcjs.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) =>
|
|
261
|
+
var expandDef = (mod) => _chunkNKT4AVELcjs.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
|
|
604
|
+
return _chunkNKT4AVELcjs.createApiHandle.call(void 0, {
|
|
605
605
|
resolveClient: () => resolveClient({ registry, name, state }),
|
|
606
|
-
createClient: () =>
|
|
606
|
+
createClient: () => _chunkNKT4AVELcjs.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) =>
|
|
654
|
+
return (apiName) => _chunkNKT4AVELcjs.help.call(void 0, apiName);
|
|
655
655
|
case "openapi":
|
|
656
|
-
return (apiName) =>
|
|
656
|
+
return (apiName) => _chunkNKT4AVELcjs.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 =
|
|
686
|
+
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkNKT4AVELcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkNKT4AVELcjs.help; exports.openapi = _chunkNKT4AVELcjs.openapi;
|
package/dist/index.d.cts
CHANGED
|
@@ -9,13 +9,13 @@ import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.cjs';
|
|
|
9
9
|
import { C as Client$3 } from './ai-agents.d-D-7bTH-9.cjs';
|
|
10
10
|
import { C as Client$4 } from './app.d-BOR23dso.cjs';
|
|
11
11
|
import { C as Client$5 } from './audit-logs.d-BRToFqeX.cjs';
|
|
12
|
-
import { C as Client$6 } from './automation.d-
|
|
12
|
+
import { C as Client$6 } from './automation.d-Beojxb43.cjs';
|
|
13
13
|
import { C as Client$7 } from './billing.d-Bs8Ku9qE.cjs';
|
|
14
14
|
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-
|
|
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
|
@@ -9,13 +9,13 @@ import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.js';
|
|
|
9
9
|
import { C as Client$3 } from './ai-agents.d-D-7bTH-9.js';
|
|
10
10
|
import { C as Client$4 } from './app.d-BOR23dso.js';
|
|
11
11
|
import { C as Client$5 } from './audit-logs.d-BRToFqeX.js';
|
|
12
|
-
import { C as Client$6 } from './automation.d-
|
|
12
|
+
import { C as Client$6 } from './automation.d-Beojxb43.js';
|
|
13
13
|
import { C as Client$7 } from './billing.d-Bs8Ku9qE.js';
|
|
14
14
|
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-
|
|
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
package/dist/js-yaml-DLCVPJ7G.js
CHANGED
|
File without changes
|
package/docs/automation.md
CHANGED
|
@@ -316,7 +316,8 @@ const { data } = await client.getExecutions({
|
|
|
316
316
|
"trigger_event": {},
|
|
317
317
|
"workflow_context": {},
|
|
318
318
|
"loops": [],
|
|
319
|
-
"loop_state": {}
|
|
319
|
+
"loop_state": {},
|
|
320
|
+
"chain": ["string"]
|
|
320
321
|
}
|
|
321
322
|
]
|
|
322
323
|
}
|
|
@@ -389,8 +390,10 @@ const { data } = await client.startExecution(
|
|
|
389
390
|
{
|
|
390
391
|
"id": "string",
|
|
391
392
|
"schedule_id": "string",
|
|
393
|
+
"evaluation_order": "AFTER_SCHEDULE",
|
|
392
394
|
"evaluationResult": true,
|
|
393
395
|
"error_output": {},
|
|
396
|
+
"allow_failure": true,
|
|
394
397
|
"statements": []
|
|
395
398
|
}
|
|
396
399
|
],
|
|
@@ -482,7 +485,8 @@ const { data } = await client.startExecution(
|
|
|
482
485
|
"length": 0
|
|
483
486
|
}
|
|
484
487
|
],
|
|
485
|
-
"loop_state": {}
|
|
488
|
+
"loop_state": {},
|
|
489
|
+
"chain": ["string"]
|
|
486
490
|
}
|
|
487
491
|
```
|
|
488
492
|
|
|
@@ -690,8 +694,10 @@ const { data } = await client.getExecution({
|
|
|
690
694
|
{
|
|
691
695
|
"id": "string",
|
|
692
696
|
"schedule_id": "string",
|
|
697
|
+
"evaluation_order": "AFTER_SCHEDULE",
|
|
693
698
|
"evaluationResult": true,
|
|
694
699
|
"error_output": {},
|
|
700
|
+
"allow_failure": true,
|
|
695
701
|
"statements": []
|
|
696
702
|
}
|
|
697
703
|
],
|
|
@@ -783,7 +789,8 @@ const { data } = await client.getExecution({
|
|
|
783
789
|
"length": 0
|
|
784
790
|
}
|
|
785
791
|
],
|
|
786
|
-
"loop_state": {}
|
|
792
|
+
"loop_state": {},
|
|
793
|
+
"chain": ["string"]
|
|
787
794
|
}
|
|
788
795
|
```
|
|
789
796
|
|
|
@@ -831,8 +838,10 @@ const { data } = await client.cancelExecution({
|
|
|
831
838
|
{
|
|
832
839
|
"id": "string",
|
|
833
840
|
"schedule_id": "string",
|
|
841
|
+
"evaluation_order": "AFTER_SCHEDULE",
|
|
834
842
|
"evaluationResult": true,
|
|
835
843
|
"error_output": {},
|
|
844
|
+
"allow_failure": true,
|
|
836
845
|
"statements": []
|
|
837
846
|
}
|
|
838
847
|
],
|
|
@@ -924,7 +933,8 @@ const { data } = await client.cancelExecution({
|
|
|
924
933
|
"length": 0
|
|
925
934
|
}
|
|
926
935
|
],
|
|
927
|
-
"loop_state": {}
|
|
936
|
+
"loop_state": {},
|
|
937
|
+
"chain": ["string"]
|
|
928
938
|
}
|
|
929
939
|
```
|
|
930
940
|
|
|
@@ -1024,7 +1034,8 @@ const { data } = await client.resumeExecutionWithToken(
|
|
|
1024
1034
|
"loops": [
|
|
1025
1035
|
{}
|
|
1026
1036
|
],
|
|
1027
|
-
"loop_state": {}
|
|
1037
|
+
"loop_state": {},
|
|
1038
|
+
"chain": ["string"]
|
|
1028
1039
|
},
|
|
1029
1040
|
"resumedAction": {
|
|
1030
1041
|
"id": "9ec3711b-db63-449c-b894-54d5bb622a8f",
|
|
@@ -1206,12 +1217,14 @@ type AutomationFlow = {
|
|
|
1206
1217
|
conditions?: Array<{
|
|
1207
1218
|
id?: string
|
|
1208
1219
|
schedule_id?: string
|
|
1220
|
+
evaluation_order?: "AFTER_SCHEDULE" | "BEFORE_SCHEDULE"
|
|
1209
1221
|
evaluationResult?: boolean
|
|
1210
1222
|
error_output?: {
|
|
1211
1223
|
error_code: { ... }
|
|
1212
1224
|
error_reason: { ... }
|
|
1213
1225
|
error_info?: { ... }
|
|
1214
1226
|
}
|
|
1227
|
+
allow_failure?: boolean
|
|
1215
1228
|
statements?: Array<{
|
|
1216
1229
|
id?: { ... }
|
|
1217
1230
|
source?: { ... }
|
|
@@ -1224,8 +1237,6 @@ type AutomationFlow = {
|
|
|
1224
1237
|
scheduleApiId?: string
|
|
1225
1238
|
numberOfUnits?: number
|
|
1226
1239
|
timePeriod?: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
1227
|
-
timeRelation?: "after" | "before"
|
|
1228
|
-
source: {
|
|
1229
1240
|
// ...
|
|
1230
1241
|
}
|
|
1231
1242
|
```
|
|
@@ -1298,8 +1309,10 @@ type SearchAutomationsResp = {
|
|
|
1298
1309
|
conditions?: Array<{
|
|
1299
1310
|
id?: { ... }
|
|
1300
1311
|
schedule_id?: { ... }
|
|
1312
|
+
evaluation_order?: { ... }
|
|
1301
1313
|
evaluationResult?: { ... }
|
|
1302
1314
|
error_output?: { ... }
|
|
1315
|
+
allow_failure?: { ... }
|
|
1303
1316
|
statements?: { ... }
|
|
1304
1317
|
}>
|
|
1305
1318
|
schedules?: Array<{
|
|
@@ -1339,8 +1352,6 @@ type SearchAutomationsResp = {
|
|
|
1339
1352
|
config?: { ... }
|
|
1340
1353
|
} | {
|
|
1341
1354
|
type?: { ... }
|
|
1342
|
-
config?: { ... }
|
|
1343
|
-
} | {
|
|
1344
1355
|
// ...
|
|
1345
1356
|
}
|
|
1346
1357
|
```
|
|
@@ -2971,6 +2982,7 @@ type ConditionStatement = {
|
|
|
2971
2982
|
type ActionCondition = {
|
|
2972
2983
|
id?: string
|
|
2973
2984
|
schedule_id?: string
|
|
2985
|
+
evaluation_order?: "AFTER_SCHEDULE" | "BEFORE_SCHEDULE"
|
|
2974
2986
|
evaluationResult?: boolean
|
|
2975
2987
|
error_output?: {
|
|
2976
2988
|
error_code: "MAPPING_ERROR" | "REFRESH_RELATIONS_ERROR" | "DUPLICATE_ENTITY_ERROR" | "TRIGGER_WORKFLOW_ERROR" | "TIMEOUT_ERROR" | "BAD_CONFIG" | "INTERNAL_ERROR" | "TRIGGER_WEBHOOK_ERROR" | "TEMPLATE_ERROR" | "INVALID_PAYLOAD" | "INVALID_SCHEDULE_CONFIG" | "CUSTOM_ACTION_ERROR" | "ORDER_CREATION_ERROR" | "DOCUMENT_GENERATION_ERROR" | "BULK_EMAIL_ERROR" | "SHARING_ERROR" | "CANCEL_FLOW_EXECUTION_ERROR" | "METER_READING_NOT_FOUND" | "ENTITY_NOT_FOUND"
|
|
@@ -2979,6 +2991,7 @@ type ActionCondition = {
|
|
|
2979
2991
|
details?: { ... }
|
|
2980
2992
|
}
|
|
2981
2993
|
}
|
|
2994
|
+
allow_failure?: boolean
|
|
2982
2995
|
statements?: Array<{
|
|
2983
2996
|
id?: string // uuid
|
|
2984
2997
|
source?: {
|
|
@@ -3061,12 +3074,14 @@ type AutomationExecution = {
|
|
|
3061
3074
|
conditions?: Array<{
|
|
3062
3075
|
id?: string
|
|
3063
3076
|
schedule_id?: string
|
|
3077
|
+
evaluation_order?: "AFTER_SCHEDULE" | "BEFORE_SCHEDULE"
|
|
3064
3078
|
evaluationResult?: boolean
|
|
3065
3079
|
error_output?: {
|
|
3066
3080
|
error_code: { ... }
|
|
3067
3081
|
error_reason: { ... }
|
|
3068
3082
|
error_info?: { ... }
|
|
3069
3083
|
}
|
|
3084
|
+
allow_failure?: boolean
|
|
3070
3085
|
statements?: Array<{
|
|
3071
3086
|
id?: { ... }
|
|
3072
3087
|
source?: { ... }
|
|
@@ -3136,8 +3151,6 @@ type AutomationExecution = {
|
|
|
3136
3151
|
} | {
|
|
3137
3152
|
type?: "create-document"
|
|
3138
3153
|
config?: {
|
|
3139
|
-
template_id?: { ... }
|
|
3140
|
-
filename?: { ... }
|
|
3141
3154
|
// ...
|
|
3142
3155
|
}
|
|
3143
3156
|
```
|
|
@@ -3310,8 +3323,10 @@ type GetExecutionsResp = {
|
|
|
3310
3323
|
conditions?: Array<{
|
|
3311
3324
|
id?: { ... }
|
|
3312
3325
|
schedule_id?: { ... }
|
|
3326
|
+
evaluation_order?: { ... }
|
|
3313
3327
|
evaluationResult?: { ... }
|
|
3314
3328
|
error_output?: { ... }
|
|
3329
|
+
allow_failure?: { ... }
|
|
3315
3330
|
statements?: { ... }
|
|
3316
3331
|
}>
|
|
3317
3332
|
schedules?: Array<{
|
|
@@ -3383,8 +3398,6 @@ type GetExecutionsResp = {
|
|
|
3383
3398
|
config?: { ... }
|
|
3384
3399
|
}>
|
|
3385
3400
|
resume_token?: string
|
|
3386
|
-
trigger_context?: Record<string, string>
|
|
3387
|
-
version?: number
|
|
3388
3401
|
// ...
|
|
3389
3402
|
}
|
|
3390
3403
|
```
|
|
@@ -4260,8 +4273,10 @@ type ResumeResp = {
|
|
|
4260
4273
|
conditions?: Array<{
|
|
4261
4274
|
id?: { ... }
|
|
4262
4275
|
schedule_id?: { ... }
|
|
4276
|
+
evaluation_order?: { ... }
|
|
4263
4277
|
evaluationResult?: { ... }
|
|
4264
4278
|
error_output?: { ... }
|
|
4279
|
+
allow_failure?: { ... }
|
|
4265
4280
|
statements?: { ... }
|
|
4266
4281
|
}>
|
|
4267
4282
|
schedules?: Array<{
|
|
@@ -4334,8 +4349,6 @@ type ResumeResp = {
|
|
|
4334
4349
|
}>
|
|
4335
4350
|
resume_token?: string
|
|
4336
4351
|
trigger_context?: Record<string, string>
|
|
4337
|
-
version?: number
|
|
4338
|
-
trigger_event?: {
|
|
4339
4352
|
// ...
|
|
4340
4353
|
}
|
|
4341
4354
|
```
|