@connectedxm/admin-sdk 6.7.7 → 6.9.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.
Files changed (44) hide show
  1. package/.openapi-generator/FILES +13 -0
  2. package/AdminApi.ts +9 -1
  3. package/README.md +28 -0
  4. package/api.ts +2619 -564
  5. package/dist/AdminApi.d.ts +5 -1
  6. package/dist/AdminApi.js +4 -1
  7. package/dist/api.d.ts +1122 -30
  8. package/dist/api.js +1759 -286
  9. package/dist/esm/AdminApi.d.ts +5 -1
  10. package/dist/esm/AdminApi.js +5 -2
  11. package/dist/esm/api.d.ts +1122 -30
  12. package/dist/esm/api.js +1729 -264
  13. package/docs/AccountCreateInputs.md +2 -0
  14. package/docs/AccountUpdateInputs.md +2 -0
  15. package/docs/BaseEventActivation.md +2 -0
  16. package/docs/BaseEventBlock.md +28 -0
  17. package/docs/BaseSeriesRegistration.md +32 -0
  18. package/docs/BaseSurvey.md +2 -0
  19. package/docs/BaseSurveySubmission.md +6 -0
  20. package/docs/CreateEventBlock200Response.md +24 -0
  21. package/docs/EventActivation.md +2 -0
  22. package/docs/EventBlock.md +36 -0
  23. package/docs/EventBlockCreateInputs.md +26 -0
  24. package/docs/EventBlockUpdateInputs.md +26 -0
  25. package/docs/EventSession.md +2 -0
  26. package/docs/EventsBlocksApi.md +479 -0
  27. package/docs/EventsCouponsApi.md +3 -0
  28. package/docs/EventsSessionsApi.md +183 -0
  29. package/docs/GetEventBlocks200Response.md +26 -0
  30. package/docs/Series.md +8 -0
  31. package/docs/SeriesCreateInputs.md +10 -0
  32. package/docs/SeriesRegistration.md +36 -0
  33. package/docs/SeriesRegistrationCreateInputs.md +20 -0
  34. package/docs/SeriesRegistrationUpdateInputs.md +20 -0
  35. package/docs/SeriesRegistrationsApi.md +354 -0
  36. package/docs/SeriesUpdateInputs.md +10 -0
  37. package/docs/Survey.md +18 -0
  38. package/docs/SurveyAllOfCount.md +20 -0
  39. package/docs/SurveyCreateInputs.md +8 -0
  40. package/docs/SurveySubmission.md +6 -0
  41. package/docs/SurveySubmissionUpdateInputs.md +4 -0
  42. package/docs/SurveyUpdateInputs.md +8 -0
  43. package/docs/SurveysApi.md +6 -0
  44. package/package.json +1 -1
@@ -0,0 +1,479 @@
1
+ # EventsBlocksApi
2
+
3
+ All URIs are relative to *https://admin-api.connected.dev*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**addEventBlockSession**](#addeventblocksession) | **POST** /events/{eventId}/blocks/{blockId}/sessions/{sessionId} | Add Event Block Session|
8
+ |[**createEventBlock**](#createeventblock) | **POST** /events/{eventId}/blocks | Create Event Block|
9
+ |[**deleteEventBlock**](#deleteeventblock) | **DELETE** /events/{eventId}/blocks/{blockId} | Delete Event Block|
10
+ |[**getEventBlock**](#geteventblock) | **GET** /events/{eventId}/blocks/{blockId} | Get Event Block|
11
+ |[**getEventBlockSessions**](#geteventblocksessions) | **GET** /events/{eventId}/blocks/{blockId}/sessions | Get Event Block Sessions|
12
+ |[**getEventBlocks**](#geteventblocks) | **GET** /events/{eventId}/blocks | Get Event Blocks|
13
+ |[**removeEventBlockSession**](#removeeventblocksession) | **DELETE** /events/{eventId}/blocks/{blockId}/sessions/{sessionId} | Remove Event Block Session|
14
+ |[**updateEventBlock**](#updateeventblock) | **PUT** /events/{eventId}/blocks/{blockId} | Update Event Block|
15
+
16
+ # **addEventBlockSession**
17
+ > CreateEventBlock200Response addEventBlockSession()
18
+
19
+ Add Event Block Session endpoint
20
+
21
+ ### Example
22
+
23
+ ```typescript
24
+ import {
25
+ EventsBlocksApi,
26
+ Configuration
27
+ } from '@connectedxm/admin-sdk';
28
+
29
+ const configuration = new Configuration();
30
+ const apiInstance = new EventsBlocksApi(configuration);
31
+
32
+ let eventId: string; //The event identifier (default to undefined)
33
+ let blockId: string; //The block identifier (default to undefined)
34
+ let sessionId: string; //The session identifier (default to undefined)
35
+
36
+ const { status, data } = await apiInstance.addEventBlockSession(
37
+ eventId,
38
+ blockId,
39
+ sessionId
40
+ );
41
+ ```
42
+
43
+ ### Parameters
44
+
45
+ |Name | Type | Description | Notes|
46
+ |------------- | ------------- | ------------- | -------------|
47
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
48
+ | **blockId** | [**string**] | The block identifier | defaults to undefined|
49
+ | **sessionId** | [**string**] | The session identifier | defaults to undefined|
50
+
51
+
52
+ ### Return type
53
+
54
+ **CreateEventBlock200Response**
55
+
56
+ ### Authorization
57
+
58
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
59
+
60
+ ### HTTP request headers
61
+
62
+ - **Content-Type**: Not defined
63
+ - **Accept**: application/json
64
+
65
+
66
+ ### HTTP response details
67
+ | Status code | Description | Response headers |
68
+ |-------------|-------------|------------------|
69
+ |**200** | Successful response | - |
70
+
71
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
72
+
73
+ # **createEventBlock**
74
+ > CreateEventBlock200Response createEventBlock(eventBlockCreateInputs)
75
+
76
+ Create Event Block endpoint
77
+
78
+ ### Example
79
+
80
+ ```typescript
81
+ import {
82
+ EventsBlocksApi,
83
+ Configuration,
84
+ EventBlockCreateInputs
85
+ } from '@connectedxm/admin-sdk';
86
+
87
+ const configuration = new Configuration();
88
+ const apiInstance = new EventsBlocksApi(configuration);
89
+
90
+ let eventId: string; //The event identifier (default to undefined)
91
+ let eventBlockCreateInputs: EventBlockCreateInputs; //
92
+
93
+ const { status, data } = await apiInstance.createEventBlock(
94
+ eventId,
95
+ eventBlockCreateInputs
96
+ );
97
+ ```
98
+
99
+ ### Parameters
100
+
101
+ |Name | Type | Description | Notes|
102
+ |------------- | ------------- | ------------- | -------------|
103
+ | **eventBlockCreateInputs** | **EventBlockCreateInputs**| | |
104
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
105
+
106
+
107
+ ### Return type
108
+
109
+ **CreateEventBlock200Response**
110
+
111
+ ### Authorization
112
+
113
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
114
+
115
+ ### HTTP request headers
116
+
117
+ - **Content-Type**: application/json
118
+ - **Accept**: application/json
119
+
120
+
121
+ ### HTTP response details
122
+ | Status code | Description | Response headers |
123
+ |-------------|-------------|------------------|
124
+ |**200** | Successful response | - |
125
+
126
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
127
+
128
+ # **deleteEventBlock**
129
+ > CreateAccountInvitations200Response deleteEventBlock()
130
+
131
+ Delete Event Block endpoint
132
+
133
+ ### Example
134
+
135
+ ```typescript
136
+ import {
137
+ EventsBlocksApi,
138
+ Configuration
139
+ } from '@connectedxm/admin-sdk';
140
+
141
+ const configuration = new Configuration();
142
+ const apiInstance = new EventsBlocksApi(configuration);
143
+
144
+ let eventId: string; //The event identifier (default to undefined)
145
+ let blockId: string; //The block identifier (default to undefined)
146
+
147
+ const { status, data } = await apiInstance.deleteEventBlock(
148
+ eventId,
149
+ blockId
150
+ );
151
+ ```
152
+
153
+ ### Parameters
154
+
155
+ |Name | Type | Description | Notes|
156
+ |------------- | ------------- | ------------- | -------------|
157
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
158
+ | **blockId** | [**string**] | The block identifier | defaults to undefined|
159
+
160
+
161
+ ### Return type
162
+
163
+ **CreateAccountInvitations200Response**
164
+
165
+ ### Authorization
166
+
167
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
168
+
169
+ ### HTTP request headers
170
+
171
+ - **Content-Type**: Not defined
172
+ - **Accept**: application/json
173
+
174
+
175
+ ### HTTP response details
176
+ | Status code | Description | Response headers |
177
+ |-------------|-------------|------------------|
178
+ |**200** | Successful response | - |
179
+
180
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
181
+
182
+ # **getEventBlock**
183
+ > CreateEventBlock200Response getEventBlock()
184
+
185
+ Get Event Block endpoint
186
+
187
+ ### Example
188
+
189
+ ```typescript
190
+ import {
191
+ EventsBlocksApi,
192
+ Configuration
193
+ } from '@connectedxm/admin-sdk';
194
+
195
+ const configuration = new Configuration();
196
+ const apiInstance = new EventsBlocksApi(configuration);
197
+
198
+ let eventId: string; //The event identifier (default to undefined)
199
+ let blockId: string; //The block identifier (default to undefined)
200
+
201
+ const { status, data } = await apiInstance.getEventBlock(
202
+ eventId,
203
+ blockId
204
+ );
205
+ ```
206
+
207
+ ### Parameters
208
+
209
+ |Name | Type | Description | Notes|
210
+ |------------- | ------------- | ------------- | -------------|
211
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
212
+ | **blockId** | [**string**] | The block identifier | defaults to undefined|
213
+
214
+
215
+ ### Return type
216
+
217
+ **CreateEventBlock200Response**
218
+
219
+ ### Authorization
220
+
221
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
222
+
223
+ ### HTTP request headers
224
+
225
+ - **Content-Type**: Not defined
226
+ - **Accept**: application/json
227
+
228
+
229
+ ### HTTP response details
230
+ | Status code | Description | Response headers |
231
+ |-------------|-------------|------------------|
232
+ |**200** | Successful response | - |
233
+
234
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
235
+
236
+ # **getEventBlockSessions**
237
+ > GetAccountInvitations200Response getEventBlockSessions()
238
+
239
+ Get Event Block Sessions endpoint
240
+
241
+ ### Example
242
+
243
+ ```typescript
244
+ import {
245
+ EventsBlocksApi,
246
+ Configuration
247
+ } from '@connectedxm/admin-sdk';
248
+
249
+ const configuration = new Configuration();
250
+ const apiInstance = new EventsBlocksApi(configuration);
251
+
252
+ let eventId: string; //The event identifier (default to undefined)
253
+ let blockId: string; //The block identifier (default to undefined)
254
+ let page: number; //Page number (optional) (default to 1)
255
+ let pageSize: number; //Number of items per page (optional) (default to 25)
256
+ let orderBy: string; //Field to order by (optional) (default to undefined)
257
+ let search: string; //Search query (optional) (default to undefined)
258
+
259
+ const { status, data } = await apiInstance.getEventBlockSessions(
260
+ eventId,
261
+ blockId,
262
+ page,
263
+ pageSize,
264
+ orderBy,
265
+ search
266
+ );
267
+ ```
268
+
269
+ ### Parameters
270
+
271
+ |Name | Type | Description | Notes|
272
+ |------------- | ------------- | ------------- | -------------|
273
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
274
+ | **blockId** | [**string**] | The block identifier | defaults to undefined|
275
+ | **page** | [**number**] | Page number | (optional) defaults to 1|
276
+ | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
277
+ | **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
278
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
279
+
280
+
281
+ ### Return type
282
+
283
+ **GetAccountInvitations200Response**
284
+
285
+ ### Authorization
286
+
287
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
288
+
289
+ ### HTTP request headers
290
+
291
+ - **Content-Type**: Not defined
292
+ - **Accept**: application/json
293
+
294
+
295
+ ### HTTP response details
296
+ | Status code | Description | Response headers |
297
+ |-------------|-------------|------------------|
298
+ |**200** | Successful response | - |
299
+
300
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
301
+
302
+ # **getEventBlocks**
303
+ > GetEventBlocks200Response getEventBlocks()
304
+
305
+ Get Event Blocks endpoint
306
+
307
+ ### Example
308
+
309
+ ```typescript
310
+ import {
311
+ EventsBlocksApi,
312
+ Configuration
313
+ } from '@connectedxm/admin-sdk';
314
+
315
+ const configuration = new Configuration();
316
+ const apiInstance = new EventsBlocksApi(configuration);
317
+
318
+ let eventId: string; //The event identifier (default to undefined)
319
+ let page: number; //Page number (optional) (default to 1)
320
+ let pageSize: number; //Number of items per page (optional) (default to 25)
321
+ let orderBy: string; //Field to order by (optional) (default to undefined)
322
+ let search: string; //Search query (optional) (default to undefined)
323
+
324
+ const { status, data } = await apiInstance.getEventBlocks(
325
+ eventId,
326
+ page,
327
+ pageSize,
328
+ orderBy,
329
+ search
330
+ );
331
+ ```
332
+
333
+ ### Parameters
334
+
335
+ |Name | Type | Description | Notes|
336
+ |------------- | ------------- | ------------- | -------------|
337
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
338
+ | **page** | [**number**] | Page number | (optional) defaults to 1|
339
+ | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
340
+ | **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
341
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
342
+
343
+
344
+ ### Return type
345
+
346
+ **GetEventBlocks200Response**
347
+
348
+ ### Authorization
349
+
350
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
351
+
352
+ ### HTTP request headers
353
+
354
+ - **Content-Type**: Not defined
355
+ - **Accept**: application/json
356
+
357
+
358
+ ### HTTP response details
359
+ | Status code | Description | Response headers |
360
+ |-------------|-------------|------------------|
361
+ |**200** | Successful response | - |
362
+
363
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
364
+
365
+ # **removeEventBlockSession**
366
+ > CreateEventBlock200Response removeEventBlockSession()
367
+
368
+ Remove Event Block Session endpoint
369
+
370
+ ### Example
371
+
372
+ ```typescript
373
+ import {
374
+ EventsBlocksApi,
375
+ Configuration
376
+ } from '@connectedxm/admin-sdk';
377
+
378
+ const configuration = new Configuration();
379
+ const apiInstance = new EventsBlocksApi(configuration);
380
+
381
+ let eventId: string; //The event identifier (default to undefined)
382
+ let blockId: string; //The block identifier (default to undefined)
383
+ let sessionId: string; //The session identifier (default to undefined)
384
+
385
+ const { status, data } = await apiInstance.removeEventBlockSession(
386
+ eventId,
387
+ blockId,
388
+ sessionId
389
+ );
390
+ ```
391
+
392
+ ### Parameters
393
+
394
+ |Name | Type | Description | Notes|
395
+ |------------- | ------------- | ------------- | -------------|
396
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
397
+ | **blockId** | [**string**] | The block identifier | defaults to undefined|
398
+ | **sessionId** | [**string**] | The session identifier | defaults to undefined|
399
+
400
+
401
+ ### Return type
402
+
403
+ **CreateEventBlock200Response**
404
+
405
+ ### Authorization
406
+
407
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
408
+
409
+ ### HTTP request headers
410
+
411
+ - **Content-Type**: Not defined
412
+ - **Accept**: application/json
413
+
414
+
415
+ ### HTTP response details
416
+ | Status code | Description | Response headers |
417
+ |-------------|-------------|------------------|
418
+ |**200** | Successful response | - |
419
+
420
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
421
+
422
+ # **updateEventBlock**
423
+ > CreateEventBlock200Response updateEventBlock(eventBlockUpdateInputs)
424
+
425
+ Update Event Block endpoint
426
+
427
+ ### Example
428
+
429
+ ```typescript
430
+ import {
431
+ EventsBlocksApi,
432
+ Configuration,
433
+ EventBlockUpdateInputs
434
+ } from '@connectedxm/admin-sdk';
435
+
436
+ const configuration = new Configuration();
437
+ const apiInstance = new EventsBlocksApi(configuration);
438
+
439
+ let eventId: string; //The event identifier (default to undefined)
440
+ let blockId: string; //The block identifier (default to undefined)
441
+ let eventBlockUpdateInputs: EventBlockUpdateInputs; //
442
+
443
+ const { status, data } = await apiInstance.updateEventBlock(
444
+ eventId,
445
+ blockId,
446
+ eventBlockUpdateInputs
447
+ );
448
+ ```
449
+
450
+ ### Parameters
451
+
452
+ |Name | Type | Description | Notes|
453
+ |------------- | ------------- | ------------- | -------------|
454
+ | **eventBlockUpdateInputs** | **EventBlockUpdateInputs**| | |
455
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
456
+ | **blockId** | [**string**] | The block identifier | defaults to undefined|
457
+
458
+
459
+ ### Return type
460
+
461
+ **CreateEventBlock200Response**
462
+
463
+ ### Authorization
464
+
465
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
466
+
467
+ ### HTTP request headers
468
+
469
+ - **Content-Type**: application/json
470
+ - **Accept**: application/json
471
+
472
+
473
+ ### HTTP response details
474
+ | Status code | Description | Response headers |
475
+ |-------------|-------------|------------------|
476
+ |**200** | Successful response | - |
477
+
478
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
479
+
@@ -507,6 +507,7 @@ const apiInstance = new EventsCouponsApi(configuration);
507
507
 
508
508
  let eventId: string; //The event identifier (default to undefined)
509
509
  let prePaid: boolean; //Filter by prePaid (optional) (default to undefined)
510
+ let includeVariants: object; //Filter by includeVariants (optional) (default to undefined)
510
511
  let page: number; //Page number (optional) (default to 1)
511
512
  let pageSize: number; //Number of items per page (optional) (default to 25)
512
513
  let orderBy: string; //Field to order by (optional) (default to undefined)
@@ -515,6 +516,7 @@ let search: string; //Search query (optional) (default to undefined)
515
516
  const { status, data } = await apiInstance.getEventCoupons(
516
517
  eventId,
517
518
  prePaid,
519
+ includeVariants,
518
520
  page,
519
521
  pageSize,
520
522
  orderBy,
@@ -528,6 +530,7 @@ const { status, data } = await apiInstance.getEventCoupons(
528
530
  |------------- | ------------- | ------------- | -------------|
529
531
  | **eventId** | [**string**] | The event identifier | defaults to undefined|
530
532
  | **prePaid** | [**boolean**] | Filter by prePaid | (optional) defaults to undefined|
533
+ | **includeVariants** | **object** | Filter by includeVariants | (optional) defaults to undefined|
531
534
  | **page** | [**number**] | Page number | (optional) defaults to 1|
532
535
  | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
533
536
  | **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|