@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
@@ -0,0 +1,386 @@
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/analytics/change-stores.d.ts
5
+ declare namespace change_stores_d_exports {
6
+ export { CellKey, Change, ChangeStore, ChangeStoresAPI, Error, ErrorResponse, GetChangeStoreChangesHttpError, GetChangeStoreChangesHttpResponse, GetChangeStoreChangesTabularViewsHttpError, GetChangeStoreChangesTabularViewsHttpResponse, GetChangeStoreHttpError, GetChangeStoreHttpResponse, GetChangeStoresHttpError, GetChangeStoresHttpResponse, GetChangesData, ListDefaultData, Pagination, PrimaryKey, ReferenceId, RowKey, TabularView, UsedBy, UsedByArray, clearCache, changeStoresExport as default, getChangeStore, getChangeStoreChanges, getChangeStoreChangesTabularViews, getChangeStores };
7
+ }
8
+ type CellKey = {
9
+ /** The id of the column. */
10
+ columnId: string;
11
+ /** A map of row keys. */
12
+ rowKey: RowKey;
13
+ };
14
+ /**
15
+ * @example
16
+ * {
17
+ * committed: true
18
+ * }
19
+ */
20
+ type Change = {
21
+ /** The value of the cell. */
22
+ cellValue?: string;
23
+ /** Whether the change has been committed. */
24
+ committed?: boolean;
25
+ /** The time when a user starts typing in a cell and the row becomes locked. */
26
+ createdAt?: string;
27
+ /** The id of the user who created the change. */
28
+ createdBy?: string;
29
+ /** The tenant id. */
30
+ tenantId?: string;
31
+ /** The time when an update to the change has been done.
32
+ * Examples of when this value is updated:
33
+ * - User starts typing in a cell, locking the row.
34
+ * - User edits an unsaved change.
35
+ * - User saves the change. */
36
+ updatedAt?: string;
37
+ };
38
+ type ChangeStore = {
39
+ /** The time when the change store was created. */
40
+ createdAt?: string;
41
+ /** The id of the user who created the change store. */
42
+ createdBy?: string;
43
+ /** The list of primary key columns for the change store. */
44
+ primaryKey?: PrimaryKey;
45
+ /** The publish reference id used to map stores across published apps/spaces. */
46
+ publishRefId?: string;
47
+ /** The reference id used to identify related editable-columns or change stores. */
48
+ referenceId?: ReferenceId;
49
+ /** The space id where the change store is located. */
50
+ spaceId?: string;
51
+ /** The id of the change store. */
52
+ storeId?: string;
53
+ /** The name of the change store. */
54
+ storeName?: string;
55
+ /** The tenant id the change store belongs to. */
56
+ tenantId?: string;
57
+ /** The time when the change store was last updated. */
58
+ updatedAt?: string;
59
+ /** List of chart/app references. */
60
+ usedBy?: UsedByArray;
61
+ };
62
+ /**
63
+ * An error object.
64
+ */
65
+ type Error = {
66
+ /** The error code. */
67
+ code: string;
68
+ /** Extra information about the error. */
69
+ detail?: string;
70
+ /** Description of the error. */
71
+ title: string;
72
+ };
73
+ type ErrorResponse = {
74
+ /** list of errors */
75
+ errors?: Error[];
76
+ traceId?: string;
77
+ };
78
+ type GetChangesData = {
79
+ cellKey?: CellKey;
80
+ changes?: Change[];
81
+ /** The name of the column. */
82
+ columnName?: string;
83
+ };
84
+ type ListDefaultData = {
85
+ currentPageCount?: number;
86
+ totalCount?: number;
87
+ };
88
+ type Pagination = {
89
+ links?: {
90
+ next?: {
91
+ href?: string;
92
+ };
93
+ prev?: {
94
+ href?: string;
95
+ };
96
+ self?: {
97
+ href?: string;
98
+ };
99
+ };
100
+ };
101
+ /**
102
+ * The list of primary key columns for the change store.
103
+ * @example
104
+ * [
105
+ * "product",
106
+ * "region"
107
+ * ]
108
+ */
109
+ type PrimaryKey = string[];
110
+ /**
111
+ * The reference id used to identify related editable-columns or change stores.
112
+ * @example
113
+ * "6835b0135cf7147c01979e5d"
114
+ */
115
+ type ReferenceId = string;
116
+ /**
117
+ * A map of row keys.
118
+ * @example
119
+ * {
120
+ * "product": "table"
121
+ * }
122
+ */
123
+ type RowKey = Record<string, string>;
124
+ /**
125
+ * @example
126
+ * {
127
+ * data: [
128
+ * {
129
+ * updatedAt: "2023-10-01T12:00:00Z",
130
+ * updatedBy: "abc123"
131
+ * },
132
+ * {
133
+ * updatedAt: "2023-10-01T13:00:00Z"
134
+ * }
135
+ * ]
136
+ * }
137
+ */
138
+ type TabularView = {
139
+ data?: {
140
+ /** The timestamp when the row was last updated. */
141
+ updatedAt?: string;
142
+ /** The user id that performed the latest update in the row (corresponds to updatedAt). */
143
+ updatedBy?: string;
144
+ }[];
145
+ };
146
+ type UsedBy = {
147
+ /** The id of the app. */
148
+ appId: string;
149
+ /** The id of the chart. */
150
+ chartId: string;
151
+ };
152
+ /**
153
+ * List of chart/app references.
154
+ */
155
+ type UsedByArray = UsedBy[];
156
+ /**
157
+ * Get a list of change-stores.
158
+ * @example
159
+ * getChangeStores(
160
+ * {
161
+ * page: "1a2b3c",
162
+ * limit: 100,
163
+ * sort: "+storeName",
164
+ * spaceId: "personal"
165
+ * }
166
+ * )
167
+ *
168
+ * @param query an object with query parameters
169
+ * @throws GetChangeStoresHttpError
170
+ */
171
+ declare function getChangeStores(query: {
172
+ /** A SCIM filter expression used to filter the result.
173
+ * The filter parameter allows complex logical expressions using comparison operators and grouping.
174
+ * - **Supported attributes:** `storeName`, `storeId`, `referenceId`, `usedBy.appId`, `primaryKey`
175
+ * - **Supported operators:** `eq`, `ne`, `co`, `sw`, `ew`, `pr`, `gt`, `ge`, `lt`, `le`
176
+ * - **Logical operators:** `and`, `or`, `not` */
177
+ filter?: string;
178
+ /** Defines the size of each paged result (maximum 100). */
179
+ limit?: number;
180
+ /** Used for cursor-based pagination. */
181
+ page?: string;
182
+ /** Sort results by a field, with optional + (asc) or - (desc) prefix */
183
+ sort?: string;
184
+ /** The space ID to filter change stores by. This parameter is required.
185
+ * For personal spaces, use "personal".
186
+ * For shared spaces, use the actual space ID, e.g. "690b584c5a8011de9079828e". */
187
+ spaceId: string;
188
+ }, options?: ApiCallOptions): Promise<GetChangeStoresHttpResponse>;
189
+ type GetChangeStoresHttpResponse = {
190
+ data: ListDefaultData & Pagination & {
191
+ data?: ChangeStore[];
192
+ };
193
+ headers: Headers;
194
+ status: 200;
195
+ prev?: (options?: ApiCallOptions) => Promise<GetChangeStoresHttpResponse>;
196
+ next?: (options?: ApiCallOptions) => Promise<GetChangeStoresHttpResponse>;
197
+ };
198
+ type GetChangeStoresHttpError = {
199
+ data: ErrorResponse;
200
+ headers: Headers;
201
+ status: 400 | 401 | 403 | 404 | 500;
202
+ };
203
+ /**
204
+ * Get change store by Id.
205
+ * @example
206
+ * getChangeStore(
207
+ * "507f1f77bcf86cd799439011"
208
+ * )
209
+ *
210
+ * @param storeId The id of the change store.
211
+ * @throws GetChangeStoreHttpError
212
+ */
213
+ declare function getChangeStore(storeId: string, options?: ApiCallOptions): Promise<GetChangeStoreHttpResponse>;
214
+ type GetChangeStoreHttpResponse = {
215
+ data: {
216
+ data?: ChangeStore;
217
+ };
218
+ headers: Headers;
219
+ status: 200;
220
+ };
221
+ type GetChangeStoreHttpError = {
222
+ data: ErrorResponse;
223
+ headers: Headers;
224
+ status: 400 | 401 | 403 | 404 | 500;
225
+ };
226
+ /**
227
+ * Retrieve changes for the specified change store.
228
+ * @example
229
+ * getChangeStoreChanges(
230
+ * "507f1f77bcf86cd799439011",
231
+ * {
232
+ * page: "1a2b3c",
233
+ * limit: 100,
234
+ * sort: "+createdAt"
235
+ * }
236
+ * )
237
+ *
238
+ * @param storeId The id of the change store.
239
+ * @param query an object with query parameters
240
+ * @throws GetChangeStoreChangesHttpError
241
+ */
242
+ declare function getChangeStoreChanges(storeId: string, query: {
243
+ /** A SCIM filter expression used to filter the result.
244
+ * The filter parameter allows complex logical expressions using comparison operators and grouping.
245
+ * - **Supported attributes:** `committed`, `cellKey.columnId`, `columnId`, `createdBy`, `createdAt`, `updatedAt`
246
+ * - **Supported operators:** `eq`, `ne`, `co`, `sw`, `ew`, `pr`, `gt`, `ge`, `lt`, `le`
247
+ * - **Logical operators:** `and`, `or`, `not` */
248
+ filter?: string;
249
+ /** Defines the size of each paged result (maximum 100). */
250
+ limit?: number;
251
+ /** Used for cursor-based pagination. */
252
+ page?: string;
253
+ /** Sort results by a field, with optional + (asc) or - (desc) prefix */
254
+ sort?: string;
255
+ }, options?: ApiCallOptions): Promise<GetChangeStoreChangesHttpResponse>;
256
+ type GetChangeStoreChangesHttpResponse = {
257
+ data: ListDefaultData & Pagination & {
258
+ data?: GetChangesData[];
259
+ };
260
+ headers: Headers;
261
+ status: 200;
262
+ prev?: (options?: ApiCallOptions) => Promise<GetChangeStoreChangesHttpResponse>;
263
+ next?: (options?: ApiCallOptions) => Promise<GetChangeStoreChangesHttpResponse>;
264
+ };
265
+ type GetChangeStoreChangesHttpError = {
266
+ data: ErrorResponse;
267
+ headers: Headers;
268
+ status: 400 | 401 | 403 | 404 | 500;
269
+ };
270
+ /**
271
+ * Retrieve changes in tabular view.
272
+ * @example
273
+ * getChangeStoreChangesTabularViews(
274
+ * "507f1f77bcf86cd799439011",
275
+ * {
276
+ * page: "1a2b3c",
277
+ * limit: 100
278
+ * }
279
+ * )
280
+ *
281
+ * @param storeId The id of the change store.
282
+ * @param query an object with query parameters
283
+ * @throws GetChangeStoreChangesTabularViewsHttpError
284
+ */
285
+ declare function getChangeStoreChangesTabularViews(storeId: string, query: {
286
+ /** When set to true, the records returned by this endpoint will include the latest change (if available) for each editable column in the record. This parameter should be used in combination with a filter on updatedAt for use cases that require all editable columns to be included in each response. */
287
+ expandRow?: boolean;
288
+ /** A SCIM filter expression used to filter the result.
289
+ * The filter parameter allows complex logical expressions using comparison operators and grouping.
290
+ * - **Supported attributes:** `committed`, `cellKey.columnId`, `columnId`, `createdBy`, `createdAt`, `updatedAt`
291
+ * - **Supported operators:** `eq`, `ne`, `co`, `sw`, `ew`, `pr`, `gt`, `ge`, `lt`, `le`
292
+ * - **Logical operators:** `and`, `or`, `not` */
293
+ filter?: string;
294
+ /** Defines the size of each paged result (maximum 100). */
295
+ limit?: number;
296
+ /** Used for cursor-based pagination. */
297
+ page?: string;
298
+ }, options?: ApiCallOptions): Promise<GetChangeStoreChangesTabularViewsHttpResponse>;
299
+ type GetChangeStoreChangesTabularViewsHttpResponse = {
300
+ data: ListDefaultData & Pagination & TabularView;
301
+ headers: Headers;
302
+ status: 200;
303
+ prev?: (options?: ApiCallOptions) => Promise<GetChangeStoreChangesTabularViewsHttpResponse>;
304
+ next?: (options?: ApiCallOptions) => Promise<GetChangeStoreChangesTabularViewsHttpResponse>;
305
+ };
306
+ type GetChangeStoreChangesTabularViewsHttpError = {
307
+ data: ErrorResponse;
308
+ headers: Headers;
309
+ status: 400 | 401 | 403 | 404 | 500;
310
+ };
311
+ /**
312
+ * Clears the cache for analytics/change-stores api requests.
313
+ */
314
+ declare function clearCache(): void;
315
+ type ChangeStoresAPI = {
316
+ /**
317
+ * Get a list of change-stores.
318
+ * @example
319
+ * getChangeStores(
320
+ * {
321
+ * page: "1a2b3c",
322
+ * limit: 100,
323
+ * sort: "+storeName",
324
+ * spaceId: "personal"
325
+ * }
326
+ * )
327
+ *
328
+ * @param query an object with query parameters
329
+ * @throws GetChangeStoresHttpError
330
+ */
331
+ getChangeStores: typeof getChangeStores;
332
+ /**
333
+ * Get change store by Id.
334
+ * @example
335
+ * getChangeStore(
336
+ * "507f1f77bcf86cd799439011"
337
+ * )
338
+ *
339
+ * @param storeId The id of the change store.
340
+ * @throws GetChangeStoreHttpError
341
+ */
342
+ getChangeStore: typeof getChangeStore;
343
+ /**
344
+ * Retrieve changes for the specified change store.
345
+ * @example
346
+ * getChangeStoreChanges(
347
+ * "507f1f77bcf86cd799439011",
348
+ * {
349
+ * page: "1a2b3c",
350
+ * limit: 100,
351
+ * sort: "+createdAt"
352
+ * }
353
+ * )
354
+ *
355
+ * @param storeId The id of the change store.
356
+ * @param query an object with query parameters
357
+ * @throws GetChangeStoreChangesHttpError
358
+ */
359
+ getChangeStoreChanges: typeof getChangeStoreChanges;
360
+ /**
361
+ * Retrieve changes in tabular view.
362
+ * @example
363
+ * getChangeStoreChangesTabularViews(
364
+ * "507f1f77bcf86cd799439011",
365
+ * {
366
+ * page: "1a2b3c",
367
+ * limit: 100
368
+ * }
369
+ * )
370
+ *
371
+ * @param storeId The id of the change store.
372
+ * @param query an object with query parameters
373
+ * @throws GetChangeStoreChangesTabularViewsHttpError
374
+ */
375
+ getChangeStoreChangesTabularViews: typeof getChangeStoreChangesTabularViews;
376
+ /**
377
+ * Clears the cache for change-stores api requests.
378
+ */
379
+ clearCache: typeof clearCache;
380
+ };
381
+ /**
382
+ * Functions for the change-stores api
383
+ */
384
+ declare const changeStoresExport: ChangeStoresAPI;
385
+ //#endregion
386
+ export { CellKey, Change, ChangeStore, ChangeStoresAPI, Error, ErrorResponse, GetChangeStoreChangesHttpError, GetChangeStoreChangesHttpResponse, GetChangeStoreChangesTabularViewsHttpError, GetChangeStoreChangesTabularViewsHttpResponse, GetChangeStoreHttpError, GetChangeStoreHttpResponse, GetChangeStoresHttpError, GetChangeStoresHttpResponse, GetChangesData, ListDefaultData, Pagination, PrimaryKey, ReferenceId, RowKey, TabularView, UsedBy, UsedByArray, clearCache, changeStoresExport as default, getChangeStore, getChangeStoreChanges, getChangeStoreChangesTabularViews, getChangeStores, change_stores_d_exports as t };
@@ -0,0 +1,123 @@
1
+ import { t as __exportAll } from "../chunks/chunk-D3vHIbds.js";
2
+ import "../chunks/public-runtime-modules-QhLPeQr5.js";
3
+ import { n as invokeFetch, t as clearApiCache } from "../chunks/invoke-fetch-B7lGscuQ.js";
4
+
5
+ //#region src/public/rest/analytics/change-stores.ts
6
+ var change_stores_exports = /* @__PURE__ */ __exportAll({
7
+ clearCache: () => clearCache,
8
+ default: () => change_stores_default,
9
+ getChangeStore: () => getChangeStore,
10
+ getChangeStoreChanges: () => getChangeStoreChanges,
11
+ getChangeStoreChangesTabularViews: () => getChangeStoreChangesTabularViews,
12
+ getChangeStores: () => getChangeStores
13
+ });
14
+ /**
15
+ * Get a list of change-stores.
16
+ * @example
17
+ * getChangeStores(
18
+ * {
19
+ * page: "1a2b3c",
20
+ * limit: 100,
21
+ * sort: "+storeName",
22
+ * spaceId: "personal"
23
+ * }
24
+ * )
25
+ *
26
+ * @param query an object with query parameters
27
+ * @throws GetChangeStoresHttpError
28
+ */
29
+ async function getChangeStores(query, options) {
30
+ return invokeFetch("analytics/change-stores", {
31
+ method: "get",
32
+ pathTemplate: "/api/analytics/change-stores",
33
+ query,
34
+ options
35
+ });
36
+ }
37
+ /**
38
+ * Get change store by Id.
39
+ * @example
40
+ * getChangeStore(
41
+ * "507f1f77bcf86cd799439011"
42
+ * )
43
+ *
44
+ * @param storeId The id of the change store.
45
+ * @throws GetChangeStoreHttpError
46
+ */
47
+ async function getChangeStore(storeId, options) {
48
+ return invokeFetch("analytics/change-stores", {
49
+ method: "get",
50
+ pathTemplate: "/api/analytics/change-stores/{storeId}",
51
+ pathVariables: { storeId },
52
+ options
53
+ });
54
+ }
55
+ /**
56
+ * Retrieve changes for the specified change store.
57
+ * @example
58
+ * getChangeStoreChanges(
59
+ * "507f1f77bcf86cd799439011",
60
+ * {
61
+ * page: "1a2b3c",
62
+ * limit: 100,
63
+ * sort: "+createdAt"
64
+ * }
65
+ * )
66
+ *
67
+ * @param storeId The id of the change store.
68
+ * @param query an object with query parameters
69
+ * @throws GetChangeStoreChangesHttpError
70
+ */
71
+ async function getChangeStoreChanges(storeId, query, options) {
72
+ return invokeFetch("analytics/change-stores", {
73
+ method: "get",
74
+ pathTemplate: "/api/analytics/change-stores/{storeId}/changes",
75
+ pathVariables: { storeId },
76
+ query,
77
+ options
78
+ });
79
+ }
80
+ /**
81
+ * Retrieve changes in tabular view.
82
+ * @example
83
+ * getChangeStoreChangesTabularViews(
84
+ * "507f1f77bcf86cd799439011",
85
+ * {
86
+ * page: "1a2b3c",
87
+ * limit: 100
88
+ * }
89
+ * )
90
+ *
91
+ * @param storeId The id of the change store.
92
+ * @param query an object with query parameters
93
+ * @throws GetChangeStoreChangesTabularViewsHttpError
94
+ */
95
+ async function getChangeStoreChangesTabularViews(storeId, query, options) {
96
+ return invokeFetch("analytics/change-stores", {
97
+ method: "get",
98
+ pathTemplate: "/api/analytics/change-stores/{storeId}/changes/tabular-views",
99
+ pathVariables: { storeId },
100
+ query,
101
+ options
102
+ });
103
+ }
104
+ /**
105
+ * Clears the cache for analytics/change-stores api requests.
106
+ */
107
+ function clearCache() {
108
+ return clearApiCache("analytics/change-stores");
109
+ }
110
+ /**
111
+ * Functions for the change-stores api
112
+ */
113
+ const changeStoresExport = {
114
+ getChangeStores,
115
+ getChangeStore,
116
+ getChangeStoreChanges,
117
+ getChangeStoreChangesTabularViews,
118
+ clearCache
119
+ };
120
+ var change_stores_default = changeStoresExport;
121
+
122
+ //#endregion
123
+ export { clearCache, change_stores_default as default, getChangeStore, getChangeStoreChanges, getChangeStoreChangesTabularViews, getChangeStores, change_stores_exports as t };
package/analytics.d.ts ADDED
@@ -0,0 +1,14 @@
1
+ import "./chunks/auth-types-YrlH_R9f.js";
2
+ import "./chunks/invoke-fetch-C1Z0RJYU.js";
3
+ import changeStoresExport, { t as change_stores_d_exports } from "./analytics/change-stores.js";
4
+
5
+ //#region src/public/rest/analytics.d.ts
6
+ type AnalyticsAPI = {};
7
+ /**
8
+ * Functions for the analytics api
9
+ */
10
+ declare const analyticsExport: AnalyticsAPI & {
11
+ changeStores: typeof changeStoresExport;
12
+ };
13
+ //#endregion
14
+ export { AnalyticsAPI, change_stores_d_exports as changeStores, analyticsExport as default };
package/analytics.js ADDED
@@ -0,0 +1,13 @@
1
+ import "./chunks/public-runtime-modules-QhLPeQr5.js";
2
+ import "./chunks/invoke-fetch-B7lGscuQ.js";
3
+ import change_stores_default, { t as change_stores_exports } from "./analytics/change-stores.js";
4
+
5
+ //#region src/public/rest/analytics.ts
6
+ /**
7
+ * Functions for the analytics api
8
+ */
9
+ const analyticsExport = { changeStores: change_stores_default };
10
+ var analytics_default = analyticsExport;
11
+
12
+ //#endregion
13
+ export { change_stores_exports as changeStores, analytics_default as default };