@shapediver/sdk.platform-api-sdk-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 (162) hide show
  1. package/LICENSE +7 -7
  2. package/README.md +61 -61
  3. package/dist/SdPlatformErrors.d.ts +134 -134
  4. package/dist/SdPlatformSdk.d.ts +185 -185
  5. package/dist/SdPlatformSdkContext.d.ts +71 -71
  6. package/dist/SdPlatformSdkCreate.d.ts +7 -7
  7. package/dist/api/SdPlatformRequestId.d.ts +136 -136
  8. package/dist/api/SdPlatformSdkApi.d.ts +66 -66
  9. package/dist/api/SdPlatformSdkConfig.d.ts +18 -18
  10. package/dist/api/SdPlatformSdkErrorMapping.d.ts +6 -6
  11. package/dist/auth/SdPlatformAuthServiceApi.d.ts +79 -77
  12. package/dist/auth/SdPlatformAuthServiceApi.d.ts.map +1 -1
  13. package/dist/bundle.js +3570 -3366
  14. package/dist/bundle.node.js +3609 -3381
  15. package/dist/index.d.ts +27 -27
  16. package/dist/resources/SdPlatformApiClientsApi.d.ts +43 -16
  17. package/dist/resources/SdPlatformApiClientsApi.d.ts.map +1 -1
  18. package/dist/resources/SdPlatformApiTokenApi.d.ts +43 -18
  19. package/dist/resources/SdPlatformApiTokenApi.d.ts.map +1 -1
  20. package/dist/resources/SdPlatformBackendSystemApi.d.ts +38 -17
  21. package/dist/resources/SdPlatformBackendSystemApi.d.ts.map +1 -1
  22. package/dist/resources/SdPlatformBookmarkApi.d.ts +24 -16
  23. package/dist/resources/SdPlatformBookmarkApi.d.ts.map +1 -1
  24. package/dist/resources/SdPlatformChargebeeApi.d.ts +43 -20
  25. package/dist/resources/SdPlatformChargebeeApi.d.ts.map +1 -1
  26. package/dist/resources/SdPlatformDocumentApi.d.ts +83 -83
  27. package/dist/resources/SdPlatformDomainApi.d.ts +46 -44
  28. package/dist/resources/SdPlatformDomainApi.d.ts.map +1 -1
  29. package/dist/resources/SdPlatformHttpLogApi.d.ts +16 -15
  30. package/dist/resources/SdPlatformHttpLogApi.d.ts.map +1 -1
  31. package/dist/resources/SdPlatformImageApi.d.ts +44 -36
  32. package/dist/resources/SdPlatformImageApi.d.ts.map +1 -1
  33. package/dist/resources/SdPlatformModelApi.d.ts +78 -76
  34. package/dist/resources/SdPlatformModelApi.d.ts.map +1 -1
  35. package/dist/resources/SdPlatformModelSharingApi.d.ts +65 -64
  36. package/dist/resources/SdPlatformModelSharingApi.d.ts.map +1 -1
  37. package/dist/resources/SdPlatformModelTokenApi.d.ts +15 -10
  38. package/dist/resources/SdPlatformModelTokenApi.d.ts.map +1 -1
  39. package/dist/resources/SdPlatformModelTransferApi.d.ts +47 -47
  40. package/dist/resources/SdPlatformNotificationApi.d.ts +65 -33
  41. package/dist/resources/SdPlatformNotificationApi.d.ts.map +1 -1
  42. package/dist/resources/SdPlatformOpenIDProviderApi.d.ts +41 -41
  43. package/dist/resources/SdPlatformOrganizationAnalyticsApi.d.ts +15 -15
  44. package/dist/resources/SdPlatformOrganizationApi.d.ts +95 -92
  45. package/dist/resources/SdPlatformOrganizationApi.d.ts.map +1 -1
  46. package/dist/resources/SdPlatformPolicyApi.d.ts +43 -17
  47. package/dist/resources/SdPlatformPolicyApi.d.ts.map +1 -1
  48. package/dist/resources/SdPlatformSavedStateApi.d.ts +51 -50
  49. package/dist/resources/SdPlatformSavedStateApi.d.ts.map +1 -1
  50. package/dist/resources/SdPlatformSavedStateSharingApi.d.ts +66 -66
  51. package/dist/resources/SdPlatformTagApi.d.ts +25 -15
  52. package/dist/resources/SdPlatformTagApi.d.ts.map +1 -1
  53. package/dist/resources/SdPlatformUserAnalyticsApi.d.ts +15 -15
  54. package/dist/resources/SdPlatformUserApi.d.ts +86 -86
  55. package/dist/resources/SdPlatformWebhookApi.d.ts +52 -52
  56. package/dist/resources/commons/FilterBuilder.d.ts +54 -54
  57. package/dist/resources/commons/ResourcesApi.d.ts +42 -42
  58. package/package.json +2 -2
  59. package/dist/ShapeDiverErrors.d.ts +0 -79
  60. package/dist/ShapeDiverErrors.d.ts.map +0 -1
  61. package/dist/ShapeDiverSDK.d.ts +0 -9
  62. package/dist/ShapeDiverSDK.d.ts.map +0 -1
  63. package/dist/ShapeDiverSDKContext.d.ts +0 -47
  64. package/dist/ShapeDiverSDKContext.d.ts.map +0 -1
  65. package/dist/ShapeDiverSDKInstance.d.ts +0 -91
  66. package/dist/ShapeDiverSDKInstance.d.ts.map +0 -1
  67. package/dist/api/RequestId.d.ts +0 -105
  68. package/dist/api/RequestId.d.ts.map +0 -1
  69. package/dist/api/ShapeDiverSDKApi.d.ts +0 -40
  70. package/dist/api/ShapeDiverSDKApi.d.ts.map +0 -1
  71. package/dist/api/ShapeDiverSDKApiErrors.d.ts +0 -7
  72. package/dist/api/ShapeDiverSDKApiErrors.d.ts.map +0 -1
  73. package/dist/api/ShapeDiverSDKConfig.d.ts +0 -7
  74. package/dist/api/ShapeDiverSDKConfig.d.ts.map +0 -1
  75. package/dist/api/ShapeDiverSDKRequestConfig.d.ts +0 -8
  76. package/dist/api/ShapeDiverSDKRequestConfig.d.ts.map +0 -1
  77. package/dist/auth/AuthServiceApi.d.ts +0 -34
  78. package/dist/auth/AuthServiceApi.d.ts.map +0 -1
  79. package/dist/auth/models/AuthRequest.d.ts +0 -13
  80. package/dist/auth/models/AuthRequest.d.ts.map +0 -1
  81. package/dist/auth/models/AuthResponse.d.ts +0 -12
  82. package/dist/auth/models/AuthResponse.d.ts.map +0 -1
  83. package/dist/common/FailedRequestError.d.ts +0 -4
  84. package/dist/common/FailedRequestError.d.ts.map +0 -1
  85. package/dist/common/Filter.d.ts +0 -52
  86. package/dist/common/Filter.d.ts.map +0 -1
  87. package/dist/common/FilterBuilder.d.ts +0 -55
  88. package/dist/common/FilterBuilder.d.ts.map +0 -1
  89. package/dist/common/Parameters.d.ts +0 -29
  90. package/dist/common/Parameters.d.ts.map +0 -1
  91. package/dist/common/QueryRequestParameters.d.ts +0 -46
  92. package/dist/common/QueryRequestParameters.d.ts.map +0 -1
  93. package/dist/common/RequestId.d.ts +0 -106
  94. package/dist/common/RequestId.d.ts.map +0 -1
  95. package/dist/common/ShapeDiverSDKContext.d.ts +0 -32
  96. package/dist/common/ShapeDiverSDKContext.d.ts.map +0 -1
  97. package/dist/config/ShapeDiverSDKConfig.d.ts +0 -7
  98. package/dist/config/ShapeDiverSDKConfig.d.ts.map +0 -1
  99. package/dist/resources/ResourcesApi.d.ts +0 -84
  100. package/dist/resources/ResourcesApi.d.ts.map +0 -1
  101. package/dist/resources/chargebee/ChargebeeApi.d.ts +0 -18
  102. package/dist/resources/chargebee/ChargebeeApi.d.ts.map +0 -1
  103. package/dist/resources/chargebee/models/ChargebeeRequestsAndModels.d.ts +0 -45
  104. package/dist/resources/chargebee/models/ChargebeeRequestsAndModels.d.ts.map +0 -1
  105. package/dist/resources/commons/QueryRequestParameters.d.ts +0 -46
  106. package/dist/resources/commons/QueryRequestParameters.d.ts.map +0 -1
  107. package/dist/resources/httplogs/HttpLogApi.d.ts +0 -16
  108. package/dist/resources/httplogs/HttpLogApi.d.ts.map +0 -1
  109. package/dist/resources/httplogs/models.d.ts +0 -15
  110. package/dist/resources/httplogs/models.d.ts.map +0 -1
  111. package/dist/resources/modelSharing/ModelSharingApi.d.ts +0 -50
  112. package/dist/resources/modelSharing/ModelSharingApi.d.ts.map +0 -1
  113. package/dist/resources/modelSharing/models/ModelSharing.d.ts +0 -29
  114. package/dist/resources/modelSharing/models/ModelSharing.d.ts.map +0 -1
  115. package/dist/resources/modelSharing/models/ModelSharingCreate.d.ts +0 -15
  116. package/dist/resources/modelSharing/models/ModelSharingCreate.d.ts.map +0 -1
  117. package/dist/resources/modelTransfers/CreateModelTransferRequest.d.ts +0 -8
  118. package/dist/resources/modelTransfers/CreateModelTransferRequest.d.ts.map +0 -1
  119. package/dist/resources/modelTransfers/ModelTransferApi.d.ts +0 -45
  120. package/dist/resources/modelTransfers/ModelTransferApi.d.ts.map +0 -1
  121. package/dist/resources/models/ModelApi.d.ts +0 -17
  122. package/dist/resources/models/ModelApi.d.ts.map +0 -1
  123. package/dist/resources/models/models/CreateModelTransferRequest.d.ts +0 -8
  124. package/dist/resources/models/models/CreateModelTransferRequest.d.ts.map +0 -1
  125. package/dist/resources/models/models/Model.d.ts +0 -166
  126. package/dist/resources/models/models/Model.d.ts.map +0 -1
  127. package/dist/resources/models/models/ModelCreate.d.ts +0 -21
  128. package/dist/resources/models/models/ModelCreate.d.ts.map +0 -1
  129. package/dist/resources/models/models/ModelPatch.d.ts +0 -25
  130. package/dist/resources/models/models/ModelPatch.d.ts.map +0 -1
  131. package/dist/resources/notifications/NotificationsApi.d.ts +0 -13
  132. package/dist/resources/notifications/NotificationsApi.d.ts.map +0 -1
  133. package/dist/resources/notifications/models/Notification.d.ts +0 -62
  134. package/dist/resources/notifications/models/Notification.d.ts.map +0 -1
  135. package/dist/resources/notifications/models/Requests.d.ts +0 -19
  136. package/dist/resources/notifications/models/Requests.d.ts.map +0 -1
  137. package/dist/resources/organizations/OrganizationsApi.d.ts +0 -73
  138. package/dist/resources/organizations/OrganizationsApi.d.ts.map +0 -1
  139. package/dist/resources/organizations/models/Organization.d.ts +0 -79
  140. package/dist/resources/organizations/models/Organization.d.ts.map +0 -1
  141. package/dist/resources/organizations/models/Requests.d.ts +0 -22
  142. package/dist/resources/organizations/models/Requests.d.ts.map +0 -1
  143. package/dist/resources/savedStateSharing/SavedStateSharingsApi.d.ts +0 -50
  144. package/dist/resources/savedStateSharing/SavedStateSharingsApi.d.ts.map +0 -1
  145. package/dist/resources/savedStateSharing/models/SavedStateSharingsModels.d.ts +0 -15
  146. package/dist/resources/savedStateSharing/models/SavedStateSharingsModels.d.ts.map +0 -1
  147. package/dist/resources/savedStateSharing/models/SavedStatesSharingsRequests.d.ts +0 -6
  148. package/dist/resources/savedStateSharing/models/SavedStatesSharingsRequests.d.ts.map +0 -1
  149. package/dist/resources/savedStates/SavedStatesApi.d.ts +0 -44
  150. package/dist/resources/savedStates/SavedStatesApi.d.ts.map +0 -1
  151. package/dist/resources/savedStates/models/SavedStatesModels.d.ts +0 -33
  152. package/dist/resources/savedStates/models/SavedStatesModels.d.ts.map +0 -1
  153. package/dist/resources/savedStates/models/SavedStatesRequests.d.ts +0 -29
  154. package/dist/resources/savedStates/models/SavedStatesRequests.d.ts.map +0 -1
  155. package/dist/resources/userModelSessions/UserModelSessionsApi.d.ts +0 -15
  156. package/dist/resources/userModelSessions/UserModelSessionsApi.d.ts.map +0 -1
  157. package/dist/resources/userModelSessions/models/UserModelSession.d.ts +0 -54
  158. package/dist/resources/userModelSessions/models/UserModelSession.d.ts.map +0 -1
  159. package/dist/resources/webhooks/WebhooksApi.d.ts +0 -51
  160. package/dist/resources/webhooks/WebhooksApi.d.ts.map +0 -1
  161. package/dist/resources/webhooks/models/Requests.d.ts +0 -17
  162. package/dist/resources/webhooks/models/Requests.d.ts.map +0 -1
@@ -1,45 +1,47 @@
1
- import { ResourcesApi } from "./commons/ResourcesApi";
2
- import { SdPlatformRequestDomainCreate, SdPlatformRequestDomainPatch, SdPlatformResponseDomain, SdPlatformResponseDomainAdmin } from "@shapediver/api.platform-api-dto-v1";
3
- import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
4
- export declare enum SdPlatformDomainGetEmbeddableFields {
5
- Models = "models"
6
- }
7
- export declare enum SdPlatformDomainQueryEmbeddableFields {
8
- ModelsCount = "models_count"
9
- }
10
- export declare type SdPlatformDomainQueryParameters = SdPlatformQueryParameters<SdPlatformDomainQueryEmbeddableFields>;
11
- /**
12
- * Operations for domains which can be attached or users, organizations, models.
13
- */
14
- export declare class SdPlatformDomainApi extends ResourcesApi {
15
- protected get __resourcePath(): string;
16
- /**
17
- * Get a domain by id.
18
- * @param id
19
- * @param embed
20
- * @returns
21
- */
22
- get(id: string, embed?: Array<SdPlatformDomainGetEmbeddableFields>): Promise<SdPlatformGetResponse<SdPlatformResponseDomain | SdPlatformResponseDomainAdmin>>;
23
- /**
24
- * Query domains.
25
- * @param query
26
- * @returns
27
- */
28
- query(query?: SdPlatformDomainQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseDomain | SdPlatformResponseDomainAdmin>>;
29
- /**
30
- * Create a domain.
31
- */
32
- create(body: SdPlatformRequestDomainCreate): Promise<SdPlatformPostResponse<SdPlatformResponseDomainAdmin>>;
33
- /**
34
- * Patch a domain.
35
- * @param id - the id of a domain
36
- * @param body - properties to patch
37
- */
38
- patch(id: string, body: SdPlatformRequestDomainPatch): Promise<SdPlatformPatchResponse<SdPlatformResponseDomainAdmin>>;
39
- /**
40
- * Delete a domain.
41
- * @param id - the id of a domain
42
- */
43
- delete(id: string): Promise<SdPlatformDeleteResponse>;
44
- }
1
+ import { ResourcesApi } from "./commons/ResourcesApi";
2
+ import { SdPlatformRequestDomainCreate, SdPlatformRequestDomainPatch, SdPlatformResponseDomain, SdPlatformResponseDomainAdmin } from "@shapediver/api.platform-api-dto-v1";
3
+ import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
4
+ export declare enum SdPlatformDomainGetEmbeddableFields {
5
+ Models = "models"
6
+ }
7
+ export declare enum SdPlatformDomainQueryEmbeddableFields {
8
+ ModelsCount = "models_count"
9
+ }
10
+ export declare type SdPlatformDomainQueryParameters = SdPlatformQueryParameters<SdPlatformDomainQueryEmbeddableFields>;
11
+ /**
12
+ * Operations for domains which can be attached or users, organizations, models.
13
+ */
14
+ export declare class SdPlatformDomainApi extends ResourcesApi {
15
+ protected get __resourcePath(): string;
16
+ /**
17
+ * Get a domain by id.
18
+ * @param id
19
+ * @param embed - array of {@link SdPlatformDomainGetEmbeddableFields}
20
+ * @returns - {@link SdPlatformGetResponse} with {@link SdPlatformResponseDomain} as result.
21
+ */
22
+ get(id: string, embed?: Array<SdPlatformDomainGetEmbeddableFields>): Promise<SdPlatformGetResponse<SdPlatformResponseDomain | SdPlatformResponseDomainAdmin>>;
23
+ /**
24
+ * Query domains.
25
+ * @param query
26
+ * @returns
27
+ */
28
+ query(query?: SdPlatformDomainQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseDomain | SdPlatformResponseDomainAdmin>>;
29
+ /**
30
+ * Create a new domain.
31
+ * @param body - {@link SdPlatformRequestDomainCreate} as request body.
32
+ * @returns - new domain.
33
+ */
34
+ create(body: SdPlatformRequestDomainCreate): Promise<SdPlatformPostResponse<SdPlatformResponseDomainAdmin>>;
35
+ /**
36
+ * Patch a domain.
37
+ * @param id - the id of a domain
38
+ * @param body - {@link SdPlatformRequestDomainPatch} as properties to patch.
39
+ */
40
+ patch(id: string, body: SdPlatformRequestDomainPatch): Promise<SdPlatformPatchResponse<SdPlatformResponseDomainAdmin>>;
41
+ /**
42
+ * Delete a domain.
43
+ * @param id - the id of a domain
44
+ */
45
+ delete(id: string): Promise<SdPlatformDeleteResponse>;
46
+ }
45
47
  //# sourceMappingURL=SdPlatformDomainApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SdPlatformDomainApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformDomainApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAC,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,6BAA6B,EAAE,4BAA4B,EAAE,wBAAwB,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAC3K,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAG1M,oBAAY,mCAAmC;IAE3C,MAAM,WAAW;CACpB;AAED,oBAAY,qCAAqC;IAE7C,WAAW,iBAAiB;CAC/B;AAED,oBAAY,+BAA+B,GAAG,yBAAyB,CAAC,qCAAqC,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AAC,CAAC;AAE/G;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,YAAY;IAEjD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;;OAKG;IACI,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,GAAE,KAAK,CAAC,mCAAmC,CAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,wBAAwB,GAAG,6BAA6B,CAAC,CAAC;IAKxK;;;;OAIG;IACI,KAAK,CAAC,KAAK,GAAE,+BAAoC,GAAG,OAAO,CAAC,uBAAuB,CAAC,wBAAwB,GAAG,6BAA6B,CAAC,CAAC;IAKrJ;;;;OAIG;IACI,MAAM,CAAC,IAAI,EAAE,6BAA6B,GAAG,OAAO,CAAC,sBAAsB,CAAC,6BAA6B,CAAC,CAAC;IAKlH;;;;OAIG;IACI,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,4BAA4B,GAAG,OAAO,CAAC,uBAAuB,CAAC,6BAA6B,CAAC,CAAC;IAK7H;;;OAGG;IACI,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;CAI/D"}
@@ -1,16 +1,17 @@
1
- import { ResourcesApi } from "./commons/ResourcesApi";
2
- import { SdPlatformResponseHttpLog } from "@shapediver/api.platform-api-dto-v1";
3
- import { SdPlatformQueryParameters, SdPlatformQueryResponse } from "@shapediver/api.platform-api-dto-v1";
4
- export declare type SdPlatformHttpLogQueryParameters = SdPlatformQueryParameters<null>;
5
- /**
6
- * HTTP logs.
7
- */
8
- export declare class SdPlatformHttpLogApi extends ResourcesApi {
9
- protected get __resourcePath(): string;
10
- /**
11
- * Query HTTP logs.
12
- * @param body
13
- */
14
- query(body?: SdPlatformHttpLogQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseHttpLog>>;
15
- }
1
+ import { ResourcesApi } from "./commons/ResourcesApi";
2
+ import { SdPlatformResponseHttpLog } from "@shapediver/api.platform-api-dto-v1";
3
+ import { SdPlatformQueryParameters, SdPlatformQueryResponse } from "@shapediver/api.platform-api-dto-v1";
4
+ export declare type SdPlatformHttpLogQueryParameters = SdPlatformQueryParameters<null>;
5
+ /**
6
+ * HTTP logs.
7
+ */
8
+ export declare class SdPlatformHttpLogApi extends ResourcesApi {
9
+ protected get __resourcePath(): string;
10
+ /**
11
+ * Query HTTP logs.
12
+ * @param body - the body of a request.
13
+ * @returns - http logs.
14
+ */
15
+ query(body?: SdPlatformHttpLogQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseHttpLog>>;
16
+ }
16
17
  //# sourceMappingURL=SdPlatformHttpLogApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SdPlatformHttpLogApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformHttpLogApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAG,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAA;AAExG,oBAAY,gCAAgC,GAAG,yBAAyB,CAAC,IAAI,CAAC,CAAC;AAE/E;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,YAAY;IAElD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,GAAE,gCAAqC,GAAG,OAAO,CAAC,uBAAuB,CAAC,yBAAyB,CAAC,CAAC;CAIzH"}
1
+ {"version":3,"file":"SdPlatformHttpLogApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformHttpLogApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAG,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAA;AAExG,oBAAY,gCAAgC,GAAG,yBAAyB,CAAC,IAAI,CAAC,CAAC;AAE/E;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,YAAY;IAElD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;OAIG;IACI,KAAK,CAAC,IAAI,GAAE,gCAAqC,GAAG,OAAO,CAAC,uBAAuB,CAAC,yBAAyB,CAAC,CAAC;CAIzH"}
@@ -1,37 +1,45 @@
1
- import { SdPlatformResponseImage, SdPlatformResponseImageAdmin, SdPlatformResponseImagePublic, SdPlatformRequestImageCreate } from "@shapediver/api.platform-api-dto-v1";
2
- import { ResourcesApi } from "./commons/ResourcesApi";
3
- import { SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformQueryParameters, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
4
- export declare enum SdPlatformImageQueryEmbeddableFields {
5
- User = "user",
6
- Models = "models"
7
- }
8
- export declare type SdPlatformImageQueryParameters = SdPlatformQueryParameters<SdPlatformImageQueryEmbeddableFields>;
9
- /**
10
- * Operations for images which can be attached to models.
11
- */
12
- export declare class SdPlatformImageApi extends ResourcesApi {
13
- protected get __resourcePath(): string;
14
- /**
15
- * Get image by id
16
- * @param id
17
- * @param embed
18
- * @returns
19
- */
20
- get(id: string, embed?: Array<SdPlatformImageQueryEmbeddableFields>): Promise<SdPlatformGetResponse<SdPlatformResponseImageAdmin | SdPlatformResponseImage | SdPlatformResponseImagePublic>>;
21
- /**
22
- * Queries images
23
- * @param body
24
- */
25
- query(body?: SdPlatformImageQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseImageAdmin | SdPlatformResponseImage | SdPlatformResponseImagePublic>>;
26
- /**
27
- * Create an image
28
- * @param body
29
- */
30
- create(body: SdPlatformRequestImageCreate): Promise<SdPlatformPostResponse<SdPlatformResponseImage>>;
31
- /**
32
- * Delete image by id
33
- * @param id - image id.
34
- */
35
- delete(id: string): Promise<SdPlatformDeleteResponse>;
36
- }
1
+ import { SdPlatformResponseImage, SdPlatformResponseImageAdmin, SdPlatformResponseImagePublic, SdPlatformRequestImageCreate } from "@shapediver/api.platform-api-dto-v1";
2
+ import { ResourcesApi } from "./commons/ResourcesApi";
3
+ import { SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformQueryParameters, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
4
+ /**
5
+ * Platform image emedabble fields.
6
+ */
7
+ export declare enum SdPlatformImageQueryEmbeddableFields {
8
+ User = "user",
9
+ Models = "models"
10
+ }
11
+ /**
12
+ * Platform query image parameters.
13
+ */
14
+ export declare type SdPlatformImageQueryParameters = SdPlatformQueryParameters<SdPlatformImageQueryEmbeddableFields>;
15
+ /**
16
+ * Operations for images which can be attached to models.
17
+ */
18
+ export declare class SdPlatformImageApi extends ResourcesApi {
19
+ protected get __resourcePath(): string;
20
+ /**
21
+ * Get image by id
22
+ * @param id - the id of an image.
23
+ * @param embed - array of {@link SdPlatformImageQueryEmbeddableFields} fields to embed.
24
+ * @returns image
25
+ */
26
+ get(id: string, embed?: Array<SdPlatformImageQueryEmbeddableFields>): Promise<SdPlatformGetResponse<SdPlatformResponseImageAdmin | SdPlatformResponseImage | SdPlatformResponseImagePublic>>;
27
+ /**
28
+ * Queries images
29
+ * @param body - {@link SdPlatformImageQueryParameters} as body.
30
+ *
31
+ * @remarks body is optional.
32
+ */
33
+ query(body?: SdPlatformImageQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseImageAdmin | SdPlatformResponseImage | SdPlatformResponseImagePublic>>;
34
+ /**
35
+ * Create an image
36
+ * @param body {@link SdPlatformRequestImageCreate}
37
+ */
38
+ create(body: SdPlatformRequestImageCreate): Promise<SdPlatformPostResponse<SdPlatformResponseImage>>;
39
+ /**
40
+ * Delete image by id
41
+ * @param id - image id.
42
+ */
43
+ delete(id: string): Promise<SdPlatformDeleteResponse>;
44
+ }
37
45
  //# sourceMappingURL=SdPlatformImageApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SdPlatformImageApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformImageApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AACzK,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAEjL,oBAAY,oCAAoC;IAE5C,IAAI,SAAS;IACb,MAAM,WAAW;CACpB;AAED,oBAAY,8BAA8B,GAAG,yBAAyB,CAAC,oCAAoC,CAAC,CAAC;AAE7G;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,YAAY;IAEhD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;;OAKG;IACI,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,GAAE,KAAK,CAAC,oCAAoC,CAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,4BAA4B,GAAG,uBAAuB,GAAG,6BAA6B,CAAC,CAAC;IAKvM;;;OAGG;IACI,KAAK,CAAC,IAAI,GAAE,8BAAmC,GAAG,OAAO,CAAC,uBAAuB,CAAC,4BAA4B,GAAG,uBAAuB,GAAG,6BAA6B,CAAC,CAAC;IAKjL;;;OAGG;IACI,MAAM,CAAC,IAAI,EAAE,4BAA4B,GAAG,OAAO,CAAC,sBAAsB,CAAC,uBAAuB,CAAC,CAAC;IAK3G;;;OAGG;IACI,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;CAI/D"}
1
+ {"version":3,"file":"SdPlatformImageApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformImageApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AACzK,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAEjL;;GAEG;AACH,oBAAY,oCAAoC;IAE5C,IAAI,SAAS;IACb,MAAM,WAAW;CACpB;AAED;;GAEG;AACH,oBAAY,8BAA8B,GAAG,yBAAyB,CAAC,oCAAoC,CAAC,CAAC;AAE7G;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,YAAY;IAEhD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;;OAKG;IACI,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,GAAE,KAAK,CAAC,oCAAoC,CAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,4BAA4B,GAAG,uBAAuB,GAAG,6BAA6B,CAAC,CAAC;IAKvM;;;;;OAKG;IACI,KAAK,CAAC,IAAI,GAAE,8BAAmC,GAAG,OAAO,CAAC,uBAAuB,CAAC,4BAA4B,GAAG,uBAAuB,GAAG,6BAA6B,CAAC,CAAC;IAKjL;;;OAGG;IACI,MAAM,CAAC,IAAI,EAAE,4BAA4B,GAAG,OAAO,CAAC,sBAAsB,CAAC,uBAAuB,CAAC,CAAC;IAK3G;;;OAGG;IACI,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;CAI/D"}
@@ -1,77 +1,79 @@
1
- import { ResourcesApi } from "./commons/ResourcesApi";
2
- import { SdPlatformRequestModelCreate, SdPlatformRequestModelPatch, SdPlatformRequestModelPatchAdmin, SdPlatformResponseModelOwner, SdPlatformResponseModelPublic, SdPlatformResponseDecryptTicketResult, SdPlatformResponseIFrameData } from "@shapediver/api.platform-api-dto-v1";
3
- import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
4
- export declare enum SdPlatformModelQueryEmbeddableFields {
5
- Accessdomains = "accessdomains",
6
- GlobalAccessdomains = "global_accessdomains",
7
- BackendSystem = "backend_system",
8
- Tags = "tags",
9
- User = "user",
10
- Decoration = "decoration",
11
- Bookmark = "bookmark",
12
- Organization = "organization"
13
- }
14
- export declare enum SdPlatformModelGetEmbeddableFields {
15
- Accessdomains = "accessdomains",
16
- GlobalAccessdomains = "global_accessdomains",
17
- BackendSystem = "backend_system",
18
- BackendProperties = "backend_properties",
19
- Tags = "tags",
20
- User = "user",
21
- Decoration = "decoration",
22
- Bookmark = "bookmark",
23
- Ticket = "ticket",
24
- AuthorTicket = "author_ticket",
25
- BackendTicket = "backend_ticket",
26
- Organization = "organization"
27
- }
28
- export declare type SdPlatformModelQueryParameters = SdPlatformQueryParameters<SdPlatformModelQueryEmbeddableFields>;
29
- /**
30
- * Operations for models on the ShapeDiver Platform.
31
- */
32
- export declare class SdPlatformModelApi extends ResourcesApi {
33
- protected get __resourcePath(): string;
34
- /**
35
- * Get model by id, guid, slug, or link_sharing_slug.
36
- * @param id
37
- * @param embed
38
- * @returns
39
- */
40
- get<T = SdPlatformResponseModelPublic>(id: string, embed?: Array<SdPlatformModelGetEmbeddableFields>): Promise<SdPlatformGetResponse<T>>;
41
- /**
42
- * Query models.
43
- * @param query
44
- * @returns
45
- */
46
- query<T = SdPlatformResponseModelPublic>(query?: SdPlatformModelQueryParameters): Promise<SdPlatformQueryResponse<T>>;
47
- /**
48
- * Create a model.
49
- * @param body
50
- * @returns
51
- */
52
- create<T = SdPlatformResponseModelOwner>(body?: SdPlatformRequestModelCreate): Promise<SdPlatformPostResponse<T>>;
53
- /**
54
- * Patch the properties of a model.
55
- * @param id
56
- * @param body
57
- * @returns
58
- */
59
- patch<T = SdPlatformResponseModelOwner>(id: string, body: SdPlatformRequestModelPatch | SdPlatformRequestModelPatchAdmin): Promise<SdPlatformPatchResponse<T>>;
60
- /**
61
- * Delete a model.
62
- * @param id
63
- * @returns
64
- */
65
- delete(id: string): Promise<SdPlatformDeleteResponse>;
66
- /**
67
- * Decrypt a ticket (embedding ticket, backend ticket, author ticket).
68
- * @param ticket
69
- * @returns
70
- */
71
- decryptTicket(ticket: string): Promise<SdPlatformPostResponse<SdPlatformResponseDecryptTicketResult>>;
72
- /**
73
- * Post method which is to be used to fetch data necessary for iframe embedding of a model using the ShapeDiver Viewer.
74
- */
75
- iframeEmbedding(slug: string): Promise<SdPlatformPostResponse<SdPlatformResponseIFrameData>>;
76
- }
1
+ import { ResourcesApi } from "./commons/ResourcesApi";
2
+ import { SdPlatformRequestModelCreate, SdPlatformRequestModelPatch, SdPlatformRequestModelPatchAdmin, SdPlatformResponseModelOwner, SdPlatformResponseModelPublic, SdPlatformResponseDecryptTicketResult, SdPlatformResponseIFrameData } from "@shapediver/api.platform-api-dto-v1";
3
+ import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
4
+ export declare enum SdPlatformModelQueryEmbeddableFields {
5
+ Accessdomains = "accessdomains",
6
+ GlobalAccessdomains = "global_accessdomains",
7
+ BackendSystem = "backend_system",
8
+ Tags = "tags",
9
+ User = "user",
10
+ Decoration = "decoration",
11
+ Bookmark = "bookmark",
12
+ Organization = "organization"
13
+ }
14
+ export declare enum SdPlatformModelGetEmbeddableFields {
15
+ Accessdomains = "accessdomains",
16
+ GlobalAccessdomains = "global_accessdomains",
17
+ BackendSystem = "backend_system",
18
+ BackendProperties = "backend_properties",
19
+ Tags = "tags",
20
+ User = "user",
21
+ Decoration = "decoration",
22
+ Bookmark = "bookmark",
23
+ Ticket = "ticket",
24
+ AuthorTicket = "author_ticket",
25
+ BackendTicket = "backend_ticket",
26
+ Organization = "organization"
27
+ }
28
+ export declare type SdPlatformModelQueryParameters = SdPlatformQueryParameters<SdPlatformModelQueryEmbeddableFields>;
29
+ /**
30
+ * Operations for models on the ShapeDiver Platform.
31
+ */
32
+ export declare class SdPlatformModelApi extends ResourcesApi {
33
+ protected get __resourcePath(): string;
34
+ /**
35
+ * Get model by id, guid, slug, or link_sharing_slug.
36
+ * @param id - the model id.
37
+ * @param embed array of {@link SdPlatformModelGetEmbeddableFields} embeddable properties.
38
+ * @returns get response with a model.
39
+ */
40
+ get<T = SdPlatformResponseModelPublic>(id: string, embed?: Array<SdPlatformModelGetEmbeddableFields>): Promise<SdPlatformGetResponse<T>>;
41
+ /**
42
+ * Queries the models.
43
+ * @param query {@link SdPlatformModelQueryParameters}
44
+ * @returns the {@link SdPlatformQueryResponse} response with one of {@link SdPlatformResponseModelPublic} as result.
45
+ */
46
+ query<T = SdPlatformResponseModelPublic>(query?: SdPlatformModelQueryParameters): Promise<SdPlatformQueryResponse<T>>;
47
+ /**
48
+ * Create a model.
49
+ * @param body {@link SdPlatformRequestModelCreate} the parameters of a model.
50
+ * @returns the {@link SdPlatformPostResponse} response with {@link SdPlatformResponseModelOwner} as result.
51
+ */
52
+ create<T = SdPlatformResponseModelOwner>(body?: SdPlatformRequestModelCreate): Promise<SdPlatformPostResponse<T>>;
53
+ /**
54
+ * Patch a model, e.g. to update its status to "done" after successful upload and model checking
55
+ * @param id - the model id.
56
+ * @param params {@link SdPlatformRequestModelPatch} or {@link SdPlatformRequestModelPatchAdmin} as patch paramaters
57
+ * @returns { Promise<SdPlatformPatchResponse<T>> }
58
+ */
59
+ patch<T = SdPlatformResponseModelOwner>(id: string, params: SdPlatformRequestModelPatch | SdPlatformRequestModelPatchAdmin): Promise<SdPlatformPatchResponse<T>>;
60
+ /**
61
+ * Deletes a model.
62
+ * @param id - the model id.
63
+ * @returns the {@link SdPlatformDeleteResponse} response.
64
+ */
65
+ delete(id: string): Promise<SdPlatformDeleteResponse>;
66
+ /**
67
+ * Decrypt a ticket, the calling user must have permission "decrypt_ticket" for the model identified by the ticket.
68
+ * @param ticket
69
+ * @returns decrypted ticket result {@link SdPlatformResponseDecryptTicketResult}
70
+ */
71
+ decryptTicket(ticket: string): Promise<SdPlatformPostResponse<SdPlatformResponseDecryptTicketResult>>;
72
+ /**
73
+ * Post method which is to be used to fetch data necessary for iframe embedding of a model using the ShapeDiver Viewer.
74
+ * @param slug - the model slug.
75
+ * @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponseIFrameData} as data.
76
+ */
77
+ iframeEmbedding(slug: string): Promise<SdPlatformPostResponse<SdPlatformResponseIFrameData>>;
78
+ }
77
79
  //# sourceMappingURL=SdPlatformModelApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SdPlatformModelApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformModelApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,4BAA4B,EAAE,2BAA2B,EAAE,gCAAgC,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,qCAAqC,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAA;AACnR,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAE1M,oBAAY,oCAAoC;IAE5C,aAAa,kBAAkB;IAC/B,mBAAmB,yBAAyB;IAC5C,aAAa,mBAAmB;IAChC,IAAI,SAAS;IACb,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,YAAY,iBAAiB;CAChC;AAED,oBAAY,kCAAkC;IAE1C,aAAa,kBAAkB;IAC/B,mBAAmB,yBAAyB;IAC5C,aAAa,mBAAmB;IAChC,iBAAiB,uBAAuB;IACxC,IAAI,SAAS;IACb,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,YAAY,kBAAkB;IAC9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GAAG,4BAA4B,EAAE,IAAI,GAAE,4BAAiC,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC;IAK5H;;;;;OAKG;IACI,KAAK,CAAC,CAAC,GAAG,4BAA4B,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,2BAA2B,GAAG,gCAAgC,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC;IAKvK;;;;OAIG;IACI,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAK5D;;;;OAIG;IACI,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,qCAAqC,CAAC,CAAC;IAO5G;;;;OAIG;IACI,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,4BAA4B,CAAC,CAAC;CAStG"}
@@ -1,65 +1,66 @@
1
- import { ResourcesApi } from "./commons/ResourcesApi";
2
- import { SdPlatformDeleteResponse, SdPlatformGetResponse, SdPlatformPostResponse, SdPlatformQueryParameters, SdPlatformQueryResponse, SdPlatformRequestModelSharingCreate, SdPlatformRequestModelSharingCreateMultiple, SdPlatformResponseModelSharing, SdPlatformResponseModelSharingGroupedByUser } from "@shapediver/api.platform-api-dto-v1";
3
- export declare enum SdPlatformModelharingQueryEmbeddableFields {
4
- User = "user",
5
- Model = "model",
6
- Provider = "provider"
7
- }
8
- export declare type SdPlatformModelSharingQueryParameters = SdPlatformQueryParameters<SdPlatformModelharingQueryEmbeddableFields>;
9
- /**
10
- * Operations for model sharing relationships.
11
- */
12
- export declare class SdPlatformModelSharingApi extends ResourcesApi {
13
- protected get __resourcePath(): string;
14
- /**
15
- * Create a model sharing relationship.
16
- * @param body
17
- * @returns
18
- */
19
- create(body: SdPlatformRequestModelSharingCreate): Promise<SdPlatformPostResponse<SdPlatformResponseModelSharing>>;
20
- /**
21
- * Create multiple sharings.
22
- * @param { SdPlatformRequestModelSharingCreateMultiple } body
23
- * @returns { Promise<SdPlatformPostResponse<Array<SdPlatformResponseModelSharing>>> }
24
- */
25
- createMultiple(body: SdPlatformRequestModelSharingCreateMultiple): Promise<SdPlatformPostResponse<Array<SdPlatformResponseModelSharing>>>;
26
- /**
27
- * Query model sharing relationships.
28
- * @param query
29
- * @returns
30
- */
31
- query(query?: SdPlatformModelSharingQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseModelSharing>>;
32
- /**
33
- * Query model sharing relationships by model id.
34
- * @param model_id
35
- * @param query
36
- * @returns
37
- */
38
- queryByModel(model_id: string, query?: SdPlatformModelSharingQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseModelSharing>>;
39
- /**
40
- * Query model sharing relationships by user id.
41
- * @param user_id
42
- * @param query
43
- */
44
- queryByUser(user_id: string, query?: SdPlatformModelSharingQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseModelSharing>>;
45
- /**
46
- * Get model sharing relationships by model id and user id.
47
- * @param model_id
48
- * @param user_id
49
- * @returns
50
- */
51
- getByModelAndUser(model_id: string, user_id: string): Promise<SdPlatformGetResponse<Array<SdPlatformResponseModelSharing>>>;
52
- /**
53
- * Delete a model sharing relationship.
54
- * @param model_sharing_id Id of the model sharing relationship to delete.
55
- * @returns
56
- */
57
- delete(model_sharing_id: string): Promise<SdPlatformDeleteResponse>;
58
- /**
59
- * Gets the model sharings grouped by user.
60
- * @param model_id
61
- * @returns
62
- */
63
- getGroupedByUser(model_id: string): Promise<SdPlatformGetResponse<Array<SdPlatformResponseModelSharingGroupedByUser>>>;
64
- }
1
+ import { ResourcesApi } from "./commons/ResourcesApi";
2
+ import { SdPlatformDeleteResponse, SdPlatformGetResponse, SdPlatformPostResponse, SdPlatformQueryParameters, SdPlatformQueryResponse, SdPlatformRequestModelSharingCreate, SdPlatformRequestModelSharingCreateMultiple, SdPlatformResponseModelSharing, SdPlatformResponseModelSharingGroupedByUser } from "@shapediver/api.platform-api-dto-v1";
3
+ export declare enum SdPlatformModelharingQueryEmbeddableFields {
4
+ User = "user",
5
+ Model = "model",
6
+ Provider = "provider"
7
+ }
8
+ export declare type SdPlatformModelSharingQueryParameters = SdPlatformQueryParameters<SdPlatformModelharingQueryEmbeddableFields>;
9
+ /**
10
+ * Operations for model sharing relationships.
11
+ */
12
+ export declare class SdPlatformModelSharingApi extends ResourcesApi {
13
+ protected get __resourcePath(): string;
14
+ /**
15
+ * Create a model sharing relationship.
16
+ * @param body {@link SdPlatformRequestModelSharingCreate} body of a request with parameter to create sharing.
17
+ * @returns the {@link SdPlatformPostResponse} response with {@link SdPlatformResponseModelSharing} as parameter.
18
+ */
19
+ create(body: SdPlatformRequestModelSharingCreate): Promise<SdPlatformPostResponse<SdPlatformResponseModelSharing>>;
20
+ /**
21
+ * Create multiple sharings.
22
+ * @param body {@link SdPlatformRequestModelSharingCreateMultiple}
23
+ * @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponseModelSharing} as result.
24
+ */
25
+ createMultiple(body: SdPlatformRequestModelSharingCreateMultiple): Promise<SdPlatformPostResponse<Array<SdPlatformResponseModelSharing>>>;
26
+ /**
27
+ * Query model sharing relationships.
28
+ * @param query {@link SdPlatformModelSharingQueryParameters}
29
+ * @returns the {@link SdPlatformQueryResponse} response with {@see SdPlatformResponseModelSharing} as data result.
30
+ */
31
+ query(query?: SdPlatformModelSharingQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseModelSharing>>;
32
+ /**
33
+ * Query model sharing relationships by model id.
34
+ * @param model_id
35
+ * @param query {@link SdPlatformModelSharingQueryParameters}
36
+ * @returns the {@link SdPlatformQueryResponse} response with {@see SdPlatformResponseModelSharing} as data result.
37
+ */
38
+ queryByModel(model_id: string, query?: SdPlatformModelSharingQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseModelSharing>>;
39
+ /**
40
+ * Query model sharing relationships by user id.
41
+ * @param user_id
42
+ * @param query {@link SdPlatformModelSharingQueryParameters}
43
+ * @returns the {@link SdPlatformQueryResponse} response with {@see SdPlatformResponseModelSharing} as data result.
44
+ */
45
+ queryByUser(user_id: string, query?: SdPlatformModelSharingQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseModelSharing>>;
46
+ /**
47
+ * Get model sharing relationships by model id and user id.
48
+ * @param model_id
49
+ * @param user_id
50
+ * @returns the {@link SdPlatformGetResponse} response with {@see SdPlatformResponseModelSharing} as data result.
51
+ */
52
+ getByModelAndUser(model_id: string, user_id: string): Promise<SdPlatformGetResponse<Array<SdPlatformResponseModelSharing>>>;
53
+ /**
54
+ * Delete a model sharing relationship.
55
+ * @param model_sharing_id Id of the model sharing relationship to delete.
56
+ * @returns
57
+ */
58
+ delete(model_sharing_id: string): Promise<SdPlatformDeleteResponse>;
59
+ /**
60
+ * Gets the model sharings grouped by user.
61
+ * @param model_id
62
+ * @returns
63
+ */
64
+ getGroupedByUser(model_id: string): Promise<SdPlatformGetResponse<Array<SdPlatformResponseModelSharingGroupedByUser>>>;
65
+ }
65
66
  //# sourceMappingURL=SdPlatformModelSharingApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SdPlatformModelSharingApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformModelSharingApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAS,YAAY,EAAC,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EACH,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EACtB,yBAAyB,EACzB,uBAAuB,EACvB,mCAAmC,EACnC,2CAA2C,EAC3C,8BAA8B,EAC9B,2CAA2C,EAC9C,MAAM,qCAAqC,CAAA;AAG5C,oBAAY,0CAA0C;IAElD,IAAI,SAAS;IACb,KAAK,UAAU;IACf,QAAQ,aAAa;CACxB;AAED,oBAAY,qCAAqC,GAAG,yBAAyB,CAAC,0CAA0C,CAAC,CAAC;AAE1H;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,YAAY;IAEvD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC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AC,KAAK,CAAC,2CAA2C,CAAC,CAAC,CAAC;CAKjI"}
@@ -1,11 +1,16 @@
1
- import { ResourcesApi } from "./commons/ResourcesApi";
2
- import { SdPlatformResponseModelToken, SdPlatformRequestModelTokenCreate } from "@shapediver/api.platform-api-dto-v1";
3
- import { SdPlatformPostResponse } from "@shapediver/api.platform-api-dto-v1";
4
- /**
5
- * Operations for creating tokens for models on Geometry Backend Systems
6
- */
7
- export declare class SdPlatformModelTokenApi extends ResourcesApi {
8
- protected get __resourcePath(): string;
9
- create(body: SdPlatformRequestModelTokenCreate): Promise<SdPlatformPostResponse<SdPlatformResponseModelToken>>;
10
- }
1
+ import { ResourcesApi } from "./commons/ResourcesApi";
2
+ import { SdPlatformResponseModelToken, SdPlatformRequestModelTokenCreate } from "@shapediver/api.platform-api-dto-v1";
3
+ import { SdPlatformPostResponse } from "@shapediver/api.platform-api-dto-v1";
4
+ /**
5
+ * Operations for creating tokens for models on Geometry Backend Systems
6
+ */
7
+ export declare class SdPlatformModelTokenApi extends ResourcesApi {
8
+ protected get __resourcePath(): string;
9
+ /**
10
+ * Get a token for interacting with a model on its geometry backend system.
11
+ * @param body {@link SdPlatformRequestModelTokenCreate} body of a request.
12
+ * @returns token for accessing one or several models on a ShapeDiver Geometry Backend system
13
+ */
14
+ create(body: SdPlatformRequestModelTokenCreate): Promise<SdPlatformPostResponse<SdPlatformResponseModelToken>>;
15
+ }
11
16
  //# sourceMappingURL=SdPlatformModelTokenApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SdPlatformModelTokenApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformModelTokenApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,4BAA4B,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACtH,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AAE5E;;GAEG;AACH,qBAAa,uBAAwB,SAAQ,YAAY;IAErD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAEM,MAAM,CAAC,IAAI,EAAE,iCAAiC,GAAG,OAAO,CAAC,sBAAsB,CAAC,4BAA4B,CAAC,CAAC;CAIxH"}
1
+ {"version":3,"file":"SdPlatformModelTokenApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformModelTokenApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,4BAA4B,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACtH,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AAE5E;;GAEG;AACH,qBAAa,uBAAwB,SAAQ,YAAY;IAErD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;OAIG;IACI,MAAM,CAAC,IAAI,EAAE,iCAAiC,GAAG,OAAO,CAAC,sBAAsB,CAAC,4BAA4B,CAAC,CAAC;CAIxH"}