@shapediver/api.platform-api-dto-v1 2.14.2 → 2.14.5
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/README.md +14 -14
- package/dist/commons/SdPlatformApiTokenScopes.d.ts +173 -173
- package/dist/commons/SdPlatformApiTokenScopes.js +177 -177
- package/dist/commons/SdPlatformChargebee.d.ts +31 -31
- package/dist/commons/SdPlatformChargebee.js +2 -2
- package/dist/commons/SdPlatformModelCommons.d.ts +13 -13
- package/dist/commons/SdPlatformModelCommons.js +17 -17
- package/dist/commons/SdPlatformModelTokenScopes.d.ts +21 -21
- package/dist/commons/SdPlatformModelTokenScopes.js +25 -25
- package/dist/commons/SdPlatformNotificationCommons.d.ts +78 -78
- package/dist/commons/SdPlatformNotificationCommons.js +88 -88
- package/dist/commons/SdPlatformOrganizationCommons.d.ts +29 -29
- package/dist/commons/SdPlatformOrganizationCommons.js +33 -33
- package/dist/commons/SdPlatformPolicyCommons.d.ts +344 -344
- package/dist/commons/SdPlatformPolicyCommons.js +291 -291
- package/dist/commons/SdPlatformUsedCredits.d.ts +9 -9
- package/dist/commons/SdPlatformUsedCredits.js +2 -2
- package/dist/commons/SdPlatformVisibility.d.ts +76 -76
- package/dist/commons/SdPlatformVisibility.js +83 -83
- package/dist/index.d.ts +55 -55
- package/dist/index.js +71 -71
- package/dist/request/SdPlatformAuthRequest.d.ts +77 -77
- package/dist/request/SdPlatformAuthRequest.js +20 -20
- package/dist/request/SdPlatformBaseRequestTypes.d.ts +65 -65
- package/dist/request/SdPlatformBaseRequestTypes.js +14 -14
- package/dist/request/SdPlatformRequestApiClients.d.ts +68 -68
- package/dist/request/SdPlatformRequestApiClients.js +2 -2
- package/dist/request/SdPlatformRequestApiToken.d.ts +23 -23
- package/dist/request/SdPlatformRequestApiToken.js +2 -2
- package/dist/request/SdPlatformRequestBackendSystem.d.ts +73 -73
- package/dist/request/SdPlatformRequestBackendSystem.js +2 -2
- package/dist/request/SdPlatformRequestBookmark.d.ts +7 -7
- package/dist/request/SdPlatformRequestBookmark.js +2 -2
- package/dist/request/SdPlatformRequestChargebee.d.ts +39 -39
- package/dist/request/SdPlatformRequestChargebee.js +2 -2
- package/dist/request/SdPlatformRequestDocument.d.ts +46 -46
- package/dist/request/SdPlatformRequestDocument.js +2 -2
- package/dist/request/SdPlatformRequestDomain.d.ts +18 -18
- package/dist/request/SdPlatformRequestDomain.js +2 -2
- package/dist/request/SdPlatformRequestImage.d.ts +16 -16
- package/dist/request/SdPlatformRequestImage.js +2 -2
- package/dist/request/SdPlatformRequestModel.d.ts +102 -102
- package/dist/request/SdPlatformRequestModel.js +10 -10
- package/dist/request/SdPlatformRequestModelSharing.d.ts +34 -34
- package/dist/request/SdPlatformRequestModelSharing.js +2 -2
- package/dist/request/SdPlatformRequestModelToken.d.ts +22 -22
- package/dist/request/SdPlatformRequestModelToken.js +2 -2
- package/dist/request/SdPlatformRequestModelTransfer.d.ts +15 -15
- package/dist/request/SdPlatformRequestModelTransfer.js +2 -2
- package/dist/request/SdPlatformRequestNotification.d.ts +40 -40
- package/dist/request/SdPlatformRequestNotification.js +2 -2
- package/dist/request/SdPlatformRequestOpenIDProvider.d.ts +140 -140
- package/dist/request/SdPlatformRequestOpenIDProvider.js +2 -2
- package/dist/request/SdPlatformRequestOrganization.d.ts +117 -117
- package/dist/request/SdPlatformRequestOrganization.js +2 -2
- package/dist/request/SdPlatformRequestPolicy.d.ts +39 -39
- package/dist/request/SdPlatformRequestPolicy.js +2 -2
- package/dist/request/SdPlatformRequestSavedState.d.ts +80 -80
- package/dist/request/SdPlatformRequestSavedState.js +2 -2
- package/dist/request/SdPlatformRequestSavedStateSharing.d.ts +34 -34
- package/dist/request/SdPlatformRequestSavedStateSharing.js +2 -2
- package/dist/request/SdPlatformRequestUser.d.ts +209 -209
- package/dist/request/SdPlatformRequestUser.js +2 -2
- package/dist/request/SdPlatformRequestWebhook.d.ts +39 -39
- package/dist/request/SdPlatformRequestWebhook.js +2 -2
- package/dist/response/SdPlatformAuthResponse.d.ts +20 -20
- package/dist/response/SdPlatformAuthResponse.js +2 -2
- package/dist/response/SdPlatformBaseResponseTypes.d.ts +107 -107
- package/dist/response/SdPlatformBaseResponseTypes.js +2 -2
- package/dist/response/SdPlatformJobLogResponse.d.ts +26 -26
- package/dist/response/SdPlatformJobLogResponse.js +2 -2
- package/dist/response/SdPlatformResponseAnalytics.d.ts +173 -173
- package/dist/response/SdPlatformResponseAnalytics.js +11 -11
- package/dist/response/SdPlatformResponseApiClient.d.ts +41 -41
- package/dist/response/SdPlatformResponseApiClient.js +2 -2
- package/dist/response/SdPlatformResponseApiToken.d.ts +24 -24
- package/dist/response/SdPlatformResponseApiToken.js +2 -2
- package/dist/response/SdPlatformResponseBackendSystem.d.ts +55 -55
- package/dist/response/SdPlatformResponseBackendSystem.js +2 -2
- package/dist/response/SdPlatformResponseChargebee.d.ts +113 -113
- package/dist/response/SdPlatformResponseChargebee.js +29 -29
- package/dist/response/SdPlatformResponseDocument.d.ts +112 -112
- package/dist/response/SdPlatformResponseDocument.js +2 -2
- package/dist/response/SdPlatformResponseDomain.d.ts +25 -25
- package/dist/response/SdPlatformResponseDomain.js +2 -2
- package/dist/response/SdPlatformResponseFeatures.d.ts +57 -57
- package/dist/response/SdPlatformResponseFeatures.js +2 -2
- package/dist/response/SdPlatformResponseHttpLog.d.ts +43 -43
- package/dist/response/SdPlatformResponseHttpLog.js +2 -2
- package/dist/response/SdPlatformResponseImage.d.ts +34 -34
- package/dist/response/SdPlatformResponseImage.js +2 -2
- package/dist/response/SdPlatformResponseModel.d.ts +313 -313
- package/dist/response/SdPlatformResponseModel.js +53 -53
- package/dist/response/SdPlatformResponseModelSharing.d.ts +62 -62
- package/dist/response/SdPlatformResponseModelSharing.js +2 -2
- package/dist/response/SdPlatformResponseModelToken.d.ts +23 -23
- package/dist/response/SdPlatformResponseModelToken.js +2 -2
- package/dist/response/SdPlatformResponseNotification.d.ts +66 -66
- package/dist/response/SdPlatformResponseNotification.js +2 -2
- package/dist/response/SdPlatformResponseOpenIDProvider.d.ts +90 -90
- package/dist/response/SdPlatformResponseOpenIDProvider.js +2 -2
- package/dist/response/SdPlatformResponseOrganization.d.ts +133 -133
- package/dist/response/SdPlatformResponseOrganization.js +2 -2
- package/dist/response/SdPlatformResponsePolicy.d.ts +57 -57
- package/dist/response/SdPlatformResponsePolicy.js +2 -2
- package/dist/response/SdPlatformResponseSavedState.d.ts +107 -107
- package/dist/response/SdPlatformResponseSavedState.js +2 -2
- package/dist/response/SdPlatformResponseSavedStateSharing.d.ts +62 -62
- package/dist/response/SdPlatformResponseSavedStateSharing.js +2 -2
- package/dist/response/SdPlatformResponseTag.d.ts +34 -34
- package/dist/response/SdPlatformResponseTag.js +2 -2
- package/dist/response/SdPlatformResponseUser.d.ts +300 -300
- package/dist/response/SdPlatformResponseUser.js +2 -2
- package/dist/response/SdPlatformStargateResponse.d.ts +16 -0
- package/dist/response/SdPlatformStargateResponse.d.ts.map +1 -0
- package/dist/response/SdPlatformStargateResponse.js +3 -0
- package/dist/response/SdPlatformStargateResponse.js.map +1 -0
- package/package.json +8 -6
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OAuth 2.0 grant type
|
|
3
|
-
*/
|
|
4
|
-
export declare enum SdPlatformAuthGrantType {
|
|
5
|
-
Password = "password",
|
|
6
|
-
RefreshToken = "refresh_token",
|
|
7
|
-
Code = "authorization_code"
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* DTO for ShapeDiver Platform Authentication API (OAuth 2.0)
|
|
11
|
-
*/
|
|
12
|
-
export interface SdPlatformAuthRequest {
|
|
13
|
-
/**
|
|
14
|
-
* The grant type.
|
|
15
|
-
*/
|
|
16
|
-
grant_type: SdPlatformAuthGrantType;
|
|
17
|
-
/**
|
|
18
|
-
* The client id.
|
|
19
|
-
*/
|
|
20
|
-
client_id?: string | null;
|
|
21
|
-
/**
|
|
22
|
-
* The client secret.
|
|
23
|
-
*/
|
|
24
|
-
client_secret?: string | null;
|
|
25
|
-
/**
|
|
26
|
-
* The refresh token.
|
|
27
|
-
*/
|
|
28
|
-
refresh_token?: string | null;
|
|
29
|
-
/**
|
|
30
|
-
* The username.
|
|
31
|
-
*/
|
|
32
|
-
username?: string | null;
|
|
33
|
-
/**
|
|
34
|
-
* The password.
|
|
35
|
-
*/
|
|
36
|
-
password?: string | null;
|
|
37
|
-
/**
|
|
38
|
-
* The code.
|
|
39
|
-
*/
|
|
40
|
-
code?: string | null;
|
|
41
|
-
/**
|
|
42
|
-
* The state.
|
|
43
|
-
*/
|
|
44
|
-
state?: string | null;
|
|
45
|
-
}
|
|
46
|
-
export declare enum SdPlatformRequestAuthorizationCodeResponseType {
|
|
47
|
-
Code = "code"
|
|
48
|
-
}
|
|
49
|
-
export declare enum SdPlatformRequestAuthorizationCodeCodeChallengeMethod {
|
|
50
|
-
S256 = "S256"
|
|
51
|
-
}
|
|
52
|
-
export interface SdPlatformRequestAuthorizationCode {
|
|
53
|
-
/**
|
|
54
|
-
* The uri to be verified.
|
|
55
|
-
*/
|
|
56
|
-
redirect_uri: string;
|
|
57
|
-
/**
|
|
58
|
-
* Must be present.
|
|
59
|
-
*/
|
|
60
|
-
state: string;
|
|
61
|
-
/**
|
|
62
|
-
* Must be present and must be 'code'.
|
|
63
|
-
*/
|
|
64
|
-
response_type: SdPlatformRequestAuthorizationCodeResponseType;
|
|
65
|
-
/**
|
|
66
|
-
* Must be present.
|
|
67
|
-
*/
|
|
68
|
-
code_challenge: string;
|
|
69
|
-
/**
|
|
70
|
-
* Must be 'S256'.
|
|
71
|
-
*/
|
|
72
|
-
code_challenge_method: SdPlatformRequestAuthorizationCodeCodeChallengeMethod;
|
|
73
|
-
/**
|
|
74
|
-
* Must be present.
|
|
75
|
-
*/
|
|
76
|
-
client_id: string;
|
|
77
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* OAuth 2.0 grant type
|
|
3
|
+
*/
|
|
4
|
+
export declare enum SdPlatformAuthGrantType {
|
|
5
|
+
Password = "password",
|
|
6
|
+
RefreshToken = "refresh_token",
|
|
7
|
+
Code = "authorization_code"
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* DTO for ShapeDiver Platform Authentication API (OAuth 2.0)
|
|
11
|
+
*/
|
|
12
|
+
export interface SdPlatformAuthRequest {
|
|
13
|
+
/**
|
|
14
|
+
* The grant type.
|
|
15
|
+
*/
|
|
16
|
+
grant_type: SdPlatformAuthGrantType;
|
|
17
|
+
/**
|
|
18
|
+
* The client id.
|
|
19
|
+
*/
|
|
20
|
+
client_id?: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* The client secret.
|
|
23
|
+
*/
|
|
24
|
+
client_secret?: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* The refresh token.
|
|
27
|
+
*/
|
|
28
|
+
refresh_token?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* The username.
|
|
31
|
+
*/
|
|
32
|
+
username?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
* The password.
|
|
35
|
+
*/
|
|
36
|
+
password?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* The code.
|
|
39
|
+
*/
|
|
40
|
+
code?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* The state.
|
|
43
|
+
*/
|
|
44
|
+
state?: string | null;
|
|
45
|
+
}
|
|
46
|
+
export declare enum SdPlatformRequestAuthorizationCodeResponseType {
|
|
47
|
+
Code = "code"
|
|
48
|
+
}
|
|
49
|
+
export declare enum SdPlatformRequestAuthorizationCodeCodeChallengeMethod {
|
|
50
|
+
S256 = "S256"
|
|
51
|
+
}
|
|
52
|
+
export interface SdPlatformRequestAuthorizationCode {
|
|
53
|
+
/**
|
|
54
|
+
* The uri to be verified.
|
|
55
|
+
*/
|
|
56
|
+
redirect_uri: string;
|
|
57
|
+
/**
|
|
58
|
+
* Must be present.
|
|
59
|
+
*/
|
|
60
|
+
state: string;
|
|
61
|
+
/**
|
|
62
|
+
* Must be present and must be 'code'.
|
|
63
|
+
*/
|
|
64
|
+
response_type: SdPlatformRequestAuthorizationCodeResponseType;
|
|
65
|
+
/**
|
|
66
|
+
* Must be present.
|
|
67
|
+
*/
|
|
68
|
+
code_challenge: string;
|
|
69
|
+
/**
|
|
70
|
+
* Must be 'S256'.
|
|
71
|
+
*/
|
|
72
|
+
code_challenge_method: SdPlatformRequestAuthorizationCodeCodeChallengeMethod;
|
|
73
|
+
/**
|
|
74
|
+
* Must be present.
|
|
75
|
+
*/
|
|
76
|
+
client_id: string;
|
|
77
|
+
}
|
|
78
78
|
//# sourceMappingURL=SdPlatformAuthRequest.d.ts.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SdPlatformRequestAuthorizationCodeCodeChallengeMethod = exports.SdPlatformRequestAuthorizationCodeResponseType = exports.SdPlatformAuthGrantType = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* OAuth 2.0 grant type
|
|
6
|
-
*/
|
|
7
|
-
var SdPlatformAuthGrantType;
|
|
8
|
-
(function (SdPlatformAuthGrantType) {
|
|
9
|
-
SdPlatformAuthGrantType["Password"] = "password";
|
|
10
|
-
SdPlatformAuthGrantType["RefreshToken"] = "refresh_token";
|
|
11
|
-
SdPlatformAuthGrantType["Code"] = "authorization_code";
|
|
12
|
-
})(SdPlatformAuthGrantType = exports.SdPlatformAuthGrantType || (exports.SdPlatformAuthGrantType = {}));
|
|
13
|
-
var SdPlatformRequestAuthorizationCodeResponseType;
|
|
14
|
-
(function (SdPlatformRequestAuthorizationCodeResponseType) {
|
|
15
|
-
SdPlatformRequestAuthorizationCodeResponseType["Code"] = "code";
|
|
16
|
-
})(SdPlatformRequestAuthorizationCodeResponseType = exports.SdPlatformRequestAuthorizationCodeResponseType || (exports.SdPlatformRequestAuthorizationCodeResponseType = {}));
|
|
17
|
-
var SdPlatformRequestAuthorizationCodeCodeChallengeMethod;
|
|
18
|
-
(function (SdPlatformRequestAuthorizationCodeCodeChallengeMethod) {
|
|
19
|
-
SdPlatformRequestAuthorizationCodeCodeChallengeMethod["S256"] = "S256";
|
|
20
|
-
})(SdPlatformRequestAuthorizationCodeCodeChallengeMethod = exports.SdPlatformRequestAuthorizationCodeCodeChallengeMethod || (exports.SdPlatformRequestAuthorizationCodeCodeChallengeMethod = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SdPlatformRequestAuthorizationCodeCodeChallengeMethod = exports.SdPlatformRequestAuthorizationCodeResponseType = exports.SdPlatformAuthGrantType = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* OAuth 2.0 grant type
|
|
6
|
+
*/
|
|
7
|
+
var SdPlatformAuthGrantType;
|
|
8
|
+
(function (SdPlatformAuthGrantType) {
|
|
9
|
+
SdPlatformAuthGrantType["Password"] = "password";
|
|
10
|
+
SdPlatformAuthGrantType["RefreshToken"] = "refresh_token";
|
|
11
|
+
SdPlatformAuthGrantType["Code"] = "authorization_code";
|
|
12
|
+
})(SdPlatformAuthGrantType = exports.SdPlatformAuthGrantType || (exports.SdPlatformAuthGrantType = {}));
|
|
13
|
+
var SdPlatformRequestAuthorizationCodeResponseType;
|
|
14
|
+
(function (SdPlatformRequestAuthorizationCodeResponseType) {
|
|
15
|
+
SdPlatformRequestAuthorizationCodeResponseType["Code"] = "code";
|
|
16
|
+
})(SdPlatformRequestAuthorizationCodeResponseType = exports.SdPlatformRequestAuthorizationCodeResponseType || (exports.SdPlatformRequestAuthorizationCodeResponseType = {}));
|
|
17
|
+
var SdPlatformRequestAuthorizationCodeCodeChallengeMethod;
|
|
18
|
+
(function (SdPlatformRequestAuthorizationCodeCodeChallengeMethod) {
|
|
19
|
+
SdPlatformRequestAuthorizationCodeCodeChallengeMethod["S256"] = "S256";
|
|
20
|
+
})(SdPlatformRequestAuthorizationCodeCodeChallengeMethod = exports.SdPlatformRequestAuthorizationCodeCodeChallengeMethod || (exports.SdPlatformRequestAuthorizationCodeCodeChallengeMethod = {}));
|
|
21
21
|
//# sourceMappingURL=SdPlatformAuthRequest.js.map
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Pagination parameters for query requests.
|
|
3
|
-
*/
|
|
4
|
-
interface SdPlatformPaginationParameters {
|
|
5
|
-
/**
|
|
6
|
-
* Limit, or number of items to fetch.
|
|
7
|
-
*/
|
|
8
|
-
limit?: number | null;
|
|
9
|
-
/**
|
|
10
|
-
* Strict limit. If set to true, the query will fetch the exact number of items unless there is no more items to query.
|
|
11
|
-
* If set to false, query will request 10 items, but might actually return less depending on the user's permissions.
|
|
12
|
-
*/
|
|
13
|
-
strict_limit?: boolean | null;
|
|
14
|
-
/**
|
|
15
|
-
* Offset, is used like page number. If offset from response is not null, it can be used to query results further in next request.
|
|
16
|
-
*/
|
|
17
|
-
offset?: string | null;
|
|
18
|
-
}
|
|
19
|
-
export declare enum SdPlatformSortingOrder {
|
|
20
|
-
/**
|
|
21
|
-
* Sort in ascending order.
|
|
22
|
-
*/
|
|
23
|
-
Asc = "asc",
|
|
24
|
-
/**
|
|
25
|
-
* Sort in descending order.
|
|
26
|
-
*/
|
|
27
|
-
Desc = "desc"
|
|
28
|
-
}
|
|
29
|
-
export declare type SdPlatformFilterValue = string | number | boolean | null | Array<SdPlatformFilterValue>;
|
|
30
|
-
/**
|
|
31
|
-
* Filtering parameters for query calls.
|
|
32
|
-
*/
|
|
33
|
-
interface SdPlatformFilterParameters {
|
|
34
|
-
/**
|
|
35
|
-
* The query filters.
|
|
36
|
-
*/
|
|
37
|
-
filters?: {
|
|
38
|
-
[filter_expression: string]: SdPlatformFilterValue;
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Sorting parameters for query calls.
|
|
43
|
-
*/
|
|
44
|
-
interface SdPlatformSorterParameters {
|
|
45
|
-
/**
|
|
46
|
-
* Sorting criteria for request.
|
|
47
|
-
*/
|
|
48
|
-
sorters?: {
|
|
49
|
-
[column: string]: SdPlatformSortingOrder;
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Embedding parameters.
|
|
54
|
-
*/
|
|
55
|
-
interface SdPlatformEmbedParameters<TEmbeddableResource> {
|
|
56
|
-
/**
|
|
57
|
-
* Which fields to embed.
|
|
58
|
-
*/
|
|
59
|
-
embed?: Array<TEmbeddableResource>;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Parameters for querying resources.
|
|
63
|
-
*/
|
|
64
|
-
export declare type SdPlatformQueryParameters<TEmbeddableResource> = SdPlatformPaginationParameters & SdPlatformFilterParameters & SdPlatformSorterParameters & SdPlatformEmbedParameters<TEmbeddableResource>;
|
|
65
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* Pagination parameters for query requests.
|
|
3
|
+
*/
|
|
4
|
+
interface SdPlatformPaginationParameters {
|
|
5
|
+
/**
|
|
6
|
+
* Limit, or number of items to fetch.
|
|
7
|
+
*/
|
|
8
|
+
limit?: number | null;
|
|
9
|
+
/**
|
|
10
|
+
* Strict limit. If set to true, the query will fetch the exact number of items unless there is no more items to query.
|
|
11
|
+
* If set to false, query will request 10 items, but might actually return less depending on the user's permissions.
|
|
12
|
+
*/
|
|
13
|
+
strict_limit?: boolean | null;
|
|
14
|
+
/**
|
|
15
|
+
* Offset, is used like page number. If offset from response is not null, it can be used to query results further in next request.
|
|
16
|
+
*/
|
|
17
|
+
offset?: string | null;
|
|
18
|
+
}
|
|
19
|
+
export declare enum SdPlatformSortingOrder {
|
|
20
|
+
/**
|
|
21
|
+
* Sort in ascending order.
|
|
22
|
+
*/
|
|
23
|
+
Asc = "asc",
|
|
24
|
+
/**
|
|
25
|
+
* Sort in descending order.
|
|
26
|
+
*/
|
|
27
|
+
Desc = "desc"
|
|
28
|
+
}
|
|
29
|
+
export declare type SdPlatformFilterValue = string | number | boolean | null | Array<SdPlatformFilterValue>;
|
|
30
|
+
/**
|
|
31
|
+
* Filtering parameters for query calls.
|
|
32
|
+
*/
|
|
33
|
+
interface SdPlatformFilterParameters {
|
|
34
|
+
/**
|
|
35
|
+
* The query filters.
|
|
36
|
+
*/
|
|
37
|
+
filters?: {
|
|
38
|
+
[filter_expression: string]: SdPlatformFilterValue;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Sorting parameters for query calls.
|
|
43
|
+
*/
|
|
44
|
+
interface SdPlatformSorterParameters {
|
|
45
|
+
/**
|
|
46
|
+
* Sorting criteria for request.
|
|
47
|
+
*/
|
|
48
|
+
sorters?: {
|
|
49
|
+
[column: string]: SdPlatformSortingOrder;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Embedding parameters.
|
|
54
|
+
*/
|
|
55
|
+
interface SdPlatformEmbedParameters<TEmbeddableResource> {
|
|
56
|
+
/**
|
|
57
|
+
* Which fields to embed.
|
|
58
|
+
*/
|
|
59
|
+
embed?: Array<TEmbeddableResource>;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Parameters for querying resources.
|
|
63
|
+
*/
|
|
64
|
+
export declare type SdPlatformQueryParameters<TEmbeddableResource> = SdPlatformPaginationParameters & SdPlatformFilterParameters & SdPlatformSorterParameters & SdPlatformEmbedParameters<TEmbeddableResource>;
|
|
65
|
+
export {};
|
|
66
66
|
//# sourceMappingURL=SdPlatformBaseRequestTypes.d.ts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SdPlatformSortingOrder = void 0;
|
|
4
|
-
var SdPlatformSortingOrder;
|
|
5
|
-
(function (SdPlatformSortingOrder) {
|
|
6
|
-
/**
|
|
7
|
-
* Sort in ascending order.
|
|
8
|
-
*/
|
|
9
|
-
SdPlatformSortingOrder["Asc"] = "asc";
|
|
10
|
-
/**
|
|
11
|
-
* Sort in descending order.
|
|
12
|
-
*/
|
|
13
|
-
SdPlatformSortingOrder["Desc"] = "desc";
|
|
14
|
-
})(SdPlatformSortingOrder = exports.SdPlatformSortingOrder || (exports.SdPlatformSortingOrder = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SdPlatformSortingOrder = void 0;
|
|
4
|
+
var SdPlatformSortingOrder;
|
|
5
|
+
(function (SdPlatformSortingOrder) {
|
|
6
|
+
/**
|
|
7
|
+
* Sort in ascending order.
|
|
8
|
+
*/
|
|
9
|
+
SdPlatformSortingOrder["Asc"] = "asc";
|
|
10
|
+
/**
|
|
11
|
+
* Sort in descending order.
|
|
12
|
+
*/
|
|
13
|
+
SdPlatformSortingOrder["Desc"] = "desc";
|
|
14
|
+
})(SdPlatformSortingOrder = exports.SdPlatformSortingOrder || (exports.SdPlatformSortingOrder = {}));
|
|
15
15
|
//# sourceMappingURL=SdPlatformBaseRequestTypes.js.map
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
export interface SdPlatformRequestApiClientCreate {
|
|
2
|
-
/**
|
|
3
|
-
* Client application name
|
|
4
|
-
*/
|
|
5
|
-
client_name: string;
|
|
6
|
-
/**
|
|
7
|
-
* Client application secret (typically unused)
|
|
8
|
-
*/
|
|
9
|
-
client_secret?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Should refresh tokens be used?
|
|
12
|
-
*/
|
|
13
|
-
refresh_token?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Origins (domains) which the client application may connect from.
|
|
16
|
-
*/
|
|
17
|
-
allowed_origins?: Array<string>;
|
|
18
|
-
/**
|
|
19
|
-
* Lifetime of access tokens issued to this client application in seconds.
|
|
20
|
-
*/
|
|
21
|
-
access_token_lifetime?: number;
|
|
22
|
-
/**
|
|
23
|
-
* Lifetime of refresh tokens issued to this client application in seconds.
|
|
24
|
-
*/
|
|
25
|
-
refresh_token_lifetime?: number;
|
|
26
|
-
/**
|
|
27
|
-
* The refresh token limit (how often can refresh tokens be used?)
|
|
28
|
-
*/
|
|
29
|
-
refresh_token_limit?: number;
|
|
30
|
-
/**
|
|
31
|
-
* The required feature. If this is set, the user must have this feature enabled in order to be allowed to sign in from this client. {@link SdPlatformResponseFeatureValues}
|
|
32
|
-
*/
|
|
33
|
-
required_feature: string;
|
|
34
|
-
}
|
|
35
|
-
export interface SdPlatformRequestApiClientPatch {
|
|
36
|
-
/**
|
|
37
|
-
* Client application name
|
|
38
|
-
*/
|
|
39
|
-
client_name?: string;
|
|
40
|
-
/**
|
|
41
|
-
* Client application secret (typically unused)
|
|
42
|
-
*/
|
|
43
|
-
client_secret?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Should refresh tokens be used?
|
|
46
|
-
*/
|
|
47
|
-
refresh_token?: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Origins (domains) which the client application may connect from.
|
|
50
|
-
*/
|
|
51
|
-
allowed_origins?: Array<string>;
|
|
52
|
-
/**
|
|
53
|
-
* Lifetime of access tokens issued to this client application in seconds.
|
|
54
|
-
*/
|
|
55
|
-
access_token_lifetime?: number;
|
|
56
|
-
/**
|
|
57
|
-
* Lifetime of refresh tokens issued to this client application in seconds.
|
|
58
|
-
*/
|
|
59
|
-
refresh_token_lifetime?: number;
|
|
60
|
-
/**
|
|
61
|
-
* The refresh token limit (how often can refresh tokens be used?)
|
|
62
|
-
*/
|
|
63
|
-
refresh_token_limit?: number;
|
|
64
|
-
/**
|
|
65
|
-
* The required feature. If this is set, the user must have this feature enabled in order to be allowed to sign in from this client. {@link SdPlatformResponseFeatureValues}
|
|
66
|
-
*/
|
|
67
|
-
required_feature: string;
|
|
68
|
-
}
|
|
1
|
+
export interface SdPlatformRequestApiClientCreate {
|
|
2
|
+
/**
|
|
3
|
+
* Client application name
|
|
4
|
+
*/
|
|
5
|
+
client_name: string;
|
|
6
|
+
/**
|
|
7
|
+
* Client application secret (typically unused)
|
|
8
|
+
*/
|
|
9
|
+
client_secret?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Should refresh tokens be used?
|
|
12
|
+
*/
|
|
13
|
+
refresh_token?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Origins (domains) which the client application may connect from.
|
|
16
|
+
*/
|
|
17
|
+
allowed_origins?: Array<string>;
|
|
18
|
+
/**
|
|
19
|
+
* Lifetime of access tokens issued to this client application in seconds.
|
|
20
|
+
*/
|
|
21
|
+
access_token_lifetime?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Lifetime of refresh tokens issued to this client application in seconds.
|
|
24
|
+
*/
|
|
25
|
+
refresh_token_lifetime?: number;
|
|
26
|
+
/**
|
|
27
|
+
* The refresh token limit (how often can refresh tokens be used?)
|
|
28
|
+
*/
|
|
29
|
+
refresh_token_limit?: number;
|
|
30
|
+
/**
|
|
31
|
+
* The required feature. If this is set, the user must have this feature enabled in order to be allowed to sign in from this client. {@link SdPlatformResponseFeatureValues}
|
|
32
|
+
*/
|
|
33
|
+
required_feature: string;
|
|
34
|
+
}
|
|
35
|
+
export interface SdPlatformRequestApiClientPatch {
|
|
36
|
+
/**
|
|
37
|
+
* Client application name
|
|
38
|
+
*/
|
|
39
|
+
client_name?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Client application secret (typically unused)
|
|
42
|
+
*/
|
|
43
|
+
client_secret?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Should refresh tokens be used?
|
|
46
|
+
*/
|
|
47
|
+
refresh_token?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Origins (domains) which the client application may connect from.
|
|
50
|
+
*/
|
|
51
|
+
allowed_origins?: Array<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Lifetime of access tokens issued to this client application in seconds.
|
|
54
|
+
*/
|
|
55
|
+
access_token_lifetime?: number;
|
|
56
|
+
/**
|
|
57
|
+
* Lifetime of refresh tokens issued to this client application in seconds.
|
|
58
|
+
*/
|
|
59
|
+
refresh_token_lifetime?: number;
|
|
60
|
+
/**
|
|
61
|
+
* The refresh token limit (how often can refresh tokens be used?)
|
|
62
|
+
*/
|
|
63
|
+
refresh_token_limit?: number;
|
|
64
|
+
/**
|
|
65
|
+
* The required feature. If this is set, the user must have this feature enabled in order to be allowed to sign in from this client. {@link SdPlatformResponseFeatureValues}
|
|
66
|
+
*/
|
|
67
|
+
required_feature: string;
|
|
68
|
+
}
|
|
69
69
|
//# sourceMappingURL=SdPlatformRequestApiClients.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=SdPlatformRequestApiClients.js.map
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { SdPlatformApiTokenScopes } from "../commons/SdPlatformApiTokenScopes";
|
|
2
|
-
/**
|
|
3
|
-
* DTO for creating an API token
|
|
4
|
-
*/
|
|
5
|
-
export interface SdPlatformRequestApiTokenCreate {
|
|
6
|
-
/** mandatory description of the API token */
|
|
7
|
-
description: string;
|
|
8
|
-
/** scopes which the API token shall be limited to */
|
|
9
|
-
scope: Array<SdPlatformApiTokenScopes>;
|
|
10
|
-
/** epoch timestamp until which the API token shall be valid */
|
|
11
|
-
valid_until?: number;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* DTO for patching an API token
|
|
15
|
-
*/
|
|
16
|
-
export interface SdPlatformRequestApiTokenPatch {
|
|
17
|
-
/** description of the API token */
|
|
18
|
-
description?: string;
|
|
19
|
-
/** epoch timestamp until which the API token shall be valid */
|
|
20
|
-
valid_until?: number | null;
|
|
21
|
-
/** activate or deactivate the API token */
|
|
22
|
-
active?: boolean;
|
|
23
|
-
}
|
|
1
|
+
import { SdPlatformApiTokenScopes } from "../commons/SdPlatformApiTokenScopes";
|
|
2
|
+
/**
|
|
3
|
+
* DTO for creating an API token
|
|
4
|
+
*/
|
|
5
|
+
export interface SdPlatformRequestApiTokenCreate {
|
|
6
|
+
/** mandatory description of the API token */
|
|
7
|
+
description: string;
|
|
8
|
+
/** scopes which the API token shall be limited to */
|
|
9
|
+
scope: Array<SdPlatformApiTokenScopes>;
|
|
10
|
+
/** epoch timestamp until which the API token shall be valid */
|
|
11
|
+
valid_until?: number;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* DTO for patching an API token
|
|
15
|
+
*/
|
|
16
|
+
export interface SdPlatformRequestApiTokenPatch {
|
|
17
|
+
/** description of the API token */
|
|
18
|
+
description?: string;
|
|
19
|
+
/** epoch timestamp until which the API token shall be valid */
|
|
20
|
+
valid_until?: number | null;
|
|
21
|
+
/** activate or deactivate the API token */
|
|
22
|
+
active?: boolean;
|
|
23
|
+
}
|
|
24
24
|
//# sourceMappingURL=SdPlatformRequestApiToken.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=SdPlatformRequestApiToken.js.map
|