@shapediver/sdk.platform-api-sdk-v1 2.12.7 → 2.12.8
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 +77 -77
- package/dist/bundle.js +3486 -3366
- package/dist/bundle.node.js +3525 -3381
- package/dist/index.d.ts +27 -27
- package/dist/resources/SdPlatformApiClientsApi.d.ts +16 -16
- package/dist/resources/SdPlatformApiTokenApi.d.ts +44 -18
- package/dist/resources/SdPlatformApiTokenApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformBackendSystemApi.d.ts +35 -17
- package/dist/resources/SdPlatformBackendSystemApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformBookmarkApi.d.ts +21 -16
- package/dist/resources/SdPlatformBookmarkApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformChargebeeApi.d.ts +20 -20
- package/dist/resources/SdPlatformDocumentApi.d.ts +83 -83
- package/dist/resources/SdPlatformDomainApi.d.ts +44 -44
- package/dist/resources/SdPlatformHttpLogApi.d.ts +15 -15
- package/dist/resources/SdPlatformImageApi.d.ts +36 -36
- package/dist/resources/SdPlatformModelApi.d.ts +76 -76
- package/dist/resources/SdPlatformModelApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformModelSharingApi.d.ts +64 -64
- package/dist/resources/SdPlatformModelTokenApi.d.ts +10 -10
- 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 +92 -92
- 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 +15 -15
- 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
package/dist/index.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
export * from "@shapediver/api.platform-api-dto-v1";
|
|
2
|
-
export * from "./api/SdPlatformRequestId";
|
|
3
|
-
export * from "./auth/SdPlatformAuthServiceApi";
|
|
4
|
-
export * from "./resources/SdPlatformApiTokenApi";
|
|
5
|
-
export * from "./resources/SdPlatformBackendSystemApi";
|
|
6
|
-
export * from "./resources/SdPlatformBookmarkApi";
|
|
7
|
-
export * from "./resources/SdPlatformChargebeeApi";
|
|
8
|
-
export * from "./resources/SdPlatformDomainApi";
|
|
9
|
-
export * from "./resources/SdPlatformHttpLogApi";
|
|
10
|
-
export * from "./resources/SdPlatformImageApi";
|
|
11
|
-
export * from "./resources/SdPlatformModelApi";
|
|
12
|
-
export * from "./resources/SdPlatformModelSharingApi";
|
|
13
|
-
export * from "./resources/SdPlatformModelTokenApi";
|
|
14
|
-
export * from "./resources/SdPlatformModelTransferApi";
|
|
15
|
-
export * from "./resources/SdPlatformNotificationApi";
|
|
16
|
-
export * from "./resources/SdPlatformOrganizationApi";
|
|
17
|
-
export * from "./resources/SdPlatformPolicyApi";
|
|
18
|
-
export * from "./resources/SdPlatformSavedStateApi";
|
|
19
|
-
export * from "./resources/SdPlatformSavedStateSharingApi";
|
|
20
|
-
export * from "./resources/SdPlatformTagApi";
|
|
21
|
-
export * from "./resources/SdPlatformUserAnalyticsApi";
|
|
22
|
-
export * from "./resources/SdPlatformUserApi";
|
|
23
|
-
export * from "./resources/SdPlatformWebhookApi";
|
|
24
|
-
export * from "./SdPlatformSdkContext";
|
|
25
|
-
export * from "./SdPlatformErrors";
|
|
26
|
-
export * from './SdPlatformSdk';
|
|
27
|
-
export * from "./SdPlatformSdkCreate";
|
|
1
|
+
export * from "@shapediver/api.platform-api-dto-v1";
|
|
2
|
+
export * from "./api/SdPlatformRequestId";
|
|
3
|
+
export * from "./auth/SdPlatformAuthServiceApi";
|
|
4
|
+
export * from "./resources/SdPlatformApiTokenApi";
|
|
5
|
+
export * from "./resources/SdPlatformBackendSystemApi";
|
|
6
|
+
export * from "./resources/SdPlatformBookmarkApi";
|
|
7
|
+
export * from "./resources/SdPlatformChargebeeApi";
|
|
8
|
+
export * from "./resources/SdPlatformDomainApi";
|
|
9
|
+
export * from "./resources/SdPlatformHttpLogApi";
|
|
10
|
+
export * from "./resources/SdPlatformImageApi";
|
|
11
|
+
export * from "./resources/SdPlatformModelApi";
|
|
12
|
+
export * from "./resources/SdPlatformModelSharingApi";
|
|
13
|
+
export * from "./resources/SdPlatformModelTokenApi";
|
|
14
|
+
export * from "./resources/SdPlatformModelTransferApi";
|
|
15
|
+
export * from "./resources/SdPlatformNotificationApi";
|
|
16
|
+
export * from "./resources/SdPlatformOrganizationApi";
|
|
17
|
+
export * from "./resources/SdPlatformPolicyApi";
|
|
18
|
+
export * from "./resources/SdPlatformSavedStateApi";
|
|
19
|
+
export * from "./resources/SdPlatformSavedStateSharingApi";
|
|
20
|
+
export * from "./resources/SdPlatformTagApi";
|
|
21
|
+
export * from "./resources/SdPlatformUserAnalyticsApi";
|
|
22
|
+
export * from "./resources/SdPlatformUserApi";
|
|
23
|
+
export * from "./resources/SdPlatformWebhookApi";
|
|
24
|
+
export * from "./SdPlatformSdkContext";
|
|
25
|
+
export * from "./SdPlatformErrors";
|
|
26
|
+
export * from './SdPlatformSdk';
|
|
27
|
+
export * from "./SdPlatformSdkCreate";
|
|
28
28
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
|
-
import { SdPlatformResponseApiClient, SdPlatformRequestApiClientCreate, SdPlatformRequestApiClientPatch } 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 SdPlatformApiClientsQueryEmbeddableFields {
|
|
5
|
-
}
|
|
6
|
-
export declare type SdPlatformApiClientsQueryParameters = SdPlatformQueryParameters<SdPlatformApiClientsQueryEmbeddableFields>;
|
|
7
|
-
/**
|
|
8
|
-
* Operations for models on the ShapeDiver Platform.
|
|
9
|
-
*/
|
|
10
|
-
export declare class SdPlatformApiClientsApi extends ResourcesApi {
|
|
11
|
-
protected get __resourcePath(): string;
|
|
12
|
-
query(query?: SdPlatformApiClientsQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseApiClient>>;
|
|
13
|
-
create(body: SdPlatformRequestApiClientCreate): Promise<SdPlatformPostResponse<SdPlatformResponseApiClient>>;
|
|
14
|
-
patch(id: string, body: SdPlatformRequestApiClientPatch): Promise<SdPlatformPatchResponse<SdPlatformResponseApiClient>>;
|
|
15
|
-
delete(id: string): Promise<SdPlatformDeleteResponse>;
|
|
16
|
-
}
|
|
1
|
+
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
|
+
import { SdPlatformResponseApiClient, SdPlatformRequestApiClientCreate, SdPlatformRequestApiClientPatch } 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 SdPlatformApiClientsQueryEmbeddableFields {
|
|
5
|
+
}
|
|
6
|
+
export declare type SdPlatformApiClientsQueryParameters = SdPlatformQueryParameters<SdPlatformApiClientsQueryEmbeddableFields>;
|
|
7
|
+
/**
|
|
8
|
+
* Operations for models on the ShapeDiver Platform.
|
|
9
|
+
*/
|
|
10
|
+
export declare class SdPlatformApiClientsApi extends ResourcesApi {
|
|
11
|
+
protected get __resourcePath(): string;
|
|
12
|
+
query(query?: SdPlatformApiClientsQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseApiClient>>;
|
|
13
|
+
create(body: SdPlatformRequestApiClientCreate): Promise<SdPlatformPostResponse<SdPlatformResponseApiClient>>;
|
|
14
|
+
patch(id: string, body: SdPlatformRequestApiClientPatch): Promise<SdPlatformPatchResponse<SdPlatformResponseApiClient>>;
|
|
15
|
+
delete(id: string): Promise<SdPlatformDeleteResponse>;
|
|
16
|
+
}
|
|
17
17
|
//# sourceMappingURL=SdPlatformApiClientsApi.d.ts.map
|
|
@@ -1,19 +1,45 @@
|
|
|
1
|
-
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
|
-
import { SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
3
|
-
import { SdPlatformQueryParameters, SdPlatformRequestApiTokenCreate, SdPlatformRequestApiTokenPatch, SdPlatformResponseApiToken, SdPlatformResponseApiTokenWithSecret } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
-
export declare type SdPlatformApiTokenQueryParameters = SdPlatformQueryParameters<null>;
|
|
5
|
-
/**
|
|
6
|
-
* CRUD operations for Platform API tokens.
|
|
7
|
-
* Platform API tokens can be limited in scope and lifetime.
|
|
8
|
-
* Use Platform API tokens for applications making use of the Platform API.
|
|
9
|
-
* Limit their scope as much as possible.
|
|
10
|
-
*/
|
|
11
|
-
export declare class SdPlatformApiTokenApi extends ResourcesApi {
|
|
12
|
-
protected get __resourcePath(): string;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
|
+
import { SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
3
|
+
import { SdPlatformQueryParameters, SdPlatformRequestApiTokenCreate, SdPlatformRequestApiTokenPatch, SdPlatformResponseApiToken, SdPlatformResponseApiTokenWithSecret } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
+
export declare type SdPlatformApiTokenQueryParameters = SdPlatformQueryParameters<null>;
|
|
5
|
+
/**
|
|
6
|
+
* CRUD operations for Platform API tokens.
|
|
7
|
+
* Platform API tokens can be limited in scope and lifetime.
|
|
8
|
+
* Use Platform API tokens for applications making use of the Platform API.
|
|
9
|
+
* Limit their scope as much as possible.
|
|
10
|
+
*/
|
|
11
|
+
export declare class SdPlatformApiTokenApi extends ResourcesApi {
|
|
12
|
+
protected get __resourcePath(): string;
|
|
13
|
+
/**
|
|
14
|
+
* Get the token.
|
|
15
|
+
* @param { string } key_id
|
|
16
|
+
* @returns { Promise<SdPlatformGetResponse<SdPlatformResponseApiToken>> }
|
|
17
|
+
*/
|
|
18
|
+
get(key_id: string): Promise<SdPlatformGetResponse<SdPlatformResponseApiToken>>;
|
|
19
|
+
/**
|
|
20
|
+
* Query the API tokens.
|
|
21
|
+
* @param { SdPlatformApiTokenQueryParameters } query
|
|
22
|
+
* @returns { Promise<SdPlatformQueryResponse<SdPlatformResponseApiToken>> }
|
|
23
|
+
*/
|
|
24
|
+
query(query?: SdPlatformApiTokenQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseApiToken>>;
|
|
25
|
+
/**
|
|
26
|
+
* Create a token.
|
|
27
|
+
* @param { SdPlatformRequestApiTokenCreate } body
|
|
28
|
+
* @returns { Promise<SdPlatformPostResponse<SdPlatformResponseApiTokenWithSecret>> }
|
|
29
|
+
*/
|
|
30
|
+
create(body: SdPlatformRequestApiTokenCreate): Promise<SdPlatformPostResponse<SdPlatformResponseApiTokenWithSecret>>;
|
|
31
|
+
/**
|
|
32
|
+
* Update and API token.
|
|
33
|
+
* @param { string } key_id
|
|
34
|
+
* @param { SdPlatformRequestApiTokenPatch } body
|
|
35
|
+
* @returns { Promise<SdPlatformPatchResponse<SdPlatformResponseApiToken>> }
|
|
36
|
+
*/
|
|
37
|
+
patch(key_id: string, body: SdPlatformRequestApiTokenPatch): Promise<SdPlatformPatchResponse<SdPlatformResponseApiToken>>;
|
|
38
|
+
/**
|
|
39
|
+
* Delete an API token.
|
|
40
|
+
* @param { string } key_id
|
|
41
|
+
* @returns { Promise<SdPlatformDeleteResponse> }
|
|
42
|
+
*/
|
|
43
|
+
delete(key_id: string): Promise<SdPlatformDeleteResponse>;
|
|
44
|
+
}
|
|
19
45
|
//# sourceMappingURL=SdPlatformApiTokenApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdPlatformApiTokenApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformApiTokenApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAC/K,OAAO,EAAC,yBAAyB,EAAE,+BAA+B,EAAE,8BAA8B,EAAE,0BAA0B,EAAE,oCAAoC,EAAC,MAAM,qCAAqC,CAAC;AAEjN,oBAAY,iCAAiC,GAAG,yBAAyB,CAAC,IAAI,CAAC,CAAC;AAEhF;;;;;GAKG;AACH,qBAAa,qBAAsB,SAAQ,YAAY;IAEnD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;
|
|
1
|
+
{"version":3,"file":"SdPlatformApiTokenApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformApiTokenApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAC/K,OAAO,EAAC,yBAAyB,EAAE,+BAA+B,EAAE,8BAA8B,EAAE,0BAA0B,EAAE,oCAAoC,EAAC,MAAM,qCAAqC,CAAC;AAEjN,oBAAY,iCAAiC,GAAG,yBAAyB,CAAC,IAAI,CAAC,CAAC;AAEhF;;;;;GAKG;AACH,qBAAa,qBAAsB,SAAQ,YAAY;IAEnD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;OAIG;IACI,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,0BAA0B,CAAC,CAAC;IAKtF;;;;OAIG;IACI,KAAK,CAAC,KAAK,GAAE,iCAAsC,GAAG,OAAO,CAAC,uBAAuB,CAAC,0BAA0B,CAAC,CAAC;IAKzH;;;;OAIG;IACI,MAAM,CAAC,IAAI,EAAE,+BAA+B,GAAG,OAAO,CAAC,sBAAsB,CAAC,oCAAoC,CAAC,CAAC;IAK3H;;;;;OAKG;IACI,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,8BAA8B,GAAG,OAAO,CAAC,uBAAuB,CAAC,0BAA0B,CAAC,CAAC;IAKhI;;;;OAIG;IACI,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;CAInE"}
|
|
@@ -1,18 +1,36 @@
|
|
|
1
|
-
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
|
-
import { SdPlatformRequestBackendSystemCreate, SdPlatformRequestBackendSystemPatch, SdPlatformRequestBackendSystemToken, SdPlatformResponseBackendSystem, SdPlatformResponseBackendSystemAdmin, SdPlatformResponseBackendSystemToken } from "@shapediver/api.platform-api-dto-v1";
|
|
3
|
-
import { SdPlatformQueryParameters, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
-
export declare type SdPlatformBackendSystemQueryParameters = SdPlatformQueryParameters<string> | undefined;
|
|
5
|
-
/**
|
|
6
|
-
* Operations for ShapeDiver Geometry Backend Systems known by the Platform Backend.
|
|
7
|
-
*/
|
|
8
|
-
export declare class SdPlatformBackendSystemApi extends ResourcesApi {
|
|
9
|
-
protected get __resourcePath(): string;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
|
+
import { SdPlatformRequestBackendSystemCreate, SdPlatformRequestBackendSystemPatch, SdPlatformRequestBackendSystemToken, SdPlatformResponseBackendSystem, SdPlatformResponseBackendSystemAdmin, SdPlatformResponseBackendSystemToken } from "@shapediver/api.platform-api-dto-v1";
|
|
3
|
+
import { SdPlatformQueryParameters, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
+
export declare type SdPlatformBackendSystemQueryParameters = SdPlatformQueryParameters<string> | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* Operations for ShapeDiver Geometry Backend Systems known by the Platform Backend.
|
|
7
|
+
*/
|
|
8
|
+
export declare class SdPlatformBackendSystemApi extends ResourcesApi {
|
|
9
|
+
protected get __resourcePath(): string;
|
|
10
|
+
/**
|
|
11
|
+
* Query the backend systems.
|
|
12
|
+
* @param { SdPlatformBackendSystemQueryParameters } query
|
|
13
|
+
* @returns { Promise<SdPlatformQueryResponse<SdPlatformResponseBackendSystem|SdPlatformResponseBackendSystemAdmin>> }
|
|
14
|
+
*/
|
|
15
|
+
query(query?: SdPlatformBackendSystemQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseBackendSystem | SdPlatformResponseBackendSystemAdmin>>;
|
|
16
|
+
/**
|
|
17
|
+
* Create the backend system.
|
|
18
|
+
* @param { SdPlatformRequestBackendSystemCreate } body
|
|
19
|
+
* @returns { Promise<SdPlatformPostResponse<SdPlatformResponseBackendSystemAdmin>> }
|
|
20
|
+
*/
|
|
21
|
+
create(body: SdPlatformRequestBackendSystemCreate): Promise<SdPlatformPostResponse<SdPlatformResponseBackendSystemAdmin>>;
|
|
22
|
+
/**
|
|
23
|
+
* Updates the backend system.
|
|
24
|
+
* @param { string } id - the backend system id.
|
|
25
|
+
* @param { SdPlatformRequestBackendSystemPatch } body - the update parameters.
|
|
26
|
+
* @returns { Promise<SdPlatformPatchResponse<SdPlatformResponseBackendSystem|SdPlatformResponseBackendSystemAdmin>> }
|
|
27
|
+
*/
|
|
28
|
+
patch(id: string, body: SdPlatformRequestBackendSystemPatch): Promise<SdPlatformPatchResponse<SdPlatformResponseBackendSystem | SdPlatformResponseBackendSystemAdmin>>;
|
|
29
|
+
/**
|
|
30
|
+
* Get a token for interacting with a geometry backend system.
|
|
31
|
+
* @param { SdPlatformRequestBackendSystemToken } body
|
|
32
|
+
* @returns { Promise<SdPlatformPostResponse<SdPlatformResponseBackendSystemToken>> }
|
|
33
|
+
*/
|
|
34
|
+
token(body: SdPlatformRequestBackendSystemToken): Promise<SdPlatformPostResponse<SdPlatformResponseBackendSystemToken>>;
|
|
35
|
+
}
|
|
18
36
|
//# sourceMappingURL=SdPlatformBackendSystemApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdPlatformBackendSystemApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformBackendSystemApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,oCAAoC,EAAE,mCAAmC,EAAE,mCAAmC,EAAE,+BAA+B,EAAE,oCAAoC,EAAE,oCAAoC,EAAE,MAAM,qCAAqC,CAAC;AAClR,OAAO,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AAGzJ,oBAAY,sCAAsC,GAAG,yBAAyB,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;AAEnG;;GAEG;AACH,qBAAa,0BAA2B,SAAQ,YAAY;IAExD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;
|
|
1
|
+
{"version":3,"file":"SdPlatformBackendSystemApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformBackendSystemApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,oCAAoC,EAAE,mCAAmC,EAAE,mCAAmC,EAAE,+BAA+B,EAAE,oCAAoC,EAAE,oCAAoC,EAAE,MAAM,qCAAqC,CAAC;AAClR,OAAO,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AAGzJ,oBAAY,sCAAsC,GAAG,yBAAyB,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;AAEnG;;GAEG;AACH,qBAAa,0BAA2B,SAAQ,YAAY;IAExD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;OAIG;IACI,KAAK,CAAC,KAAK,GAAE,sCAA2C,GAAG,OAAO,CAAC,uBAAuB,CAAC,+BAA+B,GAAC,oCAAoC,CAAC,CAAC;IAKxK;;;;OAIG;IACI,MAAM,CAAC,IAAI,EAAE,oCAAoC,GAAG,OAAO,CAAC,sBAAsB,CAAC,oCAAoC,CAAC,CAAC;IAKhI;;;;;OAKG;IACI,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,mCAAmC,GAAG,OAAO,CAAC,uBAAuB,CAAC,+BAA+B,GAAC,oCAAoC,CAAC,CAAC;IAK3K;;;;OAIG;IACI,KAAK,CAAC,IAAI,EAAE,mCAAmC,GAAG,OAAO,CAAC,sBAAsB,CAAC,oCAAoC,CAAC,CAAC;CAIjI"}
|
|
@@ -1,17 +1,22 @@
|
|
|
1
|
-
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
|
-
import { SdPlatformRequestBookmarkCreate } from "@shapediver/api.platform-api-dto-v1";
|
|
3
|
-
import { SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
-
/**
|
|
5
|
-
* Operations for creating and deleting bookmarks
|
|
6
|
-
*/
|
|
7
|
-
export declare class SdPlatformBookmarkApi extends ResourcesApi {
|
|
8
|
-
protected get __resourcePath(): string;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
*
|
|
12
|
-
* @
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
|
+
import { SdPlatformRequestBookmarkCreate } from "@shapediver/api.platform-api-dto-v1";
|
|
3
|
+
import { SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
+
/**
|
|
5
|
+
* Operations for creating and deleting bookmarks
|
|
6
|
+
*/
|
|
7
|
+
export declare class SdPlatformBookmarkApi extends ResourcesApi {
|
|
8
|
+
protected get __resourcePath(): string;
|
|
9
|
+
/**
|
|
10
|
+
* Create a bookmark for the model for the user identified by @see SdPlatformAuthServiceApi
|
|
11
|
+
* @param { SdPlatformRequestBookmarkCreate } body
|
|
12
|
+
* @returns { Promise<SdPlatformPostResponse<void>> }
|
|
13
|
+
*/
|
|
14
|
+
create(body: SdPlatformRequestBookmarkCreate): Promise<SdPlatformPostResponse<void>>;
|
|
15
|
+
/**
|
|
16
|
+
* Delete a bookmark for the model for the user identified by @see SdPlatformAuthServiceApi
|
|
17
|
+
* @param id Id of the model whose bookmark shall be deleted
|
|
18
|
+
* @returns { Promise<SdPlatformDeleteResponse> }
|
|
19
|
+
*/
|
|
20
|
+
delete(id: string): Promise<SdPlatformDeleteResponse>;
|
|
21
|
+
}
|
|
17
22
|
//# sourceMappingURL=SdPlatformBookmarkApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdPlatformBookmarkApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformBookmarkApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;
|
|
1
|
+
{"version":3,"file":"SdPlatformBookmarkApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformBookmarkApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAItG;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,YAAY;IAEnD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;OAIG;IACI,MAAM,CAAC,IAAI,EAAE,+BAA+B,GAAG,OAAO,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAK3F;;;;OAIG;IACI,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;CAI/D"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
|
-
import { SdPlatformRequestChargebeeHostedPage, SdPlatformRequestChargebeeHostedPageUpdatePaymentMethod, SdPlatformRequestChargebeePortalSession, SdPlatformResponseChargebeeConfig } from "@shapediver/api.platform-api-dto-v1";
|
|
3
|
-
import { SdPlatformResponseChargebeeHostedPage, SdPlatformResponseChargebeePortalSession, SdPlatformResponseChargebeePlan } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
-
import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformPostResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
5
|
-
export declare type SdPlatformChargebeePlanQueryParameters = SdPlatformQueryParameters<null>;
|
|
6
|
-
/**
|
|
7
|
-
* Actions related to Chargebee.
|
|
8
|
-
*/
|
|
9
|
-
export declare class SdPlatformChargebeeApi extends ResourcesApi {
|
|
10
|
-
protected get __resourcePath(): string;
|
|
11
|
-
hostedPage(body: SdPlatformRequestChargebeeHostedPage): Promise<SdPlatformPostResponse<SdPlatformResponseChargebeeHostedPage>>;
|
|
12
|
-
hostedPageUpdatePaymentMethod(body: SdPlatformRequestChargebeeHostedPageUpdatePaymentMethod): Promise<SdPlatformPostResponse<SdPlatformResponseChargebeeHostedPage>>;
|
|
13
|
-
portalSession(body: SdPlatformRequestChargebeePortalSession): Promise<SdPlatformPostResponse<SdPlatformResponseChargebeePortalSession>>;
|
|
14
|
-
queryChargebeePlans(body: SdPlatformChargebeePlanQueryParameters): Promise<SdPlatformPostResponse<SdPlatformResponseChargebeePlan>>;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @returns Chargebee configuration
|
|
18
|
-
*/
|
|
19
|
-
config(): Promise<SdPlatformGetResponse<SdPlatformResponseChargebeeConfig>>;
|
|
20
|
-
}
|
|
1
|
+
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
|
+
import { SdPlatformRequestChargebeeHostedPage, SdPlatformRequestChargebeeHostedPageUpdatePaymentMethod, SdPlatformRequestChargebeePortalSession, SdPlatformResponseChargebeeConfig } from "@shapediver/api.platform-api-dto-v1";
|
|
3
|
+
import { SdPlatformResponseChargebeeHostedPage, SdPlatformResponseChargebeePortalSession, SdPlatformResponseChargebeePlan } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
+
import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformPostResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
5
|
+
export declare type SdPlatformChargebeePlanQueryParameters = SdPlatformQueryParameters<null>;
|
|
6
|
+
/**
|
|
7
|
+
* Actions related to Chargebee.
|
|
8
|
+
*/
|
|
9
|
+
export declare class SdPlatformChargebeeApi extends ResourcesApi {
|
|
10
|
+
protected get __resourcePath(): string;
|
|
11
|
+
hostedPage(body: SdPlatformRequestChargebeeHostedPage): Promise<SdPlatformPostResponse<SdPlatformResponseChargebeeHostedPage>>;
|
|
12
|
+
hostedPageUpdatePaymentMethod(body: SdPlatformRequestChargebeeHostedPageUpdatePaymentMethod): Promise<SdPlatformPostResponse<SdPlatformResponseChargebeeHostedPage>>;
|
|
13
|
+
portalSession(body: SdPlatformRequestChargebeePortalSession): Promise<SdPlatformPostResponse<SdPlatformResponseChargebeePortalSession>>;
|
|
14
|
+
queryChargebeePlans(body: SdPlatformChargebeePlanQueryParameters): Promise<SdPlatformPostResponse<SdPlatformResponseChargebeePlan>>;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @returns Chargebee configuration
|
|
18
|
+
*/
|
|
19
|
+
config(): Promise<SdPlatformGetResponse<SdPlatformResponseChargebeeConfig>>;
|
|
20
|
+
}
|
|
21
21
|
//# sourceMappingURL=SdPlatformChargebeeApi.d.ts.map
|
|
@@ -1,84 +1,84 @@
|
|
|
1
|
-
import { SdPlatformDeleteResponse, SdPlatformGetResponse, SdPlatformQueryParameters, SdPlatformQueryResponse, SdPlatformRequestDocumentAccept, SdPlatformResponseDocument, SdPlatformResponseDocumentUser, SdPlatformResponseDomainAdmin } from "@shapediver/api.platform-api-dto-v1";
|
|
2
|
-
import { SdPlatformPostResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
3
|
-
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
4
|
-
import { SdPlatformRequestDocumentCreate } from "@shapediver/api.platform-api-dto-v1";
|
|
5
|
-
export declare type SdPlatformDocumentQueryParameters = SdPlatformQueryParameters<string>;
|
|
6
|
-
export declare type SdPlatformDocumentGetQueryParameters = {
|
|
7
|
-
/**
|
|
8
|
-
* Type of document, can be a comma separated list.
|
|
9
|
-
* For example: 'customer_terms,user_terms,privacy_policy_supplement'
|
|
10
|
-
*/
|
|
11
|
-
type?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Filter documents which are active (valid_from in the past) or inactive (valid_from in the future), if defined.
|
|
14
|
-
*/
|
|
15
|
-
active?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Filter documents which require acceptance or do not require acceptance, if defined.
|
|
18
|
-
*/
|
|
19
|
-
requires_acceptance?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Filter documents which are relevant to users which are account owners, or users which are not account owners, if defined.
|
|
22
|
-
*/
|
|
23
|
-
account_owner?: boolean;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* Actions related to Documents.
|
|
27
|
-
*/
|
|
28
|
-
export declare class SdPlatformDocumentApi extends ResourcesApi {
|
|
29
|
-
protected get __resourcePath(): string;
|
|
30
|
-
/**
|
|
31
|
-
* Create a document.
|
|
32
|
-
* @param { SdPlatformRequestDocumentCreate } body
|
|
33
|
-
* @returns { Promise<SdPlatformPostResponse<SdPlatformResponseDomainAdmin>> }
|
|
34
|
-
*/
|
|
35
|
-
create(body: SdPlatformRequestDocumentCreate): Promise<SdPlatformPostResponse<SdPlatformResponseDomainAdmin>>;
|
|
36
|
-
/**
|
|
37
|
-
* Query documents.
|
|
38
|
-
* @param { SdPlatformDocumentQueryParameters } query
|
|
39
|
-
* @returns { Promise<SdPlatformQueryResponse<SdPlatformResponseDocument>> }
|
|
40
|
-
*/
|
|
41
|
-
query(query?: SdPlatformDocumentQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseDocument>>;
|
|
42
|
-
/**
|
|
43
|
-
* Delete a document.
|
|
44
|
-
* @param { string } id - the id of a document.
|
|
45
|
-
*/
|
|
46
|
-
delete(id: string): Promise<SdPlatformDeleteResponse>;
|
|
47
|
-
/**
|
|
48
|
-
* Get a list of documents which are relevant to the requesting user.
|
|
49
|
-
* @param { SdPlatformDocumentGetQueryParameters | undefined | null } query_parameters
|
|
50
|
-
* @returns { Promise<SdPlatformGetResponse<Array<SdPlatformResponseDocumentUser>>> }
|
|
51
|
-
*/
|
|
52
|
-
list(query_parameters?: SdPlatformDocumentGetQueryParameters): Promise<SdPlatformGetResponse<Array<SdPlatformResponseDocumentUser>>>;
|
|
53
|
-
/**
|
|
54
|
-
* Download a document.
|
|
55
|
-
* @param { string } document_id_or_type
|
|
56
|
-
* @returns : Promise<SdPlatformGetResponse<void>>
|
|
57
|
-
*/
|
|
58
|
-
download(document_id_or_type: string): Promise<SdPlatformGetResponse<void>>;
|
|
59
|
-
/**
|
|
60
|
-
* View a document.
|
|
61
|
-
* @param { string } document_id_or_type
|
|
62
|
-
* @returns : Promise<SdPlatformGetResponse<void>>
|
|
63
|
-
*/
|
|
64
|
-
view(document_id_or_type: string): Promise<SdPlatformGetResponse<void>>;
|
|
65
|
-
/**
|
|
66
|
-
* Get a download document url.
|
|
67
|
-
* @param { string } document_id_or_type
|
|
68
|
-
* @returns { string }
|
|
69
|
-
*/
|
|
70
|
-
getDownloadUrl(document_id_or_type: string): string;
|
|
71
|
-
/**
|
|
72
|
-
* Get a view document url.
|
|
73
|
-
* @param { string } document_id_or_type
|
|
74
|
-
* @returns { string }
|
|
75
|
-
*/
|
|
76
|
-
getViewUrl(document_id_or_type: string): string;
|
|
77
|
-
/**
|
|
78
|
-
* Accept a document
|
|
79
|
-
* @param { string } document_id
|
|
80
|
-
* @param { SdPlatformRequestDocumentAccept } body
|
|
81
|
-
*/
|
|
82
|
-
accept(document_id: string, body: SdPlatformRequestDocumentAccept): Promise<SdPlatformPostResponse<void>>;
|
|
83
|
-
}
|
|
1
|
+
import { SdPlatformDeleteResponse, SdPlatformGetResponse, SdPlatformQueryParameters, SdPlatformQueryResponse, SdPlatformRequestDocumentAccept, SdPlatformResponseDocument, SdPlatformResponseDocumentUser, SdPlatformResponseDomainAdmin } from "@shapediver/api.platform-api-dto-v1";
|
|
2
|
+
import { SdPlatformPostResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
3
|
+
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
4
|
+
import { SdPlatformRequestDocumentCreate } from "@shapediver/api.platform-api-dto-v1";
|
|
5
|
+
export declare type SdPlatformDocumentQueryParameters = SdPlatformQueryParameters<string>;
|
|
6
|
+
export declare type SdPlatformDocumentGetQueryParameters = {
|
|
7
|
+
/**
|
|
8
|
+
* Type of document, can be a comma separated list.
|
|
9
|
+
* For example: 'customer_terms,user_terms,privacy_policy_supplement'
|
|
10
|
+
*/
|
|
11
|
+
type?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Filter documents which are active (valid_from in the past) or inactive (valid_from in the future), if defined.
|
|
14
|
+
*/
|
|
15
|
+
active?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Filter documents which require acceptance or do not require acceptance, if defined.
|
|
18
|
+
*/
|
|
19
|
+
requires_acceptance?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Filter documents which are relevant to users which are account owners, or users which are not account owners, if defined.
|
|
22
|
+
*/
|
|
23
|
+
account_owner?: boolean;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Actions related to Documents.
|
|
27
|
+
*/
|
|
28
|
+
export declare class SdPlatformDocumentApi extends ResourcesApi {
|
|
29
|
+
protected get __resourcePath(): string;
|
|
30
|
+
/**
|
|
31
|
+
* Create a document.
|
|
32
|
+
* @param { SdPlatformRequestDocumentCreate } body
|
|
33
|
+
* @returns { Promise<SdPlatformPostResponse<SdPlatformResponseDomainAdmin>> }
|
|
34
|
+
*/
|
|
35
|
+
create(body: SdPlatformRequestDocumentCreate): Promise<SdPlatformPostResponse<SdPlatformResponseDomainAdmin>>;
|
|
36
|
+
/**
|
|
37
|
+
* Query documents.
|
|
38
|
+
* @param { SdPlatformDocumentQueryParameters } query
|
|
39
|
+
* @returns { Promise<SdPlatformQueryResponse<SdPlatformResponseDocument>> }
|
|
40
|
+
*/
|
|
41
|
+
query(query?: SdPlatformDocumentQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseDocument>>;
|
|
42
|
+
/**
|
|
43
|
+
* Delete a document.
|
|
44
|
+
* @param { string } id - the id of a document.
|
|
45
|
+
*/
|
|
46
|
+
delete(id: string): Promise<SdPlatformDeleteResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Get a list of documents which are relevant to the requesting user.
|
|
49
|
+
* @param { SdPlatformDocumentGetQueryParameters | undefined | null } query_parameters
|
|
50
|
+
* @returns { Promise<SdPlatformGetResponse<Array<SdPlatformResponseDocumentUser>>> }
|
|
51
|
+
*/
|
|
52
|
+
list(query_parameters?: SdPlatformDocumentGetQueryParameters): Promise<SdPlatformGetResponse<Array<SdPlatformResponseDocumentUser>>>;
|
|
53
|
+
/**
|
|
54
|
+
* Download a document.
|
|
55
|
+
* @param { string } document_id_or_type
|
|
56
|
+
* @returns : Promise<SdPlatformGetResponse<void>>
|
|
57
|
+
*/
|
|
58
|
+
download(document_id_or_type: string): Promise<SdPlatformGetResponse<void>>;
|
|
59
|
+
/**
|
|
60
|
+
* View a document.
|
|
61
|
+
* @param { string } document_id_or_type
|
|
62
|
+
* @returns : Promise<SdPlatformGetResponse<void>>
|
|
63
|
+
*/
|
|
64
|
+
view(document_id_or_type: string): Promise<SdPlatformGetResponse<void>>;
|
|
65
|
+
/**
|
|
66
|
+
* Get a download document url.
|
|
67
|
+
* @param { string } document_id_or_type
|
|
68
|
+
* @returns { string }
|
|
69
|
+
*/
|
|
70
|
+
getDownloadUrl(document_id_or_type: string): string;
|
|
71
|
+
/**
|
|
72
|
+
* Get a view document url.
|
|
73
|
+
* @param { string } document_id_or_type
|
|
74
|
+
* @returns { string }
|
|
75
|
+
*/
|
|
76
|
+
getViewUrl(document_id_or_type: string): string;
|
|
77
|
+
/**
|
|
78
|
+
* Accept a document
|
|
79
|
+
* @param { string } document_id
|
|
80
|
+
* @param { SdPlatformRequestDocumentAccept } body
|
|
81
|
+
*/
|
|
82
|
+
accept(document_id: string, body: SdPlatformRequestDocumentAccept): Promise<SdPlatformPostResponse<void>>;
|
|
83
|
+
}
|
|
84
84
|
//# sourceMappingURL=SdPlatformDocumentApi.d.ts.map
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
|
-
import { SdPlatformRequestDomainCreate, SdPlatformRequestDomainPatch, SdPlatformResponseDomain, SdPlatformResponseDomainAdmin } from "@shapediver/api.platform-api-dto-v1";
|
|
3
|
-
import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
-
export declare enum SdPlatformDomainGetEmbeddableFields {
|
|
5
|
-
Models = "models"
|
|
6
|
-
}
|
|
7
|
-
export declare enum SdPlatformDomainQueryEmbeddableFields {
|
|
8
|
-
ModelsCount = "models_count"
|
|
9
|
-
}
|
|
10
|
-
export declare type SdPlatformDomainQueryParameters = SdPlatformQueryParameters<SdPlatformDomainQueryEmbeddableFields>;
|
|
11
|
-
/**
|
|
12
|
-
* Operations for domains which can be attached or users, organizations, models.
|
|
13
|
-
*/
|
|
14
|
-
export declare class SdPlatformDomainApi extends ResourcesApi {
|
|
15
|
-
protected get __resourcePath(): string;
|
|
16
|
-
/**
|
|
17
|
-
* Get a domain by id.
|
|
18
|
-
* @param id
|
|
19
|
-
* @param embed
|
|
20
|
-
* @returns
|
|
21
|
-
*/
|
|
22
|
-
get(id: string, embed?: Array<SdPlatformDomainGetEmbeddableFields>): Promise<SdPlatformGetResponse<SdPlatformResponseDomain | SdPlatformResponseDomainAdmin>>;
|
|
23
|
-
/**
|
|
24
|
-
* Query domains.
|
|
25
|
-
* @param query
|
|
26
|
-
* @returns
|
|
27
|
-
*/
|
|
28
|
-
query(query?: SdPlatformDomainQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseDomain | SdPlatformResponseDomainAdmin>>;
|
|
29
|
-
/**
|
|
30
|
-
* Create a domain.
|
|
31
|
-
*/
|
|
32
|
-
create(body: SdPlatformRequestDomainCreate): Promise<SdPlatformPostResponse<SdPlatformResponseDomainAdmin>>;
|
|
33
|
-
/**
|
|
34
|
-
* Patch a domain.
|
|
35
|
-
* @param id - the id of a domain
|
|
36
|
-
* @param body - properties to patch
|
|
37
|
-
*/
|
|
38
|
-
patch(id: string, body: SdPlatformRequestDomainPatch): Promise<SdPlatformPatchResponse<SdPlatformResponseDomainAdmin>>;
|
|
39
|
-
/**
|
|
40
|
-
* Delete a domain.
|
|
41
|
-
* @param id - the id of a domain
|
|
42
|
-
*/
|
|
43
|
-
delete(id: string): Promise<SdPlatformDeleteResponse>;
|
|
44
|
-
}
|
|
1
|
+
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
|
+
import { SdPlatformRequestDomainCreate, SdPlatformRequestDomainPatch, SdPlatformResponseDomain, SdPlatformResponseDomainAdmin } from "@shapediver/api.platform-api-dto-v1";
|
|
3
|
+
import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
+
export declare enum SdPlatformDomainGetEmbeddableFields {
|
|
5
|
+
Models = "models"
|
|
6
|
+
}
|
|
7
|
+
export declare enum SdPlatformDomainQueryEmbeddableFields {
|
|
8
|
+
ModelsCount = "models_count"
|
|
9
|
+
}
|
|
10
|
+
export declare type SdPlatformDomainQueryParameters = SdPlatformQueryParameters<SdPlatformDomainQueryEmbeddableFields>;
|
|
11
|
+
/**
|
|
12
|
+
* Operations for domains which can be attached or users, organizations, models.
|
|
13
|
+
*/
|
|
14
|
+
export declare class SdPlatformDomainApi extends ResourcesApi {
|
|
15
|
+
protected get __resourcePath(): string;
|
|
16
|
+
/**
|
|
17
|
+
* Get a domain by id.
|
|
18
|
+
* @param id
|
|
19
|
+
* @param embed
|
|
20
|
+
* @returns
|
|
21
|
+
*/
|
|
22
|
+
get(id: string, embed?: Array<SdPlatformDomainGetEmbeddableFields>): Promise<SdPlatformGetResponse<SdPlatformResponseDomain | SdPlatformResponseDomainAdmin>>;
|
|
23
|
+
/**
|
|
24
|
+
* Query domains.
|
|
25
|
+
* @param query
|
|
26
|
+
* @returns
|
|
27
|
+
*/
|
|
28
|
+
query(query?: SdPlatformDomainQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseDomain | SdPlatformResponseDomainAdmin>>;
|
|
29
|
+
/**
|
|
30
|
+
* Create a domain.
|
|
31
|
+
*/
|
|
32
|
+
create(body: SdPlatformRequestDomainCreate): Promise<SdPlatformPostResponse<SdPlatformResponseDomainAdmin>>;
|
|
33
|
+
/**
|
|
34
|
+
* Patch a domain.
|
|
35
|
+
* @param id - the id of a domain
|
|
36
|
+
* @param body - properties to patch
|
|
37
|
+
*/
|
|
38
|
+
patch(id: string, body: SdPlatformRequestDomainPatch): Promise<SdPlatformPatchResponse<SdPlatformResponseDomainAdmin>>;
|
|
39
|
+
/**
|
|
40
|
+
* Delete a domain.
|
|
41
|
+
* @param id - the id of a domain
|
|
42
|
+
*/
|
|
43
|
+
delete(id: string): Promise<SdPlatformDeleteResponse>;
|
|
44
|
+
}
|
|
45
45
|
//# sourceMappingURL=SdPlatformDomainApi.d.ts.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
|
-
import { SdPlatformResponseHttpLog } from "@shapediver/api.platform-api-dto-v1";
|
|
3
|
-
import { SdPlatformQueryParameters, SdPlatformQueryResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
-
export declare type SdPlatformHttpLogQueryParameters = SdPlatformQueryParameters<null>;
|
|
5
|
-
/**
|
|
6
|
-
* HTTP logs.
|
|
7
|
-
*/
|
|
8
|
-
export declare class SdPlatformHttpLogApi extends ResourcesApi {
|
|
9
|
-
protected get __resourcePath(): string;
|
|
10
|
-
/**
|
|
11
|
-
* Query HTTP logs.
|
|
12
|
-
* @param body
|
|
13
|
-
*/
|
|
14
|
-
query(body?: SdPlatformHttpLogQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseHttpLog>>;
|
|
15
|
-
}
|
|
1
|
+
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
|
+
import { SdPlatformResponseHttpLog } from "@shapediver/api.platform-api-dto-v1";
|
|
3
|
+
import { SdPlatformQueryParameters, SdPlatformQueryResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
+
export declare type SdPlatformHttpLogQueryParameters = SdPlatformQueryParameters<null>;
|
|
5
|
+
/**
|
|
6
|
+
* HTTP logs.
|
|
7
|
+
*/
|
|
8
|
+
export declare class SdPlatformHttpLogApi extends ResourcesApi {
|
|
9
|
+
protected get __resourcePath(): string;
|
|
10
|
+
/**
|
|
11
|
+
* Query HTTP logs.
|
|
12
|
+
* @param body
|
|
13
|
+
*/
|
|
14
|
+
query(body?: SdPlatformHttpLogQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseHttpLog>>;
|
|
15
|
+
}
|
|
16
16
|
//# sourceMappingURL=SdPlatformHttpLogApi.d.ts.map
|