@antcde/connect-ts 0.4.48-rc.1 → 0.4.48
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 +0 -5
- package/build/AntConnect.d.ts.map +1 -1
- package/build/AntConnect.js +0 -4
- package/build/comms/dmsUpload.d.ts +1 -1
- package/build/comms/dmsUpload.d.ts.map +1 -1
- package/build/comms/dmsUpload.js +6 -30
- package/build/comms/dmsUpload.types.d.ts +0 -10
- package/build/comms/dmsUpload.types.d.ts.map +1 -1
- package/build/comms/dmsUpload.types.js +0 -2
- package/build/comms/dmsUploadClient.d.ts.map +1 -1
- package/build/comms/dmsUploadClient.js +12 -21
- package/build/comms/dmsUploadHost.d.ts.map +1 -1
- package/build/comms/dmsUploadHost.js +8 -23
- package/build/comms/host.d.ts.map +1 -1
- package/build/comms/host.js +1 -2
- package/build/comms/hostAPI.js +2 -2
- package/build/comms/models.d.ts +0 -3
- package/build/comms/models.d.ts.map +1 -1
- package/build/comms/signalFilePreviewTypes.d.ts +0 -2
- package/build/comms/signalFilePreviewTypes.d.ts.map +1 -1
- package/build/comms/signalTourTypes.d.ts +1 -1
- package/build/comms/signalTourTypes.d.ts.map +1 -1
- package/build/index.d.ts +1 -9
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1 -3
- package/build/service-runtime.d.ts +0 -1
- package/build/service-runtime.d.ts.map +1 -1
- package/build/service-runtime.js +0 -1
- package/build/service-types.d.ts +1 -1
- package/build/service-types.d.ts.map +1 -1
- package/build/services/AppService/types/bundles.d.ts +2 -1
- package/build/services/AppService/types/bundles.d.ts.map +1 -1
- package/build/services/AppService/types/subscriptions.d.ts +4 -1
- package/build/services/AppService/types/subscriptions.d.ts.map +1 -1
- package/build/services/ColumnService.d.ts +0 -16
- package/build/services/ColumnService.d.ts.map +1 -1
- package/build/services/DmsService.d.ts +4 -5
- package/build/services/DmsService.d.ts.map +1 -1
- package/build/services/DmsService.types.d.ts +2 -45
- package/build/services/DmsService.types.d.ts.map +1 -1
- package/build/services/DmsServiceImpl.d.ts.map +1 -1
- package/build/services/DmsServiceImpl.js +50 -5
- package/build/services/DmsServiceUtil.d.ts +0 -5
- package/build/services/DmsServiceUtil.d.ts.map +1 -1
- package/build/services/DmsServiceUtil.js +0 -4
- package/build/services/LicenseService.d.ts +1 -2
- package/build/services/LicenseService.d.ts.map +1 -1
- package/build/services/LicenseService.types.d.ts +1 -2
- package/build/services/LicenseService.types.d.ts.map +1 -1
- package/build/services/LicenseService.types.js +2 -2
- package/build/services/RBAC/PermissionService.d.ts +2 -2
- package/build/services/RBAC/PermissionService.d.ts.map +1 -1
- package/build/services/ResellerService.types.d.ts +0 -2
- package/build/services/ResellerService.types.d.ts.map +1 -1
- package/build/services/Table/ColumnReferenceService.d.ts +4 -9
- package/build/services/Table/ColumnReferenceService.d.ts.map +1 -1
- package/build/services/TableService.types.d.ts +1 -23
- package/build/services/TableService.types.d.ts.map +1 -1
- package/build/services/TaskService.d.ts +1 -7
- package/build/services/TaskService.d.ts.map +1 -1
- package/build/services/TaskService.js +1 -3
- package/build/services/TaskService.types.d.ts +1 -12
- package/build/services/TaskService.types.d.ts.map +1 -1
- package/package.json +1 -1
- package/build/comms/dmsVersionCalls.d.ts +0 -3
- package/build/comms/dmsVersionCalls.d.ts.map +0 -1
- package/build/comms/dmsVersionCalls.js +0 -16
- package/build/service-types-dms.d.ts +0 -4
- package/build/service-types-dms.d.ts.map +0 -1
- package/build/service-types-dms.js +0 -1
- package/build/services/DmsServiceLicenseImpl.d.ts +0 -6
- package/build/services/DmsServiceLicenseImpl.d.ts.map +0 -1
- package/build/services/DmsServiceLicenseImpl.js +0 -48
- package/build/services/DmsVersionService.d.ts +0 -45
- package/build/services/DmsVersionService.d.ts.map +0 -1
- package/build/services/DmsVersionService.js +0 -72
- package/build/services/DmsVersionService.types.d.ts +0 -151
- package/build/services/DmsVersionService.types.d.ts.map +0 -1
- package/build/services/DmsVersionService.types.js +0 -1
- package/build/services/LiveSupportEvents.types.d.ts +0 -70
- package/build/services/LiveSupportEvents.types.d.ts.map +0 -1
- package/build/services/LiveSupportEvents.types.js +0 -9
- package/build/services/LiveSupportReport.types.d.ts +0 -89
- package/build/services/LiveSupportReport.types.d.ts.map +0 -1
- package/build/services/LiveSupportReport.types.js +0 -1
- package/build/services/LiveSupportService.d.ts +0 -66
- package/build/services/LiveSupportService.d.ts.map +0 -1
- package/build/services/LiveSupportService.js +0 -24
- package/build/services/LiveSupportService.types.d.ts +0 -204
- package/build/services/LiveSupportService.types.d.ts.map +0 -1
- package/build/services/LiveSupportService.types.js +0 -23
- package/build/services/TaskTrail.types.d.ts +0 -47
- package/build/services/TaskTrail.types.d.ts.map +0 -1
- package/build/services/TaskTrail.types.js +0 -1
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import type { DmsFile } from './DmsService.types';
|
|
2
|
-
import type { UserShort } from "./UserService";
|
|
3
|
-
export type DmsScopeRef = {
|
|
4
|
-
type: 'project';
|
|
5
|
-
id: string;
|
|
6
|
-
} | {
|
|
7
|
-
type: 'license';
|
|
8
|
-
id: string;
|
|
9
|
-
};
|
|
10
|
-
export type DmsVersioningLevel = 'off' | 'history' | 'controlled';
|
|
11
|
-
export type DmsVersionState = 'current' | 'previous' | 'draft' | 'in_review' | 'approved' | 'superseded' | 'obsolete';
|
|
12
|
-
/** File-level state, only for files in controlled folders. */
|
|
13
|
-
export type DmsFileVersionState = 'draft' | 'in_review' | 'approved' | 'obsolete';
|
|
14
|
-
/** What `duplicate_action=replace` does for a file, per the folder's level and pins. */
|
|
15
|
-
export type DmsReplaceMode = 'overwrite' | 'version' | 'draft';
|
|
16
|
-
export interface DmsFileVersionSummary {
|
|
17
|
-
/** null = implicit v1 of a never-versioned file (legacy object). */
|
|
18
|
-
id: string | null;
|
|
19
|
-
number: number;
|
|
20
|
-
label: string | null;
|
|
21
|
-
state: DmsVersionState;
|
|
22
|
-
size: number;
|
|
23
|
-
extension: string;
|
|
24
|
-
created_at: string;
|
|
25
|
-
created_by: UserShort | null;
|
|
26
|
-
}
|
|
27
|
-
export interface DmsFileVersionAbilities {
|
|
28
|
-
download: boolean;
|
|
29
|
-
restore: boolean;
|
|
30
|
-
submit: boolean;
|
|
31
|
-
approve: boolean;
|
|
32
|
-
reject: boolean;
|
|
33
|
-
withdraw: boolean;
|
|
34
|
-
purge: boolean;
|
|
35
|
-
/** Discard an unapproved, unpinned draft. Absent on backends without the action. */
|
|
36
|
-
discard?: boolean;
|
|
37
|
-
}
|
|
38
|
-
export interface DmsFileVersion extends DmsFileVersionSummary {
|
|
39
|
-
original_filename: string;
|
|
40
|
-
mime: string;
|
|
41
|
-
sha256: string | null;
|
|
42
|
-
note: string | null;
|
|
43
|
-
is_current: boolean;
|
|
44
|
-
is_approved: boolean;
|
|
45
|
-
is_legacy: boolean;
|
|
46
|
-
/** false once purged or discarded. */
|
|
47
|
-
bytes_available: boolean;
|
|
48
|
-
restored_from_version_id: string | null;
|
|
49
|
-
submitted_at: string | null;
|
|
50
|
-
submitted_by: UserShort | null;
|
|
51
|
-
approved_at: string | null;
|
|
52
|
-
approved_by: UserShort | null;
|
|
53
|
-
rejected_at: string | null;
|
|
54
|
-
rejected_by: UserShort | null;
|
|
55
|
-
reject_reason: string | null;
|
|
56
|
-
withdrawn_at: string | null;
|
|
57
|
-
superseded_at: string | null;
|
|
58
|
-
obsoleted_at: string | null;
|
|
59
|
-
obsoleted_by: UserShort | null;
|
|
60
|
-
obsolete_reason: string | null;
|
|
61
|
-
purged_at: string | null;
|
|
62
|
-
purged_by: UserShort | null;
|
|
63
|
-
purge_reason: string | null;
|
|
64
|
-
/** A newer draft exists, so this one can only be discarded. */
|
|
65
|
-
is_replaced_draft?: boolean;
|
|
66
|
-
pinned: boolean;
|
|
67
|
-
can: DmsFileVersionAbilities;
|
|
68
|
-
}
|
|
69
|
-
export interface DmsVersionMutationResponse {
|
|
70
|
-
file: DmsFile;
|
|
71
|
-
version: DmsFileVersion;
|
|
72
|
-
}
|
|
73
|
-
export interface DmsFileVersionsResponse {
|
|
74
|
-
data: DmsFileVersion[];
|
|
75
|
-
file: DmsFile;
|
|
76
|
-
}
|
|
77
|
-
export type DmsFileEventType = 'created' | 'new_version' | 'restored' | 'renamed' | 'moved' | 'deleted' | 'undeleted' | 'submitted' | 'approved' | 'rejected' | 'withdrawn' | 'obsoleted' | 'purged' | 'discarded' | 'downloaded' | 'level_changed';
|
|
78
|
-
export interface DmsFileEvent {
|
|
79
|
-
id: string;
|
|
80
|
-
event: DmsFileEventType;
|
|
81
|
-
created_at: string;
|
|
82
|
-
actor: UserShort | null;
|
|
83
|
-
version: {
|
|
84
|
-
id: string;
|
|
85
|
-
number: number;
|
|
86
|
-
label: string | null;
|
|
87
|
-
} | null;
|
|
88
|
-
reason: string | null;
|
|
89
|
-
meta: Record<string, unknown> | null;
|
|
90
|
-
}
|
|
91
|
-
export interface DmsFileEventsResponse {
|
|
92
|
-
data: DmsFileEvent[];
|
|
93
|
-
links: {
|
|
94
|
-
first: string | null;
|
|
95
|
-
last: string | null;
|
|
96
|
-
prev: string | null;
|
|
97
|
-
next: string | null;
|
|
98
|
-
};
|
|
99
|
-
meta: {
|
|
100
|
-
current_page: number;
|
|
101
|
-
from: number | null;
|
|
102
|
-
path: string;
|
|
103
|
-
per_page: number;
|
|
104
|
-
to: number | null;
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
export interface DmsFolderVersioning {
|
|
108
|
-
folder_token: string;
|
|
109
|
-
/** The folder's own setting; null = inherits. */
|
|
110
|
-
level: DmsVersioningLevel | null;
|
|
111
|
-
effective_level: DmsVersioningLevel;
|
|
112
|
-
/** Source of the inherited level; null when it is the default. */
|
|
113
|
-
inherited_from: {
|
|
114
|
-
token: string;
|
|
115
|
-
name: string;
|
|
116
|
-
} | null;
|
|
117
|
-
/** What the folder gets when it inherits, also when it has its own level. */
|
|
118
|
-
inherited_level?: DmsVersioningLevel;
|
|
119
|
-
approver_not_author: boolean;
|
|
120
|
-
keep_last: number | null;
|
|
121
|
-
/** A materialisation job was queued by this request. */
|
|
122
|
-
materializing?: boolean;
|
|
123
|
-
}
|
|
124
|
-
export interface DmsFolderVersioningPayload {
|
|
125
|
-
/** null removes the folder's own setting (inherit). */
|
|
126
|
-
level: DmsVersioningLevel | null;
|
|
127
|
-
approver_not_author?: boolean;
|
|
128
|
-
/** 1–1000 or null; only stored for `history`. */
|
|
129
|
-
keep_last?: number | null;
|
|
130
|
-
}
|
|
131
|
-
export interface DmsLicenseSettings {
|
|
132
|
-
superseded_retention_days: number | null;
|
|
133
|
-
superseded_retention_days_default: number;
|
|
134
|
-
}
|
|
135
|
-
export interface DmsUploadVersionPayload {
|
|
136
|
-
/** Temp key from the scope's upload-url endpoint. */
|
|
137
|
-
key: string;
|
|
138
|
-
filename: string;
|
|
139
|
-
note?: string;
|
|
140
|
-
}
|
|
141
|
-
export interface DmsFileEventsParams {
|
|
142
|
-
page?: number;
|
|
143
|
-
per_page?: number;
|
|
144
|
-
}
|
|
145
|
-
export type DmsVersioningErrorCode = 'DMS_VERSION_NOT_FOUND' | 'DMS_VERSION_PURGED' | 'DMS_FILE_TRASHED' | 'DMS_VERSION_INVALID_STATE' | 'DMS_FOLDER_NOT_CONTROLLED' | 'DMS_APPROVER_IS_AUTHOR' | 'DMS_NO_APPROVED_VERSION' | 'DMS_VERSION_PROTECTED' | 'DMS_FILE_PINNED' | 'DMS_VERSIONING_PENDING_DRAFTS' | 'DMS_EXTERNAL_LINK_UNVERSIONED' | 'DMS_STORAGE_UNREADABLE';
|
|
146
|
-
export interface DmsVersioningErrorBody {
|
|
147
|
-
error: DmsVersioningErrorCode;
|
|
148
|
-
message: string;
|
|
149
|
-
details?: Record<string, unknown>;
|
|
150
|
-
}
|
|
151
|
-
//# sourceMappingURL=DmsVersionService.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DmsVersionService.types.d.ts","sourceRoot":"","sources":["../../src/services/DmsVersionService.types.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;AAE9B,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,sBAAsB,CAAA;IAC7B,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAClC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import type { SupportLiveSession } from './LiveSupportReport.types';
|
|
2
|
-
import type { SupportRequest, SupportSession, SupportUnavailableReason } from './LiveSupportService.types';
|
|
3
|
-
/** Echo channel names (without the `private-` prefix Echo adds). */
|
|
4
|
-
export declare const SUPPORT_CHANNEL: (licenseId: string) => string;
|
|
5
|
-
export declare const SUPPORT_REQUEST_CHANGED = "support.request.changed";
|
|
6
|
-
export declare const SUPPORT_SESSION_CHANGED = "support.session.changed";
|
|
7
|
-
export declare const SUPPORT_AVAILABILITY_CHANGED = "support.availability.changed";
|
|
8
|
-
/** Broadcast-notification `type`s on `App.User.{id}`. */
|
|
9
|
-
export declare const SUPPORT_REQUEST_SUBMITTED = "support.request.submitted";
|
|
10
|
-
export declare const SUPPORT_REQUEST_REOPENED = "support.request.reopened";
|
|
11
|
-
/** Both live events carry the state after the change: who is connected now, and the cap. */
|
|
12
|
-
interface SupportLiveState {
|
|
13
|
-
live_sessions: SupportLiveSession[];
|
|
14
|
-
max_parallel_sessions: number;
|
|
15
|
-
}
|
|
16
|
-
/** `support.request.changed` on the licence channels and `App.User.{id}` of everyone connected. */
|
|
17
|
-
export interface SupportRequestChangedEvent extends SupportLiveState {
|
|
18
|
-
type: 'created' | 'access_level_changed' | 'resolved_by_reseller' | 'reopened' | 'closed';
|
|
19
|
-
support_request: Pick<SupportRequest, 'id' | 'status' | 'access_level' | 'close_reason'> & {
|
|
20
|
-
license_id: string;
|
|
21
|
-
reseller_license_id: string;
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
/** `support.session.changed` on the licence channels and `App.User.{id}` of everyone connected. */
|
|
25
|
-
export interface SupportSessionChangedEvent extends SupportLiveState {
|
|
26
|
-
type: 'connected' | 'extended' | 'ended';
|
|
27
|
-
support_session: Pick<SupportSession, 'id' | 'support_request_id' | 'license_id' | 'reseller_license_id' | 'started_at' | 'expires_at' | 'ended_at' | 'end_reason' | 'end_reason_text' | 'ended_by'> & {
|
|
28
|
-
user: {
|
|
29
|
-
id: string;
|
|
30
|
-
name: string | null;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
/** `support.availability.changed` on both licences' channels when the reseller flips the switch. */
|
|
35
|
-
export interface SupportAvailabilityChangedEvent {
|
|
36
|
-
/** The customer licence. */
|
|
37
|
-
license_id: string;
|
|
38
|
-
reseller_license_id: string;
|
|
39
|
-
live_support: boolean;
|
|
40
|
-
/** Same meaning as `SupportAvailability.available` / `reason`. */
|
|
41
|
-
available: boolean;
|
|
42
|
-
reason: SupportUnavailableReason | null;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* The OS toast for reseller admins: a Laravel broadcast notification on `App.User.{id}` (Echo `.notification()`),
|
|
46
|
-
* `type` `support.request.submitted` or `support.request.reopened`.
|
|
47
|
-
*/
|
|
48
|
-
export interface SupportRequestAlertNotification {
|
|
49
|
-
id: string;
|
|
50
|
-
type: typeof SUPPORT_REQUEST_SUBMITTED | typeof SUPPORT_REQUEST_REOPENED;
|
|
51
|
-
support_request_id: string;
|
|
52
|
-
/** The customer licence. */
|
|
53
|
-
license_id: string;
|
|
54
|
-
license_name: string | null;
|
|
55
|
-
reseller_license_id: string;
|
|
56
|
-
requested_by: {
|
|
57
|
-
id: string;
|
|
58
|
-
name: string | null;
|
|
59
|
-
} | null;
|
|
60
|
-
/** The request's message, at most 200 characters. */
|
|
61
|
-
message: string;
|
|
62
|
-
/** Reopened only: why, at most 200 characters. */
|
|
63
|
-
reopen_note: string | null;
|
|
64
|
-
/** The reseller's open requests after this one: the badge count. */
|
|
65
|
-
open_requests: number;
|
|
66
|
-
/** Deep link into the Store's Reseller section. */
|
|
67
|
-
url: string;
|
|
68
|
-
}
|
|
69
|
-
export {};
|
|
70
|
-
//# sourceMappingURL=LiveSupportEvents.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LiveSupportEvents.types.d.ts","sourceRoot":"","sources":["../../src/services/LiveSupportEvents.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAG1G,oEAAoE;AACpE,eAAO,MAAM,eAAe,GAAI,WAAW,MAAM,KAAG,MAA4C,CAAA;AAChG,eAAO,MAAM,uBAAuB,4BAA4B,CAAA;AAChE,eAAO,MAAM,uBAAuB,4BAA4B,CAAA;AAChE,eAAO,MAAM,4BAA4B,iCAAiC,CAAA;AAC1E,yDAAyD;AACzD,eAAO,MAAM,yBAAyB,8BAA8B,CAAA;AACpE,eAAO,MAAM,wBAAwB,6BAA6B,CAAA;AAElE,4FAA4F;AAC5F,UAAU,gBAAgB;IACxB,aAAa,EAAE,kBAAkB,EAAE,CAAA;IACnC,qBAAqB,EAAE,MAAM,CAAA;CAC9B;AAED,mGAAmG;AACnG,MAAM,WAAW,0BAA2B,SAAQ,gBAAgB;IAClE,IAAI,EAAE,SAAS,GAAG,sBAAsB,GAAG,sBAAsB,GAAG,UAAU,GAAG,QAAQ,CAAA;IACzF,eAAe,EAAE,IAAI,CAAC,cAAc,EAAE,IAAI,GAAG,QAAQ,GAAG,cAAc,GAAG,cAAc,CAAC,GAAG;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,mBAAmB,EAAE,MAAM,CAAA;KAAE,CAAA;CAC/I;AAED,mGAAmG;AACnG,MAAM,WAAW,0BAA2B,SAAQ,gBAAgB;IAClE,IAAI,EAAE,WAAW,GAAG,UAAU,GAAG,OAAO,CAAA;IAC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Echo channel names (without the `private-` prefix Echo adds). */
|
|
3
|
-
export const SUPPORT_CHANNEL = (licenseId) => `App.License.${licenseId}.Support`;
|
|
4
|
-
export const SUPPORT_REQUEST_CHANGED = 'support.request.changed';
|
|
5
|
-
export const SUPPORT_SESSION_CHANGED = 'support.session.changed';
|
|
6
|
-
export const SUPPORT_AVAILABILITY_CHANGED = 'support.availability.changed';
|
|
7
|
-
/** Broadcast-notification `type`s on `App.User.{id}`. */
|
|
8
|
-
export const SUPPORT_REQUEST_SUBMITTED = 'support.request.submitted';
|
|
9
|
-
export const SUPPORT_REQUEST_REOPENED = 'support.request.reopened';
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import type { SupportBlockedCategory, SupportSessionEndReason, SupportUser } from './LiveSupportService.types';
|
|
2
|
-
/** Who ended a session: the customer admin who pressed Stop or changed access, or who resolved. Null for time-outs. */
|
|
3
|
-
export interface SupportEndedBy {
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
}
|
|
7
|
-
/** One connected reseller user, as the live events and `live_sessions` carry them. */
|
|
8
|
-
export interface SupportLiveSession {
|
|
9
|
-
id: string;
|
|
10
|
-
user: {
|
|
11
|
-
id: string;
|
|
12
|
-
name: string | null;
|
|
13
|
-
};
|
|
14
|
-
started_at: string;
|
|
15
|
-
expires_at: string;
|
|
16
|
-
}
|
|
17
|
-
/** Why Connect is refused up front; `already_connected` means "Return to session". */
|
|
18
|
-
export type SupportConnectBlock = 'request_closed' | 'awaiting_confirmation' | 'unavailable' | 'access_none' | 'already_connected' | 'cap_reached' | 'already_member' | 'two_factor_required' | 'interactive_only';
|
|
19
|
-
/** `connect` on a request, for reseller admins only (absent for customer callers). */
|
|
20
|
-
export interface SupportConnectState {
|
|
21
|
-
allowed: boolean;
|
|
22
|
-
reason: SupportConnectBlock | null;
|
|
23
|
-
/** Live sessions on this customer now. */
|
|
24
|
-
connected: number;
|
|
25
|
-
/** `max_parallel_sessions`. */
|
|
26
|
-
max: number;
|
|
27
|
-
/** The caller's own live session on this request. */
|
|
28
|
-
my_session_id: string | null;
|
|
29
|
-
}
|
|
30
|
-
/** One thing a grouped line groups: a document of a bulk move, a refused attempt. Same `key`s as a line. */
|
|
31
|
-
export interface SupportReportDetail {
|
|
32
|
-
key: string;
|
|
33
|
-
params: Record<string, string | number | string[] | null>;
|
|
34
|
-
/** Ready-to-show English, e.g. "Asked the publisher for access to app 'Site Diary'". */
|
|
35
|
-
text: string;
|
|
36
|
-
}
|
|
37
|
-
/** One deduplicated line of a session report, in order of `first_at`. `text` is ready-to-show English. */
|
|
38
|
-
export interface SupportReportLine {
|
|
39
|
-
kind: 'viewed' | 'changed';
|
|
40
|
-
/** Stable key, e.g. `table.viewed`, `rows.added`. */
|
|
41
|
-
key: string;
|
|
42
|
-
text: string;
|
|
43
|
-
/** Names as they were at the time (null when gone). `item.changed`: `type`, `name`, `part`, `verb`, `method`, or `area`. */
|
|
44
|
-
params: Record<string, string | number | string[] | null>;
|
|
45
|
-
/** What the line groups, each a sentence of its own; empty for most lines. Show behind an expand. */
|
|
46
|
-
details: SupportReportDetail[];
|
|
47
|
-
/** Views: how often. Changes: how many rows or items. */
|
|
48
|
-
count: number;
|
|
49
|
-
first_at: string;
|
|
50
|
-
last_at: string;
|
|
51
|
-
/** Null in the default licence-admin view. */
|
|
52
|
-
viewing_as: {
|
|
53
|
-
role_name: string;
|
|
54
|
-
project_name: string | null;
|
|
55
|
-
text: string;
|
|
56
|
-
} | null;
|
|
57
|
-
}
|
|
58
|
-
export interface SupportReportSession {
|
|
59
|
-
id: string;
|
|
60
|
-
started_at: string;
|
|
61
|
-
/** Null while live. */
|
|
62
|
-
ended_at: string | null;
|
|
63
|
-
live: boolean;
|
|
64
|
-
end_reason: SupportSessionEndReason | null;
|
|
65
|
-
/** One sentence: the licence, how long it ran, who or what ended it, e.g. "The support session for Acme expired after 1 h: its time ran out." */
|
|
66
|
-
end_reason_text: string | null;
|
|
67
|
-
/** Equals the session's user when they exited. */
|
|
68
|
-
ended_by: SupportEndedBy | null;
|
|
69
|
-
lines: SupportReportLine[];
|
|
70
|
-
/** `details`: each refused attempt, e.g. "Asked to change the plan of licence 'Acme'". */
|
|
71
|
-
blocked: {
|
|
72
|
-
count: number;
|
|
73
|
-
categories: SupportBlockedCategory[];
|
|
74
|
-
text: string;
|
|
75
|
-
details: SupportReportDetail[];
|
|
76
|
-
} | null;
|
|
77
|
-
}
|
|
78
|
-
/** `GET /support-requests/{id}/report`: the request, by person, then session. */
|
|
79
|
-
export interface SupportRequestReport {
|
|
80
|
-
people: Array<{
|
|
81
|
-
user: SupportUser;
|
|
82
|
-
sessions: SupportReportSession[];
|
|
83
|
-
}>;
|
|
84
|
-
}
|
|
85
|
-
/** `GET /support-sessions/{id}/report`. */
|
|
86
|
-
export type SupportSessionReport = SupportReportSession & {
|
|
87
|
-
user: SupportUser;
|
|
88
|
-
};
|
|
89
|
-
//# sourceMappingURL=LiveSupportReport.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LiveSupportReport.types.d.ts","sourceRoot":"","sources":["../../src/services/LiveSupportReport.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAE9G,uHAAuH;AACvH,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;CACb;AAED,sFAAsF;AACtF,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAA;IACzC,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,sFAAsF;AACtF,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,GAAG,uBAAuB,GAAG,aAAa,GAAG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V,UAAU,EAAE,MAAM,CAAA;IAClB,uBAAuB;IACvB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,IAAI,EAAE,OAAO,CAAA;IACb,UAAU,EAAE,uBAAuB,GAAG,IAAI,CAAA;IAC1C,iJAAiJ;IACjJ,eAAe,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,kDAAkD;IAClD,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAA;IAC/B,KAAK,EAAE,iBAAiB,EAAE,CAAA;IAC1B,0FAA0F;IAC1F,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,sBAAsB,EAAE,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,mBAAmB,EAAE,CAAA;KAAE,GAAG,IAAI,CAAA;CACtH;AAED,iFAAiF;AACjF,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,WAAW,CAAC;QAAC,QAAQ,EAAE,oBAAoB,EAAE,CAAA;KAAE,CAAC,CAAA;CACvE;AAED,2CAA2C;AAC3C,MAAM,MAAM,oBAAoB,GAAG,oBAAoB,GAAG;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import type { SupportRequestReport, SupportSessionReport } from './LiveSupportReport.types';
|
|
2
|
-
import type { CreateSupportRequestData, SupportAccessLevel, SupportAvailability, SupportRequest, SupportRequestCounts, SupportRequestDetail, SupportRequestStatus, SupportSession, ViewAsRoleOptions, ViewAsRoleQuery } from './LiveSupportService.types';
|
|
3
|
-
import type { AntHttpClient } from "../AntHttpClient";
|
|
4
|
-
/** A page of a paginated list (Laravel `paginate()`). */
|
|
5
|
-
export interface SupportPage<T> {
|
|
6
|
-
data: T[];
|
|
7
|
-
meta: {
|
|
8
|
-
current_page: number;
|
|
9
|
-
last_page: number;
|
|
10
|
-
per_page: number;
|
|
11
|
-
total: number;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
/** One object per page, e.g. the role options: `data` is not a list. */
|
|
15
|
-
export interface SupportPageOf<T> {
|
|
16
|
-
data: T;
|
|
17
|
-
meta: SupportPage<T>['meta'];
|
|
18
|
-
}
|
|
19
|
-
export interface SupportListQuery {
|
|
20
|
-
status?: SupportRequestStatus;
|
|
21
|
-
per_page?: number;
|
|
22
|
-
page?: number;
|
|
23
|
-
}
|
|
24
|
-
/** Reseller live support (AAD-1308), behind `support_requests`; error codes and events in the types file. */
|
|
25
|
-
export interface LiveSupportService {
|
|
26
|
-
/** Whether Request support shows on Plans & usage, the reseller's contact, the active request. */
|
|
27
|
-
availability: (licenseId: string) => Promise<SupportAvailability>;
|
|
28
|
-
requests: (licenseId: string, query?: SupportListQuery) => Promise<SupportPage<SupportRequest>>;
|
|
29
|
-
/** 409 SUPPORT_UNAVAILABLE (`reason`) | SUPPORT_REQUEST_OPEN (`support_request_id`). */
|
|
30
|
-
createRequest: (licenseId: string, data: CreateSupportRequestData) => Promise<SupportRequest>;
|
|
31
|
-
/** Withdraw the request, open or awaiting_confirmation; every session ends. */
|
|
32
|
-
cancel: (requestId: string) => Promise<SupportRequest>;
|
|
33
|
-
/** Disagree with the reseller's Resolve: back to open, the reseller may connect again. 409 SUPPORT_REQUEST_NOT_AWAITING | SUPPORT_REQUEST_CLOSED. */
|
|
34
|
-
reopen: (requestId: string, note?: string | null) => Promise<SupportRequest>;
|
|
35
|
-
/** At any time; `none` ends every live session. */
|
|
36
|
-
setAccessLevel: (requestId: string, accessLevel: SupportAccessLevel) => Promise<SupportRequest>;
|
|
37
|
-
/** End every live session now; the request stays open. Resolves to the number ended. */
|
|
38
|
-
stop: (requestId: string) => Promise<number>;
|
|
39
|
-
request: (requestId: string) => Promise<SupportRequestDetail>;
|
|
40
|
-
/** Reseller: ends every session, now `awaiting_confirmation`. Customer: closes as `resolved` (also the confirmation). */
|
|
41
|
-
resolve: (requestId: string, note?: string | null) => Promise<SupportRequest>;
|
|
42
|
-
sessions: (requestId: string) => Promise<SupportSession[]>;
|
|
43
|
-
/** What was seen and changed, by person, then session. */
|
|
44
|
-
report: (requestId: string) => Promise<SupportRequestReport>;
|
|
45
|
-
sessionReport: (sessionId: string) => Promise<SupportSessionReport>;
|
|
46
|
-
/** Turn live support on or off for one customer; off ends its live sessions. */
|
|
47
|
-
setLiveSupport: (resellerLicenseId: string, customerLicenseId: string, enabled: boolean) => Promise<{
|
|
48
|
-
license_id: string;
|
|
49
|
-
live_support: boolean;
|
|
50
|
-
}>;
|
|
51
|
-
/** Requests from the reseller's customers: open first, then awaiting_confirmation. */
|
|
52
|
-
resellerRequests: (resellerLicenseId: string, query?: SupportListQuery) => Promise<SupportPage<SupportRequest>>;
|
|
53
|
-
/** Active requests by status, for the Store sidebar badge (`open`). Refetch on `support.request.changed`. */
|
|
54
|
-
resellerRequestCounts: (resellerLicenseId: string) => Promise<SupportRequestCounts>;
|
|
55
|
-
/** Start (or rejoin) a session, then switch into `license_id`; refusals are the `SUPPORT_*` codes. */
|
|
56
|
-
connect: (requestId: string) => Promise<SupportSession>;
|
|
57
|
-
/** The caller's live sessions, to restore the banner after a reload. */
|
|
58
|
-
currentSessions: () => Promise<SupportSession[]>;
|
|
59
|
-
/** +30 min, up to `max_expires_at`; 409 SUPPORT_EXTEND_LIMIT at the ceiling. */
|
|
60
|
-
extend: (sessionId: string) => Promise<SupportSession>;
|
|
61
|
-
exit: (sessionId: string) => Promise<SupportSession>;
|
|
62
|
-
/** The roles the banner's picker offers: licence roles in full, projects one page at a time. */
|
|
63
|
-
viewAsOptions: (licenseId: string, query?: ViewAsRoleQuery) => Promise<SupportPageOf<ViewAsRoleOptions>>;
|
|
64
|
-
}
|
|
65
|
-
export declare function newLiveSupportService(httpClient: AntHttpClient): LiveSupportService;
|
|
66
|
-
//# sourceMappingURL=LiveSupportService.d.ts.map
|
|
@@ -1 +0,0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;IAClJ,sFAAsF;IACtF,gBAAgB,EAAE,CAAC,iBAAiB,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,gBAAgB,KAAK,OAAO,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC,CAAA;IAC/G,6GAA6G;IAC7G,qBAAqB,EAAE,CAAC,iBAAiB,EAAE,MAAM,KAAK,OAAO,CAAC,oBAAoB,CAAC,CAAA;IACnF,sGAAsG;IACtG,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,cAAc,CAAC,CAAA;IACvD,wEAAwE;IACxE,eAAe,EAAE,MAAM,OAAO,CAAC,cAAc,EAAE,CAAC,CAAA;IAChD,gFAAgF;IAChF,MAAM,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,cAAc,CAAC,CAAA;IACtD,IAAI,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,cAAc,CAAC,CAAA;IAGpD,gGAAgG;IAChG,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,eAAe,KAAK,OAAO,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC,CAAA;CACzG;AAED,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,aAAa,GAAG,kBAAkB,CA8BnF"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export function newLiveSupportService(httpClient) {
|
|
2
|
-
return {
|
|
3
|
-
availability: licenseId => httpClient.get(`/licenses/${licenseId}/support`).then(r => r.data),
|
|
4
|
-
requests: (licenseId, query = {}) => httpClient.get(`/licenses/${licenseId}/support-requests`, { params: query }),
|
|
5
|
-
createRequest: (licenseId, data) => httpClient.post(`/licenses/${licenseId}/support-requests`, data).then(r => r.data),
|
|
6
|
-
cancel: requestId => httpClient.post(`/support-requests/${requestId}/cancel`).then(r => r.data),
|
|
7
|
-
reopen: (requestId, note) => httpClient.post(`/support-requests/${requestId}/reopen`, { note: note ?? null }).then(r => r.data),
|
|
8
|
-
setAccessLevel: (requestId, accessLevel) => httpClient.put(`/support-requests/${requestId}/access-level`, { access_level: accessLevel }).then(r => r.data),
|
|
9
|
-
stop: requestId => httpClient.post(`/support-requests/${requestId}/stop`).then(r => r.data.ended),
|
|
10
|
-
request: requestId => httpClient.get(`/support-requests/${requestId}`),
|
|
11
|
-
resolve: (requestId, note) => httpClient.post(`/support-requests/${requestId}/resolve`, { note: note ?? null }).then(r => r.data),
|
|
12
|
-
sessions: requestId => httpClient.get(`/support-requests/${requestId}/sessions`).then(r => r.data),
|
|
13
|
-
report: requestId => httpClient.get(`/support-requests/${requestId}/report`).then(r => r.data),
|
|
14
|
-
sessionReport: sessionId => httpClient.get(`/support-sessions/${sessionId}/report`).then(r => r.data),
|
|
15
|
-
setLiveSupport: (resellerLicenseId, customerLicenseId, enabled) => httpClient.put(`/licenses/${resellerLicenseId}/reseller/customers/${customerLicenseId}/live-support`, { enabled }).then(r => r.data),
|
|
16
|
-
resellerRequests: (resellerLicenseId, query = {}) => httpClient.get(`/licenses/${resellerLicenseId}/reseller/support-requests`, { params: query }),
|
|
17
|
-
resellerRequestCounts: resellerLicenseId => httpClient.get(`/licenses/${resellerLicenseId}/reseller/support-requests/counts`).then(r => r.data),
|
|
18
|
-
connect: requestId => httpClient.post(`/support-requests/${requestId}/connect`).then(r => r.data),
|
|
19
|
-
currentSessions: () => httpClient.get('/support-sessions/current').then(r => r.data),
|
|
20
|
-
extend: sessionId => httpClient.post(`/support-sessions/${sessionId}/extend`).then(r => r.data),
|
|
21
|
-
exit: sessionId => httpClient.post(`/support-sessions/${sessionId}/exit`).then(r => r.data),
|
|
22
|
-
viewAsOptions: (licenseId, query = {}) => httpClient.get(`/licenses/${licenseId}/view-as/roles`, { params: query }),
|
|
23
|
-
};
|
|
24
|
-
}
|
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
import type { SupportConnectState, SupportEndedBy } from './LiveSupportReport.types';
|
|
2
|
-
/** Live support (AAD-1308): 404 while `support_requests` is off. PUBLISHED CONTRACT, mirrors the backend enum. */
|
|
3
|
-
/** `open` and `awaiting_confirmation` are active: one per licence. `awaiting_confirmation`: the reseller pressed Resolve, the customer confirms or reopens. */
|
|
4
|
-
export type SupportRequestStatus = 'open' | 'awaiting_confirmation' | 'resolved' | 'cancelled' | 'expired';
|
|
5
|
-
/** How far the customer lets the reseller in. `none` ends every live session at once. */
|
|
6
|
-
export type SupportAccessLevel = 'none' | 'view' | 'manage';
|
|
7
|
-
/** `request_closed` is legacy (old rows only): read it as `request_resolved`. */
|
|
8
|
-
export type SupportSessionEndReason = 'exited' | 'expired' | 'stopped' | 'access_revoked' | 'no_longer_allowed' | 'request_closed' | 'request_resolved' | 'request_cancelled' | 'request_expired' | 'reseller_unlinked' | 'support_switched_off';
|
|
9
|
-
/** Why Request support is unavailable; then show only the reseller's contact email. */
|
|
10
|
-
export type SupportUnavailableReason = 'no_reseller' | 'switched_off';
|
|
11
|
-
/** `category` of a 403 `SUPPORT_ACTION_BLOCKED`. */
|
|
12
|
-
export type SupportBlockedCategory = 'commerce' | 'members' | 'admin_roles' | 'credentials' | 'irreversible' | 'legal' | 'triggers' | 'scripts' | 'read_only';
|
|
13
|
-
/** Every `code` the live-support routes answer with. */
|
|
14
|
-
export type SupportErrorCode = 'SUPPORT_UNAVAILABLE' | 'SUPPORT_REQUEST_OPEN' | 'SUPPORT_REQUEST_CLOSED' | 'SUPPORT_REQUEST_AWAITING_CONFIRMATION' | 'SUPPORT_REQUEST_NOT_AWAITING' | 'SUPPORT_ACCESS_NONE' | 'SUPPORT_SESSION_LIMIT' | 'SUPPORT_EXTEND_LIMIT' | 'SUPPORT_2FA_REQUIRED' | 'SUPPORT_INTERACTIVE_ONLY' | 'SUPPORT_ALREADY_MEMBER' | 'SUPPORT_SESSION_ENDED' | 'SUPPORT_ACTION_BLOCKED' | 'VIEW_AS_ROLE_INVALID';
|
|
15
|
-
export interface SupportUser {
|
|
16
|
-
id: string;
|
|
17
|
-
name: string;
|
|
18
|
-
email: string;
|
|
19
|
-
}
|
|
20
|
-
export interface SupportSession {
|
|
21
|
-
id: string;
|
|
22
|
-
support_request_id: string;
|
|
23
|
-
/** The customer licence. */
|
|
24
|
-
license_id: string;
|
|
25
|
-
reseller_license_id: string;
|
|
26
|
-
user?: SupportUser | null;
|
|
27
|
-
live: boolean;
|
|
28
|
-
started_at: string;
|
|
29
|
-
expires_at: string;
|
|
30
|
-
/** Extend never goes past this (4 h from Connect). */
|
|
31
|
-
max_expires_at: string;
|
|
32
|
-
ended_at: string | null;
|
|
33
|
-
end_reason: SupportSessionEndReason | null;
|
|
34
|
-
/** One sentence: the licence, how long it ran, who or what ended it. Null while live. */
|
|
35
|
-
end_reason_text: string | null;
|
|
36
|
-
ended_by?: SupportEndedBy | null;
|
|
37
|
-
}
|
|
38
|
-
export interface SupportRequest {
|
|
39
|
-
id: string;
|
|
40
|
-
license?: {
|
|
41
|
-
id: string;
|
|
42
|
-
name: string;
|
|
43
|
-
};
|
|
44
|
-
reseller?: {
|
|
45
|
-
license_id: string;
|
|
46
|
-
name: string;
|
|
47
|
-
};
|
|
48
|
-
status: SupportRequestStatus;
|
|
49
|
-
access_level: SupportAccessLevel;
|
|
50
|
-
message: string;
|
|
51
|
-
requested_by?: SupportUser | null;
|
|
52
|
-
closed_by?: SupportUser | null;
|
|
53
|
-
/** Equals `status` once closed, or `auto_confirmed`: nobody confirmed nor reopened the reseller's Resolve. */
|
|
54
|
-
close_reason: string | null;
|
|
55
|
-
closed_at: string | null;
|
|
56
|
-
/** The note given on Resolve (the reseller's, unless the customer's confirmation gives one). */
|
|
57
|
-
resolution_note: string | null;
|
|
58
|
-
/** Who of the reseller pressed Resolve; kept after the confirmation, null again after a reopen. */
|
|
59
|
-
reseller_resolved_by?: SupportUser | null;
|
|
60
|
-
reseller_resolved_at: string | null;
|
|
61
|
-
/** Why the customer last reopened. */
|
|
62
|
-
reopen_note: string | null;
|
|
63
|
-
last_activity_at: string | null;
|
|
64
|
-
/** When an active request closes itself (14 days without activity): open expires, awaiting_confirmation closes as resolved. */
|
|
65
|
-
closes_at: string | null;
|
|
66
|
-
live_sessions?: SupportSession[];
|
|
67
|
-
/** Reseller admins only. */
|
|
68
|
-
connect?: SupportConnectState;
|
|
69
|
-
created_at: string;
|
|
70
|
-
}
|
|
71
|
-
/** `GET /support-requests/{id}`: the request plus what the caller may do with it. */
|
|
72
|
-
export interface SupportRequestDetail {
|
|
73
|
-
data: SupportRequest;
|
|
74
|
-
can: {
|
|
75
|
-
connect: boolean;
|
|
76
|
-
/** Reseller: open only (proposes). Customer: open or awaiting_confirmation (closes; the confirm button). */
|
|
77
|
-
resolve: boolean;
|
|
78
|
-
/** Customer, awaiting_confirmation. */
|
|
79
|
-
reopen: boolean;
|
|
80
|
-
/** Customer, open or awaiting_confirmation. */
|
|
81
|
-
cancel: boolean;
|
|
82
|
-
/** Access level and Stop: the customer's admins, open only. */
|
|
83
|
-
manage: boolean;
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
/** `GET /licenses/{id}/support`: what Plans & usage shows. Licence admins only. */
|
|
87
|
-
export interface SupportAvailability {
|
|
88
|
-
available: boolean;
|
|
89
|
-
reason: SupportUnavailableReason | null;
|
|
90
|
-
reseller: {
|
|
91
|
-
license_id: string;
|
|
92
|
-
name: string;
|
|
93
|
-
contact_email: string | null;
|
|
94
|
-
} | null;
|
|
95
|
-
/** The active request: open or awaiting_confirmation. */
|
|
96
|
-
open_request: SupportRequest | null;
|
|
97
|
-
}
|
|
98
|
-
export interface CreateSupportRequestData {
|
|
99
|
-
message: string;
|
|
100
|
-
access_level: SupportAccessLevel;
|
|
101
|
-
}
|
|
102
|
-
/** One role the picker offers. */
|
|
103
|
-
export interface ViewAsRoleOption {
|
|
104
|
-
id: string;
|
|
105
|
-
name: string;
|
|
106
|
-
is_admin: boolean;
|
|
107
|
-
}
|
|
108
|
-
/** `GET /licenses/{id}/view-as/roles`. */
|
|
109
|
-
export interface ViewAsRoleOptions {
|
|
110
|
-
current: {
|
|
111
|
-
license_admin: boolean;
|
|
112
|
-
role_id: string | null;
|
|
113
|
-
role_name: string | null;
|
|
114
|
-
project_id: string | null;
|
|
115
|
-
project_name: string | null;
|
|
116
|
-
read_only: boolean;
|
|
117
|
-
/** The value to send as `X-View-As-Role` for the current view. */
|
|
118
|
-
header: string;
|
|
119
|
-
};
|
|
120
|
-
/** Every match of `search`, on every page. */
|
|
121
|
-
license_roles: ViewAsRoleOption[];
|
|
122
|
-
/** One page, by project name; only projects with a role. */
|
|
123
|
-
projects: Array<{
|
|
124
|
-
id: string;
|
|
125
|
-
name: string;
|
|
126
|
-
roles: ViewAsRoleOption[];
|
|
127
|
-
}>;
|
|
128
|
-
}
|
|
129
|
-
export interface ViewAsRoleQuery {
|
|
130
|
-
search?: string;
|
|
131
|
-
page?: number;
|
|
132
|
-
/** At most 100. */
|
|
133
|
-
per_page?: number;
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* `support_session` on `GET /licenses/{id}`: the caller's live session in that licence, for the
|
|
137
|
-
* banner. Null when the caller is there as a member. Absent while the flag is off.
|
|
138
|
-
*/
|
|
139
|
-
export interface LicenseSupportSession {
|
|
140
|
-
id: string;
|
|
141
|
-
support_request_id: string;
|
|
142
|
-
access_level: SupportAccessLevel;
|
|
143
|
-
started_at: string;
|
|
144
|
-
expires_at: string;
|
|
145
|
-
max_expires_at: string;
|
|
146
|
-
view: {
|
|
147
|
-
license_admin: boolean;
|
|
148
|
-
role_id: string | null;
|
|
149
|
-
role_name: string | null;
|
|
150
|
-
project_id: string | null;
|
|
151
|
-
read_only: boolean;
|
|
152
|
-
};
|
|
153
|
-
/** Other reseller admins connected to the same licence. */
|
|
154
|
-
others: Array<{
|
|
155
|
-
user_id: string;
|
|
156
|
-
name: string | null;
|
|
157
|
-
expires_at: string;
|
|
158
|
-
}>;
|
|
159
|
-
}
|
|
160
|
-
/** `GET /licenses/{id}/reseller/support-requests/counts`: the Store sidebar badge. */
|
|
161
|
-
export interface SupportRequestCounts {
|
|
162
|
-
/** Waiting on the reseller: the badge. */
|
|
163
|
-
open: number;
|
|
164
|
-
/** Waiting on the customer's confirmation. */
|
|
165
|
-
awaiting_confirmation: number;
|
|
166
|
-
}
|
|
167
|
-
/** The 403 body that ends a session on any request: leave the licence, show why. */
|
|
168
|
-
export interface SupportSessionEndedError {
|
|
169
|
-
/** One sentence: the licence, how long the session ran, who or what ended it. Show as is. */
|
|
170
|
-
message: string;
|
|
171
|
-
code: 'SUPPORT_SESSION_ENDED';
|
|
172
|
-
reason: SupportSessionEndReason | null;
|
|
173
|
-
}
|
|
174
|
-
/** The 403 body of a refused action inside a session. */
|
|
175
|
-
export interface SupportActionBlockedError {
|
|
176
|
-
message: string;
|
|
177
|
-
code: 'SUPPORT_ACTION_BLOCKED';
|
|
178
|
-
category: SupportBlockedCategory;
|
|
179
|
-
}
|
|
180
|
-
/** The header that picks the role a session views the licence as; `admin` or absent = licence admin. */
|
|
181
|
-
export declare const VIEW_AS_ROLE_HEADER = "X-View-As-Role";
|
|
182
|
-
export declare function isSupportSessionEndedError(error: unknown): error is {
|
|
183
|
-
response: {
|
|
184
|
-
status: 403;
|
|
185
|
-
data: SupportSessionEndedError;
|
|
186
|
-
};
|
|
187
|
-
};
|
|
188
|
-
export declare function isSupportActionBlockedError(error: unknown): error is {
|
|
189
|
-
response: {
|
|
190
|
-
status: 403;
|
|
191
|
-
data: SupportActionBlockedError;
|
|
192
|
-
};
|
|
193
|
-
};
|
|
194
|
-
/** The name the shell gives a live-support 403 it has already reported, as `LIMIT_REFUSAL`: catches skip it. */
|
|
195
|
-
export declare const SUPPORT_REFUSAL = "SupportRefusal";
|
|
196
|
-
export declare function isSupportRefusal(error: unknown): boolean;
|
|
197
|
-
/** Headers an app's request interceptor adds while the context carries a support session. */
|
|
198
|
-
export declare function viewAsRoleHeaders(session: {
|
|
199
|
-
view: {
|
|
200
|
-
license_admin: boolean;
|
|
201
|
-
role_id: string | null;
|
|
202
|
-
};
|
|
203
|
-
} | null | undefined): Record<string, string>;
|
|
204
|
-
//# sourceMappingURL=LiveSupportService.types.d.ts.map
|