@qlik/api 0.0.9 → 0.0.11
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 +9 -0
- package/api-keys.d.ts +9 -0
- package/api-keys.js +10 -10
- package/api-keys.mjs +2 -2
- package/apps.d.mts +125 -1
- package/apps.d.ts +125 -1
- package/apps.js +46 -46
- package/apps.mjs +2 -2
- package/audits.d.mts +13 -0
- package/audits.d.ts +13 -0
- package/audits.js +9 -9
- package/audits.mjs +2 -2
- package/auth.js +3 -3
- package/auth.mjs +2 -2
- package/automations.d.mts +8 -0
- package/automations.d.ts +8 -0
- package/automations.js +21 -21
- package/automations.mjs +2 -2
- package/brands.d.mts +15 -0
- package/brands.d.ts +15 -0
- package/brands.js +15 -15
- package/brands.mjs +2 -2
- package/chunks/{XY3AC335.js → 277NFGPR.js} +4 -4
- package/chunks/{K4YCNLTC.mjs → 4E3AP3QF.mjs} +1 -1
- package/chunks/{AU62SBT4.mjs → 6QHMH76M.mjs} +1 -1
- package/chunks/{VLLTA4EY.mjs → E3HDOP72.mjs} +3 -3
- package/chunks/{PQ4OWSWX.js → FT7SZRB6.js} +45 -57
- package/chunks/{EHZ6H6TD.mjs → G36LDZ2O.mjs} +1 -1
- package/chunks/{POR3DZIU.mjs → J3UXBHGX.mjs} +1 -1
- package/chunks/{WQHUX4R2.mjs → K2WB4AWW.mjs} +1 -1
- package/chunks/{KDW6ZD2R.mjs → MHLTST5J.mjs} +43 -55
- package/chunks/{AGASWXYW.js → MQGSH6BQ.js} +167 -23
- package/chunks/{W2I5OQA5.js → NBNOAZT5.js} +3 -3
- package/chunks/{EL2GSPZZ.js → NZ6E5ZHO.js} +3 -3
- package/chunks/{YDB23Q56.mjs → QJNIUMNI.mjs} +164 -20
- package/chunks/{F7GJTDIU.js → QMOQD6PE.js} +8 -8
- package/chunks/SPJKF5VW.js +17 -0
- package/chunks/{L7DRRU3T.mjs → TPTPAX2U.mjs} +2 -2
- package/chunks/X3YDQVZ6.js +41 -0
- package/chunks/{AULTUQC4.js → XP7ALS4O.js} +2 -2
- package/collections.d.mts +29 -1
- package/collections.d.ts +29 -1
- package/collections.js +14 -14
- package/collections.mjs +2 -2
- package/csp-origins.js +9 -9
- package/csp-origins.mjs +2 -2
- package/data-assets.js +8 -8
- package/data-assets.mjs +2 -2
- package/data-connections.d.mts +12 -1
- package/data-connections.d.ts +12 -1
- package/data-connections.js +12 -12
- package/data-connections.mjs +2 -2
- package/data-credentials.d.mts +5 -0
- package/data-credentials.d.ts +5 -0
- package/data-credentials.js +7 -7
- package/data-credentials.mjs +2 -2
- package/data-files.d.mts +6 -0
- package/data-files.d.ts +6 -0
- package/data-files.js +15 -15
- package/data-files.mjs +2 -2
- package/extensions.d.mts +12 -0
- package/extensions.d.ts +12 -0
- package/extensions.js +10 -10
- package/extensions.mjs +2 -2
- package/glossaries.d.mts +50 -0
- package/glossaries.d.ts +50 -0
- package/glossaries.js +27 -27
- package/glossaries.mjs +2 -2
- package/groups.d.mts +39 -0
- package/groups.d.ts +39 -0
- package/groups.js +11 -11
- package/groups.mjs +2 -2
- package/identity-providers.d.mts +42 -0
- package/identity-providers.d.ts +42 -0
- package/identity-providers.js +11 -11
- package/identity-providers.mjs +2 -2
- package/index.js +8 -8
- package/index.mjs +4 -4
- package/items.d.mts +32 -1
- package/items.d.ts +32 -1
- package/items.js +11 -11
- package/items.mjs +2 -2
- package/licenses.d.mts +7 -4
- package/licenses.d.ts +7 -4
- package/licenses.js +12 -12
- package/licenses.mjs +2 -2
- package/package.json +1 -1
- package/qix.d.mts +1 -1
- package/qix.d.ts +1 -1
- package/qix.js +3 -3
- package/qix.mjs +2 -2
- package/quotas.d.mts +3 -0
- package/quotas.d.ts +3 -0
- package/quotas.js +5 -5
- package/quotas.mjs +2 -2
- package/reload-tasks.d.mts +6 -3
- package/reload-tasks.d.ts +6 -3
- package/reload-tasks.js +8 -8
- package/reload-tasks.mjs +2 -2
- package/reloads.d.mts +9 -0
- package/reloads.d.ts +9 -0
- package/reloads.js +7 -7
- package/reloads.mjs +2 -2
- package/roles.d.mts +10 -1
- package/roles.d.ts +10 -1
- package/roles.js +5 -5
- package/roles.mjs +2 -2
- package/spaces.d.mts +37 -5
- package/spaces.d.ts +37 -5
- package/spaces.js +15 -15
- package/spaces.mjs +2 -2
- package/temp-contents.d.mts +6 -0
- package/temp-contents.d.ts +6 -0
- package/temp-contents.js +6 -6
- package/temp-contents.mjs +2 -2
- package/tenants.d.mts +12 -0
- package/tenants.d.ts +12 -0
- package/tenants.js +9 -9
- package/tenants.mjs +2 -2
- package/themes.d.mts +9 -0
- package/themes.d.ts +9 -0
- package/themes.js +10 -10
- package/themes.mjs +2 -2
- package/transports.d.mts +9 -0
- package/transports.d.ts +9 -0
- package/transports.js +9 -9
- package/transports.mjs +2 -2
- package/users.d.mts +85 -14
- package/users.d.ts +85 -14
- package/users.js +13 -13
- package/users.mjs +2 -2
- package/web-integrations.d.mts +18 -0
- package/web-integrations.d.ts +18 -0
- package/web-integrations.js +8 -8
- package/web-integrations.mjs +2 -2
- package/web-notifications.d.mts +18 -0
- package/web-notifications.d.ts +18 -0
- package/web-notifications.js +9 -9
- package/web-notifications.mjs +2 -2
- package/webhooks.d.mts +3 -0
- package/webhooks.d.ts +3 -0
- package/webhooks.js +13 -13
- package/webhooks.mjs +2 -2
- package/chunks/37STYSYC.js +0 -41
- package/chunks/VC2LAFLZ.js +0 -17
package/spaces.d.mts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
|
|
2
2
|
import './auth-types-nnUcWhuU.mjs';
|
|
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.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
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('./chunks/
|
|
4
|
+
var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
|
|
5
|
+
require('./chunks/NBNOAZT5.js');
|
|
6
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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _EL2GSPZZjs.invokeFetch.call(
|
|
|
44
44
|
contentType: "application/json",
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
|
-
var updateSpace = async (spaceId, body, options) =>
|
|
47
|
+
var updateSpace = async (spaceId, body, options) => _NZ6E5ZHOjs.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) => _EL2GSPZZjs.invokeFetch.call
|
|
|
52
52
|
contentType: "application/json",
|
|
53
53
|
options
|
|
54
54
|
});
|
|
55
|
-
var getSpaceAssignments = async (spaceId, query, options) =>
|
|
55
|
+
var getSpaceAssignments = async (spaceId, query, options) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _EL2GSPZZjs.invoke
|
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
options
|
|
69
69
|
});
|
|
70
|
-
var deleteSpaceAssignment = async (spaceId, assignmentId, options) =>
|
|
70
|
+
var deleteSpaceAssignment = async (spaceId, assignmentId, options) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _EL2
|
|
|
88
88
|
options
|
|
89
89
|
});
|
|
90
90
|
function clearCache() {
|
|
91
|
-
return
|
|
91
|
+
return _NZ6E5ZHOjs.clearApiCache.call(void 0, "spaces");
|
|
92
92
|
}
|
|
93
93
|
var spacesExport = {
|
|
94
94
|
getSpaces,
|
package/spaces.mjs
CHANGED
package/temp-contents.d.mts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
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
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('./chunks/
|
|
4
|
+
var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
|
|
5
|
+
require('./chunks/NBNOAZT5.js');
|
|
6
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) => _NZ6E5ZHOjs.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) => _EL2GSPZZjs.invokeFetch.cal
|
|
|
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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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 _NZ6E5ZHOjs.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
package/tenants.d.mts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
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;
|
package/tenants.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
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;
|
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('./chunks/
|
|
4
|
+
var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
|
|
5
|
+
require('./chunks/NBNOAZT5.js');
|
|
6
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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _EL2GSPZZjs.invokeFetch.cal
|
|
|
32
32
|
contentType: "application/json",
|
|
33
33
|
options
|
|
34
34
|
});
|
|
35
|
-
var deactivateTenant = async (tenantId, body, options) =>
|
|
35
|
+
var deactivateTenant = async (tenantId, body, options) => _NZ6E5ZHOjs.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) => _EL2GSPZZjs.invokeFetc
|
|
|
40
40
|
contentType: "application/json",
|
|
41
41
|
options
|
|
42
42
|
});
|
|
43
|
-
var reactivateTenant = async (tenantId, body, options) =>
|
|
43
|
+
var reactivateTenant = async (tenantId, body, options) => _NZ6E5ZHOjs.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) => _EL2GSPZZjs.invokeFetc
|
|
|
49
49
|
options
|
|
50
50
|
});
|
|
51
51
|
function clearCache() {
|
|
52
|
-
return
|
|
52
|
+
return _NZ6E5ZHOjs.clearApiCache.call(void 0, "tenants");
|
|
53
53
|
}
|
|
54
54
|
var tenantsExport = {
|
|
55
55
|
createTenant,
|
package/tenants.mjs
CHANGED
package/themes.d.mts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
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
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;
|