@shapediver/api.platform-api-dto-v1 2.12.7 → 2.12.9

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 (120) 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 -53
  25. package/dist/request/SdPlatformAuthRequest.js +20 -20
  26. package/dist/request/SdPlatformBaseRequestTypes.d.ts +45 -45
  27. package/dist/request/SdPlatformBaseRequestTypes.js +8 -8
  28. package/dist/request/SdPlatformRequestApiClients.d.ts +20 -20
  29. package/dist/request/SdPlatformRequestApiClients.js +2 -2
  30. package/dist/request/SdPlatformRequestApiToken.d.ts +23 -23
  31. package/dist/request/SdPlatformRequestApiToken.js +2 -2
  32. package/dist/request/SdPlatformRequestBackendSystem.d.ts +69 -69
  33. package/dist/request/SdPlatformRequestBackendSystem.js +2 -2
  34. package/dist/request/SdPlatformRequestBookmark.d.ts +7 -7
  35. package/dist/request/SdPlatformRequestBookmark.js +2 -2
  36. package/dist/request/SdPlatformRequestChargebee.d.ts +39 -11
  37. package/dist/request/SdPlatformRequestChargebee.d.ts.map +1 -1
  38. package/dist/request/SdPlatformRequestChargebee.js +2 -2
  39. package/dist/request/SdPlatformRequestDocument.d.ts +46 -46
  40. package/dist/request/SdPlatformRequestDocument.js +2 -2
  41. package/dist/request/SdPlatformRequestDomain.d.ts +18 -18
  42. package/dist/request/SdPlatformRequestDomain.js +2 -2
  43. package/dist/request/SdPlatformRequestImage.d.ts +16 -16
  44. package/dist/request/SdPlatformRequestImage.js +2 -2
  45. package/dist/request/SdPlatformRequestModel.d.ts +63 -63
  46. package/dist/request/SdPlatformRequestModel.js +10 -10
  47. package/dist/request/SdPlatformRequestModelSharing.d.ts +34 -34
  48. package/dist/request/SdPlatformRequestModelSharing.js +2 -2
  49. package/dist/request/SdPlatformRequestModelToken.d.ts +11 -11
  50. package/dist/request/SdPlatformRequestModelToken.js +2 -2
  51. package/dist/request/SdPlatformRequestModelTransfer.d.ts +15 -15
  52. package/dist/request/SdPlatformRequestModelTransfer.js +2 -2
  53. package/dist/request/SdPlatformRequestNotification.d.ts +40 -38
  54. package/dist/request/SdPlatformRequestNotification.d.ts.map +1 -1
  55. package/dist/request/SdPlatformRequestNotification.js +2 -2
  56. package/dist/request/SdPlatformRequestOpenIDProvider.d.ts +100 -100
  57. package/dist/request/SdPlatformRequestOpenIDProvider.js +2 -2
  58. package/dist/request/SdPlatformRequestOrganization.d.ts +57 -57
  59. package/dist/request/SdPlatformRequestOrganization.js +2 -2
  60. package/dist/request/SdPlatformRequestPolicy.d.ts +39 -39
  61. package/dist/request/SdPlatformRequestPolicy.js +2 -2
  62. package/dist/request/SdPlatformRequestSavedState.d.ts +35 -35
  63. package/dist/request/SdPlatformRequestSavedState.js +2 -2
  64. package/dist/request/SdPlatformRequestSavedStateSharing.d.ts +34 -34
  65. package/dist/request/SdPlatformRequestSavedStateSharing.js +2 -2
  66. package/dist/request/SdPlatformRequestUser.d.ts +89 -89
  67. package/dist/request/SdPlatformRequestUser.js +2 -2
  68. package/dist/request/SdPlatformRequestWebhook.d.ts +39 -39
  69. package/dist/request/SdPlatformRequestWebhook.js +2 -2
  70. package/dist/response/SdPlatformAuthResponse.d.ts +17 -17
  71. package/dist/response/SdPlatformAuthResponse.js +2 -2
  72. package/dist/response/SdPlatformBaseResponseTypes.d.ts +47 -47
  73. package/dist/response/SdPlatformBaseResponseTypes.js +2 -2
  74. package/dist/response/SdPlatformResponseAnalytics.d.ts +173 -173
  75. package/dist/response/SdPlatformResponseAnalytics.js +11 -11
  76. package/dist/response/SdPlatformResponseApiClient.d.ts +41 -11
  77. package/dist/response/SdPlatformResponseApiClient.d.ts.map +1 -1
  78. package/dist/response/SdPlatformResponseApiClient.js +2 -2
  79. package/dist/response/SdPlatformResponseApiToken.d.ts +24 -24
  80. package/dist/response/SdPlatformResponseApiToken.js +2 -2
  81. package/dist/response/SdPlatformResponseBackendSystem.d.ts +53 -53
  82. package/dist/response/SdPlatformResponseBackendSystem.js +2 -2
  83. package/dist/response/SdPlatformResponseChargebee.d.ts +32 -32
  84. package/dist/response/SdPlatformResponseChargebee.js +10 -10
  85. package/dist/response/SdPlatformResponseDocument.d.ts +112 -112
  86. package/dist/response/SdPlatformResponseDocument.js +2 -2
  87. package/dist/response/SdPlatformResponseDomain.d.ts +25 -25
  88. package/dist/response/SdPlatformResponseDomain.js +2 -2
  89. package/dist/response/SdPlatformResponseFeatures.d.ts +57 -57
  90. package/dist/response/SdPlatformResponseFeatures.js +2 -2
  91. package/dist/response/SdPlatformResponseHttpLog.d.ts +43 -14
  92. package/dist/response/SdPlatformResponseHttpLog.d.ts.map +1 -1
  93. package/dist/response/SdPlatformResponseHttpLog.js +2 -2
  94. package/dist/response/SdPlatformResponseImage.d.ts +34 -34
  95. package/dist/response/SdPlatformResponseImage.js +2 -2
  96. package/dist/response/SdPlatformResponseModel.d.ts +310 -300
  97. package/dist/response/SdPlatformResponseModel.d.ts.map +1 -1
  98. package/dist/response/SdPlatformResponseModel.js +53 -53
  99. package/dist/response/SdPlatformResponseModelSharing.d.ts +62 -62
  100. package/dist/response/SdPlatformResponseModelSharing.js +2 -2
  101. package/dist/response/SdPlatformResponseModelToken.d.ts +23 -23
  102. package/dist/response/SdPlatformResponseModelToken.js +2 -2
  103. package/dist/response/SdPlatformResponseNotification.d.ts +64 -62
  104. package/dist/response/SdPlatformResponseNotification.d.ts.map +1 -1
  105. package/dist/response/SdPlatformResponseNotification.js +2 -2
  106. package/dist/response/SdPlatformResponseOpenIDProvider.d.ts +70 -70
  107. package/dist/response/SdPlatformResponseOpenIDProvider.js +2 -2
  108. package/dist/response/SdPlatformResponseOrganization.d.ts +64 -64
  109. package/dist/response/SdPlatformResponseOrganization.js +2 -2
  110. package/dist/response/SdPlatformResponsePolicy.d.ts +57 -57
  111. package/dist/response/SdPlatformResponsePolicy.js +2 -2
  112. package/dist/response/SdPlatformResponseSavedState.d.ts +56 -56
  113. package/dist/response/SdPlatformResponseSavedState.js +2 -2
  114. package/dist/response/SdPlatformResponseSavedStateSharing.d.ts +62 -62
  115. package/dist/response/SdPlatformResponseSavedStateSharing.js +2 -2
  116. package/dist/response/SdPlatformResponseTag.d.ts +16 -16
  117. package/dist/response/SdPlatformResponseTag.js +2 -2
  118. package/dist/response/SdPlatformResponseUser.d.ts +132 -132
  119. package/dist/response/SdPlatformResponseUser.js +2 -2
  120. package/package.json +1 -1
@@ -1,65 +1,65 @@
1
- import { SdPlatformChargebeeAddon, SdPlatformChargebeeCustomer, SdPlatformChargebeePlan, SdPlatformChargebeeSubscription } from "../commons/SdPlatformChargebee";
2
- import { SdPlatformPolicyCommonAliasesOrganization, SdPlatformPolicyPermissionsOrganization } from "../commons/SdPlatformPolicyCommons";
3
- import { SdPlatformOrganizationVisibility } from "../commons/SdPlatformVisibility";
4
- import { SdPlatformResponseBackendSystem } from "./SdPlatformResponseBackendSystem";
5
- import { SdPlatformResponseDomain } from "./SdPlatformResponseDomain";
6
- import { SdPlatformResponseFeatures } from "./SdPlatformResponseFeatures";
7
- import { SdPlatformResponsePolicyPermissions } from "./SdPlatformResponsePolicy";
8
- import { SdPlatformResponseUserOrganization } from "./SdPlatformResponseUser";
9
- /**
10
- * Organization - public access level
11
- */
12
- export interface SdPlatformResponseOrganizationPublic extends SdPlatformResponsePolicyPermissions<SdPlatformPolicyCommonAliasesOrganization, SdPlatformPolicyPermissionsOrganization> {
13
- readonly id: string;
14
- readonly name: string;
15
- readonly slug: string;
16
- readonly avatar_url?: string;
17
- readonly website?: string;
18
- readonly description?: string;
19
- readonly features?: SdPlatformResponseFeatures;
20
- }
21
- /**
22
- * Organization - organization member access level.
23
- */
24
- export interface SdPlatformResponseOrganizationMember extends SdPlatformResponseOrganizationPublic {
25
- readonly accessdomains?: Array<SdPlatformResponseDomain>;
26
- readonly members: Array<SdPlatformResponseUserOrganization>;
27
- readonly visibility: SdPlatformOrganizationVisibility;
28
- readonly allow_sharing: boolean;
29
- readonly allow_link_sharing: boolean;
30
- readonly allow_expose_email: boolean;
31
- readonly backend_system?: SdPlatformResponseBackendSystem;
32
- readonly force_require_token: boolean;
33
- readonly limit_credit_consumption: boolean;
34
- readonly openid_provider?: string;
35
- }
36
- /**
37
- * Organization - organization administrator access level.
38
- */
39
- export interface SdPlatformResponseOrganizationAdministrator extends SdPlatformResponseOrganizationMember {
40
- readonly created_at: number;
41
- readonly updated_at: number;
42
- }
43
- /**
44
- * Organization - organization owner access level.
45
- */
46
- export interface SdPlatformResponseOrganizationOwner extends SdPlatformResponseOrganizationAdministrator {
47
- readonly status?: string;
48
- readonly chargebee_customer?: SdPlatformChargebeeCustomer;
49
- readonly chargebee_plan?: SdPlatformChargebeePlan;
50
- readonly chargebee_subscription?: SdPlatformChargebeeSubscription;
51
- readonly chargbee_addons?: Array<SdPlatformChargebeeAddon>;
52
- }
53
- /**
54
- * Organization - admin access level.
55
- */
56
- export interface SdPlatformResponseOrganizationAdmin extends SdPlatformResponseOrganizationOwner {
57
- readonly deleted_at?: number;
58
- readonly backend_system_id?: string;
59
- readonly chargebee_customer_id?: string;
60
- }
61
- /**
62
- * Organization - any access level
63
- */
64
- export declare type SdPlatformResponseOrganizationAny = SdPlatformResponseOrganizationAdmin | SdPlatformResponseOrganizationOwner | SdPlatformResponseOrganizationAdministrator | SdPlatformResponseOrganizationMember | SdPlatformResponseOrganizationPublic;
1
+ import { SdPlatformChargebeeAddon, SdPlatformChargebeeCustomer, SdPlatformChargebeePlan, SdPlatformChargebeeSubscription } from "../commons/SdPlatformChargebee";
2
+ import { SdPlatformPolicyCommonAliasesOrganization, SdPlatformPolicyPermissionsOrganization } from "../commons/SdPlatformPolicyCommons";
3
+ import { SdPlatformOrganizationVisibility } from "../commons/SdPlatformVisibility";
4
+ import { SdPlatformResponseBackendSystem } from "./SdPlatformResponseBackendSystem";
5
+ import { SdPlatformResponseDomain } from "./SdPlatformResponseDomain";
6
+ import { SdPlatformResponseFeatures } from "./SdPlatformResponseFeatures";
7
+ import { SdPlatformResponsePolicyPermissions } from "./SdPlatformResponsePolicy";
8
+ import { SdPlatformResponseUserOrganization } from "./SdPlatformResponseUser";
9
+ /**
10
+ * Organization - public access level
11
+ */
12
+ export interface SdPlatformResponseOrganizationPublic extends SdPlatformResponsePolicyPermissions<SdPlatformPolicyCommonAliasesOrganization, SdPlatformPolicyPermissionsOrganization> {
13
+ readonly id: string;
14
+ readonly name: string;
15
+ readonly slug: string;
16
+ readonly avatar_url?: string;
17
+ readonly website?: string;
18
+ readonly description?: string;
19
+ readonly features?: SdPlatformResponseFeatures;
20
+ }
21
+ /**
22
+ * Organization - organization member access level.
23
+ */
24
+ export interface SdPlatformResponseOrganizationMember extends SdPlatformResponseOrganizationPublic {
25
+ readonly accessdomains?: Array<SdPlatformResponseDomain>;
26
+ readonly members: Array<SdPlatformResponseUserOrganization>;
27
+ readonly visibility: SdPlatformOrganizationVisibility;
28
+ readonly allow_sharing: boolean;
29
+ readonly allow_link_sharing: boolean;
30
+ readonly allow_expose_email: boolean;
31
+ readonly backend_system?: SdPlatformResponseBackendSystem;
32
+ readonly force_require_token: boolean;
33
+ readonly limit_credit_consumption: boolean;
34
+ readonly openid_provider?: string;
35
+ }
36
+ /**
37
+ * Organization - organization administrator access level.
38
+ */
39
+ export interface SdPlatformResponseOrganizationAdministrator extends SdPlatformResponseOrganizationMember {
40
+ readonly created_at: number;
41
+ readonly updated_at: number;
42
+ }
43
+ /**
44
+ * Organization - organization owner access level.
45
+ */
46
+ export interface SdPlatformResponseOrganizationOwner extends SdPlatformResponseOrganizationAdministrator {
47
+ readonly status?: string;
48
+ readonly chargebee_customer?: SdPlatformChargebeeCustomer;
49
+ readonly chargebee_plan?: SdPlatformChargebeePlan;
50
+ readonly chargebee_subscription?: SdPlatformChargebeeSubscription;
51
+ readonly chargbee_addons?: Array<SdPlatformChargebeeAddon>;
52
+ }
53
+ /**
54
+ * Organization - admin access level.
55
+ */
56
+ export interface SdPlatformResponseOrganizationAdmin extends SdPlatformResponseOrganizationOwner {
57
+ readonly deleted_at?: number;
58
+ readonly backend_system_id?: string;
59
+ readonly chargebee_customer_id?: string;
60
+ }
61
+ /**
62
+ * Organization - any access level
63
+ */
64
+ export declare type SdPlatformResponseOrganizationAny = SdPlatformResponseOrganizationAdmin | SdPlatformResponseOrganizationOwner | SdPlatformResponseOrganizationAdministrator | SdPlatformResponseOrganizationMember | SdPlatformResponseOrganizationPublic;
65
65
  //# sourceMappingURL=SdPlatformResponseOrganization.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=SdPlatformResponseOrganization.js.map
@@ -1,58 +1,58 @@
1
- import { SdPlatformPolicyPermissionsStatusType, SdPlatformPolicyPermissionsType, SdPlatformPolicyRequiredFeatures, SdPlatformPolicyType } from "../commons/SdPlatformPolicyCommons";
2
- /**
3
- * A policy
4
- */
5
- export interface SdPlatformResponsePolicy {
6
- /** id of the policy */
7
- readonly id: string;
8
- /** type of policy */
9
- readonly type: SdPlatformPolicyType;
10
- /** policy alias, used to identify policy in evaluators */
11
- readonly alias: string;
12
- /** description of the policy */
13
- readonly description: string;
14
- /** role required to be granted this policy */
15
- readonly required_role?: string;
16
- /** permission status */
17
- readonly permissions: SdPlatformPolicyPermissionsStatusType;
18
- /** granted permissions */
19
- readonly allowed_permissions: SdPlatformPolicyPermissionsType;
20
- /** explicitely denied permissions */
21
- readonly denied_permissions: SdPlatformPolicyPermissionsType;
22
- /** features required by the receiver of the policy */
23
- readonly features_receiver: SdPlatformPolicyRequiredFeatures;
24
- /** features required by the provider of the policy */
25
- readonly features_provider: SdPlatformPolicyRequiredFeatures;
26
- }
27
- export interface SdPlatformResponsePoliciesDeniedContext {
28
- /**
29
- * The features that provider is missing.
30
- */
31
- readonly provider_missing_features: Array<string>;
32
- /**
33
- * The features that receiver is missing.
34
- */
35
- readonly receiver_missing_features: Array<string>;
36
- }
37
- /**
38
- * Permissions and policies available to the requesting user
39
- */
40
- export interface SdPlatformResponsePolicyPermissions<Tpolicy extends string, Tpermission> {
41
- /**
42
- * Aliases of granted policies.
43
- */
44
- readonly policies_granted: Array<Tpolicy>;
45
- /**
46
- * Aliases of denied policies
47
- */
48
- readonly policies_denied: Array<Tpolicy>;
49
- /**
50
- * Granted permissions
51
- */
52
- readonly permissions: Array<Tpermission>;
53
- /**
54
- * The policies denied context.
55
- */
56
- readonly policies_denied_context: Record<Tpolicy, SdPlatformResponsePoliciesDeniedContext>;
57
- }
1
+ import { SdPlatformPolicyPermissionsStatusType, SdPlatformPolicyPermissionsType, SdPlatformPolicyRequiredFeatures, SdPlatformPolicyType } from "../commons/SdPlatformPolicyCommons";
2
+ /**
3
+ * A policy
4
+ */
5
+ export interface SdPlatformResponsePolicy {
6
+ /** id of the policy */
7
+ readonly id: string;
8
+ /** type of policy */
9
+ readonly type: SdPlatformPolicyType;
10
+ /** policy alias, used to identify policy in evaluators */
11
+ readonly alias: string;
12
+ /** description of the policy */
13
+ readonly description: string;
14
+ /** role required to be granted this policy */
15
+ readonly required_role?: string;
16
+ /** permission status */
17
+ readonly permissions: SdPlatformPolicyPermissionsStatusType;
18
+ /** granted permissions */
19
+ readonly allowed_permissions: SdPlatformPolicyPermissionsType;
20
+ /** explicitely denied permissions */
21
+ readonly denied_permissions: SdPlatformPolicyPermissionsType;
22
+ /** features required by the receiver of the policy */
23
+ readonly features_receiver: SdPlatformPolicyRequiredFeatures;
24
+ /** features required by the provider of the policy */
25
+ readonly features_provider: SdPlatformPolicyRequiredFeatures;
26
+ }
27
+ export interface SdPlatformResponsePoliciesDeniedContext {
28
+ /**
29
+ * The features that provider is missing.
30
+ */
31
+ readonly provider_missing_features: Array<string>;
32
+ /**
33
+ * The features that receiver is missing.
34
+ */
35
+ readonly receiver_missing_features: Array<string>;
36
+ }
37
+ /**
38
+ * Permissions and policies available to the requesting user
39
+ */
40
+ export interface SdPlatformResponsePolicyPermissions<Tpolicy extends string, Tpermission> {
41
+ /**
42
+ * Aliases of granted policies.
43
+ */
44
+ readonly policies_granted: Array<Tpolicy>;
45
+ /**
46
+ * Aliases of denied policies
47
+ */
48
+ readonly policies_denied: Array<Tpolicy>;
49
+ /**
50
+ * Granted permissions
51
+ */
52
+ readonly permissions: Array<Tpermission>;
53
+ /**
54
+ * The policies denied context.
55
+ */
56
+ readonly policies_denied_context: Record<Tpolicy, SdPlatformResponsePoliciesDeniedContext>;
57
+ }
58
58
  //# sourceMappingURL=SdPlatformResponsePolicy.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=SdPlatformResponsePolicy.js.map
@@ -1,57 +1,57 @@
1
- import { SdPlatformPolicyCommonAliasesSavedState, SdPlatformPolicyPermissionsSavedState } from "../commons/SdPlatformPolicyCommons";
2
- import { SdPlatformSavedStateVisibility } from "../commons/SdPlatformVisibility";
3
- import { SdPlatformResponseModelPublic } from "./SdPlatformResponseModel";
4
- import { SdPlatformResponseOrganizationPublic } from "./SdPlatformResponseOrganization";
5
- import { SdPlatformResponsePolicyPermissions } from "./SdPlatformResponsePolicy";
6
- import { SdPlatformResponseUserMinimal } from "./SdPlatformResponseUser";
7
- import { SdPlatformResponseImagePublic } from './SdPlatformResponseImage';
8
- /**
9
- * Saved state - minimal information
10
- */
11
- export interface SdPlatformResponseSavedStateMinimal extends SdPlatformResponsePolicyPermissions<SdPlatformPolicyCommonAliasesSavedState, SdPlatformPolicyPermissionsSavedState> {
12
- readonly id: string;
13
- readonly name: string;
14
- readonly model_id: string;
15
- readonly model?: SdPlatformResponseModelPublic;
16
- readonly image?: SdPlatformResponseImagePublic;
17
- readonly image_id?: string;
18
- }
19
- /**
20
- * The saved state settings.
21
- */
22
- export interface SdPlatformResponseSavedStateSettings {
23
- readonly version?: string;
24
- readonly viewer_settings?: any;
25
- }
26
- /**
27
- * Saved state - public access level
28
- */
29
- export interface SdPlatformResponseSavedStatePublic extends SdPlatformResponseSavedStateMinimal {
30
- readonly description: string;
31
- readonly owner_id: string;
32
- readonly owner?: SdPlatformResponseUserMinimal;
33
- readonly parameters: {
34
- [id: string]: string;
35
- };
36
- readonly organization?: SdPlatformResponseOrganizationPublic;
37
- readonly created_at: number;
38
- readonly updated_at: number;
39
- readonly settings: SdPlatformResponseSavedStateSettings;
40
- }
41
- /**
42
- * Saved state - owner access level
43
- */
44
- export interface SdPlatformResponseSavedStateOwner extends SdPlatformResponseSavedStatePublic {
45
- readonly visibility: SdPlatformSavedStateVisibility;
46
- readonly visibility_nominal: SdPlatformSavedStateVisibility;
47
- }
48
- /**
49
- * Saved state - admin access level
50
- */
51
- export interface SdPlatformResponseSavedStateAdmin extends SdPlatformResponseSavedStateOwner {
52
- }
53
- /**
54
- * Saved state - any access level
55
- */
56
- export declare type SdPlatformResponseSavedStateAny = SdPlatformResponseSavedStateAdmin | SdPlatformResponseSavedStateOwner | SdPlatformResponseSavedStatePublic | SdPlatformResponseSavedStateMinimal;
1
+ import { SdPlatformPolicyCommonAliasesSavedState, SdPlatformPolicyPermissionsSavedState } from "../commons/SdPlatformPolicyCommons";
2
+ import { SdPlatformSavedStateVisibility } from "../commons/SdPlatformVisibility";
3
+ import { SdPlatformResponseModelPublic } from "./SdPlatformResponseModel";
4
+ import { SdPlatformResponseOrganizationPublic } from "./SdPlatformResponseOrganization";
5
+ import { SdPlatformResponsePolicyPermissions } from "./SdPlatformResponsePolicy";
6
+ import { SdPlatformResponseUserMinimal } from "./SdPlatformResponseUser";
7
+ import { SdPlatformResponseImagePublic } from './SdPlatformResponseImage';
8
+ /**
9
+ * Saved state - minimal information
10
+ */
11
+ export interface SdPlatformResponseSavedStateMinimal extends SdPlatformResponsePolicyPermissions<SdPlatformPolicyCommonAliasesSavedState, SdPlatformPolicyPermissionsSavedState> {
12
+ readonly id: string;
13
+ readonly name: string;
14
+ readonly model_id: string;
15
+ readonly model?: SdPlatformResponseModelPublic;
16
+ readonly image?: SdPlatformResponseImagePublic;
17
+ readonly image_id?: string;
18
+ }
19
+ /**
20
+ * The saved state settings.
21
+ */
22
+ export interface SdPlatformResponseSavedStateSettings {
23
+ readonly version?: string;
24
+ readonly viewer_settings?: any;
25
+ }
26
+ /**
27
+ * Saved state - public access level
28
+ */
29
+ export interface SdPlatformResponseSavedStatePublic extends SdPlatformResponseSavedStateMinimal {
30
+ readonly description: string;
31
+ readonly owner_id: string;
32
+ readonly owner?: SdPlatformResponseUserMinimal;
33
+ readonly parameters: {
34
+ [id: string]: string;
35
+ };
36
+ readonly organization?: SdPlatformResponseOrganizationPublic;
37
+ readonly created_at: number;
38
+ readonly updated_at: number;
39
+ readonly settings: SdPlatformResponseSavedStateSettings;
40
+ }
41
+ /**
42
+ * Saved state - owner access level
43
+ */
44
+ export interface SdPlatformResponseSavedStateOwner extends SdPlatformResponseSavedStatePublic {
45
+ readonly visibility: SdPlatformSavedStateVisibility;
46
+ readonly visibility_nominal: SdPlatformSavedStateVisibility;
47
+ }
48
+ /**
49
+ * Saved state - admin access level
50
+ */
51
+ export interface SdPlatformResponseSavedStateAdmin extends SdPlatformResponseSavedStateOwner {
52
+ }
53
+ /**
54
+ * Saved state - any access level
55
+ */
56
+ export declare type SdPlatformResponseSavedStateAny = SdPlatformResponseSavedStateAdmin | SdPlatformResponseSavedStateOwner | SdPlatformResponseSavedStatePublic | SdPlatformResponseSavedStateMinimal;
57
57
  //# sourceMappingURL=SdPlatformResponseSavedState.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=SdPlatformResponseSavedState.js.map
@@ -1,63 +1,63 @@
1
- import { SdPlatformResponseSavedStateMinimal } from "./SdPlatformResponseSavedState";
2
- import { SdPlatformResponseUserMinimal } from "./SdPlatformResponseUser";
3
- export interface SdPlatformResponseSavedStateSharingPolicy {
4
- /**
5
- * Id of the sharing relationship.
6
- */
7
- readonly id: string;
8
- /**
9
- * Alias of the policy being shared.
10
- */
11
- readonly policy_alias: string;
12
- /**
13
- * True if the provider of the sharing relationship (the owner of the saved state) has the required features_provider of the shared policy.
14
- */
15
- readonly provider_has_features: boolean;
16
- /**
17
- * True if the receiver of the sharing relationship (the user stored in the relationship) has the required features_receiver of the shared policy.
18
- */
19
- readonly receiver_has_features: boolean;
20
- }
21
- /**
22
- * A saved state sharing relationship, which shares a policy for accessing a saved state with a receiving user.
23
- */
24
- export interface SdPlatformResponseSavedStateSharing extends SdPlatformResponseSavedStateSharingPolicy {
25
- /**
26
- * Id of the receiving user.
27
- */
28
- readonly user_id: string;
29
- /**
30
- * Id of the saved state being shared.
31
- */
32
- readonly saved_state_id: string;
33
- /**
34
- * Gets the shared saved state.
35
- */
36
- readonly saved_state?: SdPlatformResponseSavedStateMinimal;
37
- /**
38
- * Gets the user that saved state is being shared with.
39
- */
40
- readonly user?: SdPlatformResponseUserMinimal;
41
- /**
42
- * Gets the provider of sharing relationship.
43
- */
44
- readonly provider?: SdPlatformResponseUserMinimal;
45
- }
46
- /**
47
- * The saved state sharings grouped by user.
48
- */
49
- export interface SdPlatformResponseSavedStateSharingGroupedByUser {
50
- /**
51
- * The user id.
52
- */
53
- readonly user_id: string;
54
- /**
55
- * The user.
56
- */
57
- readonly user: SdPlatformResponseUserMinimal;
58
- /**
59
- * All the policies of a sharing.
60
- */
61
- readonly policies: Array<SdPlatformResponseSavedStateSharingPolicy>;
62
- }
1
+ import { SdPlatformResponseSavedStateMinimal } from "./SdPlatformResponseSavedState";
2
+ import { SdPlatformResponseUserMinimal } from "./SdPlatformResponseUser";
3
+ export interface SdPlatformResponseSavedStateSharingPolicy {
4
+ /**
5
+ * Id of the sharing relationship.
6
+ */
7
+ readonly id: string;
8
+ /**
9
+ * Alias of the policy being shared.
10
+ */
11
+ readonly policy_alias: string;
12
+ /**
13
+ * True if the provider of the sharing relationship (the owner of the saved state) has the required features_provider of the shared policy.
14
+ */
15
+ readonly provider_has_features: boolean;
16
+ /**
17
+ * True if the receiver of the sharing relationship (the user stored in the relationship) has the required features_receiver of the shared policy.
18
+ */
19
+ readonly receiver_has_features: boolean;
20
+ }
21
+ /**
22
+ * A saved state sharing relationship, which shares a policy for accessing a saved state with a receiving user.
23
+ */
24
+ export interface SdPlatformResponseSavedStateSharing extends SdPlatformResponseSavedStateSharingPolicy {
25
+ /**
26
+ * Id of the receiving user.
27
+ */
28
+ readonly user_id: string;
29
+ /**
30
+ * Id of the saved state being shared.
31
+ */
32
+ readonly saved_state_id: string;
33
+ /**
34
+ * Gets the shared saved state.
35
+ */
36
+ readonly saved_state?: SdPlatformResponseSavedStateMinimal;
37
+ /**
38
+ * Gets the user that saved state is being shared with.
39
+ */
40
+ readonly user?: SdPlatformResponseUserMinimal;
41
+ /**
42
+ * Gets the provider of sharing relationship.
43
+ */
44
+ readonly provider?: SdPlatformResponseUserMinimal;
45
+ }
46
+ /**
47
+ * The saved state sharings grouped by user.
48
+ */
49
+ export interface SdPlatformResponseSavedStateSharingGroupedByUser {
50
+ /**
51
+ * The user id.
52
+ */
53
+ readonly user_id: string;
54
+ /**
55
+ * The user.
56
+ */
57
+ readonly user: SdPlatformResponseUserMinimal;
58
+ /**
59
+ * All the policies of a sharing.
60
+ */
61
+ readonly policies: Array<SdPlatformResponseSavedStateSharingPolicy>;
62
+ }
63
63
  //# sourceMappingURL=SdPlatformResponseSavedStateSharing.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=SdPlatformResponseSavedStateSharing.js.map
@@ -1,17 +1,17 @@
1
- /**
2
- * Tag which can be attached to a model
3
- */
4
- export interface SdPlatformResponseTag {
5
- readonly id: string;
6
- readonly name: string;
7
- }
8
- /**
9
- * Tag which can be attached to a model - admin access level
10
- */
11
- export interface SdPlatformResponseTagAdmin extends SdPlatformResponseTag {
12
- readonly models_count?: number;
13
- readonly created_at: number;
14
- readonly updated_at: number;
15
- readonly deleted_at?: number;
16
- }
1
+ /**
2
+ * Tag which can be attached to a model
3
+ */
4
+ export interface SdPlatformResponseTag {
5
+ readonly id: string;
6
+ readonly name: string;
7
+ }
8
+ /**
9
+ * Tag which can be attached to a model - admin access level
10
+ */
11
+ export interface SdPlatformResponseTagAdmin extends SdPlatformResponseTag {
12
+ readonly models_count?: number;
13
+ readonly created_at: number;
14
+ readonly updated_at: number;
15
+ readonly deleted_at?: number;
16
+ }
17
17
  //# sourceMappingURL=SdPlatformResponseTag.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=SdPlatformResponseTag.js.map