hcloud-sdk 18.0.0 → 19.1.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 (230) hide show
  1. package/changelog.md +17 -184
  2. package/lib/Hcloud.d.ts +18 -3
  3. package/lib/Hcloud.js +113 -21
  4. package/lib/helper/ErrorHelper.js +5 -2
  5. package/lib/helper/ValidationHelper.d.ts +6 -4
  6. package/lib/helper/ValidationHelper.js +30 -18
  7. package/lib/interfaces/agent/index.d.ts +1 -0
  8. package/lib/interfaces/agent/logging/cloudwatch.d.ts +23 -0
  9. package/lib/interfaces/agent/logging/index.d.ts +2 -0
  10. package/lib/interfaces/{fuse → agent/logging}/index.js +2 -3
  11. package/lib/interfaces/agent/logging/log-collector.d.ts +35 -0
  12. package/lib/interfaces/agent/logging/log-collector.js +2 -0
  13. package/lib/interfaces/agent/module/index.d.ts +7 -0
  14. package/lib/interfaces/agent/module/index.js +2 -0
  15. package/lib/interfaces/auditor/index.d.ts +0 -1
  16. package/lib/interfaces/auditor/index.js +0 -1
  17. package/lib/interfaces/axios/index.d.ts +5 -0
  18. package/lib/interfaces/cosmo/asset/index.d.ts +45 -9
  19. package/lib/interfaces/cosmo/asset/index.js +9 -1
  20. package/lib/interfaces/cosmo/comment/index.d.ts +18 -1
  21. package/lib/interfaces/cosmo/comment/index.js +13 -1
  22. package/lib/interfaces/cosmo/event/index.d.ts +34 -5
  23. package/lib/interfaces/cosmo/event/index.js +16 -2
  24. package/lib/interfaces/cosmo/share/index.d.ts +100 -8
  25. package/lib/interfaces/cosmo/share/index.js +21 -0
  26. package/lib/interfaces/cosmo/space/index.d.ts +6 -0
  27. package/lib/interfaces/cosmo/stats/index.d.ts +11 -0
  28. package/lib/interfaces/cosmo/stats/index.js +2 -0
  29. package/lib/interfaces/cosmo/tag/tag.d.ts +3 -1
  30. package/lib/interfaces/global/Products.d.ts +0 -1
  31. package/lib/interfaces/global/Products.js +0 -1
  32. package/lib/interfaces/global/Views.d.ts +0 -1
  33. package/lib/interfaces/global/Views.js +0 -1
  34. package/lib/interfaces/high5/space/event/stream/design/StreamDesign.d.ts +1 -0
  35. package/lib/interfaces/high5/space/event/stream/node/index.d.ts +1 -0
  36. package/lib/interfaces/high5/space/execution/index.d.ts +5 -1
  37. package/lib/interfaces/high5/space/job/JobLog.d.ts +10 -6
  38. package/lib/interfaces/high5/space/job/index.d.ts +65 -20
  39. package/lib/interfaces/high5/space/job/index.js +9 -6
  40. package/lib/interfaces/high5/wave/dependentInputs.d.ts +42 -0
  41. package/lib/interfaces/high5/wave/dependentInputs.js +144 -0
  42. package/lib/interfaces/high5/wave/dependentInputsValidation.d.ts +22 -0
  43. package/lib/interfaces/high5/wave/dependentInputsValidation.js +220 -0
  44. package/lib/interfaces/high5/wave/index.d.ts +9 -0
  45. package/lib/interfaces/high5/wave/index.js +4 -0
  46. package/lib/interfaces/idp/index.d.ts +3 -3
  47. package/lib/interfaces/idp/index.js +3 -3
  48. package/lib/interfaces/idp/oauth/device.d.ts +18 -0
  49. package/lib/interfaces/idp/oauth/device.js +2 -0
  50. package/lib/interfaces/idp/oauth/index.d.ts +17 -4
  51. package/lib/interfaces/idp/organization/index.d.ts +1 -0
  52. package/lib/interfaces/idp/organization/index.js +1 -0
  53. package/lib/interfaces/idp/organization/settings/oauthApp/index.d.ts +4 -0
  54. package/lib/interfaces/idp/user/Message.d.ts +1 -0
  55. package/lib/interfaces/idp/user/Scopes.d.ts +1 -9
  56. package/lib/interfaces/idp/user/Scopes.js +0 -12
  57. package/lib/interfaces/idp/user/index.d.ts +3 -0
  58. package/lib/interfaces/mailer/index.d.ts +20 -1
  59. package/lib/interfaces/mailer/index.js +14 -2
  60. package/lib/interfaces/nats/index.d.ts +30 -32
  61. package/lib/interfaces/nats/index.js +103 -117
  62. package/lib/interfaces/shorts/index.d.ts +7 -0
  63. package/lib/interfaces/shorts/index.js +6 -0
  64. package/lib/service/agent/bundle/dev/index.js +4 -1
  65. package/lib/service/agent/bundle/index.js +4 -1
  66. package/lib/service/agent/context/index.js +4 -1
  67. package/lib/service/agent/index.d.ts +6 -0
  68. package/lib/service/agent/index.js +18 -1
  69. package/lib/service/agent/installer/index.js +4 -1
  70. package/lib/service/agent/logging/index.d.ts +69 -0
  71. package/lib/service/agent/logging/index.js +117 -0
  72. package/lib/service/agent/module/index.d.ts +36 -0
  73. package/lib/service/agent/module/index.js +65 -0
  74. package/lib/service/auditor/index.js +4 -1
  75. package/lib/service/auditor/internal/index.js +4 -1
  76. package/lib/service/bouncer/features/index.js +4 -1
  77. package/lib/service/bouncer/index.js +5 -2
  78. package/lib/service/cosmo/asset/index.d.ts +49 -3
  79. package/lib/service/cosmo/asset/index.js +111 -5
  80. package/lib/service/cosmo/comment/index.d.ts +10 -37
  81. package/lib/service/cosmo/comment/index.js +20 -43
  82. package/lib/service/cosmo/event/index.js +4 -1
  83. package/lib/service/cosmo/folder/index.js +4 -1
  84. package/lib/service/cosmo/index.d.ts +3 -0
  85. package/lib/service/cosmo/index.js +11 -1
  86. package/lib/service/cosmo/internal/index.js +4 -1
  87. package/lib/service/cosmo/internal/space/index.js +4 -1
  88. package/lib/service/cosmo/location/index.js +4 -1
  89. package/lib/service/cosmo/namespace/index.d.ts +15 -1
  90. package/lib/service/cosmo/namespace/index.js +21 -1
  91. package/lib/service/cosmo/organization/index.js +4 -1
  92. package/lib/service/cosmo/permissions/index.js +4 -1
  93. package/lib/service/cosmo/production/index.js +4 -1
  94. package/lib/service/cosmo/share/index.d.ts +55 -29
  95. package/lib/service/cosmo/share/index.js +71 -35
  96. package/lib/service/cosmo/space/index.d.ts +28 -1
  97. package/lib/service/cosmo/space/index.js +45 -1
  98. package/lib/service/cosmo/stats/index.d.ts +35 -0
  99. package/lib/service/cosmo/stats/index.js +58 -0
  100. package/lib/service/cosmo/tag/index.d.ts +13 -0
  101. package/lib/service/cosmo/tag/index.js +22 -1
  102. package/lib/service/dali/DaliAvatar.d.ts +0 -6
  103. package/lib/service/dali/DaliAvatar.js +4 -11
  104. package/lib/service/dali/avatar/DaliCosmoSpace.js +4 -1
  105. package/lib/service/dali/avatar/DaliHigh5Pool.d.ts +2 -1
  106. package/lib/service/dali/avatar/DaliHigh5Pool.js +5 -2
  107. package/lib/service/dali/avatar/DaliHigh5Space.d.ts +2 -1
  108. package/lib/service/dali/avatar/DaliHigh5Space.js +5 -2
  109. package/lib/service/dali/avatar/DaliOAuthApp.d.ts +2 -1
  110. package/lib/service/dali/avatar/DaliOAuthApp.js +5 -2
  111. package/lib/service/dali/avatar/DaliOrganization.d.ts +2 -1
  112. package/lib/service/dali/avatar/DaliOrganization.js +5 -2
  113. package/lib/service/dali/avatar/DaliServiceAccount.d.ts +1 -1
  114. package/lib/service/dali/avatar/DaliServiceAccount.js +6 -3
  115. package/lib/service/dali/avatar/DaliTeam.d.ts +2 -1
  116. package/lib/service/dali/avatar/DaliTeam.js +5 -2
  117. package/lib/service/dali/avatar/DaliUser.d.ts +2 -1
  118. package/lib/service/dali/avatar/DaliUser.js +5 -2
  119. package/lib/service/dali/index.js +4 -1
  120. package/lib/service/high5/execution/index.js +4 -1
  121. package/lib/service/high5/execution/log/index.js +4 -1
  122. package/lib/service/high5/execution/status/index.js +4 -1
  123. package/lib/service/high5/index.js +4 -1
  124. package/lib/service/high5/internal/index.js +4 -1
  125. package/lib/service/high5/internal/space/index.js +4 -1
  126. package/lib/service/high5/internal/space/job/index.js +4 -1
  127. package/lib/service/high5/internal/space/job/log/index.js +4 -1
  128. package/lib/service/high5/joinToken/index.js +4 -1
  129. package/lib/service/high5/space/database/document/array/index.js +4 -1
  130. package/lib/service/high5/space/database/document/index.js +4 -1
  131. package/lib/service/high5/space/database/document/number/index.js +4 -1
  132. package/lib/service/high5/space/database/index.js +4 -1
  133. package/lib/service/high5/space/event/index.js +4 -1
  134. package/lib/service/high5/space/event/stream/design/DesignOperations.js +4 -1
  135. package/lib/service/high5/space/event/stream/design/index.js +6 -3
  136. package/lib/service/high5/space/event/stream/design/snapshot/index.js +4 -1
  137. package/lib/service/high5/space/event/stream/index.js +4 -1
  138. package/lib/service/high5/space/execution/index.d.ts +2 -1
  139. package/lib/service/high5/space/execution/index.js +7 -3
  140. package/lib/service/high5/space/execution/log/index.js +4 -1
  141. package/lib/service/high5/space/execution/status/index.js +4 -1
  142. package/lib/service/high5/space/index.d.ts +10 -0
  143. package/lib/service/high5/space/index.js +25 -5
  144. package/lib/service/high5/space/job/index.js +4 -1
  145. package/lib/service/high5/space/job/log/index.js +4 -1
  146. package/lib/service/high5/space/node/index.js +4 -1
  147. package/lib/service/high5/space/pool/index.d.ts +11 -0
  148. package/lib/service/high5/space/pool/index.js +22 -1
  149. package/lib/service/high5/space/secret/index.js +4 -1
  150. package/lib/service/high5/space/stat/index.js +4 -1
  151. package/lib/service/high5/space/wave/index.js +4 -1
  152. package/lib/service/high5/space/webhook/index.js +4 -1
  153. package/lib/service/high5/space/webhook/log/index.js +4 -1
  154. package/lib/service/high5/stat/index.js +4 -1
  155. package/lib/service/high5/wave/index.js +4 -1
  156. package/lib/service/high5/wave/s3/index.js +5 -2
  157. package/lib/service/idp/guest/index.js +4 -1
  158. package/lib/service/idp/index.js +4 -1
  159. package/lib/service/idp/internal/index.js +4 -1
  160. package/lib/service/idp/oauth/device.d.ts +131 -0
  161. package/lib/service/idp/oauth/device.js +177 -0
  162. package/lib/service/idp/oauth/index.d.ts +3 -0
  163. package/lib/service/idp/oauth/index.js +11 -1
  164. package/lib/service/idp/organization/index.d.ts +9 -0
  165. package/lib/service/idp/organization/index.js +22 -3
  166. package/lib/service/idp/organization/license/index.js +4 -1
  167. package/lib/service/idp/organization/member/index.js +5 -2
  168. package/lib/service/idp/organization/member/invitations/index.d.ts +19 -0
  169. package/lib/service/idp/organization/member/invitations/index.js +23 -1
  170. package/lib/service/idp/organization/service-accounts/index.d.ts +11 -1
  171. package/lib/service/idp/organization/service-accounts/index.js +22 -2
  172. package/lib/service/idp/organization/settings/domain/index.js +4 -1
  173. package/lib/service/idp/organization/settings/domain/saml/index.js +4 -1
  174. package/lib/service/idp/organization/settings/index.js +4 -1
  175. package/lib/service/idp/organization/settings/oauth/index.d.ts +10 -0
  176. package/lib/service/idp/organization/settings/oauth/index.js +21 -1
  177. package/lib/service/idp/organization/stat/index.js +4 -1
  178. package/lib/service/idp/organization/team/index.d.ts +10 -0
  179. package/lib/service/idp/organization/team/index.js +21 -1
  180. package/lib/service/idp/registration/index.js +4 -1
  181. package/lib/service/idp/user/index.d.ts +8 -0
  182. package/lib/service/idp/user/index.js +20 -3
  183. package/lib/service/idp/user/license/index.js +4 -1
  184. package/lib/service/idp/user/message/index.d.ts +1 -0
  185. package/lib/service/idp/user/message/index.js +4 -1
  186. package/lib/service/idp/user/password/index.js +4 -1
  187. package/lib/service/idp/user/settings/connections/index.js +4 -1
  188. package/lib/service/idp/user/settings/general/index.js +4 -1
  189. package/lib/service/idp/user/settings/index.js +4 -1
  190. package/lib/service/idp/user/settings/notifications/index.js +4 -1
  191. package/lib/service/idp/user/settings/oauthApps/index.js +4 -1
  192. package/lib/service/idp/user/settings/pats/index.js +4 -1
  193. package/lib/service/idp/user/settings/twoFactor/index.js +4 -1
  194. package/lib/service/idp/user/settings/twoFactor/totp/index.js +4 -1
  195. package/lib/service/mailer/index.js +5 -2
  196. package/lib/service/mailer/internal/index.d.ts +2 -2
  197. package/lib/service/mailer/internal/index.js +5 -2
  198. package/lib/service/mothership/index.js +4 -1
  199. package/lib/service/nats/index.d.ts +7 -0
  200. package/lib/service/nats/index.js +19 -1
  201. package/lib/service/shorts/index.js +4 -1
  202. package/lib/service/shorts/internal/index.d.ts +6 -3
  203. package/lib/service/shorts/internal/index.js +20 -6
  204. package/lib/utils/bouncer/features/Provider.js +0 -1
  205. package/package.json +2 -2
  206. package/lib/interfaces/fuse/index.d.ts +0 -3
  207. package/lib/interfaces/fuse/space/cronjob/Cronjob.d.ts +0 -38
  208. package/lib/interfaces/fuse/space/cronjob/Cronjob.js +0 -8
  209. package/lib/interfaces/fuse/space/cronjob/CronjobLog.d.ts +0 -16
  210. package/lib/interfaces/fuse/space/index.d.ts +0 -22
  211. package/lib/interfaces/fuse/space/index.js +0 -11
  212. package/lib/service/dali/avatar/DaliFuseSpace.d.ts +0 -32
  213. package/lib/service/dali/avatar/DaliFuseSpace.js +0 -59
  214. package/lib/service/fuse/index.d.ts +0 -20
  215. package/lib/service/fuse/index.js +0 -48
  216. package/lib/service/fuse/internal/index.d.ts +0 -10
  217. package/lib/service/fuse/internal/index.js +0 -32
  218. package/lib/service/fuse/internal/space/cronjob/index.d.ts +0 -7
  219. package/lib/service/fuse/internal/space/cronjob/index.js +0 -17
  220. package/lib/service/fuse/internal/space/cronjob/log/index.d.ts +0 -17
  221. package/lib/service/fuse/internal/space/cronjob/log/index.js +0 -34
  222. package/lib/service/fuse/internal/space/index.d.ts +0 -26
  223. package/lib/service/fuse/internal/space/index.js +0 -51
  224. package/lib/service/fuse/space/cronjob/index.d.ts +0 -145
  225. package/lib/service/fuse/space/cronjob/index.js +0 -201
  226. package/lib/service/fuse/space/cronjob/log/index.d.ts +0 -35
  227. package/lib/service/fuse/space/cronjob/log/index.js +0 -58
  228. package/lib/service/fuse/space/index.d.ts +0 -97
  229. package/lib/service/fuse/space/index.js +0 -153
  230. /package/lib/interfaces/{fuse/space/cronjob/CronjobLog.js → agent/logging/cloudwatch.js} +0 -0
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.CosmoStats = void 0;
16
+ const Base_1 = __importDefault(require("../../../Base"));
17
+ /**
18
+ * @class Space
19
+ * @extends Base
20
+ *
21
+ * @remarks
22
+ * **Under development, breaking changes possible**
23
+ *
24
+ * Represents a Stats resource in Cosmo, providing get methods to retrieve statistics with the Stats API.
25
+ */
26
+ class CosmoStats extends Base_1.default {
27
+ getEndpoint(endpoint) {
28
+ return `${this.options.server}/api/cosmo${endpoint}`;
29
+ }
30
+ /**
31
+ * Fetch org related stats
32
+ * @remarks
33
+ * ** Under development, breaking changes possible**
34
+ * @param orgName Name of the Organization
35
+ * @returns The requested org stats
36
+ */
37
+ getOrgStats(orgName, raw) {
38
+ return __awaiter(this, void 0, void 0, function* () {
39
+ const resp = yield this.axios.get(this.getEndpoint(`/v1/org/${orgName}`));
40
+ return ((raw === null || raw === void 0 ? void 0 : raw.raw) ? resp : resp.data);
41
+ });
42
+ }
43
+ /**
44
+ * Fetch space related stats
45
+ * @remarks
46
+ * ** Under development, breaking changes possible**
47
+ * @param orgName Name of the Organization
48
+ * @param spaceName Name of the Space
49
+ * @returns The requested space stats
50
+ */
51
+ getSpaceStats(orgName, spaceName, raw) {
52
+ return __awaiter(this, void 0, void 0, function* () {
53
+ const resp = yield this.axios.get(this.getEndpoint(`/v1/org/${orgName}/spaces/${spaceName}`));
54
+ return ((raw === null || raw === void 0 ? void 0 : raw.raw) ? resp : resp.data);
55
+ });
56
+ }
57
+ }
58
+ exports.CosmoStats = CosmoStats;
@@ -51,6 +51,19 @@ export declare class CosmoTag extends Base {
51
51
  updateTag<R extends boolean = false>(orgName: string, spaceName: string, namespaceName: string, tagName: string, patchTag: PatchTag, raw?: {
52
52
  raw: R;
53
53
  }): Promise<MaybeRaw<R, Tag>>;
54
+ /**
55
+ * Reorder Tags in Cosmo inside the specified Organization, Space and Namespace.
56
+ * @remarks
57
+ * ** Under development, breaking changes possible**
58
+ * @param orgName Name of the Organization
59
+ * @param spaceName Name of the Space
60
+ * @param namespaceName Name of the Namespace
61
+ * @param tagIds Ordered array of tag IDs representing the desired sort order
62
+ * @returns 204 No Content if successful
63
+ */
64
+ reorderTags<R extends boolean = false>(orgName: string, spaceName: string, namespaceName: string, tagIds: string[], raw?: {
65
+ raw: R;
66
+ }): Promise<MaybeRaw<R, void>>;
54
67
  /**
55
68
  * Delete a Tag in Cosmo inside the specified Organization, Space and Namespace.
56
69
  * @remarks
@@ -8,9 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.CosmoTag = void 0;
13
- const Base_1 = require("../../../Base");
16
+ const Base_1 = __importDefault(require("../../../Base"));
14
17
  /**
15
18
  * @class Tag
16
19
  * @extends Base
@@ -73,6 +76,24 @@ class CosmoTag extends Base_1.default {
73
76
  return ((raw === null || raw === void 0 ? void 0 : raw.raw) ? resp : resp.data);
74
77
  });
75
78
  }
79
+ /**
80
+ * Reorder Tags in Cosmo inside the specified Organization, Space and Namespace.
81
+ * @remarks
82
+ * ** Under development, breaking changes possible**
83
+ * @param orgName Name of the Organization
84
+ * @param spaceName Name of the Space
85
+ * @param namespaceName Name of the Namespace
86
+ * @param tagIds Ordered array of tag IDs representing the desired sort order
87
+ * @returns 204 No Content if successful
88
+ */
89
+ reorderTags(orgName, spaceName, namespaceName, tagIds, raw) {
90
+ return __awaiter(this, void 0, void 0, function* () {
91
+ const resp = yield this.axios.put(this.getEndpoint(`/v1/org/${orgName}/spaces/${spaceName}/namespaces/${namespaceName}/tags/reorder`), {
92
+ tagIds,
93
+ });
94
+ return ((raw === null || raw === void 0 ? void 0 : raw.raw) ? resp : undefined);
95
+ });
96
+ }
76
97
  /**
77
98
  * Delete a Tag in Cosmo inside the specified Organization, Space and Namespace.
78
99
  * @remarks
@@ -1,6 +1,5 @@
1
1
  import Base from "../../Base";
2
2
  import { DaliCosmoSpace } from "./avatar/DaliCosmoSpace";
3
- import { DaliFuseSpace } from "./avatar/DaliFuseSpace";
4
3
  import { DaliHigh5Pool } from "./avatar/DaliHigh5Pool";
5
4
  import { DaliHigh5Space } from "./avatar/DaliHigh5Space";
6
5
  import { DaliOAuthApp } from "./avatar/DaliOAuthApp";
@@ -39,11 +38,6 @@ export declare class DaliAvatar extends Base {
39
38
  */
40
39
  get high5Pool(): DaliHigh5Pool;
41
40
  private _high5Pool?;
42
- /**
43
- * Handles everything around fuse spaces avatars
44
- */
45
- get fuseSpace(): DaliFuseSpace;
46
- private _fuseSpace?;
47
41
  /**
48
42
  * Handles everything around cosmo spaces avatars
49
43
  */
@@ -1,9 +1,11 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.DaliAvatar = void 0;
4
- const Base_1 = require("../../Base");
7
+ const Base_1 = __importDefault(require("../../Base"));
5
8
  const DaliCosmoSpace_1 = require("./avatar/DaliCosmoSpace");
6
- const DaliFuseSpace_1 = require("./avatar/DaliFuseSpace");
7
9
  const DaliHigh5Pool_1 = require("./avatar/DaliHigh5Pool");
8
10
  const DaliHigh5Space_1 = require("./avatar/DaliHigh5Space");
9
11
  const DaliOAuthApp_1 = require("./avatar/DaliOAuthApp");
@@ -66,15 +68,6 @@ class DaliAvatar extends Base_1.default {
66
68
  }
67
69
  return this._high5Pool;
68
70
  }
69
- /**
70
- * Handles everything around fuse spaces avatars
71
- */
72
- get fuseSpace() {
73
- if (this._fuseSpace === undefined) {
74
- this._fuseSpace = new DaliFuseSpace_1.DaliFuseSpace(this.options, this.axios);
75
- }
76
- return this._fuseSpace;
77
- }
78
71
  /**
79
72
  * Handles everything around cosmo spaces avatars
80
73
  */
@@ -8,9 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.DaliCosmoSpace = void 0;
13
- const Base_1 = require("../../../Base");
16
+ const Base_1 = __importDefault(require("../../../Base"));
14
17
  class DaliCosmoSpace extends Base_1.default {
15
18
  /**
16
19
  * Creates a default avatar for the specified Cosmo space.
@@ -1,5 +1,6 @@
1
1
  import Base, { MaybeRaw } from "../../../Base";
2
2
  import { AvatarCreated } from "../../../interfaces/dali";
3
+ import { Pool } from "../../../interfaces/high5/space/pool";
3
4
  export declare class DaliHigh5Pool extends Base {
4
5
  /**
5
6
  * Creates a default avatar for the specified High5 pool.
@@ -30,6 +31,6 @@ export declare class DaliHigh5Pool extends Base {
30
31
  */
31
32
  updateAvatar<R extends boolean = false>(orgName: string, spaceName: string, poolName: string, file: File, raw?: {
32
33
  raw: R;
33
- }): Promise<MaybeRaw<R, AvatarCreated>>;
34
+ }): Promise<MaybeRaw<R, Pool>>;
34
35
  protected getEndpoint(endpoint: string): string;
35
36
  }
@@ -8,9 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.DaliHigh5Pool = void 0;
13
- const Base_1 = require("../../../Base");
16
+ const Base_1 = __importDefault(require("../../../Base"));
14
17
  class DaliHigh5Pool extends Base_1.default {
15
18
  /**
16
19
  * Creates a default avatar for the specified High5 pool.
@@ -49,7 +52,7 @@ class DaliHigh5Pool extends Base_1.default {
49
52
  return __awaiter(this, void 0, void 0, function* () {
50
53
  const data = new FormData();
51
54
  data.append("avatar", file);
52
- const resp = yield this.axios.put(this.getEndpoint(`/v1/avatar/org/${orgName}/spaces/high5/${spaceName}/pools/${poolName}`), data, {
55
+ const resp = yield this.axios.patch(`${this.options.server}/api/high5/v1/org/${orgName}/spaces/${spaceName}/pools/${poolName}/avatar`, data, {
53
56
  headers: { "Content-Type": "multipart/form-data" },
54
57
  });
55
58
  return ((raw === null || raw === void 0 ? void 0 : raw.raw) ? resp : resp.data);
@@ -1,5 +1,6 @@
1
1
  import Base, { MaybeRaw } from "../../../Base";
2
2
  import { AvatarCreated } from "../../../interfaces/dali";
3
+ import { High5Space } from "../../../interfaces/high5/space";
3
4
  export declare class DaliHigh5Space extends Base {
4
5
  /**
5
6
  * Creates a default avatar for the specified High5 space.
@@ -27,6 +28,6 @@ export declare class DaliHigh5Space extends Base {
27
28
  */
28
29
  updateAvatar<R extends boolean = false>(orgName: string, spaceName: string, file: File, raw?: {
29
30
  raw: R;
30
- }): Promise<MaybeRaw<R, AvatarCreated>>;
31
+ }): Promise<MaybeRaw<R, High5Space>>;
31
32
  protected getEndpoint(endpoint: string): string;
32
33
  }
@@ -8,9 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.DaliHigh5Space = void 0;
13
- const Base_1 = require("../../../Base");
16
+ const Base_1 = __importDefault(require("../../../Base"));
14
17
  class DaliHigh5Space extends Base_1.default {
15
18
  /**
16
19
  * Creates a default avatar for the specified High5 space.
@@ -46,7 +49,7 @@ class DaliHigh5Space extends Base_1.default {
46
49
  return __awaiter(this, void 0, void 0, function* () {
47
50
  const data = new FormData();
48
51
  data.append("avatar", file);
49
- const resp = yield this.axios.put(this.getEndpoint(`/v1/avatar/org/${orgName}/spaces/high5/${spaceName}`), data, {
52
+ const resp = yield this.axios.patch(`${this.options.server}/api/high5/v1/org/${orgName}/spaces/${spaceName}/avatar`, data, {
50
53
  headers: { "Content-Type": "multipart/form-data" },
51
54
  });
52
55
  return ((raw === null || raw === void 0 ? void 0 : raw.raw) ? resp : resp.data);
@@ -1,5 +1,6 @@
1
1
  import Base, { MaybeRaw } from "../../../Base";
2
2
  import { AvatarCreated } from "../../../interfaces/dali";
3
+ import { OAuthApp } from "../../../interfaces/idp/organization/settings/oauthApp";
3
4
  export declare class DaliOAuthApp extends Base {
4
5
  /**
5
6
  * Creates a default avatar for the specified OAuth app.
@@ -27,6 +28,6 @@ export declare class DaliOAuthApp extends Base {
27
28
  */
28
29
  updateAvatar<R extends boolean = false>(orgName: string, appId: string, file: File, raw?: {
29
30
  raw: R;
30
- }): Promise<MaybeRaw<R, AvatarCreated>>;
31
+ }): Promise<MaybeRaw<R, OAuthApp>>;
31
32
  protected getEndpoint(endpoint: string): string;
32
33
  }
@@ -8,9 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.DaliOAuthApp = void 0;
13
- const Base_1 = require("../../../Base");
16
+ const Base_1 = __importDefault(require("../../../Base"));
14
17
  class DaliOAuthApp extends Base_1.default {
15
18
  /**
16
19
  * Creates a default avatar for the specified OAuth app.
@@ -46,7 +49,7 @@ class DaliOAuthApp extends Base_1.default {
46
49
  return __awaiter(this, void 0, void 0, function* () {
47
50
  const data = new FormData();
48
51
  data.append("avatar", file);
49
- const resp = yield this.axios.put(this.getEndpoint(`/v1/avatar/org/${orgName}/applications/oauth/${appId}`), data, {
52
+ const resp = yield this.axios.patch(`${this.options.server}/api/account/v1/org/${orgName}/settings/applications/oauth/${appId}/avatar`, data, {
50
53
  headers: { "Content-Type": "multipart/form-data" },
51
54
  });
52
55
  return ((raw === null || raw === void 0 ? void 0 : raw.raw) ? resp : resp.data);
@@ -1,5 +1,6 @@
1
1
  import Base, { MaybeRaw } from "../../../Base";
2
2
  import { AvatarCreated } from "../../../interfaces/dali";
3
+ import { Organization } from "../../../interfaces/idp/organization";
3
4
  export declare class DaliOrganization extends Base {
4
5
  /**
5
6
  * Creates a default avatar for the specified organization.
@@ -24,6 +25,6 @@ export declare class DaliOrganization extends Base {
24
25
  */
25
26
  updateAvatar<R extends boolean = false>(orgName: string, file: File, raw?: {
26
27
  raw: R;
27
- }): Promise<MaybeRaw<R, AvatarCreated>>;
28
+ }): Promise<MaybeRaw<R, Organization>>;
28
29
  protected getEndpoint(endpoint: string): string;
29
30
  }
@@ -8,9 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.DaliOrganization = void 0;
13
- const Base_1 = require("../../../Base");
16
+ const Base_1 = __importDefault(require("../../../Base"));
14
17
  class DaliOrganization extends Base_1.default {
15
18
  /**
16
19
  * Creates a default avatar for the specified organization.
@@ -43,7 +46,7 @@ class DaliOrganization extends Base_1.default {
43
46
  return __awaiter(this, void 0, void 0, function* () {
44
47
  const data = new FormData();
45
48
  data.append("avatar", file);
46
- const resp = yield this.axios.put(this.getEndpoint(`/v1/avatar/org/${orgName}`), data, {
49
+ const resp = yield this.axios.patch(`${this.options.server}/api/account/v1/org/${orgName}/avatar`, data, {
47
50
  headers: { "Content-Type": "multipart/form-data" },
48
51
  });
49
52
  return ((raw === null || raw === void 0 ? void 0 : raw.raw) ? resp : resp.data);
@@ -27,6 +27,6 @@ export declare class DaliServiceAccount extends Base {
27
27
  */
28
28
  updateAvatar<R extends boolean = false>(orgName: string, serviceAccountId: string, file: File, raw?: {
29
29
  raw: R;
30
- }): Promise<MaybeRaw<R, AvatarCreated>>;
30
+ }): Promise<MaybeRaw<R, void>>;
31
31
  protected getEndpoint(endpoint: string): string;
32
32
  }
@@ -8,9 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.DaliServiceAccount = void 0;
13
- const Base_1 = require("../../../Base");
16
+ const Base_1 = __importDefault(require("../../../Base"));
14
17
  class DaliServiceAccount extends Base_1.default {
15
18
  /**
16
19
  * Creates a default avatar for the specified service account.
@@ -46,10 +49,10 @@ class DaliServiceAccount extends Base_1.default {
46
49
  return __awaiter(this, void 0, void 0, function* () {
47
50
  const data = new FormData();
48
51
  data.append("avatar", file);
49
- const resp = yield this.axios.put(this.getEndpoint(`/v1/avatar/org/${orgName}/service-accounts/${serviceAccountId}`), data, {
52
+ const resp = yield this.axios.patch(`${this.options.server}/api/account/v1/org/${orgName}/service-accounts/${serviceAccountId}/avatar`, data, {
50
53
  headers: { "Content-Type": "multipart/form-data" },
51
54
  });
52
- return ((raw === null || raw === void 0 ? void 0 : raw.raw) ? resp : resp.data);
55
+ return ((raw === null || raw === void 0 ? void 0 : raw.raw) ? resp : undefined);
53
56
  });
54
57
  }
55
58
  getEndpoint(endpoint) {
@@ -1,5 +1,6 @@
1
1
  import Base, { MaybeRaw } from "../../../Base";
2
2
  import { AvatarCreated } from "../../../interfaces/dali";
3
+ import { Team } from "../../../interfaces/idp/organization/team";
3
4
  export declare class DaliTeam extends Base {
4
5
  /**
5
6
  * Creates a default avatar for the specified team.
@@ -27,6 +28,6 @@ export declare class DaliTeam extends Base {
27
28
  */
28
29
  updateAvatar<R extends boolean = false>(orgName: string, teamName: string, file: File, raw?: {
29
30
  raw: R;
30
- }): Promise<MaybeRaw<R, AvatarCreated>>;
31
+ }): Promise<MaybeRaw<R, Team>>;
31
32
  protected getEndpoint(endpoint: string): string;
32
33
  }
@@ -8,9 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.DaliTeam = void 0;
13
- const Base_1 = require("../../../Base");
16
+ const Base_1 = __importDefault(require("../../../Base"));
14
17
  class DaliTeam extends Base_1.default {
15
18
  /**
16
19
  * Creates a default avatar for the specified team.
@@ -46,7 +49,7 @@ class DaliTeam extends Base_1.default {
46
49
  return __awaiter(this, void 0, void 0, function* () {
47
50
  const data = new FormData();
48
51
  data.append("avatar", file);
49
- const resp = yield this.axios.put(this.getEndpoint(`/v1/avatar/org/${orgName}/teams/${teamName}`), data, {
52
+ const resp = yield this.axios.patch(`${this.options.server}/api/account/v1/org/${orgName}/teams/${teamName}/avatar`, data, {
50
53
  headers: { "Content-Type": "multipart/form-data" },
51
54
  });
52
55
  return ((raw === null || raw === void 0 ? void 0 : raw.raw) ? resp : resp.data);
@@ -1,5 +1,6 @@
1
1
  import Base, { MaybeRaw } from "../../../Base";
2
2
  import { AvatarCreated } from "../../../interfaces/dali";
3
+ import { User } from "../../../interfaces/idp/user";
3
4
  export declare class DaliUser extends Base {
4
5
  /**
5
6
  * Creates a default avatar for the requesting user.
@@ -21,6 +22,6 @@ export declare class DaliUser extends Base {
21
22
  */
22
23
  updateAvatar<R extends boolean = false>(file: File, raw?: {
23
24
  raw: R;
24
- }): Promise<MaybeRaw<R, AvatarCreated>>;
25
+ }): Promise<MaybeRaw<R, User>>;
25
26
  protected getEndpoint(endpoint: string): string;
26
27
  }
@@ -8,9 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.DaliUser = void 0;
13
- const Base_1 = require("../../../Base");
16
+ const Base_1 = __importDefault(require("../../../Base"));
14
17
  class DaliUser extends Base_1.default {
15
18
  /**
16
19
  * Creates a default avatar for the requesting user.
@@ -40,7 +43,7 @@ class DaliUser extends Base_1.default {
40
43
  return __awaiter(this, void 0, void 0, function* () {
41
44
  const data = new FormData();
42
45
  data.append("avatar", file);
43
- const resp = yield this.axios.put(this.getEndpoint(`/v1/avatar/user`), data, {
46
+ const resp = yield this.axios.patch(`${this.options.server}/api/account/v1/user/avatar`, data, {
44
47
  headers: { "Content-Type": "multipart/form-data" },
45
48
  });
46
49
  return ((raw === null || raw === void 0 ? void 0 : raw.raw) ? resp : resp.data);
@@ -8,8 +8,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
- const Base_1 = require("../../Base");
15
+ const Base_1 = __importDefault(require("../../Base"));
13
16
  const DaliAvatar_1 = require("./DaliAvatar");
14
17
  class Dali extends Base_1.default {
15
18
  /**
@@ -8,9 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.High5OrganizationExecute = void 0;
13
- const Base_1 = require("../../../Base");
16
+ const Base_1 = __importDefault(require("../../../Base"));
14
17
  const index_1 = require("./log/index");
15
18
  const index_2 = require("./status/index");
16
19
  class High5OrganizationExecute extends Base_1.default {
@@ -8,9 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.High5OrganizationExecutionLogs = void 0;
13
- const Base_1 = require("../../../../Base");
16
+ const Base_1 = __importDefault(require("../../../../Base"));
14
17
  const paginatedResponseHelper_1 = require("../../../../helper/paginatedResponseHelper");
15
18
  const searchFilter_1 = require("../../../../helper/searchFilter");
16
19
  class High5OrganizationExecutionLogs extends Base_1.default {
@@ -8,9 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.High5OrganizationExecutionStates = void 0;
13
- const Base_1 = require("../../../../Base");
16
+ const Base_1 = __importDefault(require("../../../../Base"));
14
17
  const paginatedResponseHelper_1 = require("../../../../helper/paginatedResponseHelper");
15
18
  const searchFilter_1 = require("../../../../helper/searchFilter");
16
19
  class High5OrganizationExecutionStates extends Base_1.default {
@@ -8,8 +8,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
- const Base_1 = require("../../Base");
15
+ const Base_1 = __importDefault(require("../../Base"));
13
16
  const execution_1 = require("./execution");
14
17
  const internal_1 = require("./internal");
15
18
  const joinToken_1 = require("./joinToken");
@@ -8,9 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.High5Internal = void 0;
13
- const Base_1 = require("../../../Base");
16
+ const Base_1 = __importDefault(require("../../../Base"));
14
17
  const space_1 = require("./space");
15
18
  class High5Internal extends Base_1.default {
16
19
  get space() {
@@ -8,9 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.High5SpaceInternal = void 0;
13
- const Base_1 = require("../../../../Base");
16
+ const Base_1 = __importDefault(require("../../../../Base"));
14
17
  const job_1 = require("./job");
15
18
  class High5SpaceInternal extends Base_1.default {
16
19
  get job() {
@@ -1,7 +1,10 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.High5JobInternal = void 0;
4
- const Base_1 = require("../../../../../Base");
7
+ const Base_1 = __importDefault(require("../../../../../Base"));
5
8
  const log_1 = require("./log");
6
9
  class High5JobInternal extends Base_1.default {
7
10
  get jobLog() {
@@ -8,9 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.High5JobLogInternal = void 0;
13
- const Base_1 = require("../../../../../../Base");
16
+ const Base_1 = __importDefault(require("../../../../../../Base"));
14
17
  class High5JobLogInternal extends Base_1.default {
15
18
  /**
16
19
  * Creates a log for a cronjob.
@@ -8,9 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.High5JoinToken = void 0;
13
- const Base_1 = require("../../../Base");
16
+ const Base_1 = __importDefault(require("../../../Base"));
14
17
  const paginatedResponseHelper_1 = require("../../../helper/paginatedResponseHelper");
15
18
  class High5JoinToken extends Base_1.default {
16
19
  constructor(options, axios) {
@@ -8,9 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.High5DocumentArray = void 0;
13
- const Base_1 = require("../../../../../../Base");
16
+ const Base_1 = __importDefault(require("../../../../../../Base"));
14
17
  const paginatedResponseHelper_1 = require("../../../../../../helper/paginatedResponseHelper");
15
18
  const searchFilter_1 = require("../../../../../../helper/searchFilter");
16
19
  class High5DocumentArray extends Base_1.default {
@@ -8,9 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.High5Document = void 0;
13
- const Base_1 = require("../../../../../Base");
16
+ const Base_1 = __importDefault(require("../../../../../Base"));
14
17
  const paginatedResponseHelper_1 = require("../../../../../helper/paginatedResponseHelper");
15
18
  const searchFilter_1 = require("../../../../../helper/searchFilter");
16
19
  const array_1 = require("./array");