hcloud-sdk 17.0.0 → 18.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.
- package/changelog.md +176 -76
- package/lib/Base.d.ts +2 -1
- package/lib/Hcloud.d.ts +6 -3
- package/lib/Hcloud.js +16 -5
- package/lib/helper/ValidationHelper.d.ts +10 -2
- package/lib/helper/ValidationHelper.js +55 -7
- package/lib/interfaces/auditor/index.d.ts +13 -2
- package/lib/interfaces/auditor/index.js +9 -1
- package/lib/interfaces/cosmo/asset/index.d.ts +185 -0
- package/lib/interfaces/cosmo/asset/index.js +82 -0
- package/lib/interfaces/cosmo/comment/index.d.ts +38 -0
- package/lib/interfaces/cosmo/comment/index.js +8 -0
- package/lib/interfaces/cosmo/event/index.d.ts +31 -0
- package/lib/interfaces/cosmo/event/index.js +17 -0
- package/lib/interfaces/cosmo/location/index.d.ts +4 -0
- package/lib/interfaces/cosmo/namespace/index.d.ts +9 -0
- package/lib/interfaces/cosmo/namespace/index.js +9 -0
- package/lib/interfaces/cosmo/permissions.d.ts +96 -0
- package/lib/interfaces/cosmo/permissions.js +58 -0
- package/lib/interfaces/cosmo/share/index.d.ts +28 -0
- package/lib/interfaces/cosmo/share/index.js +2 -0
- package/lib/interfaces/cosmo/space/index.d.ts +25 -0
- package/lib/interfaces/cosmo/space/index.js +2 -0
- package/lib/interfaces/cosmo/tag/tag.d.ts +12 -0
- package/lib/interfaces/cosmo/tag/tag.js +2 -0
- package/lib/interfaces/global/Products.d.ts +2 -2
- package/lib/interfaces/global/Products.js +1 -1
- package/lib/interfaces/high5/index.d.ts +7 -7
- package/lib/interfaces/high5/index.js +7 -7
- package/lib/interfaces/{friday → high5}/space/database/document/index.d.ts +1 -1
- package/lib/interfaces/{friday → high5}/space/database/document/index.js +2 -1
- package/lib/interfaces/high5/space/database/index.js +2 -0
- package/lib/interfaces/high5/space/event/stream/design/StreamDesign.d.ts +9 -2
- package/lib/interfaces/high5/space/execution/index.d.ts +2 -1
- package/lib/interfaces/high5/space/job/JobLog.d.ts +16 -0
- package/lib/interfaces/high5/space/job/JobLog.js +2 -0
- package/lib/interfaces/high5/space/job/index.d.ts +38 -0
- package/lib/interfaces/high5/space/job/index.js +8 -0
- package/lib/interfaces/high5/stats.d.ts +21 -0
- package/lib/interfaces/high5/stats.js +2 -0
- package/lib/interfaces/idp/oauth/index.d.ts +4 -3
- package/lib/interfaces/idp/organization/index.d.ts +1 -0
- package/lib/interfaces/idp/organization/index.js +1 -0
- package/lib/interfaces/idp/organization/license/index.d.ts +13 -11
- package/lib/interfaces/idp/organization/member/index.d.ts +1 -0
- package/lib/interfaces/idp/organization/stats.d.ts +7 -0
- package/lib/interfaces/idp/organization/stats.js +2 -0
- package/lib/interfaces/idp/organization/team/index.d.ts +0 -1
- package/lib/interfaces/idp/user/Message.d.ts +21 -0
- package/lib/interfaces/idp/user/Message.js +14 -0
- package/lib/interfaces/idp/user/NotificationSettings.d.ts +1 -0
- package/lib/interfaces/idp/user/Scopes.d.ts +1 -7
- package/lib/interfaces/idp/user/Scopes.js +0 -9
- package/lib/interfaces/idp/user/index.d.ts +2 -1
- package/lib/interfaces/mailer/index.d.ts +30 -1
- package/lib/interfaces/mailer/index.js +87 -1
- package/lib/interfaces/mothership/index.d.ts +3 -1
- package/lib/interfaces/mothership/index.js +15 -0
- package/lib/interfaces/mothership/stats.d.ts +4 -0
- package/lib/interfaces/mothership/stats.js +2 -0
- package/lib/interfaces/nats/index.d.ts +54 -24
- package/lib/interfaces/nats/index.js +87 -58
- package/lib/interfaces/shorts/index.d.ts +10 -0
- package/lib/interfaces/shorts/index.js +2 -0
- package/lib/service/agent/bundle/dev/index.d.ts +16 -6
- package/lib/service/agent/bundle/dev/index.js +12 -10
- package/lib/service/agent/bundle/index.d.ts +10 -4
- package/lib/service/agent/bundle/index.js +6 -6
- package/lib/service/agent/context/index.d.ts +22 -8
- package/lib/service/agent/context/index.js +15 -14
- package/lib/service/auditor/index.d.ts +8 -4
- package/lib/service/auditor/index.js +5 -5
- package/lib/service/auditor/internal/index.d.ts +27 -3
- package/lib/service/auditor/internal/index.js +34 -5
- package/lib/service/bouncer/features/index.d.ts +4 -2
- package/lib/service/bouncer/features/index.js +2 -2
- package/lib/service/cosmo/asset/index.d.ts +219 -0
- package/lib/service/cosmo/asset/index.js +314 -0
- package/lib/service/cosmo/comment/index.d.ts +122 -0
- package/lib/service/cosmo/comment/index.js +161 -0
- package/lib/service/cosmo/event/index.d.ts +23 -0
- package/lib/service/cosmo/event/index.js +40 -0
- package/lib/service/cosmo/folder/index.d.ts +27 -0
- package/lib/service/cosmo/folder/index.js +47 -0
- package/lib/service/cosmo/index.d.ts +49 -0
- package/lib/service/cosmo/index.js +119 -0
- package/lib/service/cosmo/internal/index.d.ts +7 -0
- package/lib/service/cosmo/internal/index.js +17 -0
- package/lib/service/cosmo/internal/space/index.d.ts +15 -0
- package/lib/service/cosmo/internal/space/index.js +34 -0
- package/lib/service/cosmo/location/index.d.ts +40 -0
- package/lib/service/cosmo/location/index.js +63 -0
- package/lib/service/cosmo/namespace/index.d.ts +42 -0
- package/lib/service/cosmo/namespace/index.js +65 -0
- package/lib/service/cosmo/organization/index.d.ts +47 -0
- package/lib/service/cosmo/organization/index.js +64 -0
- package/lib/service/cosmo/permissions/index.d.ts +131 -0
- package/lib/service/cosmo/permissions/index.js +181 -0
- package/lib/service/cosmo/production/index.d.ts +26 -0
- package/lib/service/cosmo/production/index.js +45 -0
- package/lib/service/cosmo/share/index.d.ts +161 -0
- package/lib/service/cosmo/share/index.js +215 -0
- package/lib/service/cosmo/space/index.d.ts +104 -0
- package/lib/service/cosmo/space/index.js +146 -0
- package/lib/service/cosmo/tag/index.d.ts +67 -0
- package/lib/service/cosmo/tag/index.js +93 -0
- package/lib/service/dali/avatar/DaliCosmoSpace.d.ts +10 -4
- package/lib/service/dali/avatar/DaliCosmoSpace.js +8 -7
- package/lib/service/dali/avatar/DaliFuseSpace.d.ts +10 -4
- package/lib/service/dali/avatar/DaliFuseSpace.js +7 -6
- package/lib/service/dali/avatar/DaliHigh5Pool.d.ts +10 -4
- package/lib/service/dali/avatar/DaliHigh5Pool.js +7 -6
- package/lib/service/dali/avatar/DaliHigh5Space.d.ts +10 -4
- package/lib/service/dali/avatar/DaliHigh5Space.js +7 -6
- package/lib/service/dali/avatar/DaliOAuthApp.d.ts +10 -4
- package/lib/service/dali/avatar/DaliOAuthApp.js +7 -6
- package/lib/service/dali/avatar/DaliOrganization.d.ts +10 -4
- package/lib/service/dali/avatar/DaliOrganization.js +7 -6
- package/lib/service/dali/avatar/DaliServiceAccount.d.ts +10 -4
- package/lib/service/dali/avatar/DaliServiceAccount.js +7 -6
- package/lib/service/dali/avatar/DaliTeam.d.ts +10 -4
- package/lib/service/dali/avatar/DaliTeam.js +7 -6
- package/lib/service/dali/avatar/DaliUser.d.ts +10 -4
- package/lib/service/dali/avatar/DaliUser.js +7 -6
- package/lib/service/dali/index.d.ts +4 -5
- package/lib/service/dali/index.js +2 -5
- package/lib/service/fuse/index.d.ts +4 -2
- package/lib/service/fuse/index.js +2 -2
- package/lib/service/fuse/internal/index.d.ts +4 -2
- package/lib/service/fuse/internal/index.js +3 -2
- package/lib/service/fuse/internal/space/cronjob/log/index.d.ts +4 -2
- package/lib/service/fuse/internal/space/cronjob/log/index.js +2 -2
- package/lib/service/fuse/internal/space/index.d.ts +7 -3
- package/lib/service/fuse/internal/space/index.js +6 -4
- package/lib/service/fuse/space/cronjob/index.d.ts +35 -13
- package/lib/service/fuse/space/cronjob/index.js +48 -50
- package/lib/service/fuse/space/cronjob/log/index.d.ts +8 -4
- package/lib/service/fuse/space/cronjob/log/index.js +5 -5
- package/lib/service/fuse/space/index.d.ts +27 -11
- package/lib/service/fuse/space/index.js +19 -18
- package/lib/service/high5/execution/index.d.ts +4 -2
- package/lib/service/high5/execution/index.js +3 -2
- package/lib/service/high5/execution/status/index.d.ts +5 -3
- package/lib/service/high5/execution/status/index.js +3 -3
- package/lib/service/high5/index.d.ts +7 -2
- package/lib/service/high5/index.js +9 -2
- package/lib/service/high5/internal/index.d.ts +4 -2
- package/lib/service/high5/internal/index.js +3 -2
- package/lib/service/high5/internal/space/index.d.ts +10 -3
- package/lib/service/high5/internal/space/index.js +13 -4
- package/lib/service/high5/internal/space/job/index.d.ts +7 -0
- package/lib/service/high5/internal/space/job/index.js +17 -0
- package/lib/service/high5/internal/space/job/log/index.d.ts +17 -0
- package/lib/service/high5/internal/space/job/log/index.js +34 -0
- package/lib/service/high5/joinToken/index.d.ts +14 -6
- package/lib/service/high5/joinToken/index.js +10 -9
- package/lib/service/high5/space/database/document/array/index.d.ts +73 -0
- package/lib/service/high5/space/database/document/array/index.js +102 -0
- package/lib/service/{friday → high5}/space/database/document/index.d.ts +26 -10
- package/lib/service/{friday → high5}/space/database/document/index.js +31 -16
- package/lib/service/high5/space/database/document/number/index.d.ts +51 -0
- package/lib/service/high5/space/database/document/number/index.js +77 -0
- package/lib/service/{friday → high5}/space/database/index.d.ts +22 -12
- package/lib/service/{friday → high5}/space/database/index.js +18 -17
- package/lib/service/high5/space/event/index.d.ts +17 -7
- package/lib/service/high5/space/event/index.js +12 -11
- package/lib/service/high5/space/event/stream/design/DesignOperations.d.ts +4 -2
- package/lib/service/high5/space/event/stream/design/DesignOperations.js +2 -2
- package/lib/service/high5/space/event/stream/design/index.d.ts +10 -4
- package/lib/service/high5/space/event/stream/design/index.js +7 -6
- package/lib/service/high5/space/event/stream/design/snapshot/index.d.ts +16 -6
- package/lib/service/high5/space/event/stream/design/snapshot/index.js +12 -10
- package/lib/service/high5/space/event/stream/index.d.ts +32 -12
- package/lib/service/high5/space/event/stream/index.js +22 -21
- package/lib/service/high5/space/execution/index.d.ts +19 -7
- package/lib/service/high5/space/execution/index.js +17 -12
- package/lib/service/high5/space/execution/log/index.d.ts +8 -4
- package/lib/service/high5/space/execution/log/index.js +5 -5
- package/lib/service/high5/space/execution/status/index.d.ts +7 -3
- package/lib/service/high5/space/execution/status/index.js +4 -4
- package/lib/service/high5/space/index.d.ts +43 -14
- package/lib/service/high5/space/index.js +45 -23
- package/lib/service/high5/space/job/index.d.ts +145 -0
- package/lib/service/high5/space/job/index.js +201 -0
- package/lib/service/high5/space/job/log/index.d.ts +35 -0
- package/lib/service/high5/space/job/log/index.js +58 -0
- package/lib/service/high5/space/node/index.d.ts +20 -8
- package/lib/service/high5/space/node/index.js +14 -13
- package/lib/service/high5/space/pool/index.d.ts +27 -11
- package/lib/service/high5/space/pool/index.js +19 -18
- package/lib/service/high5/space/secret/index.d.ts +17 -7
- package/lib/service/high5/space/secret/index.js +12 -11
- package/lib/service/high5/space/stat/index.d.ts +12 -0
- package/lib/service/high5/space/stat/index.js +31 -0
- package/lib/service/high5/space/wave/index.d.ts +16 -6
- package/lib/service/high5/space/wave/index.js +11 -10
- package/lib/service/high5/space/webhook/index.d.ts +32 -12
- package/lib/service/high5/space/webhook/index.js +25 -21
- package/lib/service/high5/space/webhook/log/index.d.ts +4 -2
- package/lib/service/high5/space/webhook/log/index.js +2 -2
- package/lib/service/high5/stat/index.d.ts +11 -0
- package/lib/service/high5/stat/index.js +30 -0
- package/lib/service/high5/wave/s3/index.d.ts +31 -8
- package/lib/service/high5/wave/s3/index.js +42 -21
- package/lib/service/idp/guest/index.d.ts +42 -0
- package/lib/service/idp/guest/index.js +66 -0
- package/lib/service/idp/index.d.ts +25 -7
- package/lib/service/idp/index.js +23 -12
- package/lib/service/idp/internal/index.d.ts +5 -3
- package/lib/service/idp/internal/index.js +5 -3
- package/lib/service/idp/oauth/index.d.ts +16 -6
- package/lib/service/idp/oauth/index.js +15 -15
- package/lib/service/idp/organization/index.d.ts +19 -5
- package/lib/service/idp/organization/index.js +19 -8
- package/lib/service/idp/organization/license/index.d.ts +7 -3
- package/lib/service/idp/organization/license/index.js +4 -4
- package/lib/service/idp/organization/member/index.d.ts +20 -8
- package/lib/service/idp/organization/member/index.js +15 -13
- package/lib/service/idp/organization/member/invitations/index.d.ts +23 -9
- package/lib/service/idp/organization/member/invitations/index.js +72 -59
- package/lib/service/idp/organization/service-accounts/index.d.ts +20 -8
- package/lib/service/idp/organization/service-accounts/index.js +13 -12
- package/lib/service/idp/organization/settings/domain/index.d.ts +13 -5
- package/lib/service/idp/organization/settings/domain/index.js +9 -8
- package/lib/service/idp/organization/settings/domain/saml/index.d.ts +16 -6
- package/lib/service/idp/organization/settings/domain/saml/index.js +19 -18
- package/lib/service/idp/organization/settings/oauth/index.d.ts +23 -9
- package/lib/service/idp/organization/settings/oauth/index.js +16 -15
- package/lib/service/idp/organization/stat/index.d.ts +11 -0
- package/lib/service/idp/organization/stat/index.js +30 -0
- package/lib/service/idp/organization/team/index.d.ts +22 -10
- package/lib/service/idp/organization/team/index.js +14 -13
- package/lib/service/idp/registration/index.d.ts +10 -4
- package/lib/service/idp/registration/index.js +15 -9
- package/lib/service/idp/user/index.d.ts +33 -11
- package/lib/service/idp/user/index.js +29 -16
- package/lib/service/idp/user/license/index.d.ts +7 -3
- package/lib/service/idp/user/license/index.js +4 -4
- package/lib/service/idp/user/message/index.d.ts +61 -0
- package/lib/service/idp/user/message/index.js +92 -0
- package/lib/service/idp/user/password/index.d.ts +4 -2
- package/lib/service/idp/user/password/index.js +2 -2
- package/lib/service/idp/user/settings/connections/index.d.ts +4 -2
- package/lib/service/idp/user/settings/connections/index.js +2 -2
- package/lib/service/idp/user/settings/general/index.d.ts +10 -4
- package/lib/service/idp/user/settings/general/index.js +6 -6
- package/lib/service/idp/user/settings/notifications/index.d.ts +7 -3
- package/lib/service/idp/user/settings/notifications/index.js +4 -4
- package/lib/service/idp/user/settings/oauthApps/index.d.ts +7 -3
- package/lib/service/idp/user/settings/oauthApps/index.js +6 -5
- package/lib/service/idp/user/settings/pats/index.d.ts +22 -8
- package/lib/service/idp/user/settings/pats/index.js +17 -15
- package/lib/service/idp/user/settings/twoFactor/totp/index.d.ts +16 -6
- package/lib/service/idp/user/settings/twoFactor/totp/index.js +13 -10
- package/lib/service/mailer/index.d.ts +4 -2
- package/lib/service/mailer/index.js +2 -2
- package/lib/service/mailer/internal/index.d.ts +13 -5
- package/lib/service/mailer/internal/index.js +8 -8
- package/lib/service/mothership/index.d.ts +35 -13
- package/lib/service/mothership/index.js +32 -17
- package/lib/service/nats/index.js +58 -43
- package/lib/service/shorts/index.d.ts +18 -0
- package/lib/service/{friday → shorts}/index.js +13 -10
- package/lib/service/shorts/internal/index.d.ts +72 -0
- package/lib/service/shorts/internal/index.js +104 -0
- package/package.json +1 -1
- package/lib/interfaces/friday/index.d.ts +0 -3
- package/lib/interfaces/friday/index.js +0 -19
- package/lib/interfaces/friday/space/index.d.ts +0 -21
- package/lib/interfaces/friday/space/index.js +0 -11
- package/lib/service/friday/index.d.ts +0 -13
- package/lib/service/friday/space/index.d.ts +0 -81
- package/lib/service/friday/space/index.js +0 -150
- /package/lib/interfaces/{friday/space/database → cosmo/location}/index.js +0 -0
- /package/lib/interfaces/{friday → high5}/space/database/index.d.ts +0 -0
package/changelog.md
CHANGED
|
@@ -1,90 +1,190 @@
|
|
|
1
|
-
## [
|
|
1
|
+
## [18.0.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v17.0.0...v18.0.0) (2025-11-24)
|
|
2
2
|
|
|
3
3
|
### ⚠ BREAKING CHANGES
|
|
4
4
|
|
|
5
|
-
*
|
|
6
|
-
* add
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
5
|
+
* remove unused single asset move endpoint
|
|
6
|
+
* add namespaceName parameter to tag methods
|
|
7
|
+
* entity of DetailedRole.permissions
|
|
8
|
+
* remove asset tags and categories
|
|
9
|
+
* asset status definition
|
|
10
|
+
* move fetchShareAssets to /shareId/assets
|
|
10
11
|
|
|
11
12
|
### Features
|
|
12
13
|
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* add
|
|
16
|
-
* add cosmo
|
|
17
|
-
* add
|
|
18
|
-
* add
|
|
19
|
-
* add
|
|
20
|
-
* add
|
|
21
|
-
* add
|
|
22
|
-
* add
|
|
23
|
-
* add
|
|
24
|
-
* add
|
|
25
|
-
* add
|
|
26
|
-
* add
|
|
27
|
-
* add
|
|
28
|
-
* add
|
|
29
|
-
* add
|
|
30
|
-
* add
|
|
31
|
-
* add
|
|
32
|
-
* add
|
|
33
|
-
* add
|
|
34
|
-
* add
|
|
35
|
-
* add
|
|
36
|
-
* add
|
|
37
|
-
* add
|
|
38
|
-
* add
|
|
39
|
-
* add
|
|
40
|
-
* add
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
14
|
+
* adapt changes for asset controller ([71fea3c](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/71fea3c2427d2f286bb144b358747fbac4a63d48))
|
|
15
|
+
* adapt changes for asset controller ([b56421a](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/b56421a07bba84d215d54e28d6f8db8d78646493))
|
|
16
|
+
* add assetId, commentType and missing commentType property to comment and reply interface ([2b25228](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/2b2522869ef8e8da9e16fbde1822aa1dd84604b6))
|
|
17
|
+
* add cosmo to notification settings ([f9d8d69](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/f9d8d6918d380569416be0121ba035e695abd660))
|
|
18
|
+
* add cosmo values to auditor enums ([eacf837](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/eacf8371fa91d3cadf175a58629bd3e078fef070))
|
|
19
|
+
* add COSMO_NEW_SHARE mail template ([e6750c3](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/e6750c313fa22dc1df6724e2d4db8567b84d3778))
|
|
20
|
+
* add cosmoPermissions ([a6c94e4](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/a6c94e429b500485c44601fb864902eae7905e18))
|
|
21
|
+
* add defaultStatus parameter to createNamespace ([e9db3d9](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/e9db3d979afe796be3bb7cbb45bb7db81c1f41f8))
|
|
22
|
+
* add email for share password changed ([5109bde](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/5109bde9db1cd00aa6312b8d15b439484ef26d7d))
|
|
23
|
+
* add email to reducedUser ([44ae7db](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/44ae7db89780761497186384737510626a430652))
|
|
24
|
+
* add endpoint for bulk cosmo events creation ([b08eb61](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/b08eb614f582a4493b373e6991b4ad521a1040d0))
|
|
25
|
+
* add endpoint to search share assets ([ff3d504](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/ff3d504c02395bfe71b83fa1d17b4c04aa3f01f4))
|
|
26
|
+
* add fetchAssetActivity to cosmo ([24d8a9c](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/24d8a9c8aff0d0cd65c64f005d3ed19d7e926e81))
|
|
27
|
+
* add getChangelog (catalog) and disable authorization for other s3 calls ([69eb8b4](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/69eb8b44259690130d3f9d8e7ea64adffe7910bb))
|
|
28
|
+
* add grant_type to code exchange call ([4b670e7](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/4b670e79bc2a21855dd46e6820e349b36cb9dc50))
|
|
29
|
+
* add guest methods ([f2d3903](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/f2d39039670c632a06af05ef61f7745412d0ce95))
|
|
30
|
+
* add includePermissions parameter to getAsset ([633d70e](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/633d70ed9c2c3bdfc49fd96afb313244fd4086b0))
|
|
31
|
+
* add includeTrash option in search assets ([b8b56fa](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/b8b56fa2be7ab70e52bd734123ae8341c7a5b406))
|
|
32
|
+
* add internal cosmo endpoint for space/org housekeep ([4d5f9bb](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/4d5f9bbf7bf57fe6bfc38a5cf425f666b3005df4))
|
|
33
|
+
* add internal endpoints for audit logs housekeep after asset deletion ([4a34ff1](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/4a34ff19607330505fd9687c1a95cecefc187604))
|
|
34
|
+
* add isAgent to reduced user type ([5a18ba5](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/5a18ba588c8b78495b384e1ad7ea915c505dd0b8))
|
|
35
|
+
* add isGuest to user DTOs ([99ff341](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/99ff3419398ce9efee8bff819c8ea80355bbb805))
|
|
36
|
+
* add listSpaceUsers to cosmo ([f90eda5](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/f90eda5bb9920a11fa0b3e7582ee0b26da7a2060))
|
|
37
|
+
* add mentioned users to comment ([e8e35cb](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/e8e35cb01d6675ed46d1bb3bb2c1abb9f257c6c2))
|
|
38
|
+
* add method to fetch share details ([e6a18f8](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/e6a18f8925850b074b33faa9eb43b5a3b1b405be))
|
|
39
|
+
* add missing endpoints to assign tags to asset and remove them ([a41dd57](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/a41dd57b1b4676f2431a2fd18744d24b0bc01dff))
|
|
40
|
+
* add multiple methods to interact with shares ([4b06d01](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/4b06d01403459e7050945ba184b4137bf38f6a78))
|
|
41
|
+
* add namespace parameter to cosmo org search ([6554adc](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/6554adc486742ed7142c641a98582afc5d70310e))
|
|
42
|
+
* add namespace parameter to fetch asset ([bfaea15](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/bfaea15fc6389b210cb88ff68ea42844b2ba910d))
|
|
43
|
+
* add namespace parameter to trash asset search ([2d5360c](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/2d5360c52ef7c78288c6b7b41ddb3c996faeb940))
|
|
44
|
+
* add namespace support to Asset ([c35eacd](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/c35eacd4f6ca9e80fd1c3d39aa096922488bf751))
|
|
45
|
+
* add nats support for shares ([9373df1](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/9373df10d777468695f181f11f95c4077cc9e176))
|
|
46
|
+
* add patch share method ([b5aecd5](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/b5aecd5d1461b52cb1564fb6e3c7a3d44957a891))
|
|
47
|
+
* add permissions enum to SDK ([ef6853c](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/ef6853cddb4a4d5cd5ab2d7d15125bc1016c314b))
|
|
48
|
+
* add permissions to cosmo assets ([096bf2d](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/096bf2da631930b2c4183a3776a61a150544fec1))
|
|
49
|
+
* add reduced space and org to base asset interface ([db2d177](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/db2d1772729f393774624a3484d2047b812c769e))
|
|
50
|
+
* add replies to comments ([6632e46](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/6632e463a407fcbe2bd55ed32fba72ff014f6c03))
|
|
51
|
+
* add reply as possible return type to comment operations ([52013d8](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/52013d8e19f224de20f2a8c105c118069de014c0))
|
|
52
|
+
* add roles to nats subject ([4c93654](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/4c936540291aa57fe3c7130f880c0e57811c67d3))
|
|
53
|
+
* add shared parent to assets and folders ([7c12f86](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/7c12f86d4e85bc64cd0f115257cef720e81d535f))
|
|
54
|
+
* add shareIdHMAC to share's linkShare ([f374bd8](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/f374bd85d6f86f9ffad45d60b54268676a8b18be))
|
|
55
|
+
* add Shorts backend ([56d19e2](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/56d19e2dd004c696edc9aea347c82510246f7f65))
|
|
56
|
+
* add sorting to assetSearch ([b089d70](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/b089d70a67ca946d9e38354d63aaf3c27c8a365b))
|
|
57
|
+
* add space link and unlink endpoints; update cosmo space interface ([16e6851](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/16e6851758c752773c62ea534c91bcfacc783959))
|
|
58
|
+
* add status to nats subject and to log event type ([2da48a7](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/2da48a70f344f04d89c23277769a26cc81e68659))
|
|
59
|
+
* add storageUsed to cosmo spaces ([e226eb1](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/e226eb17995c6febff0a5db634654935c628649c))
|
|
60
|
+
* add support for ids without leading underscore ([e375732](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/e3757322cce21e6fafd32d93ff68ca3a19cd7a35))
|
|
61
|
+
* add support to load reply samples ([d5835ec](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/d5835ecdedfbf9920ad4c9f4f091d8254423fa2c))
|
|
62
|
+
* add supported file extensions ([2e27f26](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/2e27f269d39a85426afa9493b6046315e3f7bc07))
|
|
63
|
+
* add tag name and color validation ([46b08cf](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/46b08cf327c7502b4426ab9b05038bc95373ed03))
|
|
64
|
+
* add tag reference to asset interface ([7dcae30](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/7dcae30710551dd32e049fb9933e5d3a2364dd35))
|
|
65
|
+
* add tag to auditor logging events ([a2a89cd](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/a2a89cdf7e3fa357ada0874f61c8583a5c69a89f))
|
|
66
|
+
* add tags crud endpoints ([263d05b](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/263d05b2f10b6534cf774d7d60650238d60dea30))
|
|
67
|
+
* add tags to nats subject ([0dc2d8d](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/0dc2d8d3361a777a651cc9e6d6f01098f280cdee))
|
|
68
|
+
* add type to comments and replies for distuinghisment ([1276471](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/1276471a9e3b126a4bdf1f0340ba63cd1ddc2ee4))
|
|
69
|
+
* add type to Item ([7f00eed](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/7f00eed7528340fb68278c634b01895c4c172dfb))
|
|
70
|
+
* add upload to asset create response ([0eb61a0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/0eb61a0fd760cf844ac1e7c66cbeaa3e0d65494a))
|
|
71
|
+
* add uploadStatus to asset ([fd25344](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/fd2534469a256e9df5e5639ba294e6f197f8a7a3))
|
|
72
|
+
* add x-hcloud-origin header ([7a916a3](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/7a916a31f5f00b71e92518887cb83848afba76f4))
|
|
73
|
+
* apply NamespaceRushStatus to changeStatus ([cbac327](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/cbac3270dd767151c7801fe347d8c0cb77955237))
|
|
74
|
+
* apply share permissions for all assets ([4ea5404](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/4ea5404e6d7992aa803d6708e9434cb08e545d91))
|
|
75
|
+
* change all cosmo objects id props into _id to streamline with other products ([4f748ad](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/4f748ada33c6e2e1b8b07c5130c8a56a8ea2d15a))
|
|
76
|
+
* change operator to comparator in AssetFilter ([87bba65](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/87bba655f96597376a7f1846d1c9254767733a56))
|
|
77
|
+
* consolidate share and trash search into org search endpoint ([88b3fe5](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/88b3fe50978a17baa7d70958ca9addc8e6665c26))
|
|
78
|
+
* **cosmo:** add optional permissions to space ([3f2372a](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/3f2372ad4262d4fbaa83dfeabdf9f2deebaeda0d))
|
|
79
|
+
* decrease nats getconnect delay to 1000 ([92c1050](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/92c10507f327aa18d4389180f0dc758a49317366))
|
|
80
|
+
* decrease sub time to 500ms ([debaac3](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/debaac397ec658702e1bcfe1ace8449383661138))
|
|
81
|
+
* define available status values for asset namespaces ([bbad9cc](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/bbad9cc27326ce09f8133f00401ec62386a5e27c))
|
|
82
|
+
* delte endpoints take id arrays instead of single ids ([ed91f11](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/ed91f112edad9443db6075c7648aa06d8a6cd4b6))
|
|
83
|
+
* extend email interface by COSMO_USER_ADDED_TO_SPACE action ([26eb00d](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/26eb00d0ca61990e7d48c5a63913b6900a1a818e))
|
|
84
|
+
* extend email interface by COSMO_USER_REMOVED_FROM_SPACE action ([9cdec42](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/9cdec420c89acd8b8dc9f9d0d436b43f61b22cd3))
|
|
85
|
+
* extend NatsObjectType ([a9f3a53](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/a9f3a53827049cfee3e7b14b1f917f17d17eecae))
|
|
86
|
+
* implement cosmo comment related endpoints ([a52a1dc](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/a52a1dcc6c2de5bb2ec1ea540049de29a2039087))
|
|
87
|
+
* implement cosmo folder related endpoints ([c212ba2](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/c212ba2a2f3c358a619940d30b128cb373816fcb))
|
|
88
|
+
* implement cosmo location related endpoints ([ec9d997](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/ec9d997273ab1bac620b59bad5b08ced94934bb3))
|
|
89
|
+
* implement cosmo namespace related endpoints ([5b46e1e](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/5b46e1e7a5f4a9bfad7605a87e85bf971200f678))
|
|
90
|
+
* implement cosmo org related endpoints ([22d4894](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/22d48942febc6ac4640c803ff7d111a8599d872a))
|
|
91
|
+
* implement cosmo production related endpoints ([1f5cd2f](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/1f5cd2fc270e0c52c5a8d112db002052771ac55e))
|
|
92
|
+
* implement cosmo share related endpoints ([9c739bd](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/9c739bda175b4a3c284ccb6b9f54d1af67f3e357))
|
|
93
|
+
* implement cosmo space related endpoints ([e2445e5](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/e2445e5c1e80cc086b35df7e587b11f1f135d1c0))
|
|
94
|
+
* initialize CosmoService and add all asset related endpoints ([345e12a](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/345e12a52d0e6bee7a68ac3129c3fa302c44fbed))
|
|
95
|
+
* introduce a new endpoint to grep all users allowed to be mentioned for one asset asset ([6b2384e](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/6b2384e0f017fb1aeac358736fbec0a66faba6ba))
|
|
96
|
+
* introduce assetId property for audit log ([e689e97](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/e689e979eee55be2a922980f213928228796b315))
|
|
97
|
+
* introduce cosmo event endpoint and interface ([8f4901b](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/8f4901bf4725e60e1d4eeeb2b1c00522c0d0cb85))
|
|
98
|
+
* make permissions enum have a string value ([b8eba94](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/b8eba94e3b845aca55678d2853797e6d7b6f8d34))
|
|
99
|
+
* make recursive optional and make assetFilter an array in searchAssets ([c9d4292](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/c9d42923f14bcb78215736972069838e127ded49))
|
|
100
|
+
* new version ([fa15df2](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/fa15df2640ec4f0cde619b7109d629bf35e2ef6f))
|
|
101
|
+
* reflect the changes on the bulk-move endpoint to support copy ([312072e](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/312072eec861be146dc820cec0bc3e320c2d3096))
|
|
102
|
+
* remove asset tags and categories ([a4622d6](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/a4622d62dab42d258704149328f183c427dbf23f))
|
|
103
|
+
* remove bulk add cosmo events endpoint ([e6bbf0c](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/e6bbf0c4bffd8b5d6f17307aee7e9f7f3fe1da41))
|
|
104
|
+
* remove share search endpoint ([876ae9c](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/876ae9ccfd73453c4a59d59e9b4c0a2fd354589e))
|
|
105
|
+
* remove trash search endpoint ([b5c7375](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/b5c737559f80c94659c946a7be95e95a3b15d013))
|
|
106
|
+
* revert last change ([13ba2cb](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/13ba2cba8d06cdda46abc26df1f1cf4f70f1a2d9))
|
|
107
|
+
* rework asset interfaces ([5901d2f](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/5901d2f9fc542bcdacf0e843063cbefc4b27de64))
|
|
108
|
+
* rework cosmo search to accept an object as param ([ffa0059](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/ffa0059e610db04d13a2da4d330b5abf233f3fcc))
|
|
109
|
+
* rework every method to return MaybeRaw if raw is true ([68278ba](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/68278bac2ed318b50eb036fd020233951e5ab469))
|
|
110
|
+
* rework params of searchAssetsInTrashOfSpace ([88b3839](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/88b3839d7c2c58c8057c4c91c3b9252bbf1d0098))
|
|
111
|
+
* searchRoles returns DetailedRole[] ([2f087c2](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/2f087c2c5d85a4e2be399ba5fe7729e9d7bc9a7d))
|
|
112
|
+
* trigger new version build ([a12fcc6](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/a12fcc646f71d50d5189215141cd5844472493a6))
|
|
113
|
+
* unify Fuse backend into High5 ([6d73104](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/6d73104376c58cbb2a41ac94816690e5ee311c5a))
|
|
53
114
|
|
|
54
115
|
### Bug Fixes
|
|
55
116
|
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
117
|
+
* add _id to role ([f133c7a](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/f133c7ae9f9d8f0ef88f8ab049f3ae4cba865cfe))
|
|
118
|
+
* add /team|/user to permissions assign call ([0aa3e88](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/0aa3e88f9afdb293bfc778cc2bf441253632a072))
|
|
119
|
+
* add fileSize to VideoMetadat ([c3173cd](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/c3173cdfc076779a3d1706a836e1d401f759e6b4))
|
|
120
|
+
* add Folder to return type of global search ([8a768e8](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/8a768e8aad7a7cc1543e38a30733d70f6d5f423f))
|
|
121
|
+
* add mentions to editComment ([381a5f2](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/381a5f2d0aa8158672584787809f994d86285509))
|
|
122
|
+
* add missing preventTTL property to AuditLogCreate ([aa6d79a](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/aa6d79af99b54a356779a0eac9bf846007d59956))
|
|
123
|
+
* add namespace reference to tags nats subject ([1c17abd](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/1c17abd9a165e1419862be53732ed1f9104f7afb))
|
|
124
|
+
* add namespaceName parameter to tag methods ([5aa995f](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/5aa995f60e38290e71e863e246bd116fa128b49a))
|
|
125
|
+
* add possible AudioMetadata array type to Media ([86ea944](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/86ea944d1679e001ecf0c831cce09369e5c5f393))
|
|
126
|
+
* add possible AudioMetadata array type to Media ([31cbf84](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/31cbf8475bcc191b31a3ee2c3da4cbb39ed5ba5d))
|
|
127
|
+
* add refId to listComments ([3864d8a](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/3864d8a651a7dabf88d0bf005383a586d92093e9))
|
|
128
|
+
* add satus 'none' to asset rush status ([4201e23](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/4201e23768dd363ba01ecdd37f480c2c483e827e))
|
|
129
|
+
* add sorted string map to designer node input values ([a63e5d6](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/a63e5d6fa54c4c7d08594457a0d8e6197411547b))
|
|
130
|
+
* add sorted string map to designer node input values ([585366c](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/585366cdca53d6a18a556899f924f2e78856ea56))
|
|
131
|
+
* adjust response of status change endpoint to be of type Asset ([dc3f233](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/dc3f233b7924af737e305a9366db08ac3b050a19))
|
|
132
|
+
* apply /name to space rename url ([4c0e85d](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/4c0e85d93eb7070f6c9d8a276dc41fbbf9ea55bf))
|
|
133
|
+
* asset status definition ([12da3a0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/12da3a072b2b00c96b58594e1c160f8e651fa786))
|
|
134
|
+
* audit log queue helper ([b74960d](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/b74960dcf9a9b16ff3d2a73f080545280d9b08bd))
|
|
135
|
+
* change breadcrumb type to be Asset or CosmoSpace over Space ([7e7e1a4](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/7e7e1a460ac11cb7fab3b38fe459d059b0c3b148))
|
|
136
|
+
* change cosmo nats update object to type array ([73ba1ff](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/73ba1ffd22243c4499bcf10c1b8d2535d4af8b4e))
|
|
137
|
+
* change index signature type to record for shares ([458da0a](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/458da0a54de0c5a0017e6b5241c12a9f5a213ba8))
|
|
138
|
+
* change return type of fetchSHaredAssets to (Asset | Folder)[] ([3a7b3ee](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/3a7b3ee6150f7f30bc30578cfb54f48d475ba1b8))
|
|
139
|
+
* changed map to index signature for shares ([45f01f3](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/45f01f3a1f9331ed2e8961867f312bddb2915c20))
|
|
140
|
+
* check for given window object ([39a391c](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/39a391ce0eba9a511b828a8b0c79bd679498e35c))
|
|
141
|
+
* check for given window object ([4fc5ec1](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/4fc5ec192f90543c92d525eda0f1f2d8d9caed21))
|
|
142
|
+
* check for given window object ([1340c82](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/1340c829c285669dab7c726046d8ebbc0a587dcb))
|
|
143
|
+
* check for given window object ([4ae3dcf](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/4ae3dcf4b9f2edd01239105aea71513cd0af080b))
|
|
144
|
+
* check for given window object ([5fc1930](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/5fc19301402b8f3b79465f96812cab32ff6d8335))
|
|
145
|
+
* createFolder request object ([034ceee](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/034ceeebed49b69c7932d510c29470a1e090d8a3))
|
|
146
|
+
* default value for undefined filters ([4a67115](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/4a671157e931438a2a6076715efb658b576f37b4))
|
|
147
|
+
* endpoint for trash and restore ([af0bfe7](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/af0bfe77659547383321504d5be872be57ec860f))
|
|
148
|
+
* enhance Media to filter by name ([4e61b4e](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/4e61b4e5fa7e7f8fefb77bf50f9f0535809facd6))
|
|
149
|
+
* entity of DetailedRole.permissions ([9893849](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/98938496f614d36ac4ff9852eab8d9550f71fbee))
|
|
150
|
+
* export DocumentTyp ([d14fb60](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/d14fb60e6949bece2ccf0a94b188d204d51b999b))
|
|
151
|
+
* make asset.id asset._id ([8de0cca](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/8de0cca27026d68467270bb00ddb827dd3ff8143))
|
|
152
|
+
* make asset.type to be any of ItemType ([14563e6](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/14563e60bcd6e7a5c8bc703da4e5c645132b8c1c))
|
|
153
|
+
* make assetFilter for searchInTrash mandatory ([b8fbb2e](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/b8fbb2e68f6282a5bbf8843983690b6cd9e9adc3))
|
|
154
|
+
* make comment timestamp/annotaitons optional ([46753ae](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/46753ae24090c370db555329f77901386fba1c08))
|
|
155
|
+
* make folder extend item ([f10aa31](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/f10aa31ef8c7ceb9f4691a3f599ffef429d781f5))
|
|
156
|
+
* make grantType camel case ([371c99c](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/371c99c014f9433ddd26e087cf5753d8cb6d02e8))
|
|
157
|
+
* make VideoMetadata a single object only ([159f3c8](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/159f3c8850ca89c8b302e6a8c82a7794c2034ef8))
|
|
158
|
+
* move fileSize from VideoMetadata to Media ([02cede3](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/02cede304d982fd8f44f7927ae90e627db1f2381))
|
|
159
|
+
* move grant_type to interface for oauth code exchange ([f391c51](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/f391c519a29bd2739fe70eb43ddf9d986db66e28))
|
|
160
|
+
* omit _id in createShare interface ([d68b218](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/d68b218d0f1b1423b69adf1520192a3fa9e0b744))
|
|
161
|
+
* redefine asset interface as discriminated union ([44671e6](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/44671e66462c763c7e6f9b6759294586ce6899a2))
|
|
162
|
+
* redefine asset interface as discriminated union ([598710d](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/598710d77543a5446d5d151ac1d7326692103873))
|
|
163
|
+
* remove shareId from searchRoles and prepend getEndpoint to all methods ([2f690ee](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/2f690ee7b5a771474c4cc33bdd8c7fc2bccce766))
|
|
164
|
+
* remove unused single asset move endpoint ([e8917ed](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/e8917edbb2ae8fbc683001d79190249d97e3e90a))
|
|
165
|
+
* remove users property of teams as it's not defined in the TeamDto of idp ([4d01acb](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/4d01acbba4c22d9501a6177a352f94f59b503be4))
|
|
166
|
+
* rename mentionedUsers to mentions ([e8d8301](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/e8d8301be8f39466073e12d019f43a70c21ca103))
|
|
167
|
+
* rename mentionedUsers to mentions in Comment and change type to ReducedUser[] ([f0f5908](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/f0f5908503cc7e381bb4a98b36cb998d4926ba70))
|
|
168
|
+
* rename mentions to mentionedUsers in Comment ([02ff72a](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/02ff72a5eba2dd99f46a45c475379edf2fc21e17))
|
|
169
|
+
* revert last change as asset and folder are two different interfaces ([d487fbf](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/d487fbf4c668749364892737e8a9267b7c2a6e64))
|
|
170
|
+
* revert the cosmo avatar update process ([e82262f](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/e82262f67469f49b4f484d77203032118de30991))
|
|
171
|
+
* space name regex ([64a6dba](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/64a6dba660f9c6e2dc373a097931ef6ffe1ee95e))
|
|
172
|
+
* type mismatch ([7e0d2fa](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/7e0d2fa03f91de23a5f0412e29d1ba272fde04a6))
|
|
173
|
+
* wrong interface assignment for cosmo space ([cb4165d](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/cb4165db2ba85125c7ce0aad760b61d4cba42ffe))
|
|
70
174
|
|
|
71
175
|
### Performance Improvements
|
|
72
176
|
|
|
73
|
-
* add
|
|
74
|
-
* add
|
|
75
|
-
* add
|
|
76
|
-
* add methods
|
|
77
|
-
* add
|
|
78
|
-
* add
|
|
79
|
-
* add
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
* extend space permission interface in High5 and Fuse ([27b4a12](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/27b4a12902e678a2c041359b487716ef13c750d5))
|
|
84
|
-
* implement NATS updates for SDS ([2a43e35](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/2a43e350a02a2435afedf01e2dee8bed495e3859))
|
|
85
|
-
* migrate eslint to version 9 ([f59b2d2](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/f59b2d2f67f1652fb878202b49ed1b106dbef4f5))
|
|
86
|
-
* update collection of path parameters in validation helper ([b3059f4](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/b3059f4f45a62cbefe6f5a1ab693eba385c6f3a4))
|
|
177
|
+
* add account name to execution log and status ([c141d7c](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/c141d7c48cffa711dedd138b495a53dc05407a81))
|
|
178
|
+
* add messageId to validation helper ([afa4f5b](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/afa4f5b232363d1613e2ca82dd9b66ebda7b946a))
|
|
179
|
+
* add method for internal message dispatch endpoint ([f1ed00c](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/f1ed00c98f4dc98df5e2e7380b99f79dc78538f5))
|
|
180
|
+
* add methods to manage user messages ([c856b3c](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/c856b3ca922d2db8886364c11ef35edb50dd85b5))
|
|
181
|
+
* add methods to retrieve statistics ([3eaeaf6](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/3eaeaf6531616492dcc931e5743aa77a2c0f6883))
|
|
182
|
+
* add Nats subject for system messages ([2e35f56](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/2e35f564e998406135f6615ad9a3af308774b78b))
|
|
183
|
+
* add target field with ReducedUser to execution log and status ([51c4e23](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/51c4e233c04c0ea6653eca702795c2a1c78c8bda))
|
|
184
|
+
* close existing NATS connection before reconnecting ([09e4561](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/09e45618243d00357c23b8314ac0f42327c12ffd))
|
|
185
|
+
* migrate Friday features to High5 ([3cec4da](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/3cec4da7ff7f47be647c589a9e82e672a6c4bba5))
|
|
186
|
+
* update TargetAgent.target object in Mothership ([80447e2](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/80447e23018ed39724928ae41da48ba266d28eac))
|
|
87
187
|
|
|
88
|
-
###
|
|
188
|
+
### Code Refactoring
|
|
89
189
|
|
|
90
|
-
*
|
|
190
|
+
* move fetchShareAssets to /shareId/assets ([5397300](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/5397300729d9258b462e8692a8a148cfb92220d6))
|
package/lib/Base.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { AxiosInstance } from "axios";
|
|
1
|
+
import { AxiosInstance, AxiosResponse } from "axios";
|
|
2
2
|
export interface HcloudLogger {
|
|
3
3
|
info(msg: string, ...args: any): void;
|
|
4
4
|
debug(msg: string, ...args: any): void;
|
|
5
5
|
warn(msg: string, ...args: any): void;
|
|
6
6
|
error(msg: string, ...args: any): void;
|
|
7
7
|
}
|
|
8
|
+
export type MaybeRaw<R extends boolean, T> = R extends true ? AxiosResponse<T> : T;
|
|
8
9
|
export interface Options {
|
|
9
10
|
server: string;
|
|
10
11
|
auditor?: {
|
package/lib/Hcloud.d.ts
CHANGED
|
@@ -3,14 +3,15 @@ import { HcloudLogger, Options } from "./Base";
|
|
|
3
3
|
import AgentService from "./service/agent";
|
|
4
4
|
import AuditorService from "./service/auditor";
|
|
5
5
|
import BouncerService from "./service/bouncer";
|
|
6
|
+
import CosmoService from "./service/cosmo";
|
|
6
7
|
import DaliService from "./service/dali";
|
|
7
|
-
import FridayService from "./service/friday";
|
|
8
8
|
import FuseService from "./service/fuse";
|
|
9
9
|
import High5Service from "./service/high5";
|
|
10
10
|
import IdpService from "./service/idp";
|
|
11
11
|
import MailerService from "./service/mailer";
|
|
12
12
|
import MothershipService from "./service/mothership";
|
|
13
13
|
import NatsService from "./service/nats";
|
|
14
|
+
import ShortsService from "./service/shorts";
|
|
14
15
|
export declare class HCloud {
|
|
15
16
|
get Agent(): AgentService;
|
|
16
17
|
private _Agent?;
|
|
@@ -18,6 +19,8 @@ export declare class HCloud {
|
|
|
18
19
|
private _Auditor?;
|
|
19
20
|
get Bouncer(): BouncerService;
|
|
20
21
|
private _Bouncer?;
|
|
22
|
+
get Cosmo(): CosmoService;
|
|
23
|
+
private _Cosmo?;
|
|
21
24
|
get High5(): High5Service;
|
|
22
25
|
private _High5?;
|
|
23
26
|
get Idp(): IdpService;
|
|
@@ -30,8 +33,8 @@ export declare class HCloud {
|
|
|
30
33
|
private _Mailer?;
|
|
31
34
|
get Mothership(): MothershipService;
|
|
32
35
|
private _Mothership?;
|
|
33
|
-
get
|
|
34
|
-
private
|
|
36
|
+
get Shorts(): ShortsService;
|
|
37
|
+
private _Shorts?;
|
|
35
38
|
get Nats(): NatsService;
|
|
36
39
|
private _Nats?;
|
|
37
40
|
private options;
|
package/lib/Hcloud.js
CHANGED
|
@@ -8,14 +8,15 @@ const axios_2 = require("./interfaces/axios");
|
|
|
8
8
|
const agent_1 = require("./service/agent");
|
|
9
9
|
const auditor_1 = require("./service/auditor");
|
|
10
10
|
const bouncer_1 = require("./service/bouncer");
|
|
11
|
+
const cosmo_1 = require("./service/cosmo");
|
|
11
12
|
const dali_1 = require("./service/dali");
|
|
12
|
-
const friday_1 = require("./service/friday");
|
|
13
13
|
const fuse_1 = require("./service/fuse");
|
|
14
14
|
const high5_1 = require("./service/high5");
|
|
15
15
|
const idp_1 = require("./service/idp");
|
|
16
16
|
const mailer_1 = require("./service/mailer");
|
|
17
17
|
const mothership_1 = require("./service/mothership");
|
|
18
18
|
const nats_1 = require("./service/nats");
|
|
19
|
+
const shorts_1 = require("./service/shorts");
|
|
19
20
|
// tslint:disable-next-line
|
|
20
21
|
class HCloud {
|
|
21
22
|
get Agent() {
|
|
@@ -36,6 +37,12 @@ class HCloud {
|
|
|
36
37
|
}
|
|
37
38
|
return this._Bouncer;
|
|
38
39
|
}
|
|
40
|
+
get Cosmo() {
|
|
41
|
+
if (this._Cosmo === undefined) {
|
|
42
|
+
this._Cosmo = new cosmo_1.default(this.options, this.axios);
|
|
43
|
+
}
|
|
44
|
+
return this._Cosmo;
|
|
45
|
+
}
|
|
39
46
|
get High5() {
|
|
40
47
|
if (this._High5 === undefined) {
|
|
41
48
|
this._High5 = new high5_1.default(this.options, this.axios);
|
|
@@ -72,11 +79,11 @@ class HCloud {
|
|
|
72
79
|
}
|
|
73
80
|
return this._Mothership;
|
|
74
81
|
}
|
|
75
|
-
get
|
|
76
|
-
if (this.
|
|
77
|
-
this.
|
|
82
|
+
get Shorts() {
|
|
83
|
+
if (this._Shorts === undefined) {
|
|
84
|
+
this._Shorts = new shorts_1.default(this.options, this.axios);
|
|
78
85
|
}
|
|
79
|
-
return this.
|
|
86
|
+
return this._Shorts;
|
|
80
87
|
}
|
|
81
88
|
get Nats() {
|
|
82
89
|
if (this._Nats === undefined) {
|
|
@@ -96,6 +103,10 @@ class HCloud {
|
|
|
96
103
|
// also set 'user-agent' header in non-browser environments
|
|
97
104
|
this.axios.defaults.headers.common["user-agent"] = "hcloud-sdk-js/v" + package_json_1.version;
|
|
98
105
|
}
|
|
106
|
+
else {
|
|
107
|
+
// eslint-disable-next-line
|
|
108
|
+
this.axios.defaults.headers.common["x-hcloud-origin"] = `${window === null || window === void 0 ? void 0 : window.location.protocol}//${window === null || window === void 0 ? void 0 : window.location.host}`;
|
|
109
|
+
}
|
|
99
110
|
this.axios.interceptors.response.use(response => response, error => {
|
|
100
111
|
var _a;
|
|
101
112
|
(_a = this.options.logger) === null || _a === void 0 ? void 0 : _a.error(String(error), error);
|
|
@@ -15,7 +15,6 @@ declare enum Entity {
|
|
|
15
15
|
SECRET_KEY = "SECRET_KEY",
|
|
16
16
|
SECRET_VALUE = "SECRET_VALUE",
|
|
17
17
|
POOL_NAME = "POOL_NAME",
|
|
18
|
-
FUSE_JOB = "FUSE_JOB",
|
|
19
18
|
WAVE_ENGINE_RELEASE = "WAVE_ENGINE_RELEASE",
|
|
20
19
|
CHALLENGE_STRING = "CHALLENGE_STRING",
|
|
21
20
|
DATABASE_NAME = "DATABASE_NAME",
|
|
@@ -36,9 +35,18 @@ declare enum Entity {
|
|
|
36
35
|
CATALOG_ID = "CATALOG_ID",
|
|
37
36
|
WEBHOOK_ID = "WEBHOOK_ID",
|
|
38
37
|
WEBHOOK_TOKEN = "WEBHOOK_TOKEN",
|
|
38
|
+
JOB = "JOB",
|
|
39
|
+
JOB_ID = "JOB_ID",
|
|
40
|
+
JOB_LOG_ID = "JOB_LOG_ID",
|
|
41
|
+
FUSE_JOB = "FUSE_JOB",
|
|
39
42
|
CRONJOB_ID = "CRONJOB_ID",
|
|
40
43
|
CRONJOB_LOG_ID = "CRONJOB_LOG_ID",
|
|
41
|
-
NAMESPACE_NAME = "NAMESPACE_NAME"
|
|
44
|
+
NAMESPACE_NAME = "NAMESPACE_NAME",
|
|
45
|
+
MESSAGE_ID = "MESSAGE_ID",
|
|
46
|
+
ARRAY_INDEX = "ARRAY_INDEX",
|
|
47
|
+
URL_SLUG = "URL_SLUG",
|
|
48
|
+
TAG_NAME = "TAG_NAME",
|
|
49
|
+
TAG_COLOR = "TAG_COLOR"
|
|
42
50
|
}
|
|
43
51
|
declare class EntityDetails {
|
|
44
52
|
private entity;
|
|
@@ -20,7 +20,6 @@ var Entity;
|
|
|
20
20
|
Entity["SECRET_KEY"] = "SECRET_KEY";
|
|
21
21
|
Entity["SECRET_VALUE"] = "SECRET_VALUE";
|
|
22
22
|
Entity["POOL_NAME"] = "POOL_NAME";
|
|
23
|
-
Entity["FUSE_JOB"] = "FUSE_JOB";
|
|
24
23
|
Entity["WAVE_ENGINE_RELEASE"] = "WAVE_ENGINE_RELEASE";
|
|
25
24
|
Entity["CHALLENGE_STRING"] = "CHALLENGE_STRING";
|
|
26
25
|
Entity["DATABASE_NAME"] = "DATABASE_NAME";
|
|
@@ -41,9 +40,18 @@ var Entity;
|
|
|
41
40
|
Entity["CATALOG_ID"] = "CATALOG_ID";
|
|
42
41
|
Entity["WEBHOOK_ID"] = "WEBHOOK_ID";
|
|
43
42
|
Entity["WEBHOOK_TOKEN"] = "WEBHOOK_TOKEN";
|
|
43
|
+
Entity["JOB"] = "JOB";
|
|
44
|
+
Entity["JOB_ID"] = "JOB_ID";
|
|
45
|
+
Entity["JOB_LOG_ID"] = "JOB_LOG_ID";
|
|
46
|
+
Entity["FUSE_JOB"] = "FUSE_JOB";
|
|
44
47
|
Entity["CRONJOB_ID"] = "CRONJOB_ID";
|
|
45
48
|
Entity["CRONJOB_LOG_ID"] = "CRONJOB_LOG_ID";
|
|
46
49
|
Entity["NAMESPACE_NAME"] = "NAMESPACE_NAME";
|
|
50
|
+
Entity["MESSAGE_ID"] = "MESSAGE_ID";
|
|
51
|
+
Entity["ARRAY_INDEX"] = "ARRAY_INDEX";
|
|
52
|
+
Entity["URL_SLUG"] = "URL_SLUG";
|
|
53
|
+
Entity["TAG_NAME"] = "TAG_NAME";
|
|
54
|
+
Entity["TAG_COLOR"] = "TAG_COLOR";
|
|
47
55
|
})(Entity || (exports.Entity = Entity = {}));
|
|
48
56
|
class EntityDetails {
|
|
49
57
|
constructor(name) {
|
|
@@ -142,7 +150,7 @@ const entityCollection = {
|
|
|
142
150
|
maxLength: 64,
|
|
143
151
|
},
|
|
144
152
|
[Entity.SPACE_NAME]: {
|
|
145
|
-
pattern: /^[
|
|
153
|
+
pattern: /^[\w-.]{1,32}$/i,
|
|
146
154
|
minLength: 1,
|
|
147
155
|
maxLength: 32,
|
|
148
156
|
},
|
|
@@ -187,11 +195,6 @@ const entityCollection = {
|
|
|
187
195
|
minLength: 1,
|
|
188
196
|
maxLength: 128,
|
|
189
197
|
},
|
|
190
|
-
[Entity.FUSE_JOB]: {
|
|
191
|
-
pattern: /^.{1,64}$/i,
|
|
192
|
-
minLength: 1,
|
|
193
|
-
maxLength: 64,
|
|
194
|
-
},
|
|
195
198
|
[Entity.WAVE_ENGINE_RELEASE]: {
|
|
196
199
|
pattern: /^\d+\.\d+\.\d+(-dev-\d+)?$/i,
|
|
197
200
|
symbols: /[dev0-9-.]/i,
|
|
@@ -293,6 +296,26 @@ const entityCollection = {
|
|
|
293
296
|
minLength: 128,
|
|
294
297
|
maxLength: 128,
|
|
295
298
|
},
|
|
299
|
+
[Entity.JOB]: {
|
|
300
|
+
pattern: /^.{1,64}$/i,
|
|
301
|
+
minLength: 1,
|
|
302
|
+
maxLength: 64,
|
|
303
|
+
},
|
|
304
|
+
[Entity.JOB_ID]: {
|
|
305
|
+
pattern: /^[a-fA-F0-9]{24}$/i,
|
|
306
|
+
minLength: 24,
|
|
307
|
+
maxLength: 24,
|
|
308
|
+
},
|
|
309
|
+
[Entity.JOB_LOG_ID]: {
|
|
310
|
+
pattern: /^[a-fA-F0-9]{24}$/i,
|
|
311
|
+
minLength: 24,
|
|
312
|
+
maxLength: 24,
|
|
313
|
+
},
|
|
314
|
+
[Entity.FUSE_JOB]: {
|
|
315
|
+
pattern: /^.{1,64}$/i,
|
|
316
|
+
minLength: 1,
|
|
317
|
+
maxLength: 64,
|
|
318
|
+
},
|
|
296
319
|
[Entity.CRONJOB_ID]: {
|
|
297
320
|
pattern: /^[a-fA-F0-9]{24}$/i,
|
|
298
321
|
minLength: 24,
|
|
@@ -309,4 +332,29 @@ const entityCollection = {
|
|
|
309
332
|
minLength: 3,
|
|
310
333
|
maxLength: 64,
|
|
311
334
|
},
|
|
335
|
+
[Entity.MESSAGE_ID]: {
|
|
336
|
+
pattern: /^[a-fA-F0-9]{24}$/i,
|
|
337
|
+
minLength: 24,
|
|
338
|
+
maxLength: 24,
|
|
339
|
+
},
|
|
340
|
+
[Entity.ARRAY_INDEX]: {
|
|
341
|
+
pattern: /^\d{1,24}$/i,
|
|
342
|
+
minLength: 1,
|
|
343
|
+
maxLength: 24,
|
|
344
|
+
},
|
|
345
|
+
[Entity.URL_SLUG]: {
|
|
346
|
+
pattern: /^[A-NP-Za-km-z1-9]{6}$/i,
|
|
347
|
+
minLength: 6,
|
|
348
|
+
maxLength: 6,
|
|
349
|
+
},
|
|
350
|
+
[Entity.TAG_NAME]: {
|
|
351
|
+
pattern: /^[a-zA-Z0-9 ]{1,20}$/i,
|
|
352
|
+
minLength: 1,
|
|
353
|
+
maxLength: 20,
|
|
354
|
+
},
|
|
355
|
+
[Entity.TAG_COLOR]: {
|
|
356
|
+
pattern: /^#([a-fA-F0-9]{3}|[a-fA-F0-9]{6})$/i,
|
|
357
|
+
minLength: 7,
|
|
358
|
+
maxLength: 7,
|
|
359
|
+
},
|
|
312
360
|
};
|
|
@@ -13,7 +13,8 @@ export declare enum Origin {
|
|
|
13
13
|
Fuse = "fuse",
|
|
14
14
|
Mothership = "mothership",
|
|
15
15
|
Dali = "dali",
|
|
16
|
-
|
|
16
|
+
Shorts = "shorts",
|
|
17
|
+
Cosmo = "cosmo"
|
|
17
18
|
}
|
|
18
19
|
export declare enum Event {
|
|
19
20
|
Login = "login",
|
|
@@ -27,13 +28,20 @@ export declare enum Event {
|
|
|
27
28
|
Stream = "stream",
|
|
28
29
|
Mail = "mail",
|
|
29
30
|
Webhook = "webhook",
|
|
31
|
+
Job = "job",
|
|
30
32
|
Cronjob = "cronjob",
|
|
31
33
|
Secret = "secret",
|
|
32
34
|
Agent = "agent",
|
|
33
35
|
Avatar = "avatar",
|
|
34
36
|
ServiceAccount = "serviceAccount",
|
|
35
37
|
Database = "database",
|
|
36
|
-
Document = "document"
|
|
38
|
+
Document = "document",
|
|
39
|
+
Asset = "asset",
|
|
40
|
+
Share = "share",
|
|
41
|
+
Role = "role",
|
|
42
|
+
Group = "group",
|
|
43
|
+
Tag = "tag",
|
|
44
|
+
Reference = "reference"
|
|
37
45
|
}
|
|
38
46
|
export declare enum Type {
|
|
39
47
|
Read = "read",
|
|
@@ -63,6 +71,7 @@ export interface AuditLog {
|
|
|
63
71
|
message?: unknown;
|
|
64
72
|
expireAt: Date;
|
|
65
73
|
requestorIp: string;
|
|
74
|
+
assetId?: string;
|
|
66
75
|
}
|
|
67
76
|
export interface AuditLogCreate {
|
|
68
77
|
level: Level;
|
|
@@ -75,4 +84,6 @@ export interface AuditLogCreate {
|
|
|
75
84
|
type?: Type;
|
|
76
85
|
message?: unknown;
|
|
77
86
|
requestorIp: string;
|
|
87
|
+
assetId?: string;
|
|
88
|
+
preventTTL?: boolean;
|
|
78
89
|
}
|