@shapediver/sdk.platform-api-sdk-v1 2.12.8 → 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/dist/auth/SdPlatformAuthServiceApi.d.ts +2 -0
- package/dist/auth/SdPlatformAuthServiceApi.d.ts.map +1 -1
- package/dist/bundle.js +224 -140
- package/dist/bundle.node.js +224 -140
- package/dist/resources/SdPlatformApiClientsApi.d.ts +28 -1
- package/dist/resources/SdPlatformApiClientsApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformApiTokenApi.d.ts +10 -11
- package/dist/resources/SdPlatformApiTokenApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformBackendSystemApi.d.ts +12 -9
- package/dist/resources/SdPlatformBackendSystemApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformBookmarkApi.d.ts +7 -4
- package/dist/resources/SdPlatformBookmarkApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformChargebeeApi.d.ts +23 -0
- package/dist/resources/SdPlatformChargebeeApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformDocumentApi.d.ts +5 -5
- package/dist/resources/SdPlatformDomainApi.d.ts +6 -4
- package/dist/resources/SdPlatformDomainApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformHttpLogApi.d.ts +2 -1
- package/dist/resources/SdPlatformHttpLogApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformImageApi.d.ts +13 -5
- package/dist/resources/SdPlatformImageApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformModelApi.d.ts +15 -13
- package/dist/resources/SdPlatformModelApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformModelSharingApi.d.ts +11 -10
- package/dist/resources/SdPlatformModelSharingApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformModelTokenApi.d.ts +5 -0
- package/dist/resources/SdPlatformModelTokenApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformModelTransferApi.d.ts +1 -1
- package/dist/resources/SdPlatformNotificationApi.d.ts +14 -14
- package/dist/resources/SdPlatformOrganizationAnalyticsApi.d.ts +2 -2
- package/dist/resources/SdPlatformOrganizationApi.d.ts +8 -5
- package/dist/resources/SdPlatformOrganizationApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformPolicyApi.d.ts +11 -11
- package/dist/resources/SdPlatformSavedStateApi.d.ts +12 -12
- package/dist/resources/SdPlatformSavedStateSharingApi.d.ts +13 -13
- package/dist/resources/SdPlatformTagApi.d.ts +10 -0
- package/dist/resources/SdPlatformTagApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformUserAnalyticsApi.d.ts +2 -2
- package/dist/resources/SdPlatformUserApi.d.ts +10 -10
- package/dist/resources/SdPlatformWebhookApi.d.ts +6 -6
- package/package.json +1 -1
|
@@ -1,17 +1,44 @@
|
|
|
1
1
|
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
2
|
import { SdPlatformResponseApiClient, SdPlatformRequestApiClientCreate, SdPlatformRequestApiClientPatch } from "@shapediver/api.platform-api-dto-v1";
|
|
3
3
|
import { SdPlatformQueryParameters, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
+
/**
|
|
5
|
+
* The embeddable fields for query parameter.
|
|
6
|
+
*/
|
|
4
7
|
export declare enum SdPlatformApiClientsQueryEmbeddableFields {
|
|
5
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* The query parameters for platform api clients.
|
|
11
|
+
*/
|
|
6
12
|
export declare type SdPlatformApiClientsQueryParameters = SdPlatformQueryParameters<SdPlatformApiClientsQueryEmbeddableFields>;
|
|
7
13
|
/**
|
|
8
|
-
*
|
|
14
|
+
* API client operations (API clients of the platform backend).
|
|
9
15
|
*/
|
|
10
16
|
export declare class SdPlatformApiClientsApi extends ResourcesApi {
|
|
11
17
|
protected get __resourcePath(): string;
|
|
18
|
+
/**
|
|
19
|
+
* Query the api clients.
|
|
20
|
+
* @param query - {@link SdPlatformApiClientsQueryParameters} optional query parameters
|
|
21
|
+
* @returns query result
|
|
22
|
+
*/
|
|
12
23
|
query(query?: SdPlatformApiClientsQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseApiClient>>;
|
|
24
|
+
/**
|
|
25
|
+
* Create a new api client.
|
|
26
|
+
* @param body - {@link SdPlatformRequestApiClientCreate} body or parameters for create request.
|
|
27
|
+
* @returns returns created api client response.
|
|
28
|
+
*/
|
|
13
29
|
create(body: SdPlatformRequestApiClientCreate): Promise<SdPlatformPostResponse<SdPlatformResponseApiClient>>;
|
|
30
|
+
/**
|
|
31
|
+
* Patch an api client
|
|
32
|
+
* @param id
|
|
33
|
+
* @param body - {@link SdPlatformRequestApiClientPatch} body or patch parameters.
|
|
34
|
+
* @returns patch response.
|
|
35
|
+
*/
|
|
14
36
|
patch(id: string, body: SdPlatformRequestApiClientPatch): Promise<SdPlatformPatchResponse<SdPlatformResponseApiClient>>;
|
|
37
|
+
/**
|
|
38
|
+
* Delete an api client.
|
|
39
|
+
* @param id
|
|
40
|
+
* @returns delete response.
|
|
41
|
+
*/
|
|
15
42
|
delete(id: string): Promise<SdPlatformDeleteResponse>;
|
|
16
43
|
}
|
|
17
44
|
//# sourceMappingURL=SdPlatformApiClientsApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdPlatformApiClientsApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformApiClientsApi.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"SdPlatformApiClientsApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformApiClientsApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,2BAA2B,EAAE,gCAAgC,EAAE,+BAA+B,EAAE,MAAM,qCAAqC,CAAA;AACpJ,OAAO,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAEnL;;GAEG;AACH,oBAAY,yCAAyC;CACnD;AAGF;;GAEG;AACH,oBAAY,mCAAmC,GAAG,yBAAyB,CAAC,yCAAyC,CAAC,CAAC;AAEvH;;GAEG;AACH,qBAAa,uBAAwB,SAAQ,YAAY;IAErD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;OAIG;IACI,KAAK,CAAC,KAAK,GAAE,mCAAwC,GAAG,OAAO,CAAC,uBAAuB,CAAC,2BAA2B,CAAC,CAAC;IAK5H;;;;OAIG;IACI,MAAM,CAAC,IAAI,EAAE,gCAAgC,GAAG,OAAO,CAAC,sBAAsB,CAAC,2BAA2B,CAAC,CAAC;IAKnH;;;;;OAKG;IACI,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,+BAA+B,GAAI,OAAO,CAAC,uBAAuB,CAAC,2BAA2B,CAAC,CAAC;IAK/H;;;;OAIG;IACI,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;CAM/D"}
|
|
@@ -12,33 +12,32 @@ export declare class SdPlatformApiTokenApi extends ResourcesApi {
|
|
|
12
12
|
protected get __resourcePath(): string;
|
|
13
13
|
/**
|
|
14
14
|
* Get the token.
|
|
15
|
-
* @param
|
|
16
|
-
* @returns
|
|
15
|
+
* @param key_id
|
|
16
|
+
* @returns api token response.
|
|
17
17
|
*/
|
|
18
18
|
get(key_id: string): Promise<SdPlatformGetResponse<SdPlatformResponseApiToken>>;
|
|
19
19
|
/**
|
|
20
20
|
* Query the API tokens.
|
|
21
|
-
* @param { SdPlatformApiTokenQueryParameters
|
|
22
|
-
* @returns {
|
|
21
|
+
* @param query - {@link SdPlatformApiTokenQueryParameters} optional query parameters.
|
|
22
|
+
* @returns query response with @see {@link SdPlatformResponseApiToken} as result.
|
|
23
23
|
*/
|
|
24
24
|
query(query?: SdPlatformApiTokenQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseApiToken>>;
|
|
25
25
|
/**
|
|
26
26
|
* Create a token.
|
|
27
|
-
* @param { SdPlatformRequestApiTokenCreate
|
|
28
|
-
* @returns {
|
|
27
|
+
* @param body - {@link SdPlatformRequestApiTokenCreate} body or create token parameters.
|
|
28
|
+
* @returns @see {@link SdPlatformResponseApiTokenWithSecret} as result.
|
|
29
29
|
*/
|
|
30
30
|
create(body: SdPlatformRequestApiTokenCreate): Promise<SdPlatformPostResponse<SdPlatformResponseApiTokenWithSecret>>;
|
|
31
31
|
/**
|
|
32
32
|
* Update and API token.
|
|
33
|
-
* @param
|
|
34
|
-
* @param { SdPlatformRequestApiTokenPatch
|
|
35
|
-
* @returns {
|
|
33
|
+
* @param key_id
|
|
34
|
+
* @param @see {@link SdPlatformRequestApiTokenPatch} patch body with parameters.
|
|
35
|
+
* @returns patch response with @see {@link SdPlatformResponseApiToken}
|
|
36
36
|
*/
|
|
37
37
|
patch(key_id: string, body: SdPlatformRequestApiTokenPatch): Promise<SdPlatformPatchResponse<SdPlatformResponseApiToken>>;
|
|
38
38
|
/**
|
|
39
39
|
* Delete an API token.
|
|
40
|
-
* @param
|
|
41
|
-
* @returns { Promise<SdPlatformDeleteResponse> }
|
|
40
|
+
* @param key_id
|
|
42
41
|
*/
|
|
43
42
|
delete(key_id: string): Promise<SdPlatformDeleteResponse>;
|
|
44
43
|
}
|
|
@@ -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,0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M,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;;;OAGG;IACI,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;CAInE"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
2
|
import { SdPlatformRequestBackendSystemCreate, SdPlatformRequestBackendSystemPatch, SdPlatformRequestBackendSystemToken, SdPlatformResponseBackendSystem, SdPlatformResponseBackendSystemAdmin, SdPlatformResponseBackendSystemToken } from "@shapediver/api.platform-api-dto-v1";
|
|
3
3
|
import { SdPlatformQueryParameters, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
+
/**
|
|
5
|
+
* The query parameters for fetching the @see {@link SdPlatformResponseBackendSystem}
|
|
6
|
+
*/
|
|
4
7
|
export declare type SdPlatformBackendSystemQueryParameters = SdPlatformQueryParameters<string> | undefined;
|
|
5
8
|
/**
|
|
6
9
|
* Operations for ShapeDiver Geometry Backend Systems known by the Platform Backend.
|
|
@@ -9,27 +12,27 @@ export declare class SdPlatformBackendSystemApi extends ResourcesApi {
|
|
|
9
12
|
protected get __resourcePath(): string;
|
|
10
13
|
/**
|
|
11
14
|
* Query the backend systems.
|
|
12
|
-
* @param { SdPlatformBackendSystemQueryParameters
|
|
13
|
-
* @returns {
|
|
15
|
+
* @param query - {@link SdPlatformBackendSystemQueryParameters} query parameters.
|
|
16
|
+
* @returns - {@link SdPlatformQueryResponse} response with {@link SdPlatformResponseBackendSystem} or {@link SdPlatformResponseBackendSystemAdmin} as result.
|
|
14
17
|
*/
|
|
15
18
|
query(query?: SdPlatformBackendSystemQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseBackendSystem | SdPlatformResponseBackendSystemAdmin>>;
|
|
16
19
|
/**
|
|
17
20
|
* Create the backend system.
|
|
18
|
-
* @param { SdPlatformRequestBackendSystemCreate
|
|
19
|
-
* @returns {
|
|
21
|
+
* @param body - {@link SdPlatformRequestBackendSystemCreate} body parameters.
|
|
22
|
+
* @returns - {@link SdPlatformPostResponse} with {@link SdPlatformResponseBackendSystemAdmin} as result.
|
|
20
23
|
*/
|
|
21
24
|
create(body: SdPlatformRequestBackendSystemCreate): Promise<SdPlatformPostResponse<SdPlatformResponseBackendSystemAdmin>>;
|
|
22
25
|
/**
|
|
23
26
|
* Updates the backend system.
|
|
24
|
-
* @param
|
|
25
|
-
* @param { SdPlatformRequestBackendSystemPatch
|
|
26
|
-
* @returns {
|
|
27
|
+
* @param id - the backend system id.
|
|
28
|
+
* @param body - {@link SdPlatformRequestBackendSystemPatch} update parameters.
|
|
29
|
+
* @returns - {@link SdPlatformPatchResponse} with {@link SdPlatformResponseBackendSystem} or {@link SdPlatformResponseBackendSystemAdmin} as result.
|
|
27
30
|
*/
|
|
28
31
|
patch(id: string, body: SdPlatformRequestBackendSystemPatch): Promise<SdPlatformPatchResponse<SdPlatformResponseBackendSystem | SdPlatformResponseBackendSystemAdmin>>;
|
|
29
32
|
/**
|
|
30
33
|
* Get a token for interacting with a geometry backend system.
|
|
31
|
-
* @param { SdPlatformRequestBackendSystemToken
|
|
32
|
-
* @returns {
|
|
34
|
+
* @param body - {@link SdPlatformRequestBackendSystemToken} body
|
|
35
|
+
* @returns - {@link SdPlatformPostResponse} with {@link SdPlatformResponseBackendSystemToken} as result.
|
|
33
36
|
*/
|
|
34
37
|
token(body: SdPlatformRequestBackendSystemToken): Promise<SdPlatformPostResponse<SdPlatformResponseBackendSystemToken>>;
|
|
35
38
|
}
|
|
@@ -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;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
|
+
{"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;;GAEG;AACH,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"}
|
|
@@ -5,17 +5,20 @@ import { SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/ap
|
|
|
5
5
|
* Operations for creating and deleting bookmarks
|
|
6
6
|
*/
|
|
7
7
|
export declare class SdPlatformBookmarkApi extends ResourcesApi {
|
|
8
|
+
/**
|
|
9
|
+
* The resource path.
|
|
10
|
+
*/
|
|
8
11
|
protected get __resourcePath(): string;
|
|
9
12
|
/**
|
|
10
13
|
* Create a bookmark for the model for the user identified by @see SdPlatformAuthServiceApi
|
|
11
|
-
* @param { SdPlatformRequestBookmarkCreate
|
|
12
|
-
* @returns {
|
|
14
|
+
* @param body - {@link SdPlatformRequestBookmarkCreate} creae parameters.
|
|
15
|
+
* @returns - {@link SdPlatformPostResponse} with 'success' property being true,
|
|
13
16
|
*/
|
|
14
17
|
create(body: SdPlatformRequestBookmarkCreate): Promise<SdPlatformPostResponse<void>>;
|
|
15
18
|
/**
|
|
16
19
|
* Delete a bookmark for the model for the user identified by @see SdPlatformAuthServiceApi
|
|
17
|
-
* @param id
|
|
18
|
-
* @returns {
|
|
20
|
+
* @param id - id of the model whose bookmark shall be deleted
|
|
21
|
+
* @returns - {@link SdPlatformDeleteResponse}
|
|
19
22
|
*/
|
|
20
23
|
delete(id: string): Promise<SdPlatformDeleteResponse>;
|
|
21
24
|
}
|
|
@@ -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;AAGtG;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,YAAY;IAEnD;;OAEG;IACH,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"}
|
|
@@ -8,9 +8,32 @@ export declare type SdPlatformChargebeePlanQueryParameters = SdPlatformQueryPara
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class SdPlatformChargebeeApi extends ResourcesApi {
|
|
10
10
|
protected get __resourcePath(): string;
|
|
11
|
+
/**
|
|
12
|
+
* Get data required to integrate a chargebee with website.
|
|
13
|
+
* @see {@link https://apidocs.chargebee.com/docs/api/hosted_pages?prod_cat_ver=2} for more.
|
|
14
|
+
* @param body - the parameters of a request.
|
|
15
|
+
* @returns
|
|
16
|
+
*/
|
|
11
17
|
hostedPage(body: SdPlatformRequestChargebeeHostedPage): Promise<SdPlatformPostResponse<SdPlatformResponseChargebeeHostedPage>>;
|
|
18
|
+
/**
|
|
19
|
+
* Get data required to integrade hosted page payment method with website.
|
|
20
|
+
* @see {@link https://apidocs.chargebee.com/docs/api/hosted_pages?prod_cat_ver=2#update_payment_method}
|
|
21
|
+
* @param body - the parameters of a request.
|
|
22
|
+
* @returns
|
|
23
|
+
*/
|
|
12
24
|
hostedPageUpdatePaymentMethod(body: SdPlatformRequestChargebeeHostedPageUpdatePaymentMethod): Promise<SdPlatformPostResponse<SdPlatformResponseChargebeeHostedPage>>;
|
|
25
|
+
/**
|
|
26
|
+
* Gets all the required data for opening a chargebee portal session.
|
|
27
|
+
* @see - {@link https://apidocs.chargebee.com/docs/api/portal_sessions?prod_cat_ver=2} for more.
|
|
28
|
+
* @param body - {@link @SdPlatformRequestChargebeePortalSession} body
|
|
29
|
+
* @returns - post response with {@link SdPlatformResponseChargebeePortalSession} data
|
|
30
|
+
*/
|
|
13
31
|
portalSession(body: SdPlatformRequestChargebeePortalSession): Promise<SdPlatformPostResponse<SdPlatformResponseChargebeePortalSession>>;
|
|
32
|
+
/**
|
|
33
|
+
* Queries the chargebee plans.
|
|
34
|
+
* @param body - {@link SdPlatformChargebeePlanQueryParameters } body
|
|
35
|
+
* @returns - post response with {@link SdPlatformResponseChargebeePlan} data
|
|
36
|
+
*/
|
|
14
37
|
queryChargebeePlans(body: SdPlatformChargebeePlanQueryParameters): Promise<SdPlatformPostResponse<SdPlatformResponseChargebeePlan>>;
|
|
15
38
|
/**
|
|
16
39
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdPlatformChargebeeApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformChargebeeApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,oCAAoC,EAAE,uDAAuD,EAAE,uCAAuC,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAChO,OAAO,EAAE,qCAAqC,EAAE,wCAAwC,EAAE,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AACvK,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AAE9H,oBAAY,sCAAsC,GAAG,yBAAyB,CAAC,IAAI,CAAC,CAAC;AAErF;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,YAAY;IAEpD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;
|
|
1
|
+
{"version":3,"file":"SdPlatformChargebeeApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformChargebeeApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,oCAAoC,EAAE,uDAAuD,EAAE,uCAAuC,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAChO,OAAO,EAAE,qCAAqC,EAAE,wCAAwC,EAAE,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AACvK,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AAE9H,oBAAY,sCAAsC,GAAG,yBAAyB,CAAC,IAAI,CAAC,CAAC;AAErF;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,YAAY;IAEpD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;;OAKG;IACI,UAAU,CAAC,IAAI,EAAE,oCAAoC,GAAI,OAAO,CAAC,sBAAsB,CAAC,qCAAqC,CAAC,CAAC;IAKtI;;;;;OAKG;IACI,6BAA6B,CAAC,IAAI,EAAE,uDAAuD,GAAG,OAAO,CAAC,sBAAsB,CAAC,qCAAqC,CAAC,CAAC;IAK3K;;;;;OAKG;IACI,aAAa,CAAC,IAAI,EAAE,uCAAuC,GAAG,OAAO,CAAC,sBAAsB,CAAC,wCAAwC,CAAC,CAAC;IAK9I;;;;OAIG;IACI,mBAAmB,CAAC,IAAI,EAAE,sCAAsC,GAAG,OAAO,CAAC,sBAAsB,CAAC,+BAA+B,CAAC,CAAC;IAK1I;;;OAGG;IACI,MAAM,IAAI,OAAO,CAAC,qBAAqB,CAAC,iCAAiC,CAAC,CAAC;CAIrF"}
|
|
@@ -29,14 +29,14 @@ export declare class SdPlatformDocumentApi extends ResourcesApi {
|
|
|
29
29
|
protected get __resourcePath(): string;
|
|
30
30
|
/**
|
|
31
31
|
* Create a document.
|
|
32
|
-
* @param { SdPlatformRequestDocumentCreate } body
|
|
33
|
-
* @returns {
|
|
32
|
+
* @param body - {@link SdPlatformRequestDocumentCreate } body
|
|
33
|
+
* @returns - {@link SdPlatformPostResponse} with {@link SdPlatformResponseDomainAdmin} data
|
|
34
34
|
*/
|
|
35
35
|
create(body: SdPlatformRequestDocumentCreate): Promise<SdPlatformPostResponse<SdPlatformResponseDomainAdmin>>;
|
|
36
36
|
/**
|
|
37
37
|
* Query documents.
|
|
38
|
-
* @param { SdPlatformDocumentQueryParameters
|
|
39
|
-
* @returns {
|
|
38
|
+
* @param query - {@link SdPlatformDocumentQueryParameters} query parameters.
|
|
39
|
+
* @returns - the {@link SdPlatformQueryResponse} query response with array of {@link SdPlatformResponseDocument} as data.
|
|
40
40
|
*/
|
|
41
41
|
query(query?: SdPlatformDocumentQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseDocument>>;
|
|
42
42
|
/**
|
|
@@ -46,7 +46,7 @@ export declare class SdPlatformDocumentApi extends ResourcesApi {
|
|
|
46
46
|
delete(id: string): Promise<SdPlatformDeleteResponse>;
|
|
47
47
|
/**
|
|
48
48
|
* Get a list of documents which are relevant to the requesting user.
|
|
49
|
-
* @param
|
|
49
|
+
* @param query_parameters - optional, {@link SdPlatformDocumentGetQueryParameters}
|
|
50
50
|
* @returns { Promise<SdPlatformGetResponse<Array<SdPlatformResponseDocumentUser>>> }
|
|
51
51
|
*/
|
|
52
52
|
list(query_parameters?: SdPlatformDocumentGetQueryParameters): Promise<SdPlatformGetResponse<Array<SdPlatformResponseDocumentUser>>>;
|
|
@@ -16,8 +16,8 @@ export declare class SdPlatformDomainApi extends ResourcesApi {
|
|
|
16
16
|
/**
|
|
17
17
|
* Get a domain by id.
|
|
18
18
|
* @param id
|
|
19
|
-
* @param embed
|
|
20
|
-
* @returns
|
|
19
|
+
* @param embed - array of {@link SdPlatformDomainGetEmbeddableFields}
|
|
20
|
+
* @returns - {@link SdPlatformGetResponse} with {@link SdPlatformResponseDomain} as result.
|
|
21
21
|
*/
|
|
22
22
|
get(id: string, embed?: Array<SdPlatformDomainGetEmbeddableFields>): Promise<SdPlatformGetResponse<SdPlatformResponseDomain | SdPlatformResponseDomainAdmin>>;
|
|
23
23
|
/**
|
|
@@ -27,13 +27,15 @@ export declare class SdPlatformDomainApi extends ResourcesApi {
|
|
|
27
27
|
*/
|
|
28
28
|
query(query?: SdPlatformDomainQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseDomain | SdPlatformResponseDomainAdmin>>;
|
|
29
29
|
/**
|
|
30
|
-
* Create a domain.
|
|
30
|
+
* Create a new domain.
|
|
31
|
+
* @param body - {@link SdPlatformRequestDomainCreate} as request body.
|
|
32
|
+
* @returns - new domain.
|
|
31
33
|
*/
|
|
32
34
|
create(body: SdPlatformRequestDomainCreate): Promise<SdPlatformPostResponse<SdPlatformResponseDomainAdmin>>;
|
|
33
35
|
/**
|
|
34
36
|
* Patch a domain.
|
|
35
37
|
* @param id - the id of a domain
|
|
36
|
-
* @param body - properties to patch
|
|
38
|
+
* @param body - {@link SdPlatformRequestDomainPatch} as properties to patch.
|
|
37
39
|
*/
|
|
38
40
|
patch(id: string, body: SdPlatformRequestDomainPatch): Promise<SdPlatformPatchResponse<SdPlatformResponseDomainAdmin>>;
|
|
39
41
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdPlatformDomainApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformDomainApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAC,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,6BAA6B,EAAE,4BAA4B,EAAE,wBAAwB,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAC3K,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAG1M,oBAAY,mCAAmC;IAE3C,MAAM,WAAW;CACpB;AAED,oBAAY,qCAAqC;IAE7C,WAAW,iBAAiB;CAC/B;AAED,oBAAY,+BAA+B,GAAG,yBAAyB,CAAC,qCAAqC,CAAC,CAAC;AAE/G;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,YAAY;IAEjD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;;OAKG;IACI,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,GAAE,KAAK,CAA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AKlH;;;;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"}
|
|
@@ -9,7 +9,8 @@ export declare class SdPlatformHttpLogApi extends ResourcesApi {
|
|
|
9
9
|
protected get __resourcePath(): string;
|
|
10
10
|
/**
|
|
11
11
|
* Query HTTP logs.
|
|
12
|
-
* @param body
|
|
12
|
+
* @param body - the body of a request.
|
|
13
|
+
* @returns - http logs.
|
|
13
14
|
*/
|
|
14
15
|
query(body?: SdPlatformHttpLogQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseHttpLog>>;
|
|
15
16
|
}
|
|
@@ -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,10 +1,16 @@
|
|
|
1
1
|
import { SdPlatformResponseImage, SdPlatformResponseImageAdmin, SdPlatformResponseImagePublic, SdPlatformRequestImageCreate } from "@shapediver/api.platform-api-dto-v1";
|
|
2
2
|
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
3
3
|
import { SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformQueryParameters, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
+
/**
|
|
5
|
+
* Platform image emedabble fields.
|
|
6
|
+
*/
|
|
4
7
|
export declare enum SdPlatformImageQueryEmbeddableFields {
|
|
5
8
|
User = "user",
|
|
6
9
|
Models = "models"
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* Platform query image parameters.
|
|
13
|
+
*/
|
|
8
14
|
export declare type SdPlatformImageQueryParameters = SdPlatformQueryParameters<SdPlatformImageQueryEmbeddableFields>;
|
|
9
15
|
/**
|
|
10
16
|
* Operations for images which can be attached to models.
|
|
@@ -13,19 +19,21 @@ export declare class SdPlatformImageApi extends ResourcesApi {
|
|
|
13
19
|
protected get __resourcePath(): string;
|
|
14
20
|
/**
|
|
15
21
|
* Get image by id
|
|
16
|
-
* @param id
|
|
17
|
-
* @param embed
|
|
18
|
-
* @returns
|
|
22
|
+
* @param id - the id of an image.
|
|
23
|
+
* @param embed - array of {@link SdPlatformImageQueryEmbeddableFields} fields to embed.
|
|
24
|
+
* @returns image
|
|
19
25
|
*/
|
|
20
26
|
get(id: string, embed?: Array<SdPlatformImageQueryEmbeddableFields>): Promise<SdPlatformGetResponse<SdPlatformResponseImageAdmin | SdPlatformResponseImage | SdPlatformResponseImagePublic>>;
|
|
21
27
|
/**
|
|
22
28
|
* Queries images
|
|
23
|
-
* @param body
|
|
29
|
+
* @param body - {@link SdPlatformImageQueryParameters} as body.
|
|
30
|
+
*
|
|
31
|
+
* @remarks body is optional.
|
|
24
32
|
*/
|
|
25
33
|
query(body?: SdPlatformImageQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseImageAdmin | SdPlatformResponseImage | SdPlatformResponseImagePublic>>;
|
|
26
34
|
/**
|
|
27
35
|
* Create an image
|
|
28
|
-
* @param body
|
|
36
|
+
* @param body {@link SdPlatformRequestImageCreate}
|
|
29
37
|
*/
|
|
30
38
|
create(body: SdPlatformRequestImageCreate): Promise<SdPlatformPostResponse<SdPlatformResponseImage>>;
|
|
31
39
|
/**
|
|
@@ -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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I/D"}
|
|
@@ -33,44 +33,46 @@ export declare class SdPlatformModelApi extends ResourcesApi {
|
|
|
33
33
|
protected get __resourcePath(): string;
|
|
34
34
|
/**
|
|
35
35
|
* Get model by id, guid, slug, or link_sharing_slug.
|
|
36
|
-
* @param
|
|
37
|
-
* @param {
|
|
38
|
-
* @returns
|
|
36
|
+
* @param id - the model id.
|
|
37
|
+
* @param embed array of {@link SdPlatformModelGetEmbeddableFields} embeddable properties.
|
|
38
|
+
* @returns get response with a model.
|
|
39
39
|
*/
|
|
40
40
|
get<T = SdPlatformResponseModelPublic>(id: string, embed?: Array<SdPlatformModelGetEmbeddableFields>): Promise<SdPlatformGetResponse<T>>;
|
|
41
41
|
/**
|
|
42
42
|
* Queries the models.
|
|
43
|
-
* @param { SdPlatformModelQueryParameters
|
|
44
|
-
* @returns {
|
|
43
|
+
* @param query {@link SdPlatformModelQueryParameters}
|
|
44
|
+
* @returns the {@link SdPlatformQueryResponse} response with one of {@link SdPlatformResponseModelPublic} as result.
|
|
45
45
|
*/
|
|
46
46
|
query<T = SdPlatformResponseModelPublic>(query?: SdPlatformModelQueryParameters): Promise<SdPlatformQueryResponse<T>>;
|
|
47
47
|
/**
|
|
48
48
|
* Create a model.
|
|
49
|
-
* @param { SdPlatformRequestModelCreate
|
|
50
|
-
* @returns {
|
|
49
|
+
* @param body {@link SdPlatformRequestModelCreate} the parameters of a model.
|
|
50
|
+
* @returns the {@link SdPlatformPostResponse} response with {@link SdPlatformResponseModelOwner} as result.
|
|
51
51
|
*/
|
|
52
52
|
create<T = SdPlatformResponseModelOwner>(body?: SdPlatformRequestModelCreate): Promise<SdPlatformPostResponse<T>>;
|
|
53
53
|
/**
|
|
54
54
|
* Patch a model, e.g. to update its status to "done" after successful upload and model checking
|
|
55
|
-
* @param
|
|
56
|
-
* @param {
|
|
55
|
+
* @param id - the model id.
|
|
56
|
+
* @param params {@link SdPlatformRequestModelPatch} or {@link SdPlatformRequestModelPatchAdmin} as patch paramaters
|
|
57
57
|
* @returns { Promise<SdPlatformPatchResponse<T>> }
|
|
58
58
|
*/
|
|
59
59
|
patch<T = SdPlatformResponseModelOwner>(id: string, params: SdPlatformRequestModelPatch | SdPlatformRequestModelPatchAdmin): Promise<SdPlatformPatchResponse<T>>;
|
|
60
60
|
/**
|
|
61
61
|
* Deletes a model.
|
|
62
|
-
* @param
|
|
63
|
-
* @returns {
|
|
62
|
+
* @param id - the model id.
|
|
63
|
+
* @returns the {@link SdPlatformDeleteResponse} response.
|
|
64
64
|
*/
|
|
65
65
|
delete(id: string): Promise<SdPlatformDeleteResponse>;
|
|
66
66
|
/**
|
|
67
67
|
* Decrypt a ticket, the calling user must have permission "decrypt_ticket" for the model identified by the ticket.
|
|
68
|
-
* @param
|
|
69
|
-
* @returns
|
|
68
|
+
* @param ticket
|
|
69
|
+
* @returns decrypted ticket result {@link SdPlatformResponseDecryptTicketResult}
|
|
70
70
|
*/
|
|
71
71
|
decryptTicket(ticket: string): Promise<SdPlatformPostResponse<SdPlatformResponseDecryptTicketResult>>;
|
|
72
72
|
/**
|
|
73
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.
|
|
74
76
|
*/
|
|
75
77
|
iframeEmbedding(slug: string): Promise<SdPlatformPostResponse<SdPlatformResponseIFrameData>>;
|
|
76
78
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdPlatformModelApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformModelApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,4BAA4B,EAAE,2BAA2B,EAAE,gCAAgC,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,qCAAqC,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAA;AACnR,OAAO,EA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AEG;AACH,qBAAa,kBAAmB,SAAQ,YAAY;IAEhD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;;OAKG;IACI,GAAG,CAAC,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"}
|
|
@@ -13,40 +13,41 @@ export declare class SdPlatformModelSharingApi extends ResourcesApi {
|
|
|
13
13
|
protected get __resourcePath(): string;
|
|
14
14
|
/**
|
|
15
15
|
* Create a model sharing relationship.
|
|
16
|
-
* @param body
|
|
17
|
-
* @returns
|
|
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
18
|
*/
|
|
19
19
|
create(body: SdPlatformRequestModelSharingCreate): Promise<SdPlatformPostResponse<SdPlatformResponseModelSharing>>;
|
|
20
20
|
/**
|
|
21
21
|
* Create multiple sharings.
|
|
22
|
-
* @param { SdPlatformRequestModelSharingCreateMultiple
|
|
23
|
-
* @returns {
|
|
22
|
+
* @param body {@link SdPlatformRequestModelSharingCreateMultiple}
|
|
23
|
+
* @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponseModelSharing} as result.
|
|
24
24
|
*/
|
|
25
25
|
createMultiple(body: SdPlatformRequestModelSharingCreateMultiple): Promise<SdPlatformPostResponse<Array<SdPlatformResponseModelSharing>>>;
|
|
26
26
|
/**
|
|
27
27
|
* Query model sharing relationships.
|
|
28
|
-
* @param query
|
|
29
|
-
* @returns
|
|
28
|
+
* @param query {@link SdPlatformModelSharingQueryParameters}
|
|
29
|
+
* @returns the {@link SdPlatformQueryResponse} response with {@see SdPlatformResponseModelSharing} as data result.
|
|
30
30
|
*/
|
|
31
31
|
query(query?: SdPlatformModelSharingQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseModelSharing>>;
|
|
32
32
|
/**
|
|
33
33
|
* Query model sharing relationships by model id.
|
|
34
34
|
* @param model_id
|
|
35
|
-
* @param query
|
|
36
|
-
* @returns
|
|
35
|
+
* @param query {@link SdPlatformModelSharingQueryParameters}
|
|
36
|
+
* @returns the {@link SdPlatformQueryResponse} response with {@see SdPlatformResponseModelSharing} as data result.
|
|
37
37
|
*/
|
|
38
38
|
queryByModel(model_id: string, query?: SdPlatformModelSharingQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseModelSharing>>;
|
|
39
39
|
/**
|
|
40
40
|
* Query model sharing relationships by user id.
|
|
41
41
|
* @param user_id
|
|
42
|
-
* @param query
|
|
42
|
+
* @param query {@link SdPlatformModelSharingQueryParameters}
|
|
43
|
+
* @returns the {@link SdPlatformQueryResponse} response with {@see SdPlatformResponseModelSharing} as data result.
|
|
43
44
|
*/
|
|
44
45
|
queryByUser(user_id: string, query?: SdPlatformModelSharingQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseModelSharing>>;
|
|
45
46
|
/**
|
|
46
47
|
* Get model sharing relationships by model id and user id.
|
|
47
48
|
* @param model_id
|
|
48
49
|
* @param user_id
|
|
49
|
-
* @returns
|
|
50
|
+
* @returns the {@link SdPlatformGetResponse} response with {@see SdPlatformResponseModelSharing} as data result.
|
|
50
51
|
*/
|
|
51
52
|
getByModelAndUser(model_id: string, user_id: string): Promise<SdPlatformGetResponse<Array<SdPlatformResponseModelSharing>>>;
|
|
52
53
|
/**
|
|
@@ -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,CAA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M,EAAE,KAAK,GAAE,qCAA0C,GAAG,OAAO,CAAC,uBAAuB,CAAC,8BAA8B,CAAC,CAAC;IAK1J;;;;;OAKG;IACI,WAAW,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"}
|
|
@@ -6,6 +6,11 @@ import { SdPlatformPostResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class SdPlatformModelTokenApi extends ResourcesApi {
|
|
8
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
|
+
*/
|
|
9
14
|
create(body: SdPlatformRequestModelTokenCreate): Promise<SdPlatformPostResponse<SdPlatformResponseModelToken>>;
|
|
10
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"}
|
|
@@ -15,7 +15,7 @@ export declare class SdPlatformModelTransferApi extends ResourcesApi {
|
|
|
15
15
|
* Creates a model transfer request. The calling user must have permission "update_owner" for the model.
|
|
16
16
|
* In case the receiving user immediately accepts the transfer request, no notification will be returned.
|
|
17
17
|
* @param model_id
|
|
18
|
-
* @param body
|
|
18
|
+
* @param body {@link SdPlatformRequestModelTransferCreate}
|
|
19
19
|
* @returns
|
|
20
20
|
*/
|
|
21
21
|
createModelTransferRequest(model_id: string, body: SdPlatformRequestModelTransferCreate): Promise<SdPlatformPostResponse<SdPlatformResponseNotification | undefined>>;
|
|
@@ -21,45 +21,45 @@ export declare class SdPlatformNotificationApi extends ResourcesApi {
|
|
|
21
21
|
protected get __resourcePath(): string;
|
|
22
22
|
/**
|
|
23
23
|
* Query the notifications.
|
|
24
|
-
* @param { SdPlatformNotificationQueryParameters
|
|
25
|
-
* @returns {
|
|
24
|
+
* @param body {@link SdPlatformNotificationQueryParameters} notifications query body.
|
|
25
|
+
* @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponseNotification} as data result.
|
|
26
26
|
*/
|
|
27
27
|
query(body?: SdPlatformNotificationQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseNotification>>;
|
|
28
28
|
/**
|
|
29
29
|
* Creates the notification.
|
|
30
|
-
* @param {
|
|
31
|
-
* @returns {
|
|
30
|
+
* @param body {@link SdPlatformRequestNotificationCreate}
|
|
31
|
+
* @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponseNotification} as result.
|
|
32
32
|
*/
|
|
33
33
|
create(body: SdPlatformRequestNotificationCreate): Promise<SdPlatformPostResponse<SdPlatformResponseNotification>>;
|
|
34
34
|
/**
|
|
35
35
|
* Updates the notification-
|
|
36
|
-
* @param
|
|
37
|
-
* @param { SdPlatformRequestNotificationPatch
|
|
38
|
-
* @returns {
|
|
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
39
|
*/
|
|
40
40
|
patch(id: string, body: SdPlatformRequestNotificationPatch): Promise<SdPlatformPatchResponse<SdPlatformResponseNotification>>;
|
|
41
41
|
/**
|
|
42
42
|
* Deletes the notification.
|
|
43
|
-
* @param
|
|
44
|
-
* @returns {
|
|
43
|
+
* @param id - the id of a notification.
|
|
44
|
+
* @returns the {@link SdPlatformDeleteResponse}
|
|
45
45
|
*/
|
|
46
46
|
delete(id: string): Promise<SdPlatformDeleteResponse>;
|
|
47
47
|
/**
|
|
48
48
|
* Gets the summary of notifications.
|
|
49
49
|
* Gives information about total number of notifications and unread number of notifications.
|
|
50
|
-
* @param
|
|
51
|
-
* @returns {
|
|
50
|
+
* @param embed - array of {@link SdPlatformNotificationSummaryEmbeddableFields} embed properties.
|
|
51
|
+
* @returns the {@link SdPlatformGetResponse} response with {@link SdPlatformResponseNotificationSummary} as data.
|
|
52
52
|
*/
|
|
53
53
|
summary(embed: Array<SdPlatformNotificationSummaryEmbeddableFields>): Promise<SdPlatformGetResponse<SdPlatformResponseNotificationSummary>>;
|
|
54
54
|
/**
|
|
55
55
|
* Gets the notification by id.
|
|
56
|
-
* @param
|
|
57
|
-
* @returns {
|
|
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
58
|
*/
|
|
59
59
|
get<T = SdPlatformResponseNotification>(id: string): Promise<SdPlatformGetResponse<T>>;
|
|
60
60
|
/**
|
|
61
61
|
* Marks all notifications of signed in user as read.
|
|
62
|
-
* @returns {
|
|
62
|
+
* @returns the {@link SdPlatformPostResponse} response.
|
|
63
63
|
*/
|
|
64
64
|
markAllAsRead(): Promise<SdPlatformPostResponse<void>>;
|
|
65
65
|
}
|
|
@@ -8,8 +8,8 @@ export declare class SdPlatformOrganizationAnalyticsApi extends ResourcesApi {
|
|
|
8
8
|
protected get __resourcePath(): string;
|
|
9
9
|
/**
|
|
10
10
|
* Query session analytics aggregated per user.
|
|
11
|
-
* @param { SdPlatformQueryParameters
|
|
12
|
-
* @returns {
|
|
11
|
+
* @param body - {@link SdPlatformQueryParameters} query body.
|
|
12
|
+
* @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponseOrganizationModelSessionAnalyticsPerTimestamp} as query data response.
|
|
13
13
|
*/
|
|
14
14
|
query(body?: SdPlatformQueryParameters<unknown>): Promise<SdPlatformQueryResponse<SdPlatformResponseOrganizationModelSessionAnalyticsPerTimestamp>>;
|
|
15
15
|
}
|