@arbium/enterprise-agent-connect-client 0.1.2-dev.d2aa5ca → 0.2.1-dev.7b4e802
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/lib/index.d.ts +616 -2
- package/lib/index.js +11 -1
- package/lib/schema.d.ts +496 -7
- package/lib/steps.d.ts +40 -4
- package/lib/steps.js +15 -6
- package/lib/types.d.ts +4 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -64,6 +64,16 @@ export function createClient(options) {
|
|
|
64
64
|
},
|
|
65
65
|
branding: () => call("GET", "/branding"),
|
|
66
66
|
connectors: () => call("GET", "/connectors"),
|
|
67
|
+
/** The deployment's apps and the organization's own internal apps. */
|
|
68
|
+
orgConnectors: (o) => call("GET", `${org(o)}/connectors`),
|
|
69
|
+
internalApps: (o) => call("GET", `${org(o)}/internal-apps`),
|
|
70
|
+
internalApp: (o, a) => maybe(`${org(o)}/internal-apps/${seg(a)}`),
|
|
71
|
+
saveInternalApp: (o, a, definition, by) => call("PUT", `${org(o)}/internal-apps/${seg(a)}`, {
|
|
72
|
+
definition,
|
|
73
|
+
by,
|
|
74
|
+
}),
|
|
75
|
+
deleteInternalApp: (o, a, by) => call("DELETE", `${org(o)}/internal-apps/${seg(a)}`, { by }),
|
|
76
|
+
draftInternalApp: (body) => call("POST", "/internal-apps/draft", body),
|
|
67
77
|
providers: () => call("GET", "/providers"),
|
|
68
78
|
providerConnections: (o) => call("GET", `${org(o)}/providers`),
|
|
69
79
|
connectProvider: (o, p, body) => call("PUT", provider(o, p), body),
|
|
@@ -197,7 +207,7 @@ export function createClient(options) {
|
|
|
197
207
|
async appStates(o, connectors, connections) {
|
|
198
208
|
const apps = connectors.map((connector) => {
|
|
199
209
|
const connection = connections.find((c) => c.connectorId === connector.id) ?? null;
|
|
200
|
-
const liveSteps = chosenSteps(connector, [...connector.setup, ...connector.afterConnect], connection?.config ?? {}).filter((s) => s.live);
|
|
210
|
+
const liveSteps = chosenSteps(connector, [...connector.setup, ...connector.afterConnect], connection?.config ?? {}, connection?.capabilities ?? []).filter((s) => s.live);
|
|
201
211
|
return { connector, connection, liveSteps };
|
|
202
212
|
});
|
|
203
213
|
const liveSteps = apps.flatMap((a) => a.liveSteps);
|
package/lib/schema.d.ts
CHANGED
|
@@ -73,6 +73,76 @@ export interface paths {
|
|
|
73
73
|
patch?: never;
|
|
74
74
|
trace?: never;
|
|
75
75
|
};
|
|
76
|
+
"/orgs/{org}/connectors": {
|
|
77
|
+
parameters: {
|
|
78
|
+
query?: never;
|
|
79
|
+
header?: never;
|
|
80
|
+
path?: never;
|
|
81
|
+
cookie?: never;
|
|
82
|
+
};
|
|
83
|
+
/** The apps the organization can use: the deployment's and its own internal apps */
|
|
84
|
+
get: operations["orgConnectors"];
|
|
85
|
+
put?: never;
|
|
86
|
+
post?: never;
|
|
87
|
+
delete?: never;
|
|
88
|
+
options?: never;
|
|
89
|
+
head?: never;
|
|
90
|
+
patch?: never;
|
|
91
|
+
trace?: never;
|
|
92
|
+
};
|
|
93
|
+
"/orgs/{org}/internal-apps": {
|
|
94
|
+
parameters: {
|
|
95
|
+
query?: never;
|
|
96
|
+
header?: never;
|
|
97
|
+
path?: never;
|
|
98
|
+
cookie?: never;
|
|
99
|
+
};
|
|
100
|
+
/** The organization's own apps, as saved */
|
|
101
|
+
get: operations["internalApps"];
|
|
102
|
+
put?: never;
|
|
103
|
+
post?: never;
|
|
104
|
+
delete?: never;
|
|
105
|
+
options?: never;
|
|
106
|
+
head?: never;
|
|
107
|
+
patch?: never;
|
|
108
|
+
trace?: never;
|
|
109
|
+
};
|
|
110
|
+
"/orgs/{org}/internal-apps/{app}": {
|
|
111
|
+
parameters: {
|
|
112
|
+
query?: never;
|
|
113
|
+
header?: never;
|
|
114
|
+
path?: never;
|
|
115
|
+
cookie?: never;
|
|
116
|
+
};
|
|
117
|
+
/** One of the organization's own apps, as saved */
|
|
118
|
+
get: operations["internalApp"];
|
|
119
|
+
/** Adds or replaces one of the organization's own apps; a replace may cut or remove its connection and agents' access */
|
|
120
|
+
put: operations["saveInternalApp"];
|
|
121
|
+
post?: never;
|
|
122
|
+
/** Removes one of the organization's own apps, its connection and every agent's access to it */
|
|
123
|
+
delete: operations["deleteInternalApp"];
|
|
124
|
+
options?: never;
|
|
125
|
+
head?: never;
|
|
126
|
+
patch?: never;
|
|
127
|
+
trace?: never;
|
|
128
|
+
};
|
|
129
|
+
"/internal-apps/draft": {
|
|
130
|
+
parameters: {
|
|
131
|
+
query?: never;
|
|
132
|
+
header?: never;
|
|
133
|
+
path?: never;
|
|
134
|
+
cookie?: never;
|
|
135
|
+
};
|
|
136
|
+
get?: never;
|
|
137
|
+
put?: never;
|
|
138
|
+
/** Drafts an internal app's definition from an OpenAPI 3.x spec (JSON) */
|
|
139
|
+
post: operations["draftInternalApp"];
|
|
140
|
+
delete?: never;
|
|
141
|
+
options?: never;
|
|
142
|
+
head?: never;
|
|
143
|
+
patch?: never;
|
|
144
|
+
trace?: never;
|
|
145
|
+
};
|
|
76
146
|
"/providers": {
|
|
77
147
|
parameters: {
|
|
78
148
|
query?: never;
|
|
@@ -965,6 +1035,9 @@ export interface components {
|
|
|
965
1035
|
label: string;
|
|
966
1036
|
values: string[];
|
|
967
1037
|
warning?: string;
|
|
1038
|
+
labels?: {
|
|
1039
|
+
[key: string]: string;
|
|
1040
|
+
};
|
|
968
1041
|
};
|
|
969
1042
|
CheckOutcome: {
|
|
970
1043
|
/** @constant */
|
|
@@ -1069,6 +1142,7 @@ export interface components {
|
|
|
1069
1142
|
field: string;
|
|
1070
1143
|
value: string;
|
|
1071
1144
|
};
|
|
1145
|
+
capabilities?: string[];
|
|
1072
1146
|
}[];
|
|
1073
1147
|
afterConnect: {
|
|
1074
1148
|
title: string;
|
|
@@ -1102,6 +1176,7 @@ export interface components {
|
|
|
1102
1176
|
field: string;
|
|
1103
1177
|
value: string;
|
|
1104
1178
|
};
|
|
1179
|
+
capabilities?: string[];
|
|
1105
1180
|
}[];
|
|
1106
1181
|
fields: {
|
|
1107
1182
|
id: string;
|
|
@@ -1119,6 +1194,8 @@ export interface components {
|
|
|
1119
1194
|
field: string;
|
|
1120
1195
|
value: string;
|
|
1121
1196
|
};
|
|
1197
|
+
/** @default false */
|
|
1198
|
+
optional: boolean;
|
|
1122
1199
|
}[];
|
|
1123
1200
|
capabilities: {
|
|
1124
1201
|
id: string;
|
|
@@ -1216,6 +1293,7 @@ export interface components {
|
|
|
1216
1293
|
path: string;
|
|
1217
1294
|
label: string;
|
|
1218
1295
|
show: string;
|
|
1296
|
+
name?: string;
|
|
1219
1297
|
match?: {
|
|
1220
1298
|
[key: string]: string | number | boolean;
|
|
1221
1299
|
};
|
|
@@ -1235,6 +1313,7 @@ export interface components {
|
|
|
1235
1313
|
path: string;
|
|
1236
1314
|
label: string;
|
|
1237
1315
|
show: string;
|
|
1316
|
+
name?: string;
|
|
1238
1317
|
match?: {
|
|
1239
1318
|
[key: string]: string | number | boolean;
|
|
1240
1319
|
};
|
|
@@ -1249,8 +1328,8 @@ export interface components {
|
|
|
1249
1328
|
};
|
|
1250
1329
|
revoke: string;
|
|
1251
1330
|
http?: {
|
|
1252
|
-
/** Format: uri */
|
|
1253
1331
|
baseUrl: string;
|
|
1332
|
+
allowedHosts?: string[];
|
|
1254
1333
|
auth: {
|
|
1255
1334
|
/** @constant */
|
|
1256
1335
|
type: "header";
|
|
@@ -1274,6 +1353,9 @@ export interface components {
|
|
|
1274
1353
|
clientId: string;
|
|
1275
1354
|
clientSecret: string;
|
|
1276
1355
|
scope?: string;
|
|
1356
|
+
/** @enum {string} */
|
|
1357
|
+
clientAuth?: "body" | "basic";
|
|
1358
|
+
audience?: string;
|
|
1277
1359
|
} | {
|
|
1278
1360
|
/** @constant */
|
|
1279
1361
|
type: "query";
|
|
@@ -1284,6 +1366,10 @@ export interface components {
|
|
|
1284
1366
|
headers: {
|
|
1285
1367
|
[key: string]: string;
|
|
1286
1368
|
};
|
|
1369
|
+
/** @default {} */
|
|
1370
|
+
fieldHeaders: {
|
|
1371
|
+
[key: string]: string;
|
|
1372
|
+
};
|
|
1287
1373
|
tools: {
|
|
1288
1374
|
name: string;
|
|
1289
1375
|
description: string;
|
|
@@ -1336,7 +1422,6 @@ export interface components {
|
|
|
1336
1422
|
allowInsecureHttp: boolean;
|
|
1337
1423
|
};
|
|
1338
1424
|
soap?: {
|
|
1339
|
-
/** Format: uri */
|
|
1340
1425
|
endpoint: string;
|
|
1341
1426
|
/**
|
|
1342
1427
|
* @default 1.1
|
|
@@ -1410,8 +1495,8 @@ export interface components {
|
|
|
1410
1495
|
allowInsecureHttp: boolean;
|
|
1411
1496
|
};
|
|
1412
1497
|
odata?: {
|
|
1413
|
-
/** Format: uri */
|
|
1414
1498
|
serviceRoot: string;
|
|
1499
|
+
allowedHosts?: string[];
|
|
1415
1500
|
/** @enum {string} */
|
|
1416
1501
|
version: "2" | "4";
|
|
1417
1502
|
auth: {
|
|
@@ -1437,6 +1522,9 @@ export interface components {
|
|
|
1437
1522
|
clientId: string;
|
|
1438
1523
|
clientSecret: string;
|
|
1439
1524
|
scope?: string;
|
|
1525
|
+
/** @enum {string} */
|
|
1526
|
+
clientAuth?: "body" | "basic";
|
|
1527
|
+
audience?: string;
|
|
1440
1528
|
} | {
|
|
1441
1529
|
/** @constant */
|
|
1442
1530
|
type: "query";
|
|
@@ -1690,10 +1778,7 @@ export interface components {
|
|
|
1690
1778
|
deliveryId: string[];
|
|
1691
1779
|
types: {
|
|
1692
1780
|
type: string;
|
|
1693
|
-
|
|
1694
|
-
string,
|
|
1695
|
-
string
|
|
1696
|
-
];
|
|
1781
|
+
since?: string;
|
|
1697
1782
|
}[];
|
|
1698
1783
|
};
|
|
1699
1784
|
};
|
|
@@ -1822,6 +1907,36 @@ export interface components {
|
|
|
1822
1907
|
name: string;
|
|
1823
1908
|
detail: string | null;
|
|
1824
1909
|
};
|
|
1910
|
+
InternalApp: {
|
|
1911
|
+
id: string;
|
|
1912
|
+
organizationId: string;
|
|
1913
|
+
/** @description A connector.json with an http, soap, odata or sql block, as written (docs/http-connector.md) */
|
|
1914
|
+
definition: {
|
|
1915
|
+
[key: string]: unknown;
|
|
1916
|
+
};
|
|
1917
|
+
problem: string | null;
|
|
1918
|
+
createdBy: string;
|
|
1919
|
+
/** @description ISO 8601, UTC */
|
|
1920
|
+
createdAt: string;
|
|
1921
|
+
updatedBy: string;
|
|
1922
|
+
/** @description ISO 8601, UTC */
|
|
1923
|
+
updatedAt: string;
|
|
1924
|
+
};
|
|
1925
|
+
InternalAppDraft: {
|
|
1926
|
+
/** @description A connector.json with an http, soap, odata or sql block, as written (docs/http-connector.md) */
|
|
1927
|
+
definition: {
|
|
1928
|
+
[key: string]: unknown;
|
|
1929
|
+
};
|
|
1930
|
+
notes: string[];
|
|
1931
|
+
problem: string | null;
|
|
1932
|
+
};
|
|
1933
|
+
InternalAppSaved: {
|
|
1934
|
+
app: components["schemas"]["InternalApp"];
|
|
1935
|
+
connector: components["schemas"]["Connector"];
|
|
1936
|
+
created: boolean;
|
|
1937
|
+
disconnected: boolean;
|
|
1938
|
+
grantsRemoved: string[];
|
|
1939
|
+
};
|
|
1825
1940
|
Limits: {
|
|
1826
1941
|
[key: string]: string[] | string | {
|
|
1827
1942
|
[key: string]: string;
|
|
@@ -2450,6 +2565,380 @@ export interface operations {
|
|
|
2450
2565
|
};
|
|
2451
2566
|
};
|
|
2452
2567
|
};
|
|
2568
|
+
orgConnectors: {
|
|
2569
|
+
parameters: {
|
|
2570
|
+
query?: never;
|
|
2571
|
+
header?: never;
|
|
2572
|
+
path: {
|
|
2573
|
+
org: string;
|
|
2574
|
+
};
|
|
2575
|
+
cookie?: never;
|
|
2576
|
+
};
|
|
2577
|
+
requestBody?: never;
|
|
2578
|
+
responses: {
|
|
2579
|
+
/** @description OK */
|
|
2580
|
+
200: {
|
|
2581
|
+
headers: {
|
|
2582
|
+
[name: string]: unknown;
|
|
2583
|
+
};
|
|
2584
|
+
content: {
|
|
2585
|
+
"application/json": components["schemas"]["Connector"][];
|
|
2586
|
+
};
|
|
2587
|
+
};
|
|
2588
|
+
/** @description Refused */
|
|
2589
|
+
400: {
|
|
2590
|
+
headers: {
|
|
2591
|
+
[name: string]: unknown;
|
|
2592
|
+
};
|
|
2593
|
+
content: {
|
|
2594
|
+
"application/json": components["schemas"]["Error"];
|
|
2595
|
+
};
|
|
2596
|
+
};
|
|
2597
|
+
/** @description Refused */
|
|
2598
|
+
401: {
|
|
2599
|
+
headers: {
|
|
2600
|
+
[name: string]: unknown;
|
|
2601
|
+
};
|
|
2602
|
+
content: {
|
|
2603
|
+
"application/json": components["schemas"]["Error"];
|
|
2604
|
+
};
|
|
2605
|
+
};
|
|
2606
|
+
/** @description Refused */
|
|
2607
|
+
404: {
|
|
2608
|
+
headers: {
|
|
2609
|
+
[name: string]: unknown;
|
|
2610
|
+
};
|
|
2611
|
+
content: {
|
|
2612
|
+
"application/json": components["schemas"]["Error"];
|
|
2613
|
+
};
|
|
2614
|
+
};
|
|
2615
|
+
/** @description Refused */
|
|
2616
|
+
422: {
|
|
2617
|
+
headers: {
|
|
2618
|
+
[name: string]: unknown;
|
|
2619
|
+
};
|
|
2620
|
+
content: {
|
|
2621
|
+
"application/json": components["schemas"]["Error"];
|
|
2622
|
+
};
|
|
2623
|
+
};
|
|
2624
|
+
};
|
|
2625
|
+
};
|
|
2626
|
+
internalApps: {
|
|
2627
|
+
parameters: {
|
|
2628
|
+
query?: never;
|
|
2629
|
+
header?: never;
|
|
2630
|
+
path: {
|
|
2631
|
+
org: string;
|
|
2632
|
+
};
|
|
2633
|
+
cookie?: never;
|
|
2634
|
+
};
|
|
2635
|
+
requestBody?: never;
|
|
2636
|
+
responses: {
|
|
2637
|
+
/** @description OK */
|
|
2638
|
+
200: {
|
|
2639
|
+
headers: {
|
|
2640
|
+
[name: string]: unknown;
|
|
2641
|
+
};
|
|
2642
|
+
content: {
|
|
2643
|
+
"application/json": components["schemas"]["InternalApp"][];
|
|
2644
|
+
};
|
|
2645
|
+
};
|
|
2646
|
+
/** @description Refused */
|
|
2647
|
+
400: {
|
|
2648
|
+
headers: {
|
|
2649
|
+
[name: string]: unknown;
|
|
2650
|
+
};
|
|
2651
|
+
content: {
|
|
2652
|
+
"application/json": components["schemas"]["Error"];
|
|
2653
|
+
};
|
|
2654
|
+
};
|
|
2655
|
+
/** @description Refused */
|
|
2656
|
+
401: {
|
|
2657
|
+
headers: {
|
|
2658
|
+
[name: string]: unknown;
|
|
2659
|
+
};
|
|
2660
|
+
content: {
|
|
2661
|
+
"application/json": components["schemas"]["Error"];
|
|
2662
|
+
};
|
|
2663
|
+
};
|
|
2664
|
+
/** @description Refused */
|
|
2665
|
+
404: {
|
|
2666
|
+
headers: {
|
|
2667
|
+
[name: string]: unknown;
|
|
2668
|
+
};
|
|
2669
|
+
content: {
|
|
2670
|
+
"application/json": components["schemas"]["Error"];
|
|
2671
|
+
};
|
|
2672
|
+
};
|
|
2673
|
+
/** @description Refused */
|
|
2674
|
+
422: {
|
|
2675
|
+
headers: {
|
|
2676
|
+
[name: string]: unknown;
|
|
2677
|
+
};
|
|
2678
|
+
content: {
|
|
2679
|
+
"application/json": components["schemas"]["Error"];
|
|
2680
|
+
};
|
|
2681
|
+
};
|
|
2682
|
+
};
|
|
2683
|
+
};
|
|
2684
|
+
internalApp: {
|
|
2685
|
+
parameters: {
|
|
2686
|
+
query?: never;
|
|
2687
|
+
header?: never;
|
|
2688
|
+
path: {
|
|
2689
|
+
org: string;
|
|
2690
|
+
app: string;
|
|
2691
|
+
};
|
|
2692
|
+
cookie?: never;
|
|
2693
|
+
};
|
|
2694
|
+
requestBody?: never;
|
|
2695
|
+
responses: {
|
|
2696
|
+
/** @description OK */
|
|
2697
|
+
200: {
|
|
2698
|
+
headers: {
|
|
2699
|
+
[name: string]: unknown;
|
|
2700
|
+
};
|
|
2701
|
+
content: {
|
|
2702
|
+
"application/json": components["schemas"]["InternalApp"];
|
|
2703
|
+
};
|
|
2704
|
+
};
|
|
2705
|
+
/** @description Refused */
|
|
2706
|
+
400: {
|
|
2707
|
+
headers: {
|
|
2708
|
+
[name: string]: unknown;
|
|
2709
|
+
};
|
|
2710
|
+
content: {
|
|
2711
|
+
"application/json": components["schemas"]["Error"];
|
|
2712
|
+
};
|
|
2713
|
+
};
|
|
2714
|
+
/** @description Refused */
|
|
2715
|
+
401: {
|
|
2716
|
+
headers: {
|
|
2717
|
+
[name: string]: unknown;
|
|
2718
|
+
};
|
|
2719
|
+
content: {
|
|
2720
|
+
"application/json": components["schemas"]["Error"];
|
|
2721
|
+
};
|
|
2722
|
+
};
|
|
2723
|
+
/** @description Refused */
|
|
2724
|
+
404: {
|
|
2725
|
+
headers: {
|
|
2726
|
+
[name: string]: unknown;
|
|
2727
|
+
};
|
|
2728
|
+
content: {
|
|
2729
|
+
"application/json": components["schemas"]["Error"];
|
|
2730
|
+
};
|
|
2731
|
+
};
|
|
2732
|
+
/** @description Refused */
|
|
2733
|
+
422: {
|
|
2734
|
+
headers: {
|
|
2735
|
+
[name: string]: unknown;
|
|
2736
|
+
};
|
|
2737
|
+
content: {
|
|
2738
|
+
"application/json": components["schemas"]["Error"];
|
|
2739
|
+
};
|
|
2740
|
+
};
|
|
2741
|
+
};
|
|
2742
|
+
};
|
|
2743
|
+
saveInternalApp: {
|
|
2744
|
+
parameters: {
|
|
2745
|
+
query?: never;
|
|
2746
|
+
header?: never;
|
|
2747
|
+
path: {
|
|
2748
|
+
org: string;
|
|
2749
|
+
app: string;
|
|
2750
|
+
};
|
|
2751
|
+
cookie?: never;
|
|
2752
|
+
};
|
|
2753
|
+
requestBody: {
|
|
2754
|
+
content: {
|
|
2755
|
+
"application/json": {
|
|
2756
|
+
/** @description A connector.json with an http, soap, odata or sql block, as written (docs/http-connector.md) */
|
|
2757
|
+
definition: {
|
|
2758
|
+
[key: string]: unknown;
|
|
2759
|
+
};
|
|
2760
|
+
by: string;
|
|
2761
|
+
};
|
|
2762
|
+
};
|
|
2763
|
+
};
|
|
2764
|
+
responses: {
|
|
2765
|
+
/** @description OK */
|
|
2766
|
+
200: {
|
|
2767
|
+
headers: {
|
|
2768
|
+
[name: string]: unknown;
|
|
2769
|
+
};
|
|
2770
|
+
content: {
|
|
2771
|
+
"application/json": components["schemas"]["InternalAppSaved"];
|
|
2772
|
+
};
|
|
2773
|
+
};
|
|
2774
|
+
/** @description Refused */
|
|
2775
|
+
400: {
|
|
2776
|
+
headers: {
|
|
2777
|
+
[name: string]: unknown;
|
|
2778
|
+
};
|
|
2779
|
+
content: {
|
|
2780
|
+
"application/json": components["schemas"]["Error"];
|
|
2781
|
+
};
|
|
2782
|
+
};
|
|
2783
|
+
/** @description Refused */
|
|
2784
|
+
401: {
|
|
2785
|
+
headers: {
|
|
2786
|
+
[name: string]: unknown;
|
|
2787
|
+
};
|
|
2788
|
+
content: {
|
|
2789
|
+
"application/json": components["schemas"]["Error"];
|
|
2790
|
+
};
|
|
2791
|
+
};
|
|
2792
|
+
/** @description Refused */
|
|
2793
|
+
404: {
|
|
2794
|
+
headers: {
|
|
2795
|
+
[name: string]: unknown;
|
|
2796
|
+
};
|
|
2797
|
+
content: {
|
|
2798
|
+
"application/json": components["schemas"]["Error"];
|
|
2799
|
+
};
|
|
2800
|
+
};
|
|
2801
|
+
/** @description Refused */
|
|
2802
|
+
422: {
|
|
2803
|
+
headers: {
|
|
2804
|
+
[name: string]: unknown;
|
|
2805
|
+
};
|
|
2806
|
+
content: {
|
|
2807
|
+
"application/json": components["schemas"]["Error"];
|
|
2808
|
+
};
|
|
2809
|
+
};
|
|
2810
|
+
};
|
|
2811
|
+
};
|
|
2812
|
+
deleteInternalApp: {
|
|
2813
|
+
parameters: {
|
|
2814
|
+
query?: never;
|
|
2815
|
+
header?: never;
|
|
2816
|
+
path: {
|
|
2817
|
+
org: string;
|
|
2818
|
+
app: string;
|
|
2819
|
+
};
|
|
2820
|
+
cookie?: never;
|
|
2821
|
+
};
|
|
2822
|
+
requestBody: {
|
|
2823
|
+
content: {
|
|
2824
|
+
"application/json": {
|
|
2825
|
+
by: string;
|
|
2826
|
+
};
|
|
2827
|
+
};
|
|
2828
|
+
};
|
|
2829
|
+
responses: {
|
|
2830
|
+
/** @description OK */
|
|
2831
|
+
204: {
|
|
2832
|
+
headers: {
|
|
2833
|
+
[name: string]: unknown;
|
|
2834
|
+
};
|
|
2835
|
+
content?: never;
|
|
2836
|
+
};
|
|
2837
|
+
/** @description Refused */
|
|
2838
|
+
400: {
|
|
2839
|
+
headers: {
|
|
2840
|
+
[name: string]: unknown;
|
|
2841
|
+
};
|
|
2842
|
+
content: {
|
|
2843
|
+
"application/json": components["schemas"]["Error"];
|
|
2844
|
+
};
|
|
2845
|
+
};
|
|
2846
|
+
/** @description Refused */
|
|
2847
|
+
401: {
|
|
2848
|
+
headers: {
|
|
2849
|
+
[name: string]: unknown;
|
|
2850
|
+
};
|
|
2851
|
+
content: {
|
|
2852
|
+
"application/json": components["schemas"]["Error"];
|
|
2853
|
+
};
|
|
2854
|
+
};
|
|
2855
|
+
/** @description Refused */
|
|
2856
|
+
404: {
|
|
2857
|
+
headers: {
|
|
2858
|
+
[name: string]: unknown;
|
|
2859
|
+
};
|
|
2860
|
+
content: {
|
|
2861
|
+
"application/json": components["schemas"]["Error"];
|
|
2862
|
+
};
|
|
2863
|
+
};
|
|
2864
|
+
/** @description Refused */
|
|
2865
|
+
422: {
|
|
2866
|
+
headers: {
|
|
2867
|
+
[name: string]: unknown;
|
|
2868
|
+
};
|
|
2869
|
+
content: {
|
|
2870
|
+
"application/json": components["schemas"]["Error"];
|
|
2871
|
+
};
|
|
2872
|
+
};
|
|
2873
|
+
};
|
|
2874
|
+
};
|
|
2875
|
+
draftInternalApp: {
|
|
2876
|
+
parameters: {
|
|
2877
|
+
query?: never;
|
|
2878
|
+
header?: never;
|
|
2879
|
+
path?: never;
|
|
2880
|
+
cookie?: never;
|
|
2881
|
+
};
|
|
2882
|
+
requestBody: {
|
|
2883
|
+
content: {
|
|
2884
|
+
"application/json": {
|
|
2885
|
+
spec: {
|
|
2886
|
+
[key: string]: unknown;
|
|
2887
|
+
};
|
|
2888
|
+
id: string;
|
|
2889
|
+
operations?: string[];
|
|
2890
|
+
tags?: string[];
|
|
2891
|
+
};
|
|
2892
|
+
};
|
|
2893
|
+
};
|
|
2894
|
+
responses: {
|
|
2895
|
+
/** @description OK */
|
|
2896
|
+
200: {
|
|
2897
|
+
headers: {
|
|
2898
|
+
[name: string]: unknown;
|
|
2899
|
+
};
|
|
2900
|
+
content: {
|
|
2901
|
+
"application/json": components["schemas"]["InternalAppDraft"];
|
|
2902
|
+
};
|
|
2903
|
+
};
|
|
2904
|
+
/** @description Refused */
|
|
2905
|
+
400: {
|
|
2906
|
+
headers: {
|
|
2907
|
+
[name: string]: unknown;
|
|
2908
|
+
};
|
|
2909
|
+
content: {
|
|
2910
|
+
"application/json": components["schemas"]["Error"];
|
|
2911
|
+
};
|
|
2912
|
+
};
|
|
2913
|
+
/** @description Refused */
|
|
2914
|
+
401: {
|
|
2915
|
+
headers: {
|
|
2916
|
+
[name: string]: unknown;
|
|
2917
|
+
};
|
|
2918
|
+
content: {
|
|
2919
|
+
"application/json": components["schemas"]["Error"];
|
|
2920
|
+
};
|
|
2921
|
+
};
|
|
2922
|
+
/** @description Refused */
|
|
2923
|
+
404: {
|
|
2924
|
+
headers: {
|
|
2925
|
+
[name: string]: unknown;
|
|
2926
|
+
};
|
|
2927
|
+
content: {
|
|
2928
|
+
"application/json": components["schemas"]["Error"];
|
|
2929
|
+
};
|
|
2930
|
+
};
|
|
2931
|
+
/** @description Refused */
|
|
2932
|
+
422: {
|
|
2933
|
+
headers: {
|
|
2934
|
+
[name: string]: unknown;
|
|
2935
|
+
};
|
|
2936
|
+
content: {
|
|
2937
|
+
"application/json": components["schemas"]["Error"];
|
|
2938
|
+
};
|
|
2939
|
+
};
|
|
2940
|
+
};
|
|
2941
|
+
};
|
|
2453
2942
|
providers: {
|
|
2454
2943
|
parameters: {
|
|
2455
2944
|
query?: never;
|