@connectedxm/admin-sdk 16.12.0 → 16.14.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 (58) hide show
  1. package/.openapi-generator/FILES +13 -0
  2. package/AdminApi.ts +3 -0
  3. package/README.md +2 -2
  4. package/api.ts +703 -11
  5. package/base.ts +1 -1
  6. package/common.ts +1 -1
  7. package/configuration.ts +1 -1
  8. package/dist/AdminApi.d.ts +2 -1
  9. package/dist/AdminApi.js +1 -0
  10. package/dist/api.d.ts +412 -8
  11. package/dist/api.js +485 -39
  12. package/dist/base.d.ts +1 -1
  13. package/dist/base.js +1 -1
  14. package/dist/common.d.ts +1 -1
  15. package/dist/common.js +1 -1
  16. package/dist/configuration.d.ts +1 -1
  17. package/dist/configuration.js +1 -1
  18. package/dist/esm/AdminApi.d.ts +2 -1
  19. package/dist/esm/AdminApi.js +2 -1
  20. package/dist/esm/api.d.ts +412 -8
  21. package/dist/esm/api.js +452 -10
  22. package/dist/esm/base.d.ts +1 -1
  23. package/dist/esm/base.js +1 -1
  24. package/dist/esm/common.d.ts +1 -1
  25. package/dist/esm/common.js +1 -1
  26. package/dist/esm/configuration.d.ts +1 -1
  27. package/dist/esm/configuration.js +1 -1
  28. package/docs/BaseEventSponsorshipPurchase.md +34 -0
  29. package/docs/BasePaymentIntent.md +2 -0
  30. package/docs/BasePaymentIntentLineItem.md +2 -0
  31. package/docs/BasePaymentLineItem.md +2 -0
  32. package/docs/BaseReplay.md +38 -0
  33. package/docs/BaseReplaySession.md +24 -0
  34. package/docs/BaseStreamInput.md +2 -0
  35. package/docs/BaseVideo.md +4 -0
  36. package/docs/CreateReplay200Response.md +24 -0
  37. package/docs/EventSession.md +4 -0
  38. package/docs/EventSessionAllOfCount.md +20 -0
  39. package/docs/EventSessionCreateInputs.md +2 -0
  40. package/docs/EventSessionUpdateInputs.md +2 -0
  41. package/docs/GetReplays200Response.md +26 -0
  42. package/docs/PaymentIntent.md +2 -0
  43. package/docs/PaymentIntentSource.md +6 -0
  44. package/docs/PaymentLineItem.md +4 -0
  45. package/docs/PaymentLineItemType.md +2 -0
  46. package/docs/Replay.md +40 -0
  47. package/docs/ReplayCreateInputs.md +26 -0
  48. package/docs/ReplayUpdateInputs.md +24 -0
  49. package/docs/ReplayVideo.md +50 -0
  50. package/docs/StreamInput.md +8 -0
  51. package/docs/StreamInputCreateInputs.md +2 -0
  52. package/docs/StreamInputUpdateInputs.md +2 -0
  53. package/docs/StreamsApi.md +7 -1
  54. package/docs/StreamsReplaysApi.md +293 -0
  55. package/docs/Video.md +10 -0
  56. package/docs/VideoAllOfStream.md +22 -0
  57. package/docs/VideoAllOfStreamSession.md +22 -0
  58. package/package.json +1 -1
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Connected Admin API
5
5
  * The Admin API allows you to manage your Connected community programmatically.
6
6
  *
7
- * The version of the OpenAPI document: 16.12.0
7
+ * The version of the OpenAPI document: 16.14.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2154,6 +2154,18 @@ export interface BaseEventSponsorshipLevel {
2154
2154
  }
2155
2155
 
2156
2156
 
2157
+ export interface BaseEventSponsorshipPurchase {
2158
+ 'id': string;
2159
+ 'status': PurchaseStatus;
2160
+ 'eventId': string;
2161
+ 'levelId': string;
2162
+ 'sponsorshipId': string | null;
2163
+ 'level': BasePassAttributeAttribute;
2164
+ 'createdAt': string;
2165
+ 'updatedAt': string;
2166
+ }
2167
+
2168
+
2157
2169
  export interface BaseEventTrack {
2158
2170
  'id': string;
2159
2171
  'slug': string;
@@ -2580,6 +2592,7 @@ export interface BasePaymentIntent {
2580
2592
  'seriesId': string | null;
2581
2593
  'placeMembershipTypeId': string | null;
2582
2594
  'placeMembershipId': string | null;
2595
+ 'sponsorshipPurchaseId': string | null;
2583
2596
  'address1': string | null;
2584
2597
  'address2': string | null;
2585
2598
  'city': string | null;
@@ -2636,6 +2649,7 @@ export interface BasePaymentIntentLineItem {
2636
2649
  'couponId': string | null;
2637
2650
  'seriesRegistrationId': string | null;
2638
2651
  'placeMembershipId': string | null;
2652
+ 'sponsorshipPurchaseId': string | null;
2639
2653
  'createdAt': string;
2640
2654
  }
2641
2655
 
@@ -2669,6 +2683,7 @@ export interface BasePaymentLineItem {
2669
2683
  'accessId': string | null;
2670
2684
  'bookingId': string | null;
2671
2685
  'placeMembershipId': string | null;
2686
+ 'sponsorshipPurchaseId': string | null;
2672
2687
  }
2673
2688
 
2674
2689
 
@@ -2843,6 +2858,23 @@ export interface BaseRegistrationSectionQuestion {
2843
2858
  'question': BaseRegistrationQuestion;
2844
2859
  'sortOrder': number;
2845
2860
  }
2861
+ export interface BaseReplay {
2862
+ 'id': string;
2863
+ 'videoId': string;
2864
+ 'sessionId': string | null;
2865
+ 'eventId': string | null;
2866
+ 'groupId': string | null;
2867
+ 'session': BaseReplaySession | null;
2868
+ 'event': VideoAllOfStream | null;
2869
+ 'group': VideoAllOfStream | null;
2870
+ 'createdAt': string;
2871
+ 'updatedAt': string;
2872
+ }
2873
+ export interface BaseReplaySession {
2874
+ 'id': string;
2875
+ 'name': string;
2876
+ 'eventId': string;
2877
+ }
2846
2878
  export interface BaseReportExport {
2847
2879
  'id': string;
2848
2880
  'status': ExportStatus;
@@ -3002,6 +3034,7 @@ export interface BaseStreamInput {
3002
3034
  'webRTC': boolean;
3003
3035
  'webRTCPlaybackUrl': string | null;
3004
3036
  'dvrEnabled': boolean;
3037
+ 'allowReplays': boolean;
3005
3038
  'connected': boolean;
3006
3039
  }
3007
3040
  export interface BaseStreamSession {
@@ -3289,6 +3322,8 @@ export interface BaseVideo {
3289
3322
  'previewUrl': string | null;
3290
3323
  'readyToStream': boolean;
3291
3324
  'duration': number | null;
3325
+ 'streamId': string | null;
3326
+ 'streamSessionId': string | null;
3292
3327
  'createdAt': string;
3293
3328
  }
3294
3329
 
@@ -5039,6 +5074,16 @@ export enum CreatePreset200ResponseStatusEnum {
5039
5074
  Ok = 'ok'
5040
5075
  }
5041
5076
 
5077
+ export interface CreateReplay200Response {
5078
+ 'status': CreateReplay200ResponseStatusEnum;
5079
+ 'message': string;
5080
+ 'data': Replay;
5081
+ }
5082
+
5083
+ export enum CreateReplay200ResponseStatusEnum {
5084
+ Ok = 'ok'
5085
+ }
5086
+
5042
5087
  export interface CreateRoom200Response {
5043
5088
  'status': CreateRoom200ResponseStatusEnum;
5044
5089
  'message': string;
@@ -6785,6 +6830,8 @@ export interface EventSession {
6785
6830
  'allowedTiers': Array<BaseTier>;
6786
6831
  'continuousScanning': boolean;
6787
6832
  'scanType': OnSiteScanType;
6833
+ 'livestreamed': boolean;
6834
+ '_count'?: EventSessionAllOfCount;
6788
6835
  }
6789
6836
 
6790
6837
 
@@ -6806,6 +6853,9 @@ export interface EventSessionAccessUpdateInputs {
6806
6853
  }
6807
6854
 
6808
6855
 
6856
+ export interface EventSessionAllOfCount {
6857
+ 'replays': number;
6858
+ }
6809
6859
  export interface EventSessionCloneOptions {
6810
6860
  'name'?: string;
6811
6861
  'startTime'?: string;
@@ -6824,6 +6874,7 @@ export interface EventSessionCreateInputs {
6824
6874
  'featured'?: boolean;
6825
6875
  'sortOrder'?: number | null;
6826
6876
  'registrationEnabled'?: boolean;
6877
+ 'livestreamed'?: boolean;
6827
6878
  'onsiteRegistration'?: boolean;
6828
6879
  'skipOnsiteValidations'?: boolean;
6829
6880
  'allowQuickRegister'?: boolean;
@@ -7199,6 +7250,7 @@ export interface EventSessionUpdateInputs {
7199
7250
  'featured'?: boolean;
7200
7251
  'sortOrder'?: number | null;
7201
7252
  'registrationEnabled'?: boolean;
7253
+ 'livestreamed'?: boolean;
7202
7254
  'onsiteRegistration'?: boolean;
7203
7255
  'skipOnsiteValidations'?: boolean;
7204
7256
  'allowQuickRegister'?: boolean;
@@ -10773,6 +10825,17 @@ export enum GetPushDevice200ResponseStatusEnum {
10773
10825
  Ok = 'ok'
10774
10826
  }
10775
10827
 
10828
+ export interface GetReplays200Response {
10829
+ 'status': GetReplays200ResponseStatusEnum;
10830
+ 'message': string;
10831
+ 'data': Array<Replay>;
10832
+ 'count'?: number;
10833
+ }
10834
+
10835
+ export enum GetReplays200ResponseStatusEnum {
10836
+ Ok = 'ok'
10837
+ }
10838
+
10776
10839
  export interface GetReport200Response {
10777
10840
  'status': GetReport200ResponseStatusEnum;
10778
10841
  'message': string;
@@ -13639,6 +13702,7 @@ export interface PaymentIntent {
13639
13702
  'seriesId': string | null;
13640
13703
  'placeMembershipTypeId': string | null;
13641
13704
  'placeMembershipId': string | null;
13705
+ 'sponsorshipPurchaseId': string | null;
13642
13706
  'address1': string | null;
13643
13707
  'address2': string | null;
13644
13708
  'city': string | null;
@@ -13687,7 +13751,10 @@ export enum PaymentIntentSource {
13687
13751
  Session = 'session',
13688
13752
  Booking = 'booking',
13689
13753
  Series = 'series',
13690
- PlaceMembership = 'placeMembership'
13754
+ PlaceMembership = 'placeMembership',
13755
+ Sponsorship = 'sponsorship',
13756
+ Pass = 'pass',
13757
+ Exchange = 'exchange'
13691
13758
  }
13692
13759
 
13693
13760
 
@@ -13716,6 +13783,7 @@ export interface PaymentLineItem {
13716
13783
  'accessId': string | null;
13717
13784
  'bookingId': string | null;
13718
13785
  'placeMembershipId': string | null;
13786
+ 'sponsorshipPurchaseId': string | null;
13719
13787
  'pass': BaseEventPass | null;
13720
13788
  'package': BaseEventPackage | null;
13721
13789
  'passAddOn': BasePassAddOn | null;
@@ -13723,6 +13791,7 @@ export interface PaymentLineItem {
13723
13791
  'access': BaseEventSessionAccess | null;
13724
13792
  'booking': BaseBooking | null;
13725
13793
  'placeMembership': BasePlaceMembership | null;
13794
+ 'sponsorshipPurchase': BaseEventSponsorshipPurchase | null;
13726
13795
  'coupon': BaseCoupon | null;
13727
13796
  'seriesRegistration': BaseSeriesRegistration | null;
13728
13797
  'payment': BasePayment;
@@ -13742,6 +13811,7 @@ export enum PaymentLineItemType {
13742
13811
  Coupon = 'coupon',
13743
13812
  Series = 'series',
13744
13813
  PlaceMembership = 'placeMembership',
13814
+ Sponsorship = 'sponsorship',
13745
13815
  Refund = 'refund'
13746
13816
  }
13747
13817
 
@@ -14351,6 +14421,50 @@ export enum ReorderTiers200ResponseStatusEnum {
14351
14421
  export interface ReorderTiersRequest {
14352
14422
  'tierIds': Array<string>;
14353
14423
  }
14424
+ export interface Replay {
14425
+ 'id': string;
14426
+ 'videoId': string;
14427
+ 'sessionId': string | null;
14428
+ 'eventId': string | null;
14429
+ 'groupId': string | null;
14430
+ 'session': BaseReplaySession | null;
14431
+ 'event': VideoAllOfStream | null;
14432
+ 'group': VideoAllOfStream | null;
14433
+ 'createdAt': string;
14434
+ 'updatedAt': string;
14435
+ 'video': ReplayVideo;
14436
+ }
14437
+ export interface ReplayCreateInputs {
14438
+ 'videoId': string;
14439
+ 'sessionId'?: string;
14440
+ 'eventId'?: string;
14441
+ 'groupId'?: string;
14442
+ }
14443
+ export interface ReplayUpdateInputs {
14444
+ 'sessionId'?: string;
14445
+ 'eventId'?: string;
14446
+ 'groupId'?: string;
14447
+ }
14448
+ export interface ReplayVideo {
14449
+ 'id': string;
14450
+ 'name': string;
14451
+ 'status': string;
14452
+ 'source': VideoSource;
14453
+ 'width': number;
14454
+ 'height': number;
14455
+ 'thumbnailUrl': string | null;
14456
+ 'previewUrl': string | null;
14457
+ 'readyToStream': boolean;
14458
+ 'duration': number | null;
14459
+ 'streamId': string | null;
14460
+ 'streamSessionId': string | null;
14461
+ 'createdAt': string;
14462
+ 'hlsUrl': string | null;
14463
+ 'stream': VideoAllOfStream | null;
14464
+ 'streamSession': VideoAllOfStreamSession | null;
14465
+ }
14466
+
14467
+
14354
14468
  export interface ReportExport {
14355
14469
  'id': string;
14356
14470
  'status': ExportStatus;
@@ -15177,17 +15291,21 @@ export interface StreamInput {
15177
15291
  'webRTC': boolean;
15178
15292
  'webRTCPlaybackUrl': string | null;
15179
15293
  'dvrEnabled': boolean;
15294
+ 'allowReplays': boolean;
15180
15295
  'connected': boolean;
15181
15296
  'event': BaseEvent | null;
15182
15297
  'session': BaseEventSession | null;
15183
15298
  'group': BaseGroup | null;
15184
15299
  'meetingId': string | null;
15185
15300
  'meeting': BaseMeeting | null;
15301
+ 'activityId': string | null;
15302
+ 'activity': BaseActivity | null;
15186
15303
  'streamInputId': string | null;
15187
15304
  'streamInput': BaseStreamInput | null;
15188
15305
  'details'?: StreamInputDetails;
15189
15306
  'sortOrder': number;
15190
15307
  'createdAt': string;
15308
+ 'lastStreamSessionStartedAt'?: string | null;
15191
15309
  }
15192
15310
  export interface StreamInputCreateInputs {
15193
15311
  'name': string;
@@ -15204,6 +15322,7 @@ export interface StreamInputCreateInputs {
15204
15322
  'locale'?: string | null;
15205
15323
  'webRTC'?: boolean;
15206
15324
  'dvrEnabled'?: boolean;
15325
+ 'allowReplays'?: boolean;
15207
15326
  }
15208
15327
  export interface StreamInputDetails {
15209
15328
  'uid': string;
@@ -15273,6 +15392,7 @@ export interface StreamInputUpdateInputs {
15273
15392
  'locale'?: string | null;
15274
15393
  'webRTC'?: boolean;
15275
15394
  'dvrEnabled'?: boolean;
15395
+ 'allowReplays'?: boolean;
15276
15396
  }
15277
15397
  export interface StreamOutputCreateInputs {
15278
15398
  'enabled': boolean;
@@ -16624,14 +16744,27 @@ export interface Video {
16624
16744
  'previewUrl': string | null;
16625
16745
  'readyToStream': boolean;
16626
16746
  'duration': number | null;
16747
+ 'streamId': string | null;
16748
+ 'streamSessionId': string | null;
16627
16749
  'createdAt': string;
16628
16750
  'downloadUrl': string | null;
16629
16751
  'hlsUrl': string | null;
16630
16752
  'dashUrl': string | null;
16631
16753
  'thumbnailPct': number | null;
16754
+ 'stream': VideoAllOfStream | null;
16755
+ 'streamSession': VideoAllOfStreamSession | null;
16756
+ 'replays': Array<BaseReplay>;
16632
16757
  }
16633
16758
 
16634
16759
 
16760
+ export interface VideoAllOfStream {
16761
+ 'id': string;
16762
+ 'name': string;
16763
+ }
16764
+ export interface VideoAllOfStreamSession {
16765
+ 'id': string;
16766
+ 'startedAt': string;
16767
+ }
16635
16768
  export interface VideoCaption {
16636
16769
  'language': string;
16637
16770
  'label': string;
@@ -152074,12 +152207,14 @@ export const StreamsApiAxiosParamCreator = function (configuration?: Configurati
152074
152207
  };
152075
152208
  },
152076
152209
  /**
152077
- * Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, and by free-text search; requires read permission on streams.
152210
+ * Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, by whether an encoder is connected, by whether the input is attached to an event, session, group or activity (a meeting-only input counts as not attached), and by free-text search; each item includes when its latest broadcast started; requires read permission on streams.
152078
152211
  * @summary List an organization\'s stream inputs
152079
152212
  * @param {string} [eventId] Filter by eventId
152080
152213
  * @param {string} [sessionId] Filter by sessionId
152081
152214
  * @param {string} [groupId] Filter by groupId
152082
152215
  * @param {string} [meetingId] Filter by meetingId
152216
+ * @param {boolean} [connected] Filter by connected
152217
+ * @param {boolean} [attached] Filter by attached
152083
152218
  * @param {number} [page] Page number
152084
152219
  * @param {number} [pageSize] Number of items per page
152085
152220
  * @param {string} [orderBy] Field to order by
@@ -152087,7 +152222,7 @@ export const StreamsApiAxiosParamCreator = function (configuration?: Configurati
152087
152222
  * @param {*} [options] Override http request option.
152088
152223
  * @throws {RequiredError}
152089
152224
  */
152090
- getStreamInputs: async (eventId?: string, sessionId?: string, groupId?: string, meetingId?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
152225
+ getStreamInputs: async (eventId?: string, sessionId?: string, groupId?: string, meetingId?: string, connected?: boolean, attached?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
152091
152226
  const localVarPath = `/streams`;
152092
152227
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
152093
152228
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -152122,6 +152257,14 @@ export const StreamsApiAxiosParamCreator = function (configuration?: Configurati
152122
152257
  localVarQueryParameter['meetingId'] = meetingId;
152123
152258
  }
152124
152259
 
152260
+ if (connected !== undefined) {
152261
+ localVarQueryParameter['connected'] = connected;
152262
+ }
152263
+
152264
+ if (attached !== undefined) {
152265
+ localVarQueryParameter['attached'] = attached;
152266
+ }
152267
+
152125
152268
  if (page !== undefined) {
152126
152269
  localVarQueryParameter['page'] = page;
152127
152270
  }
@@ -152348,12 +152491,14 @@ export const StreamsApiFp = function(configuration?: Configuration) {
152348
152491
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
152349
152492
  },
152350
152493
  /**
152351
- * Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, and by free-text search; requires read permission on streams.
152494
+ * Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, by whether an encoder is connected, by whether the input is attached to an event, session, group or activity (a meeting-only input counts as not attached), and by free-text search; each item includes when its latest broadcast started; requires read permission on streams.
152352
152495
  * @summary List an organization\'s stream inputs
152353
152496
  * @param {string} [eventId] Filter by eventId
152354
152497
  * @param {string} [sessionId] Filter by sessionId
152355
152498
  * @param {string} [groupId] Filter by groupId
152356
152499
  * @param {string} [meetingId] Filter by meetingId
152500
+ * @param {boolean} [connected] Filter by connected
152501
+ * @param {boolean} [attached] Filter by attached
152357
152502
  * @param {number} [page] Page number
152358
152503
  * @param {number} [pageSize] Number of items per page
152359
152504
  * @param {string} [orderBy] Field to order by
@@ -152361,8 +152506,8 @@ export const StreamsApiFp = function(configuration?: Configuration) {
152361
152506
  * @param {*} [options] Override http request option.
152362
152507
  * @throws {RequiredError}
152363
152508
  */
152364
- async getStreamInputs(eventId?: string, sessionId?: string, groupId?: string, meetingId?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStreamInputs200Response>> {
152365
- const localVarAxiosArgs = await localVarAxiosParamCreator.getStreamInputs(eventId, sessionId, groupId, meetingId, page, pageSize, orderBy, search, options);
152509
+ async getStreamInputs(eventId?: string, sessionId?: string, groupId?: string, meetingId?: string, connected?: boolean, attached?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStreamInputs200Response>> {
152510
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getStreamInputs(eventId, sessionId, groupId, meetingId, connected, attached, page, pageSize, orderBy, search, options);
152366
152511
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
152367
152512
  const localVarOperationServerBasePath = operationServerMap['StreamsApi.getStreamInputs']?.[localVarOperationServerIndex]?.url;
152368
152513
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -152452,14 +152597,14 @@ export const StreamsApiFactory = function (configuration?: Configuration, basePa
152452
152597
  return localVarFp.getStreamInput(requestParameters.streamId, options).then((request) => request(axios, basePath));
152453
152598
  },
152454
152599
  /**
152455
- * Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, and by free-text search; requires read permission on streams.
152600
+ * Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, by whether an encoder is connected, by whether the input is attached to an event, session, group or activity (a meeting-only input counts as not attached), and by free-text search; each item includes when its latest broadcast started; requires read permission on streams.
152456
152601
  * @summary List an organization\'s stream inputs
152457
152602
  * @param {StreamsApiGetStreamInputsRequest} requestParameters Request parameters.
152458
152603
  * @param {*} [options] Override http request option.
152459
152604
  * @throws {RequiredError}
152460
152605
  */
152461
152606
  getStreamInputs(requestParameters: StreamsApiGetStreamInputsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetStreamInputs200Response> {
152462
- return localVarFp.getStreamInputs(requestParameters.eventId, requestParameters.sessionId, requestParameters.groupId, requestParameters.meetingId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
152607
+ return localVarFp.getStreamInputs(requestParameters.eventId, requestParameters.sessionId, requestParameters.groupId, requestParameters.meetingId, requestParameters.connected, requestParameters.attached, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
152463
152608
  },
152464
152609
  /**
152465
152610
  * Returns a paginated list of recorded videos associated with the given stream, with optional search and ordering, and requires \"read\" permission on both streams and storage.
@@ -152545,6 +152690,16 @@ export interface StreamsApiGetStreamInputsRequest {
152545
152690
  */
152546
152691
  readonly meetingId?: string
152547
152692
 
152693
+ /**
152694
+ * Filter by connected
152695
+ */
152696
+ readonly connected?: boolean
152697
+
152698
+ /**
152699
+ * Filter by attached
152700
+ */
152701
+ readonly attached?: boolean
152702
+
152548
152703
  /**
152549
152704
  * Page number
152550
152705
  */
@@ -152658,14 +152813,14 @@ export class StreamsApi extends BaseAPI {
152658
152813
  }
152659
152814
 
152660
152815
  /**
152661
- * Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, and by free-text search; requires read permission on streams.
152816
+ * Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, by whether an encoder is connected, by whether the input is attached to an event, session, group or activity (a meeting-only input counts as not attached), and by free-text search; each item includes when its latest broadcast started; requires read permission on streams.
152662
152817
  * @summary List an organization\'s stream inputs
152663
152818
  * @param {StreamsApiGetStreamInputsRequest} requestParameters Request parameters.
152664
152819
  * @param {*} [options] Override http request option.
152665
152820
  * @throws {RequiredError}
152666
152821
  */
152667
152822
  public getStreamInputs(requestParameters: StreamsApiGetStreamInputsRequest = {}, options?: RawAxiosRequestConfig) {
152668
- return StreamsApiFp(this.configuration).getStreamInputs(requestParameters.eventId, requestParameters.sessionId, requestParameters.groupId, requestParameters.meetingId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
152823
+ return StreamsApiFp(this.configuration).getStreamInputs(requestParameters.eventId, requestParameters.sessionId, requestParameters.groupId, requestParameters.meetingId, requestParameters.connected, requestParameters.attached, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
152669
152824
  }
152670
152825
 
152671
152826
  /**
@@ -153247,6 +153402,543 @@ export class StreamsOutputsApi extends BaseAPI {
153247
153402
 
153248
153403
 
153249
153404
 
153405
+ /**
153406
+ * StreamsReplaysApi - axios parameter creator
153407
+ */
153408
+ export const StreamsReplaysApiAxiosParamCreator = function (configuration?: Configuration) {
153409
+ return {
153410
+ /**
153411
+ * Attaches a video from storage as a replay to exactly one session, event or group; a video can be a replay on several targets, but only once on each (a repeat returns 400 \"Replay already exists\"). Requires create permission on streams.
153412
+ * @summary Add a video as a replay
153413
+ * @param {ReplayCreateInputs} replayCreateInputs
153414
+ * @param {*} [options] Override http request option.
153415
+ * @throws {RequiredError}
153416
+ */
153417
+ createReplay: async (replayCreateInputs: ReplayCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
153418
+ // verify required parameter 'replayCreateInputs' is not null or undefined
153419
+ assertParamExists('createReplay', 'replayCreateInputs', replayCreateInputs)
153420
+ const localVarPath = `/replays`;
153421
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
153422
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
153423
+ let baseOptions;
153424
+ if (configuration) {
153425
+ baseOptions = configuration.baseOptions;
153426
+ }
153427
+
153428
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
153429
+ const localVarHeaderParameter = {} as any;
153430
+ const localVarQueryParameter = {} as any;
153431
+
153432
+ // authentication ApiKeyAuth required
153433
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
153434
+
153435
+ // authentication OrganizationId required
153436
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
153437
+
153438
+ localVarHeaderParameter['Content-Type'] = 'application/json';
153439
+ localVarHeaderParameter['Accept'] = 'application/json';
153440
+
153441
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
153442
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
153443
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
153444
+ localVarRequestOptions.data = serializeDataIfNeeded(replayCreateInputs, localVarRequestOptions, configuration)
153445
+
153446
+ return {
153447
+ url: toPathString(localVarUrlObj),
153448
+ options: localVarRequestOptions,
153449
+ };
153450
+ },
153451
+ /**
153452
+ * Detaches a replay from its session, event or group; the video stays in storage. Requires delete permission on streams.
153453
+ * @summary Remove a replay
153454
+ * @param {string} replayId The replay identifier
153455
+ * @param {*} [options] Override http request option.
153456
+ * @throws {RequiredError}
153457
+ */
153458
+ deleteReplay: async (replayId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
153459
+ // verify required parameter 'replayId' is not null or undefined
153460
+ assertParamExists('deleteReplay', 'replayId', replayId)
153461
+ const localVarPath = `/replays/{replayId}`
153462
+ .replace('{replayId}', encodeURIComponent(String(replayId)));
153463
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
153464
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
153465
+ let baseOptions;
153466
+ if (configuration) {
153467
+ baseOptions = configuration.baseOptions;
153468
+ }
153469
+
153470
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
153471
+ const localVarHeaderParameter = {} as any;
153472
+ const localVarQueryParameter = {} as any;
153473
+
153474
+ // authentication ApiKeyAuth required
153475
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
153476
+
153477
+ // authentication OrganizationId required
153478
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
153479
+
153480
+ localVarHeaderParameter['Accept'] = 'application/json';
153481
+
153482
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
153483
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
153484
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
153485
+
153486
+ return {
153487
+ url: toPathString(localVarUrlObj),
153488
+ options: localVarRequestOptions,
153489
+ };
153490
+ },
153491
+ /**
153492
+ * Returns a single replay with its video and the name of the session, event or group it is attached to; requires read permission on streams.
153493
+ * @summary Get a replay
153494
+ * @param {string} replayId The replay identifier
153495
+ * @param {*} [options] Override http request option.
153496
+ * @throws {RequiredError}
153497
+ */
153498
+ getReplay: async (replayId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
153499
+ // verify required parameter 'replayId' is not null or undefined
153500
+ assertParamExists('getReplay', 'replayId', replayId)
153501
+ const localVarPath = `/replays/{replayId}`
153502
+ .replace('{replayId}', encodeURIComponent(String(replayId)));
153503
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
153504
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
153505
+ let baseOptions;
153506
+ if (configuration) {
153507
+ baseOptions = configuration.baseOptions;
153508
+ }
153509
+
153510
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
153511
+ const localVarHeaderParameter = {} as any;
153512
+ const localVarQueryParameter = {} as any;
153513
+
153514
+ // authentication ApiKeyAuth required
153515
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
153516
+
153517
+ // authentication OrganizationId required
153518
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
153519
+
153520
+ localVarHeaderParameter['Accept'] = 'application/json';
153521
+
153522
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
153523
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
153524
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
153525
+
153526
+ return {
153527
+ url: toPathString(localVarUrlObj),
153528
+ options: localVarRequestOptions,
153529
+ };
153530
+ },
153531
+ /**
153532
+ * Returns a paginated list of the organization\'s replays, newest first, each with its video and the name of the session, event or group it is attached to, filterable by session, event, group or video; requires read permission on streams.
153533
+ * @summary List replays
153534
+ * @param {string} [sessionId] Filter by sessionId
153535
+ * @param {string} [eventId] Filter by eventId
153536
+ * @param {string} [groupId] Filter by groupId
153537
+ * @param {string} [videoId] Filter by videoId
153538
+ * @param {number} [page] Page number
153539
+ * @param {number} [pageSize] Number of items per page
153540
+ * @param {string} [orderBy] Field to order by
153541
+ * @param {string} [search] Search query
153542
+ * @param {*} [options] Override http request option.
153543
+ * @throws {RequiredError}
153544
+ */
153545
+ getReplays: async (sessionId?: string, eventId?: string, groupId?: string, videoId?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
153546
+ const localVarPath = `/replays`;
153547
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
153548
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
153549
+ let baseOptions;
153550
+ if (configuration) {
153551
+ baseOptions = configuration.baseOptions;
153552
+ }
153553
+
153554
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
153555
+ const localVarHeaderParameter = {} as any;
153556
+ const localVarQueryParameter = {} as any;
153557
+
153558
+ // authentication ApiKeyAuth required
153559
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
153560
+
153561
+ // authentication OrganizationId required
153562
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
153563
+
153564
+ if (sessionId !== undefined) {
153565
+ localVarQueryParameter['sessionId'] = sessionId;
153566
+ }
153567
+
153568
+ if (eventId !== undefined) {
153569
+ localVarQueryParameter['eventId'] = eventId;
153570
+ }
153571
+
153572
+ if (groupId !== undefined) {
153573
+ localVarQueryParameter['groupId'] = groupId;
153574
+ }
153575
+
153576
+ if (videoId !== undefined) {
153577
+ localVarQueryParameter['videoId'] = videoId;
153578
+ }
153579
+
153580
+ if (page !== undefined) {
153581
+ localVarQueryParameter['page'] = page;
153582
+ }
153583
+
153584
+ if (pageSize !== undefined) {
153585
+ localVarQueryParameter['pageSize'] = pageSize;
153586
+ }
153587
+
153588
+ if (orderBy !== undefined) {
153589
+ localVarQueryParameter['orderBy'] = orderBy;
153590
+ }
153591
+
153592
+ if (search !== undefined) {
153593
+ localVarQueryParameter['search'] = search;
153594
+ }
153595
+
153596
+ localVarHeaderParameter['Accept'] = 'application/json';
153597
+
153598
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
153599
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
153600
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
153601
+
153602
+ return {
153603
+ url: toPathString(localVarUrlObj),
153604
+ options: localVarRequestOptions,
153605
+ };
153606
+ },
153607
+ /**
153608
+ * Moves a replay to exactly one other session, event or group in the organization; the video itself is unchanged. Requires update permission on streams.
153609
+ * @summary Move a replay
153610
+ * @param {string} replayId The replay identifier
153611
+ * @param {ReplayUpdateInputs} replayUpdateInputs
153612
+ * @param {*} [options] Override http request option.
153613
+ * @throws {RequiredError}
153614
+ */
153615
+ updateReplay: async (replayId: string, replayUpdateInputs: ReplayUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
153616
+ // verify required parameter 'replayId' is not null or undefined
153617
+ assertParamExists('updateReplay', 'replayId', replayId)
153618
+ // verify required parameter 'replayUpdateInputs' is not null or undefined
153619
+ assertParamExists('updateReplay', 'replayUpdateInputs', replayUpdateInputs)
153620
+ const localVarPath = `/replays/{replayId}`
153621
+ .replace('{replayId}', encodeURIComponent(String(replayId)));
153622
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
153623
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
153624
+ let baseOptions;
153625
+ if (configuration) {
153626
+ baseOptions = configuration.baseOptions;
153627
+ }
153628
+
153629
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
153630
+ const localVarHeaderParameter = {} as any;
153631
+ const localVarQueryParameter = {} as any;
153632
+
153633
+ // authentication ApiKeyAuth required
153634
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
153635
+
153636
+ // authentication OrganizationId required
153637
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
153638
+
153639
+ localVarHeaderParameter['Content-Type'] = 'application/json';
153640
+ localVarHeaderParameter['Accept'] = 'application/json';
153641
+
153642
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
153643
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
153644
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
153645
+ localVarRequestOptions.data = serializeDataIfNeeded(replayUpdateInputs, localVarRequestOptions, configuration)
153646
+
153647
+ return {
153648
+ url: toPathString(localVarUrlObj),
153649
+ options: localVarRequestOptions,
153650
+ };
153651
+ },
153652
+ }
153653
+ };
153654
+
153655
+ /**
153656
+ * StreamsReplaysApi - functional programming interface
153657
+ */
153658
+ export const StreamsReplaysApiFp = function(configuration?: Configuration) {
153659
+ const localVarAxiosParamCreator = StreamsReplaysApiAxiosParamCreator(configuration)
153660
+ return {
153661
+ /**
153662
+ * Attaches a video from storage as a replay to exactly one session, event or group; a video can be a replay on several targets, but only once on each (a repeat returns 400 \"Replay already exists\"). Requires create permission on streams.
153663
+ * @summary Add a video as a replay
153664
+ * @param {ReplayCreateInputs} replayCreateInputs
153665
+ * @param {*} [options] Override http request option.
153666
+ * @throws {RequiredError}
153667
+ */
153668
+ async createReplay(replayCreateInputs: ReplayCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateReplay200Response>> {
153669
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createReplay(replayCreateInputs, options);
153670
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
153671
+ const localVarOperationServerBasePath = operationServerMap['StreamsReplaysApi.createReplay']?.[localVarOperationServerIndex]?.url;
153672
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
153673
+ },
153674
+ /**
153675
+ * Detaches a replay from its session, event or group; the video stays in storage. Requires delete permission on streams.
153676
+ * @summary Remove a replay
153677
+ * @param {string} replayId The replay identifier
153678
+ * @param {*} [options] Override http request option.
153679
+ * @throws {RequiredError}
153680
+ */
153681
+ async deleteReplay(replayId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
153682
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteReplay(replayId, options);
153683
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
153684
+ const localVarOperationServerBasePath = operationServerMap['StreamsReplaysApi.deleteReplay']?.[localVarOperationServerIndex]?.url;
153685
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
153686
+ },
153687
+ /**
153688
+ * Returns a single replay with its video and the name of the session, event or group it is attached to; requires read permission on streams.
153689
+ * @summary Get a replay
153690
+ * @param {string} replayId The replay identifier
153691
+ * @param {*} [options] Override http request option.
153692
+ * @throws {RequiredError}
153693
+ */
153694
+ async getReplay(replayId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateReplay200Response>> {
153695
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getReplay(replayId, options);
153696
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
153697
+ const localVarOperationServerBasePath = operationServerMap['StreamsReplaysApi.getReplay']?.[localVarOperationServerIndex]?.url;
153698
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
153699
+ },
153700
+ /**
153701
+ * Returns a paginated list of the organization\'s replays, newest first, each with its video and the name of the session, event or group it is attached to, filterable by session, event, group or video; requires read permission on streams.
153702
+ * @summary List replays
153703
+ * @param {string} [sessionId] Filter by sessionId
153704
+ * @param {string} [eventId] Filter by eventId
153705
+ * @param {string} [groupId] Filter by groupId
153706
+ * @param {string} [videoId] Filter by videoId
153707
+ * @param {number} [page] Page number
153708
+ * @param {number} [pageSize] Number of items per page
153709
+ * @param {string} [orderBy] Field to order by
153710
+ * @param {string} [search] Search query
153711
+ * @param {*} [options] Override http request option.
153712
+ * @throws {RequiredError}
153713
+ */
153714
+ async getReplays(sessionId?: string, eventId?: string, groupId?: string, videoId?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetReplays200Response>> {
153715
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getReplays(sessionId, eventId, groupId, videoId, page, pageSize, orderBy, search, options);
153716
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
153717
+ const localVarOperationServerBasePath = operationServerMap['StreamsReplaysApi.getReplays']?.[localVarOperationServerIndex]?.url;
153718
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
153719
+ },
153720
+ /**
153721
+ * Moves a replay to exactly one other session, event or group in the organization; the video itself is unchanged. Requires update permission on streams.
153722
+ * @summary Move a replay
153723
+ * @param {string} replayId The replay identifier
153724
+ * @param {ReplayUpdateInputs} replayUpdateInputs
153725
+ * @param {*} [options] Override http request option.
153726
+ * @throws {RequiredError}
153727
+ */
153728
+ async updateReplay(replayId: string, replayUpdateInputs: ReplayUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateReplay200Response>> {
153729
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateReplay(replayId, replayUpdateInputs, options);
153730
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
153731
+ const localVarOperationServerBasePath = operationServerMap['StreamsReplaysApi.updateReplay']?.[localVarOperationServerIndex]?.url;
153732
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
153733
+ },
153734
+ }
153735
+ };
153736
+
153737
+ /**
153738
+ * StreamsReplaysApi - factory interface
153739
+ */
153740
+ export const StreamsReplaysApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
153741
+ const localVarFp = StreamsReplaysApiFp(configuration)
153742
+ return {
153743
+ /**
153744
+ * Attaches a video from storage as a replay to exactly one session, event or group; a video can be a replay on several targets, but only once on each (a repeat returns 400 \"Replay already exists\"). Requires create permission on streams.
153745
+ * @summary Add a video as a replay
153746
+ * @param {StreamsReplaysApiCreateReplayRequest} requestParameters Request parameters.
153747
+ * @param {*} [options] Override http request option.
153748
+ * @throws {RequiredError}
153749
+ */
153750
+ createReplay(requestParameters: StreamsReplaysApiCreateReplayRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateReplay200Response> {
153751
+ return localVarFp.createReplay(requestParameters.replayCreateInputs, options).then((request) => request(axios, basePath));
153752
+ },
153753
+ /**
153754
+ * Detaches a replay from its session, event or group; the video stays in storage. Requires delete permission on streams.
153755
+ * @summary Remove a replay
153756
+ * @param {StreamsReplaysApiDeleteReplayRequest} requestParameters Request parameters.
153757
+ * @param {*} [options] Override http request option.
153758
+ * @throws {RequiredError}
153759
+ */
153760
+ deleteReplay(requestParameters: StreamsReplaysApiDeleteReplayRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
153761
+ return localVarFp.deleteReplay(requestParameters.replayId, options).then((request) => request(axios, basePath));
153762
+ },
153763
+ /**
153764
+ * Returns a single replay with its video and the name of the session, event or group it is attached to; requires read permission on streams.
153765
+ * @summary Get a replay
153766
+ * @param {StreamsReplaysApiGetReplayRequest} requestParameters Request parameters.
153767
+ * @param {*} [options] Override http request option.
153768
+ * @throws {RequiredError}
153769
+ */
153770
+ getReplay(requestParameters: StreamsReplaysApiGetReplayRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateReplay200Response> {
153771
+ return localVarFp.getReplay(requestParameters.replayId, options).then((request) => request(axios, basePath));
153772
+ },
153773
+ /**
153774
+ * Returns a paginated list of the organization\'s replays, newest first, each with its video and the name of the session, event or group it is attached to, filterable by session, event, group or video; requires read permission on streams.
153775
+ * @summary List replays
153776
+ * @param {StreamsReplaysApiGetReplaysRequest} requestParameters Request parameters.
153777
+ * @param {*} [options] Override http request option.
153778
+ * @throws {RequiredError}
153779
+ */
153780
+ getReplays(requestParameters: StreamsReplaysApiGetReplaysRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetReplays200Response> {
153781
+ return localVarFp.getReplays(requestParameters.sessionId, requestParameters.eventId, requestParameters.groupId, requestParameters.videoId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
153782
+ },
153783
+ /**
153784
+ * Moves a replay to exactly one other session, event or group in the organization; the video itself is unchanged. Requires update permission on streams.
153785
+ * @summary Move a replay
153786
+ * @param {StreamsReplaysApiUpdateReplayRequest} requestParameters Request parameters.
153787
+ * @param {*} [options] Override http request option.
153788
+ * @throws {RequiredError}
153789
+ */
153790
+ updateReplay(requestParameters: StreamsReplaysApiUpdateReplayRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateReplay200Response> {
153791
+ return localVarFp.updateReplay(requestParameters.replayId, requestParameters.replayUpdateInputs, options).then((request) => request(axios, basePath));
153792
+ },
153793
+ };
153794
+ };
153795
+
153796
+ /**
153797
+ * Request parameters for createReplay operation in StreamsReplaysApi.
153798
+ */
153799
+ export interface StreamsReplaysApiCreateReplayRequest {
153800
+ readonly replayCreateInputs: ReplayCreateInputs
153801
+ }
153802
+
153803
+ /**
153804
+ * Request parameters for deleteReplay operation in StreamsReplaysApi.
153805
+ */
153806
+ export interface StreamsReplaysApiDeleteReplayRequest {
153807
+ /**
153808
+ * The replay identifier
153809
+ */
153810
+ readonly replayId: string
153811
+ }
153812
+
153813
+ /**
153814
+ * Request parameters for getReplay operation in StreamsReplaysApi.
153815
+ */
153816
+ export interface StreamsReplaysApiGetReplayRequest {
153817
+ /**
153818
+ * The replay identifier
153819
+ */
153820
+ readonly replayId: string
153821
+ }
153822
+
153823
+ /**
153824
+ * Request parameters for getReplays operation in StreamsReplaysApi.
153825
+ */
153826
+ export interface StreamsReplaysApiGetReplaysRequest {
153827
+ /**
153828
+ * Filter by sessionId
153829
+ */
153830
+ readonly sessionId?: string
153831
+
153832
+ /**
153833
+ * Filter by eventId
153834
+ */
153835
+ readonly eventId?: string
153836
+
153837
+ /**
153838
+ * Filter by groupId
153839
+ */
153840
+ readonly groupId?: string
153841
+
153842
+ /**
153843
+ * Filter by videoId
153844
+ */
153845
+ readonly videoId?: string
153846
+
153847
+ /**
153848
+ * Page number
153849
+ */
153850
+ readonly page?: number
153851
+
153852
+ /**
153853
+ * Number of items per page
153854
+ */
153855
+ readonly pageSize?: number
153856
+
153857
+ /**
153858
+ * Field to order by
153859
+ */
153860
+ readonly orderBy?: string
153861
+
153862
+ /**
153863
+ * Search query
153864
+ */
153865
+ readonly search?: string
153866
+ }
153867
+
153868
+ /**
153869
+ * Request parameters for updateReplay operation in StreamsReplaysApi.
153870
+ */
153871
+ export interface StreamsReplaysApiUpdateReplayRequest {
153872
+ /**
153873
+ * The replay identifier
153874
+ */
153875
+ readonly replayId: string
153876
+
153877
+ readonly replayUpdateInputs: ReplayUpdateInputs
153878
+ }
153879
+
153880
+ /**
153881
+ * StreamsReplaysApi - object-oriented interface
153882
+ */
153883
+ export class StreamsReplaysApi extends BaseAPI {
153884
+ /**
153885
+ * Attaches a video from storage as a replay to exactly one session, event or group; a video can be a replay on several targets, but only once on each (a repeat returns 400 \"Replay already exists\"). Requires create permission on streams.
153886
+ * @summary Add a video as a replay
153887
+ * @param {StreamsReplaysApiCreateReplayRequest} requestParameters Request parameters.
153888
+ * @param {*} [options] Override http request option.
153889
+ * @throws {RequiredError}
153890
+ */
153891
+ public createReplay(requestParameters: StreamsReplaysApiCreateReplayRequest, options?: RawAxiosRequestConfig) {
153892
+ return StreamsReplaysApiFp(this.configuration).createReplay(requestParameters.replayCreateInputs, options).then((request) => request(this.axios, this.basePath));
153893
+ }
153894
+
153895
+ /**
153896
+ * Detaches a replay from its session, event or group; the video stays in storage. Requires delete permission on streams.
153897
+ * @summary Remove a replay
153898
+ * @param {StreamsReplaysApiDeleteReplayRequest} requestParameters Request parameters.
153899
+ * @param {*} [options] Override http request option.
153900
+ * @throws {RequiredError}
153901
+ */
153902
+ public deleteReplay(requestParameters: StreamsReplaysApiDeleteReplayRequest, options?: RawAxiosRequestConfig) {
153903
+ return StreamsReplaysApiFp(this.configuration).deleteReplay(requestParameters.replayId, options).then((request) => request(this.axios, this.basePath));
153904
+ }
153905
+
153906
+ /**
153907
+ * Returns a single replay with its video and the name of the session, event or group it is attached to; requires read permission on streams.
153908
+ * @summary Get a replay
153909
+ * @param {StreamsReplaysApiGetReplayRequest} requestParameters Request parameters.
153910
+ * @param {*} [options] Override http request option.
153911
+ * @throws {RequiredError}
153912
+ */
153913
+ public getReplay(requestParameters: StreamsReplaysApiGetReplayRequest, options?: RawAxiosRequestConfig) {
153914
+ return StreamsReplaysApiFp(this.configuration).getReplay(requestParameters.replayId, options).then((request) => request(this.axios, this.basePath));
153915
+ }
153916
+
153917
+ /**
153918
+ * Returns a paginated list of the organization\'s replays, newest first, each with its video and the name of the session, event or group it is attached to, filterable by session, event, group or video; requires read permission on streams.
153919
+ * @summary List replays
153920
+ * @param {StreamsReplaysApiGetReplaysRequest} requestParameters Request parameters.
153921
+ * @param {*} [options] Override http request option.
153922
+ * @throws {RequiredError}
153923
+ */
153924
+ public getReplays(requestParameters: StreamsReplaysApiGetReplaysRequest = {}, options?: RawAxiosRequestConfig) {
153925
+ return StreamsReplaysApiFp(this.configuration).getReplays(requestParameters.sessionId, requestParameters.eventId, requestParameters.groupId, requestParameters.videoId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
153926
+ }
153927
+
153928
+ /**
153929
+ * Moves a replay to exactly one other session, event or group in the organization; the video itself is unchanged. Requires update permission on streams.
153930
+ * @summary Move a replay
153931
+ * @param {StreamsReplaysApiUpdateReplayRequest} requestParameters Request parameters.
153932
+ * @param {*} [options] Override http request option.
153933
+ * @throws {RequiredError}
153934
+ */
153935
+ public updateReplay(requestParameters: StreamsReplaysApiUpdateReplayRequest, options?: RawAxiosRequestConfig) {
153936
+ return StreamsReplaysApiFp(this.configuration).updateReplay(requestParameters.replayId, requestParameters.replayUpdateInputs, options).then((request) => request(this.axios, this.basePath));
153937
+ }
153938
+ }
153939
+
153940
+
153941
+
153250
153942
  /**
153251
153943
  * StreamsSessionsApi - axios parameter creator
153252
153944
  */