@qlik/api 2.3.1 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/analytics/change-stores.d.ts +40 -76
  2. package/analytics/change-stores.js +9 -10
  3. package/analytics.d.ts +1 -2
  4. package/analytics.js +5 -6
  5. package/api-keys.d.ts +46 -100
  6. package/api-keys.js +3 -4
  7. package/apps.d.ts +334 -461
  8. package/apps.js +74 -6
  9. package/assistants.d.ts +172 -337
  10. package/assistants.js +3 -4
  11. package/audits.d.ts +41 -85
  12. package/audits.js +3 -4
  13. package/auth-types.d.ts +110 -1
  14. package/auth-types.js +22 -1
  15. package/auth.d.ts +1 -2
  16. package/auth.js +1 -1
  17. package/automation-connections.d.ts +44 -95
  18. package/automation-connections.js +3 -4
  19. package/automation-connectors.d.ts +10 -20
  20. package/automation-connectors.js +3 -4
  21. package/automations.d.ts +54 -112
  22. package/automations.js +3 -4
  23. package/automl-deployments.d.ts +17 -36
  24. package/automl-deployments.js +3 -4
  25. package/automl-predictions.d.ts +12 -24
  26. package/automl-predictions.js +3 -4
  27. package/banners.d.ts +8 -14
  28. package/banners.js +3 -4
  29. package/brands.d.ts +19 -39
  30. package/brands.js +3 -4
  31. package/chunks/auth-B8lJw7rm.js +31 -0
  32. package/chunks/{interceptors-2VSXImC9.js → boot-interceptors-DqRxTczb.js} +50 -150
  33. package/chunks/{chunk-D3vHIbds.js → chunk-BdHzlgOL.js} +3 -3
  34. package/chunks/{invoke-fetch-CckTK7bh.js → invoke-fetch-DMAi6Fg3.js} +3 -3
  35. package/chunks/{invoke-fetch-D9lpiAb-.js → invoke-fetch-pMN6iqup.js} +2 -3
  36. package/chunks/platform-types-CECrZkOF.d.ts +29 -0
  37. package/chunks/{public-runtime-modules-BqxAMJ9M.js → public-runtime-modules-2KfyI2qM.js} +5 -5
  38. package/chunks/{qix-DpvHvpx7.js → qix-BdNrIA4s.js} +19 -20
  39. package/chunks/{qix-chunk-entrypoint-BXZPnE6J.js → qix-chunk-entrypoint-L9RpWwLK.js} +52 -58
  40. package/chunks/{qix-CrqXv44x.d.ts → qix-types-y_di0roE.d.ts} +33 -115
  41. package/collections.d.ts +67 -144
  42. package/collections.js +3 -4
  43. package/conditions.d.ts +87 -190
  44. package/conditions.js +3 -4
  45. package/consumption.d.ts +35 -72
  46. package/consumption.js +3 -4
  47. package/core/ip-policies.d.ts +43 -93
  48. package/core/ip-policies.js +5 -6
  49. package/core.d.ts +1 -2
  50. package/core.js +5 -6
  51. package/csp-origins.d.ts +42 -85
  52. package/csp-origins.js +3 -4
  53. package/csrf-token.d.ts +6 -11
  54. package/csrf-token.js +3 -4
  55. package/data-alerts.d.ts +152 -325
  56. package/data-alerts.js +3 -4
  57. package/data-assets.d.ts +16 -31
  58. package/data-assets.js +3 -4
  59. package/data-connections.d.ts +123 -257
  60. package/data-connections.js +3 -4
  61. package/data-credentials.d.ts +36 -76
  62. package/data-credentials.js +3 -4
  63. package/data-files.d.ts +60 -121
  64. package/data-files.js +3 -4
  65. package/data-governance/data-products.d.ts +429 -0
  66. package/data-governance/data-products.js +212 -0
  67. package/data-governance.d.ts +13 -0
  68. package/data-governance.js +12 -0
  69. package/data-qualities.d.ts +11 -25
  70. package/data-qualities.js +3 -4
  71. package/data-sets.d.ts +28 -57
  72. package/data-sets.js +3 -4
  73. package/data-sources.d.ts +45 -97
  74. package/data-sources.js +3 -4
  75. package/data-stores.d.ts +53 -107
  76. package/data-stores.js +3 -4
  77. package/dcaas.d.ts +32 -67
  78. package/dcaas.js +3 -4
  79. package/di-projects.d.ts +111 -136
  80. package/di-projects.js +25 -4
  81. package/direct-access-agents.d.ts +29 -63
  82. package/direct-access-agents.js +3 -4
  83. package/encryption.d.ts +28 -59
  84. package/encryption.js +3 -4
  85. package/extensions.d.ts +35 -73
  86. package/extensions.js +3 -4
  87. package/global-types.d.ts +139 -1
  88. package/glossaries.d.ts +75 -158
  89. package/glossaries.js +3 -4
  90. package/groups.d.ts +58 -125
  91. package/groups.js +3 -4
  92. package/identity-providers.d.ts +148 -324
  93. package/identity-providers.js +3 -4
  94. package/index.d.ts +18 -4
  95. package/index.js +64 -19
  96. package/interceptors.d.ts +2 -3
  97. package/interceptors.js +104 -2
  98. package/invoke-fetch-types.d.ts +97 -1
  99. package/items.d.ts +85 -181
  100. package/items.js +3 -4
  101. package/knowledgebases.d.ts +137 -270
  102. package/knowledgebases.js +3 -4
  103. package/licenses.d.ts +71 -153
  104. package/licenses.js +3 -4
  105. package/lineage-graphs.d.ts +39 -85
  106. package/lineage-graphs.js +3 -4
  107. package/ml.d.ts +290 -621
  108. package/ml.js +3 -4
  109. package/notes.d.ts +9 -18
  110. package/notes.js +3 -4
  111. package/notifications.d.ts +14 -30
  112. package/notifications.js +3 -4
  113. package/oauth-clients.d.ts +98 -159
  114. package/oauth-clients.js +4 -5
  115. package/oauth-tokens.d.ts +16 -33
  116. package/oauth-tokens.js +3 -4
  117. package/package.json +6 -3
  118. package/qix.d.ts +46 -2
  119. package/qix.js +2 -3
  120. package/questions.d.ts +53 -110
  121. package/questions.js +3 -4
  122. package/quotas.d.ts +13 -26
  123. package/quotas.js +3 -4
  124. package/reload-tasks.d.ts +23 -46
  125. package/reload-tasks.js +3 -4
  126. package/reloads.d.ts +26 -52
  127. package/reloads.js +3 -4
  128. package/report-templates.d.ts +30 -63
  129. package/report-templates.js +3 -4
  130. package/reports.d.ts +111 -238
  131. package/reports.js +3 -4
  132. package/roles.d.ts +36 -77
  133. package/roles.js +3 -4
  134. package/sharing-tasks.d.ts +201 -427
  135. package/sharing-tasks.js +3 -4
  136. package/spaces.d.ts +71 -157
  137. package/spaces.js +3 -4
  138. package/tasks.d.ts +76 -164
  139. package/tasks.js +3 -4
  140. package/temp-contents.d.ts +17 -35
  141. package/temp-contents.js +3 -4
  142. package/tenant-settings.d.ts +298 -0
  143. package/tenant-settings.js +107 -0
  144. package/tenants.d.ts +31 -67
  145. package/tenants.js +3 -4
  146. package/themes.d.ts +27 -55
  147. package/themes.js +3 -4
  148. package/transports.d.ts +46 -106
  149. package/transports.js +3 -4
  150. package/ui-config.d.ts +8 -17
  151. package/ui-config.js +3 -4
  152. package/users.d.ts +80 -170
  153. package/users.js +3 -4
  154. package/web-integrations.d.ts +38 -83
  155. package/web-integrations.js +3 -4
  156. package/web-notifications.d.ts +14 -29
  157. package/web-notifications.js +3 -4
  158. package/webhooks.d.ts +77 -162
  159. package/webhooks.js +3 -4
  160. package/chunks/auth-XusKk8IA.js +0 -32
  161. package/chunks/auth-types-YrlH_R9f.d.ts +0 -416
  162. package/chunks/auth-types-h43TVDpB.js +0 -24
  163. package/chunks/global-types-CEVAJebk.js +0 -1
  164. /package/chunks/{dist-n3iOVn1W.js → dist-DR758NU5.js} +0 -0
  165. /package/chunks/{invoke-fetch-C1Z0RJYU.d.ts → invoke-fetch-DFc3yzaj.d.ts} +0 -0
  166. /package/chunks/{utils-vv-xFm06.js → utils-jkpLuYZR.js} +0 -0
  167. /package/chunks/{websocket-errors-CRTDTtBL.js → websocket-errors-C5U1tba-.js} +0 -0
package/sharing-tasks.js CHANGED
@@ -1,5 +1,5 @@
1
- import "./chunks/public-runtime-modules-BqxAMJ9M.js";
2
- import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-CckTK7bh.js";
1
+ import "./chunks/public-runtime-modules-2KfyI2qM.js";
2
+ import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
3
3
 
4
4
  //#region src/public/rest/sharing-tasks.ts
5
5
  /**
@@ -232,7 +232,6 @@ const sharingTasksExport = {
232
232
  getSharingTaskExecutionFile,
233
233
  clearCache
234
234
  };
235
- var sharing_tasks_default = sharingTasksExport;
236
235
 
237
236
  //#endregion
238
- export { cancelSharingTask, clearCache, configureSharingTasksSettings, createSharingTask, sharing_tasks_default as default, deleteSharingTask, executeSharingTasks, getSharingTask, getSharingTaskExecution, getSharingTaskExecutionFile, getSharingTaskExecutions, getSharingTasks, getSharingTasksSettings, patchSharingTask, updateSharingTasksSettings };
237
+ export { cancelSharingTask, clearCache, configureSharingTasksSettings, createSharingTask, sharingTasksExport as default, deleteSharingTask, executeSharingTasks, getSharingTask, getSharingTaskExecution, getSharingTaskExecutionFile, getSharingTaskExecutions, getSharingTasks, getSharingTasksSettings, patchSharingTask, updateSharingTasksSettings };
package/spaces.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { y as ApiCallOptions } from "./chunks/auth-types-YrlH_R9f.js";
2
- import "./chunks/invoke-fetch-C1Z0RJYU.js";
1
+ import { ApiCallOptions } from "./invoke-fetch-types.js";
2
+ import "./chunks/invoke-fetch-DFc3yzaj.js";
3
3
 
4
4
  //#region src/public/rest/spaces.d.ts
5
5
  /**
@@ -7,36 +7,24 @@ import "./chunks/invoke-fetch-C1Z0RJYU.js";
7
7
  */
8
8
  type ActionName = "change_owner" | "create" | "read" | "update" | "delete" | "publish" | "link_environment" | "restrict";
9
9
  type Assignment = {
10
- /** The userId or groupId based on the type. */
11
- assigneeId: string;
12
- /** The date and time when the space was created. */
13
- readonly createdAt?: string;
14
- /** The ID of the user who created the assignment. */
10
+ /** The userId or groupId based on the type. */assigneeId: string; /** The date and time when the space was created. */
11
+ readonly createdAt?: string; /** The ID of the user who created the assignment. */
15
12
  readonly createdBy?: string;
16
13
  readonly id: string;
17
14
  readonly links: {
18
15
  self: Link;
19
16
  space?: Link;
20
- };
21
- /** The roles assigned to a user or group. Must not be empty. */
22
- roles: RoleType[];
23
- /** The unique identifier for the space. */
24
- readonly spaceId: string;
25
- /** The unique identifier for the tenant. */
26
- readonly tenantId: string;
27
- /** The type of assignment such as user or group */
28
- type: AssignmentType;
29
- /** The date and time when the space was updated. */
30
- readonly updatedAt?: string;
31
- /** The ID of the user who updated the assignment. */
17
+ }; /** The roles assigned to a user or group. Must not be empty. */
18
+ roles: RoleType[]; /** The unique identifier for the space. */
19
+ readonly spaceId: string; /** The unique identifier for the tenant. */
20
+ readonly tenantId: string; /** The type of assignment such as user or group */
21
+ type: AssignmentType; /** The date and time when the space was updated. */
22
+ readonly updatedAt?: string; /** The ID of the user who updated the assignment. */
32
23
  readonly updatedBy?: string;
33
24
  };
34
25
  type AssignmentCreate = {
35
- /** The userId or groupId based on the type. */
36
- assigneeId: string;
37
- /** The roles assigned to the assigneeId. For the full list of roles assignable in this space type, call `GET /spaces/{spaceId}` and inspect the `meta.assignableRoles` object. */
38
- roles: RoleType[];
39
- /** The type of assignment such as user or group */
26
+ /** The userId or groupId based on the type. */assigneeId: string; /** The roles assigned to the assigneeId. For the full list of roles assignable in this space type, call `GET /spaces/{spaceId}` and inspect the `meta.assignableRoles` object. */
27
+ roles: RoleType[]; /** The type of assignment such as user or group */
40
28
  type: AssignmentType;
41
29
  };
42
30
  /**
@@ -44,8 +32,7 @@ type AssignmentCreate = {
44
32
  */
45
33
  type AssignmentType = "user" | "group" | "bot";
46
34
  type AssignmentUpdate = {
47
- /** The roles assigned to the assigneeId. For the full list of roles assignable in this space type, call `GET /spaces/{spaceId}` and inspect the `meta.assignableRoles` object. */
48
- roles?: RoleType[];
35
+ /** The roles assigned to the assigneeId. For the full list of roles assignable in this space type, call `GET /spaces/{spaceId}` and inspect the `meta.assignableRoles` object. */roles?: RoleType[];
49
36
  };
50
37
  type Assignments = {
51
38
  data?: Assignment[];
@@ -55,29 +42,21 @@ type Assignments = {
55
42
  self: Link;
56
43
  };
57
44
  readonly meta?: {
58
- /** The total number of assignments matching the current filter. */
59
- count: number;
45
+ /** The total number of assignments matching the current filter. */count: number;
60
46
  };
61
47
  };
62
48
  /**
63
49
  * An error object.
64
50
  */
65
51
  type Error = {
66
- /** The error code. */
67
- code: string;
68
- /** A human-readable explanation specific to the occurrence of this problem. */
69
- detail?: string;
70
- /** Additional properties relating to the error. */
52
+ /** The error code. */code: string; /** A human-readable explanation specific to the occurrence of this problem. */
53
+ detail?: string; /** Additional properties relating to the error. */
71
54
  meta?: {
72
- /** References to the source of the error. */
73
- source?: {
74
- /** The URI query parameter that caused the error. */
75
- parameter?: string;
76
- /** A JSON pointer to the property that caused the error. */
55
+ /** References to the source of the error. */source?: {
56
+ /** The URI query parameter that caused the error. */parameter?: string; /** A JSON pointer to the property that caused the error. */
77
57
  pointer?: string;
78
58
  };
79
- };
80
- /** Summary of the problem. */
59
+ }; /** Summary of the problem. */
81
60
  title: string;
82
61
  };
83
62
  type Errors = {
@@ -94,9 +73,7 @@ type Errors = {
94
73
  /** @deprecated
95
74
  * References to the source of the error. */
96
75
  source?: {
97
- /** The URI query parameter that caused the error. */
98
- parameter?: string;
99
- /** A JSON pointer to the property that caused the error. */
76
+ /** The URI query parameter that caused the error. */parameter?: string; /** A JSON pointer to the property that caused the error. */
100
77
  pointer?: string;
101
78
  };
102
79
  /** @deprecated
@@ -105,8 +82,7 @@ type Errors = {
105
82
  traceId?: string;
106
83
  };
107
84
  type Link = {
108
- /** URL that defines the resource. */
109
- href: string;
85
+ /** URL that defines the resource. */href: string;
110
86
  };
111
87
  /**
112
88
  * Supported roles by space type:
@@ -116,48 +92,34 @@ type Link = {
116
92
  */
117
93
  type RoleType = "consumer" | "contributor" | "dataconsumer" | "datapreview" | "facilitator" | "operator" | "producer" | "publisher" | "basicconsumer" | "codeveloper";
118
94
  type Share = {
119
- /** The userId or groupId based on the type. */
120
- assigneeId: string;
121
- readonly createdAt?: string;
122
- /** The ID of the user who created the share. */
123
- readonly createdBy?: string;
124
- /** If the share is disabled (effective ONLY for link shares). */
95
+ /** The userId or groupId based on the type. */assigneeId: string;
96
+ readonly createdAt?: string; /** The ID of the user who created the share. */
97
+ readonly createdBy?: string; /** If the share is disabled (effective ONLY for link shares). */
125
98
  disabled?: boolean;
126
99
  readonly id: string;
127
100
  readonly links?: {
128
101
  self: Link;
129
102
  space?: Link;
130
- };
131
- /** The ID of the shared resource. */
132
- resourceId: string;
133
- /** The name of the shared resource. */
134
- resourceName?: string;
135
- /** The type of the shared resource. */
136
- resourceType: "app";
137
- /** The roles assigned to the assigneeId. */
103
+ }; /** The ID of the shared resource. */
104
+ resourceId: string; /** The name of the shared resource. */
105
+ resourceName?: string; /** The type of the shared resource. */
106
+ resourceType: "app"; /** The roles assigned to the assigneeId. */
138
107
  roles?: ShareRoleType[];
139
108
  readonly spaceId: string;
140
109
  readonly tenantId: string;
141
110
  type: ShareType;
142
- readonly updatedAt?: string;
143
- /** The ID of the user who updated the share. */
111
+ readonly updatedAt?: string; /** The ID of the user who updated the share. */
144
112
  readonly updatedBy?: string;
145
113
  };
146
114
  type ShareCreate = {
147
- /** The userId or groupId based on the type. */
148
- assigneeId: string;
149
- /** The resource id for the shared item. */
150
- resourceId: string;
151
- /** The resource type for the shared item. */
152
- resourceType: string;
153
- /** The roles assigned to the assigneeId. */
115
+ /** The userId or groupId based on the type. */assigneeId: string; /** The resource id for the shared item. */
116
+ resourceId: string; /** The resource type for the shared item. */
117
+ resourceType: string; /** The roles assigned to the assigneeId. */
154
118
  roles: ShareRoleType[];
155
119
  type: ShareType;
156
120
  };
157
121
  type SharePatch = {
158
- /** The operation to be performed. */
159
- op: "replace";
160
- /** Field of Share to be patched (updated). */
122
+ /** The operation to be performed. */op: "replace"; /** Field of Share to be patched (updated). */
161
123
  path: "/roles" | "/disabled";
162
124
  /** The value to be used within the operations.
163
125
  * - roles: The roles assigned to the assigneeId.
@@ -179,58 +141,39 @@ type Shares = {
179
141
  self: Link;
180
142
  };
181
143
  readonly meta?: {
182
- /** The total number of Shares matching the current filter. */
183
- count: number;
144
+ /** The total number of Shares matching the current filter. */count: number;
184
145
  };
185
146
  };
186
147
  /**
187
148
  * 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.
188
149
  */
189
150
  type Space = {
190
- /** The date and time when the space was created. */
191
- readonly createdAt?: string;
192
- /** The ID of the user who created the space. */
193
- readonly createdBy?: string;
194
- /** The description of the space. Personal spaces do not have a description. */
195
- description?: string;
196
- /** A unique identifier for the space, for example, 62716f4b39b865ece543cd45. */
151
+ /** The date and time when the space was created. */readonly createdAt?: string; /** The ID of the user who created the space. */
152
+ readonly createdBy?: string; /** The description of the space. Personal spaces do not have a description. */
153
+ description?: string; /** A unique identifier for the space, for example, 62716f4b39b865ece543cd45. */
197
154
  readonly id: string;
198
155
  readonly links: {
199
156
  assignments: Link;
200
157
  self: Link;
201
- };
202
- /** Information about the space settings. */
158
+ }; /** Information about the space settings. */
203
159
  readonly meta?: {
204
- /** The list of actions allowed by the current user in this space. */
205
- actions: ActionName[];
206
- /** The list of roles that could be assigned in this space. */
207
- assignableRoles: RoleType[];
208
- /** The list of roles assigned to the current user in this space. */
160
+ /** The list of actions allowed by the current user in this space. */actions: ActionName[]; /** The list of roles that could be assigned in this space. */
161
+ assignableRoles: RoleType[]; /** The list of roles assigned to the current user in this space. */
209
162
  roles: RoleType[];
210
- };
211
- /** The name of the space. Personal spaces do not have a name. */
212
- name: string;
213
- /** The ID for the space owner. */
214
- readonly ownerId?: string;
215
- /** The ID for the tenant, for example, xqGQ0k66vSR8f9G7J-vYtHZQkiYrCpct. */
216
- readonly tenantId: string;
217
- /** The type of space such as shared, managed, and so on. */
218
- readonly type?: "shared" | "managed" | "data";
219
- /** The date and time when the space was updated. */
163
+ }; /** The name of the space. Personal spaces do not have a name. */
164
+ name: string; /** The ID for the space owner. */
165
+ readonly ownerId?: string; /** The ID for the tenant, for example, xqGQ0k66vSR8f9G7J-vYtHZQkiYrCpct. */
166
+ readonly tenantId: string; /** The type of space such as shared, managed, and so on. */
167
+ readonly type?: "shared" | "managed" | "data"; /** The date and time when the space was updated. */
220
168
  readonly updatedAt?: string;
221
169
  };
222
170
  type SpaceCreate = {
223
- /** The description of the space. Personal spaces do not have a description. */
224
- description?: string;
225
- /** The name of the space. Personal spaces do not have a name. */
226
- name: string;
227
- /** The type of space such as shared, managed, and so on. */
171
+ /** The description of the space. Personal spaces do not have a description. */description?: string; /** The name of the space. Personal spaces do not have a name. */
172
+ name: string; /** The type of space such as shared, managed, and so on. */
228
173
  type: "shared" | "managed" | "data";
229
174
  };
230
175
  type SpacePatch = {
231
- /** The operation to be performed. */
232
- op: "replace";
233
- /** Field of space to be patched (updated). */
176
+ /** The operation to be performed. */op: "replace"; /** Field of space to be patched (updated). */
234
177
  path: "/name" | "/ownerId" | "/description";
235
178
  /** The value to be used within the operations.
236
179
  * - name: The name (string) of space of maxLength 256 of pattern: ^[^\"\*\?\<\>\/\|\\\:]+$
@@ -249,11 +192,8 @@ type SpaceTypes = {
249
192
  readonly data?: SpaceType[];
250
193
  };
251
194
  type SpaceUpdate = {
252
- /** The description of the space. Personal spaces do not have a description. */
253
- description?: string;
254
- /** The name of the space. */
255
- name?: string;
256
- /** The user ID of the space owner. */
195
+ /** The description of the space. Personal spaces do not have a description. */description?: string; /** The name of the space. */
196
+ name?: string; /** The user ID of the space owner. */
257
197
  ownerId?: string;
258
198
  };
259
199
  type Spaces = {
@@ -264,13 +204,9 @@ type Spaces = {
264
204
  self: Link;
265
205
  };
266
206
  readonly meta?: {
267
- /** The total number of spaces matching the current filter. */
268
- count: number;
269
- /** The meta related to personal space when applicable. */
207
+ /** The total number of spaces matching the current filter. */count: number; /** The meta related to personal space when applicable. */
270
208
  readonly personalSpace?: {
271
- /** The list of actions allowed by the current user in this space. */
272
- actions: ActionName[];
273
- /** resource type */
209
+ /** The list of actions allowed by the current user in this space. */actions: ActionName[]; /** resource type */
274
210
  resourceType: string;
275
211
  };
276
212
  };
@@ -282,21 +218,13 @@ type Spaces = {
282
218
  * @throws GetSpacesHttpError
283
219
  */
284
220
  declare function getSpaces(query: {
285
- /** Action on space. Supports only "?action=publish". */
286
- action?: string;
287
- /** Maximum number of spaces to return. */
288
- limit?: number;
289
- /** Space name to search and filter for. Case-insensitive open search with wildcards both as prefix and suffix. For example, "?name=fin" will get "finance", "Final" and "Griffin". */
290
- name?: string;
291
- /** The next page cursor. Next links make use of this. */
292
- next?: string;
293
- /** Space ownerId to filter by. For example, "?ownerId=123". */
294
- ownerId?: string;
295
- /** The previous page cursor. Previous links make use of this. */
296
- prev?: string;
297
- /** Field to sort by. Prefix with +/- to indicate asc/desc. For example, "?sort=+name" to sort ascending on Name. Supported fields are "type", "name" and "createdAt". */
298
- sort?: string;
299
- /** Type(s) of space to filter. For example, "?type=managed,shared". */
221
+ /** Action on space. Supports only "?action=publish". */action?: string; /** Maximum number of spaces to return. */
222
+ limit?: number; /** Space name to search and filter for. Case-insensitive open search with wildcards both as prefix and suffix. For example, "?name=fin" will get "finance", "Final" and "Griffin". */
223
+ name?: string; /** The next page cursor. Next links make use of this. */
224
+ next?: string; /** Space ownerId to filter by. For example, "?ownerId=123". */
225
+ ownerId?: string; /** The previous page cursor. Previous links make use of this. */
226
+ prev?: string; /** Field to sort by. Prefix with +/- to indicate asc/desc. For example, "?sort=+name" to sort ascending on Name. Supported fields are "type", "name" and "createdAt". */
227
+ sort?: string; /** Type(s) of space to filter. For example, "?type=managed,shared". */
300
228
  type?: string;
301
229
  }, options?: ApiCallOptions): Promise<GetSpacesHttpResponse>;
302
230
  type GetSpacesHttpResponse = {
@@ -422,15 +350,10 @@ type UpdateSpaceHttpError = {
422
350
  * @throws GetSpaceAssignmentsHttpError
423
351
  */
424
352
  declare function getSpaceAssignments(spaceId: string, query: {
425
- /** Filters assignment for a specific assigneeid. */
426
- assigneeId?: string;
427
- /** Maximum number of assignments to return. */
428
- limit?: number;
429
- /** The next page cursor. Next links make use of this. */
430
- next?: string;
431
- /** The previous page cursor. Previous links make use of this. */
432
- prev?: string;
433
- /** The type of assignment. Supported values are user or group. */
353
+ /** Filters assignment for a specific assigneeid. */assigneeId?: string; /** Maximum number of assignments to return. */
354
+ limit?: number; /** The next page cursor. Next links make use of this. */
355
+ next?: string; /** The previous page cursor. Previous links make use of this. */
356
+ prev?: string; /** The type of assignment. Supported values are user or group. */
434
357
  type?: AssignmentType;
435
358
  }, options?: ApiCallOptions): Promise<GetSpaceAssignmentsHttpResponse>;
436
359
  type GetSpaceAssignmentsHttpResponse = {
@@ -526,23 +449,14 @@ type UpdateSpaceAssignmentHttpError = {
526
449
  * @throws GetSpaceSharesHttpError
527
450
  */
528
451
  declare function getSpaceShares(spaceId: string, query: {
529
- /** The ID of the group to which the resource is shared. */
530
- groupId?: string;
531
- /** Maximum number of shares to return. */
532
- limit?: number;
533
- /** The name of the shared resource. */
534
- name?: string;
535
- /** The next page cursor. Next links make use of this. */
536
- next?: string;
537
- /** The previous page cursor. Previous links make use of this. */
538
- prev?: string;
539
- /** The ID of the shared resource. */
540
- resourceId?: string;
541
- /** The type of the shared resource. */
542
- resourceType?: string;
543
- /** The type of share. `user` shares assign to a specific user, `group` shares assign to a specific group, and `link` shares provide anonymous access to a resource. */
544
- type?: ShareType;
545
- /** The ID of the user to which the resource is shared. */
452
+ /** The ID of the group to which the resource is shared. */groupId?: string; /** Maximum number of shares to return. */
453
+ limit?: number; /** The name of the shared resource. */
454
+ name?: string; /** The next page cursor. Next links make use of this. */
455
+ next?: string; /** The previous page cursor. Previous links make use of this. */
456
+ prev?: string; /** The ID of the shared resource. */
457
+ resourceId?: string; /** The type of the shared resource. */
458
+ resourceType?: string; /** The type of share. `user` shares assign to a specific user, `group` shares assign to a specific group, and `link` shares provide anonymous access to a resource. */
459
+ type?: ShareType; /** The ID of the user to which the resource is shared. */
546
460
  userId?: string;
547
461
  }, options?: ApiCallOptions): Promise<GetSpaceSharesHttpResponse>;
548
462
  type GetSpaceSharesHttpResponse = {
package/spaces.js CHANGED
@@ -1,5 +1,5 @@
1
- import "./chunks/public-runtime-modules-BqxAMJ9M.js";
2
- import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-CckTK7bh.js";
1
+ import "./chunks/public-runtime-modules-2KfyI2qM.js";
2
+ import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
3
3
 
4
4
  //#region src/public/rest/spaces.ts
5
5
  /**
@@ -314,7 +314,6 @@ const spacesExport = {
314
314
  patchShare,
315
315
  clearCache
316
316
  };
317
- var spaces_default = spacesExport;
318
317
 
319
318
  //#endregion
320
- export { clearCache, createSpace, createSpaceAssignment, createSpaceShare, spaces_default as default, deleteSpace, deleteSpaceAssignment, deleteSpaceShare, getSpace, getSpaceAssignment, getSpaceAssignments, getSpaceShare, getSpaceShares, getSpaceTypes, getSpaces, patchShare, patchSpace, updateSpace, updateSpaceAssignment };
319
+ export { clearCache, createSpace, createSpaceAssignment, createSpaceShare, spacesExport as default, deleteSpace, deleteSpaceAssignment, deleteSpaceShare, getSpace, getSpaceAssignment, getSpaceAssignments, getSpaceShare, getSpaceShares, getSpaceTypes, getSpaces, patchShare, patchSpace, updateSpace, updateSpaceAssignment };