@shapediver/sdk.platform-api-sdk-v1 2.14.1 → 2.14.4

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 (66) 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 +197 -191
  5. package/dist/SdPlatformSdk.d.ts.map +1 -1
  6. package/dist/SdPlatformSdkContext.d.ts +71 -71
  7. package/dist/SdPlatformSdkCreate.d.ts +7 -7
  8. package/dist/api/SdPlatformRequestId.d.ts +139 -138
  9. package/dist/api/SdPlatformRequestId.d.ts.map +1 -1
  10. package/dist/api/SdPlatformSdkApi.d.ts +66 -66
  11. package/dist/api/SdPlatformSdkConfig.d.ts +18 -18
  12. package/dist/api/SdPlatformSdkErrorMapping.d.ts +6 -6
  13. package/dist/auth/SdPlatformAuthServiceApi.d.ts +79 -79
  14. package/dist/bundle.js +3978 -3931
  15. package/dist/bundle.node.js +4103 -4033
  16. package/dist/index.d.ts +28 -27
  17. package/dist/index.d.ts.map +1 -1
  18. package/dist/resources/SdPlatformApiClientsApi.d.ts +43 -43
  19. package/dist/resources/SdPlatformApiClientsApi.d.ts.map +1 -1
  20. package/dist/resources/SdPlatformApiTokenApi.d.ts +43 -43
  21. package/dist/resources/SdPlatformApiTokenApi.d.ts.map +1 -1
  22. package/dist/resources/SdPlatformBackendSystemApi.d.ts +43 -43
  23. package/dist/resources/SdPlatformBackendSystemApi.d.ts.map +1 -1
  24. package/dist/resources/SdPlatformBookmarkApi.d.ts +24 -24
  25. package/dist/resources/SdPlatformChargebeeApi.d.ts +43 -43
  26. package/dist/resources/SdPlatformChargebeeApi.d.ts.map +1 -1
  27. package/dist/resources/SdPlatformDocumentApi.d.ts +83 -83
  28. package/dist/resources/SdPlatformDocumentApi.d.ts.map +1 -1
  29. package/dist/resources/SdPlatformDomainApi.d.ts +46 -46
  30. package/dist/resources/SdPlatformDomainApi.d.ts.map +1 -1
  31. package/dist/resources/SdPlatformHttpLogApi.d.ts +16 -16
  32. package/dist/resources/SdPlatformHttpLogApi.d.ts.map +1 -1
  33. package/dist/resources/SdPlatformImageApi.d.ts +44 -44
  34. package/dist/resources/SdPlatformImageApi.d.ts.map +1 -1
  35. package/dist/resources/SdPlatformJobLogApi.d.ts +16 -16
  36. package/dist/resources/SdPlatformJobLogApi.d.ts.map +1 -1
  37. package/dist/resources/SdPlatformModelApi.d.ts +78 -78
  38. package/dist/resources/SdPlatformModelApi.d.ts.map +1 -1
  39. package/dist/resources/SdPlatformModelSharingApi.d.ts +65 -65
  40. package/dist/resources/SdPlatformModelSharingApi.d.ts.map +1 -1
  41. package/dist/resources/SdPlatformModelTokenApi.d.ts +15 -15
  42. package/dist/resources/SdPlatformModelTransferApi.d.ts +47 -47
  43. package/dist/resources/SdPlatformNotificationApi.d.ts +65 -65
  44. package/dist/resources/SdPlatformNotificationApi.d.ts.map +1 -1
  45. package/dist/resources/SdPlatformOpenIDProviderApi.d.ts +41 -41
  46. package/dist/resources/SdPlatformOpenIDProviderApi.d.ts.map +1 -1
  47. package/dist/resources/SdPlatformOrganizationAnalyticsApi.d.ts +15 -15
  48. package/dist/resources/SdPlatformOrganizationApi.d.ts +95 -95
  49. package/dist/resources/SdPlatformOrganizationApi.d.ts.map +1 -1
  50. package/dist/resources/SdPlatformPolicyApi.d.ts +43 -43
  51. package/dist/resources/SdPlatformPolicyApi.d.ts.map +1 -1
  52. package/dist/resources/SdPlatformSavedStateApi.d.ts +51 -51
  53. package/dist/resources/SdPlatformSavedStateApi.d.ts.map +1 -1
  54. package/dist/resources/SdPlatformSavedStateSharingApi.d.ts +66 -66
  55. package/dist/resources/SdPlatformSavedStateSharingApi.d.ts.map +1 -1
  56. package/dist/resources/SdPlatformStargateApi.d.ts +13 -0
  57. package/dist/resources/SdPlatformStargateApi.d.ts.map +1 -0
  58. package/dist/resources/SdPlatformTagApi.d.ts +25 -25
  59. package/dist/resources/SdPlatformTagApi.d.ts.map +1 -1
  60. package/dist/resources/SdPlatformUserAnalyticsApi.d.ts +15 -15
  61. package/dist/resources/SdPlatformUserApi.d.ts +86 -86
  62. package/dist/resources/SdPlatformUserApi.d.ts.map +1 -1
  63. package/dist/resources/SdPlatformWebhookApi.d.ts +52 -52
  64. package/dist/resources/commons/FilterBuilder.d.ts +54 -54
  65. package/dist/resources/commons/ResourcesApi.d.ts +42 -42
  66. package/package.json +14 -12
@@ -1,66 +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 {@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
- }
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 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
+ }
66
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,CAA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,CAAC,wBAAwB,CAAC;IAK1E;;;;OAIG;IACI,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAI,OAAO,CAAC,qBAAqB,CAAC,KAAK,CAAC,2CAA2C,CAAC,CAAC,CAAC;CAKjI"}
@@ -1,16 +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
- /**
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
- }
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
+ }
16
16
  //# sourceMappingURL=SdPlatformModelTokenApi.d.ts.map
@@ -1,48 +1,48 @@
1
- import { ResourcesApi } from "./commons/ResourcesApi";
2
- import { SdPlatformRequestModelTransferCreate, SdPlatformResponseNotification } from "@shapediver/api.platform-api-dto-v1";
3
- import { SdPlatformGetResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
4
- /**
5
- * Operations for creating, revoking, accepting, denying, model ownership transfer notifications.
6
- */
7
- export declare class SdPlatformModelTransferApi extends ResourcesApi {
8
- protected get __resourcePath(): string;
9
- /**
10
- * Get all model transfer requests for models currently owned by the authenticated user.
11
- * @returns
12
- */
13
- getModelTransferRequests(): Promise<SdPlatformGetResponse<Array<SdPlatformResponseNotification>>>;
14
- /**
15
- * Creates a model transfer request. The calling user must have permission "update_owner" for the model.
16
- * In case the receiving user immediately accepts the transfer request, no notification will be returned.
17
- * @param model_id
18
- * @param body {@link SdPlatformRequestModelTransferCreate}
19
- * @returns
20
- */
21
- createModelTransferRequest(model_id: string, body: SdPlatformRequestModelTransferCreate): Promise<SdPlatformPostResponse<SdPlatformResponseNotification | undefined>>;
22
- /**
23
- * Deletes a model transfer request by model id. The calling user must have permission "update_owner" for the model.
24
- * @param model_id
25
- * @returns
26
- */
27
- deleteModelTransferRequest(model_id: string): Promise<SdPlatformDeleteResponse>;
28
- /**
29
- * Get a model transfer request by model id. The calling user must have permission "update_owner" for the model.
30
- * The receiving user can see the model transfer request when querying notifications in general.
31
- * @param model_id
32
- * @returns
33
- */
34
- getModelTransferRequest(model_id: string): Promise<SdPlatformGetResponse<SdPlatformResponseNotification>>;
35
- /**
36
- * Accept a model transfer request. This must be called by the receiving user.
37
- * @param model_id
38
- * @returns
39
- */
40
- acceptModelTransferRequest(model_id: string): Promise<SdPlatformPostResponse<void>>;
41
- /**
42
- * Deny the model transfer request. This must be called by the receiving user.
43
- * @param model_id
44
- * @returns
45
- */
46
- denyModelTransferRequest(model_id: string): Promise<SdPlatformPostResponse<void>>;
47
- }
1
+ import { ResourcesApi } from "./commons/ResourcesApi";
2
+ import { SdPlatformRequestModelTransferCreate, SdPlatformResponseNotification } from "@shapediver/api.platform-api-dto-v1";
3
+ import { SdPlatformGetResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
4
+ /**
5
+ * Operations for creating, revoking, accepting, denying, model ownership transfer notifications.
6
+ */
7
+ export declare class SdPlatformModelTransferApi extends ResourcesApi {
8
+ protected get __resourcePath(): string;
9
+ /**
10
+ * Get all model transfer requests for models currently owned by the authenticated user.
11
+ * @returns
12
+ */
13
+ getModelTransferRequests(): Promise<SdPlatformGetResponse<Array<SdPlatformResponseNotification>>>;
14
+ /**
15
+ * Creates a model transfer request. The calling user must have permission "update_owner" for the model.
16
+ * In case the receiving user immediately accepts the transfer request, no notification will be returned.
17
+ * @param model_id
18
+ * @param body {@link SdPlatformRequestModelTransferCreate}
19
+ * @returns
20
+ */
21
+ createModelTransferRequest(model_id: string, body: SdPlatformRequestModelTransferCreate): Promise<SdPlatformPostResponse<SdPlatformResponseNotification | undefined>>;
22
+ /**
23
+ * Deletes a model transfer request by model id. The calling user must have permission "update_owner" for the model.
24
+ * @param model_id
25
+ * @returns
26
+ */
27
+ deleteModelTransferRequest(model_id: string): Promise<SdPlatformDeleteResponse>;
28
+ /**
29
+ * Get a model transfer request by model id. The calling user must have permission "update_owner" for the model.
30
+ * The receiving user can see the model transfer request when querying notifications in general.
31
+ * @param model_id
32
+ * @returns
33
+ */
34
+ getModelTransferRequest(model_id: string): Promise<SdPlatformGetResponse<SdPlatformResponseNotification>>;
35
+ /**
36
+ * Accept a model transfer request. This must be called by the receiving user.
37
+ * @param model_id
38
+ * @returns
39
+ */
40
+ acceptModelTransferRequest(model_id: string): Promise<SdPlatformPostResponse<void>>;
41
+ /**
42
+ * Deny the model transfer request. This must be called by the receiving user.
43
+ * @param model_id
44
+ * @returns
45
+ */
46
+ denyModelTransferRequest(model_id: string): Promise<SdPlatformPostResponse<void>>;
47
+ }
48
48
  //# sourceMappingURL=SdPlatformModelTransferApi.d.ts.map
@@ -1,66 +1,66 @@
1
- import { ResourcesApi } from "./commons/ResourcesApi";
2
- import { SdPlatformGetResponse, SdPlatformRequestNotificationCreate, SdPlatformRequestNotificationPatch, SdPlatformResponseNotification, SdPlatformResponseNotificationSummary } from "@shapediver/api.platform-api-dto-v1";
3
- import { SdPlatformQueryParameters, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
4
- export declare enum SdPlatformNotificationEmbeddableFields {
5
- Receiver = "receiver",
6
- User = "user",
7
- Model = "model",
8
- SavedState = "saved_state",
9
- Document = "document",
10
- Organization = "organization"
11
- }
12
- export declare enum SdPlatformNotificationSummaryEmbeddableFields {
13
- Total = "total",
14
- Unread = "unread"
15
- }
16
- export declare type SdPlatformNotificationQueryParameters = SdPlatformQueryParameters<SdPlatformNotificationEmbeddableFields>;
17
- /**
18
- * Operations for querying, reading/unreading, creating notifications.
19
- */
20
- export declare class SdPlatformNotificationApi extends ResourcesApi {
21
- protected get __resourcePath(): string;
22
- /**
23
- * Query the notifications.
24
- * @param body {@link SdPlatformNotificationQueryParameters} notifications query body.
25
- * @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponseNotification} as data result.
26
- */
27
- query(body?: SdPlatformNotificationQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseNotification>>;
28
- /**
29
- * Creates the notification.
30
- * @param body {@link SdPlatformRequestNotificationCreate}
31
- * @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponseNotification} as result.
32
- */
33
- create(body: SdPlatformRequestNotificationCreate): Promise<SdPlatformPostResponse<SdPlatformResponseNotification>>;
34
- /**
35
- * Updates the notification-
36
- * @param id - the id of a notification.
37
- * @param body {@link SdPlatformRequestNotificationPatch} body of a notification.
38
- * @returns the {@link SdPlatformPatchResponse} response with {@link SdPlatformResponseNotification} as result.
39
- */
40
- patch(id: string, body: SdPlatformRequestNotificationPatch): Promise<SdPlatformPatchResponse<SdPlatformResponseNotification>>;
41
- /**
42
- * Deletes the notification.
43
- * @param id - the id of a notification.
44
- * @returns the {@link SdPlatformDeleteResponse}
45
- */
46
- delete(id: string): Promise<SdPlatformDeleteResponse>;
47
- /**
48
- * Gets the summary of notifications.
49
- * Gives information about total number of notifications and unread number of notifications.
50
- * @param embed - array of {@link SdPlatformNotificationSummaryEmbeddableFields} embed properties.
51
- * @returns the {@link SdPlatformGetResponse} response with {@link SdPlatformResponseNotificationSummary} as data.
52
- */
53
- summary(embed: Array<SdPlatformNotificationSummaryEmbeddableFields>): Promise<SdPlatformGetResponse<SdPlatformResponseNotificationSummary>>;
54
- /**
55
- * Gets the notification by id.
56
- * @param id - the id of notification.
57
- * @returns the {@link SdPlatformGetResponse} with {@link SdPlatformResponseNotification} as data or one of it's derived classes.
58
- */
59
- get<T = SdPlatformResponseNotification>(id: string): Promise<SdPlatformGetResponse<T>>;
60
- /**
61
- * Marks all notifications of signed in user as read.
62
- * @returns the {@link SdPlatformPostResponse} response.
63
- */
64
- markAllAsRead(): Promise<SdPlatformPostResponse<void>>;
65
- }
1
+ import { ResourcesApi } from "./commons/ResourcesApi";
2
+ import { SdPlatformGetResponse, SdPlatformRequestNotificationCreate, SdPlatformRequestNotificationPatch, SdPlatformResponseNotification, SdPlatformResponseNotificationSummary } from "@shapediver/api.platform-api-dto-v1";
3
+ import { SdPlatformQueryParameters, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
4
+ export declare enum SdPlatformNotificationEmbeddableFields {
5
+ Receiver = "receiver",
6
+ User = "user",
7
+ Model = "model",
8
+ SavedState = "saved_state",
9
+ Document = "document",
10
+ Organization = "organization"
11
+ }
12
+ export declare enum SdPlatformNotificationSummaryEmbeddableFields {
13
+ Total = "total",
14
+ Unread = "unread"
15
+ }
16
+ export type SdPlatformNotificationQueryParameters = SdPlatformQueryParameters<SdPlatformNotificationEmbeddableFields>;
17
+ /**
18
+ * Operations for querying, reading/unreading, creating notifications.
19
+ */
20
+ export declare class SdPlatformNotificationApi extends ResourcesApi {
21
+ protected get __resourcePath(): string;
22
+ /**
23
+ * Query the notifications.
24
+ * @param body {@link SdPlatformNotificationQueryParameters} notifications query body.
25
+ * @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponseNotification} as data result.
26
+ */
27
+ query(body?: SdPlatformNotificationQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseNotification>>;
28
+ /**
29
+ * Creates the notification.
30
+ * @param body {@link SdPlatformRequestNotificationCreate}
31
+ * @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponseNotification} as result.
32
+ */
33
+ create(body: SdPlatformRequestNotificationCreate): Promise<SdPlatformPostResponse<SdPlatformResponseNotification>>;
34
+ /**
35
+ * Updates the notification-
36
+ * @param id - the id of a notification.
37
+ * @param body {@link SdPlatformRequestNotificationPatch} body of a notification.
38
+ * @returns the {@link SdPlatformPatchResponse} response with {@link SdPlatformResponseNotification} as result.
39
+ */
40
+ patch(id: string, body: SdPlatformRequestNotificationPatch): Promise<SdPlatformPatchResponse<SdPlatformResponseNotification>>;
41
+ /**
42
+ * Deletes the notification.
43
+ * @param id - the id of a notification.
44
+ * @returns the {@link SdPlatformDeleteResponse}
45
+ */
46
+ delete(id: string): Promise<SdPlatformDeleteResponse>;
47
+ /**
48
+ * Gets the summary of notifications.
49
+ * Gives information about total number of notifications and unread number of notifications.
50
+ * @param embed - array of {@link SdPlatformNotificationSummaryEmbeddableFields} embed properties.
51
+ * @returns the {@link SdPlatformGetResponse} response with {@link SdPlatformResponseNotificationSummary} as data.
52
+ */
53
+ summary(embed: Array<SdPlatformNotificationSummaryEmbeddableFields>): Promise<SdPlatformGetResponse<SdPlatformResponseNotificationSummary>>;
54
+ /**
55
+ * Gets the notification by id.
56
+ * @param id - the id of notification.
57
+ * @returns the {@link SdPlatformGetResponse} with {@link SdPlatformResponseNotification} as data or one of it's derived classes.
58
+ */
59
+ get<T = SdPlatformResponseNotification>(id: string): Promise<SdPlatformGetResponse<T>>;
60
+ /**
61
+ * Marks all notifications of signed in user as read.
62
+ * @returns the {@link SdPlatformPostResponse} response.
63
+ */
64
+ markAllAsRead(): Promise<SdPlatformPostResponse<void>>;
65
+ }
66
66
  //# sourceMappingURL=SdPlatformNotificationApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SdPlatformNotificationApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformNotificationApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAU,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EACH,qBAAqB,EACrB,mCAAmC,EACnC,kCAAkC,EAClC,8BAA8B,EAC9B,qCAAqC,EACxC,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAEnL,oBAAY,sCAAsC;IAE9C,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,UAAU,gBAAgB;IAC1B,QAAQ,aAAa;IACrB,YAAY,iBAAiB;CAChC;AAED,oBAAY,6CAA6C;IAErD,KAAK,UAAU;IACf,MAAM,WAAW;CACpB;AAGD,oBAAY,qCAAqC,GAAG,yBAAyB,CAAC,sCAAsC,CAAC,CAAA;AAErH;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,YAAY;IAEvD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;OAIG;IACI,KAAK,CAAC,IAAI,GAAE,qCAA0C,GAAG,OAAO,CAAC,uBAAuB,CAAC,8BAA8B,CAAC,CAAC;IAKhI;;;;OAIG;IACI,MAAM,CAAC,IAAI,EAAE,mCAAmC,GAAG,OAAO,CAAC,sBAAsB,CAAC,8BAA8B,CAAC,CAAC;IAKzH;;;;;OAKG;IACI,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,kCAAkC,GAAG,OAAO,CAAC,uBAAuB,CAAC,8BAA8B,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OAAO,CAAC,uBAAuB,CAAC,8BAA8B,CAAC,CAAC;IAKhI;;;;OAIG;IACI,MAAM,CAAC,IAAI,EAAE,mCAAmC,GAAG,OAAO,CAAC,sBAAsB,CAAC,8BAA8B,CAAC,CAAC;IAKzH;;;;;OAKG;IACI,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,kCAAkC,GAAG,OAAO,CAAC,uBAAuB,CAAC,8BAA8B,CAAC,CAAC;IAKpI;;;;OAIG;IACI,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAK5D;;;;;OAKG;IACI,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,6CAA6C,CAAC,GAAG,OAAO,CAAC,qBAAqB,CAAC,qCAAqC,CAAC,CAAC;IAKlJ;;;;OAIG;IACI,GAAG,CAAC,CAAC,GAAG,8BAA8B,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC;IAK7F;;;OAGG;IACI,aAAa,IAAI,OAAO,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;CAIhE"}
@@ -1,42 +1,42 @@
1
- import { SdPlatformDeleteResponse, SdPlatformGetResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformQueryParameters, SdPlatformQueryResponse, SdPlatformRequestOpenIDProviderCreate, SdPlatformRequestOpenIDProviderPatch, SdPlatformResponseOpenIDProvider } from "@shapediver/api.platform-api-dto-v1";
2
- import { ResourcesApi } from "./commons/ResourcesApi";
3
- export declare enum SdPlatformOpenIDProviderEmbeddableFields {
4
- Organization = "organization"
5
- }
6
- export declare type SdPlatformOpenIDProviderQueryParameters = SdPlatformQueryParameters<SdPlatformOpenIDProviderEmbeddableFields>;
7
- /**
8
- * Operations for OpenID providers.
9
- */
10
- export declare class SdPlatformOpenIDProviderApi extends ResourcesApi {
11
- protected get __resourcePath(): string;
12
- /**
13
- * Get OpenID Provider by id.
14
- * @param id - openid provider id.
15
- * @param embed - embeddable resources.
16
- */
17
- get<T = SdPlatformResponseOpenIDProvider>(id: string, embed?: Array<SdPlatformOpenIDProviderEmbeddableFields>): Promise<SdPlatformGetResponse<T>>;
18
- /**
19
- * Query OpenID providers.
20
- * @param body
21
- */
22
- query<T = SdPlatformResponseOpenIDProvider>(body?: SdPlatformOpenIDProviderQueryParameters): Promise<SdPlatformQueryResponse<T>>;
23
- /**
24
- * Create an OpenID provider.
25
- * @param body
26
- * @returns
27
- */
28
- create(body: SdPlatformRequestOpenIDProviderCreate): Promise<SdPlatformPostResponse<SdPlatformResponseOpenIDProvider>>;
29
- /**
30
- * Patch an OpenID provider.
31
- * @param id - id of the OpenID provider
32
- * @param body - properties to patch
33
- */
34
- patch<T = SdPlatformResponseOpenIDProvider>(id: string, body: SdPlatformRequestOpenIDProviderPatch): Promise<SdPlatformPatchResponse<T>>;
35
- /**
36
- * Delete an OpenID provider..
37
- * @param id
38
- * @returns
39
- */
40
- delete(id: string): Promise<SdPlatformDeleteResponse>;
41
- }
1
+ import { SdPlatformDeleteResponse, SdPlatformGetResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformQueryParameters, SdPlatformQueryResponse, SdPlatformRequestOpenIDProviderCreate, SdPlatformRequestOpenIDProviderPatch, SdPlatformResponseOpenIDProvider } from "@shapediver/api.platform-api-dto-v1";
2
+ import { ResourcesApi } from "./commons/ResourcesApi";
3
+ export declare enum SdPlatformOpenIDProviderEmbeddableFields {
4
+ Organization = "organization"
5
+ }
6
+ export type SdPlatformOpenIDProviderQueryParameters = SdPlatformQueryParameters<SdPlatformOpenIDProviderEmbeddableFields>;
7
+ /**
8
+ * Operations for OpenID providers.
9
+ */
10
+ export declare class SdPlatformOpenIDProviderApi extends ResourcesApi {
11
+ protected get __resourcePath(): string;
12
+ /**
13
+ * Get OpenID Provider by id.
14
+ * @param id - openid provider id.
15
+ * @param embed - embeddable resources.
16
+ */
17
+ get<T = SdPlatformResponseOpenIDProvider>(id: string, embed?: Array<SdPlatformOpenIDProviderEmbeddableFields>): Promise<SdPlatformGetResponse<T>>;
18
+ /**
19
+ * Query OpenID providers.
20
+ * @param body
21
+ */
22
+ query<T = SdPlatformResponseOpenIDProvider>(body?: SdPlatformOpenIDProviderQueryParameters): Promise<SdPlatformQueryResponse<T>>;
23
+ /**
24
+ * Create an OpenID provider.
25
+ * @param body
26
+ * @returns
27
+ */
28
+ create(body: SdPlatformRequestOpenIDProviderCreate): Promise<SdPlatformPostResponse<SdPlatformResponseOpenIDProvider>>;
29
+ /**
30
+ * Patch an OpenID provider.
31
+ * @param id - id of the OpenID provider
32
+ * @param body - properties to patch
33
+ */
34
+ patch<T = SdPlatformResponseOpenIDProvider>(id: string, body: SdPlatformRequestOpenIDProviderPatch): Promise<SdPlatformPatchResponse<T>>;
35
+ /**
36
+ * Delete an OpenID provider..
37
+ * @param id
38
+ * @returns
39
+ */
40
+ delete(id: string): Promise<SdPlatformDeleteResponse>;
41
+ }
42
42
  //# sourceMappingURL=SdPlatformOpenIDProviderApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SdPlatformOpenIDProviderApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformOpenIDProviderApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,qCAAqC,EAAE,oCAAoC,EAAE,gCAAgC,EAAE,MAAM,qCAAqC,CAAC;AAE1T,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD,oBAAY,wCAAwC;IAEhD,YAAY,iBAAiB;CAChC;AAED,oBAAY,uCAAuC,GAAG,yBAAyB,CAAC,wCAAwC,CAAC,CAAA;AAGzH;;GAEG;AACH,qBAAa,2BAA4B,SAAQ,YAAY;IAEzD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;MAIE;IACK,GAAG,CAAC,CA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AE,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,CAAC,wCAAwC,CAAC,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC;IAMxJ;;;OAGG;IACI,KAAK,CAAC,CAAC,GAAG,gCAAgC,EAAE,IAAI,GAAE,uCAA4C,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC;IAK3I;;;;OAIG;IACI,MAAM,CAAC,IAAI,EAAE,qCAAqC,GAAG,OAAO,CAAC,sBAAsB,CAAC,gCAAgC,CAAC,CAAC;IAK7H;;;;OAIG;IACI,KAAK,CAAC,CAAC,GAAG,gCAAgC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,oCAAoC,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC;IAK/I;;;;OAIG;IACI,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;CAK/D"}
@@ -1,16 +1,16 @@
1
- import { SdPlatformResponseOrganizationModelSessionAnalyticsPerTimestamp } from "@shapediver/api.platform-api-dto-v1";
2
- import { ResourcesApi } from "./commons/ResourcesApi";
3
- import { SdPlatformQueryParameters, SdPlatformQueryResponse } from "@shapediver/api.platform-api-dto-v1";
4
- /**
5
- * Analytics for organizations.
6
- */
7
- export declare class SdPlatformOrganizationAnalyticsApi extends ResourcesApi {
8
- protected get __resourcePath(): string;
9
- /**
10
- * Query session analytics aggregated per user.
11
- * @param body - {@link SdPlatformQueryParameters} query body.
12
- * @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponseOrganizationModelSessionAnalyticsPerTimestamp} as query data response.
13
- */
14
- query(body?: SdPlatformQueryParameters<unknown>): Promise<SdPlatformQueryResponse<SdPlatformResponseOrganizationModelSessionAnalyticsPerTimestamp>>;
15
- }
1
+ import { SdPlatformResponseOrganizationModelSessionAnalyticsPerTimestamp } from "@shapediver/api.platform-api-dto-v1";
2
+ import { ResourcesApi } from "./commons/ResourcesApi";
3
+ import { SdPlatformQueryParameters, SdPlatformQueryResponse } from "@shapediver/api.platform-api-dto-v1";
4
+ /**
5
+ * Analytics for organizations.
6
+ */
7
+ export declare class SdPlatformOrganizationAnalyticsApi extends ResourcesApi {
8
+ protected get __resourcePath(): string;
9
+ /**
10
+ * Query session analytics aggregated per user.
11
+ * @param body - {@link SdPlatformQueryParameters} query body.
12
+ * @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponseOrganizationModelSessionAnalyticsPerTimestamp} as query data response.
13
+ */
14
+ query(body?: SdPlatformQueryParameters<unknown>): Promise<SdPlatformQueryResponse<SdPlatformResponseOrganizationModelSessionAnalyticsPerTimestamp>>;
15
+ }
16
16
  //# sourceMappingURL=SdPlatformOrganizationAnalyticsApi.d.ts.map