@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/spaces.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
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
|
+
/**
|
|
5
|
+
* The supported actions for user-created spaces like Shared or Managed spaces.
|
|
6
|
+
*/
|
|
4
7
|
type ActionName = "create" | "read" | "update" | "delete" | "publish";
|
|
5
8
|
type Assignment = {
|
|
6
9
|
/** The userId or groupId based on the type. */
|
|
@@ -35,6 +38,9 @@ type AssignmentCreate = {
|
|
|
35
38
|
/** The type of assignment such as user or group */
|
|
36
39
|
type: AssignmentType;
|
|
37
40
|
};
|
|
41
|
+
/**
|
|
42
|
+
* The type of assignment such as user or group
|
|
43
|
+
*/
|
|
38
44
|
type AssignmentType = "user" | "group";
|
|
39
45
|
type AssignmentUpdate = {
|
|
40
46
|
/** The roles assigned to the assigneeId. */
|
|
@@ -52,6 +58,9 @@ type Assignments = {
|
|
|
52
58
|
count: number;
|
|
53
59
|
};
|
|
54
60
|
};
|
|
61
|
+
/**
|
|
62
|
+
* An error object.
|
|
63
|
+
*/
|
|
55
64
|
type Error = {
|
|
56
65
|
/** The error code. */
|
|
57
66
|
code: string;
|
|
@@ -71,21 +80,26 @@ type Error = {
|
|
|
71
80
|
title: string;
|
|
72
81
|
};
|
|
73
82
|
type Errors = {
|
|
74
|
-
/**
|
|
83
|
+
/** @deprecated
|
|
84
|
+
* The error code. */
|
|
75
85
|
code?: string;
|
|
76
|
-
/**
|
|
86
|
+
/** @deprecated
|
|
87
|
+
* A human-readable explanation specific to the occurrence of this problem. */
|
|
77
88
|
detail?: string;
|
|
78
89
|
errors?: Error[];
|
|
79
|
-
/**
|
|
90
|
+
/** @deprecated
|
|
91
|
+
* Additional properties relating to the error. */
|
|
80
92
|
meta?: unknown;
|
|
81
|
-
/**
|
|
93
|
+
/** @deprecated
|
|
94
|
+
* References to the source of the error. */
|
|
82
95
|
source?: {
|
|
83
96
|
/** The URI query parameter that caused the error. */
|
|
84
97
|
parameter?: string;
|
|
85
98
|
/** A JSON pointer to the property that caused the error. */
|
|
86
99
|
pointer?: string;
|
|
87
100
|
};
|
|
88
|
-
/**
|
|
101
|
+
/** @deprecated
|
|
102
|
+
* Summary of the problem. */
|
|
89
103
|
title?: string;
|
|
90
104
|
traceId?: string;
|
|
91
105
|
};
|
|
@@ -93,8 +107,20 @@ type Link = {
|
|
|
93
107
|
/** URL that defines the resource. */
|
|
94
108
|
href: string;
|
|
95
109
|
};
|
|
110
|
+
/**
|
|
111
|
+
* Supported roles by space type:
|
|
112
|
+
* - Shared: codeveloper, consumer, dataconsumer, facilitator, producer
|
|
113
|
+
* - Managed: consumer, contributor, dataconsumer, facilitator, publisher, basicconsumer
|
|
114
|
+
* - Data: consumer, dataconsumer, facilitator, operator, producer, publisher
|
|
115
|
+
*/
|
|
96
116
|
type RoleType = "consumer" | "contributor" | "dataconsumer" | "facilitator" | "operator" | "producer" | "publisher" | "basicconsumer" | "codeveloper";
|
|
117
|
+
/**
|
|
118
|
+
* The supported roles for Shared spaces.
|
|
119
|
+
*/
|
|
97
120
|
type SharedSpaceRoleType = "facilitator" | "consumer" | "producer" | "dataconsumer" | "codeveloper";
|
|
121
|
+
/**
|
|
122
|
+
* A space is a security context simplifying the management of access control by allowing users to control it on the containers instead of on the resources themselves.
|
|
123
|
+
*/
|
|
98
124
|
type Space = {
|
|
99
125
|
/** The date and time when the space was created. */
|
|
100
126
|
readonly createdAt?: string;
|
|
@@ -147,7 +173,13 @@ type SpacePatch = {
|
|
|
147
173
|
* - ownerId: The user ID in uid format (string) of the space owner. */
|
|
148
174
|
value: string;
|
|
149
175
|
}[];
|
|
176
|
+
/**
|
|
177
|
+
* The name of the type.
|
|
178
|
+
*/
|
|
150
179
|
type SpaceType = "shared" | "managed" | "data";
|
|
180
|
+
/**
|
|
181
|
+
* The distinct types of spaces (shared, managed, and so on).
|
|
182
|
+
*/
|
|
151
183
|
type SpaceTypes = {
|
|
152
184
|
readonly data?: SpaceType[];
|
|
153
185
|
};
|
package/spaces.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
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/spaces.ts
|
|
9
|
-
var getSpaces = async (query, options) =>
|
|
9
|
+
var getSpaces = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "spaces", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/spaces",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var createSpace = async (body, options) =>
|
|
15
|
+
var createSpace = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "spaces", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/spaces",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var getSpaceTypes = async (options) =>
|
|
22
|
+
var getSpaceTypes = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "spaces", {
|
|
23
23
|
method: "get",
|
|
24
24
|
pathTemplate: "/api/v1/spaces/types",
|
|
25
25
|
options
|
|
26
26
|
});
|
|
27
|
-
var deleteSpace = async (spaceId, options) =>
|
|
27
|
+
var deleteSpace = async (spaceId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "spaces", {
|
|
28
28
|
method: "delete",
|
|
29
29
|
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
30
30
|
pathVariables: { spaceId },
|
|
31
31
|
options
|
|
32
32
|
});
|
|
33
|
-
var getSpace = async (spaceId, options) =>
|
|
33
|
+
var getSpace = async (spaceId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "spaces", {
|
|
34
34
|
method: "get",
|
|
35
35
|
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
36
36
|
pathVariables: { spaceId },
|
|
37
37
|
options
|
|
38
38
|
});
|
|
39
|
-
var patchSpace = async (spaceId, body, options) =>
|
|
39
|
+
var patchSpace = async (spaceId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "spaces", {
|
|
40
40
|
method: "patch",
|
|
41
41
|
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
42
42
|
pathVariables: { spaceId },
|
|
@@ -44,7 +44,7 @@ var patchSpace = async (spaceId, body, options) => _chunkEALMXU6Sjs.invokeFetch.
|
|
|
44
44
|
contentType: "application/json",
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
|
-
var updateSpace = async (spaceId, body, options) =>
|
|
47
|
+
var updateSpace = async (spaceId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "spaces", {
|
|
48
48
|
method: "put",
|
|
49
49
|
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
50
50
|
pathVariables: { spaceId },
|
|
@@ -52,14 +52,14 @@ var updateSpace = async (spaceId, body, options) => _chunkEALMXU6Sjs.invokeFetch
|
|
|
52
52
|
contentType: "application/json",
|
|
53
53
|
options
|
|
54
54
|
});
|
|
55
|
-
var getSpaceAssignments = async (spaceId, query, options) =>
|
|
55
|
+
var getSpaceAssignments = async (spaceId, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "spaces", {
|
|
56
56
|
method: "get",
|
|
57
57
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments",
|
|
58
58
|
pathVariables: { spaceId },
|
|
59
59
|
query,
|
|
60
60
|
options
|
|
61
61
|
});
|
|
62
|
-
var createSpaceAssignment = async (spaceId, body, options) =>
|
|
62
|
+
var createSpaceAssignment = async (spaceId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "spaces", {
|
|
63
63
|
method: "post",
|
|
64
64
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments",
|
|
65
65
|
pathVariables: { spaceId },
|
|
@@ -67,19 +67,19 @@ var createSpaceAssignment = async (spaceId, body, options) => _chunkEALMXU6Sjs.i
|
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
options
|
|
69
69
|
});
|
|
70
|
-
var deleteSpaceAssignment = async (spaceId, assignmentId, options) =>
|
|
70
|
+
var deleteSpaceAssignment = async (spaceId, assignmentId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "spaces", {
|
|
71
71
|
method: "delete",
|
|
72
72
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments/{assignmentId}",
|
|
73
73
|
pathVariables: { spaceId, assignmentId },
|
|
74
74
|
options
|
|
75
75
|
});
|
|
76
|
-
var getSpaceAssignment = async (spaceId, assignmentId, options) =>
|
|
76
|
+
var getSpaceAssignment = async (spaceId, assignmentId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "spaces", {
|
|
77
77
|
method: "get",
|
|
78
78
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments/{assignmentId}",
|
|
79
79
|
pathVariables: { spaceId, assignmentId },
|
|
80
80
|
options
|
|
81
81
|
});
|
|
82
|
-
var updateSpaceAssignment = async (spaceId, assignmentId, body, options) =>
|
|
82
|
+
var updateSpaceAssignment = async (spaceId, assignmentId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "spaces", {
|
|
83
83
|
method: "put",
|
|
84
84
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments/{assignmentId}",
|
|
85
85
|
pathVariables: { spaceId, assignmentId },
|
|
@@ -88,7 +88,7 @@ var updateSpaceAssignment = async (spaceId, assignmentId, body, options) => _chu
|
|
|
88
88
|
options
|
|
89
89
|
});
|
|
90
90
|
function clearCache() {
|
|
91
|
-
return
|
|
91
|
+
return _QMWU5E4Djs.clearApiCache.call(void 0, "spaces");
|
|
92
92
|
}
|
|
93
93
|
var spacesExport = {
|
|
94
94
|
getSpaces,
|
package/spaces.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/spaces.ts
|
|
9
9
|
var getSpaces = async (query, options) => invokeFetch("spaces", {
|
package/temp-contents.d.mts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
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
|
+
/**
|
|
5
|
+
* An Error object.
|
|
6
|
+
*/
|
|
4
7
|
type Error = {
|
|
5
8
|
/** The API error code. */
|
|
6
9
|
code: string;
|
|
@@ -18,6 +21,9 @@ type Error = {
|
|
|
18
21
|
/** Title of the type of API Error. */
|
|
19
22
|
title: string;
|
|
20
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* An array of Error objects.
|
|
26
|
+
*/
|
|
21
27
|
type Errors = {
|
|
22
28
|
errors?: Error[];
|
|
23
29
|
/** A way to trace the source of the error. */
|
package/temp-contents.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
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
|
+
/**
|
|
5
|
+
* An Error object.
|
|
6
|
+
*/
|
|
4
7
|
type Error = {
|
|
5
8
|
/** The API error code. */
|
|
6
9
|
code: string;
|
|
@@ -18,6 +21,9 @@ type Error = {
|
|
|
18
21
|
/** Title of the type of API Error. */
|
|
19
22
|
title: string;
|
|
20
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* An array of Error objects.
|
|
26
|
+
*/
|
|
21
27
|
type Errors = {
|
|
22
28
|
errors?: Error[];
|
|
23
29
|
/** A way to trace the source of the error. */
|
package/temp-contents.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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/temp-contents.ts
|
|
9
|
-
var uploadTempFile = async (query, body, options) =>
|
|
9
|
+
var uploadTempFile = async (query, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "temp-contents", {
|
|
10
10
|
method: "post",
|
|
11
11
|
pathTemplate: "/api/v1/temp-contents",
|
|
12
12
|
query,
|
|
@@ -14,21 +14,21 @@ var uploadTempFile = async (query, body, options) => _chunkEALMXU6Sjs.invokeFetc
|
|
|
14
14
|
contentType: "application/octet-stream",
|
|
15
15
|
options
|
|
16
16
|
});
|
|
17
|
-
var downloadTempFile = async (id, query, options) =>
|
|
17
|
+
var downloadTempFile = async (id, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "temp-contents", {
|
|
18
18
|
method: "get",
|
|
19
19
|
pathTemplate: "/api/v1/temp-contents/{id}",
|
|
20
20
|
pathVariables: { id },
|
|
21
21
|
query,
|
|
22
22
|
options
|
|
23
23
|
});
|
|
24
|
-
var getTempFileDetails = async (id, options) =>
|
|
24
|
+
var getTempFileDetails = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "temp-contents", {
|
|
25
25
|
method: "get",
|
|
26
26
|
pathTemplate: "/api/v1/temp-contents/{id}/details",
|
|
27
27
|
pathVariables: { id },
|
|
28
28
|
options
|
|
29
29
|
});
|
|
30
30
|
function clearCache() {
|
|
31
|
-
return
|
|
31
|
+
return _QMWU5E4Djs.clearApiCache.call(void 0, "temp-contents");
|
|
32
32
|
}
|
|
33
33
|
var tempContentsExport = { uploadTempFile, downloadTempFile, getTempFileDetails, clearCache };
|
|
34
34
|
var temp_contents_default = tempContentsExport;
|
package/temp-contents.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/temp-contents.ts
|
|
9
9
|
var uploadTempFile = async (query, body, options) => invokeFetch("temp-contents", {
|
package/tenants.d.mts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
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
|
+
/**
|
|
5
|
+
* An error object describing the error.
|
|
6
|
+
*/
|
|
4
7
|
type Error = {
|
|
5
8
|
/** The error code. */
|
|
6
9
|
code: string;
|
|
@@ -20,6 +23,9 @@ type Error = {
|
|
|
20
23
|
/** Summary of the problem. */
|
|
21
24
|
title: string;
|
|
22
25
|
};
|
|
26
|
+
/**
|
|
27
|
+
* The error response object describing the error from the handling of an HTTP request.
|
|
28
|
+
*/
|
|
23
29
|
type Errors = {
|
|
24
30
|
/** An array of errors related to the operation. */
|
|
25
31
|
errors?: Error[];
|
|
@@ -59,10 +65,16 @@ type TenantCreationRequest = {
|
|
|
59
65
|
/** The signed license key of the license that will be associated with the created tenant. */
|
|
60
66
|
licenseKey?: string;
|
|
61
67
|
};
|
|
68
|
+
/**
|
|
69
|
+
* A request to deactivate a tenant.
|
|
70
|
+
*/
|
|
62
71
|
type TenantDeactivateRequest = {
|
|
63
72
|
/** Sets the number of days to purge the tenant after deactivation. Only available to OEMs. */
|
|
64
73
|
purgeAfterDays?: number;
|
|
65
74
|
};
|
|
75
|
+
/**
|
|
76
|
+
* The result of tenant deactivation.
|
|
77
|
+
*/
|
|
66
78
|
type TenantDeactivateResponse = {
|
|
67
79
|
/** The estimated date time of when tenant will be purged. */
|
|
68
80
|
estimatedPurgeDate?: string;
|
|
@@ -125,12 +137,12 @@ type CreateTenantHttpError = {
|
|
|
125
137
|
*/
|
|
126
138
|
declare const getMyTenant: (options?: ApiCallOptions) => Promise<GetMyTenantHttpResponse>;
|
|
127
139
|
type GetMyTenantHttpResponse = {
|
|
128
|
-
data:
|
|
140
|
+
data: Tenant;
|
|
129
141
|
headers: Headers;
|
|
130
142
|
status: number;
|
|
131
143
|
};
|
|
132
144
|
type GetMyTenantHttpError = {
|
|
133
|
-
data:
|
|
145
|
+
data: unknown;
|
|
134
146
|
headers: Headers;
|
|
135
147
|
status: number;
|
|
136
148
|
};
|
|
@@ -184,12 +196,12 @@ type PatchTenant429HttpError = {
|
|
|
184
196
|
headers: Headers;
|
|
185
197
|
status: 429;
|
|
186
198
|
};
|
|
187
|
-
type
|
|
199
|
+
type PatchTenantDefaultHttpError = {
|
|
188
200
|
data: Errors;
|
|
189
201
|
headers: Headers;
|
|
190
202
|
status: "default";
|
|
191
203
|
};
|
|
192
|
-
type PatchTenantHttpError = PatchTenant400HttpError | PatchTenant403HttpError | PatchTenant404HttpError | PatchTenant429HttpError |
|
|
204
|
+
type PatchTenantHttpError = PatchTenant400HttpError | PatchTenant403HttpError | PatchTenant404HttpError | PatchTenant429HttpError | PatchTenantDefaultHttpError;
|
|
193
205
|
/**
|
|
194
206
|
* Deactivates a tenant.
|
|
195
207
|
*
|
|
@@ -285,4 +297,4 @@ interface TenantsAPI {
|
|
|
285
297
|
*/
|
|
286
298
|
declare const tenantsExport: TenantsAPI;
|
|
287
299
|
|
|
288
|
-
export { type CreateTenantHttpError, type CreateTenantHttpResponse, type DeactivateTenantHttpError, type DeactivateTenantHttpResponse, type Error, type Errors, type GetMyTenantHttpError, type GetMyTenantHttpResponse, type GetTenantHttpError, type GetTenantHttpResponse, type PatchTenant400HttpError, type PatchTenant403HttpError, type PatchTenant404HttpError, type PatchTenant429HttpError, type
|
|
300
|
+
export { type CreateTenantHttpError, type CreateTenantHttpResponse, type DeactivateTenantHttpError, type DeactivateTenantHttpResponse, type Error, type Errors, type GetMyTenantHttpError, type GetMyTenantHttpResponse, type GetTenantHttpError, type GetTenantHttpResponse, type PatchTenant400HttpError, type PatchTenant403HttpError, type PatchTenant404HttpError, type PatchTenant429HttpError, type PatchTenantDefaultHttpError, type PatchTenantHttpError, type PatchTenantHttpResponse, type ReactivateTenantHttpError, type ReactivateTenantHttpResponse, type Tenant, type TenantCreationRequest, type TenantDeactivateRequest, type TenantDeactivateResponse, type TenantPatchErrors, type TenantPatchSchema, type TenantsAPI, clearCache, createTenant, deactivateTenant, tenantsExport as default, getMyTenant, getTenant, patchTenant, reactivateTenant };
|
package/tenants.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
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
|
+
/**
|
|
5
|
+
* An error object describing the error.
|
|
6
|
+
*/
|
|
4
7
|
type Error = {
|
|
5
8
|
/** The error code. */
|
|
6
9
|
code: string;
|
|
@@ -20,6 +23,9 @@ type Error = {
|
|
|
20
23
|
/** Summary of the problem. */
|
|
21
24
|
title: string;
|
|
22
25
|
};
|
|
26
|
+
/**
|
|
27
|
+
* The error response object describing the error from the handling of an HTTP request.
|
|
28
|
+
*/
|
|
23
29
|
type Errors = {
|
|
24
30
|
/** An array of errors related to the operation. */
|
|
25
31
|
errors?: Error[];
|
|
@@ -59,10 +65,16 @@ type TenantCreationRequest = {
|
|
|
59
65
|
/** The signed license key of the license that will be associated with the created tenant. */
|
|
60
66
|
licenseKey?: string;
|
|
61
67
|
};
|
|
68
|
+
/**
|
|
69
|
+
* A request to deactivate a tenant.
|
|
70
|
+
*/
|
|
62
71
|
type TenantDeactivateRequest = {
|
|
63
72
|
/** Sets the number of days to purge the tenant after deactivation. Only available to OEMs. */
|
|
64
73
|
purgeAfterDays?: number;
|
|
65
74
|
};
|
|
75
|
+
/**
|
|
76
|
+
* The result of tenant deactivation.
|
|
77
|
+
*/
|
|
66
78
|
type TenantDeactivateResponse = {
|
|
67
79
|
/** The estimated date time of when tenant will be purged. */
|
|
68
80
|
estimatedPurgeDate?: string;
|
|
@@ -125,12 +137,12 @@ type CreateTenantHttpError = {
|
|
|
125
137
|
*/
|
|
126
138
|
declare const getMyTenant: (options?: ApiCallOptions) => Promise<GetMyTenantHttpResponse>;
|
|
127
139
|
type GetMyTenantHttpResponse = {
|
|
128
|
-
data:
|
|
140
|
+
data: Tenant;
|
|
129
141
|
headers: Headers;
|
|
130
142
|
status: number;
|
|
131
143
|
};
|
|
132
144
|
type GetMyTenantHttpError = {
|
|
133
|
-
data:
|
|
145
|
+
data: unknown;
|
|
134
146
|
headers: Headers;
|
|
135
147
|
status: number;
|
|
136
148
|
};
|
|
@@ -184,12 +196,12 @@ type PatchTenant429HttpError = {
|
|
|
184
196
|
headers: Headers;
|
|
185
197
|
status: 429;
|
|
186
198
|
};
|
|
187
|
-
type
|
|
199
|
+
type PatchTenantDefaultHttpError = {
|
|
188
200
|
data: Errors;
|
|
189
201
|
headers: Headers;
|
|
190
202
|
status: "default";
|
|
191
203
|
};
|
|
192
|
-
type PatchTenantHttpError = PatchTenant400HttpError | PatchTenant403HttpError | PatchTenant404HttpError | PatchTenant429HttpError |
|
|
204
|
+
type PatchTenantHttpError = PatchTenant400HttpError | PatchTenant403HttpError | PatchTenant404HttpError | PatchTenant429HttpError | PatchTenantDefaultHttpError;
|
|
193
205
|
/**
|
|
194
206
|
* Deactivates a tenant.
|
|
195
207
|
*
|
|
@@ -285,4 +297,4 @@ interface TenantsAPI {
|
|
|
285
297
|
*/
|
|
286
298
|
declare const tenantsExport: TenantsAPI;
|
|
287
299
|
|
|
288
|
-
export { type CreateTenantHttpError, type CreateTenantHttpResponse, type DeactivateTenantHttpError, type DeactivateTenantHttpResponse, type Error, type Errors, type GetMyTenantHttpError, type GetMyTenantHttpResponse, type GetTenantHttpError, type GetTenantHttpResponse, type PatchTenant400HttpError, type PatchTenant403HttpError, type PatchTenant404HttpError, type PatchTenant429HttpError, type
|
|
300
|
+
export { type CreateTenantHttpError, type CreateTenantHttpResponse, type DeactivateTenantHttpError, type DeactivateTenantHttpResponse, type Error, type Errors, type GetMyTenantHttpError, type GetMyTenantHttpResponse, type GetTenantHttpError, type GetTenantHttpResponse, type PatchTenant400HttpError, type PatchTenant403HttpError, type PatchTenant404HttpError, type PatchTenant429HttpError, type PatchTenantDefaultHttpError, type PatchTenantHttpError, type PatchTenantHttpResponse, type ReactivateTenantHttpError, type ReactivateTenantHttpResponse, type Tenant, type TenantCreationRequest, type TenantDeactivateRequest, type TenantDeactivateResponse, type TenantPatchErrors, type TenantPatchSchema, type TenantsAPI, clearCache, createTenant, deactivateTenant, tenantsExport as default, getMyTenant, getTenant, patchTenant, reactivateTenant };
|
package/tenants.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
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/tenants.ts
|
|
9
|
-
var createTenant = async (body, options) =>
|
|
9
|
+
var createTenant = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "tenants", {
|
|
10
10
|
method: "post",
|
|
11
11
|
pathTemplate: "/api/v1/tenants",
|
|
12
12
|
body,
|
|
13
13
|
contentType: "application/json",
|
|
14
14
|
options
|
|
15
15
|
});
|
|
16
|
-
var getMyTenant = async (options) =>
|
|
16
|
+
var getMyTenant = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "tenants", {
|
|
17
17
|
method: "get",
|
|
18
18
|
pathTemplate: "/api/v1/tenants/me",
|
|
19
19
|
options
|
|
20
20
|
});
|
|
21
|
-
var getTenant = async (tenantId, options) =>
|
|
21
|
+
var getTenant = async (tenantId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "tenants", {
|
|
22
22
|
method: "get",
|
|
23
23
|
pathTemplate: "/api/v1/tenants/{tenantId}",
|
|
24
24
|
pathVariables: { tenantId },
|
|
25
25
|
options
|
|
26
26
|
});
|
|
27
|
-
var patchTenant = async (tenantId, body, options) =>
|
|
27
|
+
var patchTenant = async (tenantId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "tenants", {
|
|
28
28
|
method: "patch",
|
|
29
29
|
pathTemplate: "/api/v1/tenants/{tenantId}",
|
|
30
30
|
pathVariables: { tenantId },
|
|
@@ -32,7 +32,7 @@ var patchTenant = async (tenantId, body, options) => _chunkEALMXU6Sjs.invokeFetc
|
|
|
32
32
|
contentType: "application/json",
|
|
33
33
|
options
|
|
34
34
|
});
|
|
35
|
-
var deactivateTenant = async (tenantId, body, options) =>
|
|
35
|
+
var deactivateTenant = async (tenantId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "tenants", {
|
|
36
36
|
method: "post",
|
|
37
37
|
pathTemplate: "/api/v1/tenants/{tenantId}/actions/deactivate",
|
|
38
38
|
pathVariables: { tenantId },
|
|
@@ -40,7 +40,7 @@ var deactivateTenant = async (tenantId, body, options) => _chunkEALMXU6Sjs.invok
|
|
|
40
40
|
contentType: "application/json",
|
|
41
41
|
options
|
|
42
42
|
});
|
|
43
|
-
var reactivateTenant = async (tenantId, body, options) =>
|
|
43
|
+
var reactivateTenant = async (tenantId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "tenants", {
|
|
44
44
|
method: "post",
|
|
45
45
|
pathTemplate: "/api/v1/tenants/{tenantId}/actions/reactivate",
|
|
46
46
|
pathVariables: { tenantId },
|
|
@@ -49,7 +49,7 @@ var reactivateTenant = async (tenantId, body, options) => _chunkEALMXU6Sjs.invok
|
|
|
49
49
|
options
|
|
50
50
|
});
|
|
51
51
|
function clearCache() {
|
|
52
|
-
return
|
|
52
|
+
return _QMWU5E4Djs.clearApiCache.call(void 0, "tenants");
|
|
53
53
|
}
|
|
54
54
|
var tenantsExport = {
|
|
55
55
|
createTenant,
|
package/tenants.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/tenants.ts
|
|
9
9
|
var createTenant = async (body, options) => invokeFetch("tenants", {
|
package/themes.d.mts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
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
|
+
/**
|
|
5
|
+
* An error object.
|
|
6
|
+
*/
|
|
4
7
|
type Error = {
|
|
5
8
|
/** Object containing meta data regarding an error. It does not necessarily contain all the properties. */
|
|
6
9
|
meta?: Meta;
|
|
@@ -11,6 +14,9 @@ type Error = {
|
|
|
11
14
|
/** Title of the HTTP status code. */
|
|
12
15
|
title: string;
|
|
13
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* Object containing meta data regarding an error. It does not necessarily contain all the properties.
|
|
19
|
+
*/
|
|
14
20
|
type Meta = {
|
|
15
21
|
/** A more detailed message explaining the error. */
|
|
16
22
|
message?: string;
|
|
@@ -19,6 +25,9 @@ type Meta = {
|
|
|
19
25
|
/** Full stack trace of the error that was raised. */
|
|
20
26
|
stack?: string;
|
|
21
27
|
};
|
|
28
|
+
/**
|
|
29
|
+
* The theme model.
|
|
30
|
+
*/
|
|
22
31
|
type Theme = {
|
|
23
32
|
/** Author of the theme. */
|
|
24
33
|
author?: string;
|
package/themes.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
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
|
+
/**
|
|
5
|
+
* An error object.
|
|
6
|
+
*/
|
|
4
7
|
type Error = {
|
|
5
8
|
/** Object containing meta data regarding an error. It does not necessarily contain all the properties. */
|
|
6
9
|
meta?: Meta;
|
|
@@ -11,6 +14,9 @@ type Error = {
|
|
|
11
14
|
/** Title of the HTTP status code. */
|
|
12
15
|
title: string;
|
|
13
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* Object containing meta data regarding an error. It does not necessarily contain all the properties.
|
|
19
|
+
*/
|
|
14
20
|
type Meta = {
|
|
15
21
|
/** A more detailed message explaining the error. */
|
|
16
22
|
message?: string;
|
|
@@ -19,6 +25,9 @@ type Meta = {
|
|
|
19
25
|
/** Full stack trace of the error that was raised. */
|
|
20
26
|
stack?: string;
|
|
21
27
|
};
|
|
28
|
+
/**
|
|
29
|
+
* The theme model.
|
|
30
|
+
*/
|
|
22
31
|
type Theme = {
|
|
23
32
|
/** Author of the theme. */
|
|
24
33
|
author?: string;
|