@shapediver/api.platform-api-dto-v1 2.14.1 → 2.14.5

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 (118) hide show
  1. package/README.md +14 -14
  2. package/dist/commons/SdPlatformApiTokenScopes.d.ts +173 -173
  3. package/dist/commons/SdPlatformApiTokenScopes.js +177 -177
  4. package/dist/commons/SdPlatformChargebee.d.ts +31 -31
  5. package/dist/commons/SdPlatformChargebee.js +2 -2
  6. package/dist/commons/SdPlatformModelCommons.d.ts +13 -13
  7. package/dist/commons/SdPlatformModelCommons.js +17 -17
  8. package/dist/commons/SdPlatformModelTokenScopes.d.ts +21 -21
  9. package/dist/commons/SdPlatformModelTokenScopes.js +25 -25
  10. package/dist/commons/SdPlatformNotificationCommons.d.ts +78 -78
  11. package/dist/commons/SdPlatformNotificationCommons.js +88 -88
  12. package/dist/commons/SdPlatformOrganizationCommons.d.ts +29 -29
  13. package/dist/commons/SdPlatformOrganizationCommons.js +33 -33
  14. package/dist/commons/SdPlatformPolicyCommons.d.ts +344 -344
  15. package/dist/commons/SdPlatformPolicyCommons.js +291 -291
  16. package/dist/commons/SdPlatformUsedCredits.d.ts +9 -9
  17. package/dist/commons/SdPlatformUsedCredits.js +2 -2
  18. package/dist/commons/SdPlatformVisibility.d.ts +76 -76
  19. package/dist/commons/SdPlatformVisibility.js +83 -83
  20. package/dist/index.d.ts +55 -55
  21. package/dist/index.js +71 -71
  22. package/dist/request/SdPlatformAuthRequest.d.ts +77 -77
  23. package/dist/request/SdPlatformAuthRequest.js +20 -20
  24. package/dist/request/SdPlatformBaseRequestTypes.d.ts +65 -65
  25. package/dist/request/SdPlatformBaseRequestTypes.js +14 -14
  26. package/dist/request/SdPlatformRequestApiClients.d.ts +68 -68
  27. package/dist/request/SdPlatformRequestApiClients.js +2 -2
  28. package/dist/request/SdPlatformRequestApiToken.d.ts +23 -23
  29. package/dist/request/SdPlatformRequestApiToken.js +2 -2
  30. package/dist/request/SdPlatformRequestBackendSystem.d.ts +73 -73
  31. package/dist/request/SdPlatformRequestBackendSystem.js +2 -2
  32. package/dist/request/SdPlatformRequestBookmark.d.ts +7 -7
  33. package/dist/request/SdPlatformRequestBookmark.js +2 -2
  34. package/dist/request/SdPlatformRequestChargebee.d.ts +39 -39
  35. package/dist/request/SdPlatformRequestChargebee.js +2 -2
  36. package/dist/request/SdPlatformRequestDocument.d.ts +46 -46
  37. package/dist/request/SdPlatformRequestDocument.js +2 -2
  38. package/dist/request/SdPlatformRequestDomain.d.ts +18 -18
  39. package/dist/request/SdPlatformRequestDomain.js +2 -2
  40. package/dist/request/SdPlatformRequestImage.d.ts +16 -16
  41. package/dist/request/SdPlatformRequestImage.js +2 -2
  42. package/dist/request/SdPlatformRequestModel.d.ts +102 -102
  43. package/dist/request/SdPlatformRequestModel.js +10 -10
  44. package/dist/request/SdPlatformRequestModelSharing.d.ts +34 -34
  45. package/dist/request/SdPlatformRequestModelSharing.js +2 -2
  46. package/dist/request/SdPlatformRequestModelToken.d.ts +22 -22
  47. package/dist/request/SdPlatformRequestModelToken.js +2 -2
  48. package/dist/request/SdPlatformRequestModelTransfer.d.ts +15 -15
  49. package/dist/request/SdPlatformRequestModelTransfer.js +2 -2
  50. package/dist/request/SdPlatformRequestNotification.d.ts +40 -40
  51. package/dist/request/SdPlatformRequestNotification.js +2 -2
  52. package/dist/request/SdPlatformRequestOpenIDProvider.d.ts +140 -140
  53. package/dist/request/SdPlatformRequestOpenIDProvider.js +2 -2
  54. package/dist/request/SdPlatformRequestOrganization.d.ts +117 -117
  55. package/dist/request/SdPlatformRequestOrganization.js +2 -2
  56. package/dist/request/SdPlatformRequestPolicy.d.ts +39 -39
  57. package/dist/request/SdPlatformRequestPolicy.js +2 -2
  58. package/dist/request/SdPlatformRequestSavedState.d.ts +80 -80
  59. package/dist/request/SdPlatformRequestSavedState.js +2 -2
  60. package/dist/request/SdPlatformRequestSavedStateSharing.d.ts +34 -34
  61. package/dist/request/SdPlatformRequestSavedStateSharing.js +2 -2
  62. package/dist/request/SdPlatformRequestUser.d.ts +209 -209
  63. package/dist/request/SdPlatformRequestUser.js +2 -2
  64. package/dist/request/SdPlatformRequestWebhook.d.ts +39 -39
  65. package/dist/request/SdPlatformRequestWebhook.js +2 -2
  66. package/dist/response/SdPlatformAuthResponse.d.ts +20 -20
  67. package/dist/response/SdPlatformAuthResponse.js +2 -2
  68. package/dist/response/SdPlatformBaseResponseTypes.d.ts +107 -107
  69. package/dist/response/SdPlatformBaseResponseTypes.js +2 -2
  70. package/dist/response/SdPlatformJobLogResponse.d.ts +26 -26
  71. package/dist/response/SdPlatformJobLogResponse.js +2 -2
  72. package/dist/response/SdPlatformResponseAnalytics.d.ts +173 -173
  73. package/dist/response/SdPlatformResponseAnalytics.js +11 -11
  74. package/dist/response/SdPlatformResponseApiClient.d.ts +41 -41
  75. package/dist/response/SdPlatformResponseApiClient.js +2 -2
  76. package/dist/response/SdPlatformResponseApiToken.d.ts +24 -24
  77. package/dist/response/SdPlatformResponseApiToken.js +2 -2
  78. package/dist/response/SdPlatformResponseBackendSystem.d.ts +55 -55
  79. package/dist/response/SdPlatformResponseBackendSystem.js +2 -2
  80. package/dist/response/SdPlatformResponseChargebee.d.ts +113 -113
  81. package/dist/response/SdPlatformResponseChargebee.js +29 -29
  82. package/dist/response/SdPlatformResponseDocument.d.ts +112 -112
  83. package/dist/response/SdPlatformResponseDocument.js +2 -2
  84. package/dist/response/SdPlatformResponseDomain.d.ts +25 -25
  85. package/dist/response/SdPlatformResponseDomain.js +2 -2
  86. package/dist/response/SdPlatformResponseFeatures.d.ts +57 -57
  87. package/dist/response/SdPlatformResponseFeatures.js +2 -2
  88. package/dist/response/SdPlatformResponseHttpLog.d.ts +43 -43
  89. package/dist/response/SdPlatformResponseHttpLog.js +2 -2
  90. package/dist/response/SdPlatformResponseImage.d.ts +34 -34
  91. package/dist/response/SdPlatformResponseImage.js +2 -2
  92. package/dist/response/SdPlatformResponseModel.d.ts +313 -313
  93. package/dist/response/SdPlatformResponseModel.js +53 -53
  94. package/dist/response/SdPlatformResponseModelSharing.d.ts +62 -62
  95. package/dist/response/SdPlatformResponseModelSharing.js +2 -2
  96. package/dist/response/SdPlatformResponseModelToken.d.ts +23 -23
  97. package/dist/response/SdPlatformResponseModelToken.js +2 -2
  98. package/dist/response/SdPlatformResponseNotification.d.ts +66 -66
  99. package/dist/response/SdPlatformResponseNotification.js +2 -2
  100. package/dist/response/SdPlatformResponseOpenIDProvider.d.ts +90 -90
  101. package/dist/response/SdPlatformResponseOpenIDProvider.js +2 -2
  102. package/dist/response/SdPlatformResponseOrganization.d.ts +133 -133
  103. package/dist/response/SdPlatformResponseOrganization.js +2 -2
  104. package/dist/response/SdPlatformResponsePolicy.d.ts +57 -57
  105. package/dist/response/SdPlatformResponsePolicy.js +2 -2
  106. package/dist/response/SdPlatformResponseSavedState.d.ts +107 -107
  107. package/dist/response/SdPlatformResponseSavedState.js +2 -2
  108. package/dist/response/SdPlatformResponseSavedStateSharing.d.ts +62 -62
  109. package/dist/response/SdPlatformResponseSavedStateSharing.js +2 -2
  110. package/dist/response/SdPlatformResponseTag.d.ts +34 -34
  111. package/dist/response/SdPlatformResponseTag.js +2 -2
  112. package/dist/response/SdPlatformResponseUser.d.ts +300 -300
  113. package/dist/response/SdPlatformResponseUser.js +2 -2
  114. package/dist/response/SdPlatformStargateResponse.d.ts +16 -0
  115. package/dist/response/SdPlatformStargateResponse.d.ts.map +1 -0
  116. package/dist/response/SdPlatformStargateResponse.js +3 -0
  117. package/dist/response/SdPlatformStargateResponse.js.map +1 -0
  118. package/package.json +8 -6
@@ -1,134 +1,134 @@
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
- /**
14
- * Unique id of the organization.
15
- */
16
- readonly id: string;
17
- /**
18
- * Name of the organization.
19
- */
20
- readonly name: string;
21
- /**
22
- * URL-compatible short name of the organization. Used for links to the organizations's profile on the ShapeDiver Platform.
23
- */
24
- readonly slug: string;
25
- /**
26
- * URL to the organization's avatar.
27
- */
28
- readonly avatar_url?: string;
29
- /**
30
- * Website of organization.
31
- */
32
- readonly website?: string;
33
- /**
34
- * Description of organization.
35
- */
36
- readonly description?: string;
37
- /**
38
- * Features which the organization has access to.
39
- */
40
- readonly features?: SdPlatformResponseFeatures;
41
- }
42
- /**
43
- * Organization - organization member access level.
44
- */
45
- export interface SdPlatformResponseOrganizationMember extends SdPlatformResponseOrganizationPublic {
46
- /**
47
- * Accessdomains of the organization.
48
- */
49
- readonly accessdomains?: Array<SdPlatformResponseDomain>;
50
- /**
51
- * Members of the organization.
52
- */
53
- readonly members: Array<SdPlatformResponseUserOrganization>;
54
- /**
55
- * Visibility of the organization. This limits the visibility of organization members and their models.
56
- */
57
- readonly visibility: SdPlatformOrganizationVisibility;
58
- /**
59
- * Should sharing be allowed for organization members?
60
- */
61
- readonly allow_sharing: boolean;
62
- /**
63
- * Should private link sharing be allowed for organization members?
64
- */
65
- readonly allow_link_sharing: boolean;
66
- /**
67
- * Should organization members be allowed to expose their email address?
68
- */
69
- readonly allow_expose_email: boolean;
70
- /**
71
- * Geometry backend system of the organization.
72
- */
73
- readonly backend_system?: SdPlatformResponseBackendSystem;
74
- /**
75
- * Should {@link SdPlatformResponseModelOwner.require_token} be forced to true for all models of the organization?
76
- */
77
- readonly force_require_token: boolean;
78
- /**
79
- * Should credit consumption be limited once the monthly quota has been reached?
80
- */
81
- readonly limit_credit_consumption: boolean;
82
- /**
83
- * OpenID provider linked with the organization
84
- */
85
- readonly openid_provider?: string;
86
- }
87
- /**
88
- * Organization - organization administrator access level.
89
- */
90
- export interface SdPlatformResponseOrganizationAdministrator extends SdPlatformResponseOrganizationMember {
91
- /**
92
- * Features which the organization has access to
93
- */
94
- readonly created_at: number;
95
- /**
96
- * Features which the organization has access to.
97
- */
98
- readonly updated_at: number;
99
- }
100
- /**
101
- * Organization - organization owner access level.
102
- */
103
- export interface SdPlatformResponseOrganizationOwner extends SdPlatformResponseOrganizationAdministrator {
104
- /**
105
- * Status of the organization, one of "created" or "confirmed"
106
- */
107
- readonly status?: string;
108
- readonly chargebee_customer?: SdPlatformChargebeeCustomer;
109
- readonly chargebee_plan?: SdPlatformChargebeePlan;
110
- readonly chargebee_subscription?: SdPlatformChargebeeSubscription;
111
- readonly chargbee_addons?: Array<SdPlatformChargebeeAddon>;
112
- }
113
- /**
114
- * Organization - admin access level.
115
- */
116
- export interface SdPlatformResponseOrganizationAdmin extends SdPlatformResponseOrganizationOwner {
117
- /**
118
- * Epoch timestamp of deletion.
119
- */
120
- readonly deleted_at?: number;
121
- /**
122
- * Id of backend system {@link SdPlatformRequestBackendSystemToken}
123
- */
124
- readonly backend_system_id?: string;
125
- /**
126
- * Chargebee customer id.
127
- */
128
- readonly chargebee_customer_id?: string;
129
- }
130
- /**
131
- * Organization - any access level
132
- */
133
- 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
+ /**
14
+ * Unique id of the organization.
15
+ */
16
+ readonly id: string;
17
+ /**
18
+ * Name of the organization.
19
+ */
20
+ readonly name: string;
21
+ /**
22
+ * URL-compatible short name of the organization. Used for links to the organizations's profile on the ShapeDiver Platform.
23
+ */
24
+ readonly slug: string;
25
+ /**
26
+ * URL to the organization's avatar.
27
+ */
28
+ readonly avatar_url?: string;
29
+ /**
30
+ * Website of organization.
31
+ */
32
+ readonly website?: string;
33
+ /**
34
+ * Description of organization.
35
+ */
36
+ readonly description?: string;
37
+ /**
38
+ * Features which the organization has access to.
39
+ */
40
+ readonly features?: SdPlatformResponseFeatures;
41
+ }
42
+ /**
43
+ * Organization - organization member access level.
44
+ */
45
+ export interface SdPlatformResponseOrganizationMember extends SdPlatformResponseOrganizationPublic {
46
+ /**
47
+ * Accessdomains of the organization.
48
+ */
49
+ readonly accessdomains?: Array<SdPlatformResponseDomain>;
50
+ /**
51
+ * Members of the organization.
52
+ */
53
+ readonly members: Array<SdPlatformResponseUserOrganization>;
54
+ /**
55
+ * Visibility of the organization. This limits the visibility of organization members and their models.
56
+ */
57
+ readonly visibility: SdPlatformOrganizationVisibility;
58
+ /**
59
+ * Should sharing be allowed for organization members?
60
+ */
61
+ readonly allow_sharing: boolean;
62
+ /**
63
+ * Should private link sharing be allowed for organization members?
64
+ */
65
+ readonly allow_link_sharing: boolean;
66
+ /**
67
+ * Should organization members be allowed to expose their email address?
68
+ */
69
+ readonly allow_expose_email: boolean;
70
+ /**
71
+ * Geometry backend system of the organization.
72
+ */
73
+ readonly backend_system?: SdPlatformResponseBackendSystem;
74
+ /**
75
+ * Should {@link SdPlatformResponseModelOwner.require_token} be forced to true for all models of the organization?
76
+ */
77
+ readonly force_require_token: boolean;
78
+ /**
79
+ * Should credit consumption be limited once the monthly quota has been reached?
80
+ */
81
+ readonly limit_credit_consumption: boolean;
82
+ /**
83
+ * OpenID provider linked with the organization
84
+ */
85
+ readonly openid_provider?: string;
86
+ }
87
+ /**
88
+ * Organization - organization administrator access level.
89
+ */
90
+ export interface SdPlatformResponseOrganizationAdministrator extends SdPlatformResponseOrganizationMember {
91
+ /**
92
+ * Features which the organization has access to
93
+ */
94
+ readonly created_at: number;
95
+ /**
96
+ * Features which the organization has access to.
97
+ */
98
+ readonly updated_at: number;
99
+ }
100
+ /**
101
+ * Organization - organization owner access level.
102
+ */
103
+ export interface SdPlatformResponseOrganizationOwner extends SdPlatformResponseOrganizationAdministrator {
104
+ /**
105
+ * Status of the organization, one of "created" or "confirmed"
106
+ */
107
+ readonly status?: string;
108
+ readonly chargebee_customer?: SdPlatformChargebeeCustomer;
109
+ readonly chargebee_plan?: SdPlatformChargebeePlan;
110
+ readonly chargebee_subscription?: SdPlatformChargebeeSubscription;
111
+ readonly chargbee_addons?: Array<SdPlatformChargebeeAddon>;
112
+ }
113
+ /**
114
+ * Organization - admin access level.
115
+ */
116
+ export interface SdPlatformResponseOrganizationAdmin extends SdPlatformResponseOrganizationOwner {
117
+ /**
118
+ * Epoch timestamp of deletion.
119
+ */
120
+ readonly deleted_at?: number;
121
+ /**
122
+ * Id of backend system {@link SdPlatformRequestBackendSystemToken}
123
+ */
124
+ readonly backend_system_id?: string;
125
+ /**
126
+ * Chargebee customer id.
127
+ */
128
+ readonly chargebee_customer_id?: string;
129
+ }
130
+ /**
131
+ * Organization - any access level
132
+ */
133
+ export declare type SdPlatformResponseOrganizationAny = SdPlatformResponseOrganizationAdmin | SdPlatformResponseOrganizationOwner | SdPlatformResponseOrganizationAdministrator | SdPlatformResponseOrganizationMember | SdPlatformResponseOrganizationPublic;
134
134
  //# 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,108 +1,108 @@
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
- /**
13
- * The saved state id.
14
- */
15
- readonly id: string;
16
- /**
17
- * Name of the saved state.
18
- */
19
- readonly name: string;
20
- /**
21
- * Id of the model of the saved state.
22
- */
23
- readonly model_id: string;
24
- /**
25
- * Model of the saved state.
26
- */
27
- readonly model?: SdPlatformResponseModelPublic;
28
- /**
29
- * Image of the saved state.
30
- */
31
- readonly image?: SdPlatformResponseImagePublic;
32
- /**
33
- * Id of the image of the saved state.
34
- */
35
- readonly image_id?: string;
36
- }
37
- /**
38
- * The saved state settings.
39
- */
40
- export interface SdPlatformResponseSavedStateSettings {
41
- /**
42
- * The version of settings.
43
- */
44
- readonly version?: string;
45
- /**
46
- * The Viewer Settings.
47
- */
48
- readonly viewer_settings?: any;
49
- }
50
- /**
51
- * Saved state - public access level
52
- */
53
- export interface SdPlatformResponseSavedStatePublic extends SdPlatformResponseSavedStateMinimal {
54
- /**
55
- * Description of the saved state.
56
- */
57
- readonly description: string;
58
- /**
59
- * Id of the owner of the saved state (may be different from the owner of the model).
60
- */
61
- readonly owner_id: string;
62
- /**
63
- * Owner of the saved state.
64
- */
65
- readonly owner?: SdPlatformResponseUserMinimal;
66
- /**
67
- * The parameter values of the model for this saved state. Map from parameter id to parameter string value.
68
- */
69
- readonly parameters: {
70
- [id: string]: string;
71
- };
72
- /**
73
- * Organization of the owner of the saved state, if the owner is member of an organization.
74
- */
75
- readonly organization?: SdPlatformResponseOrganizationPublic;
76
- /**
77
- * Epoch timestamp of creation.
78
- */
79
- readonly created_at: number;
80
- /**
81
- * Epoch timestamp of update.
82
- */
83
- readonly updated_at: number;
84
- readonly settings: SdPlatformResponseSavedStateSettings;
85
- }
86
- /**
87
- * Saved state - owner access level
88
- */
89
- export interface SdPlatformResponseSavedStateOwner extends SdPlatformResponseSavedStatePublic {
90
- /**
91
- * Visibility of the saved state. Might be limited by the visibility of the model, the owner, or an organization.
92
- */
93
- readonly visibility: SdPlatformSavedStateVisibility;
94
- /**
95
- * Nominal visibility of the saved state as specified by the saved state owner.
96
- */
97
- readonly visibility_nominal: SdPlatformSavedStateVisibility;
98
- }
99
- /**
100
- * Saved state - admin access level
101
- */
102
- export interface SdPlatformResponseSavedStateAdmin extends SdPlatformResponseSavedStateOwner {
103
- }
104
- /**
105
- * Saved state - any access level
106
- */
107
- 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
+ /**
13
+ * The saved state id.
14
+ */
15
+ readonly id: string;
16
+ /**
17
+ * Name of the saved state.
18
+ */
19
+ readonly name: string;
20
+ /**
21
+ * Id of the model of the saved state.
22
+ */
23
+ readonly model_id: string;
24
+ /**
25
+ * Model of the saved state.
26
+ */
27
+ readonly model?: SdPlatformResponseModelPublic;
28
+ /**
29
+ * Image of the saved state.
30
+ */
31
+ readonly image?: SdPlatformResponseImagePublic;
32
+ /**
33
+ * Id of the image of the saved state.
34
+ */
35
+ readonly image_id?: string;
36
+ }
37
+ /**
38
+ * The saved state settings.
39
+ */
40
+ export interface SdPlatformResponseSavedStateSettings {
41
+ /**
42
+ * The version of settings.
43
+ */
44
+ readonly version?: string;
45
+ /**
46
+ * The Viewer Settings.
47
+ */
48
+ readonly viewer_settings?: any;
49
+ }
50
+ /**
51
+ * Saved state - public access level
52
+ */
53
+ export interface SdPlatformResponseSavedStatePublic extends SdPlatformResponseSavedStateMinimal {
54
+ /**
55
+ * Description of the saved state.
56
+ */
57
+ readonly description: string;
58
+ /**
59
+ * Id of the owner of the saved state (may be different from the owner of the model).
60
+ */
61
+ readonly owner_id: string;
62
+ /**
63
+ * Owner of the saved state.
64
+ */
65
+ readonly owner?: SdPlatformResponseUserMinimal;
66
+ /**
67
+ * The parameter values of the model for this saved state. Map from parameter id to parameter string value.
68
+ */
69
+ readonly parameters: {
70
+ [id: string]: string;
71
+ };
72
+ /**
73
+ * Organization of the owner of the saved state, if the owner is member of an organization.
74
+ */
75
+ readonly organization?: SdPlatformResponseOrganizationPublic;
76
+ /**
77
+ * Epoch timestamp of creation.
78
+ */
79
+ readonly created_at: number;
80
+ /**
81
+ * Epoch timestamp of update.
82
+ */
83
+ readonly updated_at: number;
84
+ readonly settings: SdPlatformResponseSavedStateSettings;
85
+ }
86
+ /**
87
+ * Saved state - owner access level
88
+ */
89
+ export interface SdPlatformResponseSavedStateOwner extends SdPlatformResponseSavedStatePublic {
90
+ /**
91
+ * Visibility of the saved state. Might be limited by the visibility of the model, the owner, or an organization.
92
+ */
93
+ readonly visibility: SdPlatformSavedStateVisibility;
94
+ /**
95
+ * Nominal visibility of the saved state as specified by the saved state owner.
96
+ */
97
+ readonly visibility_nominal: SdPlatformSavedStateVisibility;
98
+ }
99
+ /**
100
+ * Saved state - admin access level
101
+ */
102
+ export interface SdPlatformResponseSavedStateAdmin extends SdPlatformResponseSavedStateOwner {
103
+ }
104
+ /**
105
+ * Saved state - any access level
106
+ */
107
+ export declare type SdPlatformResponseSavedStateAny = SdPlatformResponseSavedStateAdmin | SdPlatformResponseSavedStateOwner | SdPlatformResponseSavedStatePublic | SdPlatformResponseSavedStateMinimal;
108
108
  //# 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