@drttix/drt-sdk 0.6.15 → 0.7.1
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/cjs/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/portal/services/AccountService.d.ts +8 -0
- package/dist/cjs/src/generated/portal/services/AccountService.js +16 -0
- package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/portal/services/AccountService.d.ts +8 -0
- package/dist/esm/src/generated/portal/services/AccountService.js +16 -0
- package/package.json +1 -1
- package/src/generated/portal/core/OpenAPI.ts +1 -1
- package/src/generated/portal/services/AccountService.ts +18 -0
|
@@ -49,4 +49,12 @@ export declare class AccountService {
|
|
|
49
49
|
* @throws ApiError
|
|
50
50
|
*/
|
|
51
51
|
static renewPolicy(xStudioId: string, policyId: string): CancelablePromise<SuccessResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Clear user permissions cache
|
|
54
|
+
* To clear the cached permissions for a specific studio login
|
|
55
|
+
* @param studioLoginId The studio login ID to clear cache for
|
|
56
|
+
* @returns SuccessResponse Cache cleared successfully
|
|
57
|
+
* @throws ApiError
|
|
58
|
+
*/
|
|
59
|
+
static clearPermissionsCache(studioLoginId: string): CancelablePromise<SuccessResponse>;
|
|
52
60
|
}
|
|
@@ -98,5 +98,21 @@ class AccountService {
|
|
|
98
98
|
},
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
|
+
/**
|
|
102
|
+
* Clear user permissions cache
|
|
103
|
+
* To clear the cached permissions for a specific studio login
|
|
104
|
+
* @param studioLoginId The studio login ID to clear cache for
|
|
105
|
+
* @returns SuccessResponse Cache cleared successfully
|
|
106
|
+
* @throws ApiError
|
|
107
|
+
*/
|
|
108
|
+
static clearPermissionsCache(studioLoginId) {
|
|
109
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
110
|
+
method: 'POST',
|
|
111
|
+
url: '/account/cache',
|
|
112
|
+
query: {
|
|
113
|
+
'studio_login_id': studioLoginId,
|
|
114
|
+
},
|
|
115
|
+
});
|
|
116
|
+
}
|
|
101
117
|
}
|
|
102
118
|
exports.AccountService = AccountService;
|
|
@@ -49,4 +49,12 @@ export declare class AccountService {
|
|
|
49
49
|
* @throws ApiError
|
|
50
50
|
*/
|
|
51
51
|
static renewPolicy(xStudioId: string, policyId: string): CancelablePromise<SuccessResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Clear user permissions cache
|
|
54
|
+
* To clear the cached permissions for a specific studio login
|
|
55
|
+
* @param studioLoginId The studio login ID to clear cache for
|
|
56
|
+
* @returns SuccessResponse Cache cleared successfully
|
|
57
|
+
* @throws ApiError
|
|
58
|
+
*/
|
|
59
|
+
static clearPermissionsCache(studioLoginId: string): CancelablePromise<SuccessResponse>;
|
|
52
60
|
}
|
|
@@ -95,4 +95,20 @@ export class AccountService {
|
|
|
95
95
|
},
|
|
96
96
|
});
|
|
97
97
|
}
|
|
98
|
+
/**
|
|
99
|
+
* Clear user permissions cache
|
|
100
|
+
* To clear the cached permissions for a specific studio login
|
|
101
|
+
* @param studioLoginId The studio login ID to clear cache for
|
|
102
|
+
* @returns SuccessResponse Cache cleared successfully
|
|
103
|
+
* @throws ApiError
|
|
104
|
+
*/
|
|
105
|
+
static clearPermissionsCache(studioLoginId) {
|
|
106
|
+
return __request(OpenAPI, {
|
|
107
|
+
method: 'POST',
|
|
108
|
+
url: '/account/cache',
|
|
109
|
+
query: {
|
|
110
|
+
'studio_login_id': studioLoginId,
|
|
111
|
+
},
|
|
112
|
+
});
|
|
113
|
+
}
|
|
98
114
|
}
|
package/package.json
CHANGED
|
@@ -119,4 +119,22 @@ export class AccountService {
|
|
|
119
119
|
},
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
* Clear user permissions cache
|
|
124
|
+
* To clear the cached permissions for a specific studio login
|
|
125
|
+
* @param studioLoginId The studio login ID to clear cache for
|
|
126
|
+
* @returns SuccessResponse Cache cleared successfully
|
|
127
|
+
* @throws ApiError
|
|
128
|
+
*/
|
|
129
|
+
public static clearPermissionsCache(
|
|
130
|
+
studioLoginId: string,
|
|
131
|
+
): CancelablePromise<SuccessResponse> {
|
|
132
|
+
return __request(OpenAPI, {
|
|
133
|
+
method: 'POST',
|
|
134
|
+
url: '/account/cache',
|
|
135
|
+
query: {
|
|
136
|
+
'studio_login_id': studioLoginId,
|
|
137
|
+
},
|
|
138
|
+
});
|
|
139
|
+
}
|
|
122
140
|
}
|