@antcde/connect-ts 0.4.19-rc.ff2cb6c → 0.4.20-rc.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/build/index.d.ts +2 -34
- package/build/index.d.ts.map +1 -1
- package/build/index.js +8 -3
- package/build/service-runtime.d.ts +5 -0
- package/build/service-runtime.d.ts.map +1 -0
- package/build/service-runtime.js +6 -0
- package/build/service-types-app.d.ts +2 -0
- package/build/service-types-app.d.ts.map +1 -0
- package/build/service-types-app.js +3 -0
- package/build/service-types.d.ts +33 -0
- package/build/service-types.d.ts.map +1 -0
- package/build/service-types.js +7 -0
- package/build/services/AppService/factory/assignments.d.ts +57 -0
- package/build/services/AppService/factory/assignments.d.ts.map +1 -0
- package/build/services/AppService/factory/assignments.js +30 -0
- package/build/services/AppService/factory/channels.d.ts +25 -0
- package/build/services/AppService/factory/channels.d.ts.map +1 -0
- package/build/services/AppService/factory/channels.js +17 -0
- package/build/services/AppService/factory/formData.d.ts +14 -0
- package/build/services/AppService/factory/formData.d.ts.map +1 -0
- package/build/services/AppService/factory/formData.js +50 -0
- package/build/services/AppService/factory/subscriptions.d.ts +73 -0
- package/build/services/AppService/factory/subscriptions.d.ts.map +1 -0
- package/build/services/AppService/factory/subscriptions.js +39 -0
- package/build/services/AppService/index.d.ts +66 -0
- package/build/services/AppService/index.d.ts.map +1 -0
- package/build/services/AppService/index.js +80 -0
- package/build/services/AppService/types/accessRequests.d.ts +93 -0
- package/build/services/AppService/types/accessRequests.d.ts.map +1 -0
- package/build/services/AppService/types/app.d.ts +243 -0
- package/build/services/AppService/types/app.d.ts.map +1 -0
- package/build/services/AppService/types/app.js +4 -0
- package/build/services/AppService/types/appCategories.d.ts +16 -0
- package/build/services/AppService/types/appCategories.d.ts.map +1 -0
- package/build/services/AppService/types/appChangelog.d.ts +31 -0
- package/build/services/AppService/types/appChangelog.d.ts.map +1 -0
- package/build/services/AppService/types/appChangelog.js +1 -0
- package/build/services/{AppManifest.d.ts → AppService/types/appManifest.d.ts} +16 -1
- package/build/services/AppService/types/appManifest.d.ts.map +1 -0
- package/build/services/AppService/types/appManifest.js +4 -0
- package/build/services/AppService/types/appMedia.d.ts +101 -0
- package/build/services/AppService/types/appMedia.d.ts.map +1 -0
- package/build/services/AppService/types/appMedia.js +1 -0
- package/build/services/AppService/types/appRequests.d.ts +107 -0
- package/build/services/AppService/types/appRequests.d.ts.map +1 -0
- package/build/services/AppService/types/appRequests.js +1 -0
- package/build/services/AppService/types/channels.d.ts +45 -0
- package/build/services/AppService/types/channels.d.ts.map +1 -0
- package/build/services/AppService/types/channels.js +1 -0
- package/build/services/AppService/types/pricingTiers.d.ts +85 -0
- package/build/services/AppService/types/pricingTiers.d.ts.map +1 -0
- package/build/services/AppService/types/pricingTiers.js +1 -0
- package/build/services/AppService/types/publisherStats.d.ts +20 -0
- package/build/services/AppService/types/publisherStats.d.ts.map +1 -0
- package/build/services/AppService/types/publisherStats.js +1 -0
- package/build/services/AppService/types/releaseChannels.d.ts +84 -0
- package/build/services/AppService/types/releaseChannels.d.ts.map +1 -0
- package/build/services/AppService/types/releaseChannels.js +1 -0
- package/build/services/AppService/types/seats.d.ts +184 -0
- package/build/services/AppService/types/seats.d.ts.map +1 -0
- package/build/services/AppService/types/seats.js +4 -0
- package/build/services/AppService/types/subscriptions.d.ts +182 -0
- package/build/services/AppService/types/subscriptions.d.ts.map +1 -0
- package/build/services/AppService/types/subscriptions.js +1 -0
- package/build/services/AppService/types.d.ts +14 -0
- package/build/services/AppService/types.d.ts.map +1 -0
- package/build/services/AppService/types.js +16 -0
- package/build/services/DmsService.d.ts +14 -2
- package/build/services/DmsService.d.ts.map +1 -1
- package/build/services/DmsService.js +1 -108
- package/build/services/DmsServiceImpl.d.ts +4 -0
- package/build/services/DmsServiceImpl.d.ts.map +1 -0
- package/build/services/DmsServiceImpl.js +92 -0
- package/build/services/DmsServiceUtil.d.ts +2 -0
- package/build/services/DmsServiceUtil.d.ts.map +1 -0
- package/build/services/DmsServiceUtil.js +19 -0
- package/build/services/Notifications/NotificationService.d.ts +23 -2
- package/build/services/Notifications/NotificationService.d.ts.map +1 -1
- package/build/services/Notifications/NotificationService.js +5 -0
- package/build/services/TableService.js +7 -7
- package/build/services/TaskService.types.d.ts +1 -0
- package/build/services/TaskService.types.d.ts.map +1 -1
- package/build/services/UserService.d.ts +2 -0
- package/build/services/UserService.d.ts.map +1 -1
- package/build/services/Websockets/StoreEvents.d.ts +14 -0
- package/build/services/Websockets/StoreEvents.d.ts.map +1 -0
- package/build/services/Websockets/StoreEvents.js +5 -0
- package/package.json +1 -1
- package/build/services/AppManifest.d.ts.map +0 -1
- package/build/services/AppService.d.ts +0 -57
- package/build/services/AppService.d.ts.map +0 -1
- package/build/services/AppService.js +0 -47
- package/build/services/AppService.types.d.ts +0 -173
- package/build/services/AppService.types.d.ts.map +0 -1
- /package/build/services/{AppManifest.js → AppService/types/accessRequests.js} +0 -0
- /package/build/services/{AppService.types.js → AppService/types/appCategories.js} +0 -0
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
export interface AppVersionAuthor {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
avatar?: string | null;
|
|
5
|
+
}
|
|
6
|
+
export interface AppVersion {
|
|
7
|
+
id: string;
|
|
8
|
+
app_id: string;
|
|
9
|
+
version: string;
|
|
10
|
+
created_at?: string;
|
|
11
|
+
updated_at?: string;
|
|
12
|
+
path: string;
|
|
13
|
+
external_path: string;
|
|
14
|
+
/** License-scope: is this the version installed at the license. */
|
|
15
|
+
on_license: {
|
|
16
|
+
installed: boolean;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Project-scope: is this the version activated in the current project.
|
|
20
|
+
* Null when there is no project context (or the app is not project_required).
|
|
21
|
+
*/
|
|
22
|
+
in_project: {
|
|
23
|
+
activated: boolean;
|
|
24
|
+
} | null;
|
|
25
|
+
release_notes?: string | null;
|
|
26
|
+
/** Uploaded zip size in bytes — null for external_path versions. */
|
|
27
|
+
build_size_bytes?: number | null;
|
|
28
|
+
/** Uploading user — only present when the `createdBy` relation is loaded. */
|
|
29
|
+
created_by?: AppVersionAuthor | null;
|
|
30
|
+
/** Licenses/installs currently pinned to this version. BE-populated; absent until then. */
|
|
31
|
+
install_count?: number | null;
|
|
32
|
+
/**
|
|
33
|
+
* Release channels this version is the active/published version of. Use to
|
|
34
|
+
* group installed versions by channel and badge the production version
|
|
35
|
+
* (`is_default`). A version can be active on more than one channel. Only
|
|
36
|
+
* present when the BE preloads it (single-app detail, version index).
|
|
37
|
+
*/
|
|
38
|
+
channels?: Array<{
|
|
39
|
+
id: string;
|
|
40
|
+
name: string;
|
|
41
|
+
color?: string | null;
|
|
42
|
+
is_default: boolean;
|
|
43
|
+
}>;
|
|
44
|
+
}
|
|
45
|
+
export interface AppMedia {
|
|
46
|
+
id: string;
|
|
47
|
+
app_id: string;
|
|
48
|
+
source: 'file' | 'link';
|
|
49
|
+
type: 'image' | 'video';
|
|
50
|
+
sort_order: number;
|
|
51
|
+
caption?: string;
|
|
52
|
+
is_featured: boolean;
|
|
53
|
+
url: string;
|
|
54
|
+
created_at?: string;
|
|
55
|
+
updated_at?: string;
|
|
56
|
+
mime_type?: string;
|
|
57
|
+
file_size?: number;
|
|
58
|
+
formatted_file_size?: string;
|
|
59
|
+
width?: number;
|
|
60
|
+
height?: number;
|
|
61
|
+
provider?: 'youtube' | 'vimeo';
|
|
62
|
+
provider_id?: string;
|
|
63
|
+
thumbnail_url?: string;
|
|
64
|
+
embed_url?: string;
|
|
65
|
+
}
|
|
66
|
+
export interface AttachVersionToAppFormData {
|
|
67
|
+
app_id: string;
|
|
68
|
+
app_version_id: string;
|
|
69
|
+
}
|
|
70
|
+
export interface AppVersionFormData {
|
|
71
|
+
/** Build .zip — sent as multipart when present. */
|
|
72
|
+
build?: File;
|
|
73
|
+
external_path?: string;
|
|
74
|
+
release_notes?: string | null;
|
|
75
|
+
}
|
|
76
|
+
interface AppMediaCommonFormData {
|
|
77
|
+
caption?: string;
|
|
78
|
+
is_featured?: boolean;
|
|
79
|
+
sort_order?: number;
|
|
80
|
+
}
|
|
81
|
+
interface AppMediaFileFormData extends AppMediaCommonFormData {
|
|
82
|
+
source: 'file';
|
|
83
|
+
/** Required for a file upload — sent as multipart. */
|
|
84
|
+
file: File;
|
|
85
|
+
}
|
|
86
|
+
interface AppMediaLinkFormData extends AppMediaCommonFormData {
|
|
87
|
+
source: 'link';
|
|
88
|
+
/** Required for a link — YouTube/Vimeo URL. */
|
|
89
|
+
url: string;
|
|
90
|
+
}
|
|
91
|
+
export type AppMediaFormData = AppMediaFileFormData | AppMediaLinkFormData;
|
|
92
|
+
export interface UpdateAppMediaFormData {
|
|
93
|
+
caption?: string;
|
|
94
|
+
is_featured?: boolean;
|
|
95
|
+
sort_order?: number;
|
|
96
|
+
}
|
|
97
|
+
export interface ReorderMediaFormData {
|
|
98
|
+
media_ids: string[];
|
|
99
|
+
}
|
|
100
|
+
export {};
|
|
101
|
+
//# sourceMappingURL=appMedia.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appMedia.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/appMedia.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,mEAAmE;IACnE,UAAU,EAAE;QAAE,SAAS,EAAE,OAAO,CAAA;KAAE,CAAA;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AAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,MAAM,CAAA;IACd,cAAc,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,kBAAkB;IACjC,mDAAmD;IACnD,KAAK,CAAC,EAAE,IAAI,CAAA;IACZ,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC9B;AAED,UAAU,sBAAsB;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,UAAU,oBAAqB,SAAQ,sBAAsB;IAC3D,MAAM,EAAE,MAAM,CAAA;IACd,sDAAsD;IACtD,IAAI,EAAE,IAAI,CAAA;CACX;AAED,UAAU,oBAAqB,SAAQ,sBAAsB;IAC3D,MAAM,EAAE,MAAM,CAAA;IACd,+CAA+C;IAC/C,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,GAAG,oBAAoB,CAAA;AAE1E,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,EAAE,CAAA;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import type { LabelFilterParams } from '../../LabelService';
|
|
2
|
+
import type { AppAvailability, AppTrustLevel } from './app';
|
|
3
|
+
export interface AppImpactAnalysis {
|
|
4
|
+
license_install_count: number;
|
|
5
|
+
project_install_count: number;
|
|
6
|
+
total_install_count: number;
|
|
7
|
+
pending_access_request_count: number;
|
|
8
|
+
propagation_template_count: number;
|
|
9
|
+
/** Licenses that currently have the app installed (accessibility-filtered). */
|
|
10
|
+
licenses: AppImpactLicense[];
|
|
11
|
+
/** Projects that currently have the app activated (accessibility-filtered). */
|
|
12
|
+
projects: AppImpactProject[];
|
|
13
|
+
}
|
|
14
|
+
/** A license that currently has the app installed, shown in the force-delete impact list. */
|
|
15
|
+
export interface AppImpactLicense {
|
|
16
|
+
id: string;
|
|
17
|
+
/** License display name; null when the license has no name set. */
|
|
18
|
+
name: string | null;
|
|
19
|
+
}
|
|
20
|
+
/** A project that currently has the app activated, shown in the force-delete impact list. */
|
|
21
|
+
export interface AppImpactProject {
|
|
22
|
+
id: string;
|
|
23
|
+
/** Project display name; null when the project has no name set. */
|
|
24
|
+
name: string | null;
|
|
25
|
+
/** Project number; null when the project has none. */
|
|
26
|
+
number: string | null;
|
|
27
|
+
/** Name of the owning license; null when the project has no license or it is unnamed. */
|
|
28
|
+
license_name: string | null;
|
|
29
|
+
}
|
|
30
|
+
export interface AppTemplate {
|
|
31
|
+
title?: string;
|
|
32
|
+
readonly tagline?: string;
|
|
33
|
+
description?: string;
|
|
34
|
+
color?: string;
|
|
35
|
+
icon?: string;
|
|
36
|
+
/** Upload a new icon (File → multipart); a string is the persisted URL; null clears it. */
|
|
37
|
+
image?: File | string | null;
|
|
38
|
+
external_path?: string;
|
|
39
|
+
project_required?: boolean;
|
|
40
|
+
access_level?: 'community' | 'enterprise';
|
|
41
|
+
availability?: AppAvailability;
|
|
42
|
+
access_model?: 'free' | 'subscription';
|
|
43
|
+
readonly license_id?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Required on create and update. 1 or 2 category UUIDs from the
|
|
46
|
+
* operator-curated catalog (`GET /store/app-categories`). Legacy apps
|
|
47
|
+
* without categories must supply this on the next edit or the BE
|
|
48
|
+
* returns 422.
|
|
49
|
+
*/
|
|
50
|
+
category_ids: string[];
|
|
51
|
+
}
|
|
52
|
+
export interface AppFormData {
|
|
53
|
+
title?: string;
|
|
54
|
+
description?: string;
|
|
55
|
+
color?: string;
|
|
56
|
+
icon?: string;
|
|
57
|
+
external_path?: string;
|
|
58
|
+
image?: File | null;
|
|
59
|
+
availability?: AppAvailability;
|
|
60
|
+
project_required: boolean;
|
|
61
|
+
license_id: string | null;
|
|
62
|
+
category_ids: string[];
|
|
63
|
+
}
|
|
64
|
+
export type AppSortOption = 'updated_at' | 'title_asc' | 'title_desc' | 'trust' | 'newest' | 'popular';
|
|
65
|
+
export interface FetchAppsParams extends LabelFilterParams {
|
|
66
|
+
search?: string | null;
|
|
67
|
+
category_id?: string[];
|
|
68
|
+
/**
|
|
69
|
+
* - `browse` — public storefront
|
|
70
|
+
* - `installed` — apps installed in the current license/project context
|
|
71
|
+
* - `owned` — PUBLISHER view: apps published by the current license
|
|
72
|
+
* - `my_access` — BUYER "My Access": every app the current LICENSE has an
|
|
73
|
+
* entitlement to (installed, a live subscription, or an approved access
|
|
74
|
+
* grant), including accessible-but-not-yet-installed. License-scoped — the
|
|
75
|
+
* client must still filter per-user using `has_access` /
|
|
76
|
+
* `subscription.can_manage` (a seat-based app with no seat and no manage
|
|
77
|
+
* rights should be hidden).
|
|
78
|
+
*/
|
|
79
|
+
store_mode?: 'browse' | 'installed' | 'owned' | 'my_access';
|
|
80
|
+
/**
|
|
81
|
+
* With `my_access`: also include always-available/system apps the user can
|
|
82
|
+
* open on the license (e.g. Tables, ANT Store) even when the license never
|
|
83
|
+
* explicitly acquired them — makes `my_access` the single source of truth
|
|
84
|
+
* for "apps available to this user in this context" (AAD-713).
|
|
85
|
+
*/
|
|
86
|
+
include_available?: boolean;
|
|
87
|
+
availability?: AppAvailability;
|
|
88
|
+
trust_level?: AppTrustLevel;
|
|
89
|
+
include_deprecated?: boolean;
|
|
90
|
+
sort?: AppSortOption;
|
|
91
|
+
publisher?: string;
|
|
92
|
+
featured?: boolean;
|
|
93
|
+
level?: 'project' | 'license';
|
|
94
|
+
/** Drop a specific app from the result. Used by App Detail carousels. */
|
|
95
|
+
exclude_id?: string | null;
|
|
96
|
+
/** Cap the result count (1-50). Used by App Detail carousels. */
|
|
97
|
+
limit?: number;
|
|
98
|
+
}
|
|
99
|
+
export interface UninstallConflict {
|
|
100
|
+
message: string;
|
|
101
|
+
projects: {
|
|
102
|
+
id: string;
|
|
103
|
+
name: string;
|
|
104
|
+
}[];
|
|
105
|
+
requires_force: boolean;
|
|
106
|
+
}
|
|
107
|
+
//# sourceMappingURL=appRequests.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appRequests.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/appRequests.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAO3D,MAAM,WAAW,iBAAiB;IAChC,qBAAqB,EAAE,MAAM,CAAA;IAC7B,qBAAqB,EAAE,MAAM,CAAA;IAC7B,mBAAmB,EAAE,MAAM,CAAA;IAC3B,4BAA4B,EAAE,MAAM,CAAA;IACpC,0BAA0B,EAAE,MAAM,CAAA;IAClC,+EAA+E;IAC/E,QAAQ,EAAE,gBAAgB,EAAE,CAAA;IAC5B,+EAA+E;IAC/E,QAAQ,EAAE,gBAAgB,EAAE,CAAA;CAC7B;AAED,6FAA6F;AAC7F,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,mEAAmE;IACnE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CACpB;AAED,6FAA6F;AAC7F,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,mEAAmE;IACnE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,sDAAsD;IACtD,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,yFAAyF;IACzF,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;CAC5B;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,CAA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AU,CAAC,EAAE,QAAQ,GAAG,WAAW,GAAG,OAAO,GAAG,WAAW,CAAA;IAC3D;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,YAAY,CAAC,EAAE,eAAe,CAAA;IAC9B,WAAW,CAAC,EAAE,aAAa,CAAA;IAC3B,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;IAC7B,yEAAyE;IACzE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,iEAAiE;IACjE,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACxC,cAAc,EAAE,OAAO,CAAA;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { AppVersion } from './appMedia';
|
|
2
|
+
/**
|
|
3
|
+
* A release channel the current viewer can install from (single-app detail,
|
|
4
|
+
* `App.channels`). Drives the channel picker (e.g. Production vs Beta):
|
|
5
|
+
* `requires_subscription` is resolved for this viewer, `is_member` reflects
|
|
6
|
+
* specific-licenses access, and `active_version` is the installable build. Pass
|
|
7
|
+
* the chosen channel's `id` as `channel_id` to install so it is pinned to it.
|
|
8
|
+
*/
|
|
9
|
+
export interface AppChannel {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
color?: string | null;
|
|
13
|
+
is_default: boolean;
|
|
14
|
+
access_override: 'free' | null;
|
|
15
|
+
requires_subscription: boolean;
|
|
16
|
+
/** License-level availability (channel access_mode / membership). */
|
|
17
|
+
is_member: boolean;
|
|
18
|
+
/** Per-user open eligibility = is_member AND the user's grant channel scope. */
|
|
19
|
+
has_access: boolean;
|
|
20
|
+
/** The install's pinned/primary channel — the default the user lands on. */
|
|
21
|
+
is_primary: boolean;
|
|
22
|
+
/** Matches the user's remembered channel choice (see preferred_channel_id). */
|
|
23
|
+
is_preferred: boolean;
|
|
24
|
+
active_version: AppVersion | null;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A release channel the current user can open, as surfaced on the list/dashboard
|
|
28
|
+
* `ListApp` (scoped to channels with `has_access` — inaccessible ones are omitted
|
|
29
|
+
* server-side). Lets the FE render the split "Open" button + channel switcher on
|
|
30
|
+
* first load without fetching the full app. `>1 entry` ⇒ show the switcher.
|
|
31
|
+
*/
|
|
32
|
+
export interface AccessibleChannel {
|
|
33
|
+
id: string;
|
|
34
|
+
name: string;
|
|
35
|
+
color: string | null;
|
|
36
|
+
/** The install's pinned/primary channel — the default to open. */
|
|
37
|
+
is_primary: boolean;
|
|
38
|
+
/** Matches the user's remembered channel choice (App.preferred_channel_id). */
|
|
39
|
+
is_preferred: boolean;
|
|
40
|
+
active_version: {
|
|
41
|
+
id: string;
|
|
42
|
+
version: string;
|
|
43
|
+
} | null;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=channels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"channels.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/channels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAE5C;;;;;;GAMG;AACH,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,UAAU,EAAE,OAAO,CAAA;IACnB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,qBAAqB,EAAE,OAAO,CAAA;IAC9B,qEAAqE;IACrE,SAAS,EAAE,OAAO,CAAA;IAClB,gFAAgF;IAChF,UAAU,EAAE,OAAO,CAAA;IACnB,4EAA4E;IAC5E,UAAU,EAAE,OAAO,CAAA;IACnB,+EAA+E;IAC/E,YAAY,EAAE,OAAO,CAAA;IACrB,cAAc,EAAE,UAAU,GAAG,IAAI,CAAA;CAClC;AAED;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,kEAAkE;IAClE,UAAU,EAAE,OAAO,CAAA;IACnB,+EAA+E;IAC/E,YAAY,EAAE,OAAO,CAAA;IACrB,cAAc,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;CACvD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
export type BillingPeriod = 'monthly' | 'quarterly' | 'yearly' | 'one_time';
|
|
2
|
+
/**
|
|
3
|
+
* How a tier is billed. Drives which price fields apply:
|
|
4
|
+
* - `free` — no charge
|
|
5
|
+
* - `flat` — single `price_amount` per license
|
|
6
|
+
* - `seat` — `seat_unit_price` per assigned seat, with optional min/max seats
|
|
7
|
+
*/
|
|
8
|
+
export type PricingModel = 'free' | 'flat' | 'seat';
|
|
9
|
+
/** Tier amount field — accepts number, string (legacy BE), or null. */
|
|
10
|
+
export type PricingAmount = number | string | null;
|
|
11
|
+
/** A single feature line. Plain strings preferred; objects kept for legacy tiers. */
|
|
12
|
+
export type PricingFeature = string | Record<string, unknown>;
|
|
13
|
+
export interface PricingTier {
|
|
14
|
+
id: string;
|
|
15
|
+
subject_type: string;
|
|
16
|
+
subject_id: string;
|
|
17
|
+
name: string;
|
|
18
|
+
/** Descriptive line shown under the price on the storefront card. */
|
|
19
|
+
description: string | null;
|
|
20
|
+
price_description: string | null;
|
|
21
|
+
/** Pricing model driving the price fields. */
|
|
22
|
+
pricing_model?: PricingModel;
|
|
23
|
+
/** Numeric amount per billing period. Zero for the free tier. */
|
|
24
|
+
price_amount?: number | null;
|
|
25
|
+
/** ISO-4217 code. Defaults to EUR on BE when amount is set. */
|
|
26
|
+
price_currency?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
* Per-seat unit price added on top of `price_amount`. Required when
|
|
29
|
+
* `seat_based` is true; null on flat-rate tiers.
|
|
30
|
+
*/
|
|
31
|
+
seat_unit_price?: PricingAmount;
|
|
32
|
+
billing_period: BillingPeriod;
|
|
33
|
+
trial_days: number;
|
|
34
|
+
seat_based: boolean;
|
|
35
|
+
/** Minimum seats per license for seat-based tiers. */
|
|
36
|
+
min_seats?: number | null;
|
|
37
|
+
max_seats: number | null;
|
|
38
|
+
grace_period_days: number;
|
|
39
|
+
features: PricingFeature[] | null;
|
|
40
|
+
/** Highlights the tier (badge + accent border) on the storefront. */
|
|
41
|
+
recommended?: boolean;
|
|
42
|
+
is_active: boolean;
|
|
43
|
+
sort_order: number;
|
|
44
|
+
created_at: string;
|
|
45
|
+
updated_at: string;
|
|
46
|
+
subscription_count?: number;
|
|
47
|
+
}
|
|
48
|
+
export interface CreatePricingTierData {
|
|
49
|
+
name: string;
|
|
50
|
+
description?: string | null;
|
|
51
|
+
price_description?: string | null;
|
|
52
|
+
pricing_model?: PricingModel;
|
|
53
|
+
price_amount?: number | null;
|
|
54
|
+
price_currency?: string | null;
|
|
55
|
+
seat_unit_price?: number | null;
|
|
56
|
+
billing_period: BillingPeriod;
|
|
57
|
+
trial_days?: number;
|
|
58
|
+
seat_based?: boolean;
|
|
59
|
+
min_seats?: number | null;
|
|
60
|
+
max_seats?: number | null;
|
|
61
|
+
grace_period_days?: number;
|
|
62
|
+
features?: PricingFeature[] | null;
|
|
63
|
+
recommended?: boolean;
|
|
64
|
+
sort_order?: number;
|
|
65
|
+
}
|
|
66
|
+
export interface UpdatePricingTierData {
|
|
67
|
+
name?: string;
|
|
68
|
+
description?: string | null;
|
|
69
|
+
price_description?: string | null;
|
|
70
|
+
pricing_model?: PricingModel;
|
|
71
|
+
price_amount?: number | null;
|
|
72
|
+
price_currency?: string | null;
|
|
73
|
+
seat_unit_price?: number | null;
|
|
74
|
+
billing_period?: BillingPeriod;
|
|
75
|
+
trial_days?: number;
|
|
76
|
+
seat_based?: boolean;
|
|
77
|
+
min_seats?: number | null;
|
|
78
|
+
max_seats?: number | null;
|
|
79
|
+
grace_period_days?: number;
|
|
80
|
+
features?: PricingFeature[] | null;
|
|
81
|
+
recommended?: boolean;
|
|
82
|
+
sort_order?: number;
|
|
83
|
+
is_active?: boolean;
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=pricingTiers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pricingTiers.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/pricingTiers.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,CAAA;AAE3E;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;AAEnD,uEAAuE;AACvE,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAA;AAElD,qFAAqF;AACrF,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAE7D,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,qEAAqE;IACrE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,iBAAiB,EA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G,IAAI,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,EAAE,cAAc,EAAE,GAAG,IAAI,CAAA;IAClC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,aAAa,CAAC,EAAE,YAAY,CAAA;IAC5B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,cAAc,CAAC,EAAE,aAAa,CAAA;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,EAAE,cAAc,EAAE,GAAG,IAAI,CAAA;IAClC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface PublisherStatsAccessRequests {
|
|
2
|
+
pending: number;
|
|
3
|
+
approved: number;
|
|
4
|
+
denied: number;
|
|
5
|
+
expired: number;
|
|
6
|
+
}
|
|
7
|
+
export interface PublisherStatsApp {
|
|
8
|
+
app_id: string;
|
|
9
|
+
app_title: string;
|
|
10
|
+
app_icon_url: string | null;
|
|
11
|
+
install_count_total: number;
|
|
12
|
+
install_count_last_7d: number;
|
|
13
|
+
install_count_prev_7d: number;
|
|
14
|
+
/** null when prev_7d = 0 — render as "no baseline", semantically distinct from 0 */
|
|
15
|
+
install_trend_pct: number | null;
|
|
16
|
+
access_requests: PublisherStatsAccessRequests;
|
|
17
|
+
active_channels_count: number;
|
|
18
|
+
last_updated_at: string;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=publisherStats.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publisherStats.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/publisherStats.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,mBAAmB,EAAE,MAAM,CAAA;IAC3B,qBAAqB,EAAE,MAAM,CAAA;IAC7B,qBAAqB,EAAE,MAAM,CAAA;IAC7B,oFAAoF;IACpF,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,eAAe,EAAE,4BAA4B,CAAA;IAC7C,qBAAqB,EAAE,MAAM,CAAA;IAC7B,eAAe,EAAE,MAAM,CAAA;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import type { AppVersion } from './appMedia';
|
|
2
|
+
/**
|
|
3
|
+
* Per-channel access override (subscription bypass).
|
|
4
|
+
* - `'free'` — members of this channel skip the subscription/seat gate
|
|
5
|
+
* (other access controls still apply)
|
|
6
|
+
* - `null` — inherit the app's access model (default)
|
|
7
|
+
*
|
|
8
|
+
* Distinct from `ChannelAccessMode`, which governs WHO can access the channel.
|
|
9
|
+
*/
|
|
10
|
+
export type ReleaseChannelAccessOverride = 'free' | null;
|
|
11
|
+
/**
|
|
12
|
+
* Mutually-exclusive access mode for a release channel.
|
|
13
|
+
* - `'default'` — anyone with general app access can use the channel; the
|
|
14
|
+
* member pivot is ignored
|
|
15
|
+
* - `'specific_licenses'` — gated by the license-member pivot (the only mode
|
|
16
|
+
* whose membership grants entitlement)
|
|
17
|
+
*
|
|
18
|
+
* The former `'role'` mode (and per-channel RBAC roles) were removed.
|
|
19
|
+
*/
|
|
20
|
+
export type ChannelAccessMode = 'default' | 'specific_licenses';
|
|
21
|
+
export interface ReleaseChannel {
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
description: string | null;
|
|
25
|
+
color: string | null;
|
|
26
|
+
member_count: number | null;
|
|
27
|
+
active_version: AppVersion | null;
|
|
28
|
+
is_member: boolean;
|
|
29
|
+
access_override: ReleaseChannelAccessOverride;
|
|
30
|
+
access_mode: ChannelAccessMode;
|
|
31
|
+
sort_order: number;
|
|
32
|
+
/**
|
|
33
|
+
* Exactly one channel per app is the default. The default channel is
|
|
34
|
+
* auto-created on app creation and cannot be deleted; marking another
|
|
35
|
+
* channel default atomically demotes the previous one.
|
|
36
|
+
*/
|
|
37
|
+
is_default: boolean;
|
|
38
|
+
created_at?: string;
|
|
39
|
+
updated_at?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface CreateReleaseChannelData {
|
|
42
|
+
name: string;
|
|
43
|
+
description?: string;
|
|
44
|
+
color?: string | null;
|
|
45
|
+
access_override?: ReleaseChannelAccessOverride;
|
|
46
|
+
access_mode?: ChannelAccessMode;
|
|
47
|
+
sort_order?: number;
|
|
48
|
+
/** Marking this channel default atomically demotes the previous default. */
|
|
49
|
+
is_default?: boolean;
|
|
50
|
+
}
|
|
51
|
+
export interface UpdateReleaseChannelData {
|
|
52
|
+
name?: string;
|
|
53
|
+
/**
|
|
54
|
+
* `undefined` leaves the description unchanged; pass `null` to clear it.
|
|
55
|
+
*/
|
|
56
|
+
description?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* `undefined` leaves the color unchanged; pass `null` to clear it.
|
|
59
|
+
*/
|
|
60
|
+
color?: string | null;
|
|
61
|
+
sort_order?: number;
|
|
62
|
+
access_override?: ReleaseChannelAccessOverride;
|
|
63
|
+
access_mode?: ChannelAccessMode;
|
|
64
|
+
/**
|
|
65
|
+
* Set `true` to promote this channel to default (demotes the previous
|
|
66
|
+
* default). The backend rejects unsetting the current default.
|
|
67
|
+
*/
|
|
68
|
+
is_default?: boolean;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Compact license identity returned by the channel members endpoints —
|
|
72
|
+
* enough to render a chip without a directory lookup.
|
|
73
|
+
*/
|
|
74
|
+
export interface ReleaseChannelMember {
|
|
75
|
+
id: string;
|
|
76
|
+
name: string;
|
|
77
|
+
/** Hex string */
|
|
78
|
+
theme: string;
|
|
79
|
+
/** Company name of the member license, or null. */
|
|
80
|
+
company: string | null;
|
|
81
|
+
/** When the license was added to the channel (members list only). */
|
|
82
|
+
added_at?: string | null;
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=releaseChannels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"releaseChannels.d.ts","sourceRoot":"","sources":["../../../../src/services/AppService/types/releaseChannels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAE5C;;;;;;;GAOG;AACH,MAAM,MAAM,4BAA4B,GAAG,MAAM,GAAG,IAAI,CAAA;AAExD;;;;;;;;GAQG;AACH,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,mBAAmB,CAAA;AAE/D,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,E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