@esri/hub-common 14.156.0 → 14.157.0
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.
|
@@ -275,7 +275,7 @@ export interface IRegistration {
|
|
|
275
275
|
createdById: string;
|
|
276
276
|
event?: IEvent;
|
|
277
277
|
eventId: string;
|
|
278
|
-
id:
|
|
278
|
+
id: string;
|
|
279
279
|
permission: IRegistrationPermission;
|
|
280
280
|
role: RegistrationRole;
|
|
281
281
|
status: RegistrationStatus;
|
|
@@ -316,7 +316,7 @@ export interface IEventLocation {
|
|
|
316
316
|
eventId: string;
|
|
317
317
|
extent: number[][] | null;
|
|
318
318
|
geometries: IEventLocationGeometriesItem[] | null;
|
|
319
|
-
id:
|
|
319
|
+
id: string;
|
|
320
320
|
nbrhd: string | null;
|
|
321
321
|
placeAddr: string | null;
|
|
322
322
|
placeName: string | null;
|
|
@@ -526,9 +526,9 @@ export declare const updateEvent: (id: string, iUpdateEvent: IUpdateEvent, optio
|
|
|
526
526
|
export declare const deleteEvent: (id: string, options?: SecondParameter<typeof customClient>) => Promise<IEvent>;
|
|
527
527
|
export declare const createRegistration: (iCreateRegistration: ICreateRegistration, options?: SecondParameter<typeof customClient>) => Promise<IRegistration>;
|
|
528
528
|
export declare const getRegistrations: (params?: GetRegistrationsParams, options?: SecondParameter<typeof customClient>) => Promise<IPagedRegistrationResponse>;
|
|
529
|
-
export declare const getRegistration: (id:
|
|
530
|
-
export declare const updateRegistration: (id:
|
|
531
|
-
export declare const deleteRegistration: (id:
|
|
529
|
+
export declare const getRegistration: (id: string, options?: SecondParameter<typeof customClient>) => Promise<IRegistration>;
|
|
530
|
+
export declare const updateRegistration: (id: string, iUpdateRegistration: IUpdateRegistration, options?: SecondParameter<typeof customClient>) => Promise<IRegistration>;
|
|
531
|
+
export declare const deleteRegistration: (id: string, options?: SecondParameter<typeof customClient>) => Promise<IRegistration>;
|
|
532
532
|
export declare type CreateEventResult = NonNullable<Awaited<ReturnType<typeof createEvent>>>;
|
|
533
533
|
export declare type GetEventsResult = NonNullable<Awaited<ReturnType<typeof getEvents>>>;
|
|
534
534
|
export declare type GetEventResult = NonNullable<Awaited<ReturnType<typeof getEvent>>>;
|
|
@@ -39,12 +39,12 @@ export interface IGetRegistrationsParams extends IEventsRequestOptions {
|
|
|
39
39
|
data: GetRegistrationsParams;
|
|
40
40
|
}
|
|
41
41
|
export interface IGetRegistrationParams extends IEventsRequestOptions {
|
|
42
|
-
registrationId:
|
|
42
|
+
registrationId: string;
|
|
43
43
|
}
|
|
44
44
|
export interface IUpdateRegistrationParams extends IEventsRequestOptions {
|
|
45
|
-
registrationId:
|
|
45
|
+
registrationId: string;
|
|
46
46
|
data: IUpdateRegistration;
|
|
47
47
|
}
|
|
48
48
|
export interface IDeleteRegistrationParams extends IEventsRequestOptions {
|
|
49
|
-
registrationId:
|
|
49
|
+
registrationId: string;
|
|
50
50
|
}
|
|
@@ -40,4 +40,4 @@ export declare function createHubEventRegistration(data: IHubCreateEventRegistra
|
|
|
40
40
|
* @param requestOptions
|
|
41
41
|
* @returns Promise<void>
|
|
42
42
|
*/
|
|
43
|
-
export declare function deleteHubEventRegistration(id:
|
|
43
|
+
export declare function deleteHubEventRegistration(id: string, requestOptions: IHubRequestOptions): Promise<void>;
|