@qlik/api 2.2.0 → 2.3.1

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