@qlik/api 2.2.0 → 2.3.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 (231) hide show
  1. package/analytics/change-stores.d.ts +386 -0
  2. package/analytics/change-stores.js +123 -0
  3. package/analytics.d.ts +14 -0
  4. package/analytics.js +13 -0
  5. package/api-keys.d.ts +362 -3
  6. package/api-keys.js +2 -3
  7. package/apps.d.ts +2673 -3
  8. package/apps.js +2 -3
  9. package/assistants.d.ts +1370 -3
  10. package/assistants.js +2 -3
  11. package/audits.d.ts +318 -3
  12. package/audits.js +4 -4
  13. package/auth-types.d.ts +1 -1
  14. package/auth-types.js +1 -2
  15. package/auth.d.ts +94 -2
  16. package/auth.js +63 -3
  17. package/automation-connections.d.ts +366 -3
  18. package/automation-connections.js +2 -3
  19. package/automation-connectors.d.ts +84 -3
  20. package/automation-connectors.js +2 -3
  21. package/automations.d.ts +805 -3
  22. package/automations.js +2 -3
  23. package/automl-deployments.d.ts +101 -3
  24. package/automl-deployments.js +2 -3
  25. package/automl-predictions.d.ts +238 -3
  26. package/automl-predictions.js +2 -3
  27. package/banners.d.ts +184 -3
  28. package/banners.js +2 -3
  29. package/brands.d.ts +670 -3
  30. package/brands.js +2 -3
  31. package/chunks/{auth-Cle0_tmz.js → auth-BowS4SUR.js} +1 -5
  32. package/chunks/{chunk-EtTptKIv.js → chunk-D3vHIbds.js} +2 -2
  33. package/chunks/{dist-gXLIqDJW.js → dist-n3iOVn1W.js} +4 -4
  34. package/chunks/{auth-functions-BmZgZYSs.js → interceptors-DipDBQQ5.js} +258 -54
  35. package/chunks/{invoke-fetch-PcVIxLW4.js → invoke-fetch-B7lGscuQ.js} +3 -3
  36. package/chunks/{invoke-fetch-CucBpA1C.js → invoke-fetch-DhdyFZ0F.js} +1 -5
  37. package/chunks/{public-runtime-modules-Dwjzb3l8.js → public-runtime-modules-QhLPeQr5.js} +7 -7
  38. package/chunks/{qix-DI5o5XF4.d.ts → qix-CrqXv44x.d.ts} +6 -2
  39. package/chunks/{qix-DjxuPCX0.js → qix-RCUslia8.js} +11 -10
  40. package/chunks/{qix-chunk-entrypoint-tmTo-kpa.js → qix-chunk-entrypoint-WAS4NVTf.js} +48 -50
  41. package/collections.d.ts +582 -3
  42. package/collections.js +2 -3
  43. package/conditions.d.ts +662 -3
  44. package/conditions.js +2 -3
  45. package/consumption.d.ts +182 -3
  46. package/consumption.js +2 -3
  47. package/core/ip-policies.d.ts +328 -4
  48. package/core/ip-policies.js +108 -5
  49. package/core.d.ts +13 -4
  50. package/core.js +3 -4
  51. package/csp-origins.d.ts +273 -3
  52. package/csp-origins.js +2 -3
  53. package/csrf-token.d.ts +62 -3
  54. package/csrf-token.js +2 -3
  55. package/data-alerts.d.ts +1004 -3
  56. package/data-alerts.js +2 -3
  57. package/data-assets.d.ts +207 -3
  58. package/data-assets.js +2 -3
  59. package/data-connections.d.ts +678 -3
  60. package/data-connections.js +2 -3
  61. package/data-credentials.d.ts +292 -3
  62. package/data-credentials.js +2 -3
  63. package/data-files.d.ts +860 -3
  64. package/data-files.js +2 -3
  65. package/data-qualities.d.ts +175 -3
  66. package/data-qualities.js +2 -3
  67. package/data-sets.d.ts +424 -3
  68. package/data-sets.js +2 -3
  69. package/data-sources.d.ts +348 -3
  70. package/data-sources.js +2 -3
  71. package/data-stores.d.ts +537 -3
  72. package/data-stores.js +2 -3
  73. package/dcaas.d.ts +192 -3
  74. package/dcaas.js +2 -3
  75. package/di-projects.d.ts +812 -4
  76. package/di-projects.js +25 -4
  77. package/direct-access-agents.d.ts +710 -4
  78. package/direct-access-agents.js +37 -5
  79. package/docs/authentication.md +1 -1
  80. package/encryption.d.ts +372 -3
  81. package/encryption.js +2 -3
  82. package/extensions.d.ts +295 -3
  83. package/extensions.js +2 -3
  84. package/global-types.d.ts +1 -1
  85. package/global-types.js +0 -2
  86. package/glossaries.d.ts +1223 -3
  87. package/glossaries.js +2 -3
  88. package/groups.d.ts +510 -3
  89. package/groups.js +2 -3
  90. package/identity-providers.d.ts +711 -3
  91. package/identity-providers.js +2 -3
  92. package/index.d.ts +78 -69
  93. package/index.js +28 -10
  94. package/interceptors.d.ts +52 -3
  95. package/interceptors.js +1 -2
  96. package/invoke-fetch-types.d.ts +1 -1
  97. package/items.d.ts +536 -3
  98. package/items.js +2 -3
  99. package/knowledgebases.d.ts +976 -3
  100. package/knowledgebases.js +2 -3
  101. package/licenses.d.ts +663 -3
  102. package/licenses.js +2 -3
  103. package/lineage-graphs.d.ts +704 -3
  104. package/lineage-graphs.js +2 -3
  105. package/ml.d.ts +2808 -3
  106. package/ml.js +2 -3
  107. package/notes.d.ts +110 -3
  108. package/notes.js +2 -3
  109. package/notifications.d.ts +98 -3
  110. package/notifications.js +2 -3
  111. package/oauth-callback.iife.js +1151 -0
  112. package/oauth-clients.d.ts +562 -3
  113. package/oauth-clients.js +2 -3
  114. package/oauth-tokens.d.ts +126 -3
  115. package/oauth-tokens.js +2 -3
  116. package/package.json +6 -4
  117. package/qix.d.ts +3 -3
  118. package/qix.js +38 -3
  119. package/questions.d.ts +364 -3
  120. package/questions.js +2 -3
  121. package/quotas.d.ts +112 -3
  122. package/quotas.js +2 -3
  123. package/reload-tasks.d.ts +249 -3
  124. package/reload-tasks.js +2 -3
  125. package/reloads.d.ts +260 -3
  126. package/reloads.js +2 -3
  127. package/report-templates.d.ts +287 -3
  128. package/report-templates.js +2 -3
  129. package/reports.d.ts +863 -3
  130. package/reports.js +2 -3
  131. package/roles.d.ts +312 -3
  132. package/roles.js +2 -3
  133. package/sharing-tasks.d.ts +1164 -3
  134. package/sharing-tasks.js +2 -3
  135. package/spaces.d.ts +779 -3
  136. package/spaces.js +2 -3
  137. package/tasks.d.ts +564 -3
  138. package/tasks.js +2 -3
  139. package/temp-contents.d.ts +167 -3
  140. package/temp-contents.js +2 -3
  141. package/tenants.d.ts +360 -3
  142. package/tenants.js +2 -3
  143. package/themes.d.ts +270 -3
  144. package/themes.js +2 -3
  145. package/transports.d.ts +435 -4
  146. package/transports.js +20 -5
  147. package/ui-config.d.ts +274 -3
  148. package/ui-config.js +2 -3
  149. package/users.d.ts +674 -3
  150. package/users.js +2 -3
  151. package/web-integrations.d.ts +294 -3
  152. package/web-integrations.js +2 -3
  153. package/web-notifications.d.ts +273 -3
  154. package/web-notifications.js +2 -3
  155. package/webhooks.d.ts +505 -3
  156. package/webhooks.js +2 -3
  157. package/chunks/api-keys-D6Rqaov4.d.ts +0 -365
  158. package/chunks/apps-BwpXUGDb.d.ts +0 -2673
  159. package/chunks/assistants-wh6Qe7l6.d.ts +0 -1366
  160. package/chunks/audits-DakwzT97.d.ts +0 -316
  161. package/chunks/auth-6mptVm5Q.d.ts +0 -95
  162. package/chunks/auth-D11iO7ZV.js +0 -65
  163. package/chunks/automation-connections-k2G_n9rj.d.ts +0 -366
  164. package/chunks/automation-connectors-J5OE-1P0.d.ts +0 -84
  165. package/chunks/automations-BGy83EBO.d.ts +0 -797
  166. package/chunks/automl-deployments-CWEpX2pk.d.ts +0 -101
  167. package/chunks/automl-predictions-BNIjRhBm.d.ts +0 -238
  168. package/chunks/banners-CgBRnZGv.d.ts +0 -184
  169. package/chunks/brands-DCgk6Gqx.d.ts +0 -671
  170. package/chunks/collections-BpYjcpIY.d.ts +0 -582
  171. package/chunks/conditions-CJJG7Uph.d.ts +0 -662
  172. package/chunks/consumption-DerFk437.d.ts +0 -182
  173. package/chunks/core-DQXNZdnf.d.ts +0 -12
  174. package/chunks/csp-origins-3NJlh_n9.d.ts +0 -273
  175. package/chunks/csrf-token-DoaoOQzH.d.ts +0 -63
  176. package/chunks/data-alerts-CILSEFbQ.d.ts +0 -1004
  177. package/chunks/data-assets-CJDcssoX.d.ts +0 -207
  178. package/chunks/data-connections-VSB13K6g.d.ts +0 -678
  179. package/chunks/data-credentials-ChEp_hyU.d.ts +0 -292
  180. package/chunks/data-files-CVzn9M6V.d.ts +0 -860
  181. package/chunks/data-qualities-DBrot957.d.ts +0 -176
  182. package/chunks/data-sets-CFzxgWnO.d.ts +0 -424
  183. package/chunks/data-sources-IsAaof_C.d.ts +0 -346
  184. package/chunks/data-stores-DFOPdgfz.d.ts +0 -537
  185. package/chunks/dcaas-qyv7YlrN.d.ts +0 -192
  186. package/chunks/di-projects-DVQTxASr.d.ts +0 -777
  187. package/chunks/direct-access-agents-B77OhzZi.d.ts +0 -580
  188. package/chunks/encryption-BjA6xbCO.d.ts +0 -372
  189. package/chunks/extensions-OO0WtInj.d.ts +0 -294
  190. package/chunks/glossaries-CIX7-KT_.d.ts +0 -1213
  191. package/chunks/groups-C86-UG7S.d.ts +0 -511
  192. package/chunks/identity-providers-h0dKNxGZ.d.ts +0 -711
  193. package/chunks/interceptors-Csx2tEi5.d.ts +0 -52
  194. package/chunks/interceptors-DTYm37AU.js +0 -104
  195. package/chunks/ip-policies-CKRIlbP7.d.ts +0 -327
  196. package/chunks/ip-policies-DXlf172B.js +0 -108
  197. package/chunks/items-C-jzqvFW.d.ts +0 -536
  198. package/chunks/knowledgebases-CyQtVcZN.d.ts +0 -977
  199. package/chunks/licenses-xzjnkitW.d.ts +0 -663
  200. package/chunks/lineage-graphs-CViCCzKy.d.ts +0 -697
  201. package/chunks/ml-Abt2MUva.d.ts +0 -2809
  202. package/chunks/notes-BZxuyDgt.d.ts +0 -111
  203. package/chunks/notifications-Bd_gp4jU.d.ts +0 -99
  204. package/chunks/oauth-clients-B5QPr4IM.d.ts +0 -563
  205. package/chunks/oauth-tokens-1b7V8182.d.ts +0 -127
  206. package/chunks/qix-CYQsLyGQ.js +0 -40
  207. package/chunks/questions-BVp0tvNs.d.ts +0 -364
  208. package/chunks/quotas-CfAebRJd.d.ts +0 -113
  209. package/chunks/reload-tasks-DfwUTetn.d.ts +0 -249
  210. package/chunks/reloads-CwmagnFx.d.ts +0 -260
  211. package/chunks/report-templates-DjQYj5dn.d.ts +0 -287
  212. package/chunks/reports-DzNC6Uq3.d.ts +0 -861
  213. package/chunks/roles-BYFIY6E7.d.ts +0 -312
  214. package/chunks/sharing-tasks-BMGIQ-FO.d.ts +0 -1164
  215. package/chunks/spaces-BK823t-b.d.ts +0 -780
  216. package/chunks/tasks-COKDfShO.d.ts +0 -564
  217. package/chunks/temp-contents-zDomB-g6.d.ts +0 -168
  218. package/chunks/tenants-Bhn86519.d.ts +0 -361
  219. package/chunks/themes-v9NbhiBo.d.ts +0 -269
  220. package/chunks/transports-CqEiFxD3.d.ts +0 -362
  221. package/chunks/ui-config-Crs0mVMp.d.ts +0 -274
  222. package/chunks/users-BSOBU_fg.d.ts +0 -675
  223. package/chunks/web-integrations-MisPAHod.d.ts +0 -295
  224. package/chunks/web-notifications-DVy6FHYh.d.ts +0 -274
  225. package/chunks/webhooks-Dr4EiXqy.d.ts +0 -505
  226. /package/chunks/{auth-types-E99tzdN0.d.ts → auth-types-YrlH_R9f.d.ts} +0 -0
  227. /package/chunks/{auth-types-JehqruDP.js → auth-types-h43TVDpB.js} +0 -0
  228. /package/chunks/{global-types-CrOvI33z.js → global-types-CEVAJebk.js} +0 -0
  229. /package/chunks/{invoke-fetch-CbU2Dgqr.d.ts → invoke-fetch-C1Z0RJYU.d.ts} +0 -0
  230. /package/chunks/{utils-BnC4lrlq.js → utils-vv-xFm06.js} +0 -0
  231. /package/chunks/{websocket-errors-DSbO6kDZ.js → websocket-errors-CRTDTtBL.js} +0 -0
@@ -1,537 +0,0 @@
1
- import { y as ApiCallOptions } from "./auth-types-E99tzdN0.js";
2
-
3
- //#region src/public/rest/data-stores.d.ts
4
- type BatchIdDto = {
5
- ids?: string[];
6
- };
7
- type DataAsset = {
8
- appId?: string;
9
- appType: string;
10
- /** The value is automatically set by the application. User defined value is ignored. */
11
- readonly createdBy?: string;
12
- /** The value is automatically set by the application. User defined value is ignored. */
13
- readonly createdTime?: string;
14
- /** The date-time when the source data was last changed */
15
- dataFreshness?: string;
16
- dataStoreInfo?: DataStoreInfo;
17
- description?: string;
18
- /** Only required when updating the resource. Must be null for new resources. */
19
- id?: string;
20
- /** The value is automatically set by the application. User defined value is ignored. */
21
- readonly lastModifiedBy?: string;
22
- /** The value is automatically set by the application. User defined value is ignored. */
23
- readonly lastModifiedTime?: string;
24
- name?: string;
25
- /** The value is automatically set by the application. */
26
- ownerId?: string;
27
- /** A Map of name-value pairs. */
28
- properties?: Record<string, unknown>;
29
- spaceId?: string;
30
- tags?: string[];
31
- technicalDescription?: string;
32
- technicalName: string;
33
- /** The value is automatically set by the application. User defined value is ignored. */
34
- readonly tenantId?: string;
35
- /** Only required when updating the resource. Must be null for new resources. */
36
- version?: number;
37
- };
38
- type DataAssetInfo = {
39
- dataStoreInfo?: DataStoreInfo;
40
- id: string;
41
- readonly name?: string;
42
- };
43
- type DataField = {
44
- alias?: string;
45
- dataType: FieldDataType;
46
- description?: string;
47
- encrypted?: boolean;
48
- readonly index?: number;
49
- name: string;
50
- nullable?: boolean;
51
- ordinalPositionInKey?: number;
52
- orphan?: boolean;
53
- primaryKey?: boolean;
54
- properties?: Record<string, unknown>;
55
- sensitive?: boolean;
56
- /** An array of system tags */
57
- tags?: string[];
58
- /** An array of user-supplied tags */
59
- userTags?: UserTag[];
60
- };
61
- type DataSet = {
62
- /** Optional field to specify additional schemas for files where multiple tables or sheets are available. User must define primary schema in 'schema' attribute and rest of the sheets/ tables can be defined using this field. This field is not populated for the dataSets with single schema */
63
- additionalSchemas?: Schema[];
64
- /** Optional override of DataAsset appType. */
65
- appTypeOverride?: string;
66
- /** The value is automatically set by the application. User defined value is ignored. */
67
- readonly createdBy?: string;
68
- /** The connectionId that created the Dataset. Optional. */
69
- createdByConnectionId?: string;
70
- /** The value is automatically set by the application. User defined value is ignored. */
71
- readonly createdTime?: string;
72
- dataAssetInfo: DataAssetInfo;
73
- description?: string;
74
- /** Only required when updating the resource. Must be null for new resources. */
75
- id?: string;
76
- /** The value is automatically set by the application. User defined value is ignored. */
77
- readonly lastModifiedBy?: string;
78
- /** The value is automatically set by the application. User defined value is ignored. */
79
- readonly lastModifiedTime?: string;
80
- name?: string;
81
- operational?: Operational;
82
- /** The value is automatically set by the application. */
83
- ownerId?: string;
84
- /** A Map of name-value pairs. */
85
- properties?: Record<string, unknown>;
86
- /** NOTE: this will be deprecated after migration to secureQri. Required user defined field. All the parts in the format must be separated by ':'. The first part denotes the resourceType, followed by dataStoreType and tenant guid. The spaceGuid or userGuid is to be populated based on if the dataset is in shared or private space and finally the full file name. This field is auto populated for the dataSet generated for qix-datafiles. */
87
- qri: string;
88
- /** Optional field to specify additional schemas for files where multiple tables or sheets are available. User must define primary schema in 'schema' attribute and rest of the sheets/ tables can be defined using this field. This field is not populated for the dataSets with single schema */
89
- schema?: Schema;
90
- secureQri: string;
91
- spaceId?: string;
92
- tags?: string[];
93
- technicalDescription?: string;
94
- technicalName: string;
95
- /** The value is automatically set by the application. User defined value is ignored. */
96
- readonly tenantId?: string;
97
- type?: string;
98
- /** Only required when updating the resource. Must be null for new resources. */
99
- version?: number;
100
- };
101
- type DataStore = {
102
- /** The value is automatically set by the application. User defined value is ignored. */
103
- readonly createdBy?: string;
104
- /** The value is automatically set by the application. User defined value is ignored. */
105
- readonly createdTime?: string;
106
- description?: string;
107
- /** Only required when updating the resource. Must be null for new resources. */
108
- id?: string;
109
- /** The value is automatically set by the application. User defined value is ignored. */
110
- readonly lastModifiedBy?: string;
111
- /** The value is automatically set by the application. User defined value is ignored. */
112
- readonly lastModifiedTime?: string;
113
- name?: string;
114
- /** The value is automatically set by the application. */
115
- ownerId?: string;
116
- /** A Map of name-value pairs. */
117
- properties?: Record<string, unknown>;
118
- spaceId?: string;
119
- tags?: string[];
120
- technicalDescription?: string;
121
- technicalName: string;
122
- /** The value is automatically set by the application. User defined value is ignored. */
123
- readonly tenantId?: string;
124
- type: string;
125
- uri?: string;
126
- /** Only required when updating the resource. Must be null for new resources. */
127
- version?: number;
128
- };
129
- type DataStoreInfo = {
130
- id: string;
131
- readonly name?: string;
132
- readonly type?: string;
133
- };
134
- type Error = {
135
- code?: string;
136
- detail?: string;
137
- status?: string;
138
- title?: string;
139
- };
140
- type ErrorResponse = {
141
- errors?: Error[];
142
- traceId?: string;
143
- };
144
- type FieldDataType = {
145
- originalType?: string;
146
- /** The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined. */
147
- properties?: Record<string, unknown>;
148
- /** Each datatype may vary in terms of required properties. Example: Datatype DECIMAL requires two mandatory properties to be defined - precision and scale, each one accepts integer value. All other datatypes does not have any required properties. */
149
- type: "DATE" | "TIME" | "DATETIME" | "TIMESTAMP" | "STRING" | "DOUBLE" | "DECIMAL" | "INTEGER" | "BOOLEAN" | "BINARY" | "CUSTOM";
150
- };
151
- type JsonPatch = {
152
- /** A JSON Pointer path pointing to the location to move/copy from. */
153
- from?: string;
154
- /** The operation to be performed. */
155
- op: "add" | "remove" | "replace" | "move" | "copy" | "test";
156
- /** A JSON pointer to the property being affected. */
157
- path: string;
158
- /** The value to add, replace or test. */
159
- value?: unknown;
160
- };
161
- type Link = {
162
- href?: string;
163
- };
164
- type Links = {
165
- first?: Link;
166
- last?: Link;
167
- next?: Link;
168
- prev?: Link;
169
- self?: Link;
170
- };
171
- type Operational = {
172
- contentUpdated?: boolean;
173
- endDate?: string;
174
- lastLoadTime?: string;
175
- lastUpdateTime?: string;
176
- location?: string;
177
- logMessage?: string;
178
- rowCount?: number;
179
- size?: number;
180
- startDate?: string;
181
- status?: string;
182
- tableConnectionInfo?: TableConnectionInfo;
183
- tableOwner?: string;
184
- };
185
- type PageDataAsset = {
186
- data?: DataAsset[];
187
- limit?: number;
188
- links?: Links;
189
- page?: number;
190
- pages?: number;
191
- total?: number;
192
- };
193
- type PageDataSet = {
194
- data?: DataSet[];
195
- limit?: number;
196
- links?: Links;
197
- page?: number;
198
- pages?: number;
199
- total?: number;
200
- };
201
- type PageDataStore = {
202
- data?: DataStore[];
203
- limit?: number;
204
- links?: Links;
205
- page?: number;
206
- pages?: number;
207
- total?: number;
208
- };
209
- /**
210
- * Optional field to specify additional schemas for files where multiple tables or sheets are available. User must define primary schema in 'schema' attribute and rest of the sheets/ tables can be defined using this field. This field is not populated for the dataSets with single schema
211
- */
212
- type Schema = {
213
- /** Anomalies associated with this schema. Example: $warning-unknown-headers */
214
- anomalies?: string[];
215
- dataFields: DataField[];
216
- readonly effectiveDate?: string;
217
- /** Options for loading files. Example: "qLabel": "embedded labels" */
218
- loadOptions?: Record<string, unknown>;
219
- overrideSchemaAnomalies?: boolean;
220
- schemaName?: string;
221
- };
222
- type TableConnectionInfo = {
223
- additionalProperties?: Record<string, string>;
224
- selectionScript?: string;
225
- tableName?: string;
226
- };
227
- /**
228
- * An array of user-supplied tags
229
- */
230
- type UserTag = {
231
- /** The id of the tag in Collections */
232
- id?: string;
233
- name?: string;
234
- };
235
- /**
236
- * Delete data stores if it does not contain any data-assets.
237
- *
238
- * @param body an object with the body content
239
- * @throws DeleteDataStoresHttpError
240
- */
241
- declare function deleteDataStores(body: BatchIdDto, options?: ApiCallOptions): Promise<DeleteDataStoresHttpResponse>;
242
- type DeleteDataStoresHttpResponse = {
243
- data: void;
244
- headers: Headers;
245
- status: 204;
246
- };
247
- type DeleteDataStoresHttpError = {
248
- data: ErrorResponse;
249
- headers: Headers;
250
- status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
251
- };
252
- /**
253
- * Get all data stores.
254
- *
255
- * @param query an object with query parameters
256
- * @throws GetDataStoresHttpError
257
- */
258
- declare function getDataStores(query: {
259
- /** Page size limit. */
260
- limit?: number;
261
- page?: number;
262
- /** Comma-separated fields to return in the response. */
263
- projections?: string[];
264
- /** Comma-separated fields and field start with '-' character sorts the result set in descending order. */
265
- sort?: string[];
266
- }, options?: ApiCallOptions): Promise<GetDataStoresHttpResponse>;
267
- type GetDataStoresHttpResponse = {
268
- data: PageDataStore;
269
- headers: Headers;
270
- status: 200;
271
- prev?: (options?: ApiCallOptions) => Promise<GetDataStoresHttpResponse>;
272
- next?: (options?: ApiCallOptions) => Promise<GetDataStoresHttpResponse>;
273
- };
274
- type GetDataStoresHttpError = {
275
- data: ErrorResponse;
276
- headers: Headers;
277
- status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
278
- };
279
- /**
280
- * Save new data store.
281
- *
282
- * @param body an object with the body content
283
- * @throws CreateDataStoreHttpError
284
- */
285
- declare function createDataStore(body: DataStore, options?: ApiCallOptions): Promise<CreateDataStoreHttpResponse>;
286
- type CreateDataStoreHttpResponse = {
287
- data: DataStore;
288
- headers: Headers;
289
- status: 201;
290
- };
291
- type CreateDataStoreHttpError = {
292
- data: ErrorResponse;
293
- headers: Headers;
294
- status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
295
- };
296
- /**
297
- * Delete data assets and child data-sets by data-store IDs.
298
- *
299
- * @param dataStoreIds Comma-separated data store IDs or * to include all data stores.
300
- * @throws DeleteDataStoreDataAssetsHttpError
301
- */
302
- declare function deleteDataStoreDataAssets(dataStoreIds: string, options?: ApiCallOptions): Promise<DeleteDataStoreDataAssetsHttpResponse>;
303
- type DeleteDataStoreDataAssetsHttpResponse = {
304
- data: void;
305
- headers: Headers;
306
- status: 204;
307
- };
308
- type DeleteDataStoreDataAssetsHttpError = {
309
- data: ErrorResponse;
310
- headers: Headers;
311
- status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
312
- };
313
- /**
314
- * Get all data assets belonging to the data store(s).
315
- *
316
- * @param dataStoreIds Comma-separated data store IDs or * to include all data stores.
317
- * @param query an object with query parameters
318
- * @throws GetDataStoreDataAssetsHttpError
319
- */
320
- declare function getDataStoreDataAssets(dataStoreIds: string, query: {
321
- /** Page size limit. */
322
- limit?: number;
323
- page?: number;
324
- /** Comma-separated fields to return in the response. */
325
- projections?: string[];
326
- /** Comma-separated fields and field start with '-' character sorts the result set in descending order. */
327
- sort?: string[];
328
- }, options?: ApiCallOptions): Promise<GetDataStoreDataAssetsHttpResponse>;
329
- type GetDataStoreDataAssetsHttpResponse = {
330
- data: PageDataAsset;
331
- headers: Headers;
332
- status: 200;
333
- prev?: (options?: ApiCallOptions) => Promise<GetDataStoreDataAssetsHttpResponse>;
334
- next?: (options?: ApiCallOptions) => Promise<GetDataStoreDataAssetsHttpResponse>;
335
- };
336
- type GetDataStoreDataAssetsHttpError = {
337
- data: ErrorResponse;
338
- headers: Headers;
339
- status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
340
- };
341
- /**
342
- * Delete data sets by data-store IDs and data-asset IDs.
343
- *
344
- * @param dataStoreIds Comma-separated data store IDs or * to include all data stores.
345
- * @param dataAssetIds Comma-separated data asset IDs or * to include all data assets.
346
- * @throws DeleteDataStoreDataAssetDataSetsHttpError
347
- */
348
- declare function deleteDataStoreDataAssetDataSets(dataStoreIds: string, dataAssetIds: string, options?: ApiCallOptions): Promise<DeleteDataStoreDataAssetDataSetsHttpResponse>;
349
- type DeleteDataStoreDataAssetDataSetsHttpResponse = {
350
- data: void;
351
- headers: Headers;
352
- status: 204;
353
- };
354
- type DeleteDataStoreDataAssetDataSetsHttpError = {
355
- data: ErrorResponse;
356
- headers: Headers;
357
- status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
358
- };
359
- /**
360
- * Get all data sets belonging to the data store(s) and data asset(s).
361
- *
362
- * @param dataStoreIds Comma-separated data store IDs or * to include all data stores.
363
- * @param dataAssetIds Comma-separated data asset IDs or * to include all data assets.
364
- * @param query an object with query parameters
365
- * @throws GetDataStoreDataAssetDataSetsHttpError
366
- */
367
- declare function getDataStoreDataAssetDataSets(dataStoreIds: string, dataAssetIds: string, query: {
368
- /** Page size limit. */
369
- limit?: number;
370
- page?: number;
371
- /** Comma-separated fields to return in the response. */
372
- projections?: string[];
373
- /** Comma-separated fields and field start with '-' character sorts the result set in descending order. */
374
- sort?: string[];
375
- }, options?: ApiCallOptions): Promise<GetDataStoreDataAssetDataSetsHttpResponse>;
376
- type GetDataStoreDataAssetDataSetsHttpResponse = {
377
- data: PageDataSet;
378
- headers: Headers;
379
- status: 200;
380
- prev?: (options?: ApiCallOptions) => Promise<GetDataStoreDataAssetDataSetsHttpResponse>;
381
- next?: (options?: ApiCallOptions) => Promise<GetDataStoreDataAssetDataSetsHttpResponse>;
382
- };
383
- type GetDataStoreDataAssetDataSetsHttpError = {
384
- data: ErrorResponse;
385
- headers: Headers;
386
- status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
387
- };
388
- /**
389
- * Get data store by ID.
390
- *
391
- * @param dataStoreId
392
- * @param query an object with query parameters
393
- * @throws GetDataStoreHttpError
394
- */
395
- declare function getDataStore(dataStoreId: string, query: {
396
- /** Comma-separated fields to return in the response. */
397
- projections?: string[];
398
- }, options?: ApiCallOptions): Promise<GetDataStoreHttpResponse>;
399
- type GetDataStoreHttpResponse = {
400
- data: DataStore;
401
- headers: Headers;
402
- status: 200;
403
- };
404
- type GetDataStoreHttpError = {
405
- data: ErrorResponse;
406
- headers: Headers;
407
- status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
408
- };
409
- /**
410
- * Patch data store.
411
- *
412
- * @param dataStoreId
413
- * @param body an object with the body content
414
- * @throws PatchDataStoreHttpError
415
- */
416
- declare function patchDataStore(dataStoreId: string, body: JsonPatch[], options?: ApiCallOptions): Promise<PatchDataStoreHttpResponse>;
417
- type PatchDataStoreHttpResponse = {
418
- data: DataStore;
419
- headers: Headers;
420
- status: 200 | 204;
421
- };
422
- type PatchDataStoreHttpError = {
423
- data: ErrorResponse;
424
- headers: Headers;
425
- status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
426
- };
427
- /**
428
- * Update data store.
429
- *
430
- * @param dataStoreId
431
- * @param body an object with the body content
432
- * @throws UpdateDataStoreHttpError
433
- */
434
- declare function updateDataStore(dataStoreId: string, body: DataStore, options?: ApiCallOptions): Promise<UpdateDataStoreHttpResponse>;
435
- type UpdateDataStoreHttpResponse = {
436
- data: DataStore;
437
- headers: Headers;
438
- status: 200;
439
- };
440
- type UpdateDataStoreHttpError = {
441
- data: ErrorResponse;
442
- headers: Headers;
443
- status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
444
- };
445
- /**
446
- * Clears the cache for data-stores api requests.
447
- */
448
- declare function clearCache(): void;
449
- type DataStoresAPI = {
450
- /**
451
- * Delete data stores if it does not contain any data-assets.
452
- *
453
- * @param body an object with the body content
454
- * @throws DeleteDataStoresHttpError
455
- */
456
- deleteDataStores: typeof deleteDataStores;
457
- /**
458
- * Get all data stores.
459
- *
460
- * @param query an object with query parameters
461
- * @throws GetDataStoresHttpError
462
- */
463
- getDataStores: typeof getDataStores;
464
- /**
465
- * Save new data store.
466
- *
467
- * @param body an object with the body content
468
- * @throws CreateDataStoreHttpError
469
- */
470
- createDataStore: typeof createDataStore;
471
- /**
472
- * Delete data assets and child data-sets by data-store IDs.
473
- *
474
- * @param dataStoreIds Comma-separated data store IDs or * to include all data stores.
475
- * @throws DeleteDataStoreDataAssetsHttpError
476
- */
477
- deleteDataStoreDataAssets: typeof deleteDataStoreDataAssets;
478
- /**
479
- * Get all data assets belonging to the data store(s).
480
- *
481
- * @param dataStoreIds Comma-separated data store IDs or * to include all data stores.
482
- * @param query an object with query parameters
483
- * @throws GetDataStoreDataAssetsHttpError
484
- */
485
- getDataStoreDataAssets: typeof getDataStoreDataAssets;
486
- /**
487
- * Delete data sets by data-store IDs and data-asset IDs.
488
- *
489
- * @param dataStoreIds Comma-separated data store IDs or * to include all data stores.
490
- * @param dataAssetIds Comma-separated data asset IDs or * to include all data assets.
491
- * @throws DeleteDataStoreDataAssetDataSetsHttpError
492
- */
493
- deleteDataStoreDataAssetDataSets: typeof deleteDataStoreDataAssetDataSets;
494
- /**
495
- * Get all data sets belonging to the data store(s) and data asset(s).
496
- *
497
- * @param dataStoreIds Comma-separated data store IDs or * to include all data stores.
498
- * @param dataAssetIds Comma-separated data asset IDs or * to include all data assets.
499
- * @param query an object with query parameters
500
- * @throws GetDataStoreDataAssetDataSetsHttpError
501
- */
502
- getDataStoreDataAssetDataSets: typeof getDataStoreDataAssetDataSets;
503
- /**
504
- * Get data store by ID.
505
- *
506
- * @param dataStoreId
507
- * @param query an object with query parameters
508
- * @throws GetDataStoreHttpError
509
- */
510
- getDataStore: typeof getDataStore;
511
- /**
512
- * Patch data store.
513
- *
514
- * @param dataStoreId
515
- * @param body an object with the body content
516
- * @throws PatchDataStoreHttpError
517
- */
518
- patchDataStore: typeof patchDataStore;
519
- /**
520
- * Update data store.
521
- *
522
- * @param dataStoreId
523
- * @param body an object with the body content
524
- * @throws UpdateDataStoreHttpError
525
- */
526
- updateDataStore: typeof updateDataStore;
527
- /**
528
- * Clears the cache for data-stores api requests.
529
- */
530
- clearCache: typeof clearCache;
531
- };
532
- /**
533
- * Functions for the data-stores api
534
- */
535
- declare const dataStoresExport: DataStoresAPI;
536
- //#endregion
537
- export { updateDataStore as $, Links as A, UpdateDataStoreHttpResponse as B, GetDataStoreDataAssetsHttpResponse as C, GetDataStoresHttpResponse as D, GetDataStoresHttpError as E, PatchDataStoreHttpError as F, deleteDataStoreDataAssetDataSets as G, clearCache as H, PatchDataStoreHttpResponse as I, getDataStore as J, deleteDataStoreDataAssets as K, Schema as L, PageDataAsset as M, PageDataSet as N, JsonPatch as O, PageDataStore as P, patchDataStore as Q, TableConnectionInfo as R, GetDataStoreDataAssetsHttpError as S, GetDataStoreHttpResponse as T, createDataStore as U, UserTag as V, dataStoresExport as W, getDataStoreDataAssets as X, getDataStoreDataAssetDataSets as Y, getDataStores as Z, Error as _, DataAssetInfo as a, GetDataStoreDataAssetDataSetsHttpError as b, DataStore as c, DeleteDataStoreDataAssetDataSetsHttpError as d, DeleteDataStoreDataAssetDataSetsHttpResponse as f, DeleteDataStoresHttpResponse as g, DeleteDataStoresHttpError as h, DataAsset as i, Operational as j, Link as k, DataStoreInfo as l, DeleteDataStoreDataAssetsHttpResponse as m, CreateDataStoreHttpError as n, DataField as o, DeleteDataStoreDataAssetsHttpError as p, deleteDataStores as q, CreateDataStoreHttpResponse as r, DataSet as s, BatchIdDto as t, DataStoresAPI as u, ErrorResponse as v, GetDataStoreHttpError as w, GetDataStoreDataAssetDataSetsHttpResponse as x, FieldDataType as y, UpdateDataStoreHttpError as z };