@qlik/api 0.0.8 → 0.0.10

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 (157) hide show
  1. package/api-keys.d.mts +10 -1
  2. package/api-keys.d.ts +10 -1
  3. package/api-keys.js +11 -11
  4. package/api-keys.mjs +3 -3
  5. package/apps.d.mts +134 -8
  6. package/apps.d.ts +134 -8
  7. package/apps.js +47 -47
  8. package/apps.mjs +3 -3
  9. package/audits.d.mts +14 -1
  10. package/audits.d.ts +14 -1
  11. package/audits.js +10 -10
  12. package/audits.mjs +3 -3
  13. package/auth.js +4 -4
  14. package/auth.mjs +3 -3
  15. package/automations.d.mts +9 -1
  16. package/automations.d.ts +9 -1
  17. package/automations.js +22 -22
  18. package/automations.mjs +3 -3
  19. package/brands.d.mts +19 -4
  20. package/brands.d.ts +19 -4
  21. package/brands.js +16 -16
  22. package/brands.mjs +3 -3
  23. package/{enigma-session-VSFGLOYW.mjs → chunks/34FMVD4C.mjs} +165 -21
  24. package/{chunk-QTCDGPKS.js → chunks/37PLWNAN.js} +82 -60
  25. package/{chunk-GY2TAYQH.js → chunks/3MHXEHLQ.js} +2 -2
  26. package/{invoke-fetch-X42FV2FS.mjs → chunks/42LZKDDD.mjs} +2 -2
  27. package/{enigma-session-VTHT4O6N.js → chunks/AVQ3WHH7.js} +168 -24
  28. package/{chunk-BRDPNGQ7.js → chunks/FG5GDUSZ.js} +3 -3
  29. package/{chunk-4R2XCEVK.mjs → chunks/FUU5VIC4.mjs} +1 -1
  30. package/{esm-HMY2LVVZ.mjs → chunks/H32EGPZN.mjs} +1 -1
  31. package/{qix-57OF6A7B.mjs → chunks/HFNJ3ERI.mjs} +3 -3
  32. package/{chunk-4MWB2T3C.mjs → chunks/HWZC3PIL.mjs} +1 -1
  33. package/{chunk-RYBRKLOY.js → chunks/ILOY5QEA.js} +4 -4
  34. package/{chunk-YILVC32M.mjs → chunks/KEPPVUY3.mjs} +1 -1
  35. package/{auth-U6QTT3H4.mjs → chunks/MMUU2CQM.mjs} +2 -2
  36. package/{chunk-LLLEO6K6.mjs → chunks/O5POHH2Q.mjs} +3 -3
  37. package/{chunk-EALMXU6S.js → chunks/QMWU5E4D.js} +3 -3
  38. package/chunks/RMNAO4DP.js +17 -0
  39. package/chunks/SUYUL6MB.js +41 -0
  40. package/{chunk-F24SLAYP.mjs → chunks/VMS4MOCI.mjs} +79 -57
  41. package/{qix-QWSMFPQY.js → chunks/WCJ4JQHA.js} +9 -9
  42. package/{esm-PXQUPJYJ.js → chunks/WM2VCN4G.js} +1 -1
  43. package/collections.d.mts +34 -22
  44. package/collections.d.ts +34 -22
  45. package/collections.js +15 -15
  46. package/collections.mjs +3 -3
  47. package/csp-origins.d.mts +1 -1
  48. package/csp-origins.d.ts +1 -1
  49. package/csp-origins.js +10 -10
  50. package/csp-origins.mjs +3 -3
  51. package/data-assets.d.mts +1 -1
  52. package/data-assets.d.ts +1 -1
  53. package/data-assets.js +9 -9
  54. package/data-assets.mjs +3 -3
  55. package/data-connections.d.mts +13 -2
  56. package/data-connections.d.ts +13 -2
  57. package/data-connections.js +13 -13
  58. package/data-connections.mjs +3 -3
  59. package/data-credentials.d.mts +6 -1
  60. package/data-credentials.d.ts +6 -1
  61. package/data-credentials.js +8 -8
  62. package/data-credentials.mjs +3 -3
  63. package/data-files.d.mts +7 -1
  64. package/data-files.d.ts +7 -1
  65. package/data-files.js +16 -16
  66. package/data-files.mjs +3 -3
  67. package/extensions.d.mts +13 -1
  68. package/extensions.d.ts +13 -1
  69. package/extensions.js +11 -11
  70. package/extensions.mjs +3 -3
  71. package/{global.types-4jzAvW7R.d.mts → global.types-5iFvFJvX.d.mts} +5 -1
  72. package/{global.types-1rNhDH7j.d.ts → global.types-TzVhFPid.d.ts} +5 -1
  73. package/glossaries.d.mts +51 -1
  74. package/glossaries.d.ts +51 -1
  75. package/glossaries.js +28 -28
  76. package/glossaries.mjs +3 -3
  77. package/groups.d.mts +40 -1
  78. package/groups.d.ts +40 -1
  79. package/groups.js +12 -12
  80. package/groups.mjs +3 -3
  81. package/identity-providers.d.mts +43 -1
  82. package/identity-providers.d.ts +43 -1
  83. package/identity-providers.js +12 -12
  84. package/identity-providers.mjs +3 -3
  85. package/index.d.mts +1 -1
  86. package/index.d.ts +1 -1
  87. package/index.js +9 -9
  88. package/index.mjs +5 -5
  89. package/items.d.mts +33 -2
  90. package/items.d.ts +33 -2
  91. package/items.js +12 -12
  92. package/items.mjs +3 -3
  93. package/licenses.d.mts +8 -5
  94. package/licenses.d.ts +8 -5
  95. package/licenses.js +13 -13
  96. package/licenses.mjs +3 -3
  97. package/package.json +4 -1
  98. package/qix.d.mts +20 -2
  99. package/qix.d.ts +20 -2
  100. package/qix.js +4 -4
  101. package/qix.mjs +3 -3
  102. package/quotas.d.mts +4 -1
  103. package/quotas.d.ts +4 -1
  104. package/quotas.js +6 -6
  105. package/quotas.mjs +3 -3
  106. package/reload-tasks.d.mts +7 -4
  107. package/reload-tasks.d.ts +7 -4
  108. package/reload-tasks.js +9 -9
  109. package/reload-tasks.mjs +3 -3
  110. package/reloads.d.mts +10 -1
  111. package/reloads.d.ts +10 -1
  112. package/reloads.js +8 -8
  113. package/reloads.mjs +3 -3
  114. package/roles.d.mts +11 -2
  115. package/roles.d.ts +11 -2
  116. package/roles.js +6 -6
  117. package/roles.mjs +3 -3
  118. package/spaces.d.mts +38 -6
  119. package/spaces.d.ts +38 -6
  120. package/spaces.js +16 -16
  121. package/spaces.mjs +3 -3
  122. package/temp-contents.d.mts +7 -1
  123. package/temp-contents.d.ts +7 -1
  124. package/temp-contents.js +7 -7
  125. package/temp-contents.mjs +3 -3
  126. package/tenants.d.mts +18 -6
  127. package/tenants.d.ts +18 -6
  128. package/tenants.js +10 -10
  129. package/tenants.mjs +3 -3
  130. package/themes.d.mts +10 -1
  131. package/themes.d.ts +10 -1
  132. package/themes.js +11 -11
  133. package/themes.mjs +3 -3
  134. package/transports.d.mts +21 -12
  135. package/transports.d.ts +21 -12
  136. package/transports.js +10 -10
  137. package/transports.mjs +3 -3
  138. package/users.d.mts +90 -25
  139. package/users.d.ts +90 -25
  140. package/users.js +14 -14
  141. package/users.mjs +3 -3
  142. package/web-integrations.d.mts +19 -1
  143. package/web-integrations.d.ts +19 -1
  144. package/web-integrations.js +9 -9
  145. package/web-integrations.mjs +3 -3
  146. package/web-notifications.d.mts +19 -1
  147. package/web-notifications.d.ts +19 -1
  148. package/web-notifications.js +10 -10
  149. package/web-notifications.mjs +3 -3
  150. package/webhooks.d.mts +4 -1
  151. package/webhooks.d.ts +4 -1
  152. package/webhooks.js +14 -14
  153. package/webhooks.mjs +3 -3
  154. package/auth-XY6FVSVM.js +0 -41
  155. package/invoke-fetch-FRLO3CK6.js +0 -17
  156. /package/{chunk-P57PW2II.js → chunks/4HB3TAEO.js} +0 -0
  157. /package/{chunk-ZFXKCRJC.mjs → chunks/VSY5YIQY.mjs} +0 -0
@@ -1,6 +1,9 @@
1
- import { A as ApiCallOptions } from './global.types-4jzAvW7R.mjs';
1
+ import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
+ /**
5
+ * An error object describing the error.
6
+ */
4
7
  type Error = {
5
8
  /** The error code. */
6
9
  code: string;
@@ -20,12 +23,18 @@ type Error = {
20
23
  /** Summary of the problem. */
21
24
  title: string;
22
25
  };
26
+ /**
27
+ * The error response object describing the error from the handling of an HTTP request.
28
+ */
23
29
  type Errors = {
24
30
  /** An array of errors related to the operation. */
25
31
  errors?: Error[];
26
32
  /** A unique identifier for tracing the error. */
27
33
  traceId?: string;
28
34
  };
35
+ /**
36
+ * A web integration object.
37
+ */
29
38
  type WebIntegration = {
30
39
  /** The time the web integration was created. */
31
40
  readonly created?: string;
@@ -42,6 +51,9 @@ type WebIntegration = {
42
51
  /** The origins that are allowed to make requests to the tenant. */
43
52
  validOrigins?: string[];
44
53
  };
54
+ /**
55
+ * A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
56
+ */
45
57
  type WebIntegrationPatch = {
46
58
  /** The operation to be performed. */
47
59
  op: "replace";
@@ -51,6 +63,9 @@ type WebIntegrationPatch = {
51
63
  value: string;
52
64
  };
53
65
  type WebIntegrationPatchSchema = WebIntegrationPatch[];
66
+ /**
67
+ * The creation of a web integration response.
68
+ */
54
69
  type WebIntegrationPost = {
55
70
  /** The time the web integration was created. */
56
71
  readonly created?: string;
@@ -81,6 +96,9 @@ type WebIntegrationPostSchema = {
81
96
  /** The origins that are allowed to make requests to the tenant. */
82
97
  validOrigins?: string[];
83
98
  };
99
+ /**
100
+ * An array of web integration objects.
101
+ */
84
102
  type WebIntegrations = {
85
103
  /** Properties of web integrations in a given tenant. */
86
104
  data?: WebIntegration[];
@@ -1,6 +1,9 @@
1
- import { A as ApiCallOptions } from './global.types-1rNhDH7j.js';
1
+ import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
+ /**
5
+ * An error object describing the error.
6
+ */
4
7
  type Error = {
5
8
  /** The error code. */
6
9
  code: string;
@@ -20,12 +23,18 @@ type Error = {
20
23
  /** Summary of the problem. */
21
24
  title: string;
22
25
  };
26
+ /**
27
+ * The error response object describing the error from the handling of an HTTP request.
28
+ */
23
29
  type Errors = {
24
30
  /** An array of errors related to the operation. */
25
31
  errors?: Error[];
26
32
  /** A unique identifier for tracing the error. */
27
33
  traceId?: string;
28
34
  };
35
+ /**
36
+ * A web integration object.
37
+ */
29
38
  type WebIntegration = {
30
39
  /** The time the web integration was created. */
31
40
  readonly created?: string;
@@ -42,6 +51,9 @@ type WebIntegration = {
42
51
  /** The origins that are allowed to make requests to the tenant. */
43
52
  validOrigins?: string[];
44
53
  };
54
+ /**
55
+ * A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
56
+ */
45
57
  type WebIntegrationPatch = {
46
58
  /** The operation to be performed. */
47
59
  op: "replace";
@@ -51,6 +63,9 @@ type WebIntegrationPatch = {
51
63
  value: string;
52
64
  };
53
65
  type WebIntegrationPatchSchema = WebIntegrationPatch[];
66
+ /**
67
+ * The creation of a web integration response.
68
+ */
54
69
  type WebIntegrationPost = {
55
70
  /** The time the web integration was created. */
56
71
  readonly created?: string;
@@ -81,6 +96,9 @@ type WebIntegrationPostSchema = {
81
96
  /** The origins that are allowed to make requests to the tenant. */
82
97
  validOrigins?: string[];
83
98
  };
99
+ /**
100
+ * An array of web integration objects.
101
+ */
84
102
  type WebIntegrations = {
85
103
  /** Properties of web integrations in a given tenant. */
86
104
  data?: WebIntegration[];
@@ -1,37 +1,37 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkEALMXU6Sjs = require('./chunk-EALMXU6S.js');
5
- require('./chunk-BRDPNGQ7.js');
6
- require('./chunk-P57PW2II.js');
4
+ var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
5
+ require('./chunks/FG5GDUSZ.js');
6
+ require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/web-integrations.ts
9
- var getWebIntegrations = async (query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "web-integrations", {
9
+ var getWebIntegrations = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "web-integrations", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/web-integrations",
12
12
  query,
13
13
  options
14
14
  });
15
- var createWebIntegration = async (body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "web-integrations", {
15
+ var createWebIntegration = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "web-integrations", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/web-integrations",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var deleteWebIntegration = async (id, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "web-integrations", {
22
+ var deleteWebIntegration = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "web-integrations", {
23
23
  method: "delete",
24
24
  pathTemplate: "/api/v1/web-integrations/{id}",
25
25
  pathVariables: { id },
26
26
  options
27
27
  });
28
- var getWebIntegration = async (id, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "web-integrations", {
28
+ var getWebIntegration = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "web-integrations", {
29
29
  method: "get",
30
30
  pathTemplate: "/api/v1/web-integrations/{id}",
31
31
  pathVariables: { id },
32
32
  options
33
33
  });
34
- var patchWebIntegration = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "web-integrations", {
34
+ var patchWebIntegration = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "web-integrations", {
35
35
  method: "patch",
36
36
  pathTemplate: "/api/v1/web-integrations/{id}",
37
37
  pathVariables: { id },
@@ -40,7 +40,7 @@ var patchWebIntegration = async (id, body, options) => _chunkEALMXU6Sjs.invokeFe
40
40
  options
41
41
  });
42
42
  function clearCache() {
43
- return _chunkEALMXU6Sjs.clearApiCache.call(void 0, "web-integrations");
43
+ return _QMWU5E4Djs.clearApiCache.call(void 0, "web-integrations");
44
44
  }
45
45
  var webIntegrationsExport = {
46
46
  getWebIntegrations,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-4MWB2T3C.mjs";
5
- import "./chunk-LLLEO6K6.mjs";
6
- import "./chunk-ZFXKCRJC.mjs";
4
+ } from "./chunks/HWZC3PIL.mjs";
5
+ import "./chunks/O5POHH2Q.mjs";
6
+ import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/web-integrations.ts
9
9
  var getWebIntegrations = async (query, options) => invokeFetch("web-integrations", {
@@ -1,6 +1,9 @@
1
- import { A as ApiCallOptions } from './global.types-4jzAvW7R.mjs';
1
+ import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
+ /**
5
+ * An error object.
6
+ */
4
7
  type Error = {
5
8
  /** The error code. */
6
9
  code: string;
@@ -11,9 +14,15 @@ type Error = {
11
14
  /** Summary of the problem. */
12
15
  title: string;
13
16
  };
17
+ /**
18
+ * A representation of the errors encountered from the HTTP request.
19
+ */
14
20
  type Errors = {
15
21
  errors?: Error[];
16
22
  };
23
+ /**
24
+ * Notifications links
25
+ */
17
26
  type Links = {
18
27
  next?: {
19
28
  href?: string;
@@ -25,6 +34,9 @@ type Links = {
25
34
  href?: string;
26
35
  };
27
36
  };
37
+ /**
38
+ * Notifications meta data
39
+ */
28
40
  type Meta = {
29
41
  /** The total number of unread notification. */
30
42
  unreadCount?: number;
@@ -43,6 +55,9 @@ type Notification = {
43
55
  readonly updatedAt: string;
44
56
  readonly userId: string;
45
57
  };
58
+ /**
59
+ * A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
60
+ */
46
61
  type NotificationPatch = {
47
62
  /** The operation to be performed. */
48
63
  op: "replace";
@@ -51,6 +66,9 @@ type NotificationPatch = {
51
66
  /** The value to be used for this operation. */
52
67
  value: string;
53
68
  };
69
+ /**
70
+ * An array of JSON Patch documents
71
+ */
54
72
  type NotificationPatchSchema = NotificationPatch[];
55
73
  type Notifications = {
56
74
  data?: Notification[];
@@ -1,6 +1,9 @@
1
- import { A as ApiCallOptions } from './global.types-1rNhDH7j.js';
1
+ import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
+ /**
5
+ * An error object.
6
+ */
4
7
  type Error = {
5
8
  /** The error code. */
6
9
  code: string;
@@ -11,9 +14,15 @@ type Error = {
11
14
  /** Summary of the problem. */
12
15
  title: string;
13
16
  };
17
+ /**
18
+ * A representation of the errors encountered from the HTTP request.
19
+ */
14
20
  type Errors = {
15
21
  errors?: Error[];
16
22
  };
23
+ /**
24
+ * Notifications links
25
+ */
17
26
  type Links = {
18
27
  next?: {
19
28
  href?: string;
@@ -25,6 +34,9 @@ type Links = {
25
34
  href?: string;
26
35
  };
27
36
  };
37
+ /**
38
+ * Notifications meta data
39
+ */
28
40
  type Meta = {
29
41
  /** The total number of unread notification. */
30
42
  unreadCount?: number;
@@ -43,6 +55,9 @@ type Notification = {
43
55
  readonly updatedAt: string;
44
56
  readonly userId: string;
45
57
  };
58
+ /**
59
+ * A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
60
+ */
46
61
  type NotificationPatch = {
47
62
  /** The operation to be performed. */
48
63
  op: "replace";
@@ -51,6 +66,9 @@ type NotificationPatch = {
51
66
  /** The value to be used for this operation. */
52
67
  value: string;
53
68
  };
69
+ /**
70
+ * An array of JSON Patch documents
71
+ */
54
72
  type NotificationPatchSchema = NotificationPatch[];
55
73
  type Notifications = {
56
74
  data?: Notification[];
@@ -1,42 +1,42 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkEALMXU6Sjs = require('./chunk-EALMXU6S.js');
5
- require('./chunk-BRDPNGQ7.js');
6
- require('./chunk-P57PW2II.js');
4
+ var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
5
+ require('./chunks/FG5GDUSZ.js');
6
+ require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/web-notifications.ts
9
- var getNotifications = async (query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "web-notifications", {
9
+ var getNotifications = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "web-notifications", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/web-notifications",
12
12
  query,
13
13
  options
14
14
  });
15
- var deleteNotifications = async (options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "web-notifications", {
15
+ var deleteNotifications = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "web-notifications", {
16
16
  method: "delete",
17
17
  pathTemplate: "/api/v1/web-notifications/all",
18
18
  options
19
19
  });
20
- var patchNotifications = async (body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "web-notifications", {
20
+ var patchNotifications = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "web-notifications", {
21
21
  method: "patch",
22
22
  pathTemplate: "/api/v1/web-notifications/all",
23
23
  body,
24
24
  contentType: "application/json",
25
25
  options
26
26
  });
27
- var deleteNotification = async (notificationId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "web-notifications", {
27
+ var deleteNotification = async (notificationId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "web-notifications", {
28
28
  method: "delete",
29
29
  pathTemplate: "/api/v1/web-notifications/{notificationId}",
30
30
  pathVariables: { notificationId },
31
31
  options
32
32
  });
33
- var getNotification = async (notificationId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "web-notifications", {
33
+ var getNotification = async (notificationId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "web-notifications", {
34
34
  method: "get",
35
35
  pathTemplate: "/api/v1/web-notifications/{notificationId}",
36
36
  pathVariables: { notificationId },
37
37
  options
38
38
  });
39
- var patchNotification = async (notificationId, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "web-notifications", {
39
+ var patchNotification = async (notificationId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "web-notifications", {
40
40
  method: "patch",
41
41
  pathTemplate: "/api/v1/web-notifications/{notificationId}",
42
42
  pathVariables: { notificationId },
@@ -45,7 +45,7 @@ var patchNotification = async (notificationId, body, options) => _chunkEALMXU6Sj
45
45
  options
46
46
  });
47
47
  function clearCache() {
48
- return _chunkEALMXU6Sjs.clearApiCache.call(void 0, "web-notifications");
48
+ return _QMWU5E4Djs.clearApiCache.call(void 0, "web-notifications");
49
49
  }
50
50
  var webNotificationsExport = {
51
51
  getNotifications,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-4MWB2T3C.mjs";
5
- import "./chunk-LLLEO6K6.mjs";
6
- import "./chunk-ZFXKCRJC.mjs";
4
+ } from "./chunks/HWZC3PIL.mjs";
5
+ import "./chunks/O5POHH2Q.mjs";
6
+ import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/web-notifications.ts
9
9
  var getNotifications = async (query, options) => invokeFetch("web-notifications", {
package/webhooks.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-4jzAvW7R.mjs';
1
+ import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
4
  type Delivery = {
@@ -118,6 +118,9 @@ type WebhookList = {
118
118
  self?: Link;
119
119
  };
120
120
  };
121
+ /**
122
+ * A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902
123
+ */
121
124
  type WebhookPatch = {
122
125
  /** The operation to be performed */
123
126
  op: "add" | "remove" | "replace";
package/webhooks.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-1rNhDH7j.js';
1
+ import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
4
  type Delivery = {
@@ -118,6 +118,9 @@ type WebhookList = {
118
118
  self?: Link;
119
119
  };
120
120
  };
121
+ /**
122
+ * A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902
123
+ */
121
124
  type WebhookPatch = {
122
125
  /** The operation to be performed */
123
126
  op: "add" | "remove" | "replace";
package/webhooks.js CHANGED
@@ -1,42 +1,42 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkEALMXU6Sjs = require('./chunk-EALMXU6S.js');
5
- require('./chunk-BRDPNGQ7.js');
6
- require('./chunk-P57PW2II.js');
4
+ var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
5
+ require('./chunks/FG5GDUSZ.js');
6
+ require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/webhooks.ts
9
- var getWebhooks = async (query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "webhooks", {
9
+ var getWebhooks = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "webhooks", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/webhooks",
12
12
  query,
13
13
  options
14
14
  });
15
- var createWebhook = async (body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "webhooks", {
15
+ var createWebhook = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "webhooks", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/webhooks",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var getWebhookEventTypes = async (options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "webhooks", {
22
+ var getWebhookEventTypes = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "webhooks", {
23
23
  method: "get",
24
24
  pathTemplate: "/api/v1/webhooks/event-types",
25
25
  options
26
26
  });
27
- var deleteWebhook = async (id, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "webhooks", {
27
+ var deleteWebhook = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "webhooks", {
28
28
  method: "delete",
29
29
  pathTemplate: "/api/v1/webhooks/{id}",
30
30
  pathVariables: { id },
31
31
  options
32
32
  });
33
- var getWebhook = async (id, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "webhooks", {
33
+ var getWebhook = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "webhooks", {
34
34
  method: "get",
35
35
  pathTemplate: "/api/v1/webhooks/{id}",
36
36
  pathVariables: { id },
37
37
  options
38
38
  });
39
- var patchWebhook = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "webhooks", {
39
+ var patchWebhook = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "webhooks", {
40
40
  method: "patch",
41
41
  pathTemplate: "/api/v1/webhooks/{id}",
42
42
  pathVariables: { id },
@@ -44,7 +44,7 @@ var patchWebhook = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch.cal
44
44
  contentType: "application/json",
45
45
  options
46
46
  });
47
- var updateWebhook = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "webhooks", {
47
+ var updateWebhook = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "webhooks", {
48
48
  method: "put",
49
49
  pathTemplate: "/api/v1/webhooks/{id}",
50
50
  pathVariables: { id },
@@ -52,27 +52,27 @@ var updateWebhook = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch.ca
52
52
  contentType: "application/json",
53
53
  options
54
54
  });
55
- var getWebhookDeliveries = async (id, query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "webhooks", {
55
+ var getWebhookDeliveries = async (id, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "webhooks", {
56
56
  method: "get",
57
57
  pathTemplate: "/api/v1/webhooks/{id}/deliveries",
58
58
  pathVariables: { id },
59
59
  query,
60
60
  options
61
61
  });
62
- var getWebhookDelivery = async (id, deliveryId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "webhooks", {
62
+ var getWebhookDelivery = async (id, deliveryId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "webhooks", {
63
63
  method: "get",
64
64
  pathTemplate: "/api/v1/webhooks/{id}/deliveries/{deliveryId}",
65
65
  pathVariables: { id, deliveryId },
66
66
  options
67
67
  });
68
- var resendWebhookDelivery = async (id, deliveryId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "webhooks", {
68
+ var resendWebhookDelivery = async (id, deliveryId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "webhooks", {
69
69
  method: "post",
70
70
  pathTemplate: "/api/v1/webhooks/{id}/deliveries/{deliveryId}/actions/resend",
71
71
  pathVariables: { id, deliveryId },
72
72
  options
73
73
  });
74
74
  function clearCache() {
75
- return _chunkEALMXU6Sjs.clearApiCache.call(void 0, "webhooks");
75
+ return _QMWU5E4Djs.clearApiCache.call(void 0, "webhooks");
76
76
  }
77
77
  var webhooksExport = {
78
78
  getWebhooks,
package/webhooks.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-4MWB2T3C.mjs";
5
- import "./chunk-LLLEO6K6.mjs";
6
- import "./chunk-ZFXKCRJC.mjs";
4
+ } from "./chunks/HWZC3PIL.mjs";
5
+ import "./chunks/O5POHH2Q.mjs";
6
+ import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/webhooks.ts
9
9
  var getWebhooks = async (query, options) => invokeFetch("webhooks", {
package/auth-XY6FVSVM.js DELETED
@@ -1,41 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
- var _chunkQTCDGPKSjs = require('./chunk-QTCDGPKS.js');
21
- require('./chunk-P57PW2II.js');
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
-
41
- exports.AuthorizationError = _chunkQTCDGPKSjs.AuthorizationError; exports.InvalidAuthTypeError = _chunkQTCDGPKSjs.InvalidAuthTypeError; exports.InvalidHostConfigError = _chunkQTCDGPKSjs.InvalidHostConfigError; exports.UnexpectedAuthTypeError = _chunkQTCDGPKSjs.UnexpectedAuthTypeError; exports.checkForCrossDomainRequest = _chunkQTCDGPKSjs.checkForCrossDomainRequest; exports.default = _chunkQTCDGPKSjs.auth_default; exports.getRestCallAuthParams = _chunkQTCDGPKSjs.getRestCallAuthParams; exports.getWebResourceAuthParams = _chunkQTCDGPKSjs.getWebResourceAuthParams; exports.getWebSocketAuthParams = _chunkQTCDGPKSjs.getWebSocketAuthParams; exports.handleAuthenticationError = _chunkQTCDGPKSjs.handleAuthenticationError; exports.isHostCrossOrigin = _chunkQTCDGPKSjs.isHostCrossOrigin; exports.isWindows = _chunkQTCDGPKSjs.isWindows; exports.logout = _chunkQTCDGPKSjs.logout; exports.registerAuthModule = _chunkQTCDGPKSjs.registerAuthModule; exports.setDefaultHostConfig = _chunkQTCDGPKSjs.setDefaultHostConfig; exports.toValidEnigmaLocationUrl = _chunkQTCDGPKSjs.toValidEnigmaLocationUrl; exports.toValidLocationUrl = _chunkQTCDGPKSjs.toValidLocationUrl; exports.toValidWebsocketLocationUrl = _chunkQTCDGPKSjs.toValidWebsocketLocationUrl;
@@ -1,17 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
-
7
-
8
- var _chunkQTCDGPKSjs = require('./chunk-QTCDGPKS.js');
9
- require('./chunk-P57PW2II.js');
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
- exports.EncodingError = _chunkQTCDGPKSjs.EncodingError; exports.InvokeFetchError = _chunkQTCDGPKSjs.InvokeFetchError; exports.clearApiCache = _chunkQTCDGPKSjs.clearApiCache; exports.default = _chunkQTCDGPKSjs.invoke_fetch_default; exports.invokeFetch = _chunkQTCDGPKSjs.invokeFetch; exports.parseFetchResponse = _chunkQTCDGPKSjs.parseFetchResponse;
File without changes
File without changes