@antcde/connect-ts 0.4.38 → 0.4.39-rc.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/build/AntConnect.d.ts +6 -1
- package/build/AntConnect.d.ts.map +1 -1
- package/build/AntConnect.js +6 -15
- package/build/comms/host.d.ts.map +1 -1
- package/build/comms/host.js +6 -3
- package/build/comms/models.d.ts +7 -0
- package/build/comms/models.d.ts.map +1 -1
- package/build/comms/signalTypes.d.ts +5 -0
- package/build/comms/signalTypes.d.ts.map +1 -1
- package/build/index.d.ts +9 -3
- package/build/index.d.ts.map +1 -1
- package/build/index.js +3 -0
- package/build/service-types-app.d.ts +1 -1
- package/build/service-types-app.d.ts.map +1 -1
- package/build/service-types.d.ts +7 -5
- package/build/service-types.d.ts.map +1 -1
- package/build/services/AppService/factory/resourceAccess.d.ts +1 -1
- package/build/services/AppService/factory/resourceAccess.d.ts.map +1 -1
- package/build/services/AppService/factory/resourceAccess.js +2 -0
- package/build/services/AppService/index.d.ts.map +1 -1
- package/build/services/AppService/types/accessRequests.d.ts +3 -1
- package/build/services/AppService/types/accessRequests.d.ts.map +1 -1
- package/build/services/AppService/types/app.d.ts +5 -0
- package/build/services/AppService/types/app.d.ts.map +1 -1
- package/build/services/AppService/types/appDevices.d.ts +3 -0
- package/build/services/AppService/types/appDevices.d.ts.map +1 -0
- package/build/services/AppService/types/appDevices.js +1 -0
- package/build/services/AppService/types/appList.d.ts +4 -0
- package/build/services/AppService/types/appList.d.ts.map +1 -1
- package/build/services/AppService/types/appRequests.d.ts +4 -0
- package/build/services/AppService/types/appRequests.d.ts.map +1 -1
- package/build/services/AppService/types/appScopes.d.ts +2 -2
- package/build/services/AppService/types/appScopes.d.ts.map +1 -1
- package/build/services/AppService/types/resourceEntitlements.d.ts +6 -0
- package/build/services/AppService/types/resourceEntitlements.d.ts.map +1 -1
- package/build/services/AppService/types/resourceRequests.d.ts +2 -0
- package/build/services/AppService/types/resourceRequests.d.ts.map +1 -1
- package/build/services/AppService/types/sellableResources.d.ts +1 -0
- package/build/services/AppService/types/sellableResources.d.ts.map +1 -1
- package/build/services/AppService/types.d.ts +1 -0
- package/build/services/AppService/types.d.ts.map +1 -1
- package/build/services/AppService/types.js +1 -0
- package/build/services/BroadcastingService.d.ts +11 -0
- package/build/services/BroadcastingService.d.ts.map +1 -0
- package/build/services/BroadcastingService.js +7 -0
- package/build/services/DeviceService.d.ts +96 -0
- package/build/services/DeviceService.d.ts.map +1 -0
- package/build/services/DeviceService.js +35 -0
- package/build/services/LicenseCompanyPeople.types.d.ts +34 -0
- package/build/services/LicenseCompanyPeople.types.d.ts.map +1 -0
- package/build/services/LicenseCompanyPeople.types.js +3 -0
- package/build/services/LicenseMemberErrors.types.d.ts +42 -0
- package/build/services/LicenseMemberErrors.types.d.ts.map +1 -0
- package/build/services/LicenseMemberErrors.types.js +27 -0
- package/build/services/LicenseService.d.ts +61 -9
- package/build/services/LicenseService.d.ts.map +1 -1
- package/build/services/LicenseService.js +12 -2
- package/build/services/LicenseService.types.d.ts +139 -0
- package/build/services/LicenseService.types.d.ts.map +1 -0
- package/build/services/LicenseService.types.js +15 -0
- package/build/services/Notifications/NotificationService.d.ts +7 -2
- package/build/services/Notifications/NotificationService.d.ts.map +1 -1
- package/build/services/Project/ProjectUserService.d.ts +0 -5
- package/build/services/Project/ProjectUserService.d.ts.map +1 -1
- package/build/services/Project/ProjectUserService.js +0 -1
- package/build/services/ProjectService.d.ts +18 -0
- package/build/services/ProjectService.d.ts.map +1 -1
- package/build/services/ProjectService.js +1 -0
- package/build/services/PropagationService.d.ts +5 -1
- package/build/services/PropagationService.d.ts.map +1 -1
- package/build/services/RBAC/PermissionService.d.ts +2 -2
- package/build/services/RBAC/PermissionService.d.ts.map +1 -1
- package/build/services/RBAC/PermissionService.js +1 -1
- package/build/services/RBAC/RoleService.d.ts +2 -1
- package/build/services/RBAC/RoleService.d.ts.map +1 -1
- package/build/services/RBAC/RoleService.js +0 -1
- package/build/services/ResellerService.d.ts +21 -3
- package/build/services/ResellerService.d.ts.map +1 -1
- package/build/services/ResellerService.js +10 -0
- package/build/services/ResellerService.types.d.ts +117 -0
- package/build/services/ResellerService.types.d.ts.map +1 -0
- package/build/services/ResellerService.types.js +22 -0
- package/build/services/ScriptsService.d.ts +3 -9
- package/build/services/ScriptsService.d.ts.map +1 -1
- package/build/services/TableService.types.d.ts +18 -1
- package/build/services/TableService.types.d.ts.map +1 -1
- package/build/services/TokenService.d.ts +8 -2
- package/build/services/TokenService.d.ts.map +1 -1
- package/build/services/TokenService.js +1 -1
- package/build/services/Trigger/TriggerDatasetResponses.types.d.ts +12 -6
- package/build/services/Trigger/TriggerDatasetResponses.types.d.ts.map +1 -1
- package/build/services/Trigger/TriggerDatasetResponses.types.js +3 -0
- package/build/services/Trigger/TriggerHistoryService.d.ts +19 -19
- package/build/services/Trigger/TriggerHistoryService.d.ts.map +1 -1
- package/build/services/Trigger/TriggerLastRun.types.d.ts +10 -14
- package/build/services/Trigger/TriggerLastRun.types.d.ts.map +1 -1
- package/build/services/Trigger/TriggerRefusalDetail.types.d.ts +12 -6
- package/build/services/Trigger/TriggerRefusalDetail.types.d.ts.map +1 -1
- package/build/services/UserService.d.ts +55 -10
- package/build/services/UserService.d.ts.map +1 -1
- package/build/services/UserService.js +4 -1
- package/build/services/UserSessionService.d.ts +34 -0
- package/build/services/UserSessionService.d.ts.map +1 -0
- package/build/services/UserSessionService.js +11 -0
- package/build/types.d.ts +1 -126
- package/build/types.d.ts.map +1 -1
- package/build/types.js +2 -19
- package/package.json +4 -4
|
@@ -9,12 +9,7 @@
|
|
|
9
9
|
* It exists so a run view can offer "what would fix it" instead of only echoing a
|
|
10
10
|
* sentence. Parsing the prose for the figures works until somebody rewords it.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
* A ceiling and, when it was actually measured, the value that exceeded it.
|
|
14
|
-
*
|
|
15
|
-
* `null` on the history row for every refusal that is not a ceiling — see
|
|
16
|
-
* {@link TriggerExecutionHistory.refusal_detail}.
|
|
17
|
-
*/
|
|
12
|
+
/** A ceiling and, when it was actually measured, the value that exceeded it. */
|
|
18
13
|
export interface DatasetRefusalDetail {
|
|
19
14
|
/** The ceiling that applied, in `unit`. */
|
|
20
15
|
limit: number;
|
|
@@ -60,4 +55,15 @@ export interface DatasetRefusalDetail {
|
|
|
60
55
|
*/
|
|
61
56
|
unit: 'bytes';
|
|
62
57
|
}
|
|
58
|
+
/** How a script ended, as the script engine reported it. */
|
|
59
|
+
export type ScriptFailureReason = 'exit' | 'oom' | 'stopped' | 'no_result';
|
|
60
|
+
/**
|
|
61
|
+
* Why a `script_failed` run failed; every field may be absent. `message` (≤ 500 bytes,
|
|
62
|
+
* already redacted) is the publisher's script talking: render it as plain text only.
|
|
63
|
+
*/
|
|
64
|
+
export interface ScriptFailureDetail {
|
|
65
|
+
exit_code?: number;
|
|
66
|
+
reason?: ScriptFailureReason;
|
|
67
|
+
message?: string;
|
|
68
|
+
}
|
|
63
69
|
//# sourceMappingURL=TriggerRefusalDetail.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TriggerRefusalDetail.types.d.ts","sourceRoot":"","sources":["../../../src/services/Trigger/TriggerRefusalDetail.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH
|
|
1
|
+
{"version":3,"file":"TriggerRefusalDetail.types.d.ts","sourceRoot":"","sources":["../../../src/services/Trigger/TriggerRefusalDetail.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,gFAAgF;AAChF,MAAM,WAAW,oBAAoB;IACnC,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAA;IAEb;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;;;;;;;;;;OAaG;IACH,IAAI,EAAE,OAAO,CAAA;CACd;AAED,4DAA4D;AAC5D,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,KAAK,GAAG,SAAS,GAAG,WAAW,CAAA;AAE1E;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,mBAAmB,CAAA;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { License } from './LicenseService';
|
|
2
|
+
import type { LicenseMemberType, LicenseSeatKind } from './LicenseService.types';
|
|
3
|
+
import type { Role } from './RBAC/RoleService';
|
|
2
4
|
import type { UserPreferences } from './userPreferences';
|
|
3
5
|
import type { MessageResponse } from "../AntConnect";
|
|
4
6
|
import type { AntHttpClient } from "../AntHttpClient";
|
|
5
|
-
import type { TokenResponse } from "../types";
|
|
6
7
|
export type AuthLicense = License & {
|
|
7
8
|
is_admin: boolean;
|
|
8
9
|
mfa_required: boolean;
|
|
@@ -16,6 +17,19 @@ export interface UserShort {
|
|
|
16
17
|
status?: 'invited' | 'active' | 'inactive';
|
|
17
18
|
profile_picture: string;
|
|
18
19
|
mfa_required?: boolean;
|
|
20
|
+
/** A device account: a license member a paired device signs in as. Never signs in with a password. */
|
|
21
|
+
is_device_account?: boolean;
|
|
22
|
+
/** Fields the license users list (`LicenseAdminUserShortResource`) adds. */
|
|
23
|
+
initialised?: boolean;
|
|
24
|
+
/** Guests and seat kinds, present while license plans are on (AAD-1149). */
|
|
25
|
+
member_type?: LicenseMemberType;
|
|
26
|
+
seat_kind?: LicenseSeatKind;
|
|
27
|
+
is_sponsored_seat?: boolean;
|
|
28
|
+
rbac_roles?: Role[];
|
|
29
|
+
is_admin?: boolean;
|
|
30
|
+
last_tracked_login?: string | null;
|
|
31
|
+
added_at?: string | null;
|
|
32
|
+
created_at?: string | null;
|
|
19
33
|
}
|
|
20
34
|
export interface File {
|
|
21
35
|
extension: string;
|
|
@@ -75,22 +89,39 @@ export interface RegistrationUser {
|
|
|
75
89
|
lastname: string;
|
|
76
90
|
email: string;
|
|
77
91
|
password: string;
|
|
78
|
-
type
|
|
92
|
+
type?: 'enterprise';
|
|
79
93
|
resellers: string[];
|
|
80
94
|
}
|
|
81
|
-
interface CommunityRegistrationResponse {
|
|
82
|
-
slug: 'community-registration-successful';
|
|
83
|
-
message: string;
|
|
84
|
-
user: User;
|
|
85
|
-
access_token: TokenResponse;
|
|
86
|
-
}
|
|
87
95
|
interface EnterpriseRegistrationResponse {
|
|
88
96
|
slug: 'enterprise-registration-successful';
|
|
89
97
|
message: string;
|
|
90
98
|
user: User;
|
|
91
99
|
access_token: undefined;
|
|
92
100
|
}
|
|
93
|
-
export type RegistrationResponse =
|
|
101
|
+
export type RegistrationResponse = EnterpriseRegistrationResponse;
|
|
102
|
+
/** Free sign-up (AAD-1157): the License is decided once the email is verified. */
|
|
103
|
+
export interface FreeSignupRegistrationResponse {
|
|
104
|
+
status: 'verify_email';
|
|
105
|
+
}
|
|
106
|
+
/** Free sign-up's form while `free_signup` is on; no password (it is chosen at `verifySignupEmail`). `reseller_code` is the `?r=` of a reseller's sign-up link. */
|
|
107
|
+
export interface FreeSignupUser {
|
|
108
|
+
firstname: string;
|
|
109
|
+
lastname: string;
|
|
110
|
+
email: string;
|
|
111
|
+
reseller_code?: string;
|
|
112
|
+
}
|
|
113
|
+
/** What verifying a Free sign-up did. */
|
|
114
|
+
export type SignupOutcome = 'created' | 'joined' | 'company_full' | 'company_removed' | 'support' | 'invited';
|
|
115
|
+
export interface SignupVerification {
|
|
116
|
+
outcome: SignupOutcome;
|
|
117
|
+
/** The License created or joined; null for `support` / `invited`. */
|
|
118
|
+
license: {
|
|
119
|
+
id: string;
|
|
120
|
+
name: string;
|
|
121
|
+
} | null;
|
|
122
|
+
/** For `support` and `company_removed`. */
|
|
123
|
+
support_email: string | null;
|
|
124
|
+
}
|
|
94
125
|
export interface UserService {
|
|
95
126
|
getAuthenticatedUser: () => Promise<User>;
|
|
96
127
|
getUserImage: (userId: string) => Promise<any>;
|
|
@@ -103,7 +134,21 @@ export interface UserService {
|
|
|
103
134
|
enableTwoFactor: (data: TwoFactorEnableRequest) => Promise<TwoFactorEnableResponse>;
|
|
104
135
|
generateTwoFactor: () => Promise<TwoFactorGenerateResponse>;
|
|
105
136
|
verifyTwoFactor: (data: TwoFactorEnableRequest) => Promise<AuthUser>;
|
|
106
|
-
|
|
137
|
+
/** The legacy form keeps its response; a Free sign-up answers `verify_email` (AAD-1157). */
|
|
138
|
+
register: {
|
|
139
|
+
(data: RegistrationUser): Promise<RegistrationResponse>;
|
|
140
|
+
(data: FreeSignupUser): Promise<FreeSignupRegistrationResponse>;
|
|
141
|
+
};
|
|
142
|
+
/** Sets the password (min 8). 422 on `token` for an unknown, expired or used link; 404 while Free sign-up is off. */
|
|
143
|
+
verifySignupEmail: (token: string, password: string, requestConfig?: Record<string, any>) => Promise<SignupVerification>;
|
|
144
|
+
/** Always resolves, so it reveals no accounts. */
|
|
145
|
+
resendSignupEmail: (email: string) => Promise<{
|
|
146
|
+
status: 'ok';
|
|
147
|
+
}>;
|
|
148
|
+
/** Resolves `{ enabled: true }` while Free sign-up is on; 404 otherwise. No sign-in needed. */
|
|
149
|
+
getSignupStatus: (requestConfig?: Record<string, any>) => Promise<{
|
|
150
|
+
enabled: boolean;
|
|
151
|
+
}>;
|
|
107
152
|
}
|
|
108
153
|
export declare function newUserService(httpClient: AntHttpClient): UserService;
|
|
109
154
|
export default UserService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserService.d.ts","sourceRoot":"","sources":["../../src/services/UserService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"UserService.d.ts","sourceRoot":"","sources":["../../src/services/UserService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAC/C,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,OAAO,CAAC,kBAAkB,CAAC,CAAA;IACxH,kDAAkD;IAClD,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,MAAM,EAAE,IAAI,CAAA;KAAE,CAAC,CAAA;IAC/D,+FAA+F;IAC/F,eAAe,EAAE,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC,CAAA;CACxF;AAED,wBAAgB,cAAc,CAAC,UAAU,EAAE,aAAa,GAAG,WAAW,CAkBrE;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -11,6 +11,9 @@ export function newUserService(httpClient) {
|
|
|
11
11
|
enableTwoFactor: data => httpClient.post(`/2fa/enable`, data),
|
|
12
12
|
generateTwoFactor: () => httpClient.post(`/2fa/generate`, {}),
|
|
13
13
|
verifyTwoFactor: data => httpClient.post(`/2fa/verify`, data),
|
|
14
|
-
register: data => httpClient.post(`/users/register`, data),
|
|
14
|
+
register: (data) => httpClient.post(`/users/register`, data),
|
|
15
|
+
verifySignupEmail: (token, password, requestConfig) => httpClient.post(`/users/verify-email`, { token, password }, requestConfig),
|
|
16
|
+
resendSignupEmail: email => httpClient.post(`/users/verify-email/resend`, { email }),
|
|
17
|
+
getSignupStatus: requestConfig => httpClient.get(`/signup`, requestConfig),
|
|
15
18
|
};
|
|
16
19
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { AntHttpClient } from "../AntHttpClient";
|
|
2
|
+
/** Why a session ended; `/session/token` and `GET /session` answer 401 with it as `reason`. */
|
|
3
|
+
export declare const SESSION_END_REASONS: readonly ["session_limit", "signed_out_remotely", "signed_out", "replaced"];
|
|
4
|
+
export type SessionEndReason = typeof SESSION_END_REASONS[number];
|
|
5
|
+
export interface UserSession {
|
|
6
|
+
id: string;
|
|
7
|
+
user_agent: string | null;
|
|
8
|
+
ip: string | null;
|
|
9
|
+
/** `microsoft` for SSO, null for email + password. */
|
|
10
|
+
auth_provider: string | null;
|
|
11
|
+
signed_in_at: string;
|
|
12
|
+
last_active_at: string;
|
|
13
|
+
/** The browser asking. */
|
|
14
|
+
current: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface UserSessionList {
|
|
17
|
+
/** Signed-in devices allowed: the most generous plan among the user's seats; null = unlimited. */
|
|
18
|
+
limit: number | null;
|
|
19
|
+
/** Newest first. */
|
|
20
|
+
sessions: UserSession[];
|
|
21
|
+
}
|
|
22
|
+
/** A session a new sign-in ended over the limit, as `/session/exchange` lists it once in `ended_sessions`. */
|
|
23
|
+
export interface EndedSession {
|
|
24
|
+
user_agent: string | null;
|
|
25
|
+
signed_in_at: string;
|
|
26
|
+
}
|
|
27
|
+
export interface UserSessionService {
|
|
28
|
+
getSessions: (requestConfig?: Record<string, any>) => Promise<UserSessionList>;
|
|
29
|
+
/** Signs out another device; 422 for this one (use the session logout). */
|
|
30
|
+
endSession: (sessionId: string) => Promise<void>;
|
|
31
|
+
}
|
|
32
|
+
export declare function newUserSessionService(client: AntHttpClient): UserSessionService;
|
|
33
|
+
export default newUserSessionService;
|
|
34
|
+
//# sourceMappingURL=UserSessionService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserSessionService.d.ts","sourceRoot":"","sources":["../../src/services/UserSessionService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,yBAAuB;AAEpD,+FAA+F;AAC/F,eAAO,MAAM,mBAAmB,6EAA8E,CAAA;AAC9G,MAAM,MAAM,gBAAgB,GAAG,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAA;AAEjE,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,EAAE,EAAE,MAAM,GAAG,IAAI,CAAA;IACjB,sDAAsD;IACtD,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,YAAY,EAAE,MAAM,CAAA;IACpB,cAAc,EAAE,MAAM,CAAA;IACtB,0BAA0B;IAC1B,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B,kGAAkG;IAClG,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,oBAAoB;IACpB,QAAQ,EAAE,WAAW,EAAE,CAAA;CACxB;AAED,8GAA8G;AAC9G,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,YAAY,EAAE,MAAM,CAAA;CACrB;AAGD,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC,eAAe,CAAC,CAAA;IAC9E,2EAA2E;IAC3E,UAAU,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CACjD;AAED,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,aAAa,GAAG,kBAAkB,CAQ/E;AAED,eAAe,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Why a session ended; `/session/token` and `GET /session` answer 401 with it as `reason`. */
|
|
2
|
+
export const SESSION_END_REASONS = ['session_limit', 'signed_out_remotely', 'signed_out', 'replaced'];
|
|
3
|
+
export function newUserSessionService(client) {
|
|
4
|
+
return {
|
|
5
|
+
getSessions: async (requestConfig) => await client.get('/sessions', requestConfig),
|
|
6
|
+
endSession: async (sessionId) => {
|
|
7
|
+
await client.delete(`/sessions/${encodeURIComponent(sessionId)}`);
|
|
8
|
+
},
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export default newUserSessionService;
|
package/build/types.d.ts
CHANGED
|
@@ -71,132 +71,7 @@ export interface PaginatedResponse<T> {
|
|
|
71
71
|
active: boolean;
|
|
72
72
|
}>;
|
|
73
73
|
}
|
|
74
|
-
|
|
75
|
-
* License types supported by the system.
|
|
76
|
-
* Must match the 'type' column values in the licenses table.
|
|
77
|
-
*/
|
|
78
|
-
export type LicenseType = 'community' | 'enterprise';
|
|
79
|
-
/**
|
|
80
|
-
* Details about a license limit that has been exceeded.
|
|
81
|
-
*/
|
|
82
|
-
export interface LicenseLimitDetails {
|
|
83
|
-
/** Resource type that hit the limit (e.g., 'project', 'table') */
|
|
84
|
-
resource: string;
|
|
85
|
-
/** Current license type */
|
|
86
|
-
license_type: LicenseType;
|
|
87
|
-
/** Name of the license that hit the limit */
|
|
88
|
-
license_name: string;
|
|
89
|
-
/** Maximum allowed for this license type */
|
|
90
|
-
limit: number;
|
|
91
|
-
/** Current usage count */
|
|
92
|
-
usage: number;
|
|
93
|
-
/** Whether upgrading the license would resolve this limit */
|
|
94
|
-
upgrade_required: boolean;
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* Error response returned when a license limit is exceeded.
|
|
98
|
-
*
|
|
99
|
-
* HTTP Status: 403 Forbidden
|
|
100
|
-
*
|
|
101
|
-
* This error is returned when attempting to create a resource that would
|
|
102
|
-
* exceed the license's allowed limit (e.g., creating a 4th project on a
|
|
103
|
-
* community license that allows only 3 projects).
|
|
104
|
-
*
|
|
105
|
-
* @example
|
|
106
|
-
* ```typescript
|
|
107
|
-
* try {
|
|
108
|
-
* await projectService.createProject(data)
|
|
109
|
-
* } catch (error) {
|
|
110
|
-
* if (isLicenseLimitError(error.response?.data)) {
|
|
111
|
-
* const { limit, usage, license_type } = error.response.data.details
|
|
112
|
-
* showUpgradeDialog({ limit, usage, licenseType: license_type })
|
|
113
|
-
* }
|
|
114
|
-
* }
|
|
115
|
-
* ```
|
|
116
|
-
*/
|
|
117
|
-
export interface LicenseLimitExceededError {
|
|
118
|
-
/** Error code identifying this as a license limit error */
|
|
119
|
-
error: 'LICENSE_LIMIT_EXCEEDED';
|
|
120
|
-
/** Human-readable error message */
|
|
121
|
-
message: string;
|
|
122
|
-
/** Detailed information about the limit */
|
|
123
|
-
details: LicenseLimitDetails;
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* Type guard to check if an error response is a license limit exceeded error.
|
|
127
|
-
*
|
|
128
|
-
* @param error - The error response data to check
|
|
129
|
-
* @returns True if the error is a LicenseLimitExceededError
|
|
130
|
-
*
|
|
131
|
-
* @example
|
|
132
|
-
* ```typescript
|
|
133
|
-
* if (isLicenseLimitError(error.response?.data)) {
|
|
134
|
-
* // Handle license limit exceeded
|
|
135
|
-
* }
|
|
136
|
-
* ```
|
|
137
|
-
*/
|
|
138
|
-
export declare function isLicenseLimitError(error: unknown): error is LicenseLimitExceededError;
|
|
139
|
-
/**
|
|
140
|
-
* Resource types that can have limits.
|
|
141
|
-
*/
|
|
142
|
-
export type LimitResourceType = 'records' | 'total_records' | 'tables' | 'projects' | 'users' | 'rbac_roles' | 'dms_storage_mb' | 'sbs_records' | 'triggers';
|
|
143
|
-
/**
|
|
144
|
-
* Scope at which a limit applies.
|
|
145
|
-
*/
|
|
146
|
-
export type LimitScope = 'table' | 'project' | 'license';
|
|
147
|
-
/**
|
|
148
|
-
* Current state of a resource limit.
|
|
149
|
-
*
|
|
150
|
-
* Units depend on the resource type:
|
|
151
|
-
* - Most resources: count (number of items)
|
|
152
|
-
* - `dms_storage_mb`: megabytes (MB)
|
|
153
|
-
*/
|
|
154
|
-
export interface ResourceLimitInfo {
|
|
155
|
-
/** Maximum allowed (null = unlimited) */
|
|
156
|
-
limit: number | null;
|
|
157
|
-
/** Current usage (count or MB depending on resource type) */
|
|
158
|
-
usage: number;
|
|
159
|
-
/** Remaining capacity (null = unlimited) */
|
|
160
|
-
remaining: number | null;
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* WebSocket event for real-time resource limit changes.
|
|
164
|
-
*
|
|
165
|
-
* Notifies the frontend when resource limits change (e.g., record created/deleted).
|
|
166
|
-
* Enables real-time UI updates without page refreshes.
|
|
167
|
-
*
|
|
168
|
-
* Channels:
|
|
169
|
-
* - App.License.{licenseId}.Limits
|
|
170
|
-
* - App.Project.{projectId}.Limits
|
|
171
|
-
* - App.Table.{tableId}.Limits
|
|
172
|
-
*
|
|
173
|
-
* Event: limit.change
|
|
174
|
-
*
|
|
175
|
-
* @example
|
|
176
|
-
* ```typescript
|
|
177
|
-
* // Listen for limit changes
|
|
178
|
-
* signal.receive((s) => {
|
|
179
|
-
* if (s.limitChange) {
|
|
180
|
-
* const { resource_type, resource_id, limits } = s.limitChange
|
|
181
|
-
* if (resource_type === 'records' && resource_id === currentTableId) {
|
|
182
|
-
* updateTableLimits('records', limits)
|
|
183
|
-
* }
|
|
184
|
-
* }
|
|
185
|
-
* })
|
|
186
|
-
* ```
|
|
187
|
-
*/
|
|
188
|
-
export interface LimitChangeEvent {
|
|
189
|
-
/** Type of resource limit that changed */
|
|
190
|
-
resource_type: LimitResourceType;
|
|
191
|
-
/** ID of the resource whose limit changed (table_id, project_id, license_id) */
|
|
192
|
-
resource_id: string;
|
|
193
|
-
/** Level at which this limit applies */
|
|
194
|
-
scope: LimitScope;
|
|
195
|
-
/** ID of the scope container (table_id, project_id, or license_id) */
|
|
196
|
-
scope_id: string;
|
|
197
|
-
/** Updated limit values */
|
|
198
|
-
limits: ResourceLimitInfo;
|
|
199
|
-
}
|
|
74
|
+
export * from './services/LicenseService.types';
|
|
200
75
|
/**
|
|
201
76
|
* Status of a long-running job.
|
|
202
77
|
*/
|
package/build/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,UAAU,CAAC,EAAE,QAAQ,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,WAAW,CAAC,CAAC;IAC5B,IAAI,EAAE,CAAC,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AE,MAAM,CAAA;IACb,kFAAkF;IAClF,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,8BAA8B;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,8CAA8C;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6CAA6C;IAC7C,OAAO,CAAC,EAAE,QAAQ,CAAA;CACnB"}
|
package/build/types.js
CHANGED
|
@@ -1,19 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* @param error - The error response data to check
|
|
5
|
-
* @returns True if the error is a LicenseLimitExceededError
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* ```typescript
|
|
9
|
-
* if (isLicenseLimitError(error.response?.data)) {
|
|
10
|
-
* // Handle license limit exceeded
|
|
11
|
-
* }
|
|
12
|
-
* ```
|
|
13
|
-
*/
|
|
14
|
-
export function isLicenseLimitError(error) {
|
|
15
|
-
return (typeof error === 'object'
|
|
16
|
-
&& error !== null
|
|
17
|
-
&& 'error' in error
|
|
18
|
-
&& error.error === 'LICENSE_LIMIT_EXCEEDED');
|
|
19
|
-
}
|
|
1
|
+
// License plans, limits and the limit-exceeded error live with the license service.
|
|
2
|
+
export * from './services/LicenseService.types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antcde/connect-ts",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.39-rc.2",
|
|
4
4
|
"description": "Helper to connect to the ANT api",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "build/index.js",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"axios": "^1.
|
|
39
|
+
"axios": "^1.21.0",
|
|
40
40
|
"comlink": "^4.4.2",
|
|
41
41
|
"post-robot": "10.0.46",
|
|
42
|
-
"qs": "^6.
|
|
42
|
+
"qs": "^6.17.0",
|
|
43
43
|
"rxjs": "^7.8.2",
|
|
44
44
|
"zod": "^4.6.7"
|
|
45
45
|
},
|
|
@@ -52,6 +52,6 @@
|
|
|
52
52
|
"ts-patch": "^4.0.1",
|
|
53
53
|
"typescript": "~6.0.3",
|
|
54
54
|
"typescript-transform-paths": "^4.0.0",
|
|
55
|
-
"vitest": "^5.0.
|
|
55
|
+
"vitest": "^5.0.5"
|
|
56
56
|
}
|
|
57
57
|
}
|