@esri/hub-common 16.0.2 → 16.1.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.
- package/dist/esm/events/api/orval/api/orval-events.js +38 -6
- package/dist/esm/events/api/orval/api/orval-events.js.map +1 -1
- package/dist/node/events/api/orval/api/orval-events.js +39 -7
- package/dist/node/events/api/orval/api/orval-events.js.map +1 -1
- package/dist/types/events/api/orval/api/orval-events.d.ts +39 -6
- package/package.json +1 -1
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
/* tslint:disable:interface-over-type-literal */
|
|
2
|
-
/**
|
|
3
|
-
* Generated by orval v6.24.0 🍺
|
|
4
|
-
* Do not edit manually.
|
|
5
|
-
* Hub Events Service
|
|
6
|
-
* OpenAPI spec version: 0.0.1
|
|
7
|
-
*/
|
|
8
2
|
/**
|
|
9
3
|
* Generated by orval v6.24.0 🍺
|
|
10
4
|
* Do not edit manually.
|
|
@@ -28,6 +22,11 @@ export var GetEventsInclude;
|
|
|
28
22
|
GetEventsInclude["onlineMeeting"] = "onlineMeeting";
|
|
29
23
|
GetEventsInclude["registrations"] = "registrations";
|
|
30
24
|
})(GetEventsInclude || (GetEventsInclude = {}));
|
|
25
|
+
export var EventsSearchFormat;
|
|
26
|
+
(function (EventsSearchFormat) {
|
|
27
|
+
EventsSearchFormat["csv"] = "csv";
|
|
28
|
+
EventsSearchFormat["json"] = "json";
|
|
29
|
+
})(EventsSearchFormat || (EventsSearchFormat = {}));
|
|
31
30
|
export var EventSortOrder;
|
|
32
31
|
(function (EventSortOrder) {
|
|
33
32
|
EventSortOrder["asc"] = "asc";
|
|
@@ -83,6 +82,9 @@ export var EventAccess;
|
|
|
83
82
|
EventAccess["ORG"] = "ORG";
|
|
84
83
|
EventAccess["PUBLIC"] = "PUBLIC";
|
|
85
84
|
})(EventAccess || (EventAccess = {}));
|
|
85
|
+
/**
|
|
86
|
+
* Create a new event.
|
|
87
|
+
*/
|
|
86
88
|
export const createEvent = (iCreateEvent, options) => {
|
|
87
89
|
return customClient({
|
|
88
90
|
url: `/api/events/v1/events`,
|
|
@@ -91,9 +93,15 @@ export const createEvent = (iCreateEvent, options) => {
|
|
|
91
93
|
data: iCreateEvent,
|
|
92
94
|
}, options);
|
|
93
95
|
};
|
|
96
|
+
/**
|
|
97
|
+
* Get a list of events matching request criteria.
|
|
98
|
+
*/
|
|
94
99
|
export const getEvents = (params, options) => {
|
|
95
100
|
return customClient({ url: `/api/events/v1/events`, method: "GET", params }, options);
|
|
96
101
|
};
|
|
102
|
+
/**
|
|
103
|
+
* Search for events matching request criteria.
|
|
104
|
+
*/
|
|
97
105
|
export const searchEvents = (iSearchEvents, options) => {
|
|
98
106
|
return customClient({
|
|
99
107
|
url: `/api/events/v1/events/search`,
|
|
@@ -102,9 +110,15 @@ export const searchEvents = (iSearchEvents, options) => {
|
|
|
102
110
|
data: iSearchEvents,
|
|
103
111
|
}, options);
|
|
104
112
|
};
|
|
113
|
+
/**
|
|
114
|
+
* Get a single event.
|
|
115
|
+
*/
|
|
105
116
|
export const getEvent = (id, options) => {
|
|
106
117
|
return customClient({ url: `/api/events/v1/events/${id}`, method: "GET" }, options);
|
|
107
118
|
};
|
|
119
|
+
/**
|
|
120
|
+
* Update an existing event.
|
|
121
|
+
*/
|
|
108
122
|
export const updateEvent = (id, iUpdateEvent, options) => {
|
|
109
123
|
return customClient({
|
|
110
124
|
url: `/api/events/v1/events/${id}`,
|
|
@@ -113,9 +127,15 @@ export const updateEvent = (id, iUpdateEvent, options) => {
|
|
|
113
127
|
data: iUpdateEvent,
|
|
114
128
|
}, options);
|
|
115
129
|
};
|
|
130
|
+
/**
|
|
131
|
+
* Delete an existing event.
|
|
132
|
+
*/
|
|
116
133
|
export const deleteEvent = (id, options) => {
|
|
117
134
|
return customClient({ url: `/api/events/v1/events/${id}`, method: "DELETE" }, options);
|
|
118
135
|
};
|
|
136
|
+
/**
|
|
137
|
+
* Create a new registration.
|
|
138
|
+
*/
|
|
119
139
|
export const createRegistration = (iCreateRegistration, options) => {
|
|
120
140
|
return customClient({
|
|
121
141
|
url: `/api/events/v1/registrations`,
|
|
@@ -124,12 +144,21 @@ export const createRegistration = (iCreateRegistration, options) => {
|
|
|
124
144
|
data: iCreateRegistration,
|
|
125
145
|
}, options);
|
|
126
146
|
};
|
|
147
|
+
/**
|
|
148
|
+
* Get a list of registrations matching request criteria.
|
|
149
|
+
*/
|
|
127
150
|
export const getRegistrations = (params, options) => {
|
|
128
151
|
return customClient({ url: `/api/events/v1/registrations`, method: "GET", params }, options);
|
|
129
152
|
};
|
|
153
|
+
/**
|
|
154
|
+
* Get a registration by id.
|
|
155
|
+
*/
|
|
130
156
|
export const getRegistration = (id, options) => {
|
|
131
157
|
return customClient({ url: `/api/events/v1/registrations/${id}`, method: "GET" }, options);
|
|
132
158
|
};
|
|
159
|
+
/**
|
|
160
|
+
* Update a registration by id.
|
|
161
|
+
*/
|
|
133
162
|
export const updateRegistration = (id, iUpdateRegistration, options) => {
|
|
134
163
|
return customClient({
|
|
135
164
|
url: `/api/events/v1/registrations/${id}`,
|
|
@@ -138,6 +167,9 @@ export const updateRegistration = (id, iUpdateRegistration, options) => {
|
|
|
138
167
|
data: iUpdateRegistration,
|
|
139
168
|
}, options);
|
|
140
169
|
};
|
|
170
|
+
/**
|
|
171
|
+
* Delete a registration by id.
|
|
172
|
+
*/
|
|
141
173
|
export const deleteRegistration = (id, options) => {
|
|
142
174
|
return customClient({ url: `/api/events/v1/registrations/${id}`, method: "DELETE" }, options);
|
|
143
175
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orval-events.js","sourceRoot":"","sources":["../../../../../../src/events/api/orval/api/orval-events.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAChD;;;;;GAKG;AACH
|
|
1
|
+
{"version":3,"file":"orval-events.js","sourceRoot":"","sources":["../../../../../../src/events/api/orval/api/orval-events.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAChD;;;;;GAKG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exports.updateRegistration = exports.getRegistration = exports.getRegistrations = exports.createRegistration = exports.deleteEvent = exports.updateEvent = exports.getEvent = exports.searchEvents = exports.getEvents = exports.createEvent = exports.EventAccess = exports.EventAssociationEntityType = exports.EventAttendanceType = exports.EventLocationType = exports.EventStatus = exports.RegistrationRole = exports.RegistrationStatus = exports.EventSort = exports.EventSortOrder = exports.GetEventsInclude = exports.RegistrationSort = void 0;
|
|
3
|
+
exports.deleteRegistration = exports.updateRegistration = exports.getRegistration = exports.getRegistrations = exports.createRegistration = exports.deleteEvent = exports.updateEvent = exports.getEvent = exports.searchEvents = exports.getEvents = exports.createEvent = exports.EventAccess = exports.EventAssociationEntityType = exports.EventAttendanceType = exports.EventLocationType = exports.EventStatus = exports.RegistrationRole = exports.RegistrationStatus = exports.EventSort = exports.EventSortOrder = exports.EventsSearchFormat = exports.GetEventsInclude = exports.RegistrationSort = void 0;
|
|
4
4
|
/* tslint:disable:interface-over-type-literal */
|
|
5
|
-
/**
|
|
6
|
-
* Generated by orval v6.24.0 🍺
|
|
7
|
-
* Do not edit manually.
|
|
8
|
-
* Hub Events Service
|
|
9
|
-
* OpenAPI spec version: 0.0.1
|
|
10
|
-
*/
|
|
11
5
|
/**
|
|
12
6
|
* Generated by orval v6.24.0 🍺
|
|
13
7
|
* Do not edit manually.
|
|
@@ -31,6 +25,11 @@ var GetEventsInclude;
|
|
|
31
25
|
GetEventsInclude["onlineMeeting"] = "onlineMeeting";
|
|
32
26
|
GetEventsInclude["registrations"] = "registrations";
|
|
33
27
|
})(GetEventsInclude = exports.GetEventsInclude || (exports.GetEventsInclude = {}));
|
|
28
|
+
var EventsSearchFormat;
|
|
29
|
+
(function (EventsSearchFormat) {
|
|
30
|
+
EventsSearchFormat["csv"] = "csv";
|
|
31
|
+
EventsSearchFormat["json"] = "json";
|
|
32
|
+
})(EventsSearchFormat = exports.EventsSearchFormat || (exports.EventsSearchFormat = {}));
|
|
34
33
|
var EventSortOrder;
|
|
35
34
|
(function (EventSortOrder) {
|
|
36
35
|
EventSortOrder["asc"] = "asc";
|
|
@@ -86,6 +85,9 @@ var EventAccess;
|
|
|
86
85
|
EventAccess["ORG"] = "ORG";
|
|
87
86
|
EventAccess["PUBLIC"] = "PUBLIC";
|
|
88
87
|
})(EventAccess = exports.EventAccess || (exports.EventAccess = {}));
|
|
88
|
+
/**
|
|
89
|
+
* Create a new event.
|
|
90
|
+
*/
|
|
89
91
|
exports.createEvent = (iCreateEvent, options) => {
|
|
90
92
|
return custom_client_1.customClient({
|
|
91
93
|
url: `/api/events/v1/events`,
|
|
@@ -94,9 +96,15 @@ exports.createEvent = (iCreateEvent, options) => {
|
|
|
94
96
|
data: iCreateEvent,
|
|
95
97
|
}, options);
|
|
96
98
|
};
|
|
99
|
+
/**
|
|
100
|
+
* Get a list of events matching request criteria.
|
|
101
|
+
*/
|
|
97
102
|
exports.getEvents = (params, options) => {
|
|
98
103
|
return custom_client_1.customClient({ url: `/api/events/v1/events`, method: "GET", params }, options);
|
|
99
104
|
};
|
|
105
|
+
/**
|
|
106
|
+
* Search for events matching request criteria.
|
|
107
|
+
*/
|
|
100
108
|
exports.searchEvents = (iSearchEvents, options) => {
|
|
101
109
|
return custom_client_1.customClient({
|
|
102
110
|
url: `/api/events/v1/events/search`,
|
|
@@ -105,9 +113,15 @@ exports.searchEvents = (iSearchEvents, options) => {
|
|
|
105
113
|
data: iSearchEvents,
|
|
106
114
|
}, options);
|
|
107
115
|
};
|
|
116
|
+
/**
|
|
117
|
+
* Get a single event.
|
|
118
|
+
*/
|
|
108
119
|
exports.getEvent = (id, options) => {
|
|
109
120
|
return custom_client_1.customClient({ url: `/api/events/v1/events/${id}`, method: "GET" }, options);
|
|
110
121
|
};
|
|
122
|
+
/**
|
|
123
|
+
* Update an existing event.
|
|
124
|
+
*/
|
|
111
125
|
exports.updateEvent = (id, iUpdateEvent, options) => {
|
|
112
126
|
return custom_client_1.customClient({
|
|
113
127
|
url: `/api/events/v1/events/${id}`,
|
|
@@ -116,9 +130,15 @@ exports.updateEvent = (id, iUpdateEvent, options) => {
|
|
|
116
130
|
data: iUpdateEvent,
|
|
117
131
|
}, options);
|
|
118
132
|
};
|
|
133
|
+
/**
|
|
134
|
+
* Delete an existing event.
|
|
135
|
+
*/
|
|
119
136
|
exports.deleteEvent = (id, options) => {
|
|
120
137
|
return custom_client_1.customClient({ url: `/api/events/v1/events/${id}`, method: "DELETE" }, options);
|
|
121
138
|
};
|
|
139
|
+
/**
|
|
140
|
+
* Create a new registration.
|
|
141
|
+
*/
|
|
122
142
|
exports.createRegistration = (iCreateRegistration, options) => {
|
|
123
143
|
return custom_client_1.customClient({
|
|
124
144
|
url: `/api/events/v1/registrations`,
|
|
@@ -127,12 +147,21 @@ exports.createRegistration = (iCreateRegistration, options) => {
|
|
|
127
147
|
data: iCreateRegistration,
|
|
128
148
|
}, options);
|
|
129
149
|
};
|
|
150
|
+
/**
|
|
151
|
+
* Get a list of registrations matching request criteria.
|
|
152
|
+
*/
|
|
130
153
|
exports.getRegistrations = (params, options) => {
|
|
131
154
|
return custom_client_1.customClient({ url: `/api/events/v1/registrations`, method: "GET", params }, options);
|
|
132
155
|
};
|
|
156
|
+
/**
|
|
157
|
+
* Get a registration by id.
|
|
158
|
+
*/
|
|
133
159
|
exports.getRegistration = (id, options) => {
|
|
134
160
|
return custom_client_1.customClient({ url: `/api/events/v1/registrations/${id}`, method: "GET" }, options);
|
|
135
161
|
};
|
|
162
|
+
/**
|
|
163
|
+
* Update a registration by id.
|
|
164
|
+
*/
|
|
136
165
|
exports.updateRegistration = (id, iUpdateRegistration, options) => {
|
|
137
166
|
return custom_client_1.customClient({
|
|
138
167
|
url: `/api/events/v1/registrations/${id}`,
|
|
@@ -141,6 +170,9 @@ exports.updateRegistration = (id, iUpdateRegistration, options) => {
|
|
|
141
170
|
data: iUpdateRegistration,
|
|
142
171
|
}, options);
|
|
143
172
|
};
|
|
173
|
+
/**
|
|
174
|
+
* Delete a registration by id.
|
|
175
|
+
*/
|
|
144
176
|
exports.deleteRegistration = (id, options) => {
|
|
145
177
|
return custom_client_1.customClient({ url: `/api/events/v1/registrations/${id}`, method: "DELETE" }, options);
|
|
146
178
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orval-events.js","sourceRoot":"","sources":["../../../../../../src/events/api/orval/api/orval-events.ts"],"names":[],"mappings":";;;AAAA,gDAAgD;AAChD;;;;;GAKG;AACH
|
|
1
|
+
{"version":3,"file":"orval-events.js","sourceRoot":"","sources":["../../../../../../src/events/api/orval/api/orval-events.ts"],"names":[],"mappings":";;;AAAA,gDAAgD;AAChD;;;;;GAKG;AACH,oDAAgD;AAmLhD,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,2CAAuB,CAAA;IACvB,2CAAuB,CAAA;IACvB,2CAAuB,CAAA;IACvB,yCAAqB,CAAA;IACrB,yCAAqB,CAAA;AACvB,CAAC,EANW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAM3B;AA2FD,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,iDAA6B,CAAA;IAC7B,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,mDAA+B,CAAA;IAC/B,mDAA+B,CAAA;AACjC,CAAC,EANW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAM3B;AACD,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,iCAAW,CAAA;IACX,mCAAa,CAAA;AACf,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAOD,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,6BAAW,CAAA;IACX,+BAAa,CAAA;AACf,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AACD,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4BAAe,CAAA;IACf,4CAA+B,CAAA;IAC/B,oCAAuB,CAAA;IACvB,oCAAuB,CAAA;AACzB,CAAC,EALW,SAAS,GAAT,i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A8C,EAC9C,EAAE;IACF,OAAO,4BAAY,CACjB,EAAE,GAAG,EAAE,gCAAgC,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,EAC/D,OAAO,CACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval v6.24.0 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Hub Events Service
|
|
5
|
-
* OpenAPI spec version: 0.0.1
|
|
6
|
-
*/
|
|
7
1
|
/**
|
|
8
2
|
* Generated by orval v6.24.0 🍺
|
|
9
3
|
* Do not edit manually.
|
|
@@ -287,6 +281,10 @@ export declare enum GetEventsInclude {
|
|
|
287
281
|
onlineMeeting = "onlineMeeting",
|
|
288
282
|
registrations = "registrations"
|
|
289
283
|
}
|
|
284
|
+
export declare enum EventsSearchFormat {
|
|
285
|
+
csv = "csv",
|
|
286
|
+
json = "json"
|
|
287
|
+
}
|
|
290
288
|
export interface IPagedEventResponse {
|
|
291
289
|
items: IEvent[];
|
|
292
290
|
nextStart: number;
|
|
@@ -325,6 +323,8 @@ export interface ISearchEvents {
|
|
|
325
323
|
entityTypes?: EventAssociationEntityType[];
|
|
326
324
|
/** Array of event ids */
|
|
327
325
|
eventIds?: string[];
|
|
326
|
+
/** response data format. Example: csv,json */
|
|
327
|
+
f?: EventsSearchFormat;
|
|
328
328
|
/** esri geometry object */
|
|
329
329
|
geometry?: ISearchEventsGeometry;
|
|
330
330
|
/** Array of relation fields to include in response. Example: associations,creator,location,onlineMeeting,registrations */
|
|
@@ -651,16 +651,49 @@ export declare enum EventAccess {
|
|
|
651
651
|
PUBLIC = "PUBLIC"
|
|
652
652
|
}
|
|
653
653
|
declare type SecondParameter<T extends (...args: any) => any> = Parameters<T>[1];
|
|
654
|
+
/**
|
|
655
|
+
* Create a new event.
|
|
656
|
+
*/
|
|
654
657
|
export declare const createEvent: (iCreateEvent: ICreateEvent, options?: SecondParameter<typeof customClient>) => Promise<IEvent>;
|
|
658
|
+
/**
|
|
659
|
+
* Get a list of events matching request criteria.
|
|
660
|
+
*/
|
|
655
661
|
export declare const getEvents: (params?: GetEventsParams, options?: SecondParameter<typeof customClient>) => Promise<IPagedEventResponse>;
|
|
662
|
+
/**
|
|
663
|
+
* Search for events matching request criteria.
|
|
664
|
+
*/
|
|
656
665
|
export declare const searchEvents: (iSearchEvents: ISearchEvents, options?: SecondParameter<typeof customClient>) => Promise<IPagedEventResponse>;
|
|
666
|
+
/**
|
|
667
|
+
* Get a single event.
|
|
668
|
+
*/
|
|
657
669
|
export declare const getEvent: (id: string, options?: SecondParameter<typeof customClient>) => Promise<IEvent>;
|
|
670
|
+
/**
|
|
671
|
+
* Update an existing event.
|
|
672
|
+
*/
|
|
658
673
|
export declare const updateEvent: (id: string, iUpdateEvent: IUpdateEvent, options?: SecondParameter<typeof customClient>) => Promise<IEvent>;
|
|
674
|
+
/**
|
|
675
|
+
* Delete an existing event.
|
|
676
|
+
*/
|
|
659
677
|
export declare const deleteEvent: (id: string, options?: SecondParameter<typeof customClient>) => Promise<IEvent>;
|
|
678
|
+
/**
|
|
679
|
+
* Create a new registration.
|
|
680
|
+
*/
|
|
660
681
|
export declare const createRegistration: (iCreateRegistration: ICreateRegistration, options?: SecondParameter<typeof customClient>) => Promise<IRegistration>;
|
|
682
|
+
/**
|
|
683
|
+
* Get a list of registrations matching request criteria.
|
|
684
|
+
*/
|
|
661
685
|
export declare const getRegistrations: (params?: GetRegistrationsParams, options?: SecondParameter<typeof customClient>) => Promise<IPagedRegistrationResponse>;
|
|
686
|
+
/**
|
|
687
|
+
* Get a registration by id.
|
|
688
|
+
*/
|
|
662
689
|
export declare const getRegistration: (id: string, options?: SecondParameter<typeof customClient>) => Promise<IRegistration>;
|
|
690
|
+
/**
|
|
691
|
+
* Update a registration by id.
|
|
692
|
+
*/
|
|
663
693
|
export declare const updateRegistration: (id: string, iUpdateRegistration: IUpdateRegistration, options?: SecondParameter<typeof customClient>) => Promise<IRegistration>;
|
|
694
|
+
/**
|
|
695
|
+
* Delete a registration by id.
|
|
696
|
+
*/
|
|
664
697
|
export declare const deleteRegistration: (id: string, options?: SecondParameter<typeof customClient>) => Promise<IRegistration>;
|
|
665
698
|
export declare type CreateEventResult = NonNullable<Awaited<ReturnType<typeof createEvent>>>;
|
|
666
699
|
export declare type GetEventsResult = NonNullable<Awaited<ReturnType<typeof getEvents>>>;
|