@epilot/sdk 2.18.11 → 2.18.13
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/app-runtime.json +1 -1
- package/definitions/app.json +170 -38
- package/definitions/integration-toolkit.json +54 -42
- 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 +8 -8
- package/dist/apis/app.d.cts +2 -2
- package/dist/apis/app.d.ts +2 -2
- package/dist/apis/app.js +2 -2
- 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.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.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.d.cts +2 -2
- package/dist/apis/integration-toolkit.d.ts +2 -2
- 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/app-A7P5LKNL.cjs +7 -0
- package/dist/app-EEEBOCVZ.js +7 -0
- package/dist/app-runtime-AAQHTC7F.cjs +5 -0
- package/dist/{app-runtime-6T473MHJ.js → app-runtime-NBGFHFT2.js} +1 -1
- package/dist/{app.d-B5s8GfqF.d.cts → app.d-vPrbhe5h.d.cts} +202 -39
- package/dist/{app.d-B5s8GfqF.d.ts → app.d-vPrbhe5h.d.ts} +202 -39
- package/dist/{chunk-MIHMEO7K.js → chunk-2UWWI6AM.js} +3 -3
- package/dist/{chunk-324JJ7CA.cjs → chunk-O2ELDNPK.cjs} +3 -3
- package/dist/{chunk-ZEOU24C3.js → chunk-TNRT33VQ.js} +1 -1
- package/dist/{chunk-W6BCTQLU.cjs → chunk-XHVIF7AC.cjs} +1 -1
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/integration-toolkit-RIBZBI2Y.js +7 -0
- package/dist/integration-toolkit-RPWD4MAN.cjs +7 -0
- package/dist/{integration-toolkit.d-D5LjhCQB.d.cts → integration-toolkit.d-pP-3dBPT.d.cts} +50 -39
- package/dist/{integration-toolkit.d-D5LjhCQB.d.ts → integration-toolkit.d-pP-3dBPT.d.ts} +50 -39
- package/docs/app.md +375 -106
- package/docs/integration-toolkit.md +130 -73
- package/package.json +1 -1
- package/dist/app-5GFMQJQP.cjs +0 -7
- package/dist/app-YY2NCNQ2.js +0 -7
- package/dist/app-runtime-2QBLB4AK.cjs +0 -5
- package/dist/integration-toolkit-OSK5M75F.js +0 -7
- package/dist/integration-toolkit-W5IENOJW.cjs +0 -7
|
@@ -102,6 +102,14 @@ declare namespace Components {
|
|
|
102
102
|
*/
|
|
103
103
|
role_id?: string | null;
|
|
104
104
|
grants?: /* Required grants for the app in order to call APIs for the installing tenant */ Schemas.Grants;
|
|
105
|
+
/**
|
|
106
|
+
* Replaces the full set of server-side functions for this version
|
|
107
|
+
*/
|
|
108
|
+
functions?: /**
|
|
109
|
+
* A named server-side function belonging to the app. Runs in the epilot code-execution sandbox with an installation-scoped app token. Functions with a schedule are executed automatically once per installation.
|
|
110
|
+
*
|
|
111
|
+
*/
|
|
112
|
+
Schemas.FunctionDefinition[];
|
|
105
113
|
}
|
|
106
114
|
export type UpsertComponentRequest = Schemas.BaseComponent;
|
|
107
115
|
}
|
|
@@ -152,9 +160,9 @@ declare namespace Components {
|
|
|
152
160
|
*/
|
|
153
161
|
target: string; // ^https://
|
|
154
162
|
/**
|
|
155
|
-
* Authentication strategy
|
|
163
|
+
* Authentication strategy. 'basic' sends an HTTP Basic Authorization header built server-side from the 'username' and 'password' component options.
|
|
156
164
|
*/
|
|
157
|
-
auth_type: "header" | "bearer" | "oauth2" | "none";
|
|
165
|
+
auth_type: "header" | "bearer" | "basic" | "oauth2" | "none";
|
|
158
166
|
/**
|
|
159
167
|
* Header name for 'header' auth type
|
|
160
168
|
*/
|
|
@@ -501,7 +509,7 @@ declare namespace Components {
|
|
|
501
509
|
/**
|
|
502
510
|
* Type of app component
|
|
503
511
|
*/
|
|
504
|
-
export type ComponentType = "CUSTOM_JOURNEY_BLOCK" | "CUSTOM_PORTAL_BLOCK" | "PORTAL_EXTENSION" | "CUSTOM_FLOW_ACTION" | "ERP_INFORM_TOOLKIT" | "CUSTOM_CAPABILITY" | "EXTERNAL_PRODUCT_CATALOG" | "CUSTOM_PAGE" | "API_PROXY";
|
|
512
|
+
export type ComponentType = "CUSTOM_JOURNEY_BLOCK" | "CUSTOM_PORTAL_BLOCK" | "PORTAL_EXTENSION" | "CUSTOM_FLOW_ACTION" | "ERP_INFORM_TOOLKIT" | "CUSTOM_CAPABILITY" | "EXTERNAL_PRODUCT_CATALOG" | "CUSTOM_PAGE" | "API_PROXY" | "APP_FUNCTION";
|
|
505
513
|
/**
|
|
506
514
|
* Configuration of the published app
|
|
507
515
|
*/
|
|
@@ -609,6 +617,14 @@ declare namespace Components {
|
|
|
609
617
|
updated_by?: string;
|
|
610
618
|
};
|
|
611
619
|
components: BaseComponent[];
|
|
620
|
+
/**
|
|
621
|
+
* Server-side functions of the app, including scheduled functions
|
|
622
|
+
*/
|
|
623
|
+
functions?: /**
|
|
624
|
+
* A named server-side function belonging to the app. Runs in the epilot code-execution sandbox with an installation-scoped app token. Functions with a schedule are executed automatically once per installation.
|
|
625
|
+
*
|
|
626
|
+
*/
|
|
627
|
+
FunctionDefinition[];
|
|
612
628
|
/**
|
|
613
629
|
* Visibility of the app version
|
|
614
630
|
*/
|
|
@@ -787,6 +803,14 @@ declare namespace Components {
|
|
|
787
803
|
*/
|
|
788
804
|
owner_org_id: string;
|
|
789
805
|
components: BaseComponent[];
|
|
806
|
+
/**
|
|
807
|
+
* Server-side functions of the app, including scheduled functions
|
|
808
|
+
*/
|
|
809
|
+
functions?: /**
|
|
810
|
+
* A named server-side function belonging to the app. Runs in the epilot code-execution sandbox with an installation-scoped app token. Functions with a schedule are executed automatically once per installation.
|
|
811
|
+
*
|
|
812
|
+
*/
|
|
813
|
+
FunctionDefinition[];
|
|
790
814
|
/**
|
|
791
815
|
* Visibility of the app version
|
|
792
816
|
*/
|
|
@@ -866,12 +890,24 @@ declare namespace Components {
|
|
|
866
890
|
}
|
|
867
891
|
export interface CustomFlowActionComponent {
|
|
868
892
|
component_type: "CUSTOM_FLOW_ACTION";
|
|
869
|
-
configuration:
|
|
893
|
+
configuration: /**
|
|
894
|
+
* Configuration of an external-integration flow action. Sandboxed code belongs in the app's `functions` (type `workflow`) instead — workflow functions are selectable directly in the flow builder without a component.
|
|
895
|
+
*
|
|
896
|
+
*/
|
|
897
|
+
CustomFlowConfig;
|
|
870
898
|
surfaces?: {
|
|
871
899
|
flow_action_config?: AppBridgeSurfaceConfig;
|
|
872
900
|
};
|
|
873
901
|
}
|
|
874
|
-
|
|
902
|
+
/**
|
|
903
|
+
* Configuration of an external-integration flow action. Sandboxed code belongs in the app's `functions` (type `workflow`) instead — workflow functions are selectable directly in the flow builder without a component.
|
|
904
|
+
*
|
|
905
|
+
*/
|
|
906
|
+
export type CustomFlowConfig = /**
|
|
907
|
+
* Configuration of an external-integration flow action. Sandboxed code belongs in the app's `functions` (type `workflow`) instead — workflow functions are selectable directly in the flow builder without a component.
|
|
908
|
+
*
|
|
909
|
+
*/
|
|
910
|
+
ExternalIntegrationCustomActionConfig;
|
|
875
911
|
export interface CustomPageComponent {
|
|
876
912
|
component_type: "CUSTOM_PAGE";
|
|
877
913
|
configuration: CustomPageConfig;
|
|
@@ -1173,6 +1209,83 @@ declare namespace Components {
|
|
|
1173
1209
|
};
|
|
1174
1210
|
};
|
|
1175
1211
|
}
|
|
1212
|
+
/**
|
|
1213
|
+
* A named server-side function belonging to the app. Runs in the epilot code-execution sandbox with an installation-scoped app token. Functions with a schedule are executed automatically once per installation.
|
|
1214
|
+
*
|
|
1215
|
+
*/
|
|
1216
|
+
export interface FunctionDefinition {
|
|
1217
|
+
/**
|
|
1218
|
+
* Unique function name within the app
|
|
1219
|
+
*/
|
|
1220
|
+
name: string; // ^[a-z0-9][a-z0-9-]{0,63}$
|
|
1221
|
+
/**
|
|
1222
|
+
* Where the function can be used. `workflow` functions are selectable as actions in the flow builder and run with entity context. `scheduled` functions run automatically per installation on their cron schedule.
|
|
1223
|
+
*
|
|
1224
|
+
*/
|
|
1225
|
+
type: "workflow" | "scheduled";
|
|
1226
|
+
/**
|
|
1227
|
+
* Human-readable display name, e.g. shown in the flow builder action picker
|
|
1228
|
+
*/
|
|
1229
|
+
label?: {
|
|
1230
|
+
/**
|
|
1231
|
+
* English translation
|
|
1232
|
+
*/
|
|
1233
|
+
en?: string | null;
|
|
1234
|
+
/**
|
|
1235
|
+
* German translation
|
|
1236
|
+
*/
|
|
1237
|
+
de: string;
|
|
1238
|
+
};
|
|
1239
|
+
/**
|
|
1240
|
+
* Description of the function
|
|
1241
|
+
*/
|
|
1242
|
+
description?: {
|
|
1243
|
+
/**
|
|
1244
|
+
* English translation
|
|
1245
|
+
*/
|
|
1246
|
+
en?: string | null;
|
|
1247
|
+
/**
|
|
1248
|
+
* German translation
|
|
1249
|
+
*/
|
|
1250
|
+
de: string;
|
|
1251
|
+
};
|
|
1252
|
+
/**
|
|
1253
|
+
* JavaScript code to execute. Must declare a top-level `async function handler(input, context)`. Maximum size: 300KB (hard limit). Security restrictions: eval() and Function() constructor are not allowed.
|
|
1254
|
+
*
|
|
1255
|
+
*/
|
|
1256
|
+
code: string;
|
|
1257
|
+
/**
|
|
1258
|
+
* Cron trigger for the function, executed once per installation. Standard 5-field cron expression (e.g. "0 3 * * *") or rate expression (e.g. "rate(30 minutes)"). Minimum interval: 15 minutes. Scheduled runs are limited to 60 seconds.
|
|
1259
|
+
*
|
|
1260
|
+
* example:
|
|
1261
|
+
* rate(30 minutes)
|
|
1262
|
+
*/
|
|
1263
|
+
schedule?: string;
|
|
1264
|
+
/**
|
|
1265
|
+
* IANA timezone the cron expression is evaluated in
|
|
1266
|
+
*/
|
|
1267
|
+
schedule_timezone?: string;
|
|
1268
|
+
/**
|
|
1269
|
+
* Behavior when the previous scheduled run is still active
|
|
1270
|
+
*/
|
|
1271
|
+
schedule_overlap?: "skip";
|
|
1272
|
+
/**
|
|
1273
|
+
* Keys of installation options of type secret made available to the function via input.app_options
|
|
1274
|
+
*
|
|
1275
|
+
*/
|
|
1276
|
+
secrets?: string[];
|
|
1277
|
+
/**
|
|
1278
|
+
* Workflow functions only — wait for the callback_url to be called before completing the flow action
|
|
1279
|
+
*
|
|
1280
|
+
*/
|
|
1281
|
+
wait_for_callback?: boolean;
|
|
1282
|
+
/**
|
|
1283
|
+
* Workflow functions only — optional custom config UI shown in the flow builder
|
|
1284
|
+
*/
|
|
1285
|
+
surfaces?: {
|
|
1286
|
+
flow_action_config?: AppBridgeSurfaceConfig;
|
|
1287
|
+
};
|
|
1288
|
+
}
|
|
1176
1289
|
/**
|
|
1177
1290
|
* Required grants for the app in order to call APIs for the installing tenant
|
|
1178
1291
|
*/
|
|
@@ -1222,6 +1335,14 @@ declare namespace Components {
|
|
|
1222
1335
|
* List of component configurations for the installed version
|
|
1223
1336
|
*/
|
|
1224
1337
|
components: BaseComponent[];
|
|
1338
|
+
/**
|
|
1339
|
+
* Server-side functions of the installed version, including scheduled functions
|
|
1340
|
+
*/
|
|
1341
|
+
functions?: /**
|
|
1342
|
+
* A named server-side function belonging to the app. Runs in the epilot code-execution sandbox with an installation-scoped app token. Functions with a schedule are executed automatically once per installation.
|
|
1343
|
+
*
|
|
1344
|
+
*/
|
|
1345
|
+
FunctionDefinition[];
|
|
1225
1346
|
/**
|
|
1226
1347
|
* Version of the app that is installed
|
|
1227
1348
|
*/
|
|
@@ -1257,6 +1378,55 @@ declare namespace Components {
|
|
|
1257
1378
|
*/
|
|
1258
1379
|
_manifest?: string /* uuid */[];
|
|
1259
1380
|
}
|
|
1381
|
+
/**
|
|
1382
|
+
* Review entry including app ownership info, used by internal admin endpoints
|
|
1383
|
+
*/
|
|
1384
|
+
export interface InternalReview {
|
|
1385
|
+
/**
|
|
1386
|
+
* Version of the app that is under review
|
|
1387
|
+
*/
|
|
1388
|
+
version?: string;
|
|
1389
|
+
/**
|
|
1390
|
+
* Status of the review
|
|
1391
|
+
*/
|
|
1392
|
+
review_status?: "approved" | "rejected" | "pending";
|
|
1393
|
+
/**
|
|
1394
|
+
* Timestamp of the review
|
|
1395
|
+
*/
|
|
1396
|
+
requested_at?: string;
|
|
1397
|
+
/**
|
|
1398
|
+
* User ID of the reviewer
|
|
1399
|
+
*/
|
|
1400
|
+
requested_by?: string;
|
|
1401
|
+
/**
|
|
1402
|
+
* Email of the technical contact
|
|
1403
|
+
*/
|
|
1404
|
+
technical_contact?: string;
|
|
1405
|
+
/**
|
|
1406
|
+
* Email of the marketing contact
|
|
1407
|
+
*/
|
|
1408
|
+
marketing_contact?: string;
|
|
1409
|
+
/**
|
|
1410
|
+
* URL of the demo
|
|
1411
|
+
*/
|
|
1412
|
+
demo_url?: string;
|
|
1413
|
+
/**
|
|
1414
|
+
* ID of the app configuration
|
|
1415
|
+
*/
|
|
1416
|
+
app_id?: string;
|
|
1417
|
+
/**
|
|
1418
|
+
* Organization ID of the app owner
|
|
1419
|
+
*/
|
|
1420
|
+
org_id?: string;
|
|
1421
|
+
/**
|
|
1422
|
+
* Identity of the internal reviewer who approved the review
|
|
1423
|
+
*/
|
|
1424
|
+
reviewed_by?: string;
|
|
1425
|
+
/**
|
|
1426
|
+
* Timestamp of the approval
|
|
1427
|
+
*/
|
|
1428
|
+
reviewed_at?: string;
|
|
1429
|
+
}
|
|
1260
1430
|
export interface JourneyBlockComponent {
|
|
1261
1431
|
component_type: "CUSTOM_JOURNEY_BLOCK";
|
|
1262
1432
|
configuration: JourneyBlockConfig;
|
|
@@ -2644,6 +2814,14 @@ declare namespace Components {
|
|
|
2644
2814
|
billing_frequency?: /* How often the subscription is billed */ BillingFrequency;
|
|
2645
2815
|
};
|
|
2646
2816
|
components: BaseComponent[];
|
|
2817
|
+
/**
|
|
2818
|
+
* Server-side functions of the app, including scheduled functions
|
|
2819
|
+
*/
|
|
2820
|
+
functions?: /**
|
|
2821
|
+
* A named server-side function belonging to the app. Runs in the epilot code-execution sandbox with an installation-scoped app token. Functions with a schedule are executed automatically once per installation.
|
|
2822
|
+
*
|
|
2823
|
+
*/
|
|
2824
|
+
FunctionDefinition[];
|
|
2647
2825
|
/**
|
|
2648
2826
|
* Flag to indicate if the app is in beta.
|
|
2649
2827
|
*/
|
|
@@ -2726,28 +2904,6 @@ declare namespace Components {
|
|
|
2726
2904
|
*/
|
|
2727
2905
|
key: string;
|
|
2728
2906
|
}
|
|
2729
|
-
export interface SandboxCustomActionConfig {
|
|
2730
|
-
/**
|
|
2731
|
-
* Name of the custom action
|
|
2732
|
-
*/
|
|
2733
|
-
name?: string;
|
|
2734
|
-
/**
|
|
2735
|
-
* Description of the custom action
|
|
2736
|
-
*/
|
|
2737
|
-
description?: string;
|
|
2738
|
-
/**
|
|
2739
|
-
* Wait for callback_url to be called before completing the action
|
|
2740
|
-
*/
|
|
2741
|
-
wait_for_callback?: boolean;
|
|
2742
|
-
type: "sandbox";
|
|
2743
|
-
sandbox_settings?: {
|
|
2744
|
-
/**
|
|
2745
|
-
* JavaScript code to execute for the sandbox action. Maximum size: 300KB (hard limit). Code is stored as raw JavaScript and will be syntax-validated on save. Security restrictions: eval() and Function() constructor are not allowed.
|
|
2746
|
-
*
|
|
2747
|
-
*/
|
|
2748
|
-
code?: string;
|
|
2749
|
-
};
|
|
2750
|
-
}
|
|
2751
2907
|
export interface TextArg {
|
|
2752
2908
|
type?: "text";
|
|
2753
2909
|
}
|
|
@@ -3396,12 +3552,18 @@ declare namespace Paths {
|
|
|
3396
3552
|
export type AppId = string;
|
|
3397
3553
|
export type Path = string;
|
|
3398
3554
|
export type ProxyName = string;
|
|
3555
|
+
export interface Query {
|
|
3556
|
+
[name: string]: any;
|
|
3557
|
+
}
|
|
3399
3558
|
}
|
|
3400
3559
|
export interface PathParameters {
|
|
3401
3560
|
appId: Parameters.AppId;
|
|
3402
3561
|
proxyName: Parameters.ProxyName;
|
|
3403
3562
|
path: Parameters.Path;
|
|
3404
3563
|
}
|
|
3564
|
+
export interface QueryParameters {
|
|
3565
|
+
query?: Parameters.Query;
|
|
3566
|
+
}
|
|
3405
3567
|
}
|
|
3406
3568
|
}
|
|
3407
3569
|
|
|
@@ -3714,7 +3876,7 @@ interface OperationMethods {
|
|
|
3714
3876
|
* Forward a GET request to a registered proxy target from a public-facing component (e.g. journey blocks)
|
|
3715
3877
|
*/
|
|
3716
3878
|
'publicProxyGet'(
|
|
3717
|
-
parameters?: Parameters<Paths.V1PublicApp$AppIdProxy$ProxyName$Path.PathParameters> | null,
|
|
3879
|
+
parameters?: Parameters<Paths.V1PublicApp$AppIdProxy$ProxyName$Path.QueryParameters & Paths.V1PublicApp$AppIdProxy$ProxyName$Path.PathParameters> | null,
|
|
3718
3880
|
data?: any,
|
|
3719
3881
|
config?: AxiosRequestConfig
|
|
3720
3882
|
): OperationResponse<Paths.PublicProxyGet.Responses.$200>
|
|
@@ -3724,7 +3886,7 @@ interface OperationMethods {
|
|
|
3724
3886
|
* Forward a PUT request to a registered proxy target from a public-facing component
|
|
3725
3887
|
*/
|
|
3726
3888
|
'publicProxyPut'(
|
|
3727
|
-
parameters?: Parameters<Paths.V1PublicApp$AppIdProxy$ProxyName$Path.PathParameters> | null,
|
|
3889
|
+
parameters?: Parameters<Paths.V1PublicApp$AppIdProxy$ProxyName$Path.QueryParameters & Paths.V1PublicApp$AppIdProxy$ProxyName$Path.PathParameters> | null,
|
|
3728
3890
|
data?: Paths.PublicProxyPut.RequestBody,
|
|
3729
3891
|
config?: AxiosRequestConfig
|
|
3730
3892
|
): OperationResponse<Paths.PublicProxyPut.Responses.$200>
|
|
@@ -3734,7 +3896,7 @@ interface OperationMethods {
|
|
|
3734
3896
|
* Forward a POST request to a registered proxy target from a public-facing component (e.g. journey blocks)
|
|
3735
3897
|
*/
|
|
3736
3898
|
'publicProxyPost'(
|
|
3737
|
-
parameters?: Parameters<Paths.V1PublicApp$AppIdProxy$ProxyName$Path.PathParameters> | null,
|
|
3899
|
+
parameters?: Parameters<Paths.V1PublicApp$AppIdProxy$ProxyName$Path.QueryParameters & Paths.V1PublicApp$AppIdProxy$ProxyName$Path.PathParameters> | null,
|
|
3738
3900
|
data?: Paths.PublicProxyPost.RequestBody,
|
|
3739
3901
|
config?: AxiosRequestConfig
|
|
3740
3902
|
): OperationResponse<Paths.PublicProxyPost.Responses.$200>
|
|
@@ -3744,7 +3906,7 @@ interface OperationMethods {
|
|
|
3744
3906
|
* Forward a PATCH request to a registered proxy target from a public-facing component
|
|
3745
3907
|
*/
|
|
3746
3908
|
'publicProxyPatch'(
|
|
3747
|
-
parameters?: Parameters<Paths.V1PublicApp$AppIdProxy$ProxyName$Path.PathParameters> | null,
|
|
3909
|
+
parameters?: Parameters<Paths.V1PublicApp$AppIdProxy$ProxyName$Path.QueryParameters & Paths.V1PublicApp$AppIdProxy$ProxyName$Path.PathParameters> | null,
|
|
3748
3910
|
data?: Paths.PublicProxyPatch.RequestBody,
|
|
3749
3911
|
config?: AxiosRequestConfig
|
|
3750
3912
|
): OperationResponse<Paths.PublicProxyPatch.Responses.$200>
|
|
@@ -3754,7 +3916,7 @@ interface OperationMethods {
|
|
|
3754
3916
|
* Forward a DELETE request to a registered proxy target from a public-facing component
|
|
3755
3917
|
*/
|
|
3756
3918
|
'publicProxyDelete'(
|
|
3757
|
-
parameters?: Parameters<Paths.V1PublicApp$AppIdProxy$ProxyName$Path.PathParameters> | null,
|
|
3919
|
+
parameters?: Parameters<Paths.V1PublicApp$AppIdProxy$ProxyName$Path.QueryParameters & Paths.V1PublicApp$AppIdProxy$ProxyName$Path.PathParameters> | null,
|
|
3758
3920
|
data?: any,
|
|
3759
3921
|
config?: AxiosRequestConfig
|
|
3760
3922
|
): OperationResponse<Paths.PublicProxyDelete.Responses.$200>
|
|
@@ -4107,7 +4269,7 @@ interface PathsDictionary {
|
|
|
4107
4269
|
* Forward a GET request to a registered proxy target from a public-facing component (e.g. journey blocks)
|
|
4108
4270
|
*/
|
|
4109
4271
|
'get'(
|
|
4110
|
-
parameters?: Parameters<Paths.V1PublicApp$AppIdProxy$ProxyName$Path.PathParameters> | null,
|
|
4272
|
+
parameters?: Parameters<Paths.V1PublicApp$AppIdProxy$ProxyName$Path.QueryParameters & Paths.V1PublicApp$AppIdProxy$ProxyName$Path.PathParameters> | null,
|
|
4111
4273
|
data?: any,
|
|
4112
4274
|
config?: AxiosRequestConfig
|
|
4113
4275
|
): OperationResponse<Paths.PublicProxyGet.Responses.$200>
|
|
@@ -4117,7 +4279,7 @@ interface PathsDictionary {
|
|
|
4117
4279
|
* Forward a POST request to a registered proxy target from a public-facing component (e.g. journey blocks)
|
|
4118
4280
|
*/
|
|
4119
4281
|
'post'(
|
|
4120
|
-
parameters?: Parameters<Paths.V1PublicApp$AppIdProxy$ProxyName$Path.PathParameters> | null,
|
|
4282
|
+
parameters?: Parameters<Paths.V1PublicApp$AppIdProxy$ProxyName$Path.QueryParameters & Paths.V1PublicApp$AppIdProxy$ProxyName$Path.PathParameters> | null,
|
|
4121
4283
|
data?: Paths.PublicProxyPost.RequestBody,
|
|
4122
4284
|
config?: AxiosRequestConfig
|
|
4123
4285
|
): OperationResponse<Paths.PublicProxyPost.Responses.$200>
|
|
@@ -4127,7 +4289,7 @@ interface PathsDictionary {
|
|
|
4127
4289
|
* Forward a PUT request to a registered proxy target from a public-facing component
|
|
4128
4290
|
*/
|
|
4129
4291
|
'put'(
|
|
4130
|
-
parameters?: Parameters<Paths.V1PublicApp$AppIdProxy$ProxyName$Path.PathParameters> | null,
|
|
4292
|
+
parameters?: Parameters<Paths.V1PublicApp$AppIdProxy$ProxyName$Path.QueryParameters & Paths.V1PublicApp$AppIdProxy$ProxyName$Path.PathParameters> | null,
|
|
4131
4293
|
data?: Paths.PublicProxyPut.RequestBody,
|
|
4132
4294
|
config?: AxiosRequestConfig
|
|
4133
4295
|
): OperationResponse<Paths.PublicProxyPut.Responses.$200>
|
|
@@ -4137,7 +4299,7 @@ interface PathsDictionary {
|
|
|
4137
4299
|
* Forward a PATCH request to a registered proxy target from a public-facing component
|
|
4138
4300
|
*/
|
|
4139
4301
|
'patch'(
|
|
4140
|
-
parameters?: Parameters<Paths.V1PublicApp$AppIdProxy$ProxyName$Path.PathParameters> | null,
|
|
4302
|
+
parameters?: Parameters<Paths.V1PublicApp$AppIdProxy$ProxyName$Path.QueryParameters & Paths.V1PublicApp$AppIdProxy$ProxyName$Path.PathParameters> | null,
|
|
4141
4303
|
data?: Paths.PublicProxyPatch.RequestBody,
|
|
4142
4304
|
config?: AxiosRequestConfig
|
|
4143
4305
|
): OperationResponse<Paths.PublicProxyPatch.Responses.$200>
|
|
@@ -4147,7 +4309,7 @@ interface PathsDictionary {
|
|
|
4147
4309
|
* Forward a DELETE request to a registered proxy target from a public-facing component
|
|
4148
4310
|
*/
|
|
4149
4311
|
'delete'(
|
|
4150
|
-
parameters?: Parameters<Paths.V1PublicApp$AppIdProxy$ProxyName$Path.PathParameters> | null,
|
|
4312
|
+
parameters?: Parameters<Paths.V1PublicApp$AppIdProxy$ProxyName$Path.QueryParameters & Paths.V1PublicApp$AppIdProxy$ProxyName$Path.PathParameters> | null,
|
|
4151
4313
|
data?: any,
|
|
4152
4314
|
config?: AxiosRequestConfig
|
|
4153
4315
|
): OperationResponse<Paths.PublicProxyDelete.Responses.$200>
|
|
@@ -4193,8 +4355,10 @@ type ExternalProductCatalogComponent = Components.Schemas.ExternalProductCatalog
|
|
|
4193
4355
|
type ExternalProductCatalogConfig = Components.Schemas.ExternalProductCatalogConfig;
|
|
4194
4356
|
type ExternalProductCatalogHookProductRecommendations = Components.Schemas.ExternalProductCatalogHookProductRecommendations;
|
|
4195
4357
|
type ExternalProductCatalogHookProducts = Components.Schemas.ExternalProductCatalogHookProducts;
|
|
4358
|
+
type FunctionDefinition = Components.Schemas.FunctionDefinition;
|
|
4196
4359
|
type Grants = Components.Schemas.Grants;
|
|
4197
4360
|
type Installation = Components.Schemas.Installation;
|
|
4361
|
+
type InternalReview = Components.Schemas.InternalReview;
|
|
4198
4362
|
type JourneyBlockComponent = Components.Schemas.JourneyBlockComponent;
|
|
4199
4363
|
type JourneyBlockComponentArgs = Components.Schemas.JourneyBlockComponentArgs;
|
|
4200
4364
|
type JourneyBlockConfig = Components.Schemas.JourneyBlockConfig;
|
|
@@ -4230,8 +4394,7 @@ type RawEvents = Components.Schemas.RawEvents;
|
|
|
4230
4394
|
type Review = Components.Schemas.Review;
|
|
4231
4395
|
type Role = Components.Schemas.Role;
|
|
4232
4396
|
type S3Reference = Components.Schemas.S3Reference;
|
|
4233
|
-
type SandboxCustomActionConfig = Components.Schemas.SandboxCustomActionConfig;
|
|
4234
4397
|
type TextArg = Components.Schemas.TextArg;
|
|
4235
4398
|
type TranslatedString = Components.Schemas.TranslatedString;
|
|
4236
4399
|
|
|
4237
|
-
export { type
|
|
4400
|
+
export { type OptionsRef as $, type Actor as A, type BaseComponent as B, type Client as C, type ErpInformToolkitComponent as D, type EnumArg as E, type EventsQuery as F, type EventsQueryResponse as G, type ExternalIntegrationCustomActionConfig as H, type ExternalProductCatalogAuthBlock as I, type ExternalProductCatalogComponent as J, type ExternalProductCatalogConfig as K, type ExternalProductCatalogHookProductRecommendations as L, type ExternalProductCatalogHookProducts as M, type FunctionDefinition as N, type OperationMethods as O, Paths as P, type Grants as Q, type Installation as R, type InternalReview as S, type JourneyBlockComponent as T, type JourneyBlockComponentArgs as U, type JourneyBlockConfig as V, type NotificationConfig as W, type NotificationEvent as X, type ObjectField as Y, type Option as Z, type Options as _, Components as a, type OverrideDevMode as a0, type PortalBlockComponent as a1, type PortalBlockConfig as a2, type PortalBlockSurfaceConfig as a3, type PortalExtensionAuthBlock as a4, type PortalExtensionComponent as a5, type PortalExtensionConfig as a6, type PortalExtensionHookChangeEmail as a7, type PortalExtensionHookChangePassword as a8, type PortalExtensionHookConsumptionDataRetrieval as a9, type PortalExtensionHookContractIdentification as aa, type PortalExtensionHookCostDataRetrieval as ab, type PortalExtensionHookDataExport as ac, type PortalExtensionHookDeleteAccount as ad, type PortalExtensionHookMeterReadingPlausibilityCheck as ae, type PortalExtensionHookPriceDataRetrieval as af, type PortalExtensionHookRegistrationIdentifiersCheck as ag, type PortalExtensionHookVisualizationMetadata as ah, type PortalExtensionSeamlessLink as ai, type PortalExtensionSecureProxy as aj, type Pricing as ak, type PublicConfiguration as al, type RawEvents as am, type Review as an, type Role as ao, type S3Reference as ap, type TextArg as aq, type TranslatedString as ar, type PathsDictionary as b, type AggregatedEvents as c, type ApiProxyComponent as d, type ApiProxyConfig as e, type AppBridgeSurfaceConfig as f, type AppEventData as g, type Audit as h, type Author as i, type BaseComponentCommon as j, type BaseCustomActionConfig as k, type BatchEventRequest as l, type BillingFrequency as m, type BlockReferenceArg as n, type BlueprintRef as o, type BooleanArg as p, type CallerIdentity as q, type ComponentType as r, type Configuration as s, type ConfigurationMetadata as t, type ConfigurationVersion as u, type CustomCapabilityComponent as v, type CustomFlowActionComponent as w, type CustomFlowConfig as x, type CustomPageComponent as y, type CustomPageConfig as z };
|
|
@@ -33,7 +33,7 @@ var globImport_docs = __glob({
|
|
|
33
33
|
"./docs/address-suggestions.json": () => import("./address-suggestions-74244BAJ.js"),
|
|
34
34
|
"./docs/address.json": () => import("./address-QVJUGMOG.js"),
|
|
35
35
|
"./docs/ai-agents.json": () => import("./ai-agents-3JK4UU2G.js"),
|
|
36
|
-
"./docs/app.json": () => import("./app-
|
|
36
|
+
"./docs/app.json": () => import("./app-EEEBOCVZ.js"),
|
|
37
37
|
"./docs/audit-logs.json": () => import("./audit-logs-5VXHOQ7S.js"),
|
|
38
38
|
"./docs/automation.json": () => import("./automation-UP6J7QIK.js"),
|
|
39
39
|
"./docs/billing.json": () => import("./billing-IV5ABNW4.js"),
|
|
@@ -56,7 +56,7 @@ var globImport_docs = __glob({
|
|
|
56
56
|
"./docs/event-catalog.json": () => import("./event-catalog-RS4LJMY2.js"),
|
|
57
57
|
"./docs/file.json": () => import("./file-ZUNCUDBY.js"),
|
|
58
58
|
"./docs/iban.json": () => import("./iban-LDKYDVQV.js"),
|
|
59
|
-
"./docs/integration-toolkit.json": () => import("./integration-toolkit-
|
|
59
|
+
"./docs/integration-toolkit.json": () => import("./integration-toolkit-RIBZBI2Y.js"),
|
|
60
60
|
"./docs/journey.json": () => import("./journey-NXL264XW.js"),
|
|
61
61
|
"./docs/kanban.json": () => import("./kanban-F22JXYCG.js"),
|
|
62
62
|
"./docs/message.json": () => import("./message-TLEET26B.js"),
|
|
@@ -108,7 +108,7 @@ var globImport_definitions_json = __glob({
|
|
|
108
108
|
"./definitions/address.json": () => import("./address-IJF4N2UV.js"),
|
|
109
109
|
"./definitions/ai-agents-runtime.json": () => import("./ai-agents-runtime-HOBR2KUZ.js"),
|
|
110
110
|
"./definitions/ai-agents.json": () => import("./ai-agents-PKCHKKJS.js"),
|
|
111
|
-
"./definitions/app-runtime.json": () => import("./app-runtime-
|
|
111
|
+
"./definitions/app-runtime.json": () => import("./app-runtime-NBGFHFT2.js"),
|
|
112
112
|
"./definitions/app.json": () => import("./app-VJW2KKWE.js"),
|
|
113
113
|
"./definitions/audit-logs-runtime.json": () => import("./audit-logs-runtime-76R6WRAB.js"),
|
|
114
114
|
"./definitions/audit-logs.json": () => import("./audit-logs-F2NHDISQ.js"),
|
|
@@ -33,7 +33,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
33
33
|
"./docs/address-suggestions.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./address-suggestions-IUQMYF27.cjs"))),
|
|
34
34
|
"./docs/address.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./address-HA4RMRNQ.cjs"))),
|
|
35
35
|
"./docs/ai-agents.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./ai-agents-XST3YUFA.cjs"))),
|
|
36
|
-
"./docs/app.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-
|
|
36
|
+
"./docs/app.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-A7P5LKNL.cjs"))),
|
|
37
37
|
"./docs/audit-logs.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./audit-logs-D2LFUA2R.cjs"))),
|
|
38
38
|
"./docs/automation.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./automation-ZF5ACFVW.cjs"))),
|
|
39
39
|
"./docs/billing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./billing-C45UEPBV.cjs"))),
|
|
@@ -56,7 +56,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
56
56
|
"./docs/event-catalog.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./event-catalog-6ZSSF5JU.cjs"))),
|
|
57
57
|
"./docs/file.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./file-M5HNKOPG.cjs"))),
|
|
58
58
|
"./docs/iban.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./iban-24GHLFDB.cjs"))),
|
|
59
|
-
"./docs/integration-toolkit.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./integration-toolkit-
|
|
59
|
+
"./docs/integration-toolkit.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./integration-toolkit-RPWD4MAN.cjs"))),
|
|
60
60
|
"./docs/journey.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./journey-LHVSSVTG.cjs"))),
|
|
61
61
|
"./docs/kanban.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./kanban-FSATKIGH.cjs"))),
|
|
62
62
|
"./docs/message.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./message-F4HJQBF5.cjs"))),
|
|
@@ -108,7 +108,7 @@ var globImport_definitions_json = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
108
108
|
"./definitions/address.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./address-HLBX47SQ.cjs"))),
|
|
109
109
|
"./definitions/ai-agents-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./ai-agents-runtime-T62OQDWE.cjs"))),
|
|
110
110
|
"./definitions/ai-agents.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./ai-agents-6VHVYRCC.cjs"))),
|
|
111
|
-
"./definitions/app-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-runtime-
|
|
111
|
+
"./definitions/app-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-runtime-AAQHTC7F.cjs"))),
|
|
112
112
|
"./definitions/app.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-5VPBDFW2.cjs"))),
|
|
113
113
|
"./definitions/audit-logs-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./audit-logs-runtime-4WMHPWNX.cjs"))),
|
|
114
114
|
"./definitions/audit-logs.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./audit-logs-RFEMBILB.cjs"))),
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
// src/definitions/app-runtime.json
|
|
6
6
|
var require_app_runtime = __commonJS({
|
|
7
7
|
"src/definitions/app-runtime.json"(exports, module) {
|
|
8
|
-
module.exports = { s: "https://app.sls.epilot.io", o: [["getPublicFacingComponent", "get", "/v1/public/app/{appId}/components/{componentId}"], ["listConfigurations", "get", "/v1/app-configurations", [["page", "q"], ["pageSize", "q"]]], ["createConfiguration", "post", "/v1/app-configurations", null, 1], ["listPublicConfigurations", "get", "/v1/app-configurations/public", [["page", "q"], ["pageSize", "q"]]], ["getPublicConfiguration", "get", "/v1/app-configurations/public/{appId}", [["version", "q"]]], ["getConfiguration", "get", "/v1/app-configurations/{appId}", [["version", "q"]]], ["patchMetadata", "patch", "/v1/app-configurations/{appId}", null, 1], ["deleteConfiguration", "delete", "/v1/app-configurations/{appId}"], ["queryEvents", "post", "/v1/app-configurations/{appId}/events", [["appId", "p", true]], 1], ["createBundleUploadUrl", "post", "/v1/app-configurations/{appId}/bundle", [["appId", "p", true]], 1], ["createZipUploadUrl", "post", "/v1/app-configurations/{appId}/zip", [["appId", "p", true]], 1], ["createLogoUploadUrl", "post", "/v1/app-configurations/{appId}/logo", null, 1], ["deleteLogo", "delete", "/v1/app-configurations/{appId}/logo"], ["listVersions", "get", "/v1/app-configurations/{appId}/versions", [["appId", "p", true], ["page", "q"], ["pageSize", "q"]]], ["getVersion", "get", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]]], ["deleteVersion", "delete", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]]], ["patchVersion", "patch", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]], 1], ["getReview", "get", "/v1/app-configurations/{appId}/versions/{version}/review", [["appId", "p", true], ["version", "p", true]]], ["createReview", "post", "/v1/app-configurations/{appId}/versions/{version}/review", [["appId", "p", true], ["version", "p", true]], 1], ["createComponent", "post", "/v1/app-configurations/{appId}/versions/{version}/components", [["appId", "p", true], ["version", "p", true]], 1], ["patchComponent", "patch", "/v1/app-configurations/{appId}/versions/{version}/components/{componentId}", [["appId", "p", true], ["version", "p", true], ["componentId", "p", true]], 1], ["deleteComponent", "delete", "/v1/app-configurations/{appId}/versions/{version}/components/{componentId}", [["appId", "p", true], ["version", "p", true], ["componentId", "p", true]]], ["cloneVersion", "post", "/v1/app-configurations/{appId}/versions/{sourceVersion}/clone-to/{targetVersion}", [["appId", "p", true], ["sourceVersion", "p", true], ["targetVersion", "p", true]]], ["listInstallations", "get", "/v1/app", [["componentType", "q"], ["enabled", "q"], ["page", "q"], ["pageSize", "q"]]], ["getInstallation", "get", "/v1/app/{appId}", [["appId", "p", true]]], ["install", "post", "/v1/app/{appId}", [["appId", "p", true]], 1], ["patchInstallation", "patch", "/v1/app/{appId}", [["appId", "p", true]], 1], ["uninstall", "delete", "/v1/app/{appId}", [["appId", "p", true]]], ["promoteVersion", "post", "/v1/app/{appId}/promote-to/{version}", [["appId", "p", true], ["version", "p", true]]], ["ingestEvent", "post", "/v1/app-events", null, 1], ["publicProxyGet", "get", "/v1/public/app/{appId}/proxy/{proxyName}/{path}"], ["publicProxyPost", "post", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyPut", "put", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyPatch", "patch", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyDelete", "delete", "/v1/public/app/{appId}/proxy/{proxyName}/{path}"]], v: "3.1.0", pp: { "/v1/public/app/{appId}/components/{componentId}": [["appId", "p", true], ["componentId", "p", true]], "/v1/app-configurations/public/{appId}": [["appId", "p", true]], "/v1/app-configurations/{appId}": [["appId", "p", true]], "/v1/app-configurations/{appId}/logo": [["appId", "p", true]], "/v1/public/app/{appId}/proxy/{proxyName}/{path}": [["appId", "p", true], ["proxyName", "p", true], ["path", "p", true]] } };
|
|
8
|
+
module.exports = { s: "https://app.sls.epilot.io", o: [["getPublicFacingComponent", "get", "/v1/public/app/{appId}/components/{componentId}"], ["listConfigurations", "get", "/v1/app-configurations", [["page", "q"], ["pageSize", "q"]]], ["createConfiguration", "post", "/v1/app-configurations", null, 1], ["listPublicConfigurations", "get", "/v1/app-configurations/public", [["page", "q"], ["pageSize", "q"]]], ["getPublicConfiguration", "get", "/v1/app-configurations/public/{appId}", [["version", "q"]]], ["getConfiguration", "get", "/v1/app-configurations/{appId}", [["version", "q"]]], ["patchMetadata", "patch", "/v1/app-configurations/{appId}", null, 1], ["deleteConfiguration", "delete", "/v1/app-configurations/{appId}"], ["queryEvents", "post", "/v1/app-configurations/{appId}/events", [["appId", "p", true]], 1], ["createBundleUploadUrl", "post", "/v1/app-configurations/{appId}/bundle", [["appId", "p", true]], 1], ["createZipUploadUrl", "post", "/v1/app-configurations/{appId}/zip", [["appId", "p", true]], 1], ["createLogoUploadUrl", "post", "/v1/app-configurations/{appId}/logo", null, 1], ["deleteLogo", "delete", "/v1/app-configurations/{appId}/logo"], ["listVersions", "get", "/v1/app-configurations/{appId}/versions", [["appId", "p", true], ["page", "q"], ["pageSize", "q"]]], ["getVersion", "get", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]]], ["deleteVersion", "delete", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]]], ["patchVersion", "patch", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]], 1], ["getReview", "get", "/v1/app-configurations/{appId}/versions/{version}/review", [["appId", "p", true], ["version", "p", true]]], ["createReview", "post", "/v1/app-configurations/{appId}/versions/{version}/review", [["appId", "p", true], ["version", "p", true]], 1], ["createComponent", "post", "/v1/app-configurations/{appId}/versions/{version}/components", [["appId", "p", true], ["version", "p", true]], 1], ["patchComponent", "patch", "/v1/app-configurations/{appId}/versions/{version}/components/{componentId}", [["appId", "p", true], ["version", "p", true], ["componentId", "p", true]], 1], ["deleteComponent", "delete", "/v1/app-configurations/{appId}/versions/{version}/components/{componentId}", [["appId", "p", true], ["version", "p", true], ["componentId", "p", true]]], ["cloneVersion", "post", "/v1/app-configurations/{appId}/versions/{sourceVersion}/clone-to/{targetVersion}", [["appId", "p", true], ["sourceVersion", "p", true], ["targetVersion", "p", true]]], ["listInstallations", "get", "/v1/app", [["componentType", "q"], ["enabled", "q"], ["page", "q"], ["pageSize", "q"]]], ["getInstallation", "get", "/v1/app/{appId}", [["appId", "p", true]]], ["install", "post", "/v1/app/{appId}", [["appId", "p", true]], 1], ["patchInstallation", "patch", "/v1/app/{appId}", [["appId", "p", true]], 1], ["uninstall", "delete", "/v1/app/{appId}", [["appId", "p", true]]], ["promoteVersion", "post", "/v1/app/{appId}/promote-to/{version}", [["appId", "p", true], ["version", "p", true]]], ["ingestEvent", "post", "/v1/app-events", null, 1], ["publicProxyGet", "get", "/v1/public/app/{appId}/proxy/{proxyName}/{path}"], ["publicProxyPost", "post", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyPut", "put", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyPatch", "patch", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyDelete", "delete", "/v1/public/app/{appId}/proxy/{proxyName}/{path}"]], v: "3.1.0", pp: { "/v1/public/app/{appId}/components/{componentId}": [["appId", "p", true], ["componentId", "p", true]], "/v1/app-configurations/public/{appId}": [["appId", "p", true]], "/v1/app-configurations/{appId}": [["appId", "p", true]], "/v1/app-configurations/{appId}/logo": [["appId", "p", true]], "/v1/public/app/{appId}/proxy/{proxyName}/{path}": [["appId", "p", true], ["proxyName", "p", true], ["path", "p", true], ["query", "q", false, "form", true]] } };
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@ var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
|
5
5
|
// src/definitions/app-runtime.json
|
|
6
6
|
var require_app_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
7
|
"src/definitions/app-runtime.json"(exports, module) {
|
|
8
|
-
module.exports = { s: "https://app.sls.epilot.io", o: [["getPublicFacingComponent", "get", "/v1/public/app/{appId}/components/{componentId}"], ["listConfigurations", "get", "/v1/app-configurations", [["page", "q"], ["pageSize", "q"]]], ["createConfiguration", "post", "/v1/app-configurations", null, 1], ["listPublicConfigurations", "get", "/v1/app-configurations/public", [["page", "q"], ["pageSize", "q"]]], ["getPublicConfiguration", "get", "/v1/app-configurations/public/{appId}", [["version", "q"]]], ["getConfiguration", "get", "/v1/app-configurations/{appId}", [["version", "q"]]], ["patchMetadata", "patch", "/v1/app-configurations/{appId}", null, 1], ["deleteConfiguration", "delete", "/v1/app-configurations/{appId}"], ["queryEvents", "post", "/v1/app-configurations/{appId}/events", [["appId", "p", true]], 1], ["createBundleUploadUrl", "post", "/v1/app-configurations/{appId}/bundle", [["appId", "p", true]], 1], ["createZipUploadUrl", "post", "/v1/app-configurations/{appId}/zip", [["appId", "p", true]], 1], ["createLogoUploadUrl", "post", "/v1/app-configurations/{appId}/logo", null, 1], ["deleteLogo", "delete", "/v1/app-configurations/{appId}/logo"], ["listVersions", "get", "/v1/app-configurations/{appId}/versions", [["appId", "p", true], ["page", "q"], ["pageSize", "q"]]], ["getVersion", "get", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]]], ["deleteVersion", "delete", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]]], ["patchVersion", "patch", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]], 1], ["getReview", "get", "/v1/app-configurations/{appId}/versions/{version}/review", [["appId", "p", true], ["version", "p", true]]], ["createReview", "post", "/v1/app-configurations/{appId}/versions/{version}/review", [["appId", "p", true], ["version", "p", true]], 1], ["createComponent", "post", "/v1/app-configurations/{appId}/versions/{version}/components", [["appId", "p", true], ["version", "p", true]], 1], ["patchComponent", "patch", "/v1/app-configurations/{appId}/versions/{version}/components/{componentId}", [["appId", "p", true], ["version", "p", true], ["componentId", "p", true]], 1], ["deleteComponent", "delete", "/v1/app-configurations/{appId}/versions/{version}/components/{componentId}", [["appId", "p", true], ["version", "p", true], ["componentId", "p", true]]], ["cloneVersion", "post", "/v1/app-configurations/{appId}/versions/{sourceVersion}/clone-to/{targetVersion}", [["appId", "p", true], ["sourceVersion", "p", true], ["targetVersion", "p", true]]], ["listInstallations", "get", "/v1/app", [["componentType", "q"], ["enabled", "q"], ["page", "q"], ["pageSize", "q"]]], ["getInstallation", "get", "/v1/app/{appId}", [["appId", "p", true]]], ["install", "post", "/v1/app/{appId}", [["appId", "p", true]], 1], ["patchInstallation", "patch", "/v1/app/{appId}", [["appId", "p", true]], 1], ["uninstall", "delete", "/v1/app/{appId}", [["appId", "p", true]]], ["promoteVersion", "post", "/v1/app/{appId}/promote-to/{version}", [["appId", "p", true], ["version", "p", true]]], ["ingestEvent", "post", "/v1/app-events", null, 1], ["publicProxyGet", "get", "/v1/public/app/{appId}/proxy/{proxyName}/{path}"], ["publicProxyPost", "post", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyPut", "put", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyPatch", "patch", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyDelete", "delete", "/v1/public/app/{appId}/proxy/{proxyName}/{path}"]], v: "3.1.0", pp: { "/v1/public/app/{appId}/components/{componentId}": [["appId", "p", true], ["componentId", "p", true]], "/v1/app-configurations/public/{appId}": [["appId", "p", true]], "/v1/app-configurations/{appId}": [["appId", "p", true]], "/v1/app-configurations/{appId}/logo": [["appId", "p", true]], "/v1/public/app/{appId}/proxy/{proxyName}/{path}": [["appId", "p", true], ["proxyName", "p", true], ["path", "p", true]] } };
|
|
8
|
+
module.exports = { s: "https://app.sls.epilot.io", o: [["getPublicFacingComponent", "get", "/v1/public/app/{appId}/components/{componentId}"], ["listConfigurations", "get", "/v1/app-configurations", [["page", "q"], ["pageSize", "q"]]], ["createConfiguration", "post", "/v1/app-configurations", null, 1], ["listPublicConfigurations", "get", "/v1/app-configurations/public", [["page", "q"], ["pageSize", "q"]]], ["getPublicConfiguration", "get", "/v1/app-configurations/public/{appId}", [["version", "q"]]], ["getConfiguration", "get", "/v1/app-configurations/{appId}", [["version", "q"]]], ["patchMetadata", "patch", "/v1/app-configurations/{appId}", null, 1], ["deleteConfiguration", "delete", "/v1/app-configurations/{appId}"], ["queryEvents", "post", "/v1/app-configurations/{appId}/events", [["appId", "p", true]], 1], ["createBundleUploadUrl", "post", "/v1/app-configurations/{appId}/bundle", [["appId", "p", true]], 1], ["createZipUploadUrl", "post", "/v1/app-configurations/{appId}/zip", [["appId", "p", true]], 1], ["createLogoUploadUrl", "post", "/v1/app-configurations/{appId}/logo", null, 1], ["deleteLogo", "delete", "/v1/app-configurations/{appId}/logo"], ["listVersions", "get", "/v1/app-configurations/{appId}/versions", [["appId", "p", true], ["page", "q"], ["pageSize", "q"]]], ["getVersion", "get", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]]], ["deleteVersion", "delete", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]]], ["patchVersion", "patch", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]], 1], ["getReview", "get", "/v1/app-configurations/{appId}/versions/{version}/review", [["appId", "p", true], ["version", "p", true]]], ["createReview", "post", "/v1/app-configurations/{appId}/versions/{version}/review", [["appId", "p", true], ["version", "p", true]], 1], ["createComponent", "post", "/v1/app-configurations/{appId}/versions/{version}/components", [["appId", "p", true], ["version", "p", true]], 1], ["patchComponent", "patch", "/v1/app-configurations/{appId}/versions/{version}/components/{componentId}", [["appId", "p", true], ["version", "p", true], ["componentId", "p", true]], 1], ["deleteComponent", "delete", "/v1/app-configurations/{appId}/versions/{version}/components/{componentId}", [["appId", "p", true], ["version", "p", true], ["componentId", "p", true]]], ["cloneVersion", "post", "/v1/app-configurations/{appId}/versions/{sourceVersion}/clone-to/{targetVersion}", [["appId", "p", true], ["sourceVersion", "p", true], ["targetVersion", "p", true]]], ["listInstallations", "get", "/v1/app", [["componentType", "q"], ["enabled", "q"], ["page", "q"], ["pageSize", "q"]]], ["getInstallation", "get", "/v1/app/{appId}", [["appId", "p", true]]], ["install", "post", "/v1/app/{appId}", [["appId", "p", true]], 1], ["patchInstallation", "patch", "/v1/app/{appId}", [["appId", "p", true]], 1], ["uninstall", "delete", "/v1/app/{appId}", [["appId", "p", true]]], ["promoteVersion", "post", "/v1/app/{appId}/promote-to/{version}", [["appId", "p", true], ["version", "p", true]]], ["ingestEvent", "post", "/v1/app-events", null, 1], ["publicProxyGet", "get", "/v1/public/app/{appId}/proxy/{proxyName}/{path}"], ["publicProxyPost", "post", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyPut", "put", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyPatch", "patch", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyDelete", "delete", "/v1/public/app/{appId}/proxy/{proxyName}/{path}"]], v: "3.1.0", pp: { "/v1/public/app/{appId}/components/{componentId}": [["appId", "p", true], ["componentId", "p", true]], "/v1/app-configurations/public/{appId}": [["appId", "p", true]], "/v1/app-configurations/{appId}": [["appId", "p", true]], "/v1/app-configurations/{appId}/logo": [["appId", "p", true]], "/v1/public/app/{appId}/proxy/{proxyName}/{path}": [["appId", "p", true], ["proxyName", "p", true], ["path", "p", true], ["query", "q", false, "form", true]] } };
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
|
package/dist/index.cjs
CHANGED
|
@@ -144,7 +144,7 @@ var _chunkT67ZXTVGcjs = require('./chunk-T67ZXTVG.cjs');
|
|
|
144
144
|
var _chunkGD6KHA54cjs = require('./chunk-GD6KHA54.cjs');
|
|
145
145
|
|
|
146
146
|
|
|
147
|
-
var
|
|
147
|
+
var _chunkXHVIF7ACcjs = require('./chunk-XHVIF7AC.cjs');
|
|
148
148
|
|
|
149
149
|
|
|
150
150
|
var _chunkRUZRPIHWcjs = require('./chunk-RUZRPIHW.cjs');
|
|
@@ -158,7 +158,7 @@ var _chunkADSWGLIVcjs = require('./chunk-ADSWGLIV.cjs');
|
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
var
|
|
161
|
+
var _chunkO2ELDNPKcjs = require('./chunk-O2ELDNPK.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 = _chunkO2ELDNPKcjs.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) => _chunkO2ELDNPKcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
262
262
|
var registerBuiltinApis = (registry) => {
|
|
263
263
|
registerApi({
|
|
264
264
|
registry,
|
|
@@ -283,7 +283,7 @@ var registerBuiltinApis = (registry) => {
|
|
|
283
283
|
registerApi({
|
|
284
284
|
registry,
|
|
285
285
|
name: "app",
|
|
286
|
-
loader: () => expandDef(
|
|
286
|
+
loader: () => expandDef(_chunkXHVIF7ACcjs.require_app_runtime.call(void 0, ))
|
|
287
287
|
});
|
|
288
288
|
registerApi({
|
|
289
289
|
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 _chunkO2ELDNPKcjs.createApiHandle.call(void 0, {
|
|
605
605
|
resolveClient: () => resolveClient({ registry, name, state }),
|
|
606
|
-
createClient: () =>
|
|
606
|
+
createClient: () => _chunkO2ELDNPKcjs.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) => _chunkO2ELDNPKcjs.help.call(void 0, apiName);
|
|
655
655
|
case "openapi":
|
|
656
|
-
return (apiName) =>
|
|
656
|
+
return (apiName) => _chunkO2ELDNPKcjs.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 = _chunkO2ELDNPKcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkO2ELDNPKcjs.help; exports.openapi = _chunkO2ELDNPKcjs.openapi;
|