@epilot/app-client 0.8.0 → 0.9.0
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 +16 -0
- package/dist/openapi.json +16 -2
- package/package.json +18 -17
- package/LICENSE +0 -21
package/dist/openapi.d.ts
CHANGED
|
@@ -282,6 +282,10 @@ declare namespace Components {
|
|
|
282
282
|
* Description of the custom action
|
|
283
283
|
*/
|
|
284
284
|
description?: string;
|
|
285
|
+
/**
|
|
286
|
+
* Wait for callback_url to be called before completing the action
|
|
287
|
+
*/
|
|
288
|
+
wait_for_callback?: boolean;
|
|
285
289
|
}
|
|
286
290
|
export interface BatchEventRequest {
|
|
287
291
|
events: [
|
|
@@ -541,6 +545,10 @@ declare namespace Components {
|
|
|
541
545
|
updated_by?: string;
|
|
542
546
|
};
|
|
543
547
|
components: BaseComponent[];
|
|
548
|
+
/**
|
|
549
|
+
* Visibility of the app version
|
|
550
|
+
*/
|
|
551
|
+
visibility?: "public" | "private";
|
|
544
552
|
/**
|
|
545
553
|
* Flag to indicate if the app is public.
|
|
546
554
|
*/
|
|
@@ -715,6 +723,10 @@ declare namespace Components {
|
|
|
715
723
|
*/
|
|
716
724
|
owner_org_id: string;
|
|
717
725
|
components: BaseComponent[];
|
|
726
|
+
/**
|
|
727
|
+
* Visibility of the app version
|
|
728
|
+
*/
|
|
729
|
+
visibility?: "public" | "private";
|
|
718
730
|
/**
|
|
719
731
|
* Flag to indicate if the app is public.
|
|
720
732
|
*/
|
|
@@ -926,6 +938,10 @@ declare namespace Components {
|
|
|
926
938
|
* Description of the custom action
|
|
927
939
|
*/
|
|
928
940
|
description?: string;
|
|
941
|
+
/**
|
|
942
|
+
* Wait for callback_url to be called before completing the action
|
|
943
|
+
*/
|
|
944
|
+
wait_for_callback?: boolean;
|
|
929
945
|
type: "external_integration";
|
|
930
946
|
external_integration_settings?: {
|
|
931
947
|
/**
|
package/dist/openapi.json
CHANGED
|
@@ -1897,6 +1897,10 @@
|
|
|
1897
1897
|
"description": {
|
|
1898
1898
|
"type": "string",
|
|
1899
1899
|
"description": "Description of the custom action"
|
|
1900
|
+
},
|
|
1901
|
+
"wait_for_callback": {
|
|
1902
|
+
"type": "boolean",
|
|
1903
|
+
"description": "Wait for callback_url to be called before completing the action"
|
|
1900
1904
|
}
|
|
1901
1905
|
}
|
|
1902
1906
|
},
|
|
@@ -2505,9 +2509,20 @@
|
|
|
2505
2509
|
},
|
|
2506
2510
|
"minItems": 0
|
|
2507
2511
|
},
|
|
2512
|
+
"visibility": {
|
|
2513
|
+
"type": "string",
|
|
2514
|
+
"enum": [
|
|
2515
|
+
"public",
|
|
2516
|
+
"private"
|
|
2517
|
+
],
|
|
2518
|
+
"description": "Visibility of the app version",
|
|
2519
|
+
"default": "private",
|
|
2520
|
+
"readOnly": true
|
|
2521
|
+
},
|
|
2508
2522
|
"public": {
|
|
2509
2523
|
"type": "boolean",
|
|
2510
|
-
"default":
|
|
2524
|
+
"default": false,
|
|
2525
|
+
"deprecated": true,
|
|
2511
2526
|
"description": "Flag to indicate if the app is public.",
|
|
2512
2527
|
"readOnly": true
|
|
2513
2528
|
},
|
|
@@ -2798,7 +2813,6 @@
|
|
|
2798
2813
|
},
|
|
2799
2814
|
"public": {
|
|
2800
2815
|
"type": "boolean",
|
|
2801
|
-
"default": true,
|
|
2802
2816
|
"description": "Flag to indicate if the app is public.",
|
|
2803
2817
|
"readOnly": true
|
|
2804
2818
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/app-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "JavaScript client library for the epilot App API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,6 +21,19 @@
|
|
|
21
21
|
"sdk",
|
|
22
22
|
"app"
|
|
23
23
|
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"test": "jest",
|
|
26
|
+
"typescript": "tsc",
|
|
27
|
+
"bundle-definition": "webpack",
|
|
28
|
+
"openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/app.yaml",
|
|
29
|
+
"typegen": "openapi typegen src/openapi.json --client -b '/* eslint-disable */' > src/openapi.d.ts",
|
|
30
|
+
"build": "tsc && npm run build:patch && npm run bundle-definition",
|
|
31
|
+
"build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
|
|
32
|
+
"build:watch": "npm run build && tsc -w",
|
|
33
|
+
"release-alpha": "npm version prerelease --preid alpha",
|
|
34
|
+
"prepublishOnly": "npm run typegen && npm run build",
|
|
35
|
+
"lint": "pnpm exec eslint src"
|
|
36
|
+
},
|
|
24
37
|
"files": [
|
|
25
38
|
"*.js",
|
|
26
39
|
"*.d.ts",
|
|
@@ -50,27 +63,15 @@
|
|
|
50
63
|
"@types/jest": "^26.0.20",
|
|
51
64
|
"axios": "^1.11.0",
|
|
52
65
|
"copy-webpack-plugin": "^7.0.0",
|
|
53
|
-
"jest": "^
|
|
66
|
+
"jest": "^29.6.2",
|
|
54
67
|
"json-loader": "^0.5.7",
|
|
55
68
|
"openapicmd": "^2.7.0",
|
|
56
|
-
"ts-jest": "^
|
|
69
|
+
"ts-jest": "^29.4.1",
|
|
57
70
|
"ts-loader": "^8.0.14",
|
|
58
71
|
"ts-node": "^10.9.1",
|
|
59
72
|
"typescript": "^4.1.3",
|
|
60
73
|
"webpack": "^5.18.0",
|
|
61
74
|
"webpack-cli": "^4.4.0"
|
|
62
75
|
},
|
|
63
|
-
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
|
|
64
|
-
|
|
65
|
-
"test": "jest",
|
|
66
|
-
"typescript": "tsc",
|
|
67
|
-
"bundle-definition": "webpack",
|
|
68
|
-
"openapi": "node ../../scripts/update-openapi.js ../../../backend/app-api/openapi.yml",
|
|
69
|
-
"typegen": "openapi typegen src/openapi.json --client -b '/* eslint-disable */' > src/openapi.d.ts",
|
|
70
|
-
"build": "tsc && npm run build:patch && npm run bundle-definition",
|
|
71
|
-
"build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
|
|
72
|
-
"build:watch": "npm run build && tsc -w",
|
|
73
|
-
"release-alpha": "npm version prerelease --preid alpha",
|
|
74
|
-
"lint": "pnpm exec eslint src"
|
|
75
|
-
}
|
|
76
|
-
}
|
|
76
|
+
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
|
|
77
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 epilot GmbH
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|