@shapediver/api.platform-api-dto-v1 2.12.2 → 2.12.8

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 (124) hide show
  1. package/README.md +14 -14
  2. package/dist/commons/SdPlatformApiTokenScopes.d.ts +47 -47
  3. package/dist/commons/SdPlatformApiTokenScopes.js +51 -51
  4. package/dist/commons/SdPlatformChargebee.d.ts +7 -7
  5. package/dist/commons/SdPlatformChargebee.js +2 -2
  6. package/dist/commons/SdPlatformModelCommons.d.ts +4 -4
  7. package/dist/commons/SdPlatformModelCommons.js +8 -8
  8. package/dist/commons/SdPlatformModelTokenScopes.d.ts +9 -9
  9. package/dist/commons/SdPlatformModelTokenScopes.js +13 -13
  10. package/dist/commons/SdPlatformNotificationCommons.d.ts +74 -62
  11. package/dist/commons/SdPlatformNotificationCommons.d.ts.map +1 -1
  12. package/dist/commons/SdPlatformNotificationCommons.js +84 -72
  13. package/dist/commons/SdPlatformNotificationCommons.js.map +1 -1
  14. package/dist/commons/SdPlatformOrganizationCommons.d.ts +29 -29
  15. package/dist/commons/SdPlatformOrganizationCommons.js +33 -33
  16. package/dist/commons/SdPlatformPolicyCommons.d.ts +301 -301
  17. package/dist/commons/SdPlatformPolicyCommons.js +290 -290
  18. package/dist/commons/SdPlatformUsedCredits.d.ts +6 -6
  19. package/dist/commons/SdPlatformUsedCredits.js +2 -2
  20. package/dist/commons/SdPlatformVisibility.d.ts +36 -36
  21. package/dist/commons/SdPlatformVisibility.js +43 -43
  22. package/dist/index.d.ts +54 -54
  23. package/dist/index.js +70 -70
  24. package/dist/request/SdPlatformAuthRequest.d.ts +53 -21
  25. package/dist/request/SdPlatformAuthRequest.d.ts.map +1 -1
  26. package/dist/request/SdPlatformAuthRequest.js +20 -12
  27. package/dist/request/SdPlatformAuthRequest.js.map +1 -1
  28. package/dist/request/SdPlatformBaseRequestTypes.d.ts +45 -45
  29. package/dist/request/SdPlatformBaseRequestTypes.js +8 -8
  30. package/dist/request/SdPlatformRequestApiClients.d.ts +20 -20
  31. package/dist/request/SdPlatformRequestApiClients.js +2 -2
  32. package/dist/request/SdPlatformRequestApiToken.d.ts +23 -23
  33. package/dist/request/SdPlatformRequestApiToken.js +2 -2
  34. package/dist/request/SdPlatformRequestBackendSystem.d.ts +69 -69
  35. package/dist/request/SdPlatformRequestBackendSystem.js +2 -2
  36. package/dist/request/SdPlatformRequestBookmark.d.ts +7 -7
  37. package/dist/request/SdPlatformRequestBookmark.js +2 -2
  38. package/dist/request/SdPlatformRequestChargebee.d.ts +11 -11
  39. package/dist/request/SdPlatformRequestChargebee.js +2 -2
  40. package/dist/request/SdPlatformRequestDocument.d.ts +46 -46
  41. package/dist/request/SdPlatformRequestDocument.js +2 -2
  42. package/dist/request/SdPlatformRequestDomain.d.ts +18 -18
  43. package/dist/request/SdPlatformRequestDomain.js +2 -2
  44. package/dist/request/SdPlatformRequestImage.d.ts +16 -16
  45. package/dist/request/SdPlatformRequestImage.js +2 -2
  46. package/dist/request/SdPlatformRequestModel.d.ts +63 -48
  47. package/dist/request/SdPlatformRequestModel.d.ts.map +1 -1
  48. package/dist/request/SdPlatformRequestModel.js +10 -8
  49. package/dist/request/SdPlatformRequestModel.js.map +1 -1
  50. package/dist/request/SdPlatformRequestModelSharing.d.ts +34 -34
  51. package/dist/request/SdPlatformRequestModelSharing.js +2 -2
  52. package/dist/request/SdPlatformRequestModelToken.d.ts +11 -11
  53. package/dist/request/SdPlatformRequestModelToken.js +2 -2
  54. package/dist/request/SdPlatformRequestModelTransfer.d.ts +15 -15
  55. package/dist/request/SdPlatformRequestModelTransfer.js +2 -2
  56. package/dist/request/SdPlatformRequestNotification.d.ts +40 -38
  57. package/dist/request/SdPlatformRequestNotification.d.ts.map +1 -1
  58. package/dist/request/SdPlatformRequestNotification.js +2 -2
  59. package/dist/request/SdPlatformRequestOpenIDProvider.d.ts +100 -100
  60. package/dist/request/SdPlatformRequestOpenIDProvider.js +2 -2
  61. package/dist/request/SdPlatformRequestOrganization.d.ts +57 -57
  62. package/dist/request/SdPlatformRequestOrganization.js +2 -2
  63. package/dist/request/SdPlatformRequestPolicy.d.ts +39 -39
  64. package/dist/request/SdPlatformRequestPolicy.js +2 -2
  65. package/dist/request/SdPlatformRequestSavedState.d.ts +35 -35
  66. package/dist/request/SdPlatformRequestSavedState.js +2 -2
  67. package/dist/request/SdPlatformRequestSavedStateSharing.d.ts +34 -34
  68. package/dist/request/SdPlatformRequestSavedStateSharing.js +2 -2
  69. package/dist/request/SdPlatformRequestUser.d.ts +89 -89
  70. package/dist/request/SdPlatformRequestUser.js +2 -2
  71. package/dist/request/SdPlatformRequestWebhook.d.ts +39 -39
  72. package/dist/request/SdPlatformRequestWebhook.js +2 -2
  73. package/dist/response/SdPlatformAuthResponse.d.ts +17 -14
  74. package/dist/response/SdPlatformAuthResponse.d.ts.map +1 -1
  75. package/dist/response/SdPlatformAuthResponse.js +2 -2
  76. package/dist/response/SdPlatformBaseResponseTypes.d.ts +47 -47
  77. package/dist/response/SdPlatformBaseResponseTypes.js +2 -2
  78. package/dist/response/SdPlatformResponseAnalytics.d.ts +173 -173
  79. package/dist/response/SdPlatformResponseAnalytics.js +11 -11
  80. package/dist/response/SdPlatformResponseApiClient.d.ts +11 -10
  81. package/dist/response/SdPlatformResponseApiClient.d.ts.map +1 -1
  82. package/dist/response/SdPlatformResponseApiClient.js +2 -2
  83. package/dist/response/SdPlatformResponseApiToken.d.ts +24 -24
  84. package/dist/response/SdPlatformResponseApiToken.js +2 -2
  85. package/dist/response/SdPlatformResponseBackendSystem.d.ts +53 -53
  86. package/dist/response/SdPlatformResponseBackendSystem.js +2 -2
  87. package/dist/response/SdPlatformResponseChargebee.d.ts +32 -32
  88. package/dist/response/SdPlatformResponseChargebee.js +10 -10
  89. package/dist/response/SdPlatformResponseDocument.d.ts +112 -112
  90. package/dist/response/SdPlatformResponseDocument.js +2 -2
  91. package/dist/response/SdPlatformResponseDomain.d.ts +25 -25
  92. package/dist/response/SdPlatformResponseDomain.js +2 -2
  93. package/dist/response/SdPlatformResponseFeatures.d.ts +57 -57
  94. package/dist/response/SdPlatformResponseFeatures.js +2 -2
  95. package/dist/response/SdPlatformResponseHttpLog.d.ts +14 -14
  96. package/dist/response/SdPlatformResponseHttpLog.js +2 -2
  97. package/dist/response/SdPlatformResponseImage.d.ts +34 -34
  98. package/dist/response/SdPlatformResponseImage.js +2 -2
  99. package/dist/response/SdPlatformResponseModel.d.ts +310 -215
  100. package/dist/response/SdPlatformResponseModel.d.ts.map +1 -1
  101. package/dist/response/SdPlatformResponseModel.js +53 -50
  102. package/dist/response/SdPlatformResponseModel.js.map +1 -1
  103. package/dist/response/SdPlatformResponseModelSharing.d.ts +62 -62
  104. package/dist/response/SdPlatformResponseModelSharing.js +2 -2
  105. package/dist/response/SdPlatformResponseModelToken.d.ts +23 -23
  106. package/dist/response/SdPlatformResponseModelToken.js +2 -2
  107. package/dist/response/SdPlatformResponseNotification.d.ts +64 -62
  108. package/dist/response/SdPlatformResponseNotification.d.ts.map +1 -1
  109. package/dist/response/SdPlatformResponseNotification.js +2 -2
  110. package/dist/response/SdPlatformResponseOpenIDProvider.d.ts +70 -70
  111. package/dist/response/SdPlatformResponseOpenIDProvider.js +2 -2
  112. package/dist/response/SdPlatformResponseOrganization.d.ts +64 -64
  113. package/dist/response/SdPlatformResponseOrganization.js +2 -2
  114. package/dist/response/SdPlatformResponsePolicy.d.ts +57 -57
  115. package/dist/response/SdPlatformResponsePolicy.js +2 -2
  116. package/dist/response/SdPlatformResponseSavedState.d.ts +56 -56
  117. package/dist/response/SdPlatformResponseSavedState.js +2 -2
  118. package/dist/response/SdPlatformResponseSavedStateSharing.d.ts +62 -62
  119. package/dist/response/SdPlatformResponseSavedStateSharing.js +2 -2
  120. package/dist/response/SdPlatformResponseTag.d.ts +16 -16
  121. package/dist/response/SdPlatformResponseTag.js +2 -2
  122. package/dist/response/SdPlatformResponseUser.d.ts +132 -132
  123. package/dist/response/SdPlatformResponseUser.js +2 -2
  124. package/package.json +2 -2
@@ -1,58 +1,58 @@
1
- import { SdPlatformOrganizationVisibility } from "../commons/SdPlatformVisibility";
2
- /**
3
- * DTO for creating an organization
4
- */
5
- export interface SdPlatformRequestOrganizationCreate {
6
- name: string;
7
- /**
8
- * avatar image base64 encoded, maximum 1MB
9
- */
10
- avatar?: string;
11
- visibility?: SdPlatformOrganizationVisibility;
12
- allow_sharing?: boolean;
13
- allow_link_sharing?: boolean;
14
- allow_expose_email?: boolean;
15
- website?: string;
16
- description?: string;
17
- }
18
- /**
19
- * DTO for patching an organization - organization administrator access level
20
- */
21
- export interface SdPlatformRequestOrganizationPatchAdministrator {
22
- visibility?: SdPlatformOrganizationVisibility;
23
- allow_sharing?: boolean;
24
- allow_link_sharing?: boolean;
25
- allow_expose_email?: boolean;
26
- website?: string;
27
- description?: string;
28
- accessdomains?: Array<string>;
29
- force_require_token?: boolean;
30
- limit_credit_consumption?: boolean;
31
- /**
32
- * updates the default backend system for the organization based on the given backend system alias,
33
- */
34
- backend_system_alias?: string;
35
- }
36
- /**
37
- * DTO for patching an organization - organization owner access level
38
- */
39
- export interface SdPlatformRequestOrganizationPatchOwner extends SdPlatformRequestOrganizationPatchAdministrator {
40
- name?: string;
41
- /**
42
- * avatar image base64 encoded, maximum 1MB
43
- */
44
- avatar?: string;
45
- slug?: string;
46
- }
47
- /**
48
- * DTO for patching an organization - admin access level
49
- */
50
- export interface SdPlatformRequestOrganizationPatchAdmin extends SdPlatformRequestOrganizationPatchOwner {
51
- backend_system_id?: string;
52
- chargebee_customer_id?: string;
53
- }
54
- /**
55
- * DTO for patching an organization - admin access level
56
- */
57
- export declare type SdPlatformRequestOrganizationPatchAny = SdPlatformRequestOrganizationPatchAdmin | SdPlatformRequestOrganizationPatchOwner | SdPlatformRequestOrganizationPatchAdministrator;
1
+ import { SdPlatformOrganizationVisibility } from "../commons/SdPlatformVisibility";
2
+ /**
3
+ * DTO for creating an organization
4
+ */
5
+ export interface SdPlatformRequestOrganizationCreate {
6
+ name: string;
7
+ /**
8
+ * avatar image base64 encoded, maximum 1MB
9
+ */
10
+ avatar?: string;
11
+ visibility?: SdPlatformOrganizationVisibility;
12
+ allow_sharing?: boolean;
13
+ allow_link_sharing?: boolean;
14
+ allow_expose_email?: boolean;
15
+ website?: string;
16
+ description?: string;
17
+ }
18
+ /**
19
+ * DTO for patching an organization - organization administrator access level
20
+ */
21
+ export interface SdPlatformRequestOrganizationPatchAdministrator {
22
+ visibility?: SdPlatformOrganizationVisibility;
23
+ allow_sharing?: boolean;
24
+ allow_link_sharing?: boolean;
25
+ allow_expose_email?: boolean;
26
+ website?: string;
27
+ description?: string;
28
+ accessdomains?: Array<string>;
29
+ force_require_token?: boolean;
30
+ limit_credit_consumption?: boolean;
31
+ /**
32
+ * updates the default backend system for the organization based on the given backend system alias,
33
+ */
34
+ backend_system_alias?: string;
35
+ }
36
+ /**
37
+ * DTO for patching an organization - organization owner access level
38
+ */
39
+ export interface SdPlatformRequestOrganizationPatchOwner extends SdPlatformRequestOrganizationPatchAdministrator {
40
+ name?: string;
41
+ /**
42
+ * avatar image base64 encoded, maximum 1MB
43
+ */
44
+ avatar?: string;
45
+ slug?: string;
46
+ }
47
+ /**
48
+ * DTO for patching an organization - admin access level
49
+ */
50
+ export interface SdPlatformRequestOrganizationPatchAdmin extends SdPlatformRequestOrganizationPatchOwner {
51
+ backend_system_id?: string;
52
+ chargebee_customer_id?: string;
53
+ }
54
+ /**
55
+ * DTO for patching an organization - admin access level
56
+ */
57
+ export declare type SdPlatformRequestOrganizationPatchAny = SdPlatformRequestOrganizationPatchAdmin | SdPlatformRequestOrganizationPatchOwner | SdPlatformRequestOrganizationPatchAdministrator;
58
58
  //# sourceMappingURL=SdPlatformRequestOrganization.d.ts.map
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=SdPlatformRequestOrganization.js.map
@@ -1,40 +1,40 @@
1
- import { SdPlatformPolicyCommonAliases, SdPlatformPolicyPermissionsType, SdPlatformPolicyRequiredFeatures, SdPlatformPolicyType } from "../commons/SdPlatformPolicyCommons";
2
- /**
3
- * DTO for creating a policy
4
- */
5
- export interface SdPlatformRequestPolicyCreate {
6
- /** type of policy */
7
- type: SdPlatformPolicyType;
8
- /** policy alias, used to identify policy in evaluators */
9
- alias: SdPlatformPolicyCommonAliases | string;
10
- /** description of policy */
11
- description?: string;
12
- /** role required to be granted this policy */
13
- required_role?: string;
14
- /** granted permissions */
15
- allowed_permissions?: SdPlatformPolicyPermissionsType;
16
- /** explicitely denied permissions */
17
- denied_permissions?: SdPlatformPolicyPermissionsType;
18
- /** features required by the receiver of the policy */
19
- features_receiver?: SdPlatformPolicyRequiredFeatures;
20
- /** features required by the provider of the policy */
21
- features_provider?: SdPlatformPolicyRequiredFeatures;
22
- }
23
- /**
24
- * DTO for patching a policy
25
- */
26
- export interface SdPlatformRequestPolicyPatch {
27
- /** description of policy */
28
- description?: string;
29
- /** role required to be granted this policy */
30
- required_role?: string;
31
- /** granted permissions */
32
- allowed_permissions?: SdPlatformPolicyPermissionsType;
33
- /** explicitely denied permissions */
34
- denied_permissions?: SdPlatformPolicyPermissionsType;
35
- /** features required by the receiver of the policy */
36
- features_receiver?: SdPlatformPolicyRequiredFeatures;
37
- /** features required by the provider of the policy */
38
- features_provider?: SdPlatformPolicyRequiredFeatures;
39
- }
1
+ import { SdPlatformPolicyCommonAliases, SdPlatformPolicyPermissionsType, SdPlatformPolicyRequiredFeatures, SdPlatformPolicyType } from "../commons/SdPlatformPolicyCommons";
2
+ /**
3
+ * DTO for creating a policy
4
+ */
5
+ export interface SdPlatformRequestPolicyCreate {
6
+ /** type of policy */
7
+ type: SdPlatformPolicyType;
8
+ /** policy alias, used to identify policy in evaluators */
9
+ alias: SdPlatformPolicyCommonAliases | string;
10
+ /** description of policy */
11
+ description?: string;
12
+ /** role required to be granted this policy */
13
+ required_role?: string;
14
+ /** granted permissions */
15
+ allowed_permissions?: SdPlatformPolicyPermissionsType;
16
+ /** explicitely denied permissions */
17
+ denied_permissions?: SdPlatformPolicyPermissionsType;
18
+ /** features required by the receiver of the policy */
19
+ features_receiver?: SdPlatformPolicyRequiredFeatures;
20
+ /** features required by the provider of the policy */
21
+ features_provider?: SdPlatformPolicyRequiredFeatures;
22
+ }
23
+ /**
24
+ * DTO for patching a policy
25
+ */
26
+ export interface SdPlatformRequestPolicyPatch {
27
+ /** description of policy */
28
+ description?: string;
29
+ /** role required to be granted this policy */
30
+ required_role?: string;
31
+ /** granted permissions */
32
+ allowed_permissions?: SdPlatformPolicyPermissionsType;
33
+ /** explicitely denied permissions */
34
+ denied_permissions?: SdPlatformPolicyPermissionsType;
35
+ /** features required by the receiver of the policy */
36
+ features_receiver?: SdPlatformPolicyRequiredFeatures;
37
+ /** features required by the provider of the policy */
38
+ features_provider?: SdPlatformPolicyRequiredFeatures;
39
+ }
40
40
  //# sourceMappingURL=SdPlatformRequestPolicy.d.ts.map
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=SdPlatformRequestPolicy.js.map
@@ -1,36 +1,36 @@
1
- import { SdPlatformSavedStateVisibility } from "../commons/SdPlatformVisibility";
2
- /**
3
- * The saved state settings.
4
- */
5
- export interface SdPlatformRequestSavedStateSettings {
6
- version: string;
7
- viewer_settings: any;
8
- }
9
- /**
10
- * DTO for creating a saved state
11
- */
12
- export interface SdPlatformRequestSavedStateCreate {
13
- name: string;
14
- description: string;
15
- model_id: string;
16
- image_id?: string;
17
- parameters: {
18
- [id: string]: string;
19
- };
20
- visibility: SdPlatformSavedStateVisibility;
21
- settings?: SdPlatformRequestSavedStateSettings;
22
- }
23
- /**
24
- * DTO for patching a saved state
25
- */
26
- export interface SdPlatformRequestSavedStatePatch {
27
- name?: string;
28
- description?: string;
29
- image_id?: string;
30
- parameters?: {
31
- [id: string]: string;
32
- };
33
- visibility?: SdPlatformSavedStateVisibility;
34
- settings?: SdPlatformRequestSavedStateSettings;
35
- }
1
+ import { SdPlatformSavedStateVisibility } from "../commons/SdPlatformVisibility";
2
+ /**
3
+ * The saved state settings.
4
+ */
5
+ export interface SdPlatformRequestSavedStateSettings {
6
+ version: string;
7
+ viewer_settings: any;
8
+ }
9
+ /**
10
+ * DTO for creating a saved state
11
+ */
12
+ export interface SdPlatformRequestSavedStateCreate {
13
+ name: string;
14
+ description: string;
15
+ model_id: string;
16
+ image_id?: string;
17
+ parameters: {
18
+ [id: string]: string;
19
+ };
20
+ visibility: SdPlatformSavedStateVisibility;
21
+ settings?: SdPlatformRequestSavedStateSettings;
22
+ }
23
+ /**
24
+ * DTO for patching a saved state
25
+ */
26
+ export interface SdPlatformRequestSavedStatePatch {
27
+ name?: string;
28
+ description?: string;
29
+ image_id?: string;
30
+ parameters?: {
31
+ [id: string]: string;
32
+ };
33
+ visibility?: SdPlatformSavedStateVisibility;
34
+ settings?: SdPlatformRequestSavedStateSettings;
35
+ }
36
36
  //# sourceMappingURL=SdPlatformRequestSavedState.d.ts.map
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=SdPlatformRequestSavedState.js.map
@@ -1,35 +1,35 @@
1
- /**
2
- * DTO for creating a saved state sharing relationship, which shares a policy for accessing a saved state with a receiving user.
3
- */
4
- export interface SdPlatformResponseSavedStateSharingCreate {
5
- /**
6
- * Id of the receiving user.
7
- */
8
- user_id: string;
9
- /**
10
- * Id of the saved state being shared.
11
- */
12
- saved_state_id: string;
13
- /**
14
- * Alias of the policy being shared.
15
- */
16
- policy_alias: string;
17
- }
18
- /**
19
- * DTO for creating a saved state sharing relationships, which shares policies for accessing a saved state with a receiving user.
20
- */
21
- export interface SdPlatformRequestSavedStateSharingCreateMultiple {
22
- /**
23
- * Id of the receiving user.
24
- */
25
- user_id: string;
26
- /**
27
- * Id of the saved state being shared.
28
- */
29
- saved_state_id: string;
30
- /**
31
- * Aliases of policies being shared.
32
- */
33
- policy_aliases: Array<string>;
34
- }
1
+ /**
2
+ * DTO for creating a saved state sharing relationship, which shares a policy for accessing a saved state with a receiving user.
3
+ */
4
+ export interface SdPlatformResponseSavedStateSharingCreate {
5
+ /**
6
+ * Id of the receiving user.
7
+ */
8
+ user_id: string;
9
+ /**
10
+ * Id of the saved state being shared.
11
+ */
12
+ saved_state_id: string;
13
+ /**
14
+ * Alias of the policy being shared.
15
+ */
16
+ policy_alias: string;
17
+ }
18
+ /**
19
+ * DTO for creating a saved state sharing relationships, which shares policies for accessing a saved state with a receiving user.
20
+ */
21
+ export interface SdPlatformRequestSavedStateSharingCreateMultiple {
22
+ /**
23
+ * Id of the receiving user.
24
+ */
25
+ user_id: string;
26
+ /**
27
+ * Id of the saved state being shared.
28
+ */
29
+ saved_state_id: string;
30
+ /**
31
+ * Aliases of policies being shared.
32
+ */
33
+ policy_aliases: Array<string>;
34
+ }
35
35
  //# sourceMappingURL=SdPlatformRequestSavedStateSharing.d.ts.map
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=SdPlatformRequestSavedStateSharing.js.map
@@ -1,90 +1,90 @@
1
- import { SdPlatformOrganizationMemberRole } from "../commons/SdPlatformOrganizationCommons";
2
- import { SdPlatformUserVisibility } from "../commons/SdPlatformVisibility";
3
- /**
4
- * DTO for confirming a password reset request
5
- */
6
- export interface SdPlatformRequestUserPasswordResetConfirm {
7
- token: string;
8
- password?: string;
9
- password_confirmation?: string;
10
- }
11
- /**
12
- * DTO for registering a new user
13
- */
14
- export interface SdPlatformRequestUserRegister {
15
- email: string;
16
- password: string;
17
- password_confirmation: string;
18
- captcha_token: string;
19
- }
20
- /**
21
- * DTO for patching a user
22
- */
23
- export interface SdPlatformRequestUserPatch {
24
- username?: string;
25
- /**
26
- * avatar image base64 encoded, maximum 1MB
27
- */
28
- avatar?: string;
29
- location?: string;
30
- website?: string;
31
- facebook_id?: string;
32
- instagram_id?: string;
33
- mcneel_id?: string;
34
- linkedin_id?: string;
35
- twitter_id?: string;
36
- bio?: string;
37
- global_accessdomains?: Array<string>;
38
- newsletter_subscribed?: boolean;
39
- first_name?: string;
40
- last_name?: string;
41
- country?: string;
42
- company_name?: string;
43
- using_reason?: string;
44
- know_source?: string;
45
- grasshopper_knowhow?: string;
46
- industry?: string;
47
- expose_email?: boolean;
48
- old_password?: string;
49
- new_password?: string;
50
- new_password_confirmation?: string;
51
- visibility?: SdPlatformUserVisibility;
52
- allow_sharing?: boolean;
53
- allow_link_sharing?: boolean;
54
- slug?: string;
55
- /**
56
- * updates the default backend system for the user, requires permission "update_default_backend_system"
57
- */
58
- backend_system_id?: string;
59
- /**
60
- * updates the default backend system for the user based on the given backend system alias,
61
- * requires that the user has access to the backend system
62
- */
63
- backend_system_alias?: string;
64
- force_require_token?: boolean;
65
- mailing?: {
66
- [id: string]: boolean;
67
- };
68
- limit_credit_consumption?: boolean;
69
- transfers_accept_any?: boolean;
70
- transfers_clear_sharing?: boolean;
71
- transfers_accept_shareback?: boolean;
72
- }
73
- /**
74
- * DTO for patching a user - admin access level
75
- */
76
- export interface SdPlatformRequestUserPatchAdmin extends SdPlatformRequestUserPatch {
77
- /** manually activate / deactivate user */
78
- active?: boolean;
79
- /** admin roles of the user */
80
- roles?: Array<string>;
81
- /** id of chargebee customer */
82
- chargebee_customer_id?: string;
83
- /** set this to null to un-delete */
84
- deleted_at?: null;
85
- /** manually assign user to an organization */
86
- organization_id?: string;
87
- /** role of user in organization */
88
- organization_role?: SdPlatformOrganizationMemberRole;
89
- }
1
+ import { SdPlatformOrganizationMemberRole } from "../commons/SdPlatformOrganizationCommons";
2
+ import { SdPlatformUserVisibility } from "../commons/SdPlatformVisibility";
3
+ /**
4
+ * DTO for confirming a password reset request
5
+ */
6
+ export interface SdPlatformRequestUserPasswordResetConfirm {
7
+ token: string;
8
+ password?: string;
9
+ password_confirmation?: string;
10
+ }
11
+ /**
12
+ * DTO for registering a new user
13
+ */
14
+ export interface SdPlatformRequestUserRegister {
15
+ email: string;
16
+ password: string;
17
+ password_confirmation: string;
18
+ captcha_token: string;
19
+ }
20
+ /**
21
+ * DTO for patching a user
22
+ */
23
+ export interface SdPlatformRequestUserPatch {
24
+ username?: string;
25
+ /**
26
+ * avatar image base64 encoded, maximum 1MB
27
+ */
28
+ avatar?: string;
29
+ location?: string;
30
+ website?: string;
31
+ facebook_id?: string;
32
+ instagram_id?: string;
33
+ mcneel_id?: string;
34
+ linkedin_id?: string;
35
+ twitter_id?: string;
36
+ bio?: string;
37
+ global_accessdomains?: Array<string>;
38
+ newsletter_subscribed?: boolean;
39
+ first_name?: string;
40
+ last_name?: string;
41
+ country?: string;
42
+ company_name?: string;
43
+ using_reason?: string;
44
+ know_source?: string;
45
+ grasshopper_knowhow?: string;
46
+ industry?: string;
47
+ expose_email?: boolean;
48
+ old_password?: string;
49
+ new_password?: string;
50
+ new_password_confirmation?: string;
51
+ visibility?: SdPlatformUserVisibility;
52
+ allow_sharing?: boolean;
53
+ allow_link_sharing?: boolean;
54
+ slug?: string;
55
+ /**
56
+ * updates the default backend system for the user, requires permission "update_default_backend_system"
57
+ */
58
+ backend_system_id?: string;
59
+ /**
60
+ * updates the default backend system for the user based on the given backend system alias,
61
+ * requires that the user has access to the backend system
62
+ */
63
+ backend_system_alias?: string;
64
+ force_require_token?: boolean;
65
+ mailing?: {
66
+ [id: string]: boolean;
67
+ };
68
+ limit_credit_consumption?: boolean;
69
+ transfers_accept_any?: boolean;
70
+ transfers_clear_sharing?: boolean;
71
+ transfers_accept_shareback?: boolean;
72
+ }
73
+ /**
74
+ * DTO for patching a user - admin access level
75
+ */
76
+ export interface SdPlatformRequestUserPatchAdmin extends SdPlatformRequestUserPatch {
77
+ /** manually activate / deactivate user */
78
+ active?: boolean;
79
+ /** admin roles of the user */
80
+ roles?: Array<string>;
81
+ /** id of chargebee customer */
82
+ chargebee_customer_id?: string;
83
+ /** set this to null to un-delete */
84
+ deleted_at?: null;
85
+ /** manually assign user to an organization */
86
+ organization_id?: string;
87
+ /** role of user in organization */
88
+ organization_role?: SdPlatformOrganizationMemberRole;
89
+ }
90
90
  //# sourceMappingURL=SdPlatformRequestUser.d.ts.map
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=SdPlatformRequestUser.js.map
@@ -1,40 +1,40 @@
1
- import { SdPlatformNotificationLevel, SdPlatformNotificationType } from "../commons/SdPlatformNotificationCommons";
2
- /**
3
- * DTO for Chargebee webhook call
4
- * Please see https://apidocs.chargebee.com/docs/api/v1/events
5
- */
6
- export interface SdPlatformRequestWebhookChargebeeEvent {
7
- /** event id */
8
- id: string;
9
- /** event type */
10
- event_type: string;
11
- }
12
- /**
13
- * DTO for model message webhook call
14
- * Send a message to the owner of a model.
15
- */
16
- export interface SdPlatformRequestWebhookModelMessage {
17
- /** geometry backend model id (guid) */
18
- modelid: string;
19
- /** subject of message */
20
- subject: string;
21
- /** message */
22
- msg: string;
23
- }
24
- /**
25
- * DTO for notification webhook call
26
- * Create a notification related to a model.
27
- */
28
- export interface SdPlatformRequestWebhookNotification {
29
- /** geometry backend model id (guid) */
30
- guid: string;
31
- /** description of the notification */
32
- description?: string;
33
- /** optional epoch timestamp until which the notification should be valid */
34
- valid_until?: number;
35
- /** level of notification */
36
- level: SdPlatformNotificationLevel;
37
- /** type of notification */
38
- type: SdPlatformNotificationType;
39
- }
1
+ import { SdPlatformNotificationLevel, SdPlatformNotificationType } from "../commons/SdPlatformNotificationCommons";
2
+ /**
3
+ * DTO for Chargebee webhook call
4
+ * Please see https://apidocs.chargebee.com/docs/api/v1/events
5
+ */
6
+ export interface SdPlatformRequestWebhookChargebeeEvent {
7
+ /** event id */
8
+ id: string;
9
+ /** event type */
10
+ event_type: string;
11
+ }
12
+ /**
13
+ * DTO for model message webhook call
14
+ * Send a message to the owner of a model.
15
+ */
16
+ export interface SdPlatformRequestWebhookModelMessage {
17
+ /** geometry backend model id (guid) */
18
+ modelid: string;
19
+ /** subject of message */
20
+ subject: string;
21
+ /** message */
22
+ msg: string;
23
+ }
24
+ /**
25
+ * DTO for notification webhook call
26
+ * Create a notification related to a model.
27
+ */
28
+ export interface SdPlatformRequestWebhookNotification {
29
+ /** geometry backend model id (guid) */
30
+ guid: string;
31
+ /** description of the notification */
32
+ description?: string;
33
+ /** optional epoch timestamp until which the notification should be valid */
34
+ valid_until?: number;
35
+ /** level of notification */
36
+ level: SdPlatformNotificationLevel;
37
+ /** type of notification */
38
+ type: SdPlatformNotificationType;
39
+ }
40
40
  //# sourceMappingURL=SdPlatformRequestWebhook.d.ts.map
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=SdPlatformRequestWebhook.js.map