@shapediver/api.platform-api-dto-v1 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/README.md +14 -0
  2. package/dist/commons/SdPlatformApiTokenScopes.d.ts +33 -0
  3. package/dist/commons/SdPlatformApiTokenScopes.d.ts.map +1 -0
  4. package/dist/commons/SdPlatformApiTokenScopes.js +37 -0
  5. package/dist/commons/SdPlatformApiTokenScopes.js.map +1 -0
  6. package/dist/commons/SdPlatformChargebee.d.ts +8 -0
  7. package/dist/commons/SdPlatformChargebee.d.ts.map +1 -0
  8. package/dist/commons/SdPlatformChargebee.js +3 -0
  9. package/dist/commons/SdPlatformChargebee.js.map +1 -0
  10. package/dist/commons/SdPlatformModelCommons.d.ts +5 -0
  11. package/dist/commons/SdPlatformModelCommons.d.ts.map +1 -0
  12. package/dist/commons/SdPlatformModelCommons.js +9 -0
  13. package/dist/commons/SdPlatformModelCommons.js.map +1 -0
  14. package/dist/commons/SdPlatformModelTokenScopes.d.ts +10 -0
  15. package/dist/commons/SdPlatformModelTokenScopes.d.ts.map +1 -0
  16. package/dist/commons/SdPlatformModelTokenScopes.js +14 -0
  17. package/dist/commons/SdPlatformModelTokenScopes.js.map +1 -0
  18. package/dist/commons/SdPlatformNotificationCommons.d.ts +55 -0
  19. package/dist/commons/SdPlatformNotificationCommons.d.ts.map +1 -0
  20. package/dist/commons/SdPlatformNotificationCommons.js +65 -0
  21. package/dist/commons/SdPlatformNotificationCommons.js.map +1 -0
  22. package/dist/commons/SdPlatformOrganizationCommons.d.ts +29 -0
  23. package/dist/commons/SdPlatformOrganizationCommons.d.ts.map +1 -0
  24. package/dist/commons/SdPlatformOrganizationCommons.js +33 -0
  25. package/dist/commons/SdPlatformOrganizationCommons.js.map +1 -0
  26. package/dist/commons/SdPlatformPolicyCommons.d.ts +299 -0
  27. package/dist/commons/SdPlatformPolicyCommons.d.ts.map +1 -0
  28. package/dist/commons/SdPlatformPolicyCommons.js +288 -0
  29. package/dist/commons/SdPlatformPolicyCommons.js.map +1 -0
  30. package/dist/commons/SdPlatformUsedCredits.d.ts +7 -0
  31. package/dist/commons/SdPlatformUsedCredits.d.ts.map +1 -0
  32. package/dist/commons/SdPlatformUsedCredits.js +3 -0
  33. package/dist/commons/SdPlatformUsedCredits.js.map +1 -0
  34. package/dist/commons/SdPlatformVisibility.d.ts +35 -0
  35. package/dist/commons/SdPlatformVisibility.d.ts.map +1 -0
  36. package/dist/commons/SdPlatformVisibility.js +43 -0
  37. package/dist/commons/SdPlatformVisibility.js.map +1 -0
  38. package/dist/index.d.ts +50 -0
  39. package/dist/index.d.ts.map +1 -0
  40. package/dist/index.js +66 -0
  41. package/dist/index.js.map +1 -0
  42. package/dist/request/SdPlatformAuthRequest.d.ts +21 -0
  43. package/dist/request/SdPlatformAuthRequest.d.ts.map +1 -0
  44. package/dist/request/SdPlatformAuthRequest.js +13 -0
  45. package/dist/request/SdPlatformAuthRequest.js.map +1 -0
  46. package/dist/request/SdPlatformBaseRequestTypes.d.ts +46 -0
  47. package/dist/request/SdPlatformBaseRequestTypes.d.ts.map +1 -0
  48. package/dist/request/SdPlatformBaseRequestTypes.js +9 -0
  49. package/dist/request/SdPlatformBaseRequestTypes.js.map +1 -0
  50. package/dist/request/SdPlatformRequestApiToken.d.ts +24 -0
  51. package/dist/request/SdPlatformRequestApiToken.d.ts.map +1 -0
  52. package/dist/request/SdPlatformRequestApiToken.js +3 -0
  53. package/dist/request/SdPlatformRequestApiToken.js.map +1 -0
  54. package/dist/request/SdPlatformRequestBackendSystem.d.ts +64 -0
  55. package/dist/request/SdPlatformRequestBackendSystem.d.ts.map +1 -0
  56. package/dist/request/SdPlatformRequestBackendSystem.js +3 -0
  57. package/dist/request/SdPlatformRequestBackendSystem.js.map +1 -0
  58. package/dist/request/SdPlatformRequestBookmark.d.ts +8 -0
  59. package/dist/request/SdPlatformRequestBookmark.d.ts.map +1 -0
  60. package/dist/request/SdPlatformRequestBookmark.js +3 -0
  61. package/dist/request/SdPlatformRequestBookmark.js.map +1 -0
  62. package/dist/request/SdPlatformRequestChargebee.d.ts +12 -0
  63. package/dist/request/SdPlatformRequestChargebee.d.ts.map +1 -0
  64. package/dist/request/SdPlatformRequestChargebee.js +3 -0
  65. package/dist/request/SdPlatformRequestChargebee.js.map +1 -0
  66. package/dist/request/SdPlatformRequestDomain.d.ts +19 -0
  67. package/dist/request/SdPlatformRequestDomain.d.ts.map +1 -0
  68. package/dist/request/SdPlatformRequestDomain.js +3 -0
  69. package/dist/request/SdPlatformRequestDomain.js.map +1 -0
  70. package/dist/request/SdPlatformRequestImage.d.ts +17 -0
  71. package/dist/request/SdPlatformRequestImage.d.ts.map +1 -0
  72. package/dist/request/SdPlatformRequestImage.js +3 -0
  73. package/dist/request/SdPlatformRequestImage.js.map +1 -0
  74. package/dist/request/SdPlatformRequestModel.d.ts +47 -0
  75. package/dist/request/SdPlatformRequestModel.d.ts.map +1 -0
  76. package/dist/request/SdPlatformRequestModel.js +9 -0
  77. package/dist/request/SdPlatformRequestModel.js.map +1 -0
  78. package/dist/request/SdPlatformRequestModelSharing.d.ts +18 -0
  79. package/dist/request/SdPlatformRequestModelSharing.d.ts.map +1 -0
  80. package/dist/request/SdPlatformRequestModelSharing.js +3 -0
  81. package/dist/request/SdPlatformRequestModelSharing.js.map +1 -0
  82. package/dist/request/SdPlatformRequestModelToken.d.ts +10 -0
  83. package/dist/request/SdPlatformRequestModelToken.d.ts.map +1 -0
  84. package/dist/request/SdPlatformRequestModelToken.js +3 -0
  85. package/dist/request/SdPlatformRequestModelToken.js.map +1 -0
  86. package/dist/request/SdPlatformRequestModelTransfer.d.ts +15 -0
  87. package/dist/request/SdPlatformRequestModelTransfer.d.ts.map +1 -0
  88. package/dist/request/SdPlatformRequestModelTransfer.js +3 -0
  89. package/dist/request/SdPlatformRequestModelTransfer.js.map +1 -0
  90. package/dist/request/SdPlatformRequestNotification.d.ts +39 -0
  91. package/dist/request/SdPlatformRequestNotification.d.ts.map +1 -0
  92. package/dist/request/SdPlatformRequestNotification.js +3 -0
  93. package/dist/request/SdPlatformRequestNotification.js.map +1 -0
  94. package/dist/request/SdPlatformRequestOrganization.d.ts +51 -0
  95. package/dist/request/SdPlatformRequestOrganization.d.ts.map +1 -0
  96. package/dist/request/SdPlatformRequestOrganization.js +3 -0
  97. package/dist/request/SdPlatformRequestOrganization.js.map +1 -0
  98. package/dist/request/SdPlatformRequestPolicy.d.ts +40 -0
  99. package/dist/request/SdPlatformRequestPolicy.d.ts.map +1 -0
  100. package/dist/request/SdPlatformRequestPolicy.js +3 -0
  101. package/dist/request/SdPlatformRequestPolicy.js.map +1 -0
  102. package/dist/request/SdPlatformRequestSavedState.d.ts +27 -0
  103. package/dist/request/SdPlatformRequestSavedState.d.ts.map +1 -0
  104. package/dist/request/SdPlatformRequestSavedState.js +3 -0
  105. package/dist/request/SdPlatformRequestSavedState.js.map +1 -0
  106. package/dist/request/SdPlatformRequestSavedStateSharing.d.ts +18 -0
  107. package/dist/request/SdPlatformRequestSavedStateSharing.d.ts.map +1 -0
  108. package/dist/request/SdPlatformRequestSavedStateSharing.js +3 -0
  109. package/dist/request/SdPlatformRequestSavedStateSharing.js.map +1 -0
  110. package/dist/request/SdPlatformRequestUser.d.ts +77 -0
  111. package/dist/request/SdPlatformRequestUser.d.ts.map +1 -0
  112. package/dist/request/SdPlatformRequestUser.js +3 -0
  113. package/dist/request/SdPlatformRequestUser.js.map +1 -0
  114. package/dist/request/SdPlatformRequestWebhook.d.ts +40 -0
  115. package/dist/request/SdPlatformRequestWebhook.d.ts.map +1 -0
  116. package/dist/request/SdPlatformRequestWebhook.js +3 -0
  117. package/dist/request/SdPlatformRequestWebhook.js.map +1 -0
  118. package/dist/response/SdPlatformAuthResponse.d.ts +15 -0
  119. package/dist/response/SdPlatformAuthResponse.d.ts.map +1 -0
  120. package/dist/response/SdPlatformAuthResponse.js +3 -0
  121. package/dist/response/SdPlatformAuthResponse.js.map +1 -0
  122. package/dist/response/SdPlatformBaseResponseTypes.d.ts +43 -0
  123. package/dist/response/SdPlatformBaseResponseTypes.d.ts.map +1 -0
  124. package/dist/response/SdPlatformBaseResponseTypes.js +3 -0
  125. package/dist/response/SdPlatformBaseResponseTypes.js.map +1 -0
  126. package/dist/response/SdPlatformResponseAnalytics.d.ts +159 -0
  127. package/dist/response/SdPlatformResponseAnalytics.d.ts.map +1 -0
  128. package/dist/response/SdPlatformResponseAnalytics.js +12 -0
  129. package/dist/response/SdPlatformResponseAnalytics.js.map +1 -0
  130. package/dist/response/SdPlatformResponseApiToken.d.ts +25 -0
  131. package/dist/response/SdPlatformResponseApiToken.d.ts.map +1 -0
  132. package/dist/response/SdPlatformResponseApiToken.js +3 -0
  133. package/dist/response/SdPlatformResponseApiToken.js.map +1 -0
  134. package/dist/response/SdPlatformResponseBackendSystem.d.ts +52 -0
  135. package/dist/response/SdPlatformResponseBackendSystem.d.ts.map +1 -0
  136. package/dist/response/SdPlatformResponseBackendSystem.js +3 -0
  137. package/dist/response/SdPlatformResponseBackendSystem.js.map +1 -0
  138. package/dist/response/SdPlatformResponseChargebee.d.ts +33 -0
  139. package/dist/response/SdPlatformResponseChargebee.d.ts.map +1 -0
  140. package/dist/response/SdPlatformResponseChargebee.js +11 -0
  141. package/dist/response/SdPlatformResponseChargebee.js.map +1 -0
  142. package/dist/response/SdPlatformResponseDocument.d.ts +6 -0
  143. package/dist/response/SdPlatformResponseDocument.d.ts.map +1 -0
  144. package/dist/response/SdPlatformResponseDocument.js +3 -0
  145. package/dist/response/SdPlatformResponseDocument.js.map +1 -0
  146. package/dist/response/SdPlatformResponseDomain.d.ts +26 -0
  147. package/dist/response/SdPlatformResponseDomain.d.ts.map +1 -0
  148. package/dist/response/SdPlatformResponseDomain.js +3 -0
  149. package/dist/response/SdPlatformResponseDomain.js.map +1 -0
  150. package/dist/response/SdPlatformResponseFeatures.d.ts +55 -0
  151. package/dist/response/SdPlatformResponseFeatures.d.ts.map +1 -0
  152. package/dist/response/SdPlatformResponseFeatures.js +3 -0
  153. package/dist/response/SdPlatformResponseFeatures.js.map +1 -0
  154. package/dist/response/SdPlatformResponseHttpLog.d.ts +15 -0
  155. package/dist/response/SdPlatformResponseHttpLog.d.ts.map +1 -0
  156. package/dist/response/SdPlatformResponseHttpLog.js +3 -0
  157. package/dist/response/SdPlatformResponseHttpLog.js.map +1 -0
  158. package/dist/response/SdPlatformResponseImage.d.ts +35 -0
  159. package/dist/response/SdPlatformResponseImage.d.ts.map +1 -0
  160. package/dist/response/SdPlatformResponseImage.js +3 -0
  161. package/dist/response/SdPlatformResponseImage.js.map +1 -0
  162. package/dist/response/SdPlatformResponseModel.d.ts +189 -0
  163. package/dist/response/SdPlatformResponseModel.d.ts.map +1 -0
  164. package/dist/response/SdPlatformResponseModel.js +44 -0
  165. package/dist/response/SdPlatformResponseModel.js.map +1 -0
  166. package/dist/response/SdPlatformResponseModelSharing.d.ts +30 -0
  167. package/dist/response/SdPlatformResponseModelSharing.d.ts.map +1 -0
  168. package/dist/response/SdPlatformResponseModelSharing.js +3 -0
  169. package/dist/response/SdPlatformResponseModelSharing.js.map +1 -0
  170. package/dist/response/SdPlatformResponseModelToken.d.ts +24 -0
  171. package/dist/response/SdPlatformResponseModelToken.d.ts.map +1 -0
  172. package/dist/response/SdPlatformResponseModelToken.js +3 -0
  173. package/dist/response/SdPlatformResponseModelToken.js.map +1 -0
  174. package/dist/response/SdPlatformResponseNotification.d.ts +53 -0
  175. package/dist/response/SdPlatformResponseNotification.d.ts.map +1 -0
  176. package/dist/response/SdPlatformResponseNotification.js +3 -0
  177. package/dist/response/SdPlatformResponseNotification.js.map +1 -0
  178. package/dist/response/SdPlatformResponseOrganization.d.ts +62 -0
  179. package/dist/response/SdPlatformResponseOrganization.d.ts.map +1 -0
  180. package/dist/response/SdPlatformResponseOrganization.js +3 -0
  181. package/dist/response/SdPlatformResponseOrganization.js.map +1 -0
  182. package/dist/response/SdPlatformResponsePolicy.d.ts +42 -0
  183. package/dist/response/SdPlatformResponsePolicy.d.ts.map +1 -0
  184. package/dist/response/SdPlatformResponsePolicy.js +3 -0
  185. package/dist/response/SdPlatformResponsePolicy.js.map +1 -0
  186. package/dist/response/SdPlatformResponseSavedState.d.ts +47 -0
  187. package/dist/response/SdPlatformResponseSavedState.d.ts.map +1 -0
  188. package/dist/response/SdPlatformResponseSavedState.js +3 -0
  189. package/dist/response/SdPlatformResponseSavedState.js.map +1 -0
  190. package/dist/response/SdPlatformResponseSavedStateSharing.d.ts +30 -0
  191. package/dist/response/SdPlatformResponseSavedStateSharing.d.ts.map +1 -0
  192. package/dist/response/SdPlatformResponseSavedStateSharing.js +3 -0
  193. package/dist/response/SdPlatformResponseSavedStateSharing.js.map +1 -0
  194. package/dist/response/SdPlatformResponseTag.d.ts +17 -0
  195. package/dist/response/SdPlatformResponseTag.d.ts.map +1 -0
  196. package/dist/response/SdPlatformResponseTag.js +3 -0
  197. package/dist/response/SdPlatformResponseTag.js.map +1 -0
  198. package/dist/response/SdPlatformResponseUser.d.ts +87 -0
  199. package/dist/response/SdPlatformResponseUser.d.ts.map +1 -0
  200. package/dist/response/SdPlatformResponseUser.js +3 -0
  201. package/dist/response/SdPlatformResponseUser.js.map +1 -0
  202. package/package.json +38 -0
@@ -0,0 +1,18 @@
1
+ /**
2
+ * DTO for creating a model sharing relationship, which shares a policy for accessing a model with a receiving user.
3
+ */
4
+ export interface SdPlatformRequestModelSharingCreate {
5
+ /**
6
+ * Id of the receiving user.
7
+ */
8
+ user_id: string;
9
+ /**
10
+ * Id of the model being shared.
11
+ */
12
+ model_id: string;
13
+ /**
14
+ * Alias of the policy being shared.
15
+ */
16
+ policy_alias: string;
17
+ }
18
+ //# sourceMappingURL=SdPlatformRequestModelSharing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformRequestModelSharing.d.ts","sourceRoot":"","sources":["../../src/request/SdPlatformRequestModelSharing.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAEhD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACxB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SdPlatformRequestModelSharing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformRequestModelSharing.js","sourceRoot":"","sources":["../../src/request/SdPlatformRequestModelSharing.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import { SdPlatformModelTokenScopes } from "../commons/SdPlatformModelTokenScopes";
2
+ /**
3
+ * DTO for requesting a token for accessing one or several models on a ShapeDiver Geometry Backend system
4
+ */
5
+ export interface SdPlatformRequestModelTokenCreate {
6
+ id?: string;
7
+ ids?: Array<string>;
8
+ scope: Array<SdPlatformModelTokenScopes>;
9
+ }
10
+ //# sourceMappingURL=SdPlatformRequestModelToken.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformRequestModelToken.d.ts","sourceRoot":"","sources":["../../src/request/SdPlatformRequestModelToken.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAEnF;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAE9C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAA;CAC3C"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SdPlatformRequestModelToken.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformRequestModelToken.js","sourceRoot":"","sources":["../../src/request/SdPlatformRequestModelToken.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * DTO for creating a model ownership transfer notification.
3
+ */
4
+ export interface SdPlatformRequestModelTransferCreate {
5
+ /**
6
+ * Id of the receiving user.
7
+ */
8
+ receiver_id: string;
9
+ /**
10
+ * Optional aliases of policies, which the user who initiates the model ownership
11
+ * transfer asks to be shared back by the receiving user upon acceptance.
12
+ */
13
+ policies?: Array<string>;
14
+ }
15
+ //# sourceMappingURL=SdPlatformRequestModelTransfer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformRequestModelTransfer.d.ts","sourceRoot":"","sources":["../../src/request/SdPlatformRequestModelTransfer.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,MAAM,WAAW,oCAAoC;IAEjD;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SdPlatformRequestModelTransfer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformRequestModelTransfer.js","sourceRoot":"","sources":["../../src/request/SdPlatformRequestModelTransfer.ts"],"names":[],"mappings":""}
@@ -0,0 +1,39 @@
1
+ import { SdPlatformNotificationCreator, SdPlatformNotificationLevel, SdPlatformNotificationClass, SdPlatformNotificationType } from "../commons/SdPlatformNotificationCommons";
2
+ /**
3
+ * DTO for creating a notification
4
+ */
5
+ export interface SdPlatformRequestNotificationCreate {
6
+ /** id of receiver of notification */
7
+ receiver_id: string;
8
+ /** optional description */
9
+ description?: string;
10
+ /** optional id of related model */
11
+ model_id?: string;
12
+ /** optional id of related user */
13
+ user_id?: string;
14
+ /** optional id of related saved state */
15
+ saved_state_id?: string;
16
+ /** optional id of related document */
17
+ document_id?: string;
18
+ /** optional id of related organization */
19
+ organization_id?: string;
20
+ /** optional epoch timestamp until which the notification is valid */
21
+ valid_until?: number;
22
+ /** creator of notification */
23
+ creator: SdPlatformNotificationCreator;
24
+ /** level of notification */
25
+ level: SdPlatformNotificationLevel;
26
+ /** class of notification */
27
+ class: SdPlatformNotificationClass;
28
+ /** type of notification */
29
+ type?: SdPlatformNotificationType;
30
+ /** policy aliases to attach as metadata to notifications of type model-transfer-request */
31
+ policies?: Array<string>;
32
+ }
33
+ /**
34
+ * DTO for patching a notification
35
+ */
36
+ export interface SdPlatformRequestNotificationPatch {
37
+ read: boolean;
38
+ }
39
+ //# sourceMappingURL=SdPlatformRequestNotification.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformRequestNotification.d.ts","sourceRoot":"","sources":["../../src/request/SdPlatformRequestNotification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,2BAA2B,EAAE,2BAA2B,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AAE/K;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAEhD,qCAAqC;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,2BAA2B;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kCAAkC;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yCAAyC;IACzC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sCAAsC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0CAA0C;IAC1C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,qEAAqE;IACrE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8BAA8B;IAC9B,OAAO,EAAE,6BAA6B,CAAC;IACvC,4BAA4B;IAC5B,KAAK,EAAE,2BAA2B,CAAC;IACnC,4BAA4B;IAC5B,KAAK,EAAE,2BAA2B,CAAC;IACnC,2BAA2B;IAC3B,IAAI,CAAC,EAAE,0BAA0B,CAAC;IAClC,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,kCAAkC;IAE/C,IAAI,EAAE,OAAO,CAAC;CACjB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SdPlatformRequestNotification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformRequestNotification.js","sourceRoot":"","sources":["../../src/request/SdPlatformRequestNotification.ts"],"names":[],"mappings":""}
@@ -0,0 +1,51 @@
1
+ import { SdPlatformOrganizationVisibility } from "../commons/SdPlatformVisibility";
2
+ /**
3
+ * DTO for creating an organization
4
+ */
5
+ export interface SdPlatformRequestOrganizationCreate {
6
+ name: string;
7
+ /**
8
+ * avatar image base64 encoded, maximum 1MB
9
+ */
10
+ avatar?: string;
11
+ visibility?: SdPlatformOrganizationVisibility;
12
+ allow_sharing?: boolean;
13
+ allow_link_sharing?: boolean;
14
+ allow_expose_email?: boolean;
15
+ website?: string;
16
+ description?: string;
17
+ }
18
+ /**
19
+ * DTO for patching an organization - organization administrator access level
20
+ */
21
+ export interface SdPlatformRequestOrganizationPatchAdministrator {
22
+ visibility?: SdPlatformOrganizationVisibility;
23
+ allow_sharing?: boolean;
24
+ allow_link_sharing?: boolean;
25
+ allow_expose_email?: boolean;
26
+ website?: string;
27
+ description?: string;
28
+ }
29
+ /**
30
+ * DTO for patching an organization - organization owner access level
31
+ */
32
+ export interface SdPlatformRequestOrganizationPatchOwner extends SdPlatformRequestOrganizationPatchAdministrator {
33
+ name?: string;
34
+ /**
35
+ * avatar image base64 encoded, maximum 1MB
36
+ */
37
+ avatar?: string;
38
+ slug?: string;
39
+ }
40
+ /**
41
+ * DTO for patching an organization - admin access level
42
+ */
43
+ export interface SdPlatformRequestOrganizationPatchAdmin extends SdPlatformRequestOrganizationPatchOwner {
44
+ backend_system_id?: string;
45
+ chargebee_customer_id?: string;
46
+ }
47
+ /**
48
+ * DTO for patching an organization - admin access level
49
+ */
50
+ export declare type SdPlatformRequestOrganizationPatchAny = SdPlatformRequestOrganizationPatchAdmin | SdPlatformRequestOrganizationPatchOwner | SdPlatformRequestOrganizationPatchAdministrator;
51
+ //# sourceMappingURL=SdPlatformRequestOrganization.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformRequestOrganization.d.ts","sourceRoot":"","sources":["../../src/request/SdPlatformRequestOrganization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,iCAAiC,CAAC;AAEnF;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAEhD,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,gCAAgC,CAAC;IAC9C,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,+CAA+C;IAE5D,UAAU,CAAC,EAAE,gCAAgC,CAAC;IAC9C,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,uCAAwC,SAAQ,+CAA+C;IAE5G,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,uCAAwC,SAAQ,uCAAuC;IAEpG,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC;AAED;;GAEG;AACH,oBAAY,qCAAqC,GAAG,uCAAuC,GACrF,uCAAuC,GACvC,+CAA+C,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SdPlatformRequestOrganization.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformRequestOrganization.js","sourceRoot":"","sources":["../../src/request/SdPlatformRequestOrganization.ts"],"names":[],"mappings":""}
@@ -0,0 +1,40 @@
1
+ import { SdPlatformPolicyCommonAliases, SdPlatformPolicyPermissionsType, SdPlatformPolicyRequiredFeatures, SdPlatformPolicyType } from "../commons/SdPlatformPolicyCommons";
2
+ /**
3
+ * DTO for creating a policy
4
+ */
5
+ export interface SdPlatformRequestPolicyCreate {
6
+ /** type of policy */
7
+ type: SdPlatformPolicyType;
8
+ /** policy alias, used to identify policy in evaluators */
9
+ alias: SdPlatformPolicyCommonAliases | string;
10
+ /** description of policy */
11
+ description: string;
12
+ /** role required to be granted this policy */
13
+ required_role?: string;
14
+ /** granted permissions */
15
+ allowed_permissions?: SdPlatformPolicyPermissionsType;
16
+ /** explicitely denied permissions */
17
+ denied_permissions?: SdPlatformPolicyPermissionsType;
18
+ /** features required by the receiver of the policy */
19
+ features_receiver?: SdPlatformPolicyRequiredFeatures;
20
+ /** features required by the provider of the policy */
21
+ features_provider?: SdPlatformPolicyRequiredFeatures;
22
+ }
23
+ /**
24
+ * DTO for patching a policy
25
+ */
26
+ export interface SdPlatformRequestPolicyPatch {
27
+ /** description of policy */
28
+ description: string;
29
+ /** role required to be granted this policy */
30
+ required_role?: string;
31
+ /** granted permissions */
32
+ allowed_permissions?: SdPlatformPolicyPermissionsType;
33
+ /** explicitely denied permissions */
34
+ denied_permissions?: SdPlatformPolicyPermissionsType;
35
+ /** features required by the receiver of the policy */
36
+ features_receiver?: SdPlatformPolicyRequiredFeatures;
37
+ /** features required by the provider of the policy */
38
+ features_provider?: SdPlatformPolicyRequiredFeatures;
39
+ }
40
+ //# sourceMappingURL=SdPlatformRequestPolicy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformRequestPolicy.d.ts","sourceRoot":"","sources":["../../src/request/SdPlatformRequestPolicy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAA+M,+BAA+B,EAA8E,gCAAgC,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAErc;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAE1C,qBAAqB;IACrB,IAAI,EAAE,oBAAoB,CAAC;IAC3B,0DAA0D;IAC1D,KAAK,EAAE,6BAA6B,GAAG,MAAM,CAAC;IAC9C,4BAA4B;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,8CAA8C;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0BAA0B;IAC1B,mBAAmB,CAAC,EAAE,+BAA+B,CAAC;IACtD,qCAAqC;IACrC,kBAAkB,CAAC,EAAE,+BAA+B,CAAC;IACrD,sDAAsD;IACtD,iBAAiB,CAAC,EAAE,gCAAgC,CAAC;IACrD,sDAAsD;IACtD,iBAAiB,CAAC,EAAE,gCAAgC,CAAC;CACxD;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAEzC,4BAA4B;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,8CAA8C;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0BAA0B;IAC1B,mBAAmB,CAAC,EAAE,+BAA+B,CAAC;IACtD,qCAAqC;IACrC,kBAAkB,CAAC,EAAE,+BAA+B,CAAC;IACrD,sDAAsD;IACtD,iBAAiB,CAAC,EAAE,gCAAgC,CAAC;IACrD,sDAAsD;IACtD,iBAAiB,CAAC,EAAE,gCAAgC,CAAC;CACxD"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SdPlatformRequestPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformRequestPolicy.js","sourceRoot":"","sources":["../../src/request/SdPlatformRequestPolicy.ts"],"names":[],"mappings":""}
@@ -0,0 +1,27 @@
1
+ import { SdPlatformSavedStateVisibility } from "../commons/SdPlatformVisibility";
2
+ /**
3
+ * DTO for creating a saved state
4
+ */
5
+ export interface SdPlatformRequestSavedStateCreate {
6
+ name: string;
7
+ description: string;
8
+ model_id: string;
9
+ image_id?: string;
10
+ parameters: {
11
+ [id: string]: string;
12
+ };
13
+ visibility: SdPlatformSavedStateVisibility;
14
+ }
15
+ /**
16
+ * DTO for patching a saved state
17
+ */
18
+ export interface SdPlatformRequestSavedStatePatch {
19
+ name?: string;
20
+ description?: string;
21
+ image_id?: string;
22
+ parameters?: {
23
+ [id: string]: string;
24
+ };
25
+ visibility?: SdPlatformSavedStateVisibility;
26
+ }
27
+ //# sourceMappingURL=SdPlatformRequestSavedState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformRequestSavedState.d.ts","sourceRoot":"","sources":["../../src/request/SdPlatformRequestSavedState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AAEjF;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAE9C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE;QAAE,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACrC,UAAU,EAAE,8BAA8B,CAAC;CAC9C;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAE7C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE;QAAE,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACtC,UAAU,CAAC,EAAE,8BAA8B,CAAC;CAC/C"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SdPlatformRequestSavedState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformRequestSavedState.js","sourceRoot":"","sources":["../../src/request/SdPlatformRequestSavedState.ts"],"names":[],"mappings":""}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * DTO for creating a saved state sharing relationship, which shares a policy for accessing a saved state with a receiving user.
3
+ */
4
+ export interface SdPlatformResponseSavedStateSharingCreate {
5
+ /**
6
+ * Id of the receiving user.
7
+ */
8
+ user_id: string;
9
+ /**
10
+ * Id of the saved state being shared.
11
+ */
12
+ saved_state_id: string;
13
+ /**
14
+ * Alias of the policy being shared.
15
+ */
16
+ policy_alias: string;
17
+ }
18
+ //# sourceMappingURL=SdPlatformRequestSavedStateSharing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformRequestSavedStateSharing.d.ts","sourceRoot":"","sources":["../../src/request/SdPlatformRequestSavedStateSharing.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,yCAAyC;IAEtD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACxB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SdPlatformRequestSavedStateSharing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformRequestSavedStateSharing.js","sourceRoot":"","sources":["../../src/request/SdPlatformRequestSavedStateSharing.ts"],"names":[],"mappings":""}
@@ -0,0 +1,77 @@
1
+ import { SdPlatformOrganizationMemberRole } from "../commons/SdPlatformOrganizationCommons";
2
+ import { SdPlatformUserVisibility } from "../commons/SdPlatformVisibility";
3
+ /**
4
+ * DTO for confirming a password reset request
5
+ */
6
+ export interface SdPlatformRequestUserPasswordResetConfirm {
7
+ token: string;
8
+ password?: string;
9
+ password_confirmation?: string;
10
+ }
11
+ /**
12
+ * DTO for registering a new user
13
+ */
14
+ export interface SdPlatformRequestUserRegister {
15
+ email: string;
16
+ password: string;
17
+ password_confirmation: string;
18
+ captcha_token: string;
19
+ }
20
+ /**
21
+ * DTO for patching a user
22
+ */
23
+ export interface SdPlatformRequestUserPatch {
24
+ username?: string;
25
+ /**
26
+ * avatar image base64 encoded, maximum 1MB
27
+ */
28
+ avatar?: string;
29
+ location?: string;
30
+ website?: string;
31
+ facebook_id?: string;
32
+ instagram_id?: string;
33
+ mcneel_id?: string;
34
+ linkedin_id?: string;
35
+ twitter_id?: string;
36
+ bio?: string;
37
+ global_accessdomains?: Array<string>;
38
+ newsletter_subscribed?: boolean;
39
+ first_name?: string;
40
+ last_name?: string;
41
+ country?: string;
42
+ company_name?: string;
43
+ using_reason?: string;
44
+ know_source?: string;
45
+ grasshopper_knowhow?: string;
46
+ industry?: string;
47
+ expose_email?: boolean;
48
+ old_password?: string;
49
+ new_password?: string;
50
+ new_password_confirmation?: string;
51
+ visibility?: SdPlatformUserVisibility;
52
+ allow_sharing?: boolean;
53
+ allow_link_sharing?: boolean;
54
+ slug?: string;
55
+ /**
56
+ * updates the default backend system for the user, requires permission "update_default_backend_system"
57
+ */
58
+ backend_system_id?: string;
59
+ }
60
+ /**
61
+ * DTO for patching a user - admin access level
62
+ */
63
+ export interface SdPlatformRequestUserPatchAdmin extends SdPlatformRequestUserPatch {
64
+ /** manually activate / deactivate user */
65
+ active?: boolean;
66
+ /** admin roles of the user */
67
+ roles?: Array<string>;
68
+ /** id of chargebee customer */
69
+ chargebee_customer_id?: string;
70
+ /** set this to null to un-delete */
71
+ deleted_at?: null;
72
+ /** manually assign user to an organization */
73
+ organization_id: string;
74
+ /** role of user in organization */
75
+ organization_role: SdPlatformOrganizationMemberRole;
76
+ }
77
+ //# sourceMappingURL=SdPlatformRequestUser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformRequestUser.d.ts","sourceRoot":"","sources":["../../src/request/SdPlatformRequestUser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAE3E;;GAEG;AACH,MAAM,WAAW,yCAAyC;IAEtD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAE1C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,aAAa,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IAEvC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,oBAAoB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,0BAA0B;IAE/E,0CAA0C;IAC1C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,8BAA8B;IAC9B,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,+BAA+B;IAC/B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,oCAAoC;IACpC,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB,8CAA8C;IAC9C,eAAe,EAAE,MAAM,CAAC;IACxB,mCAAmC;IACnC,iBAAiB,EAAE,gCAAgC,CAAC;CACvD"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SdPlatformRequestUser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformRequestUser.js","sourceRoot":"","sources":["../../src/request/SdPlatformRequestUser.ts"],"names":[],"mappings":""}
@@ -0,0 +1,40 @@
1
+ import { SdPlatformNotificationLevel, SdPlatformNotificationType } from "../commons/SdPlatformNotificationCommons";
2
+ /**
3
+ * DTO for Chargebee webhook call
4
+ * Please see https://apidocs.chargebee.com/docs/api/v1/events
5
+ */
6
+ export interface SdPlatformRequestWebhookChargebeeEvent {
7
+ /** event id */
8
+ id: string;
9
+ /** event type */
10
+ event_type: string;
11
+ }
12
+ /**
13
+ * DTO for model message webhook call
14
+ * Send a message to the owner of a model.
15
+ */
16
+ export interface SdPlatformRequestWebhookModelMessage {
17
+ /** geometry backend model id (guid) */
18
+ modelid: string;
19
+ /** subject of message */
20
+ subject: string;
21
+ /** message */
22
+ msg: string;
23
+ }
24
+ /**
25
+ * DTO for notification webhook call
26
+ * Create a notification related to a model.
27
+ */
28
+ export interface SdPlatformRequestWebhookNotification {
29
+ /** geometry backend model id (guid) */
30
+ guid: string;
31
+ /** description of the notification */
32
+ description?: string;
33
+ /** optional epoch timestamp until which the notification should be valid */
34
+ valid_until?: number;
35
+ /** level of notification */
36
+ level: SdPlatformNotificationLevel;
37
+ /** type of notification */
38
+ type: SdPlatformNotificationType;
39
+ }
40
+ //# sourceMappingURL=SdPlatformRequestWebhook.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformRequestWebhook.d.ts","sourceRoot":"","sources":["../../src/request/SdPlatformRequestWebhook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AAEnH;;;GAGG;AACH,MAAM,WAAW,sCAAsC;IAEnD,eAAe;IACf,EAAE,EAAE,MAAM,CAAC;IACX,iBAAiB;IACjB,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,WAAW,oCAAoC;IAEjD,uCAAuC;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,yBAAyB;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc;IACd,GAAG,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,WAAW,oCAAoC;IAEjD,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,sCAAsC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4EAA4E;IAC5E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4BAA4B;IAC5B,KAAK,EAAE,2BAA2B,CAAC;IACnC,2BAA2B;IAC3B,IAAI,EAAE,0BAA0B,CAAC;CACpC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SdPlatformRequestWebhook.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformRequestWebhook.js","sourceRoot":"","sources":["../../src/request/SdPlatformRequestWebhook.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * ShapeDiver Platform Authentication API response (OAuth 2.0)
3
+ */
4
+ export interface SdPlatformAuthResponse {
5
+ access_token?: string;
6
+ refresh_token?: string;
7
+ expires_in?: number;
8
+ /** Always "Bearer" */
9
+ token_type?: string;
10
+ scope?: string;
11
+ }
12
+ export interface SdPlatformAuthLogoutResponse {
13
+ success: boolean;
14
+ }
15
+ //# sourceMappingURL=SdPlatformAuthResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformAuthResponse.d.ts","sourceRoot":"","sources":["../../src/response/SdPlatformAuthResponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,sBAAsB;IAEnC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,sBAAsB;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,4BAA4B;IAEzC,OAAO,EAAE,OAAO,CAAC;CACpB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SdPlatformAuthResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformAuthResponse.js","sourceRoot":"","sources":["../../src/response/SdPlatformAuthResponse.ts"],"names":[],"mappings":""}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Common ShapeDiver Platform GET response.
3
+ */
4
+ export interface SdPlatformGetResponse<T> {
5
+ readonly success: boolean;
6
+ readonly data: T;
7
+ }
8
+ /**
9
+ * Common ShapeDiver Platform query response.
10
+ */
11
+ export interface SdPlatformQueryResponse<T> {
12
+ readonly success: boolean;
13
+ readonly data: {
14
+ result: Array<T>;
15
+ pagination: {
16
+ limit: number;
17
+ next_offset: string;
18
+ };
19
+ };
20
+ }
21
+ /**
22
+ * Common ShapeDiver Platform POST response.
23
+ */
24
+ export interface SdPlatformPostResponse<T> {
25
+ success: boolean;
26
+ message: string;
27
+ data: T;
28
+ }
29
+ /**
30
+ * Common ShapeDiver Platform PATCH response.
31
+ */
32
+ export interface SdPlatformPatchResponse<T> {
33
+ success: boolean;
34
+ patched_properties?: Array<string>;
35
+ data: T;
36
+ }
37
+ /**
38
+ * Common ShapeDiver Platform DELETE response.
39
+ */
40
+ export interface SdPlatformDeleteResponse {
41
+ success: boolean;
42
+ }
43
+ //# sourceMappingURL=SdPlatformBaseResponseTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformBaseResponseTypes.d.ts","sourceRoot":"","sources":["../../src/response/SdPlatformBaseResponseTypes.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,MAAM,WAAW,qBAAqB,CAAC,CAAC;IAEpC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;CACpB;AAEA;;GAEG;AACJ,MAAM,WAAW,uBAAuB,CAAC,CAAC;IAEtC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE;QACX,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;QACjB,UAAU,EACV;YACI,KAAK,EAAE,MAAM,CAAC;YACd,WAAW,EAAE,MAAM,CAAC;SACvB,CAAA;KACJ,CAAA;CACJ;AAEA;;GAEG;AACJ,MAAM,WAAW,sBAAsB,CAAC,CAAC;IAErC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,CAAC,CAAC;CACX;AAEA;;GAEG;AACJ,MAAM,WAAW,uBAAuB,CAAC,CAAC;IAEtC,OAAO,EAAE,OAAO,CAAC;IACjB,kBAAkB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC,IAAI,EAAE,CAAC,CAAC;CACX;AAEA;;GAEG;AACJ,MAAM,WAAW,wBAAwB;IAErC,OAAO,EAAE,OAAO,CAAC;CACpB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SdPlatformBaseResponseTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdPlatformBaseResponseTypes.js","sourceRoot":"","sources":["../../src/response/SdPlatformBaseResponseTypes.ts"],"names":[],"mappings":""}