reach-api-sdk 1.0.202 → 1.0.204
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/reach-sdk.d.ts +1702 -480
- package/dist/reach-sdk.js +1127 -212
- package/package.json +1 -1
- package/src/apiClient.ts +6 -0
- package/src/definition/swagger.yaml +5022 -2064
- package/src/index.ts +8 -0
- package/src/models/CourseEmailWaitlistPatch.ts +22 -0
- package/src/models/CreateOffer.ts +8 -0
- package/src/models/CreateQuestion.ts +4 -0
- package/src/models/Offer.ts +8 -0
- package/src/models/OfferPatch.ts +8 -0
- package/src/models/OfferPost.ts +8 -0
- package/src/models/Permission.ts +4 -0
- package/src/models/PermissionPatch.ts +4 -0
- package/src/models/ScheduledSessionEmailWaitlistPatch.ts +22 -0
- package/src/models/SurveyCompletionLog.ts +4 -0
- package/src/models/SurveyQuestionType.ts +5 -0
- package/src/models/TemplateOffer.ts +24 -0
- package/src/models/UpdateOffer.ts +8 -0
- package/src/models/UserPermission.ts +4 -0
- package/src/models/UserPermissionPatch.ts +4 -0
- package/src/models/Venue.ts +4 -0
- package/src/models/VenueType.ts +42 -0
- package/src/models/VenueTypePage.ts +12 -0
- package/src/models/VenueTypePatch.ts +26 -0
- package/src/models/VenueTypePost.ts +22 -0
- package/src/services/CoursesService.ts +35 -0
- package/src/services/GenericActivityService.ts +36 -0
- package/src/services/PublicGenericActivityService.ts +323 -0
- package/src/services/PublicSurveyCompletionLogsService.ts +12 -0
- package/src/services/PublicVenueTypesService.ts +401 -0
- package/src/services/PublicVenuesService.ts +237 -0
- package/src/services/ScheduledSessionsService.ts +35 -0
- package/src/services/SurveyCompletionLogService.ts +30 -0
- package/src/services/VenueTypeService.ts +662 -0
- package/src/services/VenuesService.ts +30 -0
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { SearchSortOrderDirection } from '../models/SearchSortOrderDirection';
|
|
6
|
+
import type { VenueType } from '../models/VenueType';
|
|
7
|
+
import type { VenueTypePage } from '../models/VenueTypePage';
|
|
8
|
+
import type { VenueTypePatch } from '../models/VenueTypePatch';
|
|
9
|
+
import type { VenueTypePost } from '../models/VenueTypePost';
|
|
10
|
+
|
|
11
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
12
|
+
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
|
|
13
|
+
|
|
14
|
+
export class PublicVenueTypesService {
|
|
15
|
+
constructor(public readonly httpRequest: BaseHttpRequest) {}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @returns VenueType OK
|
|
19
|
+
* @throws ApiError
|
|
20
|
+
*/
|
|
21
|
+
public getObject({
|
|
22
|
+
id,
|
|
23
|
+
xTenantSubdomain,
|
|
24
|
+
}: {
|
|
25
|
+
id: string;
|
|
26
|
+
xTenantSubdomain?: string;
|
|
27
|
+
}): CancelablePromise<VenueType> {
|
|
28
|
+
return this.httpRequest.request({
|
|
29
|
+
method: 'GET',
|
|
30
|
+
url: '/api/public/venue-types/{id}',
|
|
31
|
+
path: {
|
|
32
|
+
id: id,
|
|
33
|
+
},
|
|
34
|
+
headers: {
|
|
35
|
+
x_tenant_subdomain: xTenantSubdomain,
|
|
36
|
+
},
|
|
37
|
+
errors: {
|
|
38
|
+
400: `Bad Request`,
|
|
39
|
+
422: `Unprocessable Content`,
|
|
40
|
+
500: `Internal Server Error`,
|
|
41
|
+
},
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Deletes the resource.
|
|
47
|
+
* @returns any OK
|
|
48
|
+
* @throws ApiError
|
|
49
|
+
*/
|
|
50
|
+
public deleteById({
|
|
51
|
+
id,
|
|
52
|
+
xTenantSubdomain,
|
|
53
|
+
}: {
|
|
54
|
+
/**
|
|
55
|
+
* The <typeparamref name="TObject" /> id.
|
|
56
|
+
*/
|
|
57
|
+
id: string;
|
|
58
|
+
/**
|
|
59
|
+
* The tenants subdomain.
|
|
60
|
+
*/
|
|
61
|
+
xTenantSubdomain?: string;
|
|
62
|
+
}): CancelablePromise<any> {
|
|
63
|
+
return this.httpRequest.request({
|
|
64
|
+
method: 'DELETE',
|
|
65
|
+
url: '/api/public/venue-types/{id}',
|
|
66
|
+
path: {
|
|
67
|
+
id: id,
|
|
68
|
+
},
|
|
69
|
+
headers: {
|
|
70
|
+
x_tenant_subdomain: xTenantSubdomain,
|
|
71
|
+
},
|
|
72
|
+
errors: {
|
|
73
|
+
400: `Bad Request`,
|
|
74
|
+
422: `Unprocessable Content`,
|
|
75
|
+
500: `Internal Server Error`,
|
|
76
|
+
},
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @returns VenueTypePage OK
|
|
82
|
+
* @throws ApiError
|
|
83
|
+
*/
|
|
84
|
+
public getPage({
|
|
85
|
+
xTenantSubdomain,
|
|
86
|
+
pageNumber,
|
|
87
|
+
take,
|
|
88
|
+
skip,
|
|
89
|
+
limitListRequests,
|
|
90
|
+
tenantId,
|
|
91
|
+
modifiedById,
|
|
92
|
+
modifiedByIds,
|
|
93
|
+
dateCreatedGte,
|
|
94
|
+
dateCreatedLte,
|
|
95
|
+
isLive,
|
|
96
|
+
sortOrderDirection,
|
|
97
|
+
}: {
|
|
98
|
+
xTenantSubdomain?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Gets or sets the page number for paged queries.
|
|
101
|
+
*/
|
|
102
|
+
pageNumber?: number;
|
|
103
|
+
/**
|
|
104
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
105
|
+
*/
|
|
106
|
+
take?: number;
|
|
107
|
+
/**
|
|
108
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
109
|
+
*/
|
|
110
|
+
skip?: number;
|
|
111
|
+
/**
|
|
112
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
113
|
+
*/
|
|
114
|
+
limitListRequests?: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* Gets or sets the Tenant Id.
|
|
117
|
+
*/
|
|
118
|
+
tenantId?: string;
|
|
119
|
+
/**
|
|
120
|
+
* Gets or sets the Modifed By Id.
|
|
121
|
+
*/
|
|
122
|
+
modifiedById?: string;
|
|
123
|
+
/**
|
|
124
|
+
* Gets or sets the Modifed By Ids.
|
|
125
|
+
*/
|
|
126
|
+
modifiedByIds?: Array<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Gets or sets the Date Created greater than equal to.
|
|
129
|
+
*/
|
|
130
|
+
dateCreatedGte?: string;
|
|
131
|
+
/**
|
|
132
|
+
* Gets or sets the Date Created less than equal to.
|
|
133
|
+
*/
|
|
134
|
+
dateCreatedLte?: string;
|
|
135
|
+
/**
|
|
136
|
+
* Gets or sets the queryable only is live status.
|
|
137
|
+
*/
|
|
138
|
+
isLive?: boolean;
|
|
139
|
+
/**
|
|
140
|
+
* Gets or sets the sort order direction.
|
|
141
|
+
*/
|
|
142
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
143
|
+
}): CancelablePromise<VenueTypePage> {
|
|
144
|
+
return this.httpRequest.request({
|
|
145
|
+
method: 'GET',
|
|
146
|
+
url: '/api/public/venue-types',
|
|
147
|
+
headers: {
|
|
148
|
+
x_tenant_subdomain: xTenantSubdomain,
|
|
149
|
+
},
|
|
150
|
+
query: {
|
|
151
|
+
PageNumber: pageNumber,
|
|
152
|
+
Take: take,
|
|
153
|
+
Skip: skip,
|
|
154
|
+
LimitListRequests: limitListRequests,
|
|
155
|
+
TenantId: tenantId,
|
|
156
|
+
ModifiedById: modifiedById,
|
|
157
|
+
ModifiedByIds: modifiedByIds,
|
|
158
|
+
DateCreatedGTE: dateCreatedGte,
|
|
159
|
+
DateCreatedLTE: dateCreatedLte,
|
|
160
|
+
IsLive: isLive,
|
|
161
|
+
SortOrderDirection: sortOrderDirection,
|
|
162
|
+
},
|
|
163
|
+
errors: {
|
|
164
|
+
400: `Bad Request`,
|
|
165
|
+
422: `Unprocessable Content`,
|
|
166
|
+
500: `Internal Server Error`,
|
|
167
|
+
},
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Deletes the resource.
|
|
173
|
+
* @returns any OK
|
|
174
|
+
* @throws ApiError
|
|
175
|
+
*/
|
|
176
|
+
public deleteByObject({
|
|
177
|
+
xTenantSubdomain,
|
|
178
|
+
requestBody,
|
|
179
|
+
}: {
|
|
180
|
+
/**
|
|
181
|
+
* The tenants subdomain.
|
|
182
|
+
*/
|
|
183
|
+
xTenantSubdomain?: string;
|
|
184
|
+
/**
|
|
185
|
+
* The <typeparamref name="TObject" /> model.
|
|
186
|
+
*/
|
|
187
|
+
requestBody?: VenueType;
|
|
188
|
+
}): CancelablePromise<any> {
|
|
189
|
+
return this.httpRequest.request({
|
|
190
|
+
method: 'DELETE',
|
|
191
|
+
url: '/api/public/venue-types',
|
|
192
|
+
headers: {
|
|
193
|
+
x_tenant_subdomain: xTenantSubdomain,
|
|
194
|
+
},
|
|
195
|
+
body: requestBody,
|
|
196
|
+
mediaType: 'application/json',
|
|
197
|
+
errors: {
|
|
198
|
+
400: `Bad Request`,
|
|
199
|
+
422: `Unprocessable Content`,
|
|
200
|
+
500: `Internal Server Error`,
|
|
201
|
+
},
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
207
|
+
* @returns VenueType OK
|
|
208
|
+
* @throws ApiError
|
|
209
|
+
*/
|
|
210
|
+
public post({
|
|
211
|
+
xTenantSubdomain,
|
|
212
|
+
requestBody,
|
|
213
|
+
}: {
|
|
214
|
+
/**
|
|
215
|
+
* The tenants subdomain.
|
|
216
|
+
*/
|
|
217
|
+
xTenantSubdomain?: string;
|
|
218
|
+
/**
|
|
219
|
+
* The <typeparamref name="TObject" /> model.
|
|
220
|
+
*/
|
|
221
|
+
requestBody?: VenueTypePost;
|
|
222
|
+
}): CancelablePromise<VenueType> {
|
|
223
|
+
return this.httpRequest.request({
|
|
224
|
+
method: 'POST',
|
|
225
|
+
url: '/api/public/venue-types/v2-temporary-route',
|
|
226
|
+
headers: {
|
|
227
|
+
x_tenant_subdomain: xTenantSubdomain,
|
|
228
|
+
},
|
|
229
|
+
body: requestBody,
|
|
230
|
+
mediaType: 'application/json',
|
|
231
|
+
errors: {
|
|
232
|
+
400: `Bad Request`,
|
|
233
|
+
422: `Unprocessable Content`,
|
|
234
|
+
500: `Internal Server Error`,
|
|
235
|
+
},
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Patches the resource.
|
|
241
|
+
* @returns VenueType OK
|
|
242
|
+
* @throws ApiError
|
|
243
|
+
*/
|
|
244
|
+
public patch({
|
|
245
|
+
xTenantSubdomain,
|
|
246
|
+
requestBody,
|
|
247
|
+
}: {
|
|
248
|
+
/**
|
|
249
|
+
* The tenants subdomain.
|
|
250
|
+
*/
|
|
251
|
+
xTenantSubdomain?: string;
|
|
252
|
+
/**
|
|
253
|
+
* The <typeparamref name="TObject" /> model.
|
|
254
|
+
*/
|
|
255
|
+
requestBody?: VenueTypePatch;
|
|
256
|
+
}): CancelablePromise<VenueType> {
|
|
257
|
+
return this.httpRequest.request({
|
|
258
|
+
method: 'PATCH',
|
|
259
|
+
url: '/api/public/venue-types/v2-temporary-route',
|
|
260
|
+
headers: {
|
|
261
|
+
x_tenant_subdomain: xTenantSubdomain,
|
|
262
|
+
},
|
|
263
|
+
body: requestBody,
|
|
264
|
+
mediaType: 'application/json',
|
|
265
|
+
errors: {
|
|
266
|
+
400: `Bad Request`,
|
|
267
|
+
422: `Unprocessable Content`,
|
|
268
|
+
500: `Internal Server Error`,
|
|
269
|
+
},
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Inserts a list of resources.
|
|
275
|
+
* @returns VenueType OK
|
|
276
|
+
* @throws ApiError
|
|
277
|
+
*/
|
|
278
|
+
public postList({
|
|
279
|
+
xTenantSubdomain,
|
|
280
|
+
requestBody,
|
|
281
|
+
}: {
|
|
282
|
+
/**
|
|
283
|
+
* The tenants subdomain.
|
|
284
|
+
*/
|
|
285
|
+
xTenantSubdomain?: string;
|
|
286
|
+
/**
|
|
287
|
+
* The list of <typeparamref name="TObject" />.
|
|
288
|
+
*/
|
|
289
|
+
requestBody?: Array<VenueTypePost>;
|
|
290
|
+
}): CancelablePromise<Array<VenueType>> {
|
|
291
|
+
return this.httpRequest.request({
|
|
292
|
+
method: 'POST',
|
|
293
|
+
url: '/api/public/venue-types/v2-temporary-route/list',
|
|
294
|
+
headers: {
|
|
295
|
+
x_tenant_subdomain: xTenantSubdomain,
|
|
296
|
+
},
|
|
297
|
+
body: requestBody,
|
|
298
|
+
mediaType: 'application/json',
|
|
299
|
+
errors: {
|
|
300
|
+
400: `Bad Request`,
|
|
301
|
+
422: `Unprocessable Content`,
|
|
302
|
+
500: `Internal Server Error`,
|
|
303
|
+
},
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Returns a value indicating whether the resource exists in the database given the provided search params.
|
|
309
|
+
* @returns boolean OK
|
|
310
|
+
* @throws ApiError
|
|
311
|
+
*/
|
|
312
|
+
public exists({
|
|
313
|
+
xTenantSubdomain,
|
|
314
|
+
pageNumber,
|
|
315
|
+
take,
|
|
316
|
+
skip,
|
|
317
|
+
limitListRequests,
|
|
318
|
+
tenantId,
|
|
319
|
+
modifiedById,
|
|
320
|
+
modifiedByIds,
|
|
321
|
+
dateCreatedGte,
|
|
322
|
+
dateCreatedLte,
|
|
323
|
+
isLive,
|
|
324
|
+
sortOrderDirection,
|
|
325
|
+
}: {
|
|
326
|
+
/**
|
|
327
|
+
* The tenants subdomain.
|
|
328
|
+
*/
|
|
329
|
+
xTenantSubdomain?: string;
|
|
330
|
+
/**
|
|
331
|
+
* Gets or sets the page number for paged queries.
|
|
332
|
+
*/
|
|
333
|
+
pageNumber?: number;
|
|
334
|
+
/**
|
|
335
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
336
|
+
*/
|
|
337
|
+
take?: number;
|
|
338
|
+
/**
|
|
339
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
340
|
+
*/
|
|
341
|
+
skip?: number;
|
|
342
|
+
/**
|
|
343
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
344
|
+
*/
|
|
345
|
+
limitListRequests?: boolean;
|
|
346
|
+
/**
|
|
347
|
+
* Gets or sets the Tenant Id.
|
|
348
|
+
*/
|
|
349
|
+
tenantId?: string;
|
|
350
|
+
/**
|
|
351
|
+
* Gets or sets the Modifed By Id.
|
|
352
|
+
*/
|
|
353
|
+
modifiedById?: string;
|
|
354
|
+
/**
|
|
355
|
+
* Gets or sets the Modifed By Ids.
|
|
356
|
+
*/
|
|
357
|
+
modifiedByIds?: Array<string>;
|
|
358
|
+
/**
|
|
359
|
+
* Gets or sets the Date Created greater than equal to.
|
|
360
|
+
*/
|
|
361
|
+
dateCreatedGte?: string;
|
|
362
|
+
/**
|
|
363
|
+
* Gets or sets the Date Created less than equal to.
|
|
364
|
+
*/
|
|
365
|
+
dateCreatedLte?: string;
|
|
366
|
+
/**
|
|
367
|
+
* Gets or sets the queryable only is live status.
|
|
368
|
+
*/
|
|
369
|
+
isLive?: boolean;
|
|
370
|
+
/**
|
|
371
|
+
* Gets or sets the sort order direction.
|
|
372
|
+
*/
|
|
373
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
374
|
+
}): CancelablePromise<boolean> {
|
|
375
|
+
return this.httpRequest.request({
|
|
376
|
+
method: 'GET',
|
|
377
|
+
url: '/api/public/venue-types/exists',
|
|
378
|
+
headers: {
|
|
379
|
+
x_tenant_subdomain: xTenantSubdomain,
|
|
380
|
+
},
|
|
381
|
+
query: {
|
|
382
|
+
PageNumber: pageNumber,
|
|
383
|
+
Take: take,
|
|
384
|
+
Skip: skip,
|
|
385
|
+
LimitListRequests: limitListRequests,
|
|
386
|
+
TenantId: tenantId,
|
|
387
|
+
ModifiedById: modifiedById,
|
|
388
|
+
ModifiedByIds: modifiedByIds,
|
|
389
|
+
DateCreatedGTE: dateCreatedGte,
|
|
390
|
+
DateCreatedLTE: dateCreatedLte,
|
|
391
|
+
IsLive: isLive,
|
|
392
|
+
SortOrderDirection: sortOrderDirection,
|
|
393
|
+
},
|
|
394
|
+
errors: {
|
|
395
|
+
400: `Bad Request`,
|
|
396
|
+
422: `Unprocessable Content`,
|
|
397
|
+
500: `Internal Server Error`,
|
|
398
|
+
},
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
}
|
|
@@ -105,6 +105,7 @@ export class PublicVenuesService {
|
|
|
105
105
|
distance,
|
|
106
106
|
dashboardRequest,
|
|
107
107
|
programmeIds,
|
|
108
|
+
venueTypeIds,
|
|
108
109
|
pageNumber,
|
|
109
110
|
take,
|
|
110
111
|
skip,
|
|
@@ -202,6 +203,10 @@ export class PublicVenuesService {
|
|
|
202
203
|
* Gets or sets the programme ids.
|
|
203
204
|
*/
|
|
204
205
|
programmeIds?: Array<string>;
|
|
206
|
+
/**
|
|
207
|
+
* Gets or sets the venue type ids.
|
|
208
|
+
*/
|
|
209
|
+
venueTypeIds?: Array<string>;
|
|
205
210
|
/**
|
|
206
211
|
* Gets or sets the page number for paged queries.
|
|
207
212
|
*/
|
|
@@ -275,6 +280,7 @@ export class PublicVenuesService {
|
|
|
275
280
|
Distance: distance,
|
|
276
281
|
DashboardRequest: dashboardRequest,
|
|
277
282
|
ProgrammeIds: programmeIds,
|
|
283
|
+
VenueTypeIds: venueTypeIds,
|
|
278
284
|
PageNumber: pageNumber,
|
|
279
285
|
Take: take,
|
|
280
286
|
Skip: skip,
|
|
@@ -356,6 +362,7 @@ export class PublicVenuesService {
|
|
|
356
362
|
distance,
|
|
357
363
|
dashboardRequest,
|
|
358
364
|
programmeIds,
|
|
365
|
+
venueTypeIds,
|
|
359
366
|
pageNumber,
|
|
360
367
|
take,
|
|
361
368
|
skip,
|
|
@@ -452,6 +459,10 @@ export class PublicVenuesService {
|
|
|
452
459
|
* Gets or sets the programme ids.
|
|
453
460
|
*/
|
|
454
461
|
programmeIds?: Array<string>;
|
|
462
|
+
/**
|
|
463
|
+
* Gets or sets the venue type ids.
|
|
464
|
+
*/
|
|
465
|
+
venueTypeIds?: Array<string>;
|
|
455
466
|
/**
|
|
456
467
|
* Gets or sets the page number for paged queries.
|
|
457
468
|
*/
|
|
@@ -522,6 +533,226 @@ export class PublicVenuesService {
|
|
|
522
533
|
Distance: distance,
|
|
523
534
|
DashboardRequest: dashboardRequest,
|
|
524
535
|
ProgrammeIds: programmeIds,
|
|
536
|
+
VenueTypeIds: venueTypeIds,
|
|
537
|
+
PageNumber: pageNumber,
|
|
538
|
+
Take: take,
|
|
539
|
+
Skip: skip,
|
|
540
|
+
LimitListRequests: limitListRequests,
|
|
541
|
+
TenantId: tenantId,
|
|
542
|
+
ModifiedById: modifiedById,
|
|
543
|
+
ModifiedByIds: modifiedByIds,
|
|
544
|
+
DateCreatedGTE: dateCreatedGte,
|
|
545
|
+
DateCreatedLTE: dateCreatedLte,
|
|
546
|
+
IsLive: isLive,
|
|
547
|
+
SortOrderDirection: sortOrderDirection,
|
|
548
|
+
},
|
|
549
|
+
errors: {
|
|
550
|
+
400: `Bad Request`,
|
|
551
|
+
422: `Unprocessable Content`,
|
|
552
|
+
500: `Internal Server Error`,
|
|
553
|
+
},
|
|
554
|
+
});
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* Get Venues for a network using optimized query.
|
|
559
|
+
* @returns VenuePage OK
|
|
560
|
+
* @throws ApiError
|
|
561
|
+
*/
|
|
562
|
+
public getNetworkPageOptimized({
|
|
563
|
+
ids,
|
|
564
|
+
wildcard,
|
|
565
|
+
name,
|
|
566
|
+
streetAddress,
|
|
567
|
+
addressPostalcode,
|
|
568
|
+
nameLike,
|
|
569
|
+
slug,
|
|
570
|
+
assignedTo,
|
|
571
|
+
stripeAccountId,
|
|
572
|
+
searchGeoCenter,
|
|
573
|
+
publishedOnWeb,
|
|
574
|
+
archived,
|
|
575
|
+
networkId,
|
|
576
|
+
tenantStatus,
|
|
577
|
+
programmeId,
|
|
578
|
+
includeOpportunityImages,
|
|
579
|
+
includeOpportunityOffers,
|
|
580
|
+
includeNextOpportunity,
|
|
581
|
+
distance,
|
|
582
|
+
dashboardRequest,
|
|
583
|
+
programmeIds,
|
|
584
|
+
venueTypeIds,
|
|
585
|
+
pageNumber,
|
|
586
|
+
take,
|
|
587
|
+
skip,
|
|
588
|
+
limitListRequests,
|
|
589
|
+
tenantId,
|
|
590
|
+
modifiedById,
|
|
591
|
+
modifiedByIds,
|
|
592
|
+
dateCreatedGte,
|
|
593
|
+
dateCreatedLte,
|
|
594
|
+
isLive,
|
|
595
|
+
sortOrderDirection,
|
|
596
|
+
}: {
|
|
597
|
+
/**
|
|
598
|
+
* Gets or sets the queryable venue ids.
|
|
599
|
+
*/
|
|
600
|
+
ids?: Array<string>;
|
|
601
|
+
/**
|
|
602
|
+
* Gets or sets the queryable venue name wildcard.
|
|
603
|
+
*/
|
|
604
|
+
wildcard?: string;
|
|
605
|
+
/**
|
|
606
|
+
* Gets or sets the queryable venue name.
|
|
607
|
+
*/
|
|
608
|
+
name?: string;
|
|
609
|
+
/**
|
|
610
|
+
* Gets or sets the queryable venue street address.
|
|
611
|
+
*/
|
|
612
|
+
streetAddress?: string;
|
|
613
|
+
/**
|
|
614
|
+
* Gets or sets the queryable venue address postal code.
|
|
615
|
+
*/
|
|
616
|
+
addressPostalcode?: string;
|
|
617
|
+
/**
|
|
618
|
+
* Gets or sets the queryable venue name wildcard.
|
|
619
|
+
*/
|
|
620
|
+
nameLike?: string;
|
|
621
|
+
/**
|
|
622
|
+
* Gets or sets the queryable venue url slug.
|
|
623
|
+
*/
|
|
624
|
+
slug?: string;
|
|
625
|
+
/**
|
|
626
|
+
* Gets or sets the queryable assign to Id.
|
|
627
|
+
*/
|
|
628
|
+
assignedTo?: string;
|
|
629
|
+
/**
|
|
630
|
+
* Gets or sets the queryable stripe account Id.
|
|
631
|
+
*/
|
|
632
|
+
stripeAccountId?: string;
|
|
633
|
+
/**
|
|
634
|
+
* Gets or sets the queryable search geo center.
|
|
635
|
+
*/
|
|
636
|
+
searchGeoCenter?: string;
|
|
637
|
+
/**
|
|
638
|
+
* Gets or sets a value indicating whether to show published venues.
|
|
639
|
+
*/
|
|
640
|
+
publishedOnWeb?: boolean;
|
|
641
|
+
/**
|
|
642
|
+
* Gets or sets a value indicating whether to include archived venues.
|
|
643
|
+
*/
|
|
644
|
+
archived?: boolean;
|
|
645
|
+
/**
|
|
646
|
+
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
647
|
+
*/
|
|
648
|
+
networkId?: string;
|
|
649
|
+
/**
|
|
650
|
+
* Gets or sets a value indicating whether the results should return a specific tenant status.
|
|
651
|
+
*/
|
|
652
|
+
tenantStatus?: TenantStatus;
|
|
653
|
+
/**
|
|
654
|
+
* Gets or sets the queryable programme Id.
|
|
655
|
+
*/
|
|
656
|
+
programmeId?: string;
|
|
657
|
+
/**
|
|
658
|
+
* Gets or sets a value indicating whether to inlcude the venues opportunity images.
|
|
659
|
+
*/
|
|
660
|
+
includeOpportunityImages?: boolean;
|
|
661
|
+
/**
|
|
662
|
+
* Gets or sets a value indicating whether to inlcude the venues opportunity offers.
|
|
663
|
+
*/
|
|
664
|
+
includeOpportunityOffers?: boolean;
|
|
665
|
+
/**
|
|
666
|
+
* Gets or sets a value indicating whether to inlcude the venues opportunity next availability.
|
|
667
|
+
*/
|
|
668
|
+
includeNextOpportunity?: boolean;
|
|
669
|
+
/**
|
|
670
|
+
* Gets or sets Distance.
|
|
671
|
+
*/
|
|
672
|
+
distance?: number;
|
|
673
|
+
/**
|
|
674
|
+
* Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
675
|
+
*/
|
|
676
|
+
dashboardRequest?: boolean;
|
|
677
|
+
/**
|
|
678
|
+
* Gets or sets the programme ids.
|
|
679
|
+
*/
|
|
680
|
+
programmeIds?: Array<string>;
|
|
681
|
+
/**
|
|
682
|
+
* Gets or sets the venue type ids.
|
|
683
|
+
*/
|
|
684
|
+
venueTypeIds?: Array<string>;
|
|
685
|
+
/**
|
|
686
|
+
* Gets or sets the page number for paged queries.
|
|
687
|
+
*/
|
|
688
|
+
pageNumber?: number;
|
|
689
|
+
/**
|
|
690
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
691
|
+
*/
|
|
692
|
+
take?: number;
|
|
693
|
+
/**
|
|
694
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
695
|
+
*/
|
|
696
|
+
skip?: number;
|
|
697
|
+
/**
|
|
698
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
699
|
+
*/
|
|
700
|
+
limitListRequests?: boolean;
|
|
701
|
+
/**
|
|
702
|
+
* Gets or sets the Tenant Id.
|
|
703
|
+
*/
|
|
704
|
+
tenantId?: string;
|
|
705
|
+
/**
|
|
706
|
+
* Gets or sets the Modifed By Id.
|
|
707
|
+
*/
|
|
708
|
+
modifiedById?: string;
|
|
709
|
+
/**
|
|
710
|
+
* Gets or sets the Modifed By Ids.
|
|
711
|
+
*/
|
|
712
|
+
modifiedByIds?: Array<string>;
|
|
713
|
+
/**
|
|
714
|
+
* Gets or sets the Date Created greater than equal to.
|
|
715
|
+
*/
|
|
716
|
+
dateCreatedGte?: string;
|
|
717
|
+
/**
|
|
718
|
+
* Gets or sets the Date Created less than equal to.
|
|
719
|
+
*/
|
|
720
|
+
dateCreatedLte?: string;
|
|
721
|
+
/**
|
|
722
|
+
* Gets or sets the queryable only is live status.
|
|
723
|
+
*/
|
|
724
|
+
isLive?: boolean;
|
|
725
|
+
/**
|
|
726
|
+
* Gets or sets the sort order direction.
|
|
727
|
+
*/
|
|
728
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
729
|
+
}): CancelablePromise<VenuePage> {
|
|
730
|
+
return this.httpRequest.request({
|
|
731
|
+
method: 'GET',
|
|
732
|
+
url: '/api/public/venues/network/optimized',
|
|
733
|
+
query: {
|
|
734
|
+
Ids: ids,
|
|
735
|
+
Wildcard: wildcard,
|
|
736
|
+
Name: name,
|
|
737
|
+
StreetAddress: streetAddress,
|
|
738
|
+
AddressPostalcode: addressPostalcode,
|
|
739
|
+
NameLike: nameLike,
|
|
740
|
+
Slug: slug,
|
|
741
|
+
AssignedTo: assignedTo,
|
|
742
|
+
StripeAccountId: stripeAccountId,
|
|
743
|
+
SearchGeoCenter: searchGeoCenter,
|
|
744
|
+
PublishedOnWeb: publishedOnWeb,
|
|
745
|
+
Archived: archived,
|
|
746
|
+
NetworkId: networkId,
|
|
747
|
+
TenantStatus: tenantStatus,
|
|
748
|
+
ProgrammeId: programmeId,
|
|
749
|
+
IncludeOpportunityImages: includeOpportunityImages,
|
|
750
|
+
IncludeOpportunityOffers: includeOpportunityOffers,
|
|
751
|
+
IncludeNextOpportunity: includeNextOpportunity,
|
|
752
|
+
Distance: distance,
|
|
753
|
+
DashboardRequest: dashboardRequest,
|
|
754
|
+
ProgrammeIds: programmeIds,
|
|
755
|
+
VenueTypeIds: venueTypeIds,
|
|
525
756
|
PageNumber: pageNumber,
|
|
526
757
|
Take: take,
|
|
527
758
|
Skip: skip,
|
|
@@ -672,6 +903,7 @@ export class PublicVenuesService {
|
|
|
672
903
|
distance,
|
|
673
904
|
dashboardRequest,
|
|
674
905
|
programmeIds,
|
|
906
|
+
venueTypeIds,
|
|
675
907
|
pageNumber,
|
|
676
908
|
take,
|
|
677
909
|
skip,
|
|
@@ -772,6 +1004,10 @@ export class PublicVenuesService {
|
|
|
772
1004
|
* Gets or sets the programme ids.
|
|
773
1005
|
*/
|
|
774
1006
|
programmeIds?: Array<string>;
|
|
1007
|
+
/**
|
|
1008
|
+
* Gets or sets the venue type ids.
|
|
1009
|
+
*/
|
|
1010
|
+
venueTypeIds?: Array<string>;
|
|
775
1011
|
/**
|
|
776
1012
|
* Gets or sets the page number for paged queries.
|
|
777
1013
|
*/
|
|
@@ -845,6 +1081,7 @@ export class PublicVenuesService {
|
|
|
845
1081
|
Distance: distance,
|
|
846
1082
|
DashboardRequest: dashboardRequest,
|
|
847
1083
|
ProgrammeIds: programmeIds,
|
|
1084
|
+
VenueTypeIds: venueTypeIds,
|
|
848
1085
|
PageNumber: pageNumber,
|
|
849
1086
|
Take: take,
|
|
850
1087
|
Skip: skip,
|