@qlik/api 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/LICENSE +17 -0
  2. package/README.md +8 -0
  3. package/api-keys.d.mts +313 -0
  4. package/api-keys.d.ts +313 -0
  5. package/api-keys.js +76 -0
  6. package/api-keys.mjs +76 -0
  7. package/apps.d.mts +1921 -0
  8. package/apps.d.ts +1921 -0
  9. package/apps.js +331 -0
  10. package/apps.mjs +331 -0
  11. package/audits.d.mts +262 -0
  12. package/audits.d.ts +262 -0
  13. package/audits.js +63 -0
  14. package/audits.mjs +63 -0
  15. package/auth-CSVTXOZX.js +36 -0
  16. package/auth-TE272Q34.mjs +36 -0
  17. package/auth-types-nnUcWhuU.d.mts +98 -0
  18. package/auth-types-nnUcWhuU.d.ts +98 -0
  19. package/auth.d.mts +26 -0
  20. package/auth.d.ts +26 -0
  21. package/auth.js +13 -0
  22. package/auth.mjs +13 -0
  23. package/automations.d.mts +638 -0
  24. package/automations.d.ts +638 -0
  25. package/automations.js +166 -0
  26. package/automations.mjs +166 -0
  27. package/brands.d.mts +614 -0
  28. package/brands.d.ts +614 -0
  29. package/brands.js +118 -0
  30. package/brands.mjs +118 -0
  31. package/chunk-3YE7EI7I.mjs +17 -0
  32. package/chunk-4ES65KO3.js +57 -0
  33. package/chunk-4FLMND6T.js +25 -0
  34. package/chunk-4OMEH5SW.mjs +1337 -0
  35. package/chunk-CKPJE4IA.mjs +57 -0
  36. package/chunk-GUQBHY3H.mjs +25 -0
  37. package/chunk-OULT3V2U.js +17 -0
  38. package/chunk-WM7FQU2U.mjs +21 -0
  39. package/chunk-XASXL2NC.js +1337 -0
  40. package/chunk-ZT4C7KCQ.js +21 -0
  41. package/collections.d.mts +535 -0
  42. package/collections.d.ts +535 -0
  43. package/collections.js +100 -0
  44. package/collections.mjs +100 -0
  45. package/csp-origins.d.mts +258 -0
  46. package/csp-origins.d.ts +258 -0
  47. package/csp-origins.js +66 -0
  48. package/csp-origins.mjs +66 -0
  49. package/data-assets.d.mts +195 -0
  50. package/data-assets.d.ts +195 -0
  51. package/data-assets.js +61 -0
  52. package/data-assets.mjs +61 -0
  53. package/data-connections.d.mts +527 -0
  54. package/data-connections.d.ts +527 -0
  55. package/data-connections.js +96 -0
  56. package/data-connections.mjs +96 -0
  57. package/data-credentials.d.mts +188 -0
  58. package/data-credentials.d.ts +188 -0
  59. package/data-credentials.js +56 -0
  60. package/data-credentials.mjs +56 -0
  61. package/data-files.d.mts +471 -0
  62. package/data-files.d.ts +471 -0
  63. package/data-files.js +116 -0
  64. package/data-files.mjs +116 -0
  65. package/docs/examples.md +4 -0
  66. package/enigma-session-4L373ALV.mjs +10196 -0
  67. package/enigma-session-TEB53FAF.js +10196 -0
  68. package/esm-4X3DKK5D.js +63 -0
  69. package/esm-SOWVJKOQ.mjs +63 -0
  70. package/extensions.d.mts +257 -0
  71. package/extensions.d.ts +257 -0
  72. package/extensions.js +74 -0
  73. package/extensions.mjs +74 -0
  74. package/global.types-Eto4uYwy.d.mts +102 -0
  75. package/global.types-hIvp-WdX.d.ts +102 -0
  76. package/glossaries.d.mts +1041 -0
  77. package/glossaries.d.ts +1041 -0
  78. package/glossaries.js +225 -0
  79. package/glossaries.mjs +225 -0
  80. package/groups.d.mts +379 -0
  81. package/groups.d.ts +379 -0
  82. package/groups.js +83 -0
  83. package/groups.mjs +83 -0
  84. package/identity-providers.d.mts +492 -0
  85. package/identity-providers.d.ts +492 -0
  86. package/identity-providers.js +80 -0
  87. package/identity-providers.mjs +80 -0
  88. package/index.d.mts +142 -0
  89. package/index.d.ts +142 -0
  90. package/index.js +678 -0
  91. package/index.mjs +678 -0
  92. package/invoke-fetch-MSSJAZ7K.mjs +14 -0
  93. package/invoke-fetch-PEI54KZO.js +14 -0
  94. package/items.d.mts +501 -0
  95. package/items.d.ts +501 -0
  96. package/items.js +84 -0
  97. package/items.mjs +84 -0
  98. package/licenses.d.mts +436 -0
  99. package/licenses.d.ts +436 -0
  100. package/licenses.js +87 -0
  101. package/licenses.mjs +87 -0
  102. package/package.json +264 -0
  103. package/qix-EU7PXRZ6.mjs +573 -0
  104. package/qix-RLTISYTB.js +573 -0
  105. package/qix.d.mts +11543 -0
  106. package/qix.d.ts +11543 -0
  107. package/qix.js +9 -0
  108. package/qix.mjs +9 -0
  109. package/quotas.d.mts +105 -0
  110. package/quotas.d.ts +105 -0
  111. package/quotas.js +31 -0
  112. package/quotas.mjs +31 -0
  113. package/reload-tasks.d.mts +222 -0
  114. package/reload-tasks.d.ts +222 -0
  115. package/reload-tasks.js +59 -0
  116. package/reload-tasks.mjs +59 -0
  117. package/reloads.d.mts +189 -0
  118. package/reloads.d.ts +189 -0
  119. package/reloads.js +44 -0
  120. package/reloads.mjs +44 -0
  121. package/roles.d.mts +150 -0
  122. package/roles.d.ts +150 -0
  123. package/roles.js +30 -0
  124. package/roles.mjs +30 -0
  125. package/spaces.d.mts +524 -0
  126. package/spaces.d.ts +524 -0
  127. package/spaces.js +118 -0
  128. package/spaces.mjs +118 -0
  129. package/temp-contents.d.mts +222 -0
  130. package/temp-contents.d.ts +222 -0
  131. package/temp-contents.js +60 -0
  132. package/temp-contents.mjs +60 -0
  133. package/tenants.d.mts +276 -0
  134. package/tenants.d.ts +276 -0
  135. package/tenants.js +68 -0
  136. package/tenants.mjs +68 -0
  137. package/themes.d.mts +235 -0
  138. package/themes.d.ts +235 -0
  139. package/themes.js +74 -0
  140. package/themes.mjs +74 -0
  141. package/transports.d.mts +298 -0
  142. package/transports.d.ts +298 -0
  143. package/transports.js +62 -0
  144. package/transports.mjs +62 -0
  145. package/users.d.mts +544 -0
  146. package/users.d.ts +544 -0
  147. package/users.js +99 -0
  148. package/users.mjs +99 -0
  149. package/web-integrations.d.mts +246 -0
  150. package/web-integrations.d.ts +246 -0
  151. package/web-integrations.js +59 -0
  152. package/web-integrations.mjs +59 -0
  153. package/web-notifications.d.mts +220 -0
  154. package/web-notifications.d.ts +220 -0
  155. package/web-notifications.js +66 -0
  156. package/web-notifications.mjs +66 -0
  157. package/webhooks.d.mts +422 -0
  158. package/webhooks.d.ts +422 -0
  159. package/webhooks.js +100 -0
  160. package/webhooks.mjs +100 -0
@@ -0,0 +1,96 @@
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunk-3YE7EI7I.mjs";
5
+ import "./chunk-WM7FQU2U.mjs";
6
+
7
+ // src/public/rest/data-connections.ts
8
+ var getDataConnections = async (query, options) => invokeFetch("data-connections", {
9
+ method: "get",
10
+ pathTemplate: "/api/v1/data-connections",
11
+ query,
12
+ options
13
+ });
14
+ var createDataConnection = async (body, options) => invokeFetch("data-connections", {
15
+ method: "post",
16
+ pathTemplate: "/api/v1/data-connections",
17
+ body,
18
+ options
19
+ });
20
+ var deleteDataConnections = async (body, options) => invokeFetch("data-connections", {
21
+ method: "post",
22
+ pathTemplate: "/api/v1/data-connections/actions/delete",
23
+ body,
24
+ options
25
+ });
26
+ var duplicateDataAConnection = async (body, options) => invokeFetch("data-connections", {
27
+ method: "post",
28
+ pathTemplate: "/api/v1/data-connections/actions/duplicate",
29
+ body,
30
+ options
31
+ });
32
+ var updateDataConnections = async (body, options) => invokeFetch("data-connections", {
33
+ method: "post",
34
+ pathTemplate: "/api/v1/data-connections/actions/update",
35
+ body,
36
+ options
37
+ });
38
+ var deleteDataConnection = async (qID, query, options) => invokeFetch("data-connections", {
39
+ method: "delete",
40
+ pathTemplate: "/api/v1/data-connections/{qID}",
41
+ pathVariables: { qID },
42
+ query,
43
+ options
44
+ });
45
+ var getDataConnection = async (qID, query, options) => invokeFetch("data-connections", {
46
+ method: "get",
47
+ pathTemplate: "/api/v1/data-connections/{qID}",
48
+ pathVariables: { qID },
49
+ query,
50
+ options
51
+ });
52
+ var patchDataConnection = async (qID, query, body, options) => invokeFetch("data-connections", {
53
+ method: "patch",
54
+ pathTemplate: "/api/v1/data-connections/{qID}",
55
+ pathVariables: { qID },
56
+ query,
57
+ body,
58
+ options
59
+ });
60
+ var updateDataConnection = async (qID, query, body, options) => invokeFetch("data-connections", {
61
+ method: "put",
62
+ pathTemplate: "/api/v1/data-connections/{qID}",
63
+ pathVariables: { qID },
64
+ query,
65
+ body,
66
+ options
67
+ });
68
+ function clearCache() {
69
+ return clearApiCache("data-connections");
70
+ }
71
+ var dataConnectionsExport = {
72
+ getDataConnections,
73
+ createDataConnection,
74
+ deleteDataConnections,
75
+ duplicateDataAConnection,
76
+ updateDataConnections,
77
+ deleteDataConnection,
78
+ getDataConnection,
79
+ patchDataConnection,
80
+ updateDataConnection,
81
+ clearCache
82
+ };
83
+ var data_connections_default = dataConnectionsExport;
84
+ export {
85
+ clearCache,
86
+ createDataConnection,
87
+ data_connections_default as default,
88
+ deleteDataConnection,
89
+ deleteDataConnections,
90
+ duplicateDataAConnection,
91
+ getDataConnection,
92
+ getDataConnections,
93
+ patchDataConnection,
94
+ updateDataConnection,
95
+ updateDataConnections
96
+ };
@@ -0,0 +1,188 @@
1
+ import { A as ApiCallOptions } from './global.types-Eto4uYwy.mjs';
2
+ import './auth-types-nnUcWhuU.mjs';
3
+
4
+ type Credential = {
5
+ links?: Link;
6
+ /** Number of linked connections */
7
+ qConnCount: number;
8
+ /** UUID of the credential */
9
+ qID: string;
10
+ /** Name of the credential */
11
+ qName: string;
12
+ /** Reference key of credential in redis */
13
+ qReferenceKey?: string;
14
+ /** Type of credential */
15
+ qType: string;
16
+ };
17
+ type CredentialCreate = {
18
+ /** ID of connection that will be associated with the credential */
19
+ connectionId?: string;
20
+ /** ID datasource that the credential is created for */
21
+ datasourceID?: string;
22
+ /** UUID of the credential */
23
+ qID?: string;
24
+ /** UName of the credential */
25
+ qName: string;
26
+ /** Password */
27
+ qPassword: string;
28
+ /** Type of credential */
29
+ qType: string;
30
+ /** User name */
31
+ qUsername: string;
32
+ };
33
+ type Error = {
34
+ /** Unique internal error code */
35
+ code?: string;
36
+ /** More concrete details */
37
+ detail?: string;
38
+ /** A summary in english explaining what went wrong */
39
+ title?: string;
40
+ };
41
+ type Errors = Error[];
42
+ type Link = {
43
+ /** Link to cirrent query */
44
+ self: {
45
+ href: string;
46
+ };
47
+ };
48
+ type PatchRequest = {
49
+ patchData: {
50
+ /** Operation type */
51
+ op?: "add" | "replace" | "remove";
52
+ /** Path to the target field to be patched */
53
+ path?: string;
54
+ /** The value used for the patch, only needed for 'add' or 'replace'. Value type could be either string or integer, should match with the type of the target field */
55
+ value?: string;
56
+ }[];
57
+ };
58
+ type ResponseErrors = {
59
+ errors?: Errors;
60
+ };
61
+ /**
62
+ * Deletes the specified credential by ID (or by name when type=credentialname is set in query)
63
+ * @param qID Credential ID
64
+ * @param query an object with query parameters
65
+ * @throws DeleteDataCredentialHttpError
66
+ */
67
+ declare const deleteDataCredential: (qID: string, query: {
68
+ /** If set to true, credentialId in the query will be intepreted as credential's name */
69
+ byCredentialName?: boolean;
70
+ }, options?: ApiCallOptions) => Promise<DeleteDataCredentialHttpResponse>;
71
+ type DeleteDataCredentialHttpResponse = {
72
+ data: void;
73
+ headers: Headers;
74
+ status: number;
75
+ };
76
+ type DeleteDataCredentialHttpError = {
77
+ data: ResponseErrors;
78
+ headers: Headers;
79
+ status: number;
80
+ };
81
+ /**
82
+ * Gets a credential by ID (or by name when bycredentialname=true is set in query)
83
+ * @param qID Credential ID
84
+ * @param query an object with query parameters
85
+ * @throws GetDataCredentialHttpError
86
+ */
87
+ declare const getDataCredential: (qID: string, query: {
88
+ /** If set to true, credentialId in the query will be intepreted as credential's name */
89
+ byCredentialName?: boolean;
90
+ }, options?: ApiCallOptions) => Promise<GetDataCredentialHttpResponse>;
91
+ type GetDataCredentialHttpResponse = {
92
+ data: Credential;
93
+ headers: Headers;
94
+ status: number;
95
+ };
96
+ type GetDataCredentialHttpError = {
97
+ data: ResponseErrors;
98
+ headers: Headers;
99
+ status: number;
100
+ };
101
+ /**
102
+ * Patches a credential specified by ID (or by name when bycredentialname=true is set in query)
103
+ * @param qID Credential ID
104
+ * @param query an object with query parameters
105
+ * @param body an object with the body content
106
+ * @throws PatchDataCredentialHttpError
107
+ */
108
+ declare const patchDataCredential: (qID: string, query: {
109
+ /** If set to true, credentialId in the query will be intepreted as credential's name */
110
+ byCredentialName?: boolean;
111
+ }, body: PatchRequest, options?: ApiCallOptions) => Promise<PatchDataCredentialHttpResponse>;
112
+ type PatchDataCredentialHttpResponse = {
113
+ data: void;
114
+ headers: Headers;
115
+ status: number;
116
+ };
117
+ type PatchDataCredentialHttpError = {
118
+ data: ResponseErrors;
119
+ headers: Headers;
120
+ status: number;
121
+ };
122
+ /**
123
+ * Updates a credential specified by ID (or by name when bycredentialname=true is set in query)
124
+ * @param qID Credential ID
125
+ * @param query an object with query parameters
126
+ * @param body an object with the body content
127
+ * @throws UpdateDataCredentialHttpError
128
+ */
129
+ declare const updateDataCredential: (qID: string, query: {
130
+ /** If set to true, credentialId in the query will be intepreted as credential's name */
131
+ byCredentialName?: boolean;
132
+ }, body: CredentialCreate, options?: ApiCallOptions) => Promise<UpdateDataCredentialHttpResponse>;
133
+ type UpdateDataCredentialHttpResponse = {
134
+ data: void;
135
+ headers: Headers;
136
+ status: number;
137
+ };
138
+ type UpdateDataCredentialHttpError = {
139
+ data: ResponseErrors;
140
+ headers: Headers;
141
+ status: number;
142
+ };
143
+ /**
144
+ * Clears the cache for data-credentials api requests.
145
+ */
146
+ declare function clearCache(): void;
147
+ interface DataCredentialsAPI {
148
+ /**
149
+ * Deletes the specified credential by ID (or by name when type=credentialname is set in query)
150
+ * @param qID Credential ID
151
+ * @param query an object with query parameters
152
+ * @throws DeleteDataCredentialHttpError
153
+ */
154
+ deleteDataCredential: typeof deleteDataCredential;
155
+ /**
156
+ * Gets a credential by ID (or by name when bycredentialname=true is set in query)
157
+ * @param qID Credential ID
158
+ * @param query an object with query parameters
159
+ * @throws GetDataCredentialHttpError
160
+ */
161
+ getDataCredential: typeof getDataCredential;
162
+ /**
163
+ * Patches a credential specified by ID (or by name when bycredentialname=true is set in query)
164
+ * @param qID Credential ID
165
+ * @param query an object with query parameters
166
+ * @param body an object with the body content
167
+ * @throws PatchDataCredentialHttpError
168
+ */
169
+ patchDataCredential: typeof patchDataCredential;
170
+ /**
171
+ * Updates a credential specified by ID (or by name when bycredentialname=true is set in query)
172
+ * @param qID Credential ID
173
+ * @param query an object with query parameters
174
+ * @param body an object with the body content
175
+ * @throws UpdateDataCredentialHttpError
176
+ */
177
+ updateDataCredential: typeof updateDataCredential;
178
+ /**
179
+ * Clears the cache for data-credentials api requests.
180
+ */
181
+ clearCache: typeof clearCache;
182
+ }
183
+ /**
184
+ * Functions for the data-credentials api
185
+ */
186
+ declare const dataCredentialsExport: DataCredentialsAPI;
187
+
188
+ export { type Credential, type CredentialCreate, type DataCredentialsAPI, type DeleteDataCredentialHttpError, type DeleteDataCredentialHttpResponse, type Error, type Errors, type GetDataCredentialHttpError, type GetDataCredentialHttpResponse, type Link, type PatchDataCredentialHttpError, type PatchDataCredentialHttpResponse, type PatchRequest, type ResponseErrors, type UpdateDataCredentialHttpError, type UpdateDataCredentialHttpResponse, clearCache, dataCredentialsExport as default, deleteDataCredential, getDataCredential, patchDataCredential, updateDataCredential };
@@ -0,0 +1,188 @@
1
+ import { A as ApiCallOptions } from './global.types-hIvp-WdX.js';
2
+ import './auth-types-nnUcWhuU.js';
3
+
4
+ type Credential = {
5
+ links?: Link;
6
+ /** Number of linked connections */
7
+ qConnCount: number;
8
+ /** UUID of the credential */
9
+ qID: string;
10
+ /** Name of the credential */
11
+ qName: string;
12
+ /** Reference key of credential in redis */
13
+ qReferenceKey?: string;
14
+ /** Type of credential */
15
+ qType: string;
16
+ };
17
+ type CredentialCreate = {
18
+ /** ID of connection that will be associated with the credential */
19
+ connectionId?: string;
20
+ /** ID datasource that the credential is created for */
21
+ datasourceID?: string;
22
+ /** UUID of the credential */
23
+ qID?: string;
24
+ /** UName of the credential */
25
+ qName: string;
26
+ /** Password */
27
+ qPassword: string;
28
+ /** Type of credential */
29
+ qType: string;
30
+ /** User name */
31
+ qUsername: string;
32
+ };
33
+ type Error = {
34
+ /** Unique internal error code */
35
+ code?: string;
36
+ /** More concrete details */
37
+ detail?: string;
38
+ /** A summary in english explaining what went wrong */
39
+ title?: string;
40
+ };
41
+ type Errors = Error[];
42
+ type Link = {
43
+ /** Link to cirrent query */
44
+ self: {
45
+ href: string;
46
+ };
47
+ };
48
+ type PatchRequest = {
49
+ patchData: {
50
+ /** Operation type */
51
+ op?: "add" | "replace" | "remove";
52
+ /** Path to the target field to be patched */
53
+ path?: string;
54
+ /** The value used for the patch, only needed for 'add' or 'replace'. Value type could be either string or integer, should match with the type of the target field */
55
+ value?: string;
56
+ }[];
57
+ };
58
+ type ResponseErrors = {
59
+ errors?: Errors;
60
+ };
61
+ /**
62
+ * Deletes the specified credential by ID (or by name when type=credentialname is set in query)
63
+ * @param qID Credential ID
64
+ * @param query an object with query parameters
65
+ * @throws DeleteDataCredentialHttpError
66
+ */
67
+ declare const deleteDataCredential: (qID: string, query: {
68
+ /** If set to true, credentialId in the query will be intepreted as credential's name */
69
+ byCredentialName?: boolean;
70
+ }, options?: ApiCallOptions) => Promise<DeleteDataCredentialHttpResponse>;
71
+ type DeleteDataCredentialHttpResponse = {
72
+ data: void;
73
+ headers: Headers;
74
+ status: number;
75
+ };
76
+ type DeleteDataCredentialHttpError = {
77
+ data: ResponseErrors;
78
+ headers: Headers;
79
+ status: number;
80
+ };
81
+ /**
82
+ * Gets a credential by ID (or by name when bycredentialname=true is set in query)
83
+ * @param qID Credential ID
84
+ * @param query an object with query parameters
85
+ * @throws GetDataCredentialHttpError
86
+ */
87
+ declare const getDataCredential: (qID: string, query: {
88
+ /** If set to true, credentialId in the query will be intepreted as credential's name */
89
+ byCredentialName?: boolean;
90
+ }, options?: ApiCallOptions) => Promise<GetDataCredentialHttpResponse>;
91
+ type GetDataCredentialHttpResponse = {
92
+ data: Credential;
93
+ headers: Headers;
94
+ status: number;
95
+ };
96
+ type GetDataCredentialHttpError = {
97
+ data: ResponseErrors;
98
+ headers: Headers;
99
+ status: number;
100
+ };
101
+ /**
102
+ * Patches a credential specified by ID (or by name when bycredentialname=true is set in query)
103
+ * @param qID Credential ID
104
+ * @param query an object with query parameters
105
+ * @param body an object with the body content
106
+ * @throws PatchDataCredentialHttpError
107
+ */
108
+ declare const patchDataCredential: (qID: string, query: {
109
+ /** If set to true, credentialId in the query will be intepreted as credential's name */
110
+ byCredentialName?: boolean;
111
+ }, body: PatchRequest, options?: ApiCallOptions) => Promise<PatchDataCredentialHttpResponse>;
112
+ type PatchDataCredentialHttpResponse = {
113
+ data: void;
114
+ headers: Headers;
115
+ status: number;
116
+ };
117
+ type PatchDataCredentialHttpError = {
118
+ data: ResponseErrors;
119
+ headers: Headers;
120
+ status: number;
121
+ };
122
+ /**
123
+ * Updates a credential specified by ID (or by name when bycredentialname=true is set in query)
124
+ * @param qID Credential ID
125
+ * @param query an object with query parameters
126
+ * @param body an object with the body content
127
+ * @throws UpdateDataCredentialHttpError
128
+ */
129
+ declare const updateDataCredential: (qID: string, query: {
130
+ /** If set to true, credentialId in the query will be intepreted as credential's name */
131
+ byCredentialName?: boolean;
132
+ }, body: CredentialCreate, options?: ApiCallOptions) => Promise<UpdateDataCredentialHttpResponse>;
133
+ type UpdateDataCredentialHttpResponse = {
134
+ data: void;
135
+ headers: Headers;
136
+ status: number;
137
+ };
138
+ type UpdateDataCredentialHttpError = {
139
+ data: ResponseErrors;
140
+ headers: Headers;
141
+ status: number;
142
+ };
143
+ /**
144
+ * Clears the cache for data-credentials api requests.
145
+ */
146
+ declare function clearCache(): void;
147
+ interface DataCredentialsAPI {
148
+ /**
149
+ * Deletes the specified credential by ID (or by name when type=credentialname is set in query)
150
+ * @param qID Credential ID
151
+ * @param query an object with query parameters
152
+ * @throws DeleteDataCredentialHttpError
153
+ */
154
+ deleteDataCredential: typeof deleteDataCredential;
155
+ /**
156
+ * Gets a credential by ID (or by name when bycredentialname=true is set in query)
157
+ * @param qID Credential ID
158
+ * @param query an object with query parameters
159
+ * @throws GetDataCredentialHttpError
160
+ */
161
+ getDataCredential: typeof getDataCredential;
162
+ /**
163
+ * Patches a credential specified by ID (or by name when bycredentialname=true is set in query)
164
+ * @param qID Credential ID
165
+ * @param query an object with query parameters
166
+ * @param body an object with the body content
167
+ * @throws PatchDataCredentialHttpError
168
+ */
169
+ patchDataCredential: typeof patchDataCredential;
170
+ /**
171
+ * Updates a credential specified by ID (or by name when bycredentialname=true is set in query)
172
+ * @param qID Credential ID
173
+ * @param query an object with query parameters
174
+ * @param body an object with the body content
175
+ * @throws UpdateDataCredentialHttpError
176
+ */
177
+ updateDataCredential: typeof updateDataCredential;
178
+ /**
179
+ * Clears the cache for data-credentials api requests.
180
+ */
181
+ clearCache: typeof clearCache;
182
+ }
183
+ /**
184
+ * Functions for the data-credentials api
185
+ */
186
+ declare const dataCredentialsExport: DataCredentialsAPI;
187
+
188
+ export { type Credential, type CredentialCreate, type DataCredentialsAPI, type DeleteDataCredentialHttpError, type DeleteDataCredentialHttpResponse, type Error, type Errors, type GetDataCredentialHttpError, type GetDataCredentialHttpResponse, type Link, type PatchDataCredentialHttpError, type PatchDataCredentialHttpResponse, type PatchRequest, type ResponseErrors, type UpdateDataCredentialHttpError, type UpdateDataCredentialHttpResponse, clearCache, dataCredentialsExport as default, deleteDataCredential, getDataCredential, patchDataCredential, updateDataCredential };
@@ -0,0 +1,56 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkOULT3V2Ujs = require('./chunk-OULT3V2U.js');
5
+ require('./chunk-ZT4C7KCQ.js');
6
+
7
+ // src/public/rest/data-credentials.ts
8
+ var deleteDataCredential = async (qID, query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-credentials", {
9
+ method: "delete",
10
+ pathTemplate: "/api/v1/data-credentials/{qID}",
11
+ pathVariables: { qID },
12
+ query,
13
+ options
14
+ });
15
+ var getDataCredential = async (qID, query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-credentials", {
16
+ method: "get",
17
+ pathTemplate: "/api/v1/data-credentials/{qID}",
18
+ pathVariables: { qID },
19
+ query,
20
+ options
21
+ });
22
+ var patchDataCredential = async (qID, query, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-credentials", {
23
+ method: "patch",
24
+ pathTemplate: "/api/v1/data-credentials/{qID}",
25
+ pathVariables: { qID },
26
+ query,
27
+ body,
28
+ options
29
+ });
30
+ var updateDataCredential = async (qID, query, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-credentials", {
31
+ method: "put",
32
+ pathTemplate: "/api/v1/data-credentials/{qID}",
33
+ pathVariables: { qID },
34
+ query,
35
+ body,
36
+ options
37
+ });
38
+ function clearCache() {
39
+ return _chunkOULT3V2Ujs.clearApiCache.call(void 0, "data-credentials");
40
+ }
41
+ var dataCredentialsExport = {
42
+ deleteDataCredential,
43
+ getDataCredential,
44
+ patchDataCredential,
45
+ updateDataCredential,
46
+ clearCache
47
+ };
48
+ var data_credentials_default = dataCredentialsExport;
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+ exports.clearCache = clearCache; exports.default = data_credentials_default; exports.deleteDataCredential = deleteDataCredential; exports.getDataCredential = getDataCredential; exports.patchDataCredential = patchDataCredential; exports.updateDataCredential = updateDataCredential;
@@ -0,0 +1,56 @@
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunk-3YE7EI7I.mjs";
5
+ import "./chunk-WM7FQU2U.mjs";
6
+
7
+ // src/public/rest/data-credentials.ts
8
+ var deleteDataCredential = async (qID, query, options) => invokeFetch("data-credentials", {
9
+ method: "delete",
10
+ pathTemplate: "/api/v1/data-credentials/{qID}",
11
+ pathVariables: { qID },
12
+ query,
13
+ options
14
+ });
15
+ var getDataCredential = async (qID, query, options) => invokeFetch("data-credentials", {
16
+ method: "get",
17
+ pathTemplate: "/api/v1/data-credentials/{qID}",
18
+ pathVariables: { qID },
19
+ query,
20
+ options
21
+ });
22
+ var patchDataCredential = async (qID, query, body, options) => invokeFetch("data-credentials", {
23
+ method: "patch",
24
+ pathTemplate: "/api/v1/data-credentials/{qID}",
25
+ pathVariables: { qID },
26
+ query,
27
+ body,
28
+ options
29
+ });
30
+ var updateDataCredential = async (qID, query, body, options) => invokeFetch("data-credentials", {
31
+ method: "put",
32
+ pathTemplate: "/api/v1/data-credentials/{qID}",
33
+ pathVariables: { qID },
34
+ query,
35
+ body,
36
+ options
37
+ });
38
+ function clearCache() {
39
+ return clearApiCache("data-credentials");
40
+ }
41
+ var dataCredentialsExport = {
42
+ deleteDataCredential,
43
+ getDataCredential,
44
+ patchDataCredential,
45
+ updateDataCredential,
46
+ clearCache
47
+ };
48
+ var data_credentials_default = dataCredentialsExport;
49
+ export {
50
+ clearCache,
51
+ data_credentials_default as default,
52
+ deleteDataCredential,
53
+ getDataCredential,
54
+ patchDataCredential,
55
+ updateDataCredential
56
+ };