@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/knowledgebases.js CHANGED
@@ -1,127 +1,161 @@
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/knowledgebases.ts
9
- var getKnowledgebases = async (query, options) => invokeFetch("knowledgebases", {
10
- method: "get",
11
- pathTemplate: "/api/v1/knowledgebases",
12
- query,
13
- options
14
- });
15
- var createKnowledgebase = async (body, options) => invokeFetch("knowledgebases", {
16
- method: "post",
17
- pathTemplate: "/api/v1/knowledgebases",
18
- body,
19
- contentType: "application/json",
20
- options
21
- });
22
- var deleteKnowledgebase = async (id, options) => invokeFetch("knowledgebases", {
23
- method: "delete",
24
- pathTemplate: "/api/v1/knowledgebases/{id}",
25
- pathVariables: { id },
26
- options
27
- });
28
- var getKnowledgebase = async (id, options) => invokeFetch("knowledgebases", {
29
- method: "get",
30
- pathTemplate: "/api/v1/knowledgebases/{id}",
31
- pathVariables: { id },
32
- options
33
- });
34
- var patchKnowledgebase = async (id, body, options) => invokeFetch("knowledgebases", {
35
- method: "patch",
36
- pathTemplate: "/api/v1/knowledgebases/{id}",
37
- pathVariables: { id },
38
- body,
39
- contentType: "application/json",
40
- options
41
- });
42
- var createKnowledgebaseDatasource = async (id, body, options) => invokeFetch("knowledgebases", {
43
- method: "post",
44
- pathTemplate: "/api/v1/knowledgebases/{id}/datasources",
45
- pathVariables: { id },
46
- body,
47
- contentType: "application/json",
48
- options
49
- });
50
- var deleteKnowledgebaseDatasource = async (id, datasourceId, options) => invokeFetch("knowledgebases", {
51
- method: "delete",
52
- pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}",
53
- pathVariables: { id, datasourceId },
54
- options
55
- });
56
- var updateKnowledgebaseDatasource = async (id, datasourceId, body, options) => invokeFetch("knowledgebases", {
57
- method: "put",
58
- pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}",
59
- pathVariables: { id, datasourceId },
60
- body,
61
- contentType: "application/json",
62
- options
63
- });
64
- var cancelKnowledgebaseDatasource = async (id, datasourceId, options) => invokeFetch("knowledgebases", {
65
- method: "post",
66
- pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/actions/cancel",
67
- pathVariables: { id, datasourceId },
68
- options
69
- });
70
- var downloadKnowledgebaseDatasource = async (id, datasourceId, body, options) => invokeFetch("knowledgebases", {
71
- method: "post",
72
- pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/actions/download",
73
- pathVariables: { id, datasourceId },
74
- body,
75
- contentType: "application/json",
76
- options
77
- });
78
- var syncKnowledgebaseDatasource = async (id, datasourceId, query, options) => invokeFetch("knowledgebases", {
79
- method: "post",
80
- pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/actions/sync",
81
- pathVariables: { id, datasourceId },
82
- query,
83
- options
84
- });
85
- var getKnowledgebaseDatasourceHistories = async (id, datasourceId, query, options) => invokeFetch("knowledgebases", {
86
- method: "get",
87
- pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/histories",
88
- pathVariables: { id, datasourceId },
89
- query,
90
- options
91
- });
92
- var getKnowledgebaseDatasourceHistory = async (id, datasourceId, syncId, options) => invokeFetch("knowledgebases", {
93
- method: "get",
94
- pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/histories/{syncId}",
95
- pathVariables: { id, datasourceId, syncId },
96
- options
97
- });
98
- var deleteKnowledgebaseDatasourceSchedule = async (id, datasourceId, options) => invokeFetch("knowledgebases", {
99
- method: "delete",
100
- pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/schedules",
101
- pathVariables: { id, datasourceId },
102
- options
103
- });
104
- var getKnowledgebaseDatasourceSchedule = async (id, datasourceId, options) => invokeFetch("knowledgebases", {
105
- method: "get",
106
- pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/schedules",
107
- pathVariables: { id, datasourceId },
108
- options
109
- });
110
- var createKnowledgebaseDatasourceSchedule = async (id, datasourceId, body, options) => invokeFetch("knowledgebases", {
111
- method: "post",
112
- pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/schedules",
113
- pathVariables: { id, datasourceId },
114
- body,
115
- contentType: "application/json",
116
- options
117
- });
118
- var getKnowledgebaseHistories = async (id, query, options) => invokeFetch("knowledgebases", {
119
- method: "get",
120
- pathTemplate: "/api/v1/knowledgebases/{id}/histories",
121
- pathVariables: { id },
122
- query,
123
- options
124
- });
9
+ async function getKnowledgebases(query, options) {
10
+ return invokeFetch("knowledgebases", {
11
+ method: "get",
12
+ pathTemplate: "/api/v1/knowledgebases",
13
+ query,
14
+ options
15
+ });
16
+ }
17
+ async function createKnowledgebase(body, options) {
18
+ return invokeFetch("knowledgebases", {
19
+ method: "post",
20
+ pathTemplate: "/api/v1/knowledgebases",
21
+ body,
22
+ contentType: "application/json",
23
+ options
24
+ });
25
+ }
26
+ async function deleteKnowledgebase(id, options) {
27
+ return invokeFetch("knowledgebases", {
28
+ method: "delete",
29
+ pathTemplate: "/api/v1/knowledgebases/{id}",
30
+ pathVariables: { id },
31
+ options
32
+ });
33
+ }
34
+ async function getKnowledgebase(id, options) {
35
+ return invokeFetch("knowledgebases", {
36
+ method: "get",
37
+ pathTemplate: "/api/v1/knowledgebases/{id}",
38
+ pathVariables: { id },
39
+ options
40
+ });
41
+ }
42
+ async function patchKnowledgebase(id, body, options) {
43
+ return invokeFetch("knowledgebases", {
44
+ method: "patch",
45
+ pathTemplate: "/api/v1/knowledgebases/{id}",
46
+ pathVariables: { id },
47
+ body,
48
+ contentType: "application/json",
49
+ options
50
+ });
51
+ }
52
+ async function createKnowledgebaseDatasource(id, body, options) {
53
+ return invokeFetch("knowledgebases", {
54
+ method: "post",
55
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources",
56
+ pathVariables: { id },
57
+ body,
58
+ contentType: "application/json",
59
+ options
60
+ });
61
+ }
62
+ async function deleteKnowledgebaseDatasource(id, datasourceId, options) {
63
+ return invokeFetch("knowledgebases", {
64
+ method: "delete",
65
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}",
66
+ pathVariables: { id, datasourceId },
67
+ options
68
+ });
69
+ }
70
+ async function updateKnowledgebaseDatasource(id, datasourceId, body, options) {
71
+ return invokeFetch("knowledgebases", {
72
+ method: "put",
73
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}",
74
+ pathVariables: { id, datasourceId },
75
+ body,
76
+ contentType: "application/json",
77
+ options
78
+ });
79
+ }
80
+ async function cancelKnowledgebaseDatasource(id, datasourceId, options) {
81
+ return invokeFetch("knowledgebases", {
82
+ method: "post",
83
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/actions/cancel",
84
+ pathVariables: { id, datasourceId },
85
+ options
86
+ });
87
+ }
88
+ async function downloadKnowledgebaseDatasource(id, datasourceId, body, options) {
89
+ return invokeFetch("knowledgebases", {
90
+ method: "post",
91
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/actions/download",
92
+ pathVariables: { id, datasourceId },
93
+ body,
94
+ contentType: "application/json",
95
+ options
96
+ });
97
+ }
98
+ async function syncKnowledgebaseDatasource(id, datasourceId, query, options) {
99
+ return invokeFetch("knowledgebases", {
100
+ method: "post",
101
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/actions/sync",
102
+ pathVariables: { id, datasourceId },
103
+ query,
104
+ options
105
+ });
106
+ }
107
+ async function getKnowledgebaseDatasourceHistories(id, datasourceId, query, options) {
108
+ return invokeFetch("knowledgebases", {
109
+ method: "get",
110
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/histories",
111
+ pathVariables: { id, datasourceId },
112
+ query,
113
+ options
114
+ });
115
+ }
116
+ async function getKnowledgebaseDatasourceHistory(id, datasourceId, syncId, options) {
117
+ return invokeFetch("knowledgebases", {
118
+ method: "get",
119
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/histories/{syncId}",
120
+ pathVariables: { id, datasourceId, syncId },
121
+ options
122
+ });
123
+ }
124
+ async function deleteKnowledgebaseDatasourceSchedule(id, datasourceId, options) {
125
+ return invokeFetch("knowledgebases", {
126
+ method: "delete",
127
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/schedules",
128
+ pathVariables: { id, datasourceId },
129
+ options
130
+ });
131
+ }
132
+ async function getKnowledgebaseDatasourceSchedule(id, datasourceId, options) {
133
+ return invokeFetch("knowledgebases", {
134
+ method: "get",
135
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/schedules",
136
+ pathVariables: { id, datasourceId },
137
+ options
138
+ });
139
+ }
140
+ async function createKnowledgebaseDatasourceSchedule(id, datasourceId, body, options) {
141
+ return invokeFetch("knowledgebases", {
142
+ method: "post",
143
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/schedules",
144
+ pathVariables: { id, datasourceId },
145
+ body,
146
+ contentType: "application/json",
147
+ options
148
+ });
149
+ }
150
+ async function getKnowledgebaseHistories(id, query, options) {
151
+ return invokeFetch("knowledgebases", {
152
+ method: "get",
153
+ pathTemplate: "/api/v1/knowledgebases/{id}/histories",
154
+ pathVariables: { id },
155
+ query,
156
+ options
157
+ });
158
+ }
125
159
  function clearCache() {
126
160
  return clearApiCache("knowledgebases");
127
161
  }
package/licenses.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
  /**
5
5
  * @example
@@ -411,7 +411,7 @@ type SettingsBody = {
411
411
  * @param query an object with query parameters
412
412
  * @throws GetLicenseAssignmentsHttpError
413
413
  */
414
- declare const getLicenseAssignments: (query: {
414
+ declare function getLicenseAssignments(query: {
415
415
  /** The filter for finding entries. */
416
416
  filter?: string;
417
417
  /** The preferred number of entries to return. */
@@ -422,7 +422,7 @@ declare const getLicenseAssignments: (query: {
422
422
  page?: string;
423
423
  /** The field to sort on; can be prefixed with +/- for ascending/descending sort order. */
424
424
  sort?: string;
425
- }, options?: ApiCallOptions) => Promise<GetLicenseAssignmentsHttpResponse>;
425
+ }, options?: ApiCallOptions): Promise<GetLicenseAssignmentsHttpResponse>;
426
426
  type GetLicenseAssignmentsHttpResponse = {
427
427
  data: AssignmentsResponse;
428
428
  headers: Headers;
@@ -441,7 +441,7 @@ type GetLicenseAssignmentsHttpError = {
441
441
  * @param body an object with the body content
442
442
  * @throws AddLicenseAssignmentsHttpError
443
443
  */
444
- declare const addLicenseAssignments: (body: AssignmentsActionsAddRequest, options?: ApiCallOptions) => Promise<AddLicenseAssignmentsHttpResponse>;
444
+ declare function addLicenseAssignments(body: AssignmentsActionsAddRequest, options?: ApiCallOptions): Promise<AddLicenseAssignmentsHttpResponse>;
445
445
  type AddLicenseAssignmentsHttpResponse = {
446
446
  data: AssignmentsActionsAddResponse;
447
447
  headers: Headers;
@@ -458,7 +458,7 @@ type AddLicenseAssignmentsHttpError = {
458
458
  * @param body an object with the body content
459
459
  * @throws DeleteLicenseAssignmentsHttpError
460
460
  */
461
- declare const deleteLicenseAssignments: (body: AssignmentsActionsDeleteRequest, options?: ApiCallOptions) => Promise<DeleteLicenseAssignmentsHttpResponse>;
461
+ declare function deleteLicenseAssignments(body: AssignmentsActionsDeleteRequest, options?: ApiCallOptions): Promise<DeleteLicenseAssignmentsHttpResponse>;
462
462
  type DeleteLicenseAssignmentsHttpResponse = {
463
463
  data: AssignmentsActionsDeleteResponse;
464
464
  headers: Headers;
@@ -475,7 +475,7 @@ type DeleteLicenseAssignmentsHttpError = {
475
475
  * @param body an object with the body content
476
476
  * @throws UpdateLicenseAssignmentsHttpError
477
477
  */
478
- declare const updateLicenseAssignments: (body: AssignmentsActionsUpdateRequest, options?: ApiCallOptions) => Promise<UpdateLicenseAssignmentsHttpResponse>;
478
+ declare function updateLicenseAssignments(body: AssignmentsActionsUpdateRequest, options?: ApiCallOptions): Promise<UpdateLicenseAssignmentsHttpResponse>;
479
479
  type UpdateLicenseAssignmentsHttpResponse = {
480
480
  data: AssignmentsActionsUpdateResponse;
481
481
  headers: Headers;
@@ -492,7 +492,7 @@ type UpdateLicenseAssignmentsHttpError = {
492
492
  * @param query an object with query parameters
493
493
  * @throws GetLicenseConsumptionHttpError
494
494
  */
495
- declare const getLicenseConsumption: (query: {
495
+ declare function getLicenseConsumption(query: {
496
496
  /** The SCIM filter for the query. Filterable property is "endTime". */
497
497
  filter?: string;
498
498
  /** The preferred number of entries to return. */
@@ -501,7 +501,7 @@ declare const getLicenseConsumption: (query: {
501
501
  page?: string;
502
502
  /** The field to sort on; can be prefixed with +/- for ascending/descending sort order. */
503
503
  sort?: string;
504
- }, options?: ApiCallOptions) => Promise<GetLicenseConsumptionHttpResponse>;
504
+ }, options?: ApiCallOptions): Promise<GetLicenseConsumptionHttpResponse>;
505
505
  type GetLicenseConsumptionHttpResponse = {
506
506
  data: ConsumptionEventsResponse;
507
507
  headers: Headers;
@@ -519,7 +519,7 @@ type GetLicenseConsumptionHttpError = {
519
519
  *
520
520
  * @throws GetLicenseOverviewHttpError
521
521
  */
522
- declare const getLicenseOverview: (options?: ApiCallOptions) => Promise<GetLicenseOverviewHttpResponse>;
522
+ declare function getLicenseOverview(options?: ApiCallOptions): Promise<GetLicenseOverviewHttpResponse>;
523
523
  type GetLicenseOverviewHttpResponse = {
524
524
  data: LicenseOverview;
525
525
  headers: Headers;
@@ -535,7 +535,7 @@ type GetLicenseOverviewHttpError = {
535
535
  *
536
536
  * @throws GetLicenseSettingsHttpError
537
537
  */
538
- declare const getLicenseSettings: (options?: ApiCallOptions) => Promise<GetLicenseSettingsHttpResponse>;
538
+ declare function getLicenseSettings(options?: ApiCallOptions): Promise<GetLicenseSettingsHttpResponse>;
539
539
  type GetLicenseSettingsHttpResponse = {
540
540
  data: SettingsBody;
541
541
  headers: Headers;
@@ -552,7 +552,7 @@ type GetLicenseSettingsHttpError = {
552
552
  * @param body an object with the body content
553
553
  * @throws UpdateLicenseSettingsHttpError
554
554
  */
555
- declare const updateLicenseSettings: (body: SettingsBody, options?: ApiCallOptions) => Promise<UpdateLicenseSettingsHttpResponse>;
555
+ declare function updateLicenseSettings(body: SettingsBody, options?: ApiCallOptions): Promise<UpdateLicenseSettingsHttpResponse>;
556
556
  type UpdateLicenseSettingsHttpResponse = {
557
557
  data: SettingsBody;
558
558
  headers: Headers;
@@ -568,7 +568,7 @@ type UpdateLicenseSettingsHttpError = {
568
568
  *
569
569
  * @throws GetLicenseStatusHttpError
570
570
  */
571
- declare const getLicenseStatus: (options?: ApiCallOptions) => Promise<GetLicenseStatusHttpResponse>;
571
+ declare function getLicenseStatus(options?: ApiCallOptions): Promise<GetLicenseStatusHttpResponse>;
572
572
  type GetLicenseStatusHttpResponse = {
573
573
  data: LicenseStatus;
574
574
  headers: Headers;
package/licenses.js CHANGED
@@ -1,66 +1,84 @@
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/licenses.ts
9
- var getLicenseAssignments = async (query, options) => invokeFetch("licenses", {
10
- method: "get",
11
- pathTemplate: "/api/v1/licenses/assignments",
12
- query,
13
- options
14
- });
15
- var addLicenseAssignments = async (body, options) => invokeFetch("licenses", {
16
- method: "post",
17
- pathTemplate: "/api/v1/licenses/assignments/actions/add",
18
- body,
19
- contentType: "application/json",
20
- options
21
- });
22
- var deleteLicenseAssignments = async (body, options) => invokeFetch("licenses", {
23
- method: "post",
24
- pathTemplate: "/api/v1/licenses/assignments/actions/delete",
25
- body,
26
- contentType: "application/json",
27
- options
28
- });
29
- var updateLicenseAssignments = async (body, options) => invokeFetch("licenses", {
30
- method: "post",
31
- pathTemplate: "/api/v1/licenses/assignments/actions/update",
32
- body,
33
- contentType: "application/json",
34
- options
35
- });
36
- var getLicenseConsumption = async (query, options) => invokeFetch("licenses", {
37
- method: "get",
38
- pathTemplate: "/api/v1/licenses/consumption",
39
- query,
40
- options
41
- });
42
- var getLicenseOverview = async (options) => invokeFetch("licenses", {
43
- method: "get",
44
- pathTemplate: "/api/v1/licenses/overview",
45
- options
46
- });
47
- var getLicenseSettings = async (options) => invokeFetch("licenses", {
48
- method: "get",
49
- pathTemplate: "/api/v1/licenses/settings",
50
- options
51
- });
52
- var updateLicenseSettings = async (body, options) => invokeFetch("licenses", {
53
- method: "put",
54
- pathTemplate: "/api/v1/licenses/settings",
55
- body,
56
- contentType: "application/json",
57
- options
58
- });
59
- var getLicenseStatus = async (options) => invokeFetch("licenses", {
60
- method: "get",
61
- pathTemplate: "/api/v1/licenses/status",
62
- options
63
- });
9
+ async function getLicenseAssignments(query, options) {
10
+ return invokeFetch("licenses", {
11
+ method: "get",
12
+ pathTemplate: "/api/v1/licenses/assignments",
13
+ query,
14
+ options
15
+ });
16
+ }
17
+ async function addLicenseAssignments(body, options) {
18
+ return invokeFetch("licenses", {
19
+ method: "post",
20
+ pathTemplate: "/api/v1/licenses/assignments/actions/add",
21
+ body,
22
+ contentType: "application/json",
23
+ options
24
+ });
25
+ }
26
+ async function deleteLicenseAssignments(body, options) {
27
+ return invokeFetch("licenses", {
28
+ method: "post",
29
+ pathTemplate: "/api/v1/licenses/assignments/actions/delete",
30
+ body,
31
+ contentType: "application/json",
32
+ options
33
+ });
34
+ }
35
+ async function updateLicenseAssignments(body, options) {
36
+ return invokeFetch("licenses", {
37
+ method: "post",
38
+ pathTemplate: "/api/v1/licenses/assignments/actions/update",
39
+ body,
40
+ contentType: "application/json",
41
+ options
42
+ });
43
+ }
44
+ async function getLicenseConsumption(query, options) {
45
+ return invokeFetch("licenses", {
46
+ method: "get",
47
+ pathTemplate: "/api/v1/licenses/consumption",
48
+ query,
49
+ options
50
+ });
51
+ }
52
+ async function getLicenseOverview(options) {
53
+ return invokeFetch("licenses", {
54
+ method: "get",
55
+ pathTemplate: "/api/v1/licenses/overview",
56
+ options
57
+ });
58
+ }
59
+ async function getLicenseSettings(options) {
60
+ return invokeFetch("licenses", {
61
+ method: "get",
62
+ pathTemplate: "/api/v1/licenses/settings",
63
+ options
64
+ });
65
+ }
66
+ async function updateLicenseSettings(body, options) {
67
+ return invokeFetch("licenses", {
68
+ method: "put",
69
+ pathTemplate: "/api/v1/licenses/settings",
70
+ body,
71
+ contentType: "application/json",
72
+ options
73
+ });
74
+ }
75
+ async function getLicenseStatus(options) {
76
+ return invokeFetch("licenses", {
77
+ method: "get",
78
+ pathTemplate: "/api/v1/licenses/status",
79
+ options
80
+ });
81
+ }
64
82
  function clearCache() {
65
83
  return clearApiCache("licenses");
66
84
  }