hcloud-sdk 0.0.16 → 15.0.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 (310) hide show
  1. package/README.md +1 -0
  2. package/changelog.md +45 -0
  3. package/index.d.ts +3 -2
  4. package/index.js +5 -2
  5. package/lib/Base.d.ts +26 -0
  6. package/lib/Base.js +12 -0
  7. package/lib/Hcloud.d.ts +90 -0
  8. package/lib/Hcloud.js +184 -0
  9. package/lib/helper/ErrorHelper.d.ts +7 -0
  10. package/lib/helper/ErrorHelper.js +19 -0
  11. package/lib/helper/paginatedResponseHelper.d.ts +3 -0
  12. package/lib/helper/paginatedResponseHelper.js +9 -0
  13. package/lib/helper/searchFilter.d.ts +9 -0
  14. package/lib/helper/searchFilter.js +12 -0
  15. package/lib/interfaces/agent/bundle/dev/index.d.ts +3 -0
  16. package/lib/interfaces/agent/context/index.d.ts +19 -0
  17. package/lib/interfaces/agent/index.d.ts +21 -0
  18. package/lib/interfaces/agent/index.js +2 -0
  19. package/lib/interfaces/{Auditor.d.ts → auditor/index.d.ts} +31 -5
  20. package/lib/interfaces/{Auditor.js → auditor/index.js} +15 -5
  21. package/lib/interfaces/axios/index.d.ts +5 -0
  22. package/lib/interfaces/axios/index.js +8 -0
  23. package/lib/interfaces/bouncer/features/index.d.ts +7 -0
  24. package/lib/interfaces/bouncer/features/index.js +2 -0
  25. package/lib/interfaces/bouncer/index.d.ts +6 -0
  26. package/lib/interfaces/bouncer/index.js +17 -0
  27. package/lib/interfaces/dali/index.d.ts +3 -0
  28. package/lib/interfaces/dali/index.js +2 -0
  29. package/lib/interfaces/frontend/config/index.d.ts +33 -0
  30. package/lib/interfaces/frontend/config/index.js +10 -0
  31. package/lib/interfaces/frontend/featureflags/index.d.ts +7 -0
  32. package/lib/interfaces/frontend/featureflags/index.js +2 -0
  33. package/lib/interfaces/fuse/index.d.ts +3 -0
  34. package/lib/interfaces/fuse/index.js +19 -0
  35. package/lib/interfaces/fuse/space/cronjob/Cronjob.d.ts +38 -0
  36. package/lib/interfaces/fuse/space/cronjob/Cronjob.js +8 -0
  37. package/lib/interfaces/fuse/space/cronjob/CronjobLog.d.ts +16 -0
  38. package/lib/interfaces/fuse/space/cronjob/CronjobLog.js +2 -0
  39. package/lib/interfaces/fuse/space/index.d.ts +21 -0
  40. package/lib/interfaces/fuse/space/index.js +11 -0
  41. package/lib/interfaces/global/HCloudError.d.ts +8 -0
  42. package/lib/interfaces/global/HCloudError.js +13 -0
  43. package/lib/interfaces/global/Header.d.ts +4 -0
  44. package/lib/interfaces/global/Header.js +2 -0
  45. package/lib/interfaces/global/HttpMethod.d.ts +7 -0
  46. package/lib/interfaces/global/HttpMethod.js +11 -0
  47. package/lib/interfaces/global/PaginatedResponse.d.ts +4 -0
  48. package/lib/interfaces/global/PaginatedResponse.js +2 -0
  49. package/lib/interfaces/global/Products.d.ts +11 -0
  50. package/lib/interfaces/global/Products.js +15 -0
  51. package/lib/interfaces/global/SearchFilters.d.ts +86 -0
  52. package/lib/interfaces/global/SearchFilters.js +49 -0
  53. package/lib/interfaces/global/Space.d.ts +20 -0
  54. package/lib/interfaces/global/Space.js +8 -0
  55. package/lib/interfaces/global/Version.d.ts +3 -0
  56. package/lib/interfaces/global/Version.js +2 -0
  57. package/lib/interfaces/global/Views.d.ts +8 -0
  58. package/lib/interfaces/global/Views.js +12 -0
  59. package/lib/interfaces/global/index.d.ts +9 -0
  60. package/lib/interfaces/global/index.js +25 -0
  61. package/lib/interfaces/high5/index.d.ts +16 -0
  62. package/lib/interfaces/high5/index.js +32 -0
  63. package/lib/interfaces/high5/joinToken/index.d.ts +10 -0
  64. package/lib/interfaces/high5/joinToken/index.js +2 -0
  65. package/lib/interfaces/high5/space/event/index.d.ts +15 -0
  66. package/lib/interfaces/high5/space/event/index.js +2 -0
  67. package/lib/interfaces/high5/space/event/stream/design/DesignOperation.d.ts +68 -0
  68. package/lib/interfaces/high5/space/event/stream/design/DesignOperation.js +20 -0
  69. package/lib/interfaces/high5/space/event/stream/design/StreamDesign.d.ts +92 -0
  70. package/lib/interfaces/high5/space/event/stream/design/StreamDesign.js +20 -0
  71. package/lib/interfaces/high5/space/event/stream/design/index.d.ts +22 -0
  72. package/lib/interfaces/high5/space/event/stream/design/index.js +2 -0
  73. package/lib/interfaces/high5/space/event/stream/design/snapshot/index.d.ts +30 -0
  74. package/lib/interfaces/high5/space/event/stream/design/snapshot/index.js +8 -0
  75. package/lib/interfaces/high5/space/event/stream/index.d.ts +77 -0
  76. package/lib/interfaces/high5/space/event/stream/index.js +13 -0
  77. package/lib/interfaces/high5/space/event/stream/node/index.d.ts +62 -0
  78. package/lib/interfaces/high5/space/event/stream/node/index.js +7 -0
  79. package/lib/interfaces/high5/space/execution/index.d.ts +148 -0
  80. package/lib/interfaces/high5/space/execution/index.js +21 -0
  81. package/lib/interfaces/high5/space/index.d.ts +23 -0
  82. package/lib/interfaces/high5/space/index.js +12 -0
  83. package/lib/interfaces/high5/space/secret/index.d.ts +12 -0
  84. package/lib/interfaces/high5/space/secret/index.js +2 -0
  85. package/lib/interfaces/high5/space/webhook/index.d.ts +75 -0
  86. package/lib/interfaces/high5/space/webhook/index.js +9 -0
  87. package/lib/interfaces/high5/wave/changelog.d.ts +30 -0
  88. package/lib/interfaces/high5/wave/changelog.js +18 -0
  89. package/lib/interfaces/high5/wave/index.d.ts +201 -0
  90. package/lib/interfaces/high5/wave/index.js +61 -0
  91. package/lib/interfaces/idp/index.d.ts +26 -0
  92. package/lib/interfaces/idp/index.js +38 -0
  93. package/lib/interfaces/idp/oauth/index.d.ts +19 -0
  94. package/lib/interfaces/idp/oauth/index.js +8 -0
  95. package/lib/interfaces/idp/organization/index.d.ts +32 -0
  96. package/lib/interfaces/idp/organization/index.js +25 -0
  97. package/lib/interfaces/idp/organization/license/index.d.ts +84 -0
  98. package/lib/interfaces/idp/organization/license/index.js +15 -0
  99. package/lib/interfaces/idp/organization/member/index.d.ts +15 -0
  100. package/lib/interfaces/idp/organization/member/index.js +2 -0
  101. package/lib/interfaces/idp/organization/member/invitations/index.d.ts +26 -0
  102. package/lib/interfaces/idp/organization/member/invitations/index.js +18 -0
  103. package/lib/interfaces/idp/organization/settings/domain/index.d.ts +19 -0
  104. package/lib/interfaces/idp/organization/settings/domain/index.js +8 -0
  105. package/lib/interfaces/idp/organization/settings/domain/saml/index.d.ts +10 -0
  106. package/lib/interfaces/idp/organization/settings/domain/saml/index.js +2 -0
  107. package/lib/interfaces/idp/organization/settings/oauthApp/index.d.ts +37 -0
  108. package/lib/interfaces/idp/organization/settings/oauthApp/index.js +2 -0
  109. package/lib/interfaces/idp/organization/team/index.d.ts +24 -0
  110. package/lib/interfaces/idp/organization/team/index.js +9 -0
  111. package/lib/interfaces/idp/user/ConnectionSettings.d.ts +6 -0
  112. package/lib/interfaces/idp/user/ConnectionSettings.js +2 -0
  113. package/lib/interfaces/idp/user/GeneralSettings.d.ts +45 -0
  114. package/lib/interfaces/idp/user/GeneralSettings.js +38 -0
  115. package/lib/interfaces/idp/user/NotificationSettings.d.ts +8 -0
  116. package/lib/interfaces/idp/user/NotificationSettings.js +2 -0
  117. package/lib/interfaces/idp/user/Pat.d.ts +19 -0
  118. package/lib/interfaces/idp/user/Pat.js +2 -0
  119. package/lib/interfaces/idp/user/Scopes.d.ts +40 -0
  120. package/lib/interfaces/idp/user/Scopes.js +50 -0
  121. package/lib/interfaces/idp/user/SuccessfulAuth.d.ts +5 -0
  122. package/lib/interfaces/idp/user/SuccessfulAuth.js +2 -0
  123. package/lib/interfaces/idp/user/Totp.d.ts +20 -0
  124. package/lib/interfaces/idp/user/Totp.js +2 -0
  125. package/lib/interfaces/idp/user/index.d.ts +23 -0
  126. package/lib/interfaces/idp/user/index.js +2 -0
  127. package/lib/interfaces/mailer/index.d.ts +66 -0
  128. package/lib/interfaces/mailer/index.js +81 -0
  129. package/lib/interfaces/mothership/index.d.ts +28 -0
  130. package/lib/interfaces/mothership/index.js +8 -0
  131. package/lib/interfaces/nats/index.d.ts +239 -0
  132. package/lib/interfaces/nats/index.js +316 -0
  133. package/lib/service/agent/bundle/dev/index.d.ts +17 -0
  134. package/lib/service/agent/bundle/dev/index.js +44 -0
  135. package/lib/service/agent/bundle/index.d.ts +11 -0
  136. package/lib/service/agent/bundle/index.js +55 -0
  137. package/lib/service/agent/context/index.d.ts +35 -0
  138. package/lib/service/agent/context/index.js +90 -0
  139. package/lib/service/agent/index.d.ts +16 -0
  140. package/lib/service/agent/index.js +37 -0
  141. package/lib/service/agent/installer/index.d.ts +15 -0
  142. package/lib/service/agent/installer/index.js +97 -0
  143. package/lib/service/auditor/index.d.ts +25 -0
  144. package/lib/service/auditor/index.js +55 -0
  145. package/lib/service/auditor/internal/index.d.ts +27 -0
  146. package/lib/service/auditor/internal/index.js +65 -0
  147. package/lib/service/bouncer/features/index.d.ts +8 -0
  148. package/lib/service/bouncer/features/index.js +27 -0
  149. package/lib/service/bouncer/index.d.ts +7 -0
  150. package/lib/service/bouncer/index.js +16 -0
  151. package/lib/service/dali/DaliAvatar.d.ts +40 -0
  152. package/lib/service/dali/DaliAvatar.js +70 -0
  153. package/lib/service/dali/avatar/DaliFuseSpace.d.ts +26 -0
  154. package/lib/service/dali/avatar/DaliFuseSpace.js +58 -0
  155. package/lib/service/dali/avatar/DaliHigh5Space.d.ts +26 -0
  156. package/lib/service/dali/avatar/DaliHigh5Space.js +58 -0
  157. package/lib/service/dali/avatar/DaliOAuthApp.d.ts +26 -0
  158. package/lib/service/dali/avatar/DaliOAuthApp.js +58 -0
  159. package/lib/service/dali/avatar/DaliOrganization.d.ts +23 -0
  160. package/lib/service/dali/avatar/DaliOrganization.js +55 -0
  161. package/lib/service/dali/avatar/DaliTeam.d.ts +26 -0
  162. package/lib/service/dali/avatar/DaliTeam.js +58 -0
  163. package/lib/service/dali/avatar/DaliUser.d.ts +20 -0
  164. package/lib/service/dali/avatar/DaliUser.js +52 -0
  165. package/lib/service/dali/index.d.ts +15 -0
  166. package/lib/service/dali/index.js +37 -0
  167. package/lib/service/fuse/index.d.ts +18 -0
  168. package/lib/service/fuse/index.js +48 -0
  169. package/lib/service/fuse/internal/index.d.ts +8 -0
  170. package/lib/service/fuse/internal/index.js +31 -0
  171. package/lib/service/fuse/internal/space/cronjob/index.d.ts +7 -0
  172. package/lib/service/fuse/internal/space/cronjob/index.js +17 -0
  173. package/lib/service/fuse/internal/space/cronjob/log/index.d.ts +15 -0
  174. package/lib/service/fuse/internal/space/cronjob/log/index.js +34 -0
  175. package/lib/service/fuse/internal/space/index.d.ts +22 -0
  176. package/lib/service/fuse/internal/space/index.js +49 -0
  177. package/lib/service/fuse/space/cronjob/index.d.ts +123 -0
  178. package/lib/service/fuse/space/cronjob/index.js +203 -0
  179. package/lib/service/fuse/space/cronjob/log/index.d.ts +31 -0
  180. package/lib/service/fuse/space/cronjob/log/index.js +58 -0
  181. package/lib/service/fuse/space/index.d.ts +81 -0
  182. package/lib/service/fuse/space/index.js +152 -0
  183. package/lib/service/high5/execution/index.d.ts +10 -0
  184. package/lib/service/high5/execution/index.js +24 -0
  185. package/lib/service/high5/execution/log/index.d.ts +19 -0
  186. package/lib/service/high5/execution/log/index.js +40 -0
  187. package/lib/service/high5/execution/status/index.d.ts +18 -0
  188. package/lib/service/high5/execution/status/index.js +40 -0
  189. package/lib/service/high5/index.d.ts +25 -0
  190. package/lib/service/high5/index.js +63 -0
  191. package/lib/service/high5/internal/index.d.ts +8 -0
  192. package/lib/service/high5/internal/index.js +31 -0
  193. package/lib/service/high5/internal/space/index.d.ts +21 -0
  194. package/lib/service/high5/internal/space/index.js +45 -0
  195. package/lib/service/high5/joinToken/index.d.ts +40 -0
  196. package/lib/service/high5/joinToken/index.js +72 -0
  197. package/lib/service/high5/space/event/index.d.ts +55 -0
  198. package/lib/service/high5/space/event/index.js +101 -0
  199. package/lib/service/high5/space/event/stream/design/DesignOperations.d.ts +31 -0
  200. package/lib/service/high5/space/event/stream/design/DesignOperations.js +117 -0
  201. package/lib/service/high5/space/event/stream/design/index.d.ts +53 -0
  202. package/lib/service/high5/space/event/stream/design/index.js +91 -0
  203. package/lib/service/high5/space/event/stream/design/snapshot/index.d.ts +62 -0
  204. package/lib/service/high5/space/event/stream/design/snapshot/index.js +107 -0
  205. package/lib/service/high5/space/event/stream/index.d.ts +113 -0
  206. package/lib/service/high5/space/event/stream/index.js +186 -0
  207. package/lib/service/high5/space/execution/index.d.ts +48 -0
  208. package/lib/service/high5/space/execution/index.js +89 -0
  209. package/lib/service/high5/space/execution/log/index.d.ts +29 -0
  210. package/lib/service/high5/space/execution/log/index.js +58 -0
  211. package/lib/service/high5/space/execution/status/index.d.ts +16 -0
  212. package/lib/service/high5/space/execution/status/index.js +36 -0
  213. package/lib/service/high5/space/index.d.ts +111 -0
  214. package/lib/service/high5/space/index.js +205 -0
  215. package/lib/service/high5/space/node/index.d.ts +58 -0
  216. package/lib/service/high5/space/node/index.js +116 -0
  217. package/lib/service/high5/space/secret/index.d.ts +60 -0
  218. package/lib/service/high5/space/secret/index.js +102 -0
  219. package/lib/service/high5/space/wave/index.d.ts +36 -0
  220. package/lib/service/high5/space/wave/index.js +73 -0
  221. package/lib/service/high5/space/webhook/index.d.ts +90 -0
  222. package/lib/service/high5/space/webhook/index.js +165 -0
  223. package/lib/service/high5/space/webhook/log/index.d.ts +16 -0
  224. package/lib/service/high5/space/webhook/log/index.js +37 -0
  225. package/lib/service/high5/wave/index.d.ts +8 -0
  226. package/lib/service/high5/wave/index.js +15 -0
  227. package/lib/service/high5/wave/s3/index.d.ts +48 -0
  228. package/lib/service/high5/wave/s3/index.js +100 -0
  229. package/lib/service/idp/index.d.ts +84 -0
  230. package/lib/service/idp/index.js +185 -0
  231. package/lib/service/idp/internal/index.d.ts +17 -0
  232. package/lib/service/idp/internal/index.js +33 -0
  233. package/lib/service/idp/oauth/index.d.ts +49 -0
  234. package/lib/service/idp/oauth/index.js +117 -0
  235. package/lib/service/idp/organization/index.d.ts +56 -0
  236. package/lib/service/idp/organization/index.js +114 -0
  237. package/lib/service/idp/organization/license/index.d.ts +7 -0
  238. package/lib/service/idp/organization/license/index.js +31 -0
  239. package/lib/service/idp/organization/member/index.d.ts +57 -0
  240. package/lib/service/idp/organization/member/index.js +110 -0
  241. package/lib/service/idp/organization/member/invitations/index.d.ts +79 -0
  242. package/lib/service/idp/organization/member/invitations/index.js +122 -0
  243. package/lib/service/idp/organization/settings/domain/index.d.ts +37 -0
  244. package/lib/service/idp/organization/settings/domain/index.js +76 -0
  245. package/lib/service/idp/organization/settings/domain/saml/index.d.ts +43 -0
  246. package/lib/service/idp/organization/settings/domain/saml/index.js +98 -0
  247. package/lib/service/idp/organization/settings/index.d.ts +16 -0
  248. package/lib/service/idp/organization/settings/index.js +29 -0
  249. package/lib/service/idp/organization/settings/oauth/index.d.ts +62 -0
  250. package/lib/service/idp/organization/settings/oauth/index.js +117 -0
  251. package/lib/service/idp/organization/team/index.d.ts +72 -0
  252. package/lib/service/idp/organization/team/index.js +124 -0
  253. package/lib/service/idp/registration/index.d.ts +37 -0
  254. package/lib/service/idp/registration/index.js +87 -0
  255. package/lib/service/idp/user/index.d.ts +83 -0
  256. package/lib/service/idp/user/index.js +160 -0
  257. package/lib/service/idp/user/license/index.d.ts +7 -0
  258. package/lib/service/idp/user/license/index.js +31 -0
  259. package/lib/service/idp/user/password/index.d.ts +19 -0
  260. package/lib/service/idp/user/password/index.js +51 -0
  261. package/lib/service/idp/user/settings/connections/index.d.ts +13 -0
  262. package/lib/service/idp/user/settings/connections/index.js +32 -0
  263. package/lib/service/idp/user/settings/general/index.d.ts +22 -0
  264. package/lib/service/idp/user/settings/general/index.js +51 -0
  265. package/lib/service/idp/user/settings/index.d.ts +40 -0
  266. package/lib/service/idp/user/settings/index.js +70 -0
  267. package/lib/service/idp/user/settings/notifications/index.d.ts +16 -0
  268. package/lib/service/idp/user/settings/notifications/index.js +40 -0
  269. package/lib/service/idp/user/settings/oauthApps/index.d.ts +20 -0
  270. package/lib/service/idp/user/settings/oauthApps/index.js +55 -0
  271. package/lib/service/idp/user/settings/pats/index.d.ts +48 -0
  272. package/lib/service/idp/user/settings/pats/index.js +104 -0
  273. package/lib/service/idp/user/settings/twoFactor/index.d.ts +10 -0
  274. package/lib/service/idp/user/settings/twoFactor/index.js +20 -0
  275. package/lib/service/idp/user/settings/twoFactor/totp/index.d.ts +32 -0
  276. package/lib/service/idp/user/settings/twoFactor/totp/index.js +72 -0
  277. package/lib/service/mailer/index.d.ts +13 -0
  278. package/lib/service/{Mailer.js → mailer/index.js} +17 -16
  279. package/lib/service/mailer/internal/index.d.ts +36 -0
  280. package/lib/service/mailer/internal/index.js +69 -0
  281. package/lib/service/mothership/index.d.ts +97 -0
  282. package/lib/service/mothership/index.js +149 -0
  283. package/lib/service/nats/index.d.ts +49 -0
  284. package/lib/service/nats/index.js +138 -0
  285. package/lib/utils/Types.d.ts +1 -0
  286. package/lib/utils/Types.js +2 -0
  287. package/lib/utils/bouncer/features/Provider.d.ts +19 -0
  288. package/lib/utils/bouncer/features/Provider.js +101 -0
  289. package/package.json +37 -29
  290. package/lib/base.d.ts +0 -12
  291. package/lib/base.js +0 -8
  292. package/lib/hcloud.d.ts +0 -13
  293. package/lib/hcloud.js +0 -29
  294. package/lib/interfaces/Global.d.ts +0 -8
  295. package/lib/interfaces/IDP.d.ts +0 -9
  296. package/lib/interfaces/Mail.d.ts +0 -29
  297. package/lib/interfaces/Mail.js +0 -8
  298. package/lib/service/Auditor.d.ts +0 -22
  299. package/lib/service/Auditor.js +0 -61
  300. package/lib/service/AuditorInternal.d.ts +0 -28
  301. package/lib/service/AuditorInternal.js +0 -65
  302. package/lib/service/High5.d.ts +0 -4
  303. package/lib/service/High5.js +0 -9
  304. package/lib/service/IDP.d.ts +0 -39
  305. package/lib/service/IDP.js +0 -84
  306. package/lib/service/Mailer.d.ts +0 -13
  307. package/lib/service/MailerInternal.d.ts +0 -32
  308. package/lib/service/MailerInternal.js +0 -64
  309. /package/lib/interfaces/{Global.js → agent/bundle/dev/index.js} +0 -0
  310. /package/lib/interfaces/{IDP.js → agent/context/index.js} +0 -0
@@ -0,0 +1,75 @@
1
+ import { ReducedSpace } from "../../../global";
2
+ import { ReducedOrganization } from "../../../idp/organization";
3
+ import { ReducedUser } from "../../../idp/user";
4
+ import { ReducedEvent } from "../event";
5
+ export declare enum WebhookType {
6
+ EVENT = "EVENT",
7
+ SPACE = "SPACE",
8
+ FRAME_IO = "FRAME_IO"
9
+ }
10
+ export interface SecurityHeader {
11
+ key: string;
12
+ value: string;
13
+ }
14
+ export interface EventWebhook {
15
+ eventName: string;
16
+ }
17
+ export interface SpaceWebhook {
18
+ eventPrefix: string;
19
+ jsonPathMapping: string;
20
+ }
21
+ export interface FrameIoWebhook {
22
+ eventName: string;
23
+ secret: string;
24
+ }
25
+ export interface WebhookEncryptionSettings {
26
+ hmacHeaderName: string;
27
+ hmacAlgorithm: string;
28
+ hmacSecret: string;
29
+ }
30
+ export interface NetworkSettings {
31
+ addressWhiteList?: string[];
32
+ addressBlackList?: string[];
33
+ }
34
+ export interface Webhook {
35
+ _id: string;
36
+ name: string;
37
+ relativeUrl: string;
38
+ type: WebhookType;
39
+ sub: EventWebhook | SpaceWebhook | FrameIoWebhook;
40
+ webhookEncryptionSettings?: WebhookEncryptionSettings;
41
+ securityHeaders?: SecurityHeader[];
42
+ space: ReducedSpace;
43
+ target: string;
44
+ networkSettings?: NetworkSettings;
45
+ organization: ReducedOrganization;
46
+ creator: ReducedUser;
47
+ createDate: number;
48
+ modifyDate: number;
49
+ lastTriggered?: {
50
+ timestamp: number;
51
+ statusCode: number;
52
+ error?: string;
53
+ };
54
+ }
55
+ export type WebhookCreate = Pick<Webhook, "name" | "target" | "type" | "sub" | "webhookEncryptionSettings" | "securityHeaders" | "networkSettings">;
56
+ export type WebhookUpdate = Partial<WebhookCreate> & {
57
+ deleteWebhookEncryptionSettings?: boolean;
58
+ deleteSecurityHeaders?: boolean;
59
+ };
60
+ export interface WebhookLog {
61
+ _id: string;
62
+ webhookId: string;
63
+ space: ReducedSpace;
64
+ organization: ReducedOrganization;
65
+ event: ReducedEvent;
66
+ executeDate: number;
67
+ sourceIp: string;
68
+ completeHeader: KeyValuePair<string>;
69
+ requestBody: unknown;
70
+ responseStatusCode: number;
71
+ responseBody: string;
72
+ }
73
+ export interface KeyValuePair<T> {
74
+ [key: string]: T;
75
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WebhookType = void 0;
4
+ var WebhookType;
5
+ (function (WebhookType) {
6
+ WebhookType["EVENT"] = "EVENT";
7
+ WebhookType["SPACE"] = "SPACE";
8
+ WebhookType["FRAME_IO"] = "FRAME_IO";
9
+ })(WebhookType || (exports.WebhookType = WebhookType = {}));
@@ -0,0 +1,30 @@
1
+ export interface Release {
2
+ version: string;
3
+ link: string;
4
+ date: string;
5
+ commitGroups: CommitGroup[];
6
+ }
7
+ export declare enum CommitType {
8
+ feat = "Features",
9
+ fix = "Bug Fixes",
10
+ perf = "Performance Improvements",
11
+ refactor = "Refactorings",
12
+ docs = "Documentation",
13
+ style = "Style",
14
+ test = "Tests",
15
+ build = "Build",
16
+ ci = "CI",
17
+ chore = "Chore",
18
+ revert = "Reverts",
19
+ breaking = "BREAKING CHANGES"
20
+ }
21
+ export interface CommitGroup {
22
+ title: string;
23
+ type: CommitType;
24
+ commits: Commit[];
25
+ }
26
+ export interface Commit {
27
+ message: string;
28
+ hash: string;
29
+ url: string;
30
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CommitType = void 0;
4
+ var CommitType;
5
+ (function (CommitType) {
6
+ CommitType["feat"] = "Features";
7
+ CommitType["fix"] = "Bug Fixes";
8
+ CommitType["perf"] = "Performance Improvements";
9
+ CommitType["refactor"] = "Refactorings";
10
+ CommitType["docs"] = "Documentation";
11
+ CommitType["style"] = "Style";
12
+ CommitType["test"] = "Tests";
13
+ CommitType["build"] = "Build";
14
+ CommitType["ci"] = "CI";
15
+ CommitType["chore"] = "Chore";
16
+ CommitType["revert"] = "Reverts";
17
+ CommitType["breaking"] = "BREAKING CHANGES";
18
+ })(CommitType || (exports.CommitType = CommitType = {}));
@@ -0,0 +1,201 @@
1
+ export interface RegistryCatalog {
2
+ name: string;
3
+ description: string;
4
+ publisher: string;
5
+ url: string;
6
+ verified?: boolean;
7
+ featured?: boolean;
8
+ default?: boolean;
9
+ }
10
+ export interface CatalogRegistry {
11
+ catalogs: RegistryCatalog[];
12
+ }
13
+ export interface EngineRegistry {
14
+ engines: {
15
+ url: string;
16
+ }[];
17
+ }
18
+ export interface WaveEngine {
19
+ _id: string;
20
+ version: string;
21
+ url: string;
22
+ changeLog: string[];
23
+ md5: string;
24
+ dev?: boolean;
25
+ latest?: boolean;
26
+ }
27
+ export interface WaveCatalog {
28
+ _id: string;
29
+ version: string;
30
+ url: string;
31
+ changeLog: string[];
32
+ dev?: boolean;
33
+ minimumEngineVersion?: string;
34
+ }
35
+ export interface Engine {
36
+ name: string;
37
+ description: string;
38
+ logo?: string;
39
+ versions: WaveEngine[];
40
+ }
41
+ export interface Catalog {
42
+ name: string;
43
+ description: string;
44
+ logo?: string;
45
+ versions: WaveCatalog[];
46
+ }
47
+ export interface SpacePatchWaveEngine {
48
+ version: string;
49
+ url: string;
50
+ latest?: boolean;
51
+ }
52
+ export interface SpacePatchWaveCatalog {
53
+ version: string;
54
+ url: string;
55
+ minimumEngineVersion?: string;
56
+ }
57
+ export interface Specification {
58
+ nodes: StreamNodeSpecification[];
59
+ }
60
+ export interface StreamNodeSpecificationWrappedWithEngineVersion {
61
+ nodes: StreamNodeSpecifications[];
62
+ engineVersion: string;
63
+ }
64
+ export interface StreamNodeSpecification {
65
+ specVersion: number;
66
+ }
67
+ export type StreamNodeSpecifications = StreamNodeSpecificationV1 | StreamNodeSpecificationV2;
68
+ export interface StreamNodeSpecificationV1 extends StreamNodeSpecification {
69
+ specVersion: 1;
70
+ name: string;
71
+ description: string;
72
+ type: StreamNodeSpecificationType;
73
+ package: StreamNodeSpecificationPackage;
74
+ category: string;
75
+ version: StreamSemanticVersion;
76
+ author: StreamNodeSpecificationAuthor;
77
+ tag?: StreamNodeSpecificationTag;
78
+ inputs?: StreamNodeSpecificationInput[];
79
+ outputs?: StreamNodeSpecificationOutput[];
80
+ additionalConnectors?: StreamNodeSpecificationAdditionalConnector[];
81
+ path?: string;
82
+ customNode?: StreamCustomNodeSpecification;
83
+ }
84
+ export interface StreamNodeSpecificationV2 extends StreamNodeSpecification {
85
+ specVersion: 2;
86
+ name: string;
87
+ description: string;
88
+ category: string;
89
+ version: StreamSemanticVersion;
90
+ author: StreamNodeSpecificationAuthor;
91
+ tag?: StreamNodeSpecificationTag[];
92
+ inputs?: StreamNodeSpecificationInput[];
93
+ outputs?: StreamNodeSpecificationOutputV2[];
94
+ additionalConnectors?: StreamNodeSpecificationAdditionalConnector[];
95
+ path?: string;
96
+ customNode?: StreamCustomNodeSpecification;
97
+ }
98
+ /**
99
+ * This functions will return true when the specVersion is undefined to account for older catalogs/nodes
100
+ * that existed before the specVersion was introduced. It is therefore assumed that any node without a specVersion
101
+ * has a spec that matches version 1.
102
+ */
103
+ export declare function isStreamNodeSpecificationV1(s: StreamNodeSpecification): s is StreamNodeSpecificationV1;
104
+ export declare function isStreamNodeSpecificationV2(s: StreamNodeSpecification): s is StreamNodeSpecificationV2;
105
+ export interface StreamCustomNodeSpecification {
106
+ _id: string;
107
+ color?: string;
108
+ }
109
+ export interface StreamSemanticVersion {
110
+ /**
111
+ * changes effecting the user and are not backwards compatible (parameter changes)
112
+ */
113
+ major: number;
114
+ /**
115
+ * changes effecting the user but are backwards compatible (logic changes)
116
+ */
117
+ minor: number;
118
+ /**
119
+ * changes not effecting the user (bug fixes)
120
+ */
121
+ patch: number;
122
+ /**
123
+ * description for every change on the the node
124
+ */
125
+ changelog: string[];
126
+ }
127
+ export interface StreamNodeSpecificationAdditionalConnector {
128
+ name: string;
129
+ description: string;
130
+ }
131
+ export type StreamNodeSpecificationInput = {
132
+ name: string;
133
+ description: string;
134
+ defaultValue?: any;
135
+ example: any;
136
+ advanced?: boolean;
137
+ mandatory?: boolean;
138
+ } & ({
139
+ type: Exclude<StreamNodeSpecificationInputType, StreamNodeSpecificationInputType.STRING_SELECT>;
140
+ } | {
141
+ type: StreamNodeSpecificationInputType.STRING_SELECT;
142
+ options: Record<string, string | number>;
143
+ });
144
+ export interface StreamNodeSpecificationOutput {
145
+ name: string;
146
+ description: string;
147
+ type: StreamNodeSpecificationOutputType;
148
+ example: unknown;
149
+ howToAccess: string[];
150
+ }
151
+ export interface StreamNodeSpecificationOutputV2 {
152
+ name: string;
153
+ description: string;
154
+ type: StreamNodeSpecificationOutputType;
155
+ example: unknown;
156
+ }
157
+ export declare enum StreamNodeSpecificationInputType {
158
+ STRING = "STRING",
159
+ STRING_LONG = "STRING_LONG",
160
+ STRING_LIST = "STRING_LIST",
161
+ STRING_MAP = "STRING_MAP",
162
+ STRING_READONLY = "STRING_READONLY",
163
+ STRING_SELECT = "STRING_SELECT",
164
+ STRING_PASSWORD = "STRING_PASSWORD",
165
+ NUMBER = "NUMBER",
166
+ BOOLEAN = "BOOLEAN",
167
+ ANY = "ANY"
168
+ }
169
+ export declare enum StreamNodeSpecificationOutputType {
170
+ STRING = "STRING",
171
+ STRING_LONG = "STRING_LONG",
172
+ STRING_LIST = "STRING_LIST",
173
+ STRING_MAP = "STRING_MAP",
174
+ STRING_READONLY = "STRING_READONLY",
175
+ NUMBER = "NUMBER",
176
+ BOOLEAN = "BOOLEAN",
177
+ ANY = "ANY",
178
+ JSON = "JSON",
179
+ XML = "XML",
180
+ HTML = "HTML"
181
+ }
182
+ export interface StreamNodeSpecificationAuthor {
183
+ name: string;
184
+ company: string;
185
+ email: string;
186
+ }
187
+ export declare enum StreamNodeSpecificationType {
188
+ TRIGGER = "TRIGGER",
189
+ ACTION = "ACTION",
190
+ CONDITION = "CONDITION"
191
+ }
192
+ export declare enum StreamNodeSpecificationTag {
193
+ PREVIEW = "PREVIEW",
194
+ EXPERIMENTAL = "EXPERIMENTAL"
195
+ }
196
+ export declare enum StreamNodeSpecificationPackage {
197
+ CORE = "CORE",
198
+ DEV = "DEV",
199
+ THIRD_PARTY = "THIRD_PARTY",
200
+ CUSTOM = "CUSTOM"
201
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StreamNodeSpecificationPackage = exports.StreamNodeSpecificationTag = exports.StreamNodeSpecificationType = exports.StreamNodeSpecificationOutputType = exports.StreamNodeSpecificationInputType = void 0;
4
+ exports.isStreamNodeSpecificationV1 = isStreamNodeSpecificationV1;
5
+ exports.isStreamNodeSpecificationV2 = isStreamNodeSpecificationV2;
6
+ /**
7
+ * This functions will return true when the specVersion is undefined to account for older catalogs/nodes
8
+ * that existed before the specVersion was introduced. It is therefore assumed that any node without a specVersion
9
+ * has a spec that matches version 1.
10
+ */
11
+ function isStreamNodeSpecificationV1(s) {
12
+ return s.specVersion === undefined || s.specVersion === 1;
13
+ }
14
+ function isStreamNodeSpecificationV2(s) {
15
+ return s.specVersion === 2;
16
+ }
17
+ var StreamNodeSpecificationInputType;
18
+ (function (StreamNodeSpecificationInputType) {
19
+ StreamNodeSpecificationInputType["STRING"] = "STRING";
20
+ StreamNodeSpecificationInputType["STRING_LONG"] = "STRING_LONG";
21
+ StreamNodeSpecificationInputType["STRING_LIST"] = "STRING_LIST";
22
+ StreamNodeSpecificationInputType["STRING_MAP"] = "STRING_MAP";
23
+ StreamNodeSpecificationInputType["STRING_READONLY"] = "STRING_READONLY";
24
+ StreamNodeSpecificationInputType["STRING_SELECT"] = "STRING_SELECT";
25
+ StreamNodeSpecificationInputType["STRING_PASSWORD"] = "STRING_PASSWORD";
26
+ StreamNodeSpecificationInputType["NUMBER"] = "NUMBER";
27
+ StreamNodeSpecificationInputType["BOOLEAN"] = "BOOLEAN";
28
+ StreamNodeSpecificationInputType["ANY"] = "ANY";
29
+ })(StreamNodeSpecificationInputType || (exports.StreamNodeSpecificationInputType = StreamNodeSpecificationInputType = {}));
30
+ var StreamNodeSpecificationOutputType;
31
+ (function (StreamNodeSpecificationOutputType) {
32
+ StreamNodeSpecificationOutputType["STRING"] = "STRING";
33
+ StreamNodeSpecificationOutputType["STRING_LONG"] = "STRING_LONG";
34
+ StreamNodeSpecificationOutputType["STRING_LIST"] = "STRING_LIST";
35
+ StreamNodeSpecificationOutputType["STRING_MAP"] = "STRING_MAP";
36
+ StreamNodeSpecificationOutputType["STRING_READONLY"] = "STRING_READONLY";
37
+ StreamNodeSpecificationOutputType["NUMBER"] = "NUMBER";
38
+ StreamNodeSpecificationOutputType["BOOLEAN"] = "BOOLEAN";
39
+ StreamNodeSpecificationOutputType["ANY"] = "ANY";
40
+ StreamNodeSpecificationOutputType["JSON"] = "JSON";
41
+ StreamNodeSpecificationOutputType["XML"] = "XML";
42
+ StreamNodeSpecificationOutputType["HTML"] = "HTML";
43
+ })(StreamNodeSpecificationOutputType || (exports.StreamNodeSpecificationOutputType = StreamNodeSpecificationOutputType = {}));
44
+ var StreamNodeSpecificationType;
45
+ (function (StreamNodeSpecificationType) {
46
+ StreamNodeSpecificationType["TRIGGER"] = "TRIGGER";
47
+ StreamNodeSpecificationType["ACTION"] = "ACTION";
48
+ StreamNodeSpecificationType["CONDITION"] = "CONDITION";
49
+ })(StreamNodeSpecificationType || (exports.StreamNodeSpecificationType = StreamNodeSpecificationType = {}));
50
+ var StreamNodeSpecificationTag;
51
+ (function (StreamNodeSpecificationTag) {
52
+ StreamNodeSpecificationTag["PREVIEW"] = "PREVIEW";
53
+ StreamNodeSpecificationTag["EXPERIMENTAL"] = "EXPERIMENTAL";
54
+ })(StreamNodeSpecificationTag || (exports.StreamNodeSpecificationTag = StreamNodeSpecificationTag = {}));
55
+ var StreamNodeSpecificationPackage;
56
+ (function (StreamNodeSpecificationPackage) {
57
+ StreamNodeSpecificationPackage["CORE"] = "CORE";
58
+ StreamNodeSpecificationPackage["DEV"] = "DEV";
59
+ StreamNodeSpecificationPackage["THIRD_PARTY"] = "THIRD_PARTY";
60
+ StreamNodeSpecificationPackage["CUSTOM"] = "CUSTOM";
61
+ })(StreamNodeSpecificationPackage || (exports.StreamNodeSpecificationPackage = StreamNodeSpecificationPackage = {}));
@@ -0,0 +1,26 @@
1
+ export * from "./oauth";
2
+ export * from "./organization";
3
+ export * from "./organization/member";
4
+ export * from "./organization/member/invitations";
5
+ export * from "./organization/team";
6
+ export * from "./organization/settings/domain";
7
+ export * from "./organization/settings/domain/saml";
8
+ export * from "./organization/settings/oauthApp";
9
+ export * from "./user/GeneralSettings";
10
+ export * from "./user/Pat";
11
+ export * from "./user/Scopes";
12
+ export * from "./user/SuccessfulAuth";
13
+ export * from "./user/Totp";
14
+ export * from "./user";
15
+ export declare enum PreLoginPath {
16
+ LOGIN = "LOGIN",
17
+ REGISTER = "REGISTER",
18
+ VERIFY_EMAIL = "VERIFY_EMAIL",
19
+ EXTERNAL = "EXTERNAL"
20
+ }
21
+ export type PreLoginResponse = {
22
+ path: PreLoginPath.EXTERNAL;
23
+ location: string;
24
+ } | {
25
+ path: Exclude<PreLoginPath, PreLoginPath.EXTERNAL>;
26
+ };
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.PreLoginPath = void 0;
18
+ __exportStar(require("./oauth"), exports);
19
+ __exportStar(require("./organization"), exports);
20
+ __exportStar(require("./organization/member"), exports);
21
+ __exportStar(require("./organization/member/invitations"), exports);
22
+ __exportStar(require("./organization/team"), exports);
23
+ __exportStar(require("./organization/settings/domain"), exports);
24
+ __exportStar(require("./organization/settings/domain/saml"), exports);
25
+ __exportStar(require("./organization/settings/oauthApp"), exports);
26
+ __exportStar(require("./user/GeneralSettings"), exports);
27
+ __exportStar(require("./user/Pat"), exports);
28
+ __exportStar(require("./user/Scopes"), exports);
29
+ __exportStar(require("./user/SuccessfulAuth"), exports);
30
+ __exportStar(require("./user/Totp"), exports);
31
+ __exportStar(require("./user"), exports);
32
+ var PreLoginPath;
33
+ (function (PreLoginPath) {
34
+ PreLoginPath["LOGIN"] = "LOGIN";
35
+ PreLoginPath["REGISTER"] = "REGISTER";
36
+ PreLoginPath["VERIFY_EMAIL"] = "VERIFY_EMAIL";
37
+ PreLoginPath["EXTERNAL"] = "EXTERNAL";
38
+ })(PreLoginPath || (exports.PreLoginPath = PreLoginPath = {}));
@@ -0,0 +1,19 @@
1
+ import { Scope } from "../user/Scopes";
2
+ export interface OAuthTokenRequest {
3
+ code: string;
4
+ clientId: string;
5
+ clientSecret: string;
6
+ redirectUri: string;
7
+ }
8
+ export interface OAuthToken {
9
+ id_token?: string;
10
+ access_token?: string;
11
+ refresh_token?: string;
12
+ token_type?: string;
13
+ expires_in?: number;
14
+ scope?: Scope[];
15
+ }
16
+ export declare enum GrantType {
17
+ AUTHORIZATION_CODE = "authorization_code",
18
+ REFRESH_TOKEN = "refresh_token"
19
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GrantType = void 0;
4
+ var GrantType;
5
+ (function (GrantType) {
6
+ GrantType["AUTHORIZATION_CODE"] = "authorization_code";
7
+ GrantType["REFRESH_TOKEN"] = "refresh_token";
8
+ })(GrantType || (exports.GrantType = GrantType = {}));
@@ -0,0 +1,32 @@
1
+ import { ReducedUser } from "../user";
2
+ import { License } from "./license";
3
+ import { ReducedTeam } from "./team";
4
+ export * from "./license";
5
+ export declare enum OrganizationRole {
6
+ MEMBER = "MEMBER",// Part of org, but cannot change anything
7
+ MANAGER = "MANAGER",// Can update members
8
+ ADMIN = "ADMIN",// Can update org and members
9
+ OWNER = "OWNER"
10
+ }
11
+ export interface Organization {
12
+ _id: string;
13
+ name: string;
14
+ isUserOrganization: boolean;
15
+ company: string;
16
+ creator: ReducedUser;
17
+ avatarUrl: string;
18
+ roleOfUser: OrganizationRole;
19
+ createDate: number;
20
+ modifyDate: number;
21
+ teamsOfUser?: ReducedTeam[];
22
+ membersSample?: ReducedUser[];
23
+ totalMemberCount?: number;
24
+ license?: License;
25
+ }
26
+ export type ReducedOrganization = Pick<Organization, "_id" | "name" | "avatarUrl">;
27
+ export type OrganizationQueryOptions = {
28
+ getTeamsOfUser?: boolean;
29
+ getMembersSample?: number;
30
+ getTotalMemberCount?: boolean;
31
+ getLicense?: boolean;
32
+ };
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.OrganizationRole = void 0;
18
+ __exportStar(require("./license"), exports);
19
+ var OrganizationRole;
20
+ (function (OrganizationRole) {
21
+ OrganizationRole["MEMBER"] = "MEMBER";
22
+ OrganizationRole["MANAGER"] = "MANAGER";
23
+ OrganizationRole["ADMIN"] = "ADMIN";
24
+ OrganizationRole["OWNER"] = "OWNER";
25
+ })(OrganizationRole || (exports.OrganizationRole = OrganizationRole = {}));
@@ -0,0 +1,84 @@
1
+ import { ReducedUser } from "../../user";
2
+ export type License = {
3
+ tier: LicenseTier;
4
+ type: LicenseType;
5
+ billingId?: string;
6
+ quota: LicenseQuota;
7
+ creator?: ReducedUser;
8
+ contact?: ReducedUser;
9
+ expireDate: number;
10
+ createDate: number;
11
+ };
12
+ export type LicenseQuota = {
13
+ idp: {
14
+ organization: {
15
+ members: {
16
+ quota: number;
17
+ };
18
+ agents: {
19
+ quota: number;
20
+ };
21
+ teams: {
22
+ quota: number;
23
+ };
24
+ domains: {
25
+ quota: number;
26
+ };
27
+ logPeriodInDays: number;
28
+ };
29
+ };
30
+ high5: {
31
+ spaces: {
32
+ quota: number;
33
+ catalogs: {
34
+ quota: number;
35
+ };
36
+ customCatalogs: {
37
+ quota: number;
38
+ };
39
+ customNodes: {
40
+ quota: number;
41
+ };
42
+ webhooks: {
43
+ quota: number;
44
+ logs: {
45
+ quota: number;
46
+ };
47
+ };
48
+ secrets: {
49
+ quota: number;
50
+ };
51
+ events: {
52
+ quota: number;
53
+ streams: {
54
+ quota: number;
55
+ };
56
+ };
57
+ };
58
+ executionsPerMonth: {
59
+ quota: number;
60
+ };
61
+ };
62
+ fuse: {
63
+ spaces: {
64
+ quota: number;
65
+ jobs: {
66
+ quota: number;
67
+ logs: {
68
+ quota: number;
69
+ };
70
+ };
71
+ };
72
+ secondBaseExecutions: boolean;
73
+ };
74
+ };
75
+ export declare enum LicenseTier {
76
+ FREE = "FREE",
77
+ PRO = "PRO",
78
+ ENTERPRISE = "ENTERPRISE"
79
+ }
80
+ export declare enum LicenseType {
81
+ PRODUCTION = "PRODUCTION",
82
+ POC = "POC",
83
+ THIRD_PARTY = "THIRD_PARTY"
84
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LicenseType = exports.LicenseTier = void 0;
4
+ var LicenseTier;
5
+ (function (LicenseTier) {
6
+ LicenseTier["FREE"] = "FREE";
7
+ LicenseTier["PRO"] = "PRO";
8
+ LicenseTier["ENTERPRISE"] = "ENTERPRISE";
9
+ })(LicenseTier || (exports.LicenseTier = LicenseTier = {}));
10
+ var LicenseType;
11
+ (function (LicenseType) {
12
+ LicenseType["PRODUCTION"] = "PRODUCTION";
13
+ LicenseType["POC"] = "POC";
14
+ LicenseType["THIRD_PARTY"] = "THIRD_PARTY";
15
+ })(LicenseType || (exports.LicenseType = LicenseType = {}));
@@ -0,0 +1,15 @@
1
+ import { OrganizationRole } from "..";
2
+ export interface OrganizationMember {
3
+ _id: string;
4
+ email: string;
5
+ name: string;
6
+ avatarUrl: string;
7
+ role: OrganizationRole;
8
+ }
9
+ export interface OrgMemberCreate {
10
+ email: string;
11
+ role: OrganizationRole;
12
+ }
13
+ export interface OrgMemberPatch {
14
+ role: OrganizationRole;
15
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });