@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,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
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
*
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
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,qC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,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
|
-
|
|
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
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
*
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
|
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
|
-
*
|
|
43
|
-
* @param
|
|
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
|
|
55
|
-
* @param id
|
|
56
|
-
* @param
|
|
57
|
-
* @returns
|
|
58
|
-
*/
|
|
59
|
-
patch<T = SdPlatformResponseModelOwner>(id: string,
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @param id
|
|
63
|
-
* @returns
|
|
64
|
-
*/
|
|
65
|
-
delete(id: string): Promise<SdPlatformDeleteResponse>;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
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
|
-
|
|
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,wBAA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CAAC,GAAG,6BAA6B,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,GAAE,KAAK,CAAC,kCAAkC,CAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC;IAKnJ;;;;OAIG;IACI,KAAK,CAAC,CAAC,GAAG,6BAA6B,EAAE,KAAK,GAAE,8BAAmC,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC;IAKhI;;;;OAIG;IACI,MAAM,CAAC,CAAC,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
|
|
23
|
-
* @returns {
|
|
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
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
*
|
|
48
|
-
* @param
|
|
49
|
-
* @
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
*
|
|
55
|
-
* @
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
*
|
|
61
|
-
* @
|
|
62
|
-
|
|
63
|
-
|
|
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;IAED;;;;OAIG;IACI,MAAM,CAAC,IAAI,EAAE,mCAAmC,GAAG,OAAO,CAAC,sBAAsB,CAAC,8BAA8B,CAAC,CAAC;IAKzH;;;;OAIG;IACI,cAAc,CAAC,IAAI,EAAE,2CAA2C,GAAK,OAAO,CAAC,sBAAsB,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC,CAAC;IAMlJ;;;;OAIG;IACI,KAAK,CAAC,KAAK,GAAE,qCAA0C,GAAG,OAAO,CAAC,uBAAu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W,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,GAAE,qCAA0C,GAAG,OAAO,CAAC,uBAAuB,CAAC,8BAA8B,CAAC,CAAC;IAKxJ;;;;;OAKG;IACI,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC,CAAC;IAKlI;;;;OAIG;IACI,MAAM,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAK1E;;;;OAIG;IACI,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAI,OAAO,CAAC,qBAAqB,CAAC,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
|
-
|
|
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;
|
|
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"}
|