@qlik/api 0.0.8 → 0.0.10
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/api-keys.d.mts +10 -1
- package/api-keys.d.ts +10 -1
- package/api-keys.js +11 -11
- package/api-keys.mjs +3 -3
- package/apps.d.mts +134 -8
- package/apps.d.ts +134 -8
- package/apps.js +47 -47
- package/apps.mjs +3 -3
- package/audits.d.mts +14 -1
- package/audits.d.ts +14 -1
- package/audits.js +10 -10
- package/audits.mjs +3 -3
- package/auth.js +4 -4
- package/auth.mjs +3 -3
- package/automations.d.mts +9 -1
- package/automations.d.ts +9 -1
- package/automations.js +22 -22
- package/automations.mjs +3 -3
- package/brands.d.mts +19 -4
- package/brands.d.ts +19 -4
- package/brands.js +16 -16
- package/brands.mjs +3 -3
- package/{enigma-session-VSFGLOYW.mjs → chunks/34FMVD4C.mjs} +165 -21
- package/{chunk-QTCDGPKS.js → chunks/37PLWNAN.js} +82 -60
- package/{chunk-GY2TAYQH.js → chunks/3MHXEHLQ.js} +2 -2
- package/{invoke-fetch-X42FV2FS.mjs → chunks/42LZKDDD.mjs} +2 -2
- package/{enigma-session-VTHT4O6N.js → chunks/AVQ3WHH7.js} +168 -24
- package/{chunk-BRDPNGQ7.js → chunks/FG5GDUSZ.js} +3 -3
- package/{chunk-4R2XCEVK.mjs → chunks/FUU5VIC4.mjs} +1 -1
- package/{esm-HMY2LVVZ.mjs → chunks/H32EGPZN.mjs} +1 -1
- package/{qix-57OF6A7B.mjs → chunks/HFNJ3ERI.mjs} +3 -3
- package/{chunk-4MWB2T3C.mjs → chunks/HWZC3PIL.mjs} +1 -1
- package/{chunk-RYBRKLOY.js → chunks/ILOY5QEA.js} +4 -4
- package/{chunk-YILVC32M.mjs → chunks/KEPPVUY3.mjs} +1 -1
- package/{auth-U6QTT3H4.mjs → chunks/MMUU2CQM.mjs} +2 -2
- package/{chunk-LLLEO6K6.mjs → chunks/O5POHH2Q.mjs} +3 -3
- package/{chunk-EALMXU6S.js → chunks/QMWU5E4D.js} +3 -3
- package/chunks/RMNAO4DP.js +17 -0
- package/chunks/SUYUL6MB.js +41 -0
- package/{chunk-F24SLAYP.mjs → chunks/VMS4MOCI.mjs} +79 -57
- package/{qix-QWSMFPQY.js → chunks/WCJ4JQHA.js} +9 -9
- package/{esm-PXQUPJYJ.js → chunks/WM2VCN4G.js} +1 -1
- package/collections.d.mts +34 -22
- package/collections.d.ts +34 -22
- package/collections.js +15 -15
- package/collections.mjs +3 -3
- package/csp-origins.d.mts +1 -1
- package/csp-origins.d.ts +1 -1
- package/csp-origins.js +10 -10
- package/csp-origins.mjs +3 -3
- package/data-assets.d.mts +1 -1
- package/data-assets.d.ts +1 -1
- package/data-assets.js +9 -9
- package/data-assets.mjs +3 -3
- package/data-connections.d.mts +13 -2
- package/data-connections.d.ts +13 -2
- package/data-connections.js +13 -13
- package/data-connections.mjs +3 -3
- package/data-credentials.d.mts +6 -1
- package/data-credentials.d.ts +6 -1
- package/data-credentials.js +8 -8
- package/data-credentials.mjs +3 -3
- package/data-files.d.mts +7 -1
- package/data-files.d.ts +7 -1
- package/data-files.js +16 -16
- package/data-files.mjs +3 -3
- package/extensions.d.mts +13 -1
- package/extensions.d.ts +13 -1
- package/extensions.js +11 -11
- package/extensions.mjs +3 -3
- package/{global.types-4jzAvW7R.d.mts → global.types-5iFvFJvX.d.mts} +5 -1
- package/{global.types-1rNhDH7j.d.ts → global.types-TzVhFPid.d.ts} +5 -1
- package/glossaries.d.mts +51 -1
- package/glossaries.d.ts +51 -1
- package/glossaries.js +28 -28
- package/glossaries.mjs +3 -3
- package/groups.d.mts +40 -1
- package/groups.d.ts +40 -1
- package/groups.js +12 -12
- package/groups.mjs +3 -3
- package/identity-providers.d.mts +43 -1
- package/identity-providers.d.ts +43 -1
- package/identity-providers.js +12 -12
- package/identity-providers.mjs +3 -3
- package/index.d.mts +1 -1
- package/index.d.ts +1 -1
- package/index.js +9 -9
- package/index.mjs +5 -5
- package/items.d.mts +33 -2
- package/items.d.ts +33 -2
- package/items.js +12 -12
- package/items.mjs +3 -3
- package/licenses.d.mts +8 -5
- package/licenses.d.ts +8 -5
- package/licenses.js +13 -13
- package/licenses.mjs +3 -3
- package/package.json +4 -1
- package/qix.d.mts +20 -2
- package/qix.d.ts +20 -2
- package/qix.js +4 -4
- package/qix.mjs +3 -3
- package/quotas.d.mts +4 -1
- package/quotas.d.ts +4 -1
- package/quotas.js +6 -6
- package/quotas.mjs +3 -3
- package/reload-tasks.d.mts +7 -4
- package/reload-tasks.d.ts +7 -4
- package/reload-tasks.js +9 -9
- package/reload-tasks.mjs +3 -3
- package/reloads.d.mts +10 -1
- package/reloads.d.ts +10 -1
- package/reloads.js +8 -8
- package/reloads.mjs +3 -3
- package/roles.d.mts +11 -2
- package/roles.d.ts +11 -2
- package/roles.js +6 -6
- package/roles.mjs +3 -3
- package/spaces.d.mts +38 -6
- package/spaces.d.ts +38 -6
- package/spaces.js +16 -16
- package/spaces.mjs +3 -3
- package/temp-contents.d.mts +7 -1
- package/temp-contents.d.ts +7 -1
- package/temp-contents.js +7 -7
- package/temp-contents.mjs +3 -3
- package/tenants.d.mts +18 -6
- package/tenants.d.ts +18 -6
- package/tenants.js +10 -10
- package/tenants.mjs +3 -3
- package/themes.d.mts +10 -1
- package/themes.d.ts +10 -1
- package/themes.js +11 -11
- package/themes.mjs +3 -3
- package/transports.d.mts +21 -12
- package/transports.d.ts +21 -12
- package/transports.js +10 -10
- package/transports.mjs +3 -3
- package/users.d.mts +90 -25
- package/users.d.ts +90 -25
- package/users.js +14 -14
- package/users.mjs +3 -3
- package/web-integrations.d.mts +19 -1
- package/web-integrations.d.ts +19 -1
- package/web-integrations.js +9 -9
- package/web-integrations.mjs +3 -3
- package/web-notifications.d.mts +19 -1
- package/web-notifications.d.ts +19 -1
- package/web-notifications.js +10 -10
- package/web-notifications.mjs +3 -3
- package/webhooks.d.mts +4 -1
- package/webhooks.d.ts +4 -1
- package/webhooks.js +14 -14
- package/webhooks.mjs +3 -3
- package/auth-XY6FVSVM.js +0 -41
- package/invoke-fetch-FRLO3CK6.js +0 -17
- /package/{chunk-P57PW2II.js → chunks/4HB3TAEO.js} +0 -0
- /package/{chunk-ZFXKCRJC.mjs → chunks/VSY5YIQY.mjs} +0 -0
package/audits.d.mts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
|
|
2
2
|
import './auth-types-nnUcWhuU.mjs';
|
|
3
3
|
|
|
4
4
|
type ErrorResponse = {
|
|
5
|
+
/** @deprecated */
|
|
5
6
|
error?: string;
|
|
6
7
|
errors?: {
|
|
7
8
|
code?: string;
|
|
@@ -10,6 +11,9 @@ type ErrorResponse = {
|
|
|
10
11
|
}[];
|
|
11
12
|
traceId?: string;
|
|
12
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* The availability of the properties depends on the event and the context it was triggered in.
|
|
16
|
+
*/
|
|
13
17
|
type EventExtensions = {
|
|
14
18
|
/** Specifies the entity performing the action on behalf of another party listed as triggering the action. */
|
|
15
19
|
actor?: {
|
|
@@ -57,6 +61,7 @@ type GetByIDResult = {
|
|
|
57
61
|
userId?: string;
|
|
58
62
|
};
|
|
59
63
|
type GetLinks = {
|
|
64
|
+
/** @deprecated */
|
|
60
65
|
Self?: Href;
|
|
61
66
|
self?: Href;
|
|
62
67
|
};
|
|
@@ -79,12 +84,20 @@ type GetSettingsResult = {
|
|
|
79
84
|
EventTTL?: number;
|
|
80
85
|
};
|
|
81
86
|
};
|
|
87
|
+
/**
|
|
88
|
+
* @deprecated
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
82
91
|
type Href = {
|
|
92
|
+
/** @deprecated */
|
|
83
93
|
Href?: string;
|
|
84
94
|
};
|
|
85
95
|
type ListLinks = {
|
|
96
|
+
/** @deprecated */
|
|
86
97
|
Next?: Href;
|
|
98
|
+
/** @deprecated */
|
|
87
99
|
Prev?: Href;
|
|
100
|
+
/** @deprecated */
|
|
88
101
|
Self?: Href;
|
|
89
102
|
next?: Href;
|
|
90
103
|
prev?: Href;
|
package/audits.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
|
|
2
2
|
import './auth-types-nnUcWhuU.js';
|
|
3
3
|
|
|
4
4
|
type ErrorResponse = {
|
|
5
|
+
/** @deprecated */
|
|
5
6
|
error?: string;
|
|
6
7
|
errors?: {
|
|
7
8
|
code?: string;
|
|
@@ -10,6 +11,9 @@ type ErrorResponse = {
|
|
|
10
11
|
}[];
|
|
11
12
|
traceId?: string;
|
|
12
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* The availability of the properties depends on the event and the context it was triggered in.
|
|
16
|
+
*/
|
|
13
17
|
type EventExtensions = {
|
|
14
18
|
/** Specifies the entity performing the action on behalf of another party listed as triggering the action. */
|
|
15
19
|
actor?: {
|
|
@@ -57,6 +61,7 @@ type GetByIDResult = {
|
|
|
57
61
|
userId?: string;
|
|
58
62
|
};
|
|
59
63
|
type GetLinks = {
|
|
64
|
+
/** @deprecated */
|
|
60
65
|
Self?: Href;
|
|
61
66
|
self?: Href;
|
|
62
67
|
};
|
|
@@ -79,12 +84,20 @@ type GetSettingsResult = {
|
|
|
79
84
|
EventTTL?: number;
|
|
80
85
|
};
|
|
81
86
|
};
|
|
87
|
+
/**
|
|
88
|
+
* @deprecated
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
82
91
|
type Href = {
|
|
92
|
+
/** @deprecated */
|
|
83
93
|
Href?: string;
|
|
84
94
|
};
|
|
85
95
|
type ListLinks = {
|
|
96
|
+
/** @deprecated */
|
|
86
97
|
Next?: Href;
|
|
98
|
+
/** @deprecated */
|
|
87
99
|
Prev?: Href;
|
|
100
|
+
/** @deprecated */
|
|
88
101
|
Self?: Href;
|
|
89
102
|
next?: Href;
|
|
90
103
|
prev?: Href;
|
package/audits.js
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./
|
|
6
|
-
require('./
|
|
4
|
+
var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
|
|
5
|
+
require('./chunks/FG5GDUSZ.js');
|
|
6
|
+
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/audits.ts
|
|
9
|
-
var getAudits = async (query, options) =>
|
|
9
|
+
var getAudits = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "audits", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/audits",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var getArchivedAudits = async (query, options) =>
|
|
15
|
+
var getArchivedAudits = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "audits", {
|
|
16
16
|
method: "get",
|
|
17
17
|
pathTemplate: "/api/v1/audits/archive",
|
|
18
18
|
query,
|
|
19
19
|
options
|
|
20
20
|
});
|
|
21
|
-
var getAuditsSettings = async (options) =>
|
|
21
|
+
var getAuditsSettings = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "audits", {
|
|
22
22
|
method: "get",
|
|
23
23
|
pathTemplate: "/api/v1/audits/settings",
|
|
24
24
|
options
|
|
25
25
|
});
|
|
26
|
-
var getAuditSources = async (options) =>
|
|
26
|
+
var getAuditSources = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "audits", {
|
|
27
27
|
method: "get",
|
|
28
28
|
pathTemplate: "/api/v1/audits/sources",
|
|
29
29
|
options
|
|
30
30
|
});
|
|
31
|
-
var getAuditTypes = async (options) =>
|
|
31
|
+
var getAuditTypes = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "audits", {
|
|
32
32
|
method: "get",
|
|
33
33
|
pathTemplate: "/api/v1/audits/types",
|
|
34
34
|
options
|
|
35
35
|
});
|
|
36
|
-
var getAudit = async (id, options) =>
|
|
36
|
+
var getAudit = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "audits", {
|
|
37
37
|
method: "get",
|
|
38
38
|
pathTemplate: "/api/v1/audits/{id}",
|
|
39
39
|
pathVariables: { id },
|
|
40
40
|
options
|
|
41
41
|
});
|
|
42
42
|
function clearCache() {
|
|
43
|
-
return
|
|
43
|
+
return _QMWU5E4Djs.clearApiCache.call(void 0, "audits");
|
|
44
44
|
}
|
|
45
45
|
var auditsExport = {
|
|
46
46
|
getAudits,
|
package/audits.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
4
|
+
} from "./chunks/HWZC3PIL.mjs";
|
|
5
|
+
import "./chunks/O5POHH2Q.mjs";
|
|
6
|
+
import "./chunks/VSY5YIQY.mjs";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/audits.ts
|
|
9
9
|
var getAudits = async (query, options) => invokeFetch("audits", {
|
package/auth.js
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('./
|
|
8
|
-
require('./
|
|
6
|
+
var _ILOY5QEAjs = require('./chunks/ILOY5QEA.js');
|
|
7
|
+
require('./chunks/FG5GDUSZ.js');
|
|
8
|
+
require('./chunks/4HB3TAEO.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.default =
|
|
14
|
+
exports.default = _ILOY5QEAjs.auth_default; exports.logout = _ILOY5QEAjs.logout; exports.registerAuthModule = _ILOY5QEAjs.registerAuthModule; exports.setDefaultHostConfig = _ILOY5QEAjs.setDefaultHostConfig;
|
package/auth.mjs
CHANGED
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
logout,
|
|
4
4
|
registerAuthModule,
|
|
5
5
|
setDefaultHostConfig
|
|
6
|
-
} from "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
6
|
+
} from "./chunks/FUU5VIC4.mjs";
|
|
7
|
+
import "./chunks/O5POHH2Q.mjs";
|
|
8
|
+
import "./chunks/VSY5YIQY.mjs";
|
|
9
9
|
export {
|
|
10
10
|
auth_default as default,
|
|
11
11
|
logout,
|
package/automations.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
|
|
2
2
|
import './auth-types-nnUcWhuU.mjs';
|
|
3
3
|
|
|
4
4
|
type AutomationDetailRequestObject = {
|
|
@@ -217,6 +217,8 @@ type CreateAutomationHttpError = {
|
|
|
217
217
|
status: number;
|
|
218
218
|
};
|
|
219
219
|
/**
|
|
220
|
+
* @deprecated
|
|
221
|
+
*
|
|
220
222
|
* Retrieves the automation settings.
|
|
221
223
|
*
|
|
222
224
|
* @throws GetAutomationsSettingsHttpError
|
|
@@ -233,6 +235,8 @@ type GetAutomationsSettingsHttpError = {
|
|
|
233
235
|
status: number;
|
|
234
236
|
};
|
|
235
237
|
/**
|
|
238
|
+
* @deprecated
|
|
239
|
+
*
|
|
236
240
|
* Update the automation settings.
|
|
237
241
|
*
|
|
238
242
|
* @param body an object with the body content
|
|
@@ -541,12 +545,16 @@ interface AutomationsAPI {
|
|
|
541
545
|
*/
|
|
542
546
|
createAutomation: typeof createAutomation;
|
|
543
547
|
/**
|
|
548
|
+
* @deprecated
|
|
549
|
+
*
|
|
544
550
|
* Retrieves the automation settings.
|
|
545
551
|
*
|
|
546
552
|
* @throws GetAutomationsSettingsHttpError
|
|
547
553
|
*/
|
|
548
554
|
getAutomationsSettings: typeof getAutomationsSettings;
|
|
549
555
|
/**
|
|
556
|
+
* @deprecated
|
|
557
|
+
*
|
|
550
558
|
* Update the automation settings.
|
|
551
559
|
*
|
|
552
560
|
* @param body an object with the body content
|
package/automations.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
|
|
2
2
|
import './auth-types-nnUcWhuU.js';
|
|
3
3
|
|
|
4
4
|
type AutomationDetailRequestObject = {
|
|
@@ -217,6 +217,8 @@ type CreateAutomationHttpError = {
|
|
|
217
217
|
status: number;
|
|
218
218
|
};
|
|
219
219
|
/**
|
|
220
|
+
* @deprecated
|
|
221
|
+
*
|
|
220
222
|
* Retrieves the automation settings.
|
|
221
223
|
*
|
|
222
224
|
* @throws GetAutomationsSettingsHttpError
|
|
@@ -233,6 +235,8 @@ type GetAutomationsSettingsHttpError = {
|
|
|
233
235
|
status: number;
|
|
234
236
|
};
|
|
235
237
|
/**
|
|
238
|
+
* @deprecated
|
|
239
|
+
*
|
|
236
240
|
* Update the automation settings.
|
|
237
241
|
*
|
|
238
242
|
* @param body an object with the body content
|
|
@@ -541,12 +545,16 @@ interface AutomationsAPI {
|
|
|
541
545
|
*/
|
|
542
546
|
createAutomation: typeof createAutomation;
|
|
543
547
|
/**
|
|
548
|
+
* @deprecated
|
|
549
|
+
*
|
|
544
550
|
* Retrieves the automation settings.
|
|
545
551
|
*
|
|
546
552
|
* @throws GetAutomationsSettingsHttpError
|
|
547
553
|
*/
|
|
548
554
|
getAutomationsSettings: typeof getAutomationsSettings;
|
|
549
555
|
/**
|
|
556
|
+
* @deprecated
|
|
557
|
+
*
|
|
550
558
|
* Update the automation settings.
|
|
551
559
|
*
|
|
552
560
|
* @param body an object with the body content
|
package/automations.js
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./
|
|
6
|
-
require('./
|
|
4
|
+
var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
|
|
5
|
+
require('./chunks/FG5GDUSZ.js');
|
|
6
|
+
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/automations.ts
|
|
9
|
-
var getAutomations = async (query, options) =>
|
|
9
|
+
var getAutomations = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/automations",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var createAutomation = async (body, options) =>
|
|
15
|
+
var createAutomation = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/automations",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var getAutomationsSettings = async (options) =>
|
|
22
|
+
var getAutomationsSettings = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
|
|
23
23
|
method: "get",
|
|
24
24
|
pathTemplate: "/api/v1/automations/settings",
|
|
25
25
|
options
|
|
26
26
|
});
|
|
27
|
-
var updateAutomationsSettings = async (body, options) =>
|
|
27
|
+
var updateAutomationsSettings = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
|
|
28
28
|
method: "put",
|
|
29
29
|
pathTemplate: "/api/v1/automations/settings",
|
|
30
30
|
body,
|
|
31
31
|
contentType: "application/json",
|
|
32
32
|
options
|
|
33
33
|
});
|
|
34
|
-
var getAutomationsUsageMetrics = async (query, options) =>
|
|
34
|
+
var getAutomationsUsageMetrics = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
|
|
35
35
|
method: "get",
|
|
36
36
|
pathTemplate: "/api/v1/automations/usage",
|
|
37
37
|
query,
|
|
38
38
|
options
|
|
39
39
|
});
|
|
40
|
-
var deleteAutomation = async (id, options) =>
|
|
40
|
+
var deleteAutomation = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
|
|
41
41
|
method: "delete",
|
|
42
42
|
pathTemplate: "/api/v1/automations/{id}",
|
|
43
43
|
pathVariables: { id },
|
|
44
44
|
options
|
|
45
45
|
});
|
|
46
|
-
var getAutomation = async (id, options) =>
|
|
46
|
+
var getAutomation = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
|
|
47
47
|
method: "get",
|
|
48
48
|
pathTemplate: "/api/v1/automations/{id}",
|
|
49
49
|
pathVariables: { id },
|
|
50
50
|
options
|
|
51
51
|
});
|
|
52
|
-
var updateAutomation = async (id, body, options) =>
|
|
52
|
+
var updateAutomation = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
|
|
53
53
|
method: "put",
|
|
54
54
|
pathTemplate: "/api/v1/automations/{id}",
|
|
55
55
|
pathVariables: { id },
|
|
@@ -57,7 +57,7 @@ var updateAutomation = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch
|
|
|
57
57
|
contentType: "application/json",
|
|
58
58
|
options
|
|
59
59
|
});
|
|
60
|
-
var copyAutomation = async (id, body, options) =>
|
|
60
|
+
var copyAutomation = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
|
|
61
61
|
method: "post",
|
|
62
62
|
pathTemplate: "/api/v1/automations/{id}/actions/copy",
|
|
63
63
|
pathVariables: { id },
|
|
@@ -65,19 +65,19 @@ var copyAutomation = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch.c
|
|
|
65
65
|
contentType: "application/json",
|
|
66
66
|
options
|
|
67
67
|
});
|
|
68
|
-
var disableAutomation = async (id, options) =>
|
|
68
|
+
var disableAutomation = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
|
|
69
69
|
method: "post",
|
|
70
70
|
pathTemplate: "/api/v1/automations/{id}/actions/disable",
|
|
71
71
|
pathVariables: { id },
|
|
72
72
|
options
|
|
73
73
|
});
|
|
74
|
-
var enableAutomation = async (id, options) =>
|
|
74
|
+
var enableAutomation = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
|
|
75
75
|
method: "post",
|
|
76
76
|
pathTemplate: "/api/v1/automations/{id}/actions/enable",
|
|
77
77
|
pathVariables: { id },
|
|
78
78
|
options
|
|
79
79
|
});
|
|
80
|
-
var moveAutomation = async (id, body, options) =>
|
|
80
|
+
var moveAutomation = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
|
|
81
81
|
method: "post",
|
|
82
82
|
pathTemplate: "/api/v1/automations/{id}/actions/move",
|
|
83
83
|
pathVariables: { id },
|
|
@@ -85,14 +85,14 @@ var moveAutomation = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch.c
|
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
options
|
|
87
87
|
});
|
|
88
|
-
var getAutomationRuns = async (id, query, options) =>
|
|
88
|
+
var getAutomationRuns = async (id, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
|
|
89
89
|
method: "get",
|
|
90
90
|
pathTemplate: "/api/v1/automations/{id}/runs",
|
|
91
91
|
pathVariables: { id },
|
|
92
92
|
query,
|
|
93
93
|
options
|
|
94
94
|
});
|
|
95
|
-
var queueAutomationRun = async (id, body, options) =>
|
|
95
|
+
var queueAutomationRun = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
|
|
96
96
|
method: "post",
|
|
97
97
|
pathTemplate: "/api/v1/automations/{id}/runs",
|
|
98
98
|
pathVariables: { id },
|
|
@@ -100,32 +100,32 @@ var queueAutomationRun = async (id, body, options) => _chunkEALMXU6Sjs.invokeFet
|
|
|
100
100
|
contentType: "application/json",
|
|
101
101
|
options
|
|
102
102
|
});
|
|
103
|
-
var getAutomationRun = async (id, runId, options) =>
|
|
103
|
+
var getAutomationRun = async (id, runId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
|
|
104
104
|
method: "get",
|
|
105
105
|
pathTemplate: "/api/v1/automations/{id}/runs/{runId}",
|
|
106
106
|
pathVariables: { id, runId },
|
|
107
107
|
options
|
|
108
108
|
});
|
|
109
|
-
var getAutomationRunDetails = async (id, runId, options) =>
|
|
109
|
+
var getAutomationRunDetails = async (id, runId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
|
|
110
110
|
method: "post",
|
|
111
111
|
pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/export",
|
|
112
112
|
pathVariables: { id, runId },
|
|
113
113
|
options
|
|
114
114
|
});
|
|
115
|
-
var retryAutomationRun = async (id, runId, options) =>
|
|
115
|
+
var retryAutomationRun = async (id, runId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
|
|
116
116
|
method: "post",
|
|
117
117
|
pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/retry",
|
|
118
118
|
pathVariables: { id, runId },
|
|
119
119
|
options
|
|
120
120
|
});
|
|
121
|
-
var stopAutomationRun = async (id, runId, options) =>
|
|
121
|
+
var stopAutomationRun = async (id, runId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
|
|
122
122
|
method: "post",
|
|
123
123
|
pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/stop",
|
|
124
124
|
pathVariables: { id, runId },
|
|
125
125
|
options
|
|
126
126
|
});
|
|
127
127
|
function clearCache() {
|
|
128
|
-
return
|
|
128
|
+
return _QMWU5E4Djs.clearApiCache.call(void 0, "automations");
|
|
129
129
|
}
|
|
130
130
|
var automationsExport = {
|
|
131
131
|
getAutomations,
|
package/automations.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
4
|
+
} from "./chunks/HWZC3PIL.mjs";
|
|
5
|
+
import "./chunks/O5POHH2Q.mjs";
|
|
6
|
+
import "./chunks/VSY5YIQY.mjs";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/automations.ts
|
|
9
9
|
var getAutomations = async (query, options) => invokeFetch("automations", {
|
package/brands.d.mts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
1
|
+
import { A as ApiCallOptions, D as DownloadableBlob } from './global.types-5iFvFJvX.mjs';
|
|
2
2
|
import './auth-types-nnUcWhuU.mjs';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* A brand is a collection of assets for applying custom branding. Only a single brand can be active in a tenant.
|
|
6
|
+
*/
|
|
4
7
|
type Brand = {
|
|
5
8
|
readonly active?: boolean;
|
|
6
9
|
/** The UTC timestamp when the brand was created. */
|
|
@@ -17,12 +20,18 @@ type Brand = {
|
|
|
17
20
|
/** ID of a user that last updated the brand. */
|
|
18
21
|
readonly updatedBy?: string;
|
|
19
22
|
};
|
|
23
|
+
/**
|
|
24
|
+
* Represents one of the assets used as part of the brand. These include logos, favicons, and some styles.
|
|
25
|
+
*/
|
|
20
26
|
type BrandFile = {
|
|
21
27
|
contentType?: string;
|
|
22
28
|
eTag?: string;
|
|
23
29
|
id?: "logo" | "favIcon" | "styles";
|
|
24
30
|
path?: string;
|
|
25
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
* A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.
|
|
34
|
+
*/
|
|
26
35
|
type BrandPatch = {
|
|
27
36
|
/** The operation to be performed. */
|
|
28
37
|
op: "add" | "remove" | "replace";
|
|
@@ -31,6 +40,9 @@ type BrandPatch = {
|
|
|
31
40
|
/** The value to be used for this operation. */
|
|
32
41
|
value?: string;
|
|
33
42
|
};
|
|
43
|
+
/**
|
|
44
|
+
* A collection of brands.
|
|
45
|
+
*/
|
|
34
46
|
type BrandsList = {
|
|
35
47
|
data?: Brand[];
|
|
36
48
|
links?: {
|
|
@@ -83,6 +95,9 @@ type Link = {
|
|
|
83
95
|
/** URL of a resource request. */
|
|
84
96
|
href: string;
|
|
85
97
|
};
|
|
98
|
+
/**
|
|
99
|
+
* Empty object inferring lack of active branding.
|
|
100
|
+
*/
|
|
86
101
|
type NoActiveBrand = unknown;
|
|
87
102
|
/**
|
|
88
103
|
* Lists all brand entries for a tenant
|
|
@@ -179,12 +194,12 @@ type CreateBrandHttpError = CreateBrand400HttpError | CreateBrand401HttpError |
|
|
|
179
194
|
*/
|
|
180
195
|
declare const getActiveBrand: (options?: ApiCallOptions) => Promise<GetActiveBrandHttpResponse>;
|
|
181
196
|
type GetActiveBrandHttpResponse = {
|
|
182
|
-
data: NoActiveBrand;
|
|
197
|
+
data: Brand | NoActiveBrand;
|
|
183
198
|
headers: Headers;
|
|
184
199
|
status: number;
|
|
185
200
|
};
|
|
186
201
|
type GetActiveBrandHttpError = {
|
|
187
|
-
data:
|
|
202
|
+
data: unknown;
|
|
188
203
|
headers: Headers;
|
|
189
204
|
status: number;
|
|
190
205
|
};
|
|
@@ -429,7 +444,7 @@ type DeleteBrandFileHttpError = DeleteBrandFile400HttpError | DeleteBrandFile401
|
|
|
429
444
|
*/
|
|
430
445
|
declare const getBrandFile: (brandId: string, brandFileId: string, options?: ApiCallOptions) => Promise<GetBrandFileHttpResponse>;
|
|
431
446
|
type GetBrandFileHttpResponse = {
|
|
432
|
-
data:
|
|
447
|
+
data: DownloadableBlob;
|
|
433
448
|
headers: Headers;
|
|
434
449
|
status: number;
|
|
435
450
|
};
|
package/brands.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
1
|
+
import { A as ApiCallOptions, D as DownloadableBlob } from './global.types-TzVhFPid.js';
|
|
2
2
|
import './auth-types-nnUcWhuU.js';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* A brand is a collection of assets for applying custom branding. Only a single brand can be active in a tenant.
|
|
6
|
+
*/
|
|
4
7
|
type Brand = {
|
|
5
8
|
readonly active?: boolean;
|
|
6
9
|
/** The UTC timestamp when the brand was created. */
|
|
@@ -17,12 +20,18 @@ type Brand = {
|
|
|
17
20
|
/** ID of a user that last updated the brand. */
|
|
18
21
|
readonly updatedBy?: string;
|
|
19
22
|
};
|
|
23
|
+
/**
|
|
24
|
+
* Represents one of the assets used as part of the brand. These include logos, favicons, and some styles.
|
|
25
|
+
*/
|
|
20
26
|
type BrandFile = {
|
|
21
27
|
contentType?: string;
|
|
22
28
|
eTag?: string;
|
|
23
29
|
id?: "logo" | "favIcon" | "styles";
|
|
24
30
|
path?: string;
|
|
25
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
* A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.
|
|
34
|
+
*/
|
|
26
35
|
type BrandPatch = {
|
|
27
36
|
/** The operation to be performed. */
|
|
28
37
|
op: "add" | "remove" | "replace";
|
|
@@ -31,6 +40,9 @@ type BrandPatch = {
|
|
|
31
40
|
/** The value to be used for this operation. */
|
|
32
41
|
value?: string;
|
|
33
42
|
};
|
|
43
|
+
/**
|
|
44
|
+
* A collection of brands.
|
|
45
|
+
*/
|
|
34
46
|
type BrandsList = {
|
|
35
47
|
data?: Brand[];
|
|
36
48
|
links?: {
|
|
@@ -83,6 +95,9 @@ type Link = {
|
|
|
83
95
|
/** URL of a resource request. */
|
|
84
96
|
href: string;
|
|
85
97
|
};
|
|
98
|
+
/**
|
|
99
|
+
* Empty object inferring lack of active branding.
|
|
100
|
+
*/
|
|
86
101
|
type NoActiveBrand = unknown;
|
|
87
102
|
/**
|
|
88
103
|
* Lists all brand entries for a tenant
|
|
@@ -179,12 +194,12 @@ type CreateBrandHttpError = CreateBrand400HttpError | CreateBrand401HttpError |
|
|
|
179
194
|
*/
|
|
180
195
|
declare const getActiveBrand: (options?: ApiCallOptions) => Promise<GetActiveBrandHttpResponse>;
|
|
181
196
|
type GetActiveBrandHttpResponse = {
|
|
182
|
-
data: NoActiveBrand;
|
|
197
|
+
data: Brand | NoActiveBrand;
|
|
183
198
|
headers: Headers;
|
|
184
199
|
status: number;
|
|
185
200
|
};
|
|
186
201
|
type GetActiveBrandHttpError = {
|
|
187
|
-
data:
|
|
202
|
+
data: unknown;
|
|
188
203
|
headers: Headers;
|
|
189
204
|
status: number;
|
|
190
205
|
};
|
|
@@ -429,7 +444,7 @@ type DeleteBrandFileHttpError = DeleteBrandFile400HttpError | DeleteBrandFile401
|
|
|
429
444
|
*/
|
|
430
445
|
declare const getBrandFile: (brandId: string, brandFileId: string, options?: ApiCallOptions) => Promise<GetBrandFileHttpResponse>;
|
|
431
446
|
type GetBrandFileHttpResponse = {
|
|
432
|
-
data:
|
|
447
|
+
data: DownloadableBlob;
|
|
433
448
|
headers: Headers;
|
|
434
449
|
status: number;
|
|
435
450
|
};
|