@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.
- package/LICENSE +7 -7
- package/README.md +61 -61
- package/dist/SdPlatformErrors.d.ts +134 -134
- package/dist/SdPlatformSdk.d.ts +185 -185
- package/dist/SdPlatformSdkContext.d.ts +71 -71
- package/dist/SdPlatformSdkCreate.d.ts +7 -7
- package/dist/api/SdPlatformRequestId.d.ts +136 -136
- package/dist/api/SdPlatformSdkApi.d.ts +66 -66
- package/dist/api/SdPlatformSdkConfig.d.ts +18 -18
- package/dist/api/SdPlatformSdkErrorMapping.d.ts +6 -6
- package/dist/auth/SdPlatformAuthServiceApi.d.ts +79 -77
- package/dist/auth/SdPlatformAuthServiceApi.d.ts.map +1 -1
- package/dist/bundle.js +3570 -3366
- package/dist/bundle.node.js +3609 -3381
- package/dist/index.d.ts +27 -27
- package/dist/resources/SdPlatformApiClientsApi.d.ts +43 -16
- package/dist/resources/SdPlatformApiClientsApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformApiTokenApi.d.ts +43 -18
- package/dist/resources/SdPlatformApiTokenApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformBackendSystemApi.d.ts +38 -17
- package/dist/resources/SdPlatformBackendSystemApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformBookmarkApi.d.ts +24 -16
- package/dist/resources/SdPlatformBookmarkApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformChargebeeApi.d.ts +43 -20
- package/dist/resources/SdPlatformChargebeeApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformDocumentApi.d.ts +83 -83
- package/dist/resources/SdPlatformDomainApi.d.ts +46 -44
- package/dist/resources/SdPlatformDomainApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformHttpLogApi.d.ts +16 -15
- package/dist/resources/SdPlatformHttpLogApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformImageApi.d.ts +44 -36
- package/dist/resources/SdPlatformImageApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformModelApi.d.ts +78 -76
- package/dist/resources/SdPlatformModelApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformModelSharingApi.d.ts +65 -64
- package/dist/resources/SdPlatformModelSharingApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformModelTokenApi.d.ts +15 -10
- package/dist/resources/SdPlatformModelTokenApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformModelTransferApi.d.ts +47 -47
- package/dist/resources/SdPlatformNotificationApi.d.ts +65 -33
- package/dist/resources/SdPlatformNotificationApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformOpenIDProviderApi.d.ts +41 -41
- package/dist/resources/SdPlatformOrganizationAnalyticsApi.d.ts +15 -15
- package/dist/resources/SdPlatformOrganizationApi.d.ts +95 -92
- package/dist/resources/SdPlatformOrganizationApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformPolicyApi.d.ts +43 -17
- package/dist/resources/SdPlatformPolicyApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformSavedStateApi.d.ts +51 -50
- package/dist/resources/SdPlatformSavedStateApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformSavedStateSharingApi.d.ts +66 -66
- package/dist/resources/SdPlatformTagApi.d.ts +25 -15
- package/dist/resources/SdPlatformTagApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformUserAnalyticsApi.d.ts +15 -15
- package/dist/resources/SdPlatformUserApi.d.ts +86 -86
- package/dist/resources/SdPlatformWebhookApi.d.ts +52 -52
- package/dist/resources/commons/FilterBuilder.d.ts +54 -54
- package/dist/resources/commons/ResourcesApi.d.ts +42 -42
- package/package.json +2 -2
- package/dist/ShapeDiverErrors.d.ts +0 -79
- package/dist/ShapeDiverErrors.d.ts.map +0 -1
- package/dist/ShapeDiverSDK.d.ts +0 -9
- package/dist/ShapeDiverSDK.d.ts.map +0 -1
- package/dist/ShapeDiverSDKContext.d.ts +0 -47
- package/dist/ShapeDiverSDKContext.d.ts.map +0 -1
- package/dist/ShapeDiverSDKInstance.d.ts +0 -91
- package/dist/ShapeDiverSDKInstance.d.ts.map +0 -1
- package/dist/api/RequestId.d.ts +0 -105
- package/dist/api/RequestId.d.ts.map +0 -1
- package/dist/api/ShapeDiverSDKApi.d.ts +0 -40
- package/dist/api/ShapeDiverSDKApi.d.ts.map +0 -1
- package/dist/api/ShapeDiverSDKApiErrors.d.ts +0 -7
- package/dist/api/ShapeDiverSDKApiErrors.d.ts.map +0 -1
- package/dist/api/ShapeDiverSDKConfig.d.ts +0 -7
- package/dist/api/ShapeDiverSDKConfig.d.ts.map +0 -1
- package/dist/api/ShapeDiverSDKRequestConfig.d.ts +0 -8
- package/dist/api/ShapeDiverSDKRequestConfig.d.ts.map +0 -1
- package/dist/auth/AuthServiceApi.d.ts +0 -34
- package/dist/auth/AuthServiceApi.d.ts.map +0 -1
- package/dist/auth/models/AuthRequest.d.ts +0 -13
- package/dist/auth/models/AuthRequest.d.ts.map +0 -1
- package/dist/auth/models/AuthResponse.d.ts +0 -12
- package/dist/auth/models/AuthResponse.d.ts.map +0 -1
- package/dist/common/FailedRequestError.d.ts +0 -4
- package/dist/common/FailedRequestError.d.ts.map +0 -1
- package/dist/common/Filter.d.ts +0 -52
- package/dist/common/Filter.d.ts.map +0 -1
- package/dist/common/FilterBuilder.d.ts +0 -55
- package/dist/common/FilterBuilder.d.ts.map +0 -1
- package/dist/common/Parameters.d.ts +0 -29
- package/dist/common/Parameters.d.ts.map +0 -1
- package/dist/common/QueryRequestParameters.d.ts +0 -46
- package/dist/common/QueryRequestParameters.d.ts.map +0 -1
- package/dist/common/RequestId.d.ts +0 -106
- package/dist/common/RequestId.d.ts.map +0 -1
- package/dist/common/ShapeDiverSDKContext.d.ts +0 -32
- package/dist/common/ShapeDiverSDKContext.d.ts.map +0 -1
- package/dist/config/ShapeDiverSDKConfig.d.ts +0 -7
- package/dist/config/ShapeDiverSDKConfig.d.ts.map +0 -1
- package/dist/resources/ResourcesApi.d.ts +0 -84
- package/dist/resources/ResourcesApi.d.ts.map +0 -1
- package/dist/resources/chargebee/ChargebeeApi.d.ts +0 -18
- package/dist/resources/chargebee/ChargebeeApi.d.ts.map +0 -1
- package/dist/resources/chargebee/models/ChargebeeRequestsAndModels.d.ts +0 -45
- package/dist/resources/chargebee/models/ChargebeeRequestsAndModels.d.ts.map +0 -1
- package/dist/resources/commons/QueryRequestParameters.d.ts +0 -46
- package/dist/resources/commons/QueryRequestParameters.d.ts.map +0 -1
- package/dist/resources/httplogs/HttpLogApi.d.ts +0 -16
- package/dist/resources/httplogs/HttpLogApi.d.ts.map +0 -1
- package/dist/resources/httplogs/models.d.ts +0 -15
- package/dist/resources/httplogs/models.d.ts.map +0 -1
- package/dist/resources/modelSharing/ModelSharingApi.d.ts +0 -50
- package/dist/resources/modelSharing/ModelSharingApi.d.ts.map +0 -1
- package/dist/resources/modelSharing/models/ModelSharing.d.ts +0 -29
- package/dist/resources/modelSharing/models/ModelSharing.d.ts.map +0 -1
- package/dist/resources/modelSharing/models/ModelSharingCreate.d.ts +0 -15
- package/dist/resources/modelSharing/models/ModelSharingCreate.d.ts.map +0 -1
- package/dist/resources/modelTransfers/CreateModelTransferRequest.d.ts +0 -8
- package/dist/resources/modelTransfers/CreateModelTransferRequest.d.ts.map +0 -1
- package/dist/resources/modelTransfers/ModelTransferApi.d.ts +0 -45
- package/dist/resources/modelTransfers/ModelTransferApi.d.ts.map +0 -1
- package/dist/resources/models/ModelApi.d.ts +0 -17
- package/dist/resources/models/ModelApi.d.ts.map +0 -1
- package/dist/resources/models/models/CreateModelTransferRequest.d.ts +0 -8
- package/dist/resources/models/models/CreateModelTransferRequest.d.ts.map +0 -1
- package/dist/resources/models/models/Model.d.ts +0 -166
- package/dist/resources/models/models/Model.d.ts.map +0 -1
- package/dist/resources/models/models/ModelCreate.d.ts +0 -21
- package/dist/resources/models/models/ModelCreate.d.ts.map +0 -1
- package/dist/resources/models/models/ModelPatch.d.ts +0 -25
- package/dist/resources/models/models/ModelPatch.d.ts.map +0 -1
- package/dist/resources/notifications/NotificationsApi.d.ts +0 -13
- package/dist/resources/notifications/NotificationsApi.d.ts.map +0 -1
- package/dist/resources/notifications/models/Notification.d.ts +0 -62
- package/dist/resources/notifications/models/Notification.d.ts.map +0 -1
- package/dist/resources/notifications/models/Requests.d.ts +0 -19
- package/dist/resources/notifications/models/Requests.d.ts.map +0 -1
- package/dist/resources/organizations/OrganizationsApi.d.ts +0 -73
- package/dist/resources/organizations/OrganizationsApi.d.ts.map +0 -1
- package/dist/resources/organizations/models/Organization.d.ts +0 -79
- package/dist/resources/organizations/models/Organization.d.ts.map +0 -1
- package/dist/resources/organizations/models/Requests.d.ts +0 -22
- package/dist/resources/organizations/models/Requests.d.ts.map +0 -1
- package/dist/resources/savedStateSharing/SavedStateSharingsApi.d.ts +0 -50
- package/dist/resources/savedStateSharing/SavedStateSharingsApi.d.ts.map +0 -1
- package/dist/resources/savedStateSharing/models/SavedStateSharingsModels.d.ts +0 -15
- package/dist/resources/savedStateSharing/models/SavedStateSharingsModels.d.ts.map +0 -1
- package/dist/resources/savedStateSharing/models/SavedStatesSharingsRequests.d.ts +0 -6
- package/dist/resources/savedStateSharing/models/SavedStatesSharingsRequests.d.ts.map +0 -1
- package/dist/resources/savedStates/SavedStatesApi.d.ts +0 -44
- package/dist/resources/savedStates/SavedStatesApi.d.ts.map +0 -1
- package/dist/resources/savedStates/models/SavedStatesModels.d.ts +0 -33
- package/dist/resources/savedStates/models/SavedStatesModels.d.ts.map +0 -1
- package/dist/resources/savedStates/models/SavedStatesRequests.d.ts +0 -29
- package/dist/resources/savedStates/models/SavedStatesRequests.d.ts.map +0 -1
- package/dist/resources/userModelSessions/UserModelSessionsApi.d.ts +0 -15
- package/dist/resources/userModelSessions/UserModelSessionsApi.d.ts.map +0 -1
- package/dist/resources/userModelSessions/models/UserModelSession.d.ts +0 -54
- package/dist/resources/userModelSessions/models/UserModelSession.d.ts.map +0 -1
- package/dist/resources/webhooks/WebhooksApi.d.ts +0 -51
- package/dist/resources/webhooks/WebhooksApi.d.ts.map +0 -1
- package/dist/resources/webhooks/models/Requests.d.ts +0 -17
- package/dist/resources/webhooks/models/Requests.d.ts.map +0 -1
|
@@ -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
|
|
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,34 +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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
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
|
+
}
|
|
34
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,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,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 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
|
+
}
|
|
42
42
|
//# sourceMappingURL=SdPlatformOpenIDProviderApi.d.ts.map
|
|
@@ -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
|
|
12
|
-
* @returns
|
|
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
|
|
@@ -1,93 +1,96 @@
|
|
|
1
|
-
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
|
-
import { SdPlatformResponseNotification, SdPlatformRequestOrganizationCreate, SdPlatformRequestOrganizationPatchAny, SdPlatformResponseOrganizationPublic, SdPlatformResponseOrganizationOwner, SdPlatformResponseOrganizationAdministrator, SdPlatformOrganizationMemberRole } 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 SdPlatformOrganizationEmbeddableFields {
|
|
5
|
-
AccessDomains = "accessdomains",
|
|
6
|
-
BackendSystem = "backend_system",
|
|
7
|
-
Members = "members",
|
|
8
|
-
ChargebeeCustomer = "chargebee_customer",
|
|
9
|
-
ChargebeeSubscription = "chargebee_subscription",
|
|
10
|
-
ChargebeePlan = "chargebee_plan",
|
|
11
|
-
ChargebeeAddons = "chargebee_addons",
|
|
12
|
-
OpenIdProvider = "openid_provider"
|
|
13
|
-
}
|
|
14
|
-
export declare type SdPlatformOrganizationQueryParameters = SdPlatformQueryParameters<SdPlatformOrganizationEmbeddableFields>;
|
|
15
|
-
/**
|
|
16
|
-
* Operations for organizations.
|
|
17
|
-
*/
|
|
18
|
-
export declare class SdPlatformOrganizationApi extends ResourcesApi {
|
|
19
|
-
protected get __resourcePath(): string;
|
|
20
|
-
/**
|
|
21
|
-
* Get organization by id.
|
|
22
|
-
* @param id - organization id.
|
|
23
|
-
* @param embed
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
*
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
*
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
*
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
*
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
*
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
1
|
+
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
|
+
import { SdPlatformResponseNotification, SdPlatformRequestOrganizationCreate, SdPlatformRequestOrganizationPatchAny, SdPlatformResponseOrganizationPublic, SdPlatformResponseOrganizationOwner, SdPlatformResponseOrganizationAdministrator, SdPlatformOrganizationMemberRole } 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 SdPlatformOrganizationEmbeddableFields {
|
|
5
|
+
AccessDomains = "accessdomains",
|
|
6
|
+
BackendSystem = "backend_system",
|
|
7
|
+
Members = "members",
|
|
8
|
+
ChargebeeCustomer = "chargebee_customer",
|
|
9
|
+
ChargebeeSubscription = "chargebee_subscription",
|
|
10
|
+
ChargebeePlan = "chargebee_plan",
|
|
11
|
+
ChargebeeAddons = "chargebee_addons",
|
|
12
|
+
OpenIdProvider = "openid_provider"
|
|
13
|
+
}
|
|
14
|
+
export declare type SdPlatformOrganizationQueryParameters = SdPlatformQueryParameters<SdPlatformOrganizationEmbeddableFields>;
|
|
15
|
+
/**
|
|
16
|
+
* Operations for organizations.
|
|
17
|
+
*/
|
|
18
|
+
export declare class SdPlatformOrganizationApi extends ResourcesApi {
|
|
19
|
+
protected get __resourcePath(): string;
|
|
20
|
+
/**
|
|
21
|
+
* Get organization by id.
|
|
22
|
+
* @param id - organization id.
|
|
23
|
+
* @param embed array of {@link SdPlatformOrganizationEmbeddableFields} embeddable resources.
|
|
24
|
+
* @returns the {@link SdPlatformGetResponse} response with {@link SdPlatformResponseOrganizationPublic} or derived interfaces as result.
|
|
25
|
+
*/
|
|
26
|
+
get<T = SdPlatformResponseOrganizationPublic>(id: string, embed?: Array<SdPlatformOrganizationEmbeddableFields>): Promise<SdPlatformGetResponse<T>>;
|
|
27
|
+
/**
|
|
28
|
+
* Query organizations.
|
|
29
|
+
* @param body {@link SdPlatformOrganizationQueryParameters}
|
|
30
|
+
* @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponseOrganizationPublic} or one of it's derived interfaces as data result.
|
|
31
|
+
*/
|
|
32
|
+
query<T = SdPlatformResponseOrganizationPublic>(body?: SdPlatformOrganizationQueryParameters): Promise<SdPlatformQueryResponse<T>>;
|
|
33
|
+
/**
|
|
34
|
+
* Create an organization, and make the calling user owner of the organization. Will fail in case the user is member of an organization already.
|
|
35
|
+
* @param body {@see SdPlatformRequestOrganizationCreate}
|
|
36
|
+
* @returns the {@link SdPlatformPostResponse} with {@see SdPlatformResponseOrganizationOwner} as data.
|
|
37
|
+
*/
|
|
38
|
+
create(body: SdPlatformRequestOrganizationCreate): Promise<SdPlatformPostResponse<SdPlatformResponseOrganizationOwner>>;
|
|
39
|
+
/**
|
|
40
|
+
* Patch an organization.
|
|
41
|
+
* @param id - id of the organization
|
|
42
|
+
* @param body {@link SdPlatformRequestOrganizationPatchAny} properties to patch
|
|
43
|
+
* @response the {@link SdPlatformPatchResponse} with {@link SdPlatformResponseOrganizationAdministrator} or one of it's derived interfaces as data.
|
|
44
|
+
*/
|
|
45
|
+
patch<T = SdPlatformResponseOrganizationAdministrator>(id: string, body: SdPlatformRequestOrganizationPatchAny): Promise<SdPlatformPatchResponse<T>>;
|
|
46
|
+
/**
|
|
47
|
+
* Delete an organization.
|
|
48
|
+
* @param id
|
|
49
|
+
* @returns
|
|
50
|
+
*/
|
|
51
|
+
delete(id: string): Promise<SdPlatformDeleteResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Create organization invitation.
|
|
54
|
+
* @param organization_id
|
|
55
|
+
* @param receiver_id
|
|
56
|
+
* @returns
|
|
57
|
+
*/
|
|
58
|
+
createOrganizationInvitation(organization_id: string, receiver_id: string): Promise<SdPlatformPostResponse<SdPlatformResponseNotification>>;
|
|
59
|
+
/**
|
|
60
|
+
* Delete organization invitation.
|
|
61
|
+
* @param organization_id
|
|
62
|
+
* @param receiver_id
|
|
63
|
+
* @returns
|
|
64
|
+
*/
|
|
65
|
+
deleteOrganizationInvitation(organization_id: string, receiver_id: string): Promise<SdPlatformDeleteResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* Get organization invitations.
|
|
68
|
+
* @param organization_id
|
|
69
|
+
* @returns
|
|
70
|
+
*/
|
|
71
|
+
getOrganizationInvitations(organization_id: string): Promise<SdPlatformGetResponse<Array<SdPlatformResponseNotification>>>;
|
|
72
|
+
/**
|
|
73
|
+
* Accept organization invitation.
|
|
74
|
+
* @param organization_id
|
|
75
|
+
* @returns
|
|
76
|
+
*/
|
|
77
|
+
acceptOrganizationInvitation(organization_id: string): Promise<SdPlatformPostResponse<void>>;
|
|
78
|
+
/**
|
|
79
|
+
* Deny organization invitation.
|
|
80
|
+
* @param organization_id
|
|
81
|
+
* @returns
|
|
82
|
+
*/
|
|
83
|
+
denyOrganizationInvitation(organization_id: string): Promise<SdPlatformPostResponse<void>>;
|
|
84
|
+
/**
|
|
85
|
+
* Patch role of organization member.
|
|
86
|
+
* @param email
|
|
87
|
+
*/
|
|
88
|
+
patchMemberRole(organization_id: string, user_id: string, organization_role: SdPlatformOrganizationMemberRole): Promise<SdPlatformPatchResponse<void>>;
|
|
89
|
+
/**
|
|
90
|
+
* Invite user to organizatio by email.
|
|
91
|
+
* @param organization_id
|
|
92
|
+
* @param email
|
|
93
|
+
*/
|
|
94
|
+
invitationByEmail(organization_id: string, email: string): Promise<SdPlatformPostResponse<void>>;
|
|
95
|
+
}
|
|
93
96
|
//# sourceMappingURL=SdPlatformOrganizationApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdPlatformOrganizationApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformOrganizationApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAU,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,8BAA8B,EAAE,mCAAmC,EAAE,qCAAqC,EAAE,oCAAoC,EAAE,mCAAmC,EAAE,2CAA2C,EAAE,gCAAgC,EAAgC,MAAM,qCAAqC,CAAA;AACxV,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAE1M,oBAAY,sCAAsC;IAE9C,aAAa,kBAAkB;IAC/B,aAAa,mBAAmB;IAChC,OAAO,YAAY;IACnB,iBAAiB,uBAAuB;IACxC,qBAAqB,2BAA2B;IAChD,aAAa,mBAAmB;IAChC,eAAe,qBAAqB;IACpC,cAAc,oBAAoB;CACrC;AAED,oBAAY,qCAAqC,GAAG,yBAAyB,CAAC,sCAAsC,CAAC,CAAA;AAErH;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,YAAY;IAEvD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED
|
|
1
|
+
{"version":3,"file":"SdPlatformOrganizationApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformOrganizationApi.ts"],"names":[],"mappings":"AA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CAAC;IAK3J;;;;OAIG;IACI,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAK5D;;;;;OAKG;IACI,4BAA4B,CAAC,eAAe,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,8BAA8B,CAAC,CAAC;IAKlJ;;;;;OAKG;IACI,4BAA4B,CAAC,eAAe,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAKpH;;;;OAIG;IACI,0BAA0B,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC,CAAC;IAMjI;;;;OAIG;IACI,4BAA4B,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAMnG;;;;OAIG;IACI,0BAA0B,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAKjG;;;OAGG;IACI,eAAe,CAAC,eAAe,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,gCAAgC,GAAG,OAAO,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IAO7J;;;;OAIG;IACI,iBAAiB,CAAC,eAAe,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;CAM1G"}
|
|
@@ -1,18 +1,44 @@
|
|
|
1
|
-
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
|
-
import { SdPlatformResponsePolicy } from "@shapediver/api.platform-api-dto-v1";
|
|
3
|
-
import { SdPlatformRequestPolicyCreate } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
-
import { SdPlatformRequestPolicyPatch } from "@shapediver/api.platform-api-dto-v1";
|
|
5
|
-
import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
6
|
-
export declare type SdPlatformPolicyQueryParameters = SdPlatformQueryParameters<null>;
|
|
7
|
-
/**
|
|
8
|
-
* Operations for policies.
|
|
9
|
-
*/
|
|
10
|
-
export declare class SdPlatformPolicyApi extends ResourcesApi {
|
|
11
|
-
protected get __resourcePath(): string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
|
+
import { SdPlatformResponsePolicy } from "@shapediver/api.platform-api-dto-v1";
|
|
3
|
+
import { SdPlatformRequestPolicyCreate } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
+
import { SdPlatformRequestPolicyPatch } from "@shapediver/api.platform-api-dto-v1";
|
|
5
|
+
import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
6
|
+
export declare type SdPlatformPolicyQueryParameters = SdPlatformQueryParameters<null>;
|
|
7
|
+
/**
|
|
8
|
+
* Operations for policies.
|
|
9
|
+
*/
|
|
10
|
+
export declare class SdPlatformPolicyApi extends ResourcesApi {
|
|
11
|
+
protected get __resourcePath(): string;
|
|
12
|
+
/**
|
|
13
|
+
* The platform policy api.
|
|
14
|
+
* @param body {@see SdPlatformPolicyQueryParameters} query body.
|
|
15
|
+
* @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponsePolicy} as response.
|
|
16
|
+
*/
|
|
17
|
+
query(body?: SdPlatformPolicyQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponsePolicy>>;
|
|
18
|
+
/**
|
|
19
|
+
* Get information about a policy based on its id or alias
|
|
20
|
+
* @param id_or_alias - id or an alias.
|
|
21
|
+
* @returns the {@link SdPlatformGetResponse} with {@link SdPlatformResponsePolicy} as response.
|
|
22
|
+
*/
|
|
23
|
+
get(id_or_alias: string): Promise<SdPlatformGetResponse<SdPlatformResponsePolicy>>;
|
|
24
|
+
/**
|
|
25
|
+
* Creates a platform policy.
|
|
26
|
+
* @param body {@link SdPlatformRequestPolicyCreate}
|
|
27
|
+
* @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponsePolicy} as response.
|
|
28
|
+
*/
|
|
29
|
+
create(body: SdPlatformRequestPolicyCreate): Promise<SdPlatformPostResponse<SdPlatformResponsePolicy>>;
|
|
30
|
+
/**
|
|
31
|
+
* Updates a platform policy.
|
|
32
|
+
* @param id - the policy id.
|
|
33
|
+
* @param body {@link SdPlatformRequestPolicyPatch} of patch request.
|
|
34
|
+
* @returns the {@link SdPlatformPatchResponse} with {@link SdPlatformResponsePolicy} as data parameter.
|
|
35
|
+
*/
|
|
36
|
+
patch(id: string, body: SdPlatformRequestPolicyPatch): Promise<SdPlatformPatchResponse<SdPlatformResponsePolicy>>;
|
|
37
|
+
/**
|
|
38
|
+
* Deletes the policy
|
|
39
|
+
* @param id - the policy id.
|
|
40
|
+
* @returns the {@link SdPlatformDeleteResponse}
|
|
41
|
+
*/
|
|
42
|
+
delete(id: string): Promise<SdPlatformDeleteResponse>;
|
|
43
|
+
}
|
|
18
44
|
//# sourceMappingURL=SdPlatformPolicyApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdPlatformPolicyApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformPolicyApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAC9E,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AACnF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