@epilot/app-client 0.6.2 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/openapi.d.ts +28 -2
- package/dist/openapi.json +63 -2
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -80,6 +80,10 @@ declare namespace Components {
|
|
|
80
80
|
dev_mode?: boolean;
|
|
81
81
|
}
|
|
82
82
|
export interface PatchVersionRequest {
|
|
83
|
+
/**
|
|
84
|
+
* ID of the manifest to use for this version
|
|
85
|
+
*/
|
|
86
|
+
manifest_id?: string;
|
|
83
87
|
/**
|
|
84
88
|
* Name of the role
|
|
85
89
|
*/
|
|
@@ -225,7 +229,7 @@ declare namespace Components {
|
|
|
225
229
|
surfaces?: {
|
|
226
230
|
[key: string]: any;
|
|
227
231
|
};
|
|
228
|
-
} & (JourneyBlockComponent | PortalExtensionComponent | CustomFlowActionComponent);
|
|
232
|
+
} & (JourneyBlockComponent | PortalExtensionComponent | CustomFlowActionComponent | ErpInformToolkitComponent);
|
|
229
233
|
export interface BaseComponentCommon {
|
|
230
234
|
/**
|
|
231
235
|
* Unique identifier for the component
|
|
@@ -383,6 +387,16 @@ declare namespace Components {
|
|
|
383
387
|
* How often the subscription is billed
|
|
384
388
|
*/
|
|
385
389
|
export type BillingFrequency = "MONTHLY" | "QUARTERLY" | "YEARLY" | "CUSTOM";
|
|
390
|
+
export interface BlueprintRef {
|
|
391
|
+
/**
|
|
392
|
+
* ID of the blueprint
|
|
393
|
+
*/
|
|
394
|
+
manifest_id?: string;
|
|
395
|
+
/**
|
|
396
|
+
* ID of the job that created the blueprint
|
|
397
|
+
*/
|
|
398
|
+
job_id?: string;
|
|
399
|
+
}
|
|
386
400
|
export interface BooleanArg {
|
|
387
401
|
type?: "boolean";
|
|
388
402
|
}
|
|
@@ -415,7 +429,7 @@ declare namespace Components {
|
|
|
415
429
|
/**
|
|
416
430
|
* Type of app component
|
|
417
431
|
*/
|
|
418
|
-
export type ComponentType = "CUSTOM_JOURNEY_BLOCK" | "PORTAL_EXTENSION" | "CUSTOM_FLOW_ACTION";
|
|
432
|
+
export type ComponentType = "CUSTOM_JOURNEY_BLOCK" | "PORTAL_EXTENSION" | "CUSTOM_FLOW_ACTION" | "ERP_INFORM_TOOLKIT";
|
|
419
433
|
/**
|
|
420
434
|
* Configuration of the published app
|
|
421
435
|
*/
|
|
@@ -552,6 +566,7 @@ declare namespace Components {
|
|
|
552
566
|
*/
|
|
553
567
|
review_status?: "approved" | "rejected" | "pending";
|
|
554
568
|
role?: Role;
|
|
569
|
+
blueprint_ref?: BlueprintRef;
|
|
555
570
|
version_audit: {
|
|
556
571
|
/**
|
|
557
572
|
* Timestamp of the creation
|
|
@@ -725,6 +740,7 @@ declare namespace Components {
|
|
|
725
740
|
*/
|
|
726
741
|
review_status?: "approved" | "rejected" | "pending";
|
|
727
742
|
role?: Role;
|
|
743
|
+
blueprint_ref?: BlueprintRef;
|
|
728
744
|
version_audit: {
|
|
729
745
|
/**
|
|
730
746
|
* Timestamp of the creation
|
|
@@ -810,6 +826,12 @@ declare namespace Components {
|
|
|
810
826
|
}[]
|
|
811
827
|
];
|
|
812
828
|
}
|
|
829
|
+
export interface ErpInformToolkitComponent {
|
|
830
|
+
component_type: "ERP_INFORM_TOOLKIT";
|
|
831
|
+
configuration: {
|
|
832
|
+
type: "inbound" | "outbound";
|
|
833
|
+
};
|
|
834
|
+
}
|
|
813
835
|
export interface EventsQuery {
|
|
814
836
|
/**
|
|
815
837
|
* Either use preset OR start+end
|
|
@@ -948,6 +970,7 @@ declare namespace Components {
|
|
|
948
970
|
* The name of the role the app can use to access APIs
|
|
949
971
|
*/
|
|
950
972
|
role?: string;
|
|
973
|
+
blueprint_ref?: BlueprintRef;
|
|
951
974
|
/**
|
|
952
975
|
* Audit information for the app
|
|
953
976
|
*/
|
|
@@ -1230,6 +1253,7 @@ declare namespace Components {
|
|
|
1230
1253
|
*/
|
|
1231
1254
|
version: string;
|
|
1232
1255
|
role?: Role;
|
|
1256
|
+
blueprint_ref?: BlueprintRef;
|
|
1233
1257
|
/**
|
|
1234
1258
|
* Latest version of the app
|
|
1235
1259
|
*/
|
|
@@ -2374,6 +2398,7 @@ export type BaseComponentCommon = Components.Schemas.BaseComponentCommon;
|
|
|
2374
2398
|
export type BaseCustomActionConfig = Components.Schemas.BaseCustomActionConfig;
|
|
2375
2399
|
export type BatchEventRequest = Components.Schemas.BatchEventRequest;
|
|
2376
2400
|
export type BillingFrequency = Components.Schemas.BillingFrequency;
|
|
2401
|
+
export type BlueprintRef = Components.Schemas.BlueprintRef;
|
|
2377
2402
|
export type BooleanArg = Components.Schemas.BooleanArg;
|
|
2378
2403
|
export type CallerIdentity = Components.Schemas.CallerIdentity;
|
|
2379
2404
|
export type ComponentType = Components.Schemas.ComponentType;
|
|
@@ -2383,6 +2408,7 @@ export type ConfigurationVersion = Components.Schemas.ConfigurationVersion;
|
|
|
2383
2408
|
export type CustomFlowActionComponent = Components.Schemas.CustomFlowActionComponent;
|
|
2384
2409
|
export type CustomFlowConfig = Components.Schemas.CustomFlowConfig;
|
|
2385
2410
|
export type EnumArg = Components.Schemas.EnumArg;
|
|
2411
|
+
export type ErpInformToolkitComponent = Components.Schemas.ErpInformToolkitComponent;
|
|
2386
2412
|
export type EventsQuery = Components.Schemas.EventsQuery;
|
|
2387
2413
|
export type EventsQueryResponse = Components.Schemas.EventsQueryResponse;
|
|
2388
2414
|
export type ExternalIntegrationCustomActionConfig = Components.Schemas.ExternalIntegrationCustomActionConfig;
|
package/dist/openapi.json
CHANGED
|
@@ -1380,6 +1380,10 @@
|
|
|
1380
1380
|
"schema": {
|
|
1381
1381
|
"type": "object",
|
|
1382
1382
|
"properties": {
|
|
1383
|
+
"manifest_id": {
|
|
1384
|
+
"type": "string",
|
|
1385
|
+
"description": "ID of the manifest to use for this version"
|
|
1386
|
+
},
|
|
1383
1387
|
"role_id": {
|
|
1384
1388
|
"nullable": true,
|
|
1385
1389
|
"type": "string",
|
|
@@ -1590,7 +1594,8 @@
|
|
|
1590
1594
|
"enum": [
|
|
1591
1595
|
"CUSTOM_JOURNEY_BLOCK",
|
|
1592
1596
|
"PORTAL_EXTENSION",
|
|
1593
|
-
"CUSTOM_FLOW_ACTION"
|
|
1597
|
+
"CUSTOM_FLOW_ACTION",
|
|
1598
|
+
"ERP_INFORM_TOOLKIT"
|
|
1594
1599
|
],
|
|
1595
1600
|
"description": "Type of app component"
|
|
1596
1601
|
},
|
|
@@ -1697,7 +1702,8 @@
|
|
|
1697
1702
|
"mapping": {
|
|
1698
1703
|
"CUSTOM_JOURNEY_BLOCK": "#/components/schemas/JourneyBlockComponent",
|
|
1699
1704
|
"PORTAL_EXTENSION": "#/components/schemas/PortalExtensionComponent",
|
|
1700
|
-
"CUSTOM_FLOW_ACTION": "#/components/schemas/CustomFlowActionComponent"
|
|
1705
|
+
"CUSTOM_FLOW_ACTION": "#/components/schemas/CustomFlowActionComponent",
|
|
1706
|
+
"ERP_INFORM_TOOLKIT": "#/components/schemas/ErpInformToolkitComponent"
|
|
1701
1707
|
}
|
|
1702
1708
|
},
|
|
1703
1709
|
"oneOf": [
|
|
@@ -1709,6 +1715,9 @@
|
|
|
1709
1715
|
},
|
|
1710
1716
|
{
|
|
1711
1717
|
"$ref": "#/components/schemas/CustomFlowActionComponent"
|
|
1718
|
+
},
|
|
1719
|
+
{
|
|
1720
|
+
"$ref": "#/components/schemas/ErpInformToolkitComponent"
|
|
1712
1721
|
}
|
|
1713
1722
|
]
|
|
1714
1723
|
}
|
|
@@ -1732,6 +1741,36 @@
|
|
|
1732
1741
|
}
|
|
1733
1742
|
}
|
|
1734
1743
|
},
|
|
1744
|
+
"ErpInformToolkitComponent": {
|
|
1745
|
+
"type": "object",
|
|
1746
|
+
"required": [
|
|
1747
|
+
"component_type",
|
|
1748
|
+
"configuration"
|
|
1749
|
+
],
|
|
1750
|
+
"properties": {
|
|
1751
|
+
"component_type": {
|
|
1752
|
+
"type": "string",
|
|
1753
|
+
"enum": [
|
|
1754
|
+
"ERP_INFORM_TOOLKIT"
|
|
1755
|
+
]
|
|
1756
|
+
},
|
|
1757
|
+
"configuration": {
|
|
1758
|
+
"type": "object",
|
|
1759
|
+
"required": [
|
|
1760
|
+
"type"
|
|
1761
|
+
],
|
|
1762
|
+
"properties": {
|
|
1763
|
+
"type": {
|
|
1764
|
+
"type": "string",
|
|
1765
|
+
"enum": [
|
|
1766
|
+
"inbound",
|
|
1767
|
+
"outbound"
|
|
1768
|
+
]
|
|
1769
|
+
}
|
|
1770
|
+
}
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
},
|
|
1735
1774
|
"CustomFlowActionComponent": {
|
|
1736
1775
|
"type": "object",
|
|
1737
1776
|
"required": [
|
|
@@ -2420,6 +2459,9 @@
|
|
|
2420
2459
|
"role": {
|
|
2421
2460
|
"$ref": "#/components/schemas/Role"
|
|
2422
2461
|
},
|
|
2462
|
+
"blueprint_ref": {
|
|
2463
|
+
"$ref": "#/components/schemas/BlueprintRef"
|
|
2464
|
+
},
|
|
2423
2465
|
"version_audit": {
|
|
2424
2466
|
"readOnly": true,
|
|
2425
2467
|
"allOf": [
|
|
@@ -2465,6 +2507,19 @@
|
|
|
2465
2507
|
}
|
|
2466
2508
|
}
|
|
2467
2509
|
},
|
|
2510
|
+
"BlueprintRef": {
|
|
2511
|
+
"type": "object",
|
|
2512
|
+
"properties": {
|
|
2513
|
+
"manifest_id": {
|
|
2514
|
+
"type": "string",
|
|
2515
|
+
"description": "ID of the blueprint"
|
|
2516
|
+
},
|
|
2517
|
+
"job_id": {
|
|
2518
|
+
"type": "string",
|
|
2519
|
+
"description": "ID of the job that created the blueprint"
|
|
2520
|
+
}
|
|
2521
|
+
}
|
|
2522
|
+
},
|
|
2468
2523
|
"Installation": {
|
|
2469
2524
|
"description": "Information about the installed app. Has configuration data of the installed version",
|
|
2470
2525
|
"type": "object",
|
|
@@ -2528,6 +2583,9 @@
|
|
|
2528
2583
|
"type": "string",
|
|
2529
2584
|
"description": "The name of the role the app can use to access APIs"
|
|
2530
2585
|
},
|
|
2586
|
+
"blueprint_ref": {
|
|
2587
|
+
"$ref": "#/components/schemas/BlueprintRef"
|
|
2588
|
+
},
|
|
2531
2589
|
"installation_audit": {
|
|
2532
2590
|
"readOnly": true,
|
|
2533
2591
|
"allOf": [
|
|
@@ -2640,6 +2698,9 @@
|
|
|
2640
2698
|
"role": {
|
|
2641
2699
|
"$ref": "#/components/schemas/Role"
|
|
2642
2700
|
},
|
|
2701
|
+
"blueprint_ref": {
|
|
2702
|
+
"$ref": "#/components/schemas/BlueprintRef"
|
|
2703
|
+
},
|
|
2643
2704
|
"latest_version": {
|
|
2644
2705
|
"type": "string",
|
|
2645
2706
|
"description": "Latest version of the app",
|