@qlik/api 1.32.0 → 1.33.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 (142) hide show
  1. package/api-keys.d.ts +10 -10
  2. package/api-keys.js +64 -50
  3. package/apps.d.ts +56 -56
  4. package/apps.js +392 -304
  5. package/assistants.d.ts +34 -34
  6. package/assistants.js +257 -201
  7. package/audits.d.ts +10 -10
  8. package/audits.js +48 -36
  9. package/{auth-types-DqfMuSRX.d.ts → auth-types-Cj5bM3Yk.d.ts} +29 -9
  10. package/auth.d.ts +17 -4
  11. package/auth.js +4 -2
  12. package/automation-connections.d.ts +12 -12
  13. package/automation-connections.js +75 -59
  14. package/automations.d.ts +27 -27
  15. package/automations.js +159 -123
  16. package/automl-deployments.d.ts +4 -4
  17. package/automl-deployments.js +14 -12
  18. package/automl-predictions.d.ts +13 -13
  19. package/automl-predictions.js +56 -44
  20. package/brands.d.ts +18 -18
  21. package/brands.js +107 -83
  22. package/chunks/{YTT2FEVE.js → 33GQY7N7.js} +1 -1
  23. package/chunks/{M64RLKVG.js → 62DXIH3S.js} +7 -5
  24. package/chunks/7MMXU6EL.js +86 -0
  25. package/chunks/{LTNGXTXG.js → GPRUNZV4.js} +3 -3
  26. package/chunks/{VVD2DPKQ.js → LIEZG7IM.js} +3 -3
  27. package/chunks/{FKDGGR2O.js → OTIO4SEJ.js} +698 -708
  28. package/chunks/{UZTIZ4H5.js → RP3EJGHG.js} +74 -74
  29. package/chunks/{RCLKKVYB.js → SPATCXXU.js} +9 -2
  30. package/chunks/{LY7RP2HA.js → XF3TPZKZ.js} +23 -8
  31. package/chunks/{6ZONDHRN.js → YYZCS5PW.js} +11 -4
  32. package/chunks/{3RGGGGAR.js → ZCTVPXGO.js} +1 -1
  33. package/collections.d.ts +16 -15
  34. package/collections.js +98 -76
  35. package/conditions.d.ts +13 -13
  36. package/conditions.js +97 -75
  37. package/consumption.d.ts +4 -4
  38. package/consumption.js +11 -9
  39. package/csp-origins.d.ts +9 -9
  40. package/csp-origins.js +53 -41
  41. package/csrf-token.d.ts +3 -3
  42. package/csrf-token.js +10 -8
  43. package/data-alerts.d.ts +22 -22
  44. package/data-alerts.js +139 -107
  45. package/data-assets.d.ts +8 -8
  46. package/data-assets.js +50 -40
  47. package/data-connections.d.ts +16 -16
  48. package/data-connections.js +87 -69
  49. package/data-credentials.d.ts +11 -11
  50. package/data-credentials.js +52 -42
  51. package/data-files.d.ts +18 -18
  52. package/data-files.js +107 -83
  53. package/data-qualities.d.ts +6 -6
  54. package/data-qualities.js +28 -22
  55. package/data-sets.d.ts +10 -10
  56. package/data-sets.js +59 -47
  57. package/data-sources.d.ts +7 -7
  58. package/data-sources.js +28 -22
  59. package/data-stores.d.ts +16 -16
  60. package/data-stores.js +92 -72
  61. package/dcaas.d.ts +6 -6
  62. package/dcaas.js +28 -22
  63. package/di-projects.d.ts +22 -22
  64. package/di-projects.js +148 -116
  65. package/direct-access-agents.d.ts +328 -0
  66. package/direct-access-agents.js +108 -0
  67. package/encryption.d.ts +12 -12
  68. package/encryption.js +82 -62
  69. package/extensions.d.ts +11 -11
  70. package/extensions.js +61 -47
  71. package/glossaries.d.ts +33 -33
  72. package/glossaries.js +221 -173
  73. package/groups.d.ts +12 -12
  74. package/groups.js +72 -56
  75. package/identity-providers.d.ts +11 -11
  76. package/identity-providers.js +67 -51
  77. package/index.d.ts +9 -4
  78. package/index.js +101 -67
  79. package/interceptors.d.ts +9 -2
  80. package/interceptors.js +2 -2
  81. package/invoke-fetch-types-BYCD4pc9.d.ts +98 -0
  82. package/items.d.ts +14 -13
  83. package/items.js +71 -55
  84. package/knowledgebases.d.ts +23 -23
  85. package/knowledgebases.js +153 -119
  86. package/licenses.d.ts +13 -13
  87. package/licenses.js +76 -58
  88. package/lineage-graphs.d.ts +17 -17
  89. package/lineage-graphs.js +76 -60
  90. package/ml.d.ts +100 -52
  91. package/ml.js +379 -286
  92. package/notes.d.ts +4 -4
  93. package/notes.js +19 -15
  94. package/notifications.d.ts +4 -4
  95. package/notifications.js +11 -9
  96. package/oauth-clients.d.ts +14 -14
  97. package/oauth-clients.js +96 -74
  98. package/oauth-tokens.d.ts +5 -5
  99. package/oauth-tokens.js +19 -15
  100. package/package.json +8 -6
  101. package/qix.d.ts +145 -4
  102. package/qix.js +2 -2
  103. package/questions.d.ts +5 -5
  104. package/questions.js +22 -18
  105. package/quotas.d.ts +6 -6
  106. package/quotas.js +20 -16
  107. package/reload-tasks.d.ts +8 -8
  108. package/reload-tasks.js +46 -36
  109. package/reloads.d.ts +7 -7
  110. package/reloads.js +36 -28
  111. package/report-templates.d.ts +10 -10
  112. package/report-templates.js +64 -50
  113. package/reports.d.ts +4 -4
  114. package/reports.js +20 -16
  115. package/roles.d.ts +8 -8
  116. package/roles.js +46 -36
  117. package/sharing-tasks.d.ts +14 -14
  118. package/sharing-tasks.js +89 -69
  119. package/spaces.d.ts +22 -22
  120. package/spaces.js +153 -119
  121. package/tasks.d.ts +17 -17
  122. package/tasks.js +90 -70
  123. package/temp-contents.d.ts +7 -7
  124. package/temp-contents.js +30 -24
  125. package/tenants.d.ts +8 -8
  126. package/tenants.js +57 -45
  127. package/themes.d.ts +11 -11
  128. package/themes.js +61 -47
  129. package/transports.d.ts +8 -8
  130. package/transports.js +49 -37
  131. package/ui-config.d.ts +9 -9
  132. package/ui-config.js +61 -47
  133. package/users.d.ts +15 -15
  134. package/users.js +81 -63
  135. package/web-integrations.d.ts +8 -8
  136. package/web-integrations.js +46 -36
  137. package/web-notifications.d.ts +9 -9
  138. package/web-notifications.js +53 -41
  139. package/webhooks.d.ts +14 -14
  140. package/webhooks.js +88 -68
  141. package/chunks/2ZQ3ZX7F.js +0 -33
  142. package/invoke-fetch-types-Cq7bjkqn.d.ts +0 -243
package/data-stores.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
- import './auth-types-DqfMuSRX.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
2
+ import './auth-types-Cj5bM3Yk.js';
3
3
 
4
4
  type BatchIdDto = {
5
5
  ids?: string[];
@@ -238,7 +238,7 @@ type UserTag = {
238
238
  * @param body an object with the body content
239
239
  * @throws DeleteDataStoresHttpError
240
240
  */
241
- declare const deleteDataStores: (body: BatchIdDto, options?: ApiCallOptions) => Promise<DeleteDataStoresHttpResponse>;
241
+ declare function deleteDataStores(body: BatchIdDto, options?: ApiCallOptions): Promise<DeleteDataStoresHttpResponse>;
242
242
  type DeleteDataStoresHttpResponse = {
243
243
  data: void;
244
244
  headers: Headers;
@@ -255,7 +255,7 @@ type DeleteDataStoresHttpError = {
255
255
  * @param query an object with query parameters
256
256
  * @throws GetDataStoresHttpError
257
257
  */
258
- declare const getDataStores: (query: {
258
+ declare function getDataStores(query: {
259
259
  /** Page size limit. */
260
260
  limit?: number;
261
261
  page?: number;
@@ -263,7 +263,7 @@ declare const getDataStores: (query: {
263
263
  projections?: string[];
264
264
  /** Comma-separated fields and field start with '-' character sorts the result set in descending order. */
265
265
  sort?: string[];
266
- }, options?: ApiCallOptions) => Promise<GetDataStoresHttpResponse>;
266
+ }, options?: ApiCallOptions): Promise<GetDataStoresHttpResponse>;
267
267
  type GetDataStoresHttpResponse = {
268
268
  data: PageDataStore;
269
269
  headers: Headers;
@@ -282,7 +282,7 @@ type GetDataStoresHttpError = {
282
282
  * @param body an object with the body content
283
283
  * @throws CreateDataStoreHttpError
284
284
  */
285
- declare const createDataStore: (body: DataStore, options?: ApiCallOptions) => Promise<CreateDataStoreHttpResponse>;
285
+ declare function createDataStore(body: DataStore, options?: ApiCallOptions): Promise<CreateDataStoreHttpResponse>;
286
286
  type CreateDataStoreHttpResponse = {
287
287
  data: DataStore;
288
288
  headers: Headers;
@@ -299,7 +299,7 @@ type CreateDataStoreHttpError = {
299
299
  * @param dataStoreIds Comma-separated data store IDs or * to include all data stores.
300
300
  * @throws DeleteDataStoreDataAssetsHttpError
301
301
  */
302
- declare const deleteDataStoreDataAssets: (dataStoreIds: string, options?: ApiCallOptions) => Promise<DeleteDataStoreDataAssetsHttpResponse>;
302
+ declare function deleteDataStoreDataAssets(dataStoreIds: string, options?: ApiCallOptions): Promise<DeleteDataStoreDataAssetsHttpResponse>;
303
303
  type DeleteDataStoreDataAssetsHttpResponse = {
304
304
  data: void;
305
305
  headers: Headers;
@@ -317,7 +317,7 @@ type DeleteDataStoreDataAssetsHttpError = {
317
317
  * @param query an object with query parameters
318
318
  * @throws GetDataStoreDataAssetsHttpError
319
319
  */
320
- declare const getDataStoreDataAssets: (dataStoreIds: string, query: {
320
+ declare function getDataStoreDataAssets(dataStoreIds: string, query: {
321
321
  /** Page size limit. */
322
322
  limit?: number;
323
323
  page?: number;
@@ -325,7 +325,7 @@ declare const getDataStoreDataAssets: (dataStoreIds: string, query: {
325
325
  projections?: string[];
326
326
  /** Comma-separated fields and field start with '-' character sorts the result set in descending order. */
327
327
  sort?: string[];
328
- }, options?: ApiCallOptions) => Promise<GetDataStoreDataAssetsHttpResponse>;
328
+ }, options?: ApiCallOptions): Promise<GetDataStoreDataAssetsHttpResponse>;
329
329
  type GetDataStoreDataAssetsHttpResponse = {
330
330
  data: PageDataAsset;
331
331
  headers: Headers;
@@ -345,7 +345,7 @@ type GetDataStoreDataAssetsHttpError = {
345
345
  * @param dataAssetIds Comma-separated data asset IDs or * to include all data assets.
346
346
  * @throws DeleteDataStoreDataAssetDataSetsHttpError
347
347
  */
348
- declare const deleteDataStoreDataAssetDataSets: (dataStoreIds: string, dataAssetIds: string, options?: ApiCallOptions) => Promise<DeleteDataStoreDataAssetDataSetsHttpResponse>;
348
+ declare function deleteDataStoreDataAssetDataSets(dataStoreIds: string, dataAssetIds: string, options?: ApiCallOptions): Promise<DeleteDataStoreDataAssetDataSetsHttpResponse>;
349
349
  type DeleteDataStoreDataAssetDataSetsHttpResponse = {
350
350
  data: void;
351
351
  headers: Headers;
@@ -364,7 +364,7 @@ type DeleteDataStoreDataAssetDataSetsHttpError = {
364
364
  * @param query an object with query parameters
365
365
  * @throws GetDataStoreDataAssetDataSetsHttpError
366
366
  */
367
- declare const getDataStoreDataAssetDataSets: (dataStoreIds: string, dataAssetIds: string, query: {
367
+ declare function getDataStoreDataAssetDataSets(dataStoreIds: string, dataAssetIds: string, query: {
368
368
  /** Page size limit. */
369
369
  limit?: number;
370
370
  page?: number;
@@ -372,7 +372,7 @@ declare const getDataStoreDataAssetDataSets: (dataStoreIds: string, dataAssetIds
372
372
  projections?: string[];
373
373
  /** Comma-separated fields and field start with '-' character sorts the result set in descending order. */
374
374
  sort?: string[];
375
- }, options?: ApiCallOptions) => Promise<GetDataStoreDataAssetDataSetsHttpResponse>;
375
+ }, options?: ApiCallOptions): Promise<GetDataStoreDataAssetDataSetsHttpResponse>;
376
376
  type GetDataStoreDataAssetDataSetsHttpResponse = {
377
377
  data: PageDataSet;
378
378
  headers: Headers;
@@ -392,10 +392,10 @@ type GetDataStoreDataAssetDataSetsHttpError = {
392
392
  * @param query an object with query parameters
393
393
  * @throws GetDataStoreHttpError
394
394
  */
395
- declare const getDataStore: (dataStoreId: string, query: {
395
+ declare function getDataStore(dataStoreId: string, query: {
396
396
  /** Comma-separated fields to return in the response. */
397
397
  projections?: string[];
398
- }, options?: ApiCallOptions) => Promise<GetDataStoreHttpResponse>;
398
+ }, options?: ApiCallOptions): Promise<GetDataStoreHttpResponse>;
399
399
  type GetDataStoreHttpResponse = {
400
400
  data: DataStore;
401
401
  headers: Headers;
@@ -413,7 +413,7 @@ type GetDataStoreHttpError = {
413
413
  * @param body an object with the body content
414
414
  * @throws PatchDataStoreHttpError
415
415
  */
416
- declare const patchDataStore: (dataStoreId: string, body: JsonPatch[], options?: ApiCallOptions) => Promise<PatchDataStoreHttpResponse>;
416
+ declare function patchDataStore(dataStoreId: string, body: JsonPatch[], options?: ApiCallOptions): Promise<PatchDataStoreHttpResponse>;
417
417
  type PatchDataStoreHttpResponse = {
418
418
  data: DataStore;
419
419
  headers: Headers;
@@ -431,7 +431,7 @@ type PatchDataStoreHttpError = {
431
431
  * @param body an object with the body content
432
432
  * @throws UpdateDataStoreHttpError
433
433
  */
434
- declare const updateDataStore: (dataStoreId: string, body: DataStore, options?: ApiCallOptions) => Promise<UpdateDataStoreHttpResponse>;
434
+ declare function updateDataStore(dataStoreId: string, body: DataStore, options?: ApiCallOptions): Promise<UpdateDataStoreHttpResponse>;
435
435
  type UpdateDataStoreHttpResponse = {
436
436
  data: DataStore;
437
437
  headers: Headers;
package/data-stores.js CHANGED
@@ -1,80 +1,100 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/VVD2DPKQ.js";
5
- import "./chunks/LTNGXTXG.js";
6
- import "./chunks/2ZQ3ZX7F.js";
4
+ } from "./chunks/LIEZG7IM.js";
5
+ import "./chunks/GPRUNZV4.js";
6
+ import "./chunks/7MMXU6EL.js";
7
7
 
8
8
  // src/public/rest/data-stores.ts
9
- var deleteDataStores = async (body, options) => invokeFetch("data-stores", {
10
- method: "delete",
11
- pathTemplate: "/api/v1/data-stores",
12
- body,
13
- contentType: "application/json",
14
- options
15
- });
16
- var getDataStores = async (query, options) => invokeFetch("data-stores", {
17
- method: "get",
18
- pathTemplate: "/api/v1/data-stores",
19
- query,
20
- options
21
- });
22
- var createDataStore = async (body, options) => invokeFetch("data-stores", {
23
- method: "post",
24
- pathTemplate: "/api/v1/data-stores",
25
- body,
26
- contentType: "application/json",
27
- options
28
- });
29
- var deleteDataStoreDataAssets = async (dataStoreIds, options) => invokeFetch("data-stores", {
30
- method: "delete",
31
- pathTemplate: "/api/v1/data-stores/{data-store-ids}/data-assets",
32
- pathVariables: { "data-store-ids": dataStoreIds },
33
- options
34
- });
35
- var getDataStoreDataAssets = async (dataStoreIds, query, options) => invokeFetch("data-stores", {
36
- method: "get",
37
- pathTemplate: "/api/v1/data-stores/{data-store-ids}/data-assets",
38
- pathVariables: { "data-store-ids": dataStoreIds },
39
- query,
40
- options
41
- });
42
- var deleteDataStoreDataAssetDataSets = async (dataStoreIds, dataAssetIds, options) => invokeFetch("data-stores", {
43
- method: "delete",
44
- pathTemplate: "/api/v1/data-stores/{data-store-ids}/data-assets/{data-asset-ids}/data-sets",
45
- pathVariables: { "data-store-ids": dataStoreIds, "data-asset-ids": dataAssetIds },
46
- options
47
- });
48
- var getDataStoreDataAssetDataSets = async (dataStoreIds, dataAssetIds, query, options) => invokeFetch("data-stores", {
49
- method: "get",
50
- pathTemplate: "/api/v1/data-stores/{data-store-ids}/data-assets/{data-asset-ids}/data-sets",
51
- pathVariables: { "data-store-ids": dataStoreIds, "data-asset-ids": dataAssetIds },
52
- query,
53
- options
54
- });
55
- var getDataStore = async (dataStoreId, query, options) => invokeFetch("data-stores", {
56
- method: "get",
57
- pathTemplate: "/api/v1/data-stores/{data-store-id}",
58
- pathVariables: { "data-store-id": dataStoreId },
59
- query,
60
- options
61
- });
62
- var patchDataStore = async (dataStoreId, body, options) => invokeFetch("data-stores", {
63
- method: "patch",
64
- pathTemplate: "/api/v1/data-stores/{data-store-id}",
65
- pathVariables: { "data-store-id": dataStoreId },
66
- body,
67
- contentType: "application/json",
68
- options
69
- });
70
- var updateDataStore = async (dataStoreId, body, options) => invokeFetch("data-stores", {
71
- method: "put",
72
- pathTemplate: "/api/v1/data-stores/{data-store-id}",
73
- pathVariables: { "data-store-id": dataStoreId },
74
- body,
75
- contentType: "application/json",
76
- options
77
- });
9
+ async function deleteDataStores(body, options) {
10
+ return invokeFetch("data-stores", {
11
+ method: "delete",
12
+ pathTemplate: "/api/v1/data-stores",
13
+ body,
14
+ contentType: "application/json",
15
+ options
16
+ });
17
+ }
18
+ async function getDataStores(query, options) {
19
+ return invokeFetch("data-stores", {
20
+ method: "get",
21
+ pathTemplate: "/api/v1/data-stores",
22
+ query,
23
+ options
24
+ });
25
+ }
26
+ async function createDataStore(body, options) {
27
+ return invokeFetch("data-stores", {
28
+ method: "post",
29
+ pathTemplate: "/api/v1/data-stores",
30
+ body,
31
+ contentType: "application/json",
32
+ options
33
+ });
34
+ }
35
+ async function deleteDataStoreDataAssets(dataStoreIds, options) {
36
+ return invokeFetch("data-stores", {
37
+ method: "delete",
38
+ pathTemplate: "/api/v1/data-stores/{data-store-ids}/data-assets",
39
+ pathVariables: { "data-store-ids": dataStoreIds },
40
+ options
41
+ });
42
+ }
43
+ async function getDataStoreDataAssets(dataStoreIds, query, options) {
44
+ return invokeFetch("data-stores", {
45
+ method: "get",
46
+ pathTemplate: "/api/v1/data-stores/{data-store-ids}/data-assets",
47
+ pathVariables: { "data-store-ids": dataStoreIds },
48
+ query,
49
+ options
50
+ });
51
+ }
52
+ async function deleteDataStoreDataAssetDataSets(dataStoreIds, dataAssetIds, options) {
53
+ return invokeFetch("data-stores", {
54
+ method: "delete",
55
+ pathTemplate: "/api/v1/data-stores/{data-store-ids}/data-assets/{data-asset-ids}/data-sets",
56
+ pathVariables: { "data-store-ids": dataStoreIds, "data-asset-ids": dataAssetIds },
57
+ options
58
+ });
59
+ }
60
+ async function getDataStoreDataAssetDataSets(dataStoreIds, dataAssetIds, query, options) {
61
+ return invokeFetch("data-stores", {
62
+ method: "get",
63
+ pathTemplate: "/api/v1/data-stores/{data-store-ids}/data-assets/{data-asset-ids}/data-sets",
64
+ pathVariables: { "data-store-ids": dataStoreIds, "data-asset-ids": dataAssetIds },
65
+ query,
66
+ options
67
+ });
68
+ }
69
+ async function getDataStore(dataStoreId, query, options) {
70
+ return invokeFetch("data-stores", {
71
+ method: "get",
72
+ pathTemplate: "/api/v1/data-stores/{data-store-id}",
73
+ pathVariables: { "data-store-id": dataStoreId },
74
+ query,
75
+ options
76
+ });
77
+ }
78
+ async function patchDataStore(dataStoreId, body, options) {
79
+ return invokeFetch("data-stores", {
80
+ method: "patch",
81
+ pathTemplate: "/api/v1/data-stores/{data-store-id}",
82
+ pathVariables: { "data-store-id": dataStoreId },
83
+ body,
84
+ contentType: "application/json",
85
+ options
86
+ });
87
+ }
88
+ async function updateDataStore(dataStoreId, body, options) {
89
+ return invokeFetch("data-stores", {
90
+ method: "put",
91
+ pathTemplate: "/api/v1/data-stores/{data-store-id}",
92
+ pathVariables: { "data-store-id": dataStoreId },
93
+ body,
94
+ contentType: "application/json",
95
+ options
96
+ });
97
+ }
78
98
  function clearCache() {
79
99
  return clearApiCache("data-stores");
80
100
  }
package/dcaas.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
- import './auth-types-DqfMuSRX.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
2
+ import './auth-types-Cj5bM3Yk.js';
3
3
 
4
4
  type ApiSpecResponse = {
5
5
  /** List of properties required for the given datasource */
@@ -95,7 +95,7 @@ type ResponseErrors = {
95
95
  * @param body an object with the body content
96
96
  * @throws DataConnectionsDcaasHttpError
97
97
  */
98
- declare const dataConnectionsDcaas: (body: CreateConnectionReq, options?: ApiCallOptions) => Promise<DataConnectionsDcaasHttpResponse>;
98
+ declare function dataConnectionsDcaas(body: CreateConnectionReq, options?: ApiCallOptions): Promise<DataConnectionsDcaasHttpResponse>;
99
99
  type DataConnectionsDcaasHttpResponse = {
100
100
  data: CreateConnectionRes | AuthUrlResponse;
101
101
  headers: Headers;
@@ -114,10 +114,10 @@ type DataConnectionsDcaasHttpError = {
114
114
  * @param query an object with query parameters
115
115
  * @throws DataConnectionsDcaasApiSpecsHttpError
116
116
  */
117
- declare const dataConnectionsDcaasApiSpecs: (query: {
117
+ declare function dataConnectionsDcaasApiSpecs(query: {
118
118
  /** Datasource ID */
119
119
  dataSourceId: string;
120
- }, options?: ApiCallOptions) => Promise<DataConnectionsDcaasApiSpecsHttpResponse>;
120
+ }, options?: ApiCallOptions): Promise<DataConnectionsDcaasApiSpecsHttpResponse>;
121
121
  type DataConnectionsDcaasApiSpecsHttpResponse = {
122
122
  data: ApiSpecResponse;
123
123
  headers: Headers;
@@ -136,7 +136,7 @@ type DataConnectionsDcaasApiSpecsHttpError = {
136
136
  * @param connectionId ID of the connection
137
137
  * @throws DataConnectionsDcaaHttpError
138
138
  */
139
- declare const dataConnectionsDcaa: (connectionId: string, options?: ApiCallOptions) => Promise<DataConnectionsDcaaHttpResponse>;
139
+ declare function dataConnectionsDcaa(connectionId: string, options?: ApiCallOptions): Promise<DataConnectionsDcaaHttpResponse>;
140
140
  type DataConnectionsDcaaHttpResponse = {
141
141
  data: GetConnectionResponse;
142
142
  headers: Headers;
package/dcaas.js CHANGED
@@ -1,30 +1,36 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/VVD2DPKQ.js";
5
- import "./chunks/LTNGXTXG.js";
6
- import "./chunks/2ZQ3ZX7F.js";
4
+ } from "./chunks/LIEZG7IM.js";
5
+ import "./chunks/GPRUNZV4.js";
6
+ import "./chunks/7MMXU6EL.js";
7
7
 
8
8
  // src/public/rest/dcaas.ts
9
- var dataConnectionsDcaas = async (body, options) => invokeFetch("dcaas", {
10
- method: "post",
11
- pathTemplate: "/api/v1/dcaas/actions/data-connections",
12
- body,
13
- contentType: "application/json",
14
- options
15
- });
16
- var dataConnectionsDcaasApiSpecs = async (query, options) => invokeFetch("dcaas", {
17
- method: "get",
18
- pathTemplate: "/api/v1/dcaas/actions/data-connections/api-specs",
19
- query,
20
- options
21
- });
22
- var dataConnectionsDcaa = async (connectionId, options) => invokeFetch("dcaas", {
23
- method: "get",
24
- pathTemplate: "/api/v1/dcaas/actions/data-connections/{connectionId}",
25
- pathVariables: { connectionId },
26
- options
27
- });
9
+ async function dataConnectionsDcaas(body, options) {
10
+ return invokeFetch("dcaas", {
11
+ method: "post",
12
+ pathTemplate: "/api/v1/dcaas/actions/data-connections",
13
+ body,
14
+ contentType: "application/json",
15
+ options
16
+ });
17
+ }
18
+ async function dataConnectionsDcaasApiSpecs(query, options) {
19
+ return invokeFetch("dcaas", {
20
+ method: "get",
21
+ pathTemplate: "/api/v1/dcaas/actions/data-connections/api-specs",
22
+ query,
23
+ options
24
+ });
25
+ }
26
+ async function dataConnectionsDcaa(connectionId, options) {
27
+ return invokeFetch("dcaas", {
28
+ method: "get",
29
+ pathTemplate: "/api/v1/dcaas/actions/data-connections/{connectionId}",
30
+ pathVariables: { connectionId },
31
+ options
32
+ });
33
+ }
28
34
  function clearCache() {
29
35
  return clearApiCache("dcaas");
30
36
  }
package/di-projects.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions, D as DownloadableBlob } from './invoke-fetch-types-Cq7bjkqn.js';
2
- import './auth-types-DqfMuSRX.js';
1
+ import { A as ApiCallOptions, D as DownloadableBlob } from './invoke-fetch-types-BYCD4pc9.js';
2
+ import './auth-types-Cj5bM3Yk.js';
3
3
 
4
4
  type AsyncActionDetails = {
5
5
  endTime?: string;
@@ -156,10 +156,10 @@ type ValidateTaskReq = unknown;
156
156
  * @param query an object with query parameters
157
157
  * @throws GetDiProjectsHttpError
158
158
  */
159
- declare const getDiProjects: (query: {
159
+ declare function getDiProjects(query: {
160
160
  /** Filter by space id */
161
161
  spaceId?: string;
162
- }, options?: ApiCallOptions) => Promise<GetDiProjectsHttpResponse>;
162
+ }, options?: ApiCallOptions): Promise<GetDiProjectsHttpResponse>;
163
163
  type GetDiProjectsHttpResponse = {
164
164
  data: ListDiProjectsRsp;
165
165
  headers: Headers;
@@ -176,7 +176,7 @@ type GetDiProjectsHttpError = {
176
176
  * @param body an object with the body content
177
177
  * @throws CreateDiProjectHttpError
178
178
  */
179
- declare const createDiProject: (body: CreateDiProjectReq, options?: ApiCallOptions) => Promise<CreateDiProjectHttpResponse>;
179
+ declare function createDiProject(body: CreateDiProjectReq, options?: ApiCallOptions): Promise<CreateDiProjectHttpResponse>;
180
180
  type CreateDiProjectHttpResponse = {
181
181
  data: DiProjectItemRsp;
182
182
  headers: Headers;
@@ -194,10 +194,10 @@ type CreateDiProjectHttpError = {
194
194
  * @param query an object with query parameters
195
195
  * @throws GetDiProjectHttpError
196
196
  */
197
- declare const getDiProject: (actionId: string, query: {
197
+ declare function getDiProject(actionId: string, query: {
198
198
  /** Specifies whether to include detailed status information in the response. Set to `true` to return detailed information. */
199
199
  detailed?: boolean;
200
- }, options?: ApiCallOptions) => Promise<GetDiProjectHttpResponse>;
200
+ }, options?: ApiCallOptions): Promise<GetDiProjectHttpResponse>;
201
201
  type GetDiProjectHttpResponse = {
202
202
  data: AsyncActionDetails;
203
203
  headers: Headers;
@@ -215,7 +215,7 @@ type GetDiProjectHttpError = {
215
215
  * @param body an object with the body content
216
216
  * @throws ExportDiProjectHttpError
217
217
  */
218
- declare const exportDiProject: (projectId: string, body: ExportDiProjectReq, options?: ApiCallOptions) => Promise<ExportDiProjectHttpResponse>;
218
+ declare function exportDiProject(projectId: string, body: ExportDiProjectReq, options?: ApiCallOptions): Promise<ExportDiProjectHttpResponse>;
219
219
  type ExportDiProjectHttpResponse = {
220
220
  data: DownloadableBlob;
221
221
  headers: Headers;
@@ -233,9 +233,9 @@ type ExportDiProjectHttpError = {
233
233
  * @param body an object with the body content
234
234
  * @throws ImportDiProjectHttpError
235
235
  */
236
- declare const importDiProject: (projectId: string, body: {
236
+ declare function importDiProject(projectId: string, body: {
237
237
  zip?: BodyInit;
238
- }, options?: ApiCallOptions) => Promise<ImportDiProjectHttpResponse>;
238
+ }, options?: ApiCallOptions): Promise<ImportDiProjectHttpResponse>;
239
239
  type ImportDiProjectHttpResponse = {
240
240
  data: ImportDiProjectRsp;
241
241
  headers: Headers;
@@ -253,7 +253,7 @@ type ImportDiProjectHttpError = {
253
253
  * @param body an object with the body content
254
254
  * @throws PrepareDiProjectHttpError
255
255
  */
256
- declare const prepareDiProject: (projectId: string, body: PrepareProjectReq, options?: ApiCallOptions) => Promise<PrepareDiProjectHttpResponse>;
256
+ declare function prepareDiProject(projectId: string, body: PrepareProjectReq, options?: ApiCallOptions): Promise<PrepareDiProjectHttpResponse>;
257
257
  type PrepareDiProjectHttpResponse = {
258
258
  data: AsyncActionRsp;
259
259
  headers: Headers;
@@ -271,7 +271,7 @@ type PrepareDiProjectHttpError = {
271
271
  * @param body an object with the body content
272
272
  * @throws ValidateDiProjectHttpError
273
273
  */
274
- declare const validateDiProject: (projectId: string, body: ValidateProjectReq, options?: ApiCallOptions) => Promise<ValidateDiProjectHttpResponse>;
274
+ declare function validateDiProject(projectId: string, body: ValidateProjectReq, options?: ApiCallOptions): Promise<ValidateDiProjectHttpResponse>;
275
275
  type ValidateDiProjectHttpResponse = {
276
276
  data: AsyncActionRsp;
277
277
  headers: Headers;
@@ -296,10 +296,10 @@ type ValidateDiProjectHttpError = {
296
296
  * @param query an object with query parameters
297
297
  * @throws GetDiProjectExportVariablesHttpError
298
298
  */
299
- declare const getDiProjectExportVariables: (projectId: string, query: {
299
+ declare function getDiProjectExportVariables(projectId: string, query: {
300
300
  /** Recalculate the bindings if true, otherwise saved bindings are returned. */
301
301
  recalculate?: boolean;
302
- }, options?: ApiCallOptions) => Promise<GetDiProjectExportVariablesHttpResponse>;
302
+ }, options?: ApiCallOptions): Promise<GetDiProjectExportVariablesHttpResponse>;
303
303
  type GetDiProjectExportVariablesHttpResponse = {
304
304
  data: GetDiExportProjectVariablesRsp;
305
305
  headers: Headers;
@@ -317,7 +317,7 @@ type GetDiProjectExportVariablesHttpError = {
317
317
  * @param body an object with the body content
318
318
  * @throws SetDiProjectExportVariablesHttpError
319
319
  */
320
- declare const setDiProjectExportVariables: (projectId: string, body: UpdateDiExportProjectVariablesReq, options?: ApiCallOptions) => Promise<SetDiProjectExportVariablesHttpResponse>;
320
+ declare function setDiProjectExportVariables(projectId: string, body: UpdateDiExportProjectVariablesReq, options?: ApiCallOptions): Promise<SetDiProjectExportVariablesHttpResponse>;
321
321
  type SetDiProjectExportVariablesHttpResponse = {
322
322
  data: UpdateDiExportProjectVariablesRsp;
323
323
  headers: Headers;
@@ -338,7 +338,7 @@ type SetDiProjectExportVariablesHttpError = {
338
338
  * @param projectId Data project id
339
339
  * @throws GetDiProjectDiTasksHttpError
340
340
  */
341
- declare const getDiProjectDiTasks: (projectId: string, options?: ApiCallOptions) => Promise<GetDiProjectDiTasksHttpResponse>;
341
+ declare function getDiProjectDiTasks(projectId: string, options?: ApiCallOptions): Promise<GetDiProjectDiTasksHttpResponse>;
342
342
  type GetDiProjectDiTasksHttpResponse = {
343
343
  data: ListDataTasksRsp;
344
344
  headers: Headers;
@@ -361,7 +361,7 @@ type GetDiProjectDiTasksHttpError = {
361
361
  * @param dataTaskId Data task id
362
362
  * @throws GetDiProjectDiTaskHttpError
363
363
  */
364
- declare const getDiProjectDiTask: (projectId: string, dataTaskId: string, options?: ApiCallOptions) => Promise<GetDiProjectDiTaskHttpResponse>;
364
+ declare function getDiProjectDiTask(projectId: string, dataTaskId: string, options?: ApiCallOptions): Promise<GetDiProjectDiTaskHttpResponse>;
365
365
  type GetDiProjectDiTaskHttpResponse = {
366
366
  data: DataTaskItemRsp;
367
367
  headers: Headers;
@@ -380,7 +380,7 @@ type GetDiProjectDiTaskHttpError = {
380
380
  * @param body an object with the body content
381
381
  * @throws PrepareDiProjectDiTaskHttpError
382
382
  */
383
- declare const prepareDiProjectDiTask: (projectId: string, dataTaskId: string, body: PrepareTaskReq, options?: ApiCallOptions) => Promise<PrepareDiProjectDiTaskHttpResponse>;
383
+ declare function prepareDiProjectDiTask(projectId: string, dataTaskId: string, body: PrepareTaskReq, options?: ApiCallOptions): Promise<PrepareDiProjectDiTaskHttpResponse>;
384
384
  type PrepareDiProjectDiTaskHttpResponse = {
385
385
  data: AsyncActionRsp;
386
386
  headers: Headers;
@@ -405,7 +405,7 @@ type PrepareDiProjectDiTaskHttpError = {
405
405
  * @param body an object with the body content
406
406
  * @throws ValidateDiProjectDiTaskHttpError
407
407
  */
408
- declare const validateDiProjectDiTask: (projectId: string, dataTaskId: string, body: ValidateTaskReq, options?: ApiCallOptions) => Promise<ValidateDiProjectDiTaskHttpResponse>;
408
+ declare function validateDiProjectDiTask(projectId: string, dataTaskId: string, body: ValidateTaskReq, options?: ApiCallOptions): Promise<ValidateDiProjectDiTaskHttpResponse>;
409
409
  type ValidateDiProjectDiTaskHttpResponse = {
410
410
  data: AsyncActionRsp;
411
411
  headers: Headers;
@@ -428,7 +428,7 @@ type ValidateDiProjectDiTaskHttpError = {
428
428
  * @param dataTaskId Data task id
429
429
  * @throws StartDiProjectDiTaskRuntimeHttpError
430
430
  */
431
- declare const startDiProjectDiTaskRuntime: (projectId: string, dataTaskId: string, options?: ApiCallOptions) => Promise<StartDiProjectDiTaskRuntimeHttpResponse>;
431
+ declare function startDiProjectDiTaskRuntime(projectId: string, dataTaskId: string, options?: ApiCallOptions): Promise<StartDiProjectDiTaskRuntimeHttpResponse>;
432
432
  type StartDiProjectDiTaskRuntimeHttpResponse = {
433
433
  data: void;
434
434
  headers: Headers;
@@ -451,7 +451,7 @@ type StartDiProjectDiTaskRuntimeHttpError = {
451
451
  * @param dataTaskId
452
452
  * @throws StopDiProjectDiTaskRuntimeHttpError
453
453
  */
454
- declare const stopDiProjectDiTaskRuntime: (projectId: string, dataTaskId: string, options?: ApiCallOptions) => Promise<StopDiProjectDiTaskRuntimeHttpResponse>;
454
+ declare function stopDiProjectDiTaskRuntime(projectId: string, dataTaskId: string, options?: ApiCallOptions): Promise<StopDiProjectDiTaskRuntimeHttpResponse>;
455
455
  type StopDiProjectDiTaskRuntimeHttpResponse = {
456
456
  data: void;
457
457
  headers: Headers;
@@ -474,7 +474,7 @@ type StopDiProjectDiTaskRuntimeHttpError = {
474
474
  * @param dataTaskId
475
475
  * @throws GetDiProjectDiTaskRuntimeStateHttpError
476
476
  */
477
- declare const getDiProjectDiTaskRuntimeState: (projectId: string, dataTaskId: string, options?: ApiCallOptions) => Promise<GetDiProjectDiTaskRuntimeStateHttpResponse>;
477
+ declare function getDiProjectDiTaskRuntimeState(projectId: string, dataTaskId: string, options?: ApiCallOptions): Promise<GetDiProjectDiTaskRuntimeStateHttpResponse>;
478
478
  type GetDiProjectDiTaskRuntimeStateHttpResponse = {
479
479
  data: {
480
480
  lastRun?: DataTaskInstanceState;