@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,54 +1,54 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SdPlatformModelStatus = exports.SdPlatformModelTrustlevel = void 0;
4
- /** Level of trust into a model. */
5
- var SdPlatformModelTrustlevel;
6
- (function (SdPlatformModelTrustlevel) {
7
- SdPlatformModelTrustlevel["UNDEFINED"] = "";
8
- /** No trust into the model. */
9
- SdPlatformModelTrustlevel["NONE"] = "none";
10
- /** Full trust into the model. */
11
- SdPlatformModelTrustlevel["FULL"] = "full";
12
- })(SdPlatformModelTrustlevel = exports.SdPlatformModelTrustlevel || (exports.SdPlatformModelTrustlevel = {}));
13
- /**
14
- * Platform Backend model status.
15
- */
16
- var SdPlatformModelStatus;
17
- (function (SdPlatformModelStatus) {
18
- /** before model upload */
19
- SdPlatformModelStatus["Start"] = "start";
20
- /** model uploaded successfully */
21
- SdPlatformModelStatus["Waiting"] = "waiting";
22
- /** model has been confirmed, settings not stored yet */
23
- SdPlatformModelStatus["Confirmed"] = "confirmed";
24
- /** model has been confirmed, settings already stored */
25
- SdPlatformModelStatus["Done"] = "done";
26
- /** model checking has been suspended, ShapeDiver admin input required */
27
- SdPlatformModelStatus["Pending"] = "pending";
28
- /** model has been denied */
29
- SdPlatformModelStatus["Denied"] = "denied";
30
- /** upload of model failed */
31
- SdPlatformModelStatus["ErrorUpload"] = "error_upload";
32
- SdPlatformModelStatus["Error"] = "error";
33
- })(SdPlatformModelStatus = exports.SdPlatformModelStatus || (exports.SdPlatformModelStatus = {}));
34
- /**
35
- * Reasons for a model getting denied.
36
- */
37
- var SdPlatformModelDenyReason;
38
- (function (SdPlatformModelDenyReason) {
39
- SdPlatformModelDenyReason["Unknown"] = "unknown";
40
- SdPlatformModelDenyReason["Plugin"] = "plugin";
41
- SdPlatformModelDenyReason["Script"] = "script";
42
- SdPlatformModelDenyReason["Timeout"] = "timeout";
43
- SdPlatformModelDenyReason["NoOutputs"] = "no_outputs";
44
- SdPlatformModelDenyReason["Size"] = "size";
45
- SdPlatformModelDenyReason["OutputLimits"] = "output_limits";
46
- SdPlatformModelDenyReason["NoDefaultGeometry"] = "no_default_geometry";
47
- SdPlatformModelDenyReason["TimeoutSmall"] = "timeout_small";
48
- SdPlatformModelDenyReason["ComputationFailed"] = "computation_failed";
49
- SdPlatformModelDenyReason["NotProcessed"] = "not_processed";
50
- SdPlatformModelDenyReason["Component"] = "component";
51
- SdPlatformModelDenyReason["EncryptedCluster"] = "encrypted_cluster";
52
- SdPlatformModelDenyReason["ScriptsNotAllowed"] = "scripts_not_allowed";
53
- })(SdPlatformModelDenyReason || (SdPlatformModelDenyReason = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SdPlatformModelStatus = exports.SdPlatformModelTrustlevel = void 0;
4
+ /** Level of trust into a model. */
5
+ var SdPlatformModelTrustlevel;
6
+ (function (SdPlatformModelTrustlevel) {
7
+ SdPlatformModelTrustlevel["UNDEFINED"] = "";
8
+ /** No trust into the model. */
9
+ SdPlatformModelTrustlevel["NONE"] = "none";
10
+ /** Full trust into the model. */
11
+ SdPlatformModelTrustlevel["FULL"] = "full";
12
+ })(SdPlatformModelTrustlevel = exports.SdPlatformModelTrustlevel || (exports.SdPlatformModelTrustlevel = {}));
13
+ /**
14
+ * Platform Backend model status.
15
+ */
16
+ var SdPlatformModelStatus;
17
+ (function (SdPlatformModelStatus) {
18
+ /** before model upload */
19
+ SdPlatformModelStatus["Start"] = "start";
20
+ /** model uploaded successfully */
21
+ SdPlatformModelStatus["Waiting"] = "waiting";
22
+ /** model has been confirmed, settings not stored yet */
23
+ SdPlatformModelStatus["Confirmed"] = "confirmed";
24
+ /** model has been confirmed, settings already stored */
25
+ SdPlatformModelStatus["Done"] = "done";
26
+ /** model checking has been suspended, ShapeDiver admin input required */
27
+ SdPlatformModelStatus["Pending"] = "pending";
28
+ /** model has been denied */
29
+ SdPlatformModelStatus["Denied"] = "denied";
30
+ /** upload of model failed */
31
+ SdPlatformModelStatus["ErrorUpload"] = "error_upload";
32
+ SdPlatformModelStatus["Error"] = "error";
33
+ })(SdPlatformModelStatus = exports.SdPlatformModelStatus || (exports.SdPlatformModelStatus = {}));
34
+ /**
35
+ * Reasons for a model getting denied.
36
+ */
37
+ var SdPlatformModelDenyReason;
38
+ (function (SdPlatformModelDenyReason) {
39
+ SdPlatformModelDenyReason["Unknown"] = "unknown";
40
+ SdPlatformModelDenyReason["Plugin"] = "plugin";
41
+ SdPlatformModelDenyReason["Script"] = "script";
42
+ SdPlatformModelDenyReason["Timeout"] = "timeout";
43
+ SdPlatformModelDenyReason["NoOutputs"] = "no_outputs";
44
+ SdPlatformModelDenyReason["Size"] = "size";
45
+ SdPlatformModelDenyReason["OutputLimits"] = "output_limits";
46
+ SdPlatformModelDenyReason["NoDefaultGeometry"] = "no_default_geometry";
47
+ SdPlatformModelDenyReason["TimeoutSmall"] = "timeout_small";
48
+ SdPlatformModelDenyReason["ComputationFailed"] = "computation_failed";
49
+ SdPlatformModelDenyReason["NotProcessed"] = "not_processed";
50
+ SdPlatformModelDenyReason["Component"] = "component";
51
+ SdPlatformModelDenyReason["EncryptedCluster"] = "encrypted_cluster";
52
+ SdPlatformModelDenyReason["ScriptsNotAllowed"] = "scripts_not_allowed";
53
+ })(SdPlatformModelDenyReason || (SdPlatformModelDenyReason = {}));
54
54
  //# sourceMappingURL=SdPlatformResponseModel.js.map
@@ -1,63 +1,63 @@
1
- import { SdPlatformResponseModelBase } from "./SdPlatformResponseModel";
2
- import { SdPlatformResponseUserMinimal } from "./SdPlatformResponseUser";
3
- export interface SdPlatformResponseModelSharingPolicy {
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 model) 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 model sharing relationship, which shares a policy for accessing a model with a receiving user.
23
- */
24
- export interface SdPlatformResponseModelSharing extends SdPlatformResponseModelSharingPolicy {
25
- /**
26
- * Id of the receiving user.
27
- */
28
- readonly user_id: string;
29
- /**
30
- * Id of the model being shared.
31
- */
32
- readonly model_id: string;
33
- /**
34
- * Gets the shared model.
35
- */
36
- readonly model?: SdPlatformResponseModelBase;
37
- /**
38
- * Gets the user that model 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 model sharings grouped by user.
48
- */
49
- export interface SdPlatformResponseModelSharingGroupedByUser {
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<SdPlatformResponseModelSharingPolicy>;
62
- }
1
+ import { SdPlatformResponseModelBase } from "./SdPlatformResponseModel";
2
+ import { SdPlatformResponseUserMinimal } from "./SdPlatformResponseUser";
3
+ export interface SdPlatformResponseModelSharingPolicy {
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 model) 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 model sharing relationship, which shares a policy for accessing a model with a receiving user.
23
+ */
24
+ export interface SdPlatformResponseModelSharing extends SdPlatformResponseModelSharingPolicy {
25
+ /**
26
+ * Id of the receiving user.
27
+ */
28
+ readonly user_id: string;
29
+ /**
30
+ * Id of the model being shared.
31
+ */
32
+ readonly model_id: string;
33
+ /**
34
+ * Gets the shared model.
35
+ */
36
+ readonly model?: SdPlatformResponseModelBase;
37
+ /**
38
+ * Gets the user that model 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 model sharings grouped by user.
48
+ */
49
+ export interface SdPlatformResponseModelSharingGroupedByUser {
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<SdPlatformResponseModelSharingPolicy>;
62
+ }
63
63
  //# sourceMappingURL=SdPlatformResponseModelSharing.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=SdPlatformResponseModelSharing.js.map
@@ -1,24 +1,24 @@
1
- /**
2
- * Token for accessing one or several models on a ShapeDiver Geometry Backend system.
3
- */
4
- export interface SdPlatformResponseModelToken {
5
- /** Bearer token */
6
- readonly access_token: string;
7
- /** The endpoint of the ShapeDiver Geometry Backend System. Obsolete, will be phased out. */
8
- readonly model_mgmt_url: string;
9
- /** The endpoint of the ShapeDiver Geometry Backend System. */
10
- readonly model_view_url: string;
11
- /**
12
- * Used in case the token was requested for a single model.
13
- * The id of the model on the ShapeDiver Geometry Backend system.
14
- * This id is not the same as the id of the model on the Platform Backend!
15
- */
16
- readonly guid?: string;
17
- /**
18
- * Used in case the token was requested for multiple models.
19
- * The ids of the models on the ShapeDiver Geometry Backend system.
20
- * This id is not the same as the id of the model on the Platform Backend!
21
- */
22
- readonly guids?: Array<string>;
23
- }
1
+ /**
2
+ * Token for accessing one or several models on a ShapeDiver Geometry Backend system.
3
+ */
4
+ export interface SdPlatformResponseModelToken {
5
+ /** Bearer token */
6
+ readonly access_token: string;
7
+ /** The endpoint of the ShapeDiver Geometry Backend System. Obsolete, will be phased out. */
8
+ readonly model_mgmt_url: string;
9
+ /** The endpoint of the ShapeDiver Geometry Backend System. */
10
+ readonly model_view_url: string;
11
+ /**
12
+ * Used in case the token was requested for a single model.
13
+ * The id of the model on the ShapeDiver Geometry Backend system.
14
+ * This id is not the same as the id of the model on the Platform Backend!
15
+ */
16
+ readonly guid?: string;
17
+ /**
18
+ * Used in case the token was requested for multiple models.
19
+ * The ids of the models on the ShapeDiver Geometry Backend system.
20
+ * This id is not the same as the id of the model on the Platform Backend!
21
+ */
22
+ readonly guids?: Array<string>;
23
+ }
24
24
  //# sourceMappingURL=SdPlatformResponseModelToken.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=SdPlatformResponseModelToken.js.map
@@ -1,63 +1,65 @@
1
- import { SdPlatformResponseModelBase } from "./SdPlatformResponseModel";
2
- import { SdPlatformResponseDocument } from "./SdPlatformResponseDocument";
3
- import { SdPlatformNotificationClass, SdPlatformNotificationCreator, SdPlatformNotificationLevel, SdPlatformNotificationType } from "../commons/SdPlatformNotificationCommons";
4
- import { SdPlatformResponseOrganizationPublic } from "./SdPlatformResponseOrganization";
5
- import { SdPlatformResponseSavedStateMinimal } from "./SdPlatformResponseSavedState";
6
- import { SdPlatformResponseUserMinimal } from "./SdPlatformResponseUser";
7
- import { SdPlatformPolicyCommonAliasesModel } from "../commons/SdPlatformPolicyCommons";
8
- /**
9
- * Metadata related to a notification.
10
- */
11
- export interface SdPlatformResponseNotificationMetadata {
12
- /** policies to be shared back in case of a model-transfer-request notification */
13
- readonly policies?: Array<SdPlatformPolicyCommonAliasesModel>;
14
- }
15
- /**
16
- * Notification.
17
- */
18
- export interface SdPlatformResponseNotification {
19
- /** id of notification */
20
- readonly id: string;
21
- /** description of notification */
22
- readonly description?: string;
23
- /** epoch timestamp */
24
- readonly created_at: number;
25
- /** epoch timestamp */
26
- readonly updated_at: number;
27
- /** receiver of notification */
28
- readonly receiver?: SdPlatformResponseUserMinimal;
29
- /** model related to notification */
30
- readonly model?: SdPlatformResponseModelBase;
31
- /** user related to notification */
32
- readonly user?: SdPlatformResponseUserMinimal;
33
- /** saved state related to notification */
34
- readonly saved_state?: SdPlatformResponseSavedStateMinimal;
35
- /** organization related to notification */
36
- readonly organization?: SdPlatformResponseOrganizationPublic;
37
- /** document related to notification */
38
- readonly document?: SdPlatformResponseDocument;
39
- /** epoch timestamp until which the notification is valid */
40
- readonly valid_until?: number;
41
- /** whether the notification has been marked as read */
42
- readonly read: boolean;
43
- /** creator of notification */
44
- readonly creator: SdPlatformNotificationCreator;
45
- /** level of notification */
46
- readonly level: SdPlatformNotificationLevel;
47
- /** class of notification */
48
- readonly class: SdPlatformNotificationClass;
49
- /** type of notification */
50
- readonly type?: SdPlatformNotificationType;
51
- /** metadata according to type of notification */
52
- readonly metadata?: SdPlatformResponseNotificationMetadata;
53
- }
54
- /**
55
- * Notification summary.
56
- */
57
- export interface SdPlatformResponseNotificationSummary {
58
- /** total quantity */
59
- readonly total: number;
60
- /** unread quantity */
61
- readonly unread: number;
62
- }
1
+ import { SdPlatformResponseModelBase } from "./SdPlatformResponseModel";
2
+ import { SdPlatformResponseDocument } from "./SdPlatformResponseDocument";
3
+ import { SdPlatformNotificationClass, SdPlatformNotificationCreator, SdPlatformNotificationLevel, SdPlatformNotificationType } from "../commons/SdPlatformNotificationCommons";
4
+ import { SdPlatformResponseOrganizationPublic } from "./SdPlatformResponseOrganization";
5
+ import { SdPlatformResponseSavedStateMinimal } from "./SdPlatformResponseSavedState";
6
+ import { SdPlatformResponseUserMinimal } from "./SdPlatformResponseUser";
7
+ import { SdPlatformPolicyCommonAliasesModel } from "../commons/SdPlatformPolicyCommons";
8
+ /**
9
+ * Metadata related to a notification.
10
+ */
11
+ export interface SdPlatformResponseNotificationMetadata {
12
+ /** policies to be shared back in case of a model-transfer-request notification */
13
+ readonly policies?: Array<SdPlatformPolicyCommonAliasesModel>;
14
+ }
15
+ /**
16
+ * Notification.
17
+ */
18
+ export interface SdPlatformResponseNotification {
19
+ /** id of notification */
20
+ readonly id: string;
21
+ /** description of notification */
22
+ readonly description?: string;
23
+ /** epoch timestamp */
24
+ readonly created_at: number;
25
+ /** epoch timestamp */
26
+ readonly updated_at: number;
27
+ /** receiver of notification */
28
+ readonly receiver?: SdPlatformResponseUserMinimal;
29
+ /** model related to notification */
30
+ readonly model?: SdPlatformResponseModelBase;
31
+ /** user related to notification */
32
+ readonly user?: SdPlatformResponseUserMinimal;
33
+ /** saved state related to notification */
34
+ readonly saved_state?: SdPlatformResponseSavedStateMinimal;
35
+ /** organization related to notification */
36
+ readonly organization?: SdPlatformResponseOrganizationPublic;
37
+ /** document related to notification */
38
+ readonly document?: SdPlatformResponseDocument;
39
+ /** epoch timestamp until which the notification is valid */
40
+ readonly valid_until?: number;
41
+ /** whether the notification has been marked as read */
42
+ readonly read: boolean;
43
+ /** creator of notification */
44
+ readonly creator: SdPlatformNotificationCreator;
45
+ /** level of notification */
46
+ readonly level: SdPlatformNotificationLevel;
47
+ /** class of notification */
48
+ readonly class: SdPlatformNotificationClass;
49
+ /** type of notification */
50
+ readonly type?: SdPlatformNotificationType;
51
+ /** metadata according to type of notification */
52
+ readonly metadata?: SdPlatformResponseNotificationMetadata;
53
+ /** links to additional data such as sdk documentation. */
54
+ readonly href?: string;
55
+ }
56
+ /**
57
+ * Notification summary.
58
+ */
59
+ export interface SdPlatformResponseNotificationSummary {
60
+ /** total quantity */
61
+ readonly total: number;
62
+ /** unread quantity */
63
+ readonly unread: number;
64
+ }
63
65
  //# sourceMappingURL=SdPlatformResponseNotification.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SdPlatformResponseNotification.d.ts","sourceRoot":"","sources":["../../src/response/SdPlatformResponseNotification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MA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qCAAqC;IAElD,qBAAqB;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,sBAAsB;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CAC3B"}
@@ -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=SdPlatformResponseNotification.js.map
@@ -1,71 +1,71 @@
1
- import { SdPlatformResponseOrganizationPublic } from "./SdPlatformResponseOrganization";
2
- /**
3
- * The OpenID provider.
4
- */
5
- export interface SdPlatformResponseOpenIDProvider {
6
- /**
7
- * The id.
8
- */
9
- readonly id: string;
10
- /**
11
- * The name of an OpenID provider.
12
- */
13
- readonly name: string;
14
- /**
15
- * The client id of an OpenID provider.
16
- */
17
- readonly client_id: string;
18
- /**
19
- * The organization id of an OpenID provider.
20
- */
21
- readonly organization_id?: string;
22
- /**
23
- * The authentication endpoint of an OpenID provider.
24
- */
25
- readonly auth_endpoint: string;
26
- /**
27
- * The token endpoint of an OpenID provider.
28
- */
29
- readonly token_endpoint: string;
30
- /**
31
- * The created at date as UNIX timestamp.
32
- */
33
- readonly created_at: number;
34
- /**
35
- * The updated at date as UNIX timestamp.
36
- */
37
- readonly updated_at: number;
38
- /**
39
- * The deleted at date as Unix timestamp.
40
- */
41
- readonly deleted_at?: number;
42
- /**
43
- * The organization that OpenID provider is connected to.
44
- */
45
- readonly organization?: SdPlatformResponseOrganizationPublic;
46
- /**
47
- * The pkce.
48
- */
49
- readonly pkce: boolean;
50
- /**
51
- * The check email verified.
52
- */
53
- readonly check_email_verified?: boolean;
54
- /**
55
- * The auth group owner.
56
- */
57
- readonly auth_group_owner?: string;
58
- /**
59
- * The auth group admin.
60
- */
61
- readonly auth_group_admin?: string;
62
- /**
63
- * The auth group manager.
64
- */
65
- readonly auth_group_manager?: string;
66
- /**
67
- * The auth group user.
68
- */
69
- readonly auth_group_user?: string;
70
- }
1
+ import { SdPlatformResponseOrganizationPublic } from "./SdPlatformResponseOrganization";
2
+ /**
3
+ * The OpenID provider.
4
+ */
5
+ export interface SdPlatformResponseOpenIDProvider {
6
+ /**
7
+ * The id.
8
+ */
9
+ readonly id: string;
10
+ /**
11
+ * The name of an OpenID provider.
12
+ */
13
+ readonly name: string;
14
+ /**
15
+ * The client id of an OpenID provider.
16
+ */
17
+ readonly client_id: string;
18
+ /**
19
+ * The organization id of an OpenID provider.
20
+ */
21
+ readonly organization_id?: string;
22
+ /**
23
+ * The authentication endpoint of an OpenID provider.
24
+ */
25
+ readonly auth_endpoint: string;
26
+ /**
27
+ * The token endpoint of an OpenID provider.
28
+ */
29
+ readonly token_endpoint: string;
30
+ /**
31
+ * The created at date as UNIX timestamp.
32
+ */
33
+ readonly created_at: number;
34
+ /**
35
+ * The updated at date as UNIX timestamp.
36
+ */
37
+ readonly updated_at: number;
38
+ /**
39
+ * The deleted at date as Unix timestamp.
40
+ */
41
+ readonly deleted_at?: number;
42
+ /**
43
+ * The organization that OpenID provider is connected to.
44
+ */
45
+ readonly organization?: SdPlatformResponseOrganizationPublic;
46
+ /**
47
+ * The pkce.
48
+ */
49
+ readonly pkce: boolean;
50
+ /**
51
+ * The check email verified.
52
+ */
53
+ readonly check_email_verified?: boolean;
54
+ /**
55
+ * The auth group owner.
56
+ */
57
+ readonly auth_group_owner?: string;
58
+ /**
59
+ * The auth group admin.
60
+ */
61
+ readonly auth_group_admin?: string;
62
+ /**
63
+ * The auth group manager.
64
+ */
65
+ readonly auth_group_manager?: string;
66
+ /**
67
+ * The auth group user.
68
+ */
69
+ readonly auth_group_user?: string;
70
+ }
71
71
  //# sourceMappingURL=SdPlatformResponseOpenIDProvider.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=SdPlatformResponseOpenIDProvider.js.map