1 | import type { Except } from 'type-fest';
|
2 | import type { BasicMetaSysProps, DefaultElements, MakeRequest, SysLink } from '../common-types';
|
3 | type AppAccessTokenSys = Except<BasicMetaSysProps, 'version' | 'id'> & {
|
4 | space: SysLink;
|
5 | environment: SysLink;
|
6 | appDefinition: SysLink;
|
7 | expiresAt: string;
|
8 | };
|
9 | export type AppAccessTokenProps = {
|
10 | |
11 |
|
12 |
|
13 | sys: AppAccessTokenSys;
|
14 | |
15 |
|
16 |
|
17 | token: string;
|
18 | };
|
19 | export type CreateAppAccessTokenProps = {
|
20 | |
21 |
|
22 |
|
23 | jwt: string;
|
24 | };
|
25 | export interface AppAccessToken extends AppAccessTokenProps, DefaultElements<AppAccessTokenProps> {
|
26 | }
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 | export declare function wrapAppAccessToken(_makeRequest: MakeRequest, data: AppAccessTokenProps): AppAccessToken;
|
34 | export {};
|