@shapediver/sdk.platform-api-sdk-v1 2.11.8 → 2.12.2
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/SdPlatformSdk.d.ts +6 -0
- package/dist/SdPlatformSdk.d.ts.map +1 -1
- package/dist/api/SdPlatformRequestId.d.ts +6 -0
- package/dist/api/SdPlatformRequestId.d.ts.map +1 -1
- package/dist/bundle.js +349 -254
- package/dist/bundle.node.js +399 -304
- package/dist/resources/SdPlatformApiClientsApi.d.ts +17 -0
- package/dist/resources/SdPlatformApiClientsApi.d.ts.map +1 -0
- package/dist/resources/SdPlatformUserApi.d.ts +14 -1
- package/dist/resources/SdPlatformUserApi.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +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
|
+
}
|
|
17
|
+
//# sourceMappingURL=SdPlatformApiClientsApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SdPlatformApiClientsApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformApiClientsApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAmM,2BAA2B,EAAE,gCAAgC,EAAE,+BAA+B,EAAE,MAAM,qCAAqC,CAAA;AACrV,OAAO,EAAE,yBAAyB,EAAyB,uBAAuB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAE1M,oBAAY,yCAAyC;CACnD;AAGF,oBAAY,mCAAmC,GAAG,yBAAyB,CAAC,yCAAyC,CAAC,CAAC;AAEvH;;GAEG;AACH,qBAAa,uBAAwB,SAAQ,YAAY;IAErD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAIM,KAAK,CAAC,KAAK,GAAE,mCAAwC,GAAG,OAAO,CAAC,uBAAuB,CAAC,2BAA2B,CAAC,CAAC;IAKrH,MAAM,CAAC,IAAI,EAAE,gCAAgC,GAAG,OAAO,CAAC,sBAAsB,CAAC,2BAA2B,CAAC,CAAC;IAK5G,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,+BAA+B,GAAI,OAAO,CAAC,uBAAuB,CAAC,2BAA2B,CAAC,CAAC;IAKxH,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;CAM/D"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SdPlatformRequestUserPatchAdmin, SdPlatformRequestUserPasswordResetConfirm, SdPlatformRequestUserPatch, SdPlatformRequestUserRegister, SdPlatformResponseUserSelf, SdPlatformResponseUserMinimal } from "@shapediver/api.platform-api-dto-v1";
|
|
1
|
+
import { SdPlatformRequestUserPatchAdmin, SdPlatformRequestUserPasswordResetConfirm, SdPlatformRequestUserPatch, SdPlatformRequestUserRegister, SdPlatformResponseUserSelf, SdPlatformResponseUserMinimal, SdPlatformResponseUserRefreshToken } from "@shapediver/api.platform-api-dto-v1";
|
|
2
2
|
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
3
3
|
import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
4
4
|
export declare enum SdPlatformUserQueryEmbeddableFields {
|
|
@@ -70,5 +70,18 @@ export declare class SdPlatformUserApi extends ResourcesApi {
|
|
|
70
70
|
* @param body
|
|
71
71
|
*/
|
|
72
72
|
passwordResetConfirm(body: SdPlatformRequestUserPasswordResetConfirm): Promise<SdPlatformPostResponse<void>>;
|
|
73
|
+
/**
|
|
74
|
+
* Returns an array of data about authorized client applications and their refresh tokens.
|
|
75
|
+
* @param {string } user_id
|
|
76
|
+
* @returns { Promise<SdPlatformGetResponse<Array<SdPlatformResponseUserRefreshToken>> }
|
|
77
|
+
*/
|
|
78
|
+
getUserRefreshTokens(user_id: string): Promise<SdPlatformGetResponse<Array<SdPlatformResponseUserRefreshToken>>>;
|
|
79
|
+
/**
|
|
80
|
+
* Delete refresh token.
|
|
81
|
+
* @param { string } user_id
|
|
82
|
+
* @param { string } refresh_token_id
|
|
83
|
+
* @returns { Promise<SdPlatformDeleteResponse> }
|
|
84
|
+
*/
|
|
85
|
+
deleteRefreshToken(user_id: string, refresh_token_id: string): Promise<SdPlatformDeleteResponse>;
|
|
73
86
|
}
|
|
74
87
|
//# sourceMappingURL=SdPlatformUserApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdPlatformUserApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformUserApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,yCAAyC,EAAE,0BAA0B,EAAE,6BAA6B,EAAE,0BAA0B,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"SdPlatformUserApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformUserApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,yCAAyC,EAAE,0BAA0B,EAAE,6BAA6B,EAAE,0BAA0B,EAAE,6BAA6B,EAAG,kCAAkC,EAAE,MAAM,qCAAqC,CAAC;AAE5R,OAAO,EAAU,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAE1M,oBAAY,mCAAmC;IAE3C,aAAa,mBAAmB;IAChC,eAAe,qBAAqB;IACpC,iBAAiB,uBAAuB;IACxC,aAAa,mBAAmB;IAChC,qBAAqB,2BAA2B;IAChD,mBAAmB,yBAAyB;IAC5C,YAAY,iBAAiB;CAChC;AAED,oBAAY,iCAAiC;IAEzC,aAAa,mBAAmB;IAChC,eAAe,qBAAqB;IACpC,iBAAiB,uBAAuB;IACxC,aAAa,mBAAmB;IAChC,qBAAqB,2BAA2B;IAChD,mBAAmB,yBAAyB;IAC5C,YAAY,iBAAiB;IAC7B,WAAW,iBAAiB;CAC/B;AAED,oBAAY,6BAA6B,GAAG,yBAAyB,CAAC,mCAAmC,CAAC,CAAC;AAE3G;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,YAAY;IAE/C,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;OAIG;IACI,GAAG,CAAC,CAAC,GAAG,6BAA6B,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,K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
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.2",
|
|
4
4
|
"description": "SDK to communicate with the Platform API version 1",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shapediver",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"build-prod": "bash ../../scripts/build-prod.sh"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@shapediver/api.platform-api-dto-v1": "^2.
|
|
42
|
+
"@shapediver/api.platform-api-dto-v1": "^2.12.2",
|
|
43
43
|
"@types/q": "^1.5.5",
|
|
44
44
|
"axios": "^0.26.1",
|
|
45
45
|
"dotenv": "^16.0.0",
|