@qlik/api 1.35.0 → 1.36.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 (143) hide show
  1. package/api-keys.d.ts +1 -2
  2. package/api-keys.js +2 -2
  3. package/apps.d.ts +1 -2
  4. package/apps.js +2 -2
  5. package/assistants.d.ts +1 -2
  6. package/assistants.js +2 -2
  7. package/audits.d.ts +1 -2
  8. package/audits.js +2 -2
  9. package/auth-types.d.ts +1 -0
  10. package/auth-types.js +8 -0
  11. package/auth.d.ts +2 -2
  12. package/auth.js +2 -2
  13. package/automation-connections.d.ts +1 -2
  14. package/automation-connections.js +2 -2
  15. package/automations.d.ts +14 -4
  16. package/automations.js +2 -2
  17. package/automl-deployments.d.ts +1 -2
  18. package/automl-deployments.js +2 -2
  19. package/automl-predictions.d.ts +1 -2
  20. package/automl-predictions.js +2 -2
  21. package/brands.d.ts +1 -2
  22. package/brands.js +2 -2
  23. package/chunks/{M7AINAXZ.js → 3DG4PXND.js} +2 -1
  24. package/chunks/3Z3VFAGW.js +22 -0
  25. package/chunks/{4V6T7Y4L.js → 42FGFHJE.js} +2 -1
  26. package/chunks/{EEE42MLS.js → 43V24OWH.js} +2 -1
  27. package/chunks/{I2HA7WJB.js → ABAVW76G.js} +4 -18
  28. package/chunks/{VUYZKBT5.js → DXVNOFWU.js} +4 -3
  29. package/chunks/{X2OO4MFX.js → JQBBQWLH.js} +1 -1
  30. package/chunks/{GZ7FHV5J.js → L5QSVLDQ.js} +3 -3
  31. package/chunks/{BEREWEFO.js → NPB36P3M.js} +2 -2
  32. package/chunks/{IF5BLC7L.js → SOQJR5Y3.js} +1 -1
  33. package/collections.d.ts +1 -2
  34. package/collections.js +2 -2
  35. package/conditions.d.ts +1 -2
  36. package/conditions.js +2 -2
  37. package/consumption.d.ts +1 -2
  38. package/consumption.js +2 -2
  39. package/csp-origins.d.ts +1 -2
  40. package/csp-origins.js +2 -2
  41. package/csrf-token.d.ts +1 -2
  42. package/csrf-token.js +2 -2
  43. package/data-alerts.d.ts +1 -2
  44. package/data-alerts.js +2 -2
  45. package/data-assets.d.ts +1 -2
  46. package/data-assets.js +2 -2
  47. package/data-connections.d.ts +1 -2
  48. package/data-connections.js +2 -2
  49. package/data-credentials.d.ts +1 -2
  50. package/data-credentials.js +2 -2
  51. package/data-files.d.ts +1 -2
  52. package/data-files.js +2 -2
  53. package/data-qualities.d.ts +1 -2
  54. package/data-qualities.js +2 -2
  55. package/data-sets.d.ts +1 -2
  56. package/data-sets.js +2 -2
  57. package/data-sources.d.ts +1 -2
  58. package/data-sources.js +2 -2
  59. package/data-stores.d.ts +1 -2
  60. package/data-stores.js +2 -2
  61. package/dcaas.d.ts +1 -2
  62. package/dcaas.js +2 -2
  63. package/di-projects.d.ts +1 -2
  64. package/di-projects.js +2 -2
  65. package/direct-access-agents.d.ts +1 -2
  66. package/direct-access-agents.js +2 -2
  67. package/encryption.d.ts +1 -2
  68. package/encryption.js +2 -2
  69. package/extensions.d.ts +1 -2
  70. package/extensions.js +2 -2
  71. package/glossaries.d.ts +1 -2
  72. package/glossaries.js +2 -2
  73. package/groups.d.ts +1 -2
  74. package/groups.js +2 -2
  75. package/identity-providers.d.ts +1 -2
  76. package/identity-providers.js +2 -2
  77. package/index.d.ts +1 -2
  78. package/index.js +4 -4
  79. package/interceptors.d.ts +1 -2
  80. package/invoke-fetch-types-D62-HKKp.d.ts +374 -0
  81. package/invoke-fetch-types.d.ts +1 -0
  82. package/invoke-fetch-types.js +5 -0
  83. package/items.d.ts +1 -2
  84. package/items.js +2 -2
  85. package/knowledgebases.d.ts +1 -2
  86. package/knowledgebases.js +2 -2
  87. package/licenses.d.ts +1 -2
  88. package/licenses.js +2 -2
  89. package/lineage-graphs.d.ts +1 -2
  90. package/lineage-graphs.js +2 -2
  91. package/ml.d.ts +1 -2
  92. package/ml.js +2 -2
  93. package/notes.d.ts +1 -2
  94. package/notes.js +2 -2
  95. package/notifications.d.ts +1 -2
  96. package/notifications.js +2 -2
  97. package/oauth-clients.d.ts +1 -2
  98. package/oauth-clients.js +2 -2
  99. package/oauth-tokens.d.ts +1 -2
  100. package/oauth-tokens.js +2 -2
  101. package/package.json +1 -1
  102. package/qix.d.ts +5 -3
  103. package/qix.js +2 -2
  104. package/questions.d.ts +1 -2
  105. package/questions.js +2 -2
  106. package/quotas.d.ts +1 -2
  107. package/quotas.js +2 -2
  108. package/reload-tasks.d.ts +1 -2
  109. package/reload-tasks.js +2 -2
  110. package/reloads.d.ts +1 -2
  111. package/reloads.js +2 -2
  112. package/report-templates.d.ts +1 -2
  113. package/report-templates.js +2 -2
  114. package/reports.d.ts +1 -2
  115. package/reports.js +2 -2
  116. package/roles.d.ts +1 -2
  117. package/roles.js +2 -2
  118. package/sharing-tasks.d.ts +1 -2
  119. package/sharing-tasks.js +2 -2
  120. package/spaces.d.ts +1 -2
  121. package/spaces.js +2 -2
  122. package/tasks.d.ts +1 -2
  123. package/tasks.js +2 -2
  124. package/temp-contents.d.ts +1 -2
  125. package/temp-contents.js +2 -2
  126. package/tenants.d.ts +1 -2
  127. package/tenants.js +2 -2
  128. package/themes.d.ts +1 -2
  129. package/themes.js +2 -2
  130. package/transports.d.ts +1 -2
  131. package/transports.js +2 -2
  132. package/ui-config.d.ts +1 -2
  133. package/ui-config.js +2 -2
  134. package/users.d.ts +1 -2
  135. package/users.js +2 -2
  136. package/web-integrations.d.ts +1 -2
  137. package/web-integrations.js +2 -2
  138. package/web-notifications.d.ts +1 -2
  139. package/web-notifications.js +2 -2
  140. package/webhooks.d.ts +1 -2
  141. package/webhooks.js +2 -2
  142. package/auth-types-Cj5bM3Yk.d.ts +0 -127
  143. package/invoke-fetch-types-BYCD4pc9.d.ts +0 -98
@@ -1,98 +0,0 @@
1
- import { H as HostConfig } from './auth-types-Cj5bM3Yk.js';
2
-
3
- /** The typical base return type of a fetch call */
4
- type InvokeFetchResponse = {
5
- status: number;
6
- headers: Headers;
7
- data: unknown;
8
- prev?: () => Promise<InvokeFetchResponse>;
9
- next?: () => Promise<InvokeFetchResponse>;
10
- };
11
- /** Additional options for an api call done with invoke-fetch */
12
- type ApiCallOptions = {
13
- /** Additional headers to pass on to the request. */
14
- headers?: Record<string, string>;
15
- /** if set to true the call will not use a cached result */
16
- noCache?: boolean;
17
- /**
18
- * Only used cached results whose age in milliseconds are less than that or equal to `maxCacheAge`.
19
- */
20
- maxCacheAge?: number | undefined;
21
- /**
22
- * Only results cached on or after the `ifCachedSince` timestamp are used.
23
- */
24
- useCacheIfAfter?: Date;
25
- /**
26
- * Specify the host configif the api call is a cross-domain request. Typically used in embedding and mashups
27
- */
28
- hostConfig?: HostConfig;
29
- /**
30
- * Set the amount of time to wait for a response.
31
- * If the timeout is exceeded the request is aborted.
32
- * If both timeoutMs and signal is present, timeoutMs will have no effect, as
33
- * there is already an abort-signal specified.
34
- */
35
- timeoutMs?: number;
36
- /**
37
- * An abort-signal lets you abort an ongoing fetch request. The abort-signal is created
38
- * by taking the .signal property of an AbortController.
39
- */
40
- signal?: AbortSignal;
41
- /**
42
- * Ensure that the request is kept alive even if the page that initiated it is unloaded
43
- * before the request is completed.
44
- */
45
- keepalive?: boolean;
46
- /**
47
- * Options for progress-reporting. Specify any combination of the callbacks `onUpload`
48
- * and `onDownload`. Progress will be reported continuously.
49
- */
50
- progress?: ProgressOptions;
51
- };
52
- type InvokeFetchProperties = {
53
- /** http method */
54
- method: string;
55
- /** data passed to api call */
56
- body?: unknown;
57
- /** additional api call options */
58
- options?: ApiCallOptions;
59
- /** override default RequestInit options */
60
- requestInitOverrides?: RequestInit;
61
- /** path to api endpoint, can be in a template format e.g. /api/v1/space/{spaceId} */
62
- pathTemplate: string;
63
- /** path variables to be used in the path template */
64
- pathVariables?: Record<string, string>;
65
- /** additional query to url */
66
- query?: Record<string, unknown>;
67
- /** specify what content-type to send, if omitted "application/json" is assumed */
68
- contentType?: string;
69
- /** override the default user-agent with this value. This will also override any browser's UA. */
70
- userAgent?: string;
71
- };
72
- type DownloadableBlob = Blob & {
73
- /** download the blob in a using the specified filename */
74
- download: (filename: string) => Promise<void>;
75
- };
76
- /** The callback options for reporting progress. */
77
- type ProgressOptions = {
78
- /** upload callback, called repeatedly when upload-progress is available */
79
- onUpload?: (event: PartialProgressEvent) => void;
80
- /** download callback, called repeatedly when upload-progress is available */
81
- onDownload?: (event: PartialProgressEvent) => void;
82
- };
83
- /** Represents the current upload or download progress a API-call.
84
- *
85
- * It contains the number of loaded bytes and, if computable, the total payload size.
86
- * If the total size cannot be determined, `total` will be undefined.
87
- *
88
- *
89
- * See MDN: {@link https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent}
90
- */
91
- type PartialProgressEvent = {
92
- /** Number of bytes currently loaded. */
93
- loaded: ProgressEvent["loaded"];
94
- /** The total size of the payload, if computable. */
95
- total?: ProgressEvent["total"];
96
- };
97
-
98
- export type { ApiCallOptions as A, DownloadableBlob as D, InvokeFetchResponse as I, InvokeFetchProperties as a };