@evercam/api 1.0.0-d7a4e6c9d → 1.0.0-d9534755d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/api/3dFirebaseApi.d.ts +175 -13
- package/dist/api/api/adminApi.d.ts +87 -83
- package/dist/api/api/aiApi.d.ts +58 -85
- package/dist/api/api/authzApi.d.ts +31 -15
- package/dist/api/api/client/axios.d.ts +2 -1
- package/dist/api/api/client/swr/Swr.d.ts +1 -1
- package/dist/api/api/evercamApi.d.ts +118 -95
- package/dist/api/api/evercamLabsApi.d.ts +4 -3
- package/dist/api/api/exNvrApi.d.ts +1 -1
- package/dist/api/api/ingestApi.d.ts +99 -46
- package/dist/api/api/ptzApi.d.ts +12 -3
- package/dist/api/api/videoWallApi.d.ts +2 -2
- package/dist/api/api/weatherApi.d.ts +2 -2
- package/dist/api/types/360.d.ts +164 -24
- package/dist/api/types/aconex.d.ts +9 -9
- package/dist/api/types/admin.d.ts +51 -0
- package/dist/api/types/analytics.d.ts +112 -60
- package/dist/api/types/anpr.d.ts +19 -2
- package/dist/api/types/auditLogs.d.ts +1 -1
- package/dist/api/types/authz.d.ts +61 -0
- package/dist/api/types/autodesk.d.ts +7 -7
- package/dist/api/types/automation.d.ts +37 -3
- package/dist/api/types/axios.d.ts +11 -5
- package/dist/api/types/bim.d.ts +11 -5
- package/dist/api/types/camera.d.ts +97 -98
- package/dist/api/types/comments.d.ts +7 -9
- package/dist/api/types/company.d.ts +42 -1
- package/dist/api/types/compare.d.ts +20 -5
- package/dist/api/types/connector.d.ts +3 -5
- package/dist/api/types/coolify.d.ts +18 -2
- package/dist/api/types/copilot.d.ts +11 -6
- package/dist/api/types/credentials.d.ts +1 -0
- package/dist/api/types/detections.d.ts +20 -8
- package/dist/api/types/drone.d.ts +92 -3
- package/dist/api/types/gateReport.d.ts +49 -158
- package/dist/api/types/hdd.d.ts +26 -1
- package/dist/api/types/index.d.ts +8 -1
- package/dist/api/types/ingest.d.ts +98 -2
- package/dist/api/types/kit.d.ts +31 -5
- package/dist/api/types/map.d.ts +12 -0
- package/dist/api/types/media.d.ts +2 -1
- package/dist/api/types/notification.d.ts +32 -2
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/planner.d.ts +102 -1
- package/dist/api/types/posthog.d.ts +15 -0
- package/dist/api/types/procore.d.ts +13 -6
- package/dist/api/types/progressPhoto.d.ts +6 -2
- package/dist/api/types/project.d.ts +136 -21
- package/dist/api/types/recording.d.ts +6 -4
- package/dist/api/types/recycleBin.d.ts +1 -1
- package/dist/api/types/ring.d.ts +53 -0
- package/dist/api/types/roi.d.ts +2 -2
- package/dist/api/types/router.d.ts +20 -1
- package/dist/api/types/shared.d.ts +29 -4
- package/dist/api/types/shares.d.ts +6 -144
- package/dist/api/types/sim.d.ts +6 -6
- package/dist/api/types/siteAnalytics.d.ts +170 -46
- package/dist/api/types/siteView.d.ts +74 -0
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/api/types/snapshots.d.ts +36 -4
- package/dist/api/types/storageProvider.d.ts +19 -0
- package/dist/api/types/storyblok.d.ts +40 -0
- package/dist/api/types/streaming.d.ts +3 -3
- package/dist/api/types/tag.d.ts +1 -1
- package/dist/api/types/time.d.ts +0 -18
- package/dist/api/types/timelapse.d.ts +12 -5
- package/dist/api/types/user.d.ts +105 -31
- package/dist/api/types/videoWall.d.ts +21 -21
- package/dist/api/types/weather.d.ts +75 -11
- package/dist/api/types/widget.d.ts +71 -12
- package/dist/api/types/xweather.d.ts +4 -4
- package/dist/index.js +1580 -940
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/shared/types/components.d.ts +127 -14
- package/dist/shared/types/imagePlayer.d.ts +10 -3
- package/dist/shared/types/index.d.ts +1 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/dist/shared/types/timeline.d.ts +2 -1
- package/package.json +2 -2
- package/dist/api/types/storageServers.d.ts +0 -4
package/dist/api/api/aiApi.d.ts
CHANGED
|
@@ -1,71 +1,39 @@
|
|
|
1
|
-
import { AnprQueryParams, AnprEvent, EventCountRequestPayload, EventCountResponsePayload, EventsExportRequestParameters,
|
|
1
|
+
import { AnprQueryParams, AnprEvent, EventCountRequestPayload, EventCountResponsePayload, EventsExportRequestParameters, GateReportROI, PaginatedItems, GateReportVerifiedDay, ProjectExid, CameraExid, AnprCountsQueryParams, AnprCount, AnprBasedGateReportExportRequestParams, GateReportResponsePayload, GatReportRequestPayload, VerifiedDaysQueryParams, VerifyDayUpdateRequestPayload, ProcessedDaysQueryParams, RoisQueryParams, GateReportRoiRequestPayload, SegmentsSimilaritySearchParams, DetectionsFilters, TrackingsByLabel, SegmentsByLabel, DetectionsCountsParams, DetectionsPresenceByLabel, SmartSearchBackendQueryPayload, SavedQuery, DateType, DetectionsRequestParams, DetectionsGroup, DetectionsCountsByPeriod, DetectionsExportRequestParams, SegmentsFilters, DownloadFileType, SmartSearchBackendQuery, SmartSearchHeatmapData, SmartSearchOperatorType, DetectionLabel, SmartSearchResponse, SmartSearchRequestPayload, LegacyAnprExportParams, AnprBulkUpdateRequestPayload, AnprUpdateRequestPayload, SmartSearchQueriesRequestPayload, _360FloorId, CreateCoolifyAppRequestPayload, RegisterCoolifyAppResponsePayload, SaveCoolifyAppRequestPayload, SegmentsCountsParams, SegmentsPresenceResponse } from "@evercam/api/types";
|
|
2
2
|
import type { AxiosPromise, AxiosRequestConfig } from "axios";
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
3
|
+
export declare const getAiApiUrl: () => string;
|
|
4
|
+
export declare const getAiApiUrlV2: () => string;
|
|
5
5
|
export declare const AiApi: {
|
|
6
|
-
analyticsParameters: {
|
|
7
|
-
getParameters(cameraId: CameraExid, params?: Record<string, unknown>): Promise<AnalyticsParameters>;
|
|
8
|
-
createParameters(params: Omit<AnalyticsParameters, "id">): Promise<AnalyticsParameters>;
|
|
9
|
-
updateParameters({ updatedBy, id, ...payload }: Partial<AnalyticsParameters> & {
|
|
10
|
-
updatedBy: string;
|
|
11
|
-
}): Promise<AnalyticsParameters>;
|
|
12
|
-
};
|
|
13
6
|
anpr: {
|
|
14
|
-
exportAnprLegacyEvents(projectExid: ProjectExid, params:
|
|
7
|
+
exportAnprLegacyEvents(projectExid: ProjectExid, params: LegacyAnprExportParams): AxiosPromise<any>;
|
|
15
8
|
getAnprEvents(projectExid: ProjectExid, params: AnprQueryParams, extraParams?: AxiosRequestConfig): Promise<PaginatedItems<AnprEvent>>;
|
|
16
9
|
getAnprCounts(projectExid: ProjectExid, payload: AnprCountsQueryParams, extraParams?: AxiosRequestConfig): Promise<AnprCount[]>;
|
|
17
|
-
updateAnprEvent(anprEventId: string,
|
|
18
|
-
bulkUpdateAnprRecords(
|
|
10
|
+
updateAnprEvent(anprEventId: string, payload: AnprUpdateRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
11
|
+
bulkUpdateAnprRecords(payload: AnprBulkUpdateRequestPayload): Promise<void>;
|
|
19
12
|
exportAnprEvents(projectExid: string, params: AnprBasedGateReportExportRequestParams): AxiosPromise<string>;
|
|
20
13
|
};
|
|
21
14
|
gateReport: {
|
|
22
|
-
getLastVerified(params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
23
|
-
deleteEvent(id: number, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
24
|
-
dismissEvents(params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
25
15
|
exportEvents(projectExid: string, params: EventsExportRequestParameters): AxiosPromise<any>;
|
|
26
16
|
exportEventsProgress(projectExid: string, params: {
|
|
27
17
|
exportDate: string;
|
|
28
18
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
29
|
-
generateAnprThumbnail(cameraExid: CameraExid, captureTime:
|
|
30
|
-
getAllEvents(projectExid: ProjectExid, params: EventsRequestPayload, extraParams?: AxiosRequestConfig): Promise<EventsResponsePayload>;
|
|
31
|
-
getEventCounts(projectExid: string, payload?: EventCountRequestPayload, extraParams?: AxiosRequestConfig): Promise<EventCountResponsePayload>;
|
|
19
|
+
generateAnprThumbnail(cameraExid: CameraExid, captureTime: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
32
20
|
getVerifiedDays(projectExid: ProjectExid, params: Partial<VerifiedDaysQueryParams>, extraParams?: {}): Promise<PaginatedItems<GateReportVerifiedDay>>;
|
|
33
|
-
updateEventById(eventId: number, { updatedBy, payload, }: {
|
|
34
|
-
updatedBy: string;
|
|
35
|
-
payload: Partial<EventUpdateRequestPayload>;
|
|
36
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
37
21
|
verifyDay(params: VerifyDayUpdateRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
38
|
-
|
|
39
|
-
cameraExid: string;
|
|
40
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
41
|
-
getDailyStatus(projectExid: string, params?: Partial<ProcessedDaysQueryParams>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
42
|
-
getEventThumbnail({ cameraExid, eventType, eventTime, token, }: {
|
|
43
|
-
cameraExid: string;
|
|
44
|
-
eventType: GateReportEventType;
|
|
45
|
-
eventTime: DateTime;
|
|
46
|
-
token: string;
|
|
47
|
-
}): string;
|
|
48
|
-
getEventSnapshot({ cameraExid, eventType, eventTime, token, }: {
|
|
49
|
-
cameraExid: string;
|
|
50
|
-
eventType: GateReportEventType;
|
|
51
|
-
eventTime: DateTime;
|
|
52
|
-
token: string;
|
|
53
|
-
}): string;
|
|
22
|
+
getDailyStatus(projectExid: string, params?: Partial<ProcessedDaysQueryParams>): Promise<string[]>;
|
|
54
23
|
getEvents(projectExid: ProjectExid, params: GatReportRequestPayload, extraParams?: AxiosRequestConfig): Promise<GateReportResponsePayload>;
|
|
55
24
|
getCounts(projectExid: string, payload?: EventCountRequestPayload, extraParams?: AxiosRequestConfig): Promise<EventCountResponsePayload>;
|
|
56
|
-
getGateReportApplications(projectExid: string, anprCameraExid: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
57
25
|
getGateReportProjectsInfos(params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
58
26
|
};
|
|
59
27
|
brainTool: {
|
|
60
28
|
getObjectDetectionsResults(payload?: {}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
61
|
-
getSegments(payload?: {}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
62
29
|
};
|
|
63
30
|
roi: {
|
|
64
31
|
getROIs(projectExid: string, params?: Partial<RoisQueryParams>): Promise<GateReportROI[]>;
|
|
65
|
-
createROI(params:
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
32
|
+
createROI(params: Omit<GateReportRoiRequestPayload, "id"> & {
|
|
33
|
+
createdBy?: string;
|
|
34
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
35
|
+
updateROI({ updatedBy, id, ...params }: Partial<GateReportRoiRequestPayload> & {
|
|
36
|
+
updatedBy?: string;
|
|
69
37
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
70
38
|
deleteROI({ id, updatedBy }: {
|
|
71
39
|
id: number;
|
|
@@ -73,65 +41,70 @@ export declare const AiApi: {
|
|
|
73
41
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
74
42
|
};
|
|
75
43
|
detections: {
|
|
76
|
-
|
|
77
|
-
getDetectionsCounts({ projectExid, ...params }: DetectionsRequestParams, extraParams?: AxiosRequestConfig): Promise<DetectionsCountsByPeriod>;
|
|
44
|
+
getDetectionsCounts({ projectExid, ...params }: Partial<DetectionsRequestParams>, extraParams?: AxiosRequestConfig): Promise<DetectionsCountsByPeriod>;
|
|
78
45
|
getDetectionsByTimestamp({ projectExid, ...params }: DetectionsRequestParams, extraParams?: AxiosRequestConfig): Promise<PaginatedItems<DetectionsGroup>>;
|
|
79
46
|
getSimilarSegmentsInTimeIntervals({ cameraExid, iouThreshold, ...params }: SegmentsSimilaritySearchParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
80
|
-
|
|
81
|
-
getSegmentsMasks(cameraExid: CameraExid, params: SegmentsFilters): Promise<
|
|
47
|
+
getGroupedTrackings(projectExid: ProjectExid, params: DetectionsFilters): Promise<TrackingsByLabel>;
|
|
48
|
+
getSegmentsMasks(cameraExid: CameraExid, params: SegmentsFilters): Promise<{
|
|
49
|
+
segments: SegmentsByLabel;
|
|
50
|
+
}>;
|
|
51
|
+
getSegmentsPresenceDateIntervals({ cameraExid, ...params }: SegmentsCountsParams): Promise<SegmentsPresenceResponse>;
|
|
82
52
|
getDetectionsPresenceDateIntervals({ projectExid, ...params }: DetectionsCountsParams): Promise<DetectionsPresenceByLabel>;
|
|
83
53
|
requestExport({ projectExid, ...params }: DetectionsExportRequestParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
84
54
|
};
|
|
85
55
|
siteAnalytics: {
|
|
86
|
-
|
|
56
|
+
smartSearchAll(projectExid: ProjectExid, params: SmartSearchRequestPayload): Promise<SmartSearchResponse>;
|
|
57
|
+
smartSearchFirstLastSeen(projectExid: ProjectExid, params: SmartSearchRequestPayload): Promise<SmartSearchResponse>;
|
|
58
|
+
saveQuery({ projectExid, cameraExid, payload, }: {
|
|
59
|
+
projectExid: ProjectExid;
|
|
60
|
+
cameraExid: CameraExid | _360FloorId;
|
|
61
|
+
payload: SmartSearchBackendQueryPayload;
|
|
62
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
63
|
+
getQueries(projectExid: ProjectExid, params: SmartSearchQueriesRequestPayload): Promise<SavedQuery[]>;
|
|
64
|
+
getQueryById(projectExid: ProjectExid, cameraExid: CameraExid, queryId: number): Promise<SmartSearchBackendQueryPayload>;
|
|
65
|
+
updateQuery({ projectExid, cameraExid, queryId, payload, }: {
|
|
66
|
+
projectExid: ProjectExid;
|
|
87
67
|
cameraExid: CameraExid;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
toDate?: string;
|
|
91
|
-
page?: number;
|
|
92
|
-
pageSize?: number;
|
|
68
|
+
queryId: number;
|
|
69
|
+
payload: Partial<SavedQuery>;
|
|
93
70
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
name?: string;
|
|
97
|
-
}): Promise<SavedQuery[]>;
|
|
98
|
-
getQueryById(cameraExid: CameraExid, queryId: number): Promise<SmartSearchQueryParams>;
|
|
99
|
-
updateQuery(cameraExid: CameraExid, queryId: number, payload: Partial<SavedQuery>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
100
|
-
deleteQuery(cameraExid: CameraExid, queryId: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
101
|
-
getProcessedTimes({ projectExid, cameraExids, granularity, endDate, startDate, }: {
|
|
102
|
-
projectExid: string;
|
|
103
|
-
cameraExids: string[];
|
|
104
|
-
granularity?: "day" | "hour";
|
|
105
|
-
startDate?: DateType;
|
|
106
|
-
endDate?: DateType;
|
|
107
|
-
}): Promise<Record<string, string[]>>;
|
|
108
|
-
exportResultsData({ cameraExid, fromDate, toDate, query, fileType, directDownload, payload, }: {
|
|
71
|
+
deleteQuery({ projectExid, cameraExid, queryId, }: {
|
|
72
|
+
projectExid: ProjectExid;
|
|
109
73
|
cameraExid: CameraExid;
|
|
74
|
+
queryId: number;
|
|
75
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
76
|
+
exportResultsData({ projectExid, cameraExids, fromDate, toDate, query, fileType, directDownload, payload, limit, page, }: {
|
|
77
|
+
projectExid: ProjectExid;
|
|
78
|
+
cameraExids: CameraExid[];
|
|
110
79
|
fromDate?: DateType;
|
|
111
80
|
toDate?: DateType;
|
|
112
81
|
query: string;
|
|
113
82
|
fileType: DownloadFileType;
|
|
114
83
|
directDownload?: boolean;
|
|
115
|
-
payload:
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
toDate: DateType | string;
|
|
84
|
+
payload: SmartSearchBackendQuery;
|
|
85
|
+
limit: number;
|
|
86
|
+
page: number;
|
|
87
|
+
}): Promise<any>;
|
|
88
|
+
getDetectionsHeatmapData(projectExid: ProjectExid, params: {
|
|
89
|
+
cameraExid: CameraExid;
|
|
90
|
+
fromDate: DateType | string | null;
|
|
91
|
+
toDate: DateType | string | null;
|
|
124
92
|
labels: DetectionLabel[];
|
|
125
93
|
operator?: SmartSearchOperatorType;
|
|
126
|
-
}): Promise<
|
|
127
|
-
results: SmartSearchHeatmapData[];
|
|
128
|
-
sqlQuery: string;
|
|
129
|
-
}>;
|
|
94
|
+
}): Promise<SmartSearchHeatmapData[]>;
|
|
130
95
|
};
|
|
131
96
|
coolify: {
|
|
132
97
|
getCoolifyServers(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
133
|
-
createAppOnCoolify(payload
|
|
134
|
-
|
|
98
|
+
createAppOnCoolify({ projectExid, cameraExid, payload, }: {
|
|
99
|
+
projectExid: ProjectExid;
|
|
100
|
+
cameraExid: CameraExid;
|
|
101
|
+
payload: CreateCoolifyAppRequestPayload;
|
|
102
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
103
|
+
registerCoolifyApp({ projectExid, cameraExid, payload, }: {
|
|
104
|
+
projectExid: ProjectExid;
|
|
105
|
+
cameraExid: CameraExid;
|
|
106
|
+
payload: SaveCoolifyAppRequestPayload;
|
|
107
|
+
}): Promise<RegisterCoolifyAppResponsePayload>;
|
|
135
108
|
updateApp({ appUuid, appId, payload, cameraExid, projectExid, }: {
|
|
136
109
|
projectExid: string;
|
|
137
110
|
cameraExid: string;
|
|
@@ -1,21 +1,37 @@
|
|
|
1
|
+
import { AuthzRoleUser, AuthzScope, AuthzScopeCreatePayload, AuthzScopeUpdatePayload, AuthzUserRolesResponse, ProjectExid, ProjectResourceRole, ProjectRoleRequestPayload, Role, RoleResourceType } from "@evercam/api/types";
|
|
2
|
+
import type { AxiosRequestConfig } from "axios";
|
|
1
3
|
export declare const AuthzApi: {
|
|
2
4
|
roles: {
|
|
3
|
-
get(params
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
get(params?: AxiosRequestConfig & {
|
|
6
|
+
params?: {
|
|
7
|
+
scope?: string;
|
|
8
|
+
};
|
|
9
|
+
}): Promise<{
|
|
10
|
+
total: number;
|
|
11
|
+
items: Role[];
|
|
12
|
+
}>;
|
|
13
|
+
getRoleDetails(id: number): Promise<Role>;
|
|
14
|
+
createRole(params: Partial<Role> & Pick<Role, "name">): Promise<Role>;
|
|
15
|
+
updateRole(id: number, params: Partial<Role>): Promise<Role>;
|
|
16
|
+
deleteRole(id: number): Promise<void>;
|
|
17
|
+
addPermission(id: number, action: string): Promise<void>;
|
|
18
|
+
deletePermission(id: number, action: string): Promise<void>;
|
|
19
|
+
getRoleUsers(id: number): Promise<AuthzRoleUser[]>;
|
|
20
|
+
assignUsers(roleId: number, emails: Array<string>, resourceId?: string): Promise<void>;
|
|
21
|
+
getUserRoles(projectExid?: ProjectExid, resourceType?: RoleResourceType): Promise<AuthzUserRolesResponse>;
|
|
22
|
+
};
|
|
23
|
+
projectRoles: {
|
|
24
|
+
get(projectExid: ProjectExid): Promise<{
|
|
25
|
+
roles: Role[];
|
|
26
|
+
}>;
|
|
27
|
+
create(projectExid: ProjectExid, params: ProjectRoleRequestPayload): Promise<ProjectResourceRole>;
|
|
28
|
+
update(projectExid: ProjectExid, roleId: number, params: ProjectRoleRequestPayload): Promise<ProjectResourceRole>;
|
|
29
|
+
delete(projectExid: ProjectExid, roleId: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
14
30
|
};
|
|
15
31
|
scopes: {
|
|
16
|
-
get(): Promise<
|
|
17
|
-
create(params:
|
|
18
|
-
delete(id: number): Promise<
|
|
19
|
-
update(id: number, params:
|
|
32
|
+
get(): Promise<AuthzScope[]>;
|
|
33
|
+
create(params: AuthzScopeCreatePayload): Promise<AuthzScope>;
|
|
34
|
+
delete(id: number): Promise<void>;
|
|
35
|
+
update(id: number, params: AuthzScopeUpdatePayload): Promise<AuthzScope>;
|
|
20
36
|
};
|
|
21
37
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import type { ExtendedAxiosInstance } from "
|
|
1
|
+
import type { ExtendedAxiosInstance } from "@evercam/api/types";
|
|
2
2
|
declare module "axios" {
|
|
3
3
|
interface AxiosRequestConfig {
|
|
4
4
|
raw?: boolean;
|
|
5
5
|
preserveCasing?: boolean;
|
|
6
6
|
timing?: boolean;
|
|
7
|
+
skipAuth?: boolean;
|
|
7
8
|
_metadata?: {
|
|
8
9
|
startTime: number;
|
|
9
10
|
};
|