@qlik/api 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/analytics/change-stores.d.ts +40 -76
  2. package/analytics/change-stores.js +9 -10
  3. package/analytics.d.ts +1 -2
  4. package/analytics.js +5 -6
  5. package/api-keys.d.ts +46 -100
  6. package/api-keys.js +3 -4
  7. package/apps.d.ts +334 -461
  8. package/apps.js +74 -6
  9. package/assistants.d.ts +172 -337
  10. package/assistants.js +3 -4
  11. package/audits.d.ts +41 -85
  12. package/audits.js +3 -4
  13. package/auth-types.d.ts +110 -1
  14. package/auth-types.js +22 -1
  15. package/auth.d.ts +1 -2
  16. package/auth.js +1 -1
  17. package/automation-connections.d.ts +44 -95
  18. package/automation-connections.js +3 -4
  19. package/automation-connectors.d.ts +10 -20
  20. package/automation-connectors.js +3 -4
  21. package/automations.d.ts +54 -112
  22. package/automations.js +3 -4
  23. package/automl-deployments.d.ts +17 -36
  24. package/automl-deployments.js +3 -4
  25. package/automl-predictions.d.ts +12 -24
  26. package/automl-predictions.js +3 -4
  27. package/banners.d.ts +8 -14
  28. package/banners.js +3 -4
  29. package/brands.d.ts +19 -39
  30. package/brands.js +3 -4
  31. package/chunks/auth-B8lJw7rm.js +31 -0
  32. package/chunks/{interceptors-DipDBQQ5.js → boot-interceptors-DqRxTczb.js} +296 -248
  33. package/chunks/{chunk-D3vHIbds.js → chunk-BdHzlgOL.js} +3 -3
  34. package/chunks/{invoke-fetch-B7lGscuQ.js → invoke-fetch-DMAi6Fg3.js} +3 -3
  35. package/chunks/{invoke-fetch-DhdyFZ0F.js → invoke-fetch-pMN6iqup.js} +2 -3
  36. package/chunks/platform-types-CECrZkOF.d.ts +29 -0
  37. package/chunks/{public-runtime-modules-QhLPeQr5.js → public-runtime-modules-2KfyI2qM.js} +5 -5
  38. package/chunks/{qix-RCUslia8.js → qix-BdNrIA4s.js} +19 -20
  39. package/chunks/{qix-chunk-entrypoint-WAS4NVTf.js → qix-chunk-entrypoint-L9RpWwLK.js} +52 -58
  40. package/chunks/{qix-CrqXv44x.d.ts → qix-types-y_di0roE.d.ts} +33 -115
  41. package/collections.d.ts +67 -144
  42. package/collections.js +3 -4
  43. package/conditions.d.ts +87 -190
  44. package/conditions.js +3 -4
  45. package/consumption.d.ts +35 -72
  46. package/consumption.js +3 -4
  47. package/core/ip-policies.d.ts +43 -93
  48. package/core/ip-policies.js +5 -6
  49. package/core.d.ts +1 -2
  50. package/core.js +5 -6
  51. package/csp-origins.d.ts +42 -85
  52. package/csp-origins.js +3 -4
  53. package/csrf-token.d.ts +6 -11
  54. package/csrf-token.js +3 -4
  55. package/data-alerts.d.ts +152 -325
  56. package/data-alerts.js +3 -4
  57. package/data-assets.d.ts +16 -31
  58. package/data-assets.js +3 -4
  59. package/data-connections.d.ts +123 -257
  60. package/data-connections.js +3 -4
  61. package/data-credentials.d.ts +36 -76
  62. package/data-credentials.js +3 -4
  63. package/data-files.d.ts +60 -121
  64. package/data-files.js +3 -4
  65. package/data-governance/data-products.d.ts +429 -0
  66. package/data-governance/data-products.js +212 -0
  67. package/data-governance.d.ts +13 -0
  68. package/data-governance.js +12 -0
  69. package/data-qualities.d.ts +11 -25
  70. package/data-qualities.js +3 -4
  71. package/data-sets.d.ts +28 -57
  72. package/data-sets.js +3 -4
  73. package/data-sources.d.ts +45 -97
  74. package/data-sources.js +3 -4
  75. package/data-stores.d.ts +53 -107
  76. package/data-stores.js +3 -4
  77. package/dcaas.d.ts +32 -67
  78. package/dcaas.js +3 -4
  79. package/di-projects.d.ts +111 -136
  80. package/di-projects.js +25 -4
  81. package/direct-access-agents.d.ts +29 -63
  82. package/direct-access-agents.js +3 -4
  83. package/encryption.d.ts +28 -59
  84. package/encryption.js +3 -4
  85. package/extensions.d.ts +35 -73
  86. package/extensions.js +3 -4
  87. package/global-types.d.ts +139 -1
  88. package/glossaries.d.ts +75 -158
  89. package/glossaries.js +3 -4
  90. package/groups.d.ts +58 -125
  91. package/groups.js +3 -4
  92. package/identity-providers.d.ts +148 -324
  93. package/identity-providers.js +3 -4
  94. package/index.d.ts +18 -4
  95. package/index.js +64 -19
  96. package/interceptors.d.ts +2 -3
  97. package/interceptors.js +104 -2
  98. package/invoke-fetch-types.d.ts +97 -1
  99. package/items.d.ts +85 -181
  100. package/items.js +3 -4
  101. package/knowledgebases.d.ts +137 -270
  102. package/knowledgebases.js +3 -4
  103. package/licenses.d.ts +71 -153
  104. package/licenses.js +3 -4
  105. package/lineage-graphs.d.ts +39 -85
  106. package/lineage-graphs.js +3 -4
  107. package/ml.d.ts +290 -621
  108. package/ml.js +3 -4
  109. package/notes.d.ts +9 -18
  110. package/notes.js +3 -4
  111. package/notifications.d.ts +14 -30
  112. package/notifications.js +3 -4
  113. package/oauth-clients.d.ts +98 -159
  114. package/oauth-clients.js +4 -5
  115. package/oauth-tokens.d.ts +16 -33
  116. package/oauth-tokens.js +3 -4
  117. package/package.json +6 -4
  118. package/qix.d.ts +46 -2
  119. package/qix.js +2 -3
  120. package/questions.d.ts +53 -110
  121. package/questions.js +3 -4
  122. package/quotas.d.ts +13 -26
  123. package/quotas.js +3 -4
  124. package/reload-tasks.d.ts +23 -46
  125. package/reload-tasks.js +3 -4
  126. package/reloads.d.ts +26 -52
  127. package/reloads.js +3 -4
  128. package/report-templates.d.ts +30 -63
  129. package/report-templates.js +3 -4
  130. package/reports.d.ts +111 -238
  131. package/reports.js +3 -4
  132. package/roles.d.ts +36 -77
  133. package/roles.js +3 -4
  134. package/sharing-tasks.d.ts +201 -427
  135. package/sharing-tasks.js +3 -4
  136. package/spaces.d.ts +71 -157
  137. package/spaces.js +3 -4
  138. package/tasks.d.ts +76 -164
  139. package/tasks.js +3 -4
  140. package/temp-contents.d.ts +17 -35
  141. package/temp-contents.js +3 -4
  142. package/tenant-settings.d.ts +298 -0
  143. package/tenant-settings.js +107 -0
  144. package/tenants.d.ts +31 -67
  145. package/tenants.js +3 -4
  146. package/themes.d.ts +27 -55
  147. package/themes.js +3 -4
  148. package/transports.d.ts +46 -106
  149. package/transports.js +3 -4
  150. package/ui-config.d.ts +8 -17
  151. package/ui-config.js +3 -4
  152. package/users.d.ts +80 -170
  153. package/users.js +3 -4
  154. package/web-integrations.d.ts +38 -83
  155. package/web-integrations.js +3 -4
  156. package/web-notifications.d.ts +14 -29
  157. package/web-notifications.js +3 -4
  158. package/webhooks.d.ts +77 -162
  159. package/webhooks.js +3 -4
  160. package/chunks/auth-BowS4SUR.js +0 -28
  161. package/chunks/auth-types-YrlH_R9f.d.ts +0 -416
  162. package/chunks/auth-types-h43TVDpB.js +0 -24
  163. package/chunks/global-types-CEVAJebk.js +0 -1
  164. /package/chunks/{dist-n3iOVn1W.js → dist-DR758NU5.js} +0 -0
  165. /package/chunks/{invoke-fetch-C1Z0RJYU.d.ts → invoke-fetch-DFc3yzaj.d.ts} +0 -0
  166. /package/chunks/{utils-vv-xFm06.js → utils-jkpLuYZR.js} +0 -0
  167. /package/chunks/{websocket-errors-CRTDTtBL.js → websocket-errors-C5U1tba-.js} +0 -0
package/data-stores.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { y as ApiCallOptions } from "./chunks/auth-types-YrlH_R9f.js";
2
- import "./chunks/invoke-fetch-C1Z0RJYU.js";
1
+ import { ApiCallOptions } from "./invoke-fetch-types.js";
2
+ import "./chunks/invoke-fetch-DFc3yzaj.js";
3
3
 
4
4
  //#region src/public/rest/data-stores.d.ts
5
5
  type BatchIdDto = {
@@ -7,33 +7,23 @@ type BatchIdDto = {
7
7
  };
8
8
  type DataAsset = {
9
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 */
10
+ appType: string; /** The value is automatically set by the application. User defined value is ignored. */
11
+ readonly createdBy?: string; /** The value is automatically set by the application. User defined value is ignored. */
12
+ readonly createdTime?: string; /** The date-time when the source data was last changed */
16
13
  dataFreshness?: string;
17
14
  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. */
15
+ description?: string; /** Only required when updating the resource. Must be null for new resources. */
16
+ id?: string; /** The value is automatically set by the application. User defined value is ignored. */
17
+ readonly lastModifiedBy?: string; /** The value is automatically set by the application. User defined value is ignored. */
24
18
  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. */
19
+ name?: string; /** The value is automatically set by the application. */
20
+ ownerId?: string; /** A Map of name-value pairs. */
29
21
  properties?: Record<string, unknown>;
30
22
  spaceId?: string;
31
23
  tags?: string[];
32
24
  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. */
25
+ technicalName: string; /** The value is automatically set by the application. User defined value is ignored. */
26
+ readonly tenantId?: string; /** Only required when updating the resource. Must be null for new resources. */
37
27
  version?: number;
38
28
  };
39
29
  type DataAssetInfo = {
@@ -53,78 +43,53 @@ type DataField = {
53
43
  orphan?: boolean;
54
44
  primaryKey?: boolean;
55
45
  properties?: Record<string, unknown>;
56
- sensitive?: boolean;
57
- /** An array of system tags */
58
- tags?: string[];
59
- /** An array of user-supplied tags */
46
+ sensitive?: boolean; /** An array of system tags */
47
+ tags?: string[]; /** An array of user-supplied tags */
60
48
  userTags?: UserTag[];
61
49
  };
62
50
  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. */
51
+ /** 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 */additionalSchemas?: Schema[]; /** Optional override of DataAsset appType. */
52
+ appTypeOverride?: string; /** The value is automatically set by the application. User defined value is ignored. */
53
+ readonly createdBy?: string; /** The connectionId that created the Dataset. Optional. */
54
+ createdByConnectionId?: string; /** The value is automatically set by the application. User defined value is ignored. */
72
55
  readonly createdTime?: string;
73
56
  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. */
57
+ description?: string; /** Only required when updating the resource. Must be null for new resources. */
58
+ id?: string; /** The value is automatically set by the application. User defined value is ignored. */
59
+ readonly lastModifiedBy?: string; /** The value is automatically set by the application. User defined value is ignored. */
80
60
  readonly lastModifiedTime?: string;
81
61
  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 */
62
+ operational?: Operational; /** The value is automatically set by the application. */
63
+ ownerId?: string; /** A Map of name-value pairs. */
64
+ properties?: Record<string, unknown>; /** 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. */
65
+ qri: string; /** 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
66
  schema?: Schema;
91
67
  secureQri: string;
92
68
  spaceId?: string;
93
69
  tags?: string[];
94
70
  technicalDescription?: string;
95
- technicalName: string;
96
- /** The value is automatically set by the application. User defined value is ignored. */
71
+ technicalName: string; /** The value is automatically set by the application. User defined value is ignored. */
97
72
  readonly tenantId?: string;
98
- type?: string;
99
- /** Only required when updating the resource. Must be null for new resources. */
73
+ type?: string; /** Only required when updating the resource. Must be null for new resources. */
100
74
  version?: number;
101
75
  };
102
76
  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. */
77
+ /** The value is automatically set by the application. User defined value is ignored. */readonly createdBy?: string; /** The value is automatically set by the application. User defined value is ignored. */
106
78
  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. */
79
+ description?: string; /** Only required when updating the resource. Must be null for new resources. */
80
+ id?: string; /** The value is automatically set by the application. User defined value is ignored. */
81
+ readonly lastModifiedBy?: string; /** The value is automatically set by the application. User defined value is ignored. */
113
82
  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. */
83
+ name?: string; /** The value is automatically set by the application. */
84
+ ownerId?: string; /** A Map of name-value pairs. */
118
85
  properties?: Record<string, unknown>;
119
86
  spaceId?: string;
120
87
  tags?: string[];
121
88
  technicalDescription?: string;
122
- technicalName: string;
123
- /** The value is automatically set by the application. User defined value is ignored. */
89
+ technicalName: string; /** The value is automatically set by the application. User defined value is ignored. */
124
90
  readonly tenantId?: string;
125
91
  type: string;
126
- uri?: string;
127
- /** Only required when updating the resource. Must be null for new resources. */
92
+ uri?: string; /** Only required when updating the resource. Must be null for new resources. */
128
93
  version?: number;
129
94
  };
130
95
  type DataStoreInfo = {
@@ -143,20 +108,14 @@ type ErrorResponse = {
143
108
  traceId?: string;
144
109
  };
145
110
  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. */
111
+ originalType?: string; /** 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. */
112
+ properties?: Record<string, unknown>; /** 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
113
  type: "DATE" | "TIME" | "DATETIME" | "TIMESTAMP" | "STRING" | "DOUBLE" | "DECIMAL" | "INTEGER" | "BOOLEAN" | "BINARY" | "CUSTOM";
151
114
  };
152
115
  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. */
116
+ /** A JSON Pointer path pointing to the location to move/copy from. */from?: string; /** The operation to be performed. */
117
+ op: "add" | "remove" | "replace" | "move" | "copy" | "test"; /** A JSON pointer to the property being affected. */
118
+ path: string; /** The value to add, replace or test. */
160
119
  value?: unknown;
161
120
  };
162
121
  type Link = {
@@ -211,11 +170,9 @@ type PageDataStore = {
211
170
  * 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
171
  */
213
172
  type Schema = {
214
- /** Anomalies associated with this schema. Example: $warning-unknown-headers */
215
- anomalies?: string[];
173
+ /** Anomalies associated with this schema. Example: $warning-unknown-headers */anomalies?: string[];
216
174
  dataFields: DataField[];
217
- readonly effectiveDate?: string;
218
- /** Options for loading files. Example: "qLabel": "embedded labels" */
175
+ readonly effectiveDate?: string; /** Options for loading files. Example: "qLabel": "embedded labels" */
219
176
  loadOptions?: Record<string, unknown>;
220
177
  overrideSchemaAnomalies?: boolean;
221
178
  schemaName?: string;
@@ -229,8 +186,7 @@ type TableConnectionInfo = {
229
186
  * An array of user-supplied tags
230
187
  */
231
188
  type UserTag = {
232
- /** The id of the tag in Collections */
233
- id?: string;
189
+ /** The id of the tag in Collections */id?: string;
234
190
  name?: string;
235
191
  };
236
192
  /**
@@ -257,12 +213,9 @@ type DeleteDataStoresHttpError = {
257
213
  * @throws GetDataStoresHttpError
258
214
  */
259
215
  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. */
216
+ /** Page size limit. */limit?: number;
217
+ page?: number; /** Comma-separated fields to return in the response. */
218
+ projections?: string[]; /** Comma-separated fields and field start with '-' character sorts the result set in descending order. */
266
219
  sort?: string[];
267
220
  }, options?: ApiCallOptions): Promise<GetDataStoresHttpResponse>;
268
221
  type GetDataStoresHttpResponse = {
@@ -319,12 +272,9 @@ type DeleteDataStoreDataAssetsHttpError = {
319
272
  * @throws GetDataStoreDataAssetsHttpError
320
273
  */
321
274
  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. */
275
+ /** Page size limit. */limit?: number;
276
+ page?: number; /** Comma-separated fields to return in the response. */
277
+ projections?: string[]; /** Comma-separated fields and field start with '-' character sorts the result set in descending order. */
328
278
  sort?: string[];
329
279
  }, options?: ApiCallOptions): Promise<GetDataStoreDataAssetsHttpResponse>;
330
280
  type GetDataStoreDataAssetsHttpResponse = {
@@ -366,12 +316,9 @@ type DeleteDataStoreDataAssetDataSetsHttpError = {
366
316
  * @throws GetDataStoreDataAssetDataSetsHttpError
367
317
  */
368
318
  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. */
319
+ /** Page size limit. */limit?: number;
320
+ page?: number; /** Comma-separated fields to return in the response. */
321
+ projections?: string[]; /** Comma-separated fields and field start with '-' character sorts the result set in descending order. */
375
322
  sort?: string[];
376
323
  }, options?: ApiCallOptions): Promise<GetDataStoreDataAssetDataSetsHttpResponse>;
377
324
  type GetDataStoreDataAssetDataSetsHttpResponse = {
@@ -394,8 +341,7 @@ type GetDataStoreDataAssetDataSetsHttpError = {
394
341
  * @throws GetDataStoreHttpError
395
342
  */
396
343
  declare function getDataStore(dataStoreId: string, query: {
397
- /** Comma-separated fields to return in the response. */
398
- projections?: string[];
344
+ /** Comma-separated fields to return in the response. */projections?: string[];
399
345
  }, options?: ApiCallOptions): Promise<GetDataStoreHttpResponse>;
400
346
  type GetDataStoreHttpResponse = {
401
347
  data: DataStore;
package/data-stores.js CHANGED
@@ -1,5 +1,5 @@
1
- import "./chunks/public-runtime-modules-QhLPeQr5.js";
2
- import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-B7lGscuQ.js";
1
+ import "./chunks/public-runtime-modules-2KfyI2qM.js";
2
+ import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
3
3
 
4
4
  //#region src/public/rest/data-stores.ts
5
5
  /**
@@ -186,7 +186,6 @@ const dataStoresExport = {
186
186
  updateDataStore,
187
187
  clearCache
188
188
  };
189
- var data_stores_default = dataStoresExport;
190
189
 
191
190
  //#endregion
192
- export { clearCache, createDataStore, data_stores_default as default, deleteDataStoreDataAssetDataSets, deleteDataStoreDataAssets, deleteDataStores, getDataStore, getDataStoreDataAssetDataSets, getDataStoreDataAssets, getDataStores, patchDataStore, updateDataStore };
191
+ export { clearCache, createDataStore, dataStoresExport as default, deleteDataStoreDataAssetDataSets, deleteDataStoreDataAssets, deleteDataStores, getDataStore, getDataStoreDataAssetDataSets, getDataStoreDataAssets, getDataStores, patchDataStore, updateDataStore };
package/dcaas.d.ts CHANGED
@@ -1,88 +1,54 @@
1
- import { y as ApiCallOptions } from "./chunks/auth-types-YrlH_R9f.js";
2
- import "./chunks/invoke-fetch-C1Z0RJYU.js";
1
+ import { ApiCallOptions } from "./invoke-fetch-types.js";
2
+ import "./chunks/invoke-fetch-DFc3yzaj.js";
3
3
 
4
4
  //#region src/public/rest/dcaas.d.ts
5
5
  type ApiSpecResponse = {
6
- /** List of properties required for the given datasource */
7
- connectionProperties: unknown;
8
- /** Datasource provider */
9
- connectorProvider: string;
10
- /** Datasource provider (i.e. connector) version */
6
+ /** List of properties required for the given datasource */connectionProperties: unknown; /** Datasource provider */
7
+ connectorProvider: string; /** Datasource provider (i.e. connector) version */
11
8
  connectorVersion: string;
12
9
  };
13
10
  /**
14
11
  * Response returned when 'authUrlOnly' is set to true in the request body
15
12
  */
16
13
  type AuthUrlResponse = {
17
- /** Authentication URL for OAuth datasource */
18
- authUrl: string;
14
+ /** Authentication URL for OAuth datasource */authUrl: string;
19
15
  };
20
16
  type CreateConnectionReq = {
21
- /** When set to true, only authentication URL will be returned if datasource supports OAuth (other properties set in the request will ignored). This property will be ignored if the request is not OAuth or datasource doesn't support OAuth */
22
- authUrlOnly?: boolean;
23
- /** Connection name */
24
- connectionName: string;
25
- /** List of connection properties required to create dataconnection for a given datasource, which is defined by the response of 'GET /v1/data-datasources/:{datasourceId}/api-specs' */
26
- connectionProperties: unknown;
27
- /** Datasource ID */
28
- dataSourceId: string;
29
- /** Target connection space ID */
30
- spaceId?: string;
31
- /** string tags (32 or less) persisted with the connection object */
17
+ /** When set to true, only authentication URL will be returned if datasource supports OAuth (other properties set in the request will ignored). This property will be ignored if the request is not OAuth or datasource doesn't support OAuth */authUrlOnly?: boolean; /** Connection name */
18
+ connectionName: string; /** List of connection properties required to create dataconnection for a given datasource, which is defined by the response of 'GET /v1/data-datasources/:{datasourceId}/api-specs' */
19
+ connectionProperties: unknown; /** Datasource ID */
20
+ dataSourceId: string; /** Target connection space ID */
21
+ spaceId?: string; /** string tags (32 or less) persisted with the connection object */
32
22
  tags?: string[];
33
23
  };
34
24
  type CreateConnectionRes = {
35
- /** Connection ID */
36
- connectionId: string;
37
- /** Connection name */
38
- connectionName: string;
39
- /** Created at time stamp */
40
- createdAt: string;
41
- /** Credentials ID (if credentials are included in the request) */
42
- credentialsId?: string;
43
- /** Datasource ID */
44
- dataSourceId: string;
45
- /** Space ID */
46
- spaceId?: string;
47
- /** Tenant ID */
48
- tenantId: string;
49
- /** Updated at time stamp */
50
- updateAt: string;
51
- /** User ID */
25
+ /** Connection ID */connectionId: string; /** Connection name */
26
+ connectionName: string; /** Created at time stamp */
27
+ createdAt: string; /** Credentials ID (if credentials are included in the request) */
28
+ credentialsId?: string; /** Datasource ID */
29
+ dataSourceId: string; /** Space ID */
30
+ spaceId?: string; /** Tenant ID */
31
+ tenantId: string; /** Updated at time stamp */
32
+ updateAt: string; /** User ID */
52
33
  userId: string;
53
34
  };
54
35
  type GetConnectionResponse = {
55
- /** Connection ID */
56
- connectionId: string;
57
- /** Connection name */
58
- connectionName: string;
59
- /** List of connection properties */
60
- connectionProperties: unknown;
61
- /** Created at time stamp */
62
- createdAt: string;
63
- /** Credentials ID (associated with the connection, either embedded or separated) */
64
- credentialsId?: string;
65
- /** Datasource ID */
66
- dataSourceId: string;
67
- /** Space ID */
68
- spaceId?: string;
69
- /** string tags associated with the connection */
70
- tags?: string[];
71
- /** Tenant ID */
72
- tenantId: string;
73
- /** Updated at time stamp */
74
- updateAt: string;
75
- /** User ID */
36
+ /** Connection ID */connectionId: string; /** Connection name */
37
+ connectionName: string; /** List of connection properties */
38
+ connectionProperties: unknown; /** Created at time stamp */
39
+ createdAt: string; /** Credentials ID (associated with the connection, either embedded or separated) */
40
+ credentialsId?: string; /** Datasource ID */
41
+ dataSourceId: string; /** Space ID */
42
+ spaceId?: string; /** string tags associated with the connection */
43
+ tags?: string[]; /** Tenant ID */
44
+ tenantId: string; /** Updated at time stamp */
45
+ updateAt: string; /** User ID */
76
46
  userId: string;
77
47
  };
78
48
  type PublicApiError = {
79
- /** A service specific error code string */
80
- code: string;
81
- /** Concrete detail about the error */
82
- detail?: string;
83
- /** Additional metadata associated with the error */
84
- meta?: unknown;
85
- /** Summary of the error */
49
+ /** A service specific error code string */code: string; /** Concrete detail about the error */
50
+ detail?: string; /** Additional metadata associated with the error */
51
+ meta?: unknown; /** Summary of the error */
86
52
  title: string;
87
53
  };
88
54
  type ResponseErrors = {
@@ -116,8 +82,7 @@ type DataConnectionsDcaasHttpError = {
116
82
  * @throws DataConnectionsDcaasApiSpecsHttpError
117
83
  */
118
84
  declare function dataConnectionsDcaasApiSpecs(query: {
119
- /** Datasource ID */
120
- dataSourceId: string;
85
+ /** Datasource ID */dataSourceId: string;
121
86
  }, options?: ApiCallOptions): Promise<DataConnectionsDcaasApiSpecsHttpResponse>;
122
87
  type DataConnectionsDcaasApiSpecsHttpResponse = {
123
88
  data: ApiSpecResponse;
package/dcaas.js CHANGED
@@ -1,5 +1,5 @@
1
- import "./chunks/public-runtime-modules-QhLPeQr5.js";
2
- import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-B7lGscuQ.js";
1
+ import "./chunks/public-runtime-modules-2KfyI2qM.js";
2
+ import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
3
3
 
4
4
  //#region src/public/rest/dcaas.ts
5
5
  /**
@@ -66,7 +66,6 @@ const dcaasExport = {
66
66
  dataConnectionsDcaa,
67
67
  clearCache
68
68
  };
69
- var dcaas_default = dcaasExport;
70
69
 
71
70
  //#endregion
72
- export { clearCache, dataConnectionsDcaa, dataConnectionsDcaas, dataConnectionsDcaasApiSpecs, dcaas_default as default };
71
+ export { clearCache, dataConnectionsDcaa, dataConnectionsDcaas, dataConnectionsDcaasApiSpecs, dcaasExport as default };