@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
|
@@ -20,24 +20,27 @@ export declare class SdPlatformOrganizationApi extends ResourcesApi {
|
|
|
20
20
|
/**
|
|
21
21
|
* Get organization by id.
|
|
22
22
|
* @param id - organization id.
|
|
23
|
-
* @param embed
|
|
23
|
+
* @param embed array of {@link SdPlatformOrganizationEmbeddableFields} embeddable resources.
|
|
24
|
+
* @returns the {@link SdPlatformGetResponse} response with {@link SdPlatformResponseOrganizationPublic} or derived interfaces as result.
|
|
24
25
|
*/
|
|
25
26
|
get<T = SdPlatformResponseOrganizationPublic>(id: string, embed?: Array<SdPlatformOrganizationEmbeddableFields>): Promise<SdPlatformGetResponse<T>>;
|
|
26
27
|
/**
|
|
27
28
|
* Query organizations.
|
|
28
|
-
* @param body
|
|
29
|
+
* @param body {@link SdPlatformOrganizationQueryParameters}
|
|
30
|
+
* @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponseOrganizationPublic} or one of it's derived interfaces as data result.
|
|
29
31
|
*/
|
|
30
32
|
query<T = SdPlatformResponseOrganizationPublic>(body?: SdPlatformOrganizationQueryParameters): Promise<SdPlatformQueryResponse<T>>;
|
|
31
33
|
/**
|
|
32
34
|
* Create an organization, and make the calling user owner of the organization. Will fail in case the user is member of an organization already.
|
|
33
|
-
* @param body
|
|
34
|
-
* @returns
|
|
35
|
+
* @param body {@see SdPlatformRequestOrganizationCreate}
|
|
36
|
+
* @returns the {@link SdPlatformPostResponse} with {@see SdPlatformResponseOrganizationOwner} as data.
|
|
35
37
|
*/
|
|
36
38
|
create(body: SdPlatformRequestOrganizationCreate): Promise<SdPlatformPostResponse<SdPlatformResponseOrganizationOwner>>;
|
|
37
39
|
/**
|
|
38
40
|
* Patch an organization.
|
|
39
41
|
* @param id - id of the organization
|
|
40
|
-
* @param body
|
|
42
|
+
* @param body {@link SdPlatformRequestOrganizationPatchAny} properties to patch
|
|
43
|
+
* @response the {@link SdPlatformPatchResponse} with {@link SdPlatformResponseOrganizationAdministrator} or one of it's derived interfaces as data.
|
|
41
44
|
*/
|
|
42
45
|
patch<T = SdPlatformResponseOrganizationAdministrator>(id: string, body: SdPlatformRequestOrganizationPatchAny): Promise<SdPlatformPatchResponse<T>>;
|
|
43
46
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdPlatformOrganizationApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformOrganizationApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAU,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,8BAA8B,EAAE,mCAAmC,EAAE,qCAAqC,EAAE,oCAAoC,EAAE,mCAAmC,EAAE,2CAA2C,EAAE,gCAAgC,EAAgC,MAAM,qCAAqC,CAAA;AACxV,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAE1M,oBAAY,sCAAsC;IAE9C,aAAa,kBAAkB;IAC/B,aAAa,mBAAmB;IAChC,OAAO,YAAY;IACnB,iBAAiB,uBAAuB;IACxC,qBAAqB,2BAA2B;IAChD,aAAa,mBAAmB;IAChC,eAAe,qBAAqB;IACpC,cAAc,oBAAoB;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}
|
|
@@ -11,33 +11,33 @@ export declare class SdPlatformPolicyApi extends ResourcesApi {
|
|
|
11
11
|
protected get __resourcePath(): string;
|
|
12
12
|
/**
|
|
13
13
|
* The platform policy api.
|
|
14
|
-
* @param { SdPlatformPolicyQueryParameters
|
|
15
|
-
* @returns {
|
|
14
|
+
* @param body {@see SdPlatformPolicyQueryParameters} query body.
|
|
15
|
+
* @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponsePolicy} as response.
|
|
16
16
|
*/
|
|
17
17
|
query(body?: SdPlatformPolicyQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponsePolicy>>;
|
|
18
18
|
/**
|
|
19
19
|
* Get information about a policy based on its id or alias
|
|
20
|
-
* @param
|
|
21
|
-
* @returns {
|
|
20
|
+
* @param id_or_alias - id or an alias.
|
|
21
|
+
* @returns the {@link SdPlatformGetResponse} with {@link SdPlatformResponsePolicy} as response.
|
|
22
22
|
*/
|
|
23
23
|
get(id_or_alias: string): Promise<SdPlatformGetResponse<SdPlatformResponsePolicy>>;
|
|
24
24
|
/**
|
|
25
25
|
* Creates a platform policy.
|
|
26
|
-
* @param { SdPlatformRequestPolicyCreate
|
|
27
|
-
* @returns {
|
|
26
|
+
* @param body {@link SdPlatformRequestPolicyCreate}
|
|
27
|
+
* @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponsePolicy} as response.
|
|
28
28
|
*/
|
|
29
29
|
create(body: SdPlatformRequestPolicyCreate): Promise<SdPlatformPostResponse<SdPlatformResponsePolicy>>;
|
|
30
30
|
/**
|
|
31
31
|
* Updates a platform policy.
|
|
32
|
-
* @param
|
|
33
|
-
* @param { SdPlatformRequestPolicyPatch}
|
|
34
|
-
* @returns {
|
|
32
|
+
* @param id - the policy id.
|
|
33
|
+
* @param body {@link SdPlatformRequestPolicyPatch} of patch request.
|
|
34
|
+
* @returns the {@link SdPlatformPatchResponse} with {@link SdPlatformResponsePolicy} as data parameter.
|
|
35
35
|
*/
|
|
36
36
|
patch(id: string, body: SdPlatformRequestPolicyPatch): Promise<SdPlatformPatchResponse<SdPlatformResponsePolicy>>;
|
|
37
37
|
/**
|
|
38
38
|
* Deletes the policy
|
|
39
|
-
* @param
|
|
40
|
-
* @returns {
|
|
39
|
+
* @param id - the policy id.
|
|
40
|
+
* @returns the {@link SdPlatformDeleteResponse}
|
|
41
41
|
*/
|
|
42
42
|
delete(id: string): Promise<SdPlatformDeleteResponse>;
|
|
43
43
|
}
|
|
@@ -18,34 +18,34 @@ export declare class SdPlatformSavedStateApi extends ResourcesApi {
|
|
|
18
18
|
protected get __resourcePath(): string;
|
|
19
19
|
/**
|
|
20
20
|
* Gets a saved state by id.
|
|
21
|
-
* @param
|
|
22
|
-
* @param {
|
|
23
|
-
* @returns {
|
|
21
|
+
* @param id - saved state id.
|
|
22
|
+
* @param embed the array of {@link SdPlatformSavedStateGetEmbedFields} embeddable fields.
|
|
23
|
+
* @returns - the {@link SdPlatformGetResponse} with {@see SdPlatformResponseSavedStatePublic} or one of it's derived classes as response.
|
|
24
24
|
*/
|
|
25
25
|
get<T = SdPlatformResponseSavedStatePublic>(id: string, embed?: Array<SdPlatformSavedStateGetEmbedFields>): Promise<SdPlatformGetResponse<T>>;
|
|
26
26
|
/**
|
|
27
27
|
* Create a new saved state.
|
|
28
|
-
* @param { SdPlatformRequestSavedStateCreate
|
|
29
|
-
* @returns {
|
|
28
|
+
* @param body {@link SdPlatformRequestSavedStateCreate} create saved state body.
|
|
29
|
+
* @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponseSavedStateOwner} or one of it's derived classes as data.
|
|
30
30
|
*/
|
|
31
31
|
create<T = SdPlatformResponseSavedStateOwner>(body: SdPlatformRequestSavedStateCreate): Promise<SdPlatformPostResponse<T>>;
|
|
32
32
|
/**
|
|
33
33
|
* Patch a saved state.
|
|
34
|
-
* @param
|
|
35
|
-
* @param { SdPlatformRequestSavedStatePatch
|
|
36
|
-
* @returns {
|
|
34
|
+
* @param id
|
|
35
|
+
* @param body {@link SdPlatformRequestSavedStatePatch} saved state patch body.
|
|
36
|
+
* @returns the {@link SdPlatformPatchResponse} with {@link SdPlatformResponseSavedStateOwner} or one of it's derived classes as result.
|
|
37
37
|
*/
|
|
38
38
|
patch<T = SdPlatformResponseSavedStateOwner>(id: string, body: SdPlatformRequestSavedStatePatch): Promise<SdPlatformPatchResponse<T>>;
|
|
39
39
|
/**
|
|
40
40
|
* Delete a saved state.
|
|
41
|
-
* @param
|
|
42
|
-
* @returns {
|
|
41
|
+
* @param id - the id of a saved state.
|
|
42
|
+
* @returns the {@link SdPlatformDeleteResponse} response.
|
|
43
43
|
*/
|
|
44
44
|
delete(id: string): Promise<SdPlatformDeleteResponse>;
|
|
45
45
|
/**
|
|
46
46
|
* Query saved states.
|
|
47
|
-
* @param { SdPlatformSavedStateApiQueryParameters
|
|
48
|
-
* @returns {
|
|
47
|
+
* @param params {@link SdPlatformSavedStateApiQueryParameters} query parameters.
|
|
48
|
+
* @returns the {@link SdPlatformQueryResponse} response with {@link SdPlatformResponseSavedStatePublic} or one of it's derived classes as response.
|
|
49
49
|
*/
|
|
50
50
|
query<T = SdPlatformResponseSavedStatePublic>(params?: SdPlatformSavedStateApiQueryParameters): Promise<SdPlatformQueryResponse<T>>;
|
|
51
51
|
}
|
|
@@ -14,53 +14,53 @@ export declare class SdPlatformSavedStateSharingApi extends ResourcesApi {
|
|
|
14
14
|
protected get __resourcePath(): string;
|
|
15
15
|
/**
|
|
16
16
|
* Create a saved state sharing relationship
|
|
17
|
-
* @param body
|
|
18
|
-
* @returns
|
|
17
|
+
* @param body {@link SdPlatformResponseSavedStateSharingCreate}
|
|
18
|
+
* @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponseSavedStateSharing} as response.
|
|
19
19
|
*/
|
|
20
20
|
create(body: SdPlatformResponseSavedStateSharingCreate): Promise<SdPlatformPostResponse<SdPlatformResponseSavedStateSharing>>;
|
|
21
21
|
/**
|
|
22
22
|
* Create multiple sharings.
|
|
23
|
-
* @param { SdPlatformRequestSavedStateSharingCreateMultiple
|
|
24
|
-
* @returns {
|
|
23
|
+
* @param body {@link SdPlatformRequestSavedStateSharingCreateMultiple}
|
|
24
|
+
* @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponseModelSharing} as data response.
|
|
25
25
|
*/
|
|
26
26
|
createMultiple(body: SdPlatformRequestSavedStateSharingCreateMultiple): Promise<SdPlatformPostResponse<Array<SdPlatformResponseSavedStateSharing>>>;
|
|
27
27
|
/**
|
|
28
28
|
* Delete a saved state.
|
|
29
29
|
* @param saved_state_sharing_id Id of the saved state sharing relationship to delete.
|
|
30
|
-
* @returns
|
|
30
|
+
* @returns the {@link SdPlatformDeleteResponse} as response.
|
|
31
31
|
*/
|
|
32
32
|
delete(saved_state_sharing_id: string): Promise<SdPlatformDeleteResponse>;
|
|
33
33
|
/**
|
|
34
34
|
* Get saved state sharing relationships by saved state id and user id.
|
|
35
35
|
* @param saved_state_id - saved state id.
|
|
36
36
|
* @param user_id - user id.
|
|
37
|
-
* @returns
|
|
37
|
+
* @returns the {@link SdPlatformGetResponse} with array of {@link SdPlatformResponseSavedStateSharing} as data.
|
|
38
38
|
*/
|
|
39
39
|
getBySavedStateAndUser(saved_state_id: string, user_id: string): Promise<SdPlatformGetResponse<Array<SdPlatformResponseSavedStateSharing>>>;
|
|
40
40
|
/**
|
|
41
41
|
* Query saved state sharing relationships.
|
|
42
|
-
* @param params
|
|
43
|
-
* @returns
|
|
42
|
+
* @param params {@link SdPlatformSavedStateSharingQueryParameters}
|
|
43
|
+
* @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponseSavedStateSharing} as data.
|
|
44
44
|
*/
|
|
45
45
|
query(query?: SdPlatformSavedStateSharingQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseSavedStateSharing>>;
|
|
46
46
|
/**
|
|
47
47
|
* Query saved state sharing relationships by saved state id.
|
|
48
48
|
* @param saved_state_id
|
|
49
|
-
* @param query
|
|
50
|
-
* @returns
|
|
49
|
+
* @param query {@link SdPlatformSavedStateSharingQueryParameters}
|
|
50
|
+
* @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponseSavedStateSharing} as data,
|
|
51
51
|
*/
|
|
52
52
|
queryBySavedState(saved_state_id: string, query?: SdPlatformSavedStateSharingQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseSavedStateSharing>>;
|
|
53
53
|
/**
|
|
54
54
|
* Query saved state sharing relationships by user id.
|
|
55
55
|
* @param user_id
|
|
56
|
-
* @param query
|
|
57
|
-
* @returns
|
|
56
|
+
* @param query {@link SdPlatformSavedStateSharingQueryParameters}
|
|
57
|
+
* @returns the {@link SdPlatformQueryResponse} with {@link SdPlatformResponseSavedStateSharing} as data,
|
|
58
58
|
*/
|
|
59
59
|
queryByUser(user_id: string, query?: SdPlatformSavedStateSharingQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseSavedStateSharing>>;
|
|
60
60
|
/**
|
|
61
61
|
* Gets the model sharings grouped by user.
|
|
62
62
|
* @param saved_state_id
|
|
63
|
-
* @returns
|
|
63
|
+
* @returns the {@link SdPlatformGetResponse} with {@link SdPlatformResponseSavedStateSharing} as data,
|
|
64
64
|
*/
|
|
65
65
|
getGroupedByUser(saved_state_id: string): Promise<SdPlatformGetResponse<Array<SdPlatformResponseSavedStateSharingGroupedByUser>>>;
|
|
66
66
|
}
|
|
@@ -10,7 +10,17 @@ export declare type SdPlatformTagQueryParameters = SdPlatformQueryParameters<SdP
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class SdPlatformTagApi extends ResourcesApi {
|
|
12
12
|
protected get __resourcePath(): string;
|
|
13
|
+
/**
|
|
14
|
+
* Gets the {@link SdPlatformResponseTag} by id.
|
|
15
|
+
* @param id - the id of a tag.
|
|
16
|
+
* @returns the {@link SdPlatformGetResponse} with {@link SdPlatformResponseTag} or {@link SdPlatformResponseTagAdmin} as data.
|
|
17
|
+
*/
|
|
13
18
|
get(id: string): Promise<SdPlatformGetResponse<SdPlatformResponseTag | SdPlatformResponseTagAdmin>>;
|
|
19
|
+
/**
|
|
20
|
+
* Queries the {@link SdPlatformResponseTag} tags.
|
|
21
|
+
* @param query {@link SdPlatformTagQueryParameters} - query parameters for tags.
|
|
22
|
+
* @returns collection of {@link SdPlatformResponseTag} based on query parameters.
|
|
23
|
+
*/
|
|
14
24
|
query(query?: SdPlatformTagQueryParameters): Promise<SdPlatformQueryResponse<SdPlatformResponseTag | SdPlatformResponseTagAdmin>>;
|
|
15
25
|
}
|
|
16
26
|
//# sourceMappingURL=SdPlatformTagApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdPlatformTagApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformTagApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAA;AACvG,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAA;AAE/H,oBAAY,kCAAkC;IAE1C,WAAW,iBAAiB;CAC/B;AAED,oBAAY,4BAA4B,GAAG,yBAAyB,CAAC,kCAAkC,CAAC,CAAC;AAEzG;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,YAAY;IAE9C,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;
|
|
1
|
+
{"version":3,"file":"SdPlatformTagApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformTagApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAA;AACvG,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAA;AAE/H,oBAAY,kCAAkC;IAE1C,WAAW,iBAAiB;CAC/B;AAED,oBAAY,4BAA4B,GAAG,yBAAyB,CAAC,kCAAkC,CAAC,CAAC;AAEzG;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,YAAY;IAE9C,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;OAIG;IACI,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,qBAAqB,GAAG,0BAA0B,CAAC,CAAC;IAK1G;;;;OAIG;IACI,KAAK,CAAC,KAAK,GAAE,4BAAiC,GAAG,OAAO,CAAC,uBAAuB,CAAC,qBAAqB,GAAG,0BAA0B,CAAC,CAAC;CAI/I"}
|
|
@@ -8,8 +8,8 @@ export declare class SdPlatformUserAnalyticsApi extends ResourcesApi {
|
|
|
8
8
|
protected get __resourcePath(): string;
|
|
9
9
|
/**
|
|
10
10
|
* Query session analytics aggregated per user.
|
|
11
|
-
* @param body
|
|
12
|
-
* @returns
|
|
11
|
+
* @param body the query parameters.
|
|
12
|
+
* @returns collection of {@link SdPlatformResponseUserModelSessionAnalyticsPerTimestamp} based on query parameters.
|
|
13
13
|
*/
|
|
14
14
|
query(body?: SdPlatformQueryParameters<unknown>): Promise<SdPlatformQueryResponse<SdPlatformResponseUserModelSessionAnalyticsPerTimestamp>>;
|
|
15
15
|
}
|
|
@@ -29,23 +29,23 @@ export declare class SdPlatformUserApi extends ResourcesApi {
|
|
|
29
29
|
/**
|
|
30
30
|
* Gets the specific user by id
|
|
31
31
|
* @param id - user id.
|
|
32
|
-
* @param embed
|
|
32
|
+
* @param embed array of {@link SdPlatformUserGetEmbeddableFields} embeddable resources.
|
|
33
33
|
*/
|
|
34
34
|
get<T = SdPlatformResponseUserMinimal>(id: string, embed?: Array<SdPlatformUserGetEmbeddableFields>): Promise<SdPlatformGetResponse<T>>;
|
|
35
35
|
/**
|
|
36
36
|
* Register a new user. If successful a registration confirmation email will be sent.
|
|
37
|
-
* @param body
|
|
37
|
+
* @param body {@link SdPlatformRequestUserRegister}
|
|
38
38
|
*/
|
|
39
39
|
register(body: SdPlatformRequestUserRegister): Promise<SdPlatformPostResponse<void>>;
|
|
40
40
|
/**
|
|
41
41
|
* Query users.
|
|
42
|
-
* @param body
|
|
42
|
+
* @param body {@link SdPlatformUserQueryParameters}
|
|
43
43
|
*/
|
|
44
44
|
query<T = SdPlatformResponseUserMinimal>(body?: SdPlatformUserQueryParameters): Promise<SdPlatformQueryResponse<T>>;
|
|
45
45
|
/**
|
|
46
46
|
* Patch a user.
|
|
47
47
|
* @param id - the id of a user
|
|
48
|
-
* @param body
|
|
48
|
+
* @param body {@link SdPlatformRequestUserPatch} properties to patch
|
|
49
49
|
*/
|
|
50
50
|
patch<T = SdPlatformResponseUserSelf>(id: string, body: SdPlatformRequestUserPatch | SdPlatformRequestUserPatchAdmin): Promise<SdPlatformPatchResponse<T>>;
|
|
51
51
|
/**
|
|
@@ -67,20 +67,20 @@ export declare class SdPlatformUserApi extends ResourcesApi {
|
|
|
67
67
|
passwordReset(email: string): Promise<SdPlatformPostResponse<void>>;
|
|
68
68
|
/**
|
|
69
69
|
* Change password using token
|
|
70
|
-
* @param body
|
|
70
|
+
* @param body {@see SdPlatformRequestUserPasswordResetConfirm}
|
|
71
71
|
*/
|
|
72
72
|
passwordResetConfirm(body: SdPlatformRequestUserPasswordResetConfirm): Promise<SdPlatformPostResponse<void>>;
|
|
73
73
|
/**
|
|
74
74
|
* Returns an array of data about authorized client applications and their refresh tokens.
|
|
75
|
-
* @param
|
|
76
|
-
* @returns {
|
|
75
|
+
* @param user_id
|
|
76
|
+
* @returns the {@link SdPlatformGetResponse} with array of {@link SdPlatformResponseUserRefreshToken} as data
|
|
77
77
|
*/
|
|
78
78
|
getUserRefreshTokens(user_id: string): Promise<SdPlatformGetResponse<Array<SdPlatformResponseUserRefreshToken>>>;
|
|
79
79
|
/**
|
|
80
80
|
* Delete refresh token.
|
|
81
|
-
* @param
|
|
82
|
-
* @param
|
|
83
|
-
* @returns {
|
|
81
|
+
* @param user_id
|
|
82
|
+
* @param refresh_token_id
|
|
83
|
+
* @returns the {@link SdPlatformDeleteResponse} response.
|
|
84
84
|
*/
|
|
85
85
|
deleteRefreshToken(user_id: string, refresh_token_id: string): Promise<SdPlatformDeleteResponse>;
|
|
86
86
|
}
|
|
@@ -30,22 +30,22 @@ export declare class SdPlatformWebhookApi {
|
|
|
30
30
|
}): SdPlatformSdkRequestConfig;
|
|
31
31
|
/**
|
|
32
32
|
* Webhook which notifies the platform of chargebee events.
|
|
33
|
-
* @param auth
|
|
34
|
-
* @param body
|
|
33
|
+
* @param auth {@link SdPlatformWebhookBasicAuth}
|
|
34
|
+
* @param body {@link SdPlatformRequestWebhookChargebeeEvent}
|
|
35
35
|
* @returns
|
|
36
36
|
*/
|
|
37
37
|
chargebeeEvent(auth: SdPlatformWebhookBasicAuth, body: SdPlatformRequestWebhookChargebeeEvent): Promise<SdPlatformPostResponse<void>>;
|
|
38
38
|
/**
|
|
39
39
|
* Model message webhook call - send a message to the owner of a model.
|
|
40
|
-
* @param auth
|
|
41
|
-
* @param body
|
|
40
|
+
* @param auth {@link SdPlatformWebhookTokenAuth}
|
|
41
|
+
* @param body {@link SdPlatformRequestWebhookModelMessage}
|
|
42
42
|
* @returns
|
|
43
43
|
*/
|
|
44
44
|
modelMessage(auth: SdPlatformWebhookTokenAuth, body: SdPlatformRequestWebhookModelMessage): Promise<SdPlatformPostResponse<void>>;
|
|
45
45
|
/**
|
|
46
46
|
* Notification webhook call - create a notification related to a model.
|
|
47
|
-
* @param auth
|
|
48
|
-
* @param body
|
|
47
|
+
* @param auth {@link SdPlatformWebhookTokenAuth}
|
|
48
|
+
* @param body {@link SdPlatformRequestWebhookNotification}
|
|
49
49
|
* @returns
|
|
50
50
|
*/
|
|
51
51
|
notification(auth: SdPlatformWebhookTokenAuth, body: SdPlatformRequestWebhookNotification): Promise<SdPlatformPostResponse<SdPlatformResponseNotification>>;
|