@connectedxm/admin 6.7.7 → 6.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/openapi.json CHANGED
@@ -152,6 +152,10 @@
152
152
  "name": "Events::Benefits",
153
153
  "description": "Associate exclusive offers or discounts with events, providing special perks to attendees or members"
154
154
  },
155
+ {
156
+ "name": "Events::Blocks",
157
+ "description": "Operations for events::blocks"
158
+ },
155
159
  {
156
160
  "name": "Events::Bypass",
157
161
  "description": "Bypass standard registration requirements to grant direct access to events or passes, useful for comps, sponsors, or special circumstances"
@@ -15764,7 +15768,567 @@
15764
15768
  "example": "Success message."
15765
15769
  },
15766
15770
  "data": {
15767
- "type": "object"
15771
+ "type": "object"
15772
+ }
15773
+ },
15774
+ "required": [
15775
+ "status",
15776
+ "message",
15777
+ "data"
15778
+ ]
15779
+ }
15780
+ }
15781
+ }
15782
+ }
15783
+ },
15784
+ "tags": [
15785
+ "Events::Attendees"
15786
+ ]
15787
+ }
15788
+ },
15789
+ "/events/{eventId}/attendees/{accountId}/reservations": {
15790
+ "get": {
15791
+ "operationId": "GetEventAttendeeReservations",
15792
+ "summary": "Get Event Attendee Reservations",
15793
+ "description": "Get Event Attendee Reservations endpoint",
15794
+ "parameters": [
15795
+ {
15796
+ "in": "path",
15797
+ "name": "eventId",
15798
+ "schema": {
15799
+ "type": "string"
15800
+ },
15801
+ "description": "The event identifier",
15802
+ "required": true
15803
+ },
15804
+ {
15805
+ "in": "path",
15806
+ "name": "accountId",
15807
+ "schema": {
15808
+ "type": "string"
15809
+ },
15810
+ "description": "The account identifier",
15811
+ "required": true
15812
+ },
15813
+ {
15814
+ "in": "query",
15815
+ "name": "page",
15816
+ "schema": {
15817
+ "type": "integer",
15818
+ "minimum": 1,
15819
+ "default": 1
15820
+ },
15821
+ "description": "Page number",
15822
+ "required": false
15823
+ },
15824
+ {
15825
+ "in": "query",
15826
+ "name": "pageSize",
15827
+ "schema": {
15828
+ "type": "integer",
15829
+ "minimum": 1,
15830
+ "maximum": 100,
15831
+ "default": 25
15832
+ },
15833
+ "description": "Number of items per page",
15834
+ "required": false
15835
+ },
15836
+ {
15837
+ "in": "query",
15838
+ "name": "orderBy",
15839
+ "schema": {
15840
+ "type": "string"
15841
+ },
15842
+ "description": "Field to order by",
15843
+ "required": false
15844
+ },
15845
+ {
15846
+ "in": "query",
15847
+ "name": "search",
15848
+ "schema": {
15849
+ "type": "string"
15850
+ },
15851
+ "description": "Search query",
15852
+ "required": false
15853
+ }
15854
+ ],
15855
+ "responses": {
15856
+ "200": {
15857
+ "description": "Successful response",
15858
+ "content": {
15859
+ "application/json": {
15860
+ "schema": {
15861
+ "type": "object",
15862
+ "properties": {
15863
+ "status": {
15864
+ "type": "string",
15865
+ "enum": [
15866
+ "ok"
15867
+ ]
15868
+ },
15869
+ "message": {
15870
+ "type": "string",
15871
+ "example": "Success message."
15872
+ },
15873
+ "data": {
15874
+ "type": "object"
15875
+ },
15876
+ "count": {
15877
+ "type": "integer",
15878
+ "example": 100
15879
+ }
15880
+ },
15881
+ "required": [
15882
+ "status",
15883
+ "message",
15884
+ "data"
15885
+ ]
15886
+ }
15887
+ }
15888
+ }
15889
+ }
15890
+ },
15891
+ "tags": [
15892
+ "Events::Attendees::Reservations"
15893
+ ]
15894
+ }
15895
+ },
15896
+ "/events/{eventId}/attendees/{accountId}/transfers/logs": {
15897
+ "get": {
15898
+ "operationId": "GetEventAttendeeTransfersLogs",
15899
+ "summary": "Get Event Attendee Transfers Logs",
15900
+ "description": "Get Event Attendee Transfers Logs endpoint",
15901
+ "parameters": [
15902
+ {
15903
+ "in": "path",
15904
+ "name": "eventId",
15905
+ "schema": {
15906
+ "type": "string"
15907
+ },
15908
+ "description": "The event identifier",
15909
+ "required": true
15910
+ },
15911
+ {
15912
+ "in": "path",
15913
+ "name": "accountId",
15914
+ "schema": {
15915
+ "type": "string"
15916
+ },
15917
+ "description": "The account identifier",
15918
+ "required": true
15919
+ },
15920
+ {
15921
+ "in": "query",
15922
+ "name": "page",
15923
+ "schema": {
15924
+ "type": "integer",
15925
+ "minimum": 1,
15926
+ "default": 1
15927
+ },
15928
+ "description": "Page number",
15929
+ "required": false
15930
+ },
15931
+ {
15932
+ "in": "query",
15933
+ "name": "pageSize",
15934
+ "schema": {
15935
+ "type": "integer",
15936
+ "minimum": 1,
15937
+ "maximum": 100,
15938
+ "default": 25
15939
+ },
15940
+ "description": "Number of items per page",
15941
+ "required": false
15942
+ },
15943
+ {
15944
+ "in": "query",
15945
+ "name": "orderBy",
15946
+ "schema": {
15947
+ "type": "string"
15948
+ },
15949
+ "description": "Field to order by",
15950
+ "required": false
15951
+ },
15952
+ {
15953
+ "in": "query",
15954
+ "name": "search",
15955
+ "schema": {
15956
+ "type": "string"
15957
+ },
15958
+ "description": "Search query",
15959
+ "required": false
15960
+ }
15961
+ ],
15962
+ "responses": {
15963
+ "200": {
15964
+ "description": "Successful response",
15965
+ "content": {
15966
+ "application/json": {
15967
+ "schema": {
15968
+ "type": "object",
15969
+ "properties": {
15970
+ "status": {
15971
+ "type": "string",
15972
+ "enum": [
15973
+ "ok"
15974
+ ]
15975
+ },
15976
+ "message": {
15977
+ "type": "string",
15978
+ "example": "Success message."
15979
+ },
15980
+ "data": {
15981
+ "type": "object"
15982
+ },
15983
+ "count": {
15984
+ "type": "integer",
15985
+ "example": 100
15986
+ }
15987
+ },
15988
+ "required": [
15989
+ "status",
15990
+ "message",
15991
+ "data"
15992
+ ]
15993
+ }
15994
+ }
15995
+ }
15996
+ }
15997
+ },
15998
+ "tags": [
15999
+ "Events::Attendees"
16000
+ ]
16001
+ }
16002
+ },
16003
+ "/events/{eventId}/benefits/{benefitId}": {
16004
+ "post": {
16005
+ "operationId": "AddEventBenefit",
16006
+ "summary": "Add Event Benefit",
16007
+ "description": "Add Event Benefit endpoint",
16008
+ "parameters": [
16009
+ {
16010
+ "in": "path",
16011
+ "name": "eventId",
16012
+ "schema": {
16013
+ "type": "string"
16014
+ },
16015
+ "description": "The event identifier",
16016
+ "required": true
16017
+ },
16018
+ {
16019
+ "in": "path",
16020
+ "name": "benefitId",
16021
+ "schema": {
16022
+ "type": "string"
16023
+ },
16024
+ "description": "The benefit identifier",
16025
+ "required": true
16026
+ }
16027
+ ],
16028
+ "responses": {
16029
+ "200": {
16030
+ "description": "Successful response",
16031
+ "content": {
16032
+ "application/json": {
16033
+ "schema": {
16034
+ "type": "object",
16035
+ "properties": {
16036
+ "status": {
16037
+ "type": "string",
16038
+ "enum": [
16039
+ "ok"
16040
+ ]
16041
+ },
16042
+ "message": {
16043
+ "type": "string",
16044
+ "example": "Success message."
16045
+ },
16046
+ "data": {
16047
+ "$ref": "#/components/schemas/Benefit"
16048
+ }
16049
+ },
16050
+ "required": [
16051
+ "status",
16052
+ "message",
16053
+ "data"
16054
+ ]
16055
+ }
16056
+ }
16057
+ }
16058
+ }
16059
+ },
16060
+ "tags": [
16061
+ "Events::Benefits"
16062
+ ]
16063
+ },
16064
+ "delete": {
16065
+ "operationId": "RemoveEventBenefit",
16066
+ "summary": "Remove Event Benefit",
16067
+ "description": "Remove Event Benefit endpoint",
16068
+ "parameters": [
16069
+ {
16070
+ "in": "path",
16071
+ "name": "eventId",
16072
+ "schema": {
16073
+ "type": "string"
16074
+ },
16075
+ "description": "The event identifier",
16076
+ "required": true
16077
+ },
16078
+ {
16079
+ "in": "path",
16080
+ "name": "benefitId",
16081
+ "schema": {
16082
+ "type": "string"
16083
+ },
16084
+ "description": "The benefit identifier",
16085
+ "required": true
16086
+ }
16087
+ ],
16088
+ "responses": {
16089
+ "200": {
16090
+ "description": "Successful response",
16091
+ "content": {
16092
+ "application/json": {
16093
+ "schema": {
16094
+ "type": "object",
16095
+ "properties": {
16096
+ "status": {
16097
+ "type": "string",
16098
+ "enum": [
16099
+ "ok"
16100
+ ]
16101
+ },
16102
+ "message": {
16103
+ "type": "string",
16104
+ "example": "Success message."
16105
+ },
16106
+ "data": {
16107
+ "$ref": "#/components/schemas/Benefit"
16108
+ }
16109
+ },
16110
+ "required": [
16111
+ "status",
16112
+ "message",
16113
+ "data"
16114
+ ]
16115
+ }
16116
+ }
16117
+ }
16118
+ }
16119
+ },
16120
+ "tags": [
16121
+ "Events::Benefits"
16122
+ ]
16123
+ }
16124
+ },
16125
+ "/events/{eventId}/blocks": {
16126
+ "get": {
16127
+ "operationId": "GetEventBlocks",
16128
+ "summary": "Get Event Blocks",
16129
+ "description": "Get Event Blocks endpoint",
16130
+ "parameters": [
16131
+ {
16132
+ "in": "path",
16133
+ "name": "eventId",
16134
+ "schema": {
16135
+ "type": "string"
16136
+ },
16137
+ "description": "The event identifier",
16138
+ "required": true
16139
+ },
16140
+ {
16141
+ "in": "query",
16142
+ "name": "page",
16143
+ "schema": {
16144
+ "type": "integer",
16145
+ "minimum": 1,
16146
+ "default": 1
16147
+ },
16148
+ "description": "Page number",
16149
+ "required": false
16150
+ },
16151
+ {
16152
+ "in": "query",
16153
+ "name": "pageSize",
16154
+ "schema": {
16155
+ "type": "integer",
16156
+ "minimum": 1,
16157
+ "maximum": 100,
16158
+ "default": 25
16159
+ },
16160
+ "description": "Number of items per page",
16161
+ "required": false
16162
+ },
16163
+ {
16164
+ "in": "query",
16165
+ "name": "orderBy",
16166
+ "schema": {
16167
+ "type": "string"
16168
+ },
16169
+ "description": "Field to order by",
16170
+ "required": false
16171
+ },
16172
+ {
16173
+ "in": "query",
16174
+ "name": "search",
16175
+ "schema": {
16176
+ "type": "string"
16177
+ },
16178
+ "description": "Search query",
16179
+ "required": false
16180
+ }
16181
+ ],
16182
+ "responses": {
16183
+ "200": {
16184
+ "description": "Successful response",
16185
+ "content": {
16186
+ "application/json": {
16187
+ "schema": {
16188
+ "type": "object",
16189
+ "properties": {
16190
+ "status": {
16191
+ "type": "string",
16192
+ "enum": [
16193
+ "ok"
16194
+ ]
16195
+ },
16196
+ "message": {
16197
+ "type": "string",
16198
+ "example": "Success message."
16199
+ },
16200
+ "data": {
16201
+ "type": "array",
16202
+ "items": {
16203
+ "$ref": "#/components/schemas/EventBlock"
16204
+ }
16205
+ },
16206
+ "count": {
16207
+ "type": "integer",
16208
+ "example": 100
16209
+ }
16210
+ },
16211
+ "required": [
16212
+ "status",
16213
+ "message",
16214
+ "data"
16215
+ ]
16216
+ }
16217
+ }
16218
+ }
16219
+ }
16220
+ },
16221
+ "tags": [
16222
+ "Events::Blocks"
16223
+ ]
16224
+ },
16225
+ "post": {
16226
+ "operationId": "CreateEventBlock",
16227
+ "summary": "Create Event Block",
16228
+ "description": "Create Event Block endpoint",
16229
+ "parameters": [
16230
+ {
16231
+ "in": "path",
16232
+ "name": "eventId",
16233
+ "schema": {
16234
+ "type": "string"
16235
+ },
16236
+ "description": "The event identifier",
16237
+ "required": true
16238
+ }
16239
+ ],
16240
+ "requestBody": {
16241
+ "required": true,
16242
+ "content": {
16243
+ "application/json": {
16244
+ "schema": {
16245
+ "$ref": "#/components/schemas/EventBlockCreateInputs"
16246
+ }
16247
+ }
16248
+ }
16249
+ },
16250
+ "responses": {
16251
+ "200": {
16252
+ "description": "Successful response",
16253
+ "content": {
16254
+ "application/json": {
16255
+ "schema": {
16256
+ "type": "object",
16257
+ "properties": {
16258
+ "status": {
16259
+ "type": "string",
16260
+ "enum": [
16261
+ "ok"
16262
+ ]
16263
+ },
16264
+ "message": {
16265
+ "type": "string",
16266
+ "example": "Success message."
16267
+ },
16268
+ "data": {
16269
+ "$ref": "#/components/schemas/EventBlock"
16270
+ }
16271
+ },
16272
+ "required": [
16273
+ "status",
16274
+ "message",
16275
+ "data"
16276
+ ]
16277
+ }
16278
+ }
16279
+ }
16280
+ }
16281
+ },
16282
+ "tags": [
16283
+ "Events::Blocks"
16284
+ ]
16285
+ }
16286
+ },
16287
+ "/events/{eventId}/blocks/{blockId}": {
16288
+ "get": {
16289
+ "operationId": "GetEventBlock",
16290
+ "summary": "Get Event Block",
16291
+ "description": "Get Event Block endpoint",
16292
+ "parameters": [
16293
+ {
16294
+ "in": "path",
16295
+ "name": "eventId",
16296
+ "schema": {
16297
+ "type": "string"
16298
+ },
16299
+ "description": "The event identifier",
16300
+ "required": true
16301
+ },
16302
+ {
16303
+ "in": "path",
16304
+ "name": "blockId",
16305
+ "schema": {
16306
+ "type": "string"
16307
+ },
16308
+ "description": "The block identifier",
16309
+ "required": true
16310
+ }
16311
+ ],
16312
+ "responses": {
16313
+ "200": {
16314
+ "description": "Successful response",
16315
+ "content": {
16316
+ "application/json": {
16317
+ "schema": {
16318
+ "type": "object",
16319
+ "properties": {
16320
+ "status": {
16321
+ "type": "string",
16322
+ "enum": [
16323
+ "ok"
16324
+ ]
16325
+ },
16326
+ "message": {
16327
+ "type": "string",
16328
+ "example": "Success message."
16329
+ },
16330
+ "data": {
16331
+ "$ref": "#/components/schemas/EventBlock"
15768
16332
  }
15769
16333
  },
15770
16334
  "required": [
@@ -15778,15 +16342,13 @@
15778
16342
  }
15779
16343
  },
15780
16344
  "tags": [
15781
- "Events::Attendees"
16345
+ "Events::Blocks"
15782
16346
  ]
15783
- }
15784
- },
15785
- "/events/{eventId}/attendees/{accountId}/reservations": {
15786
- "get": {
15787
- "operationId": "GetEventAttendeeReservations",
15788
- "summary": "Get Event Attendee Reservations",
15789
- "description": "Get Event Attendee Reservations endpoint",
16347
+ },
16348
+ "put": {
16349
+ "operationId": "UpdateEventBlock",
16350
+ "summary": "Update Event Block",
16351
+ "description": "Update Event Block endpoint",
15790
16352
  "parameters": [
15791
16353
  {
15792
16354
  "in": "path",
@@ -15799,53 +16361,82 @@
15799
16361
  },
15800
16362
  {
15801
16363
  "in": "path",
15802
- "name": "accountId",
16364
+ "name": "blockId",
15803
16365
  "schema": {
15804
16366
  "type": "string"
15805
16367
  },
15806
- "description": "The account identifier",
16368
+ "description": "The block identifier",
15807
16369
  "required": true
15808
- },
15809
- {
15810
- "in": "query",
15811
- "name": "page",
15812
- "schema": {
15813
- "type": "integer",
15814
- "minimum": 1,
15815
- "default": 1
15816
- },
15817
- "description": "Page number",
15818
- "required": false
15819
- },
15820
- {
15821
- "in": "query",
15822
- "name": "pageSize",
15823
- "schema": {
15824
- "type": "integer",
15825
- "minimum": 1,
15826
- "maximum": 100,
15827
- "default": 25
15828
- },
15829
- "description": "Number of items per page",
15830
- "required": false
15831
- },
16370
+ }
16371
+ ],
16372
+ "requestBody": {
16373
+ "required": true,
16374
+ "content": {
16375
+ "application/json": {
16376
+ "schema": {
16377
+ "$ref": "#/components/schemas/EventBlockUpdateInputs"
16378
+ }
16379
+ }
16380
+ }
16381
+ },
16382
+ "responses": {
16383
+ "200": {
16384
+ "description": "Successful response",
16385
+ "content": {
16386
+ "application/json": {
16387
+ "schema": {
16388
+ "type": "object",
16389
+ "properties": {
16390
+ "status": {
16391
+ "type": "string",
16392
+ "enum": [
16393
+ "ok"
16394
+ ]
16395
+ },
16396
+ "message": {
16397
+ "type": "string",
16398
+ "example": "Success message."
16399
+ },
16400
+ "data": {
16401
+ "$ref": "#/components/schemas/EventBlock"
16402
+ }
16403
+ },
16404
+ "required": [
16405
+ "status",
16406
+ "message",
16407
+ "data"
16408
+ ]
16409
+ }
16410
+ }
16411
+ }
16412
+ }
16413
+ },
16414
+ "tags": [
16415
+ "Events::Blocks"
16416
+ ]
16417
+ },
16418
+ "delete": {
16419
+ "operationId": "DeleteEventBlock",
16420
+ "summary": "Delete Event Block",
16421
+ "description": "Delete Event Block endpoint",
16422
+ "parameters": [
15832
16423
  {
15833
- "in": "query",
15834
- "name": "orderBy",
16424
+ "in": "path",
16425
+ "name": "eventId",
15835
16426
  "schema": {
15836
16427
  "type": "string"
15837
16428
  },
15838
- "description": "Field to order by",
15839
- "required": false
16429
+ "description": "The event identifier",
16430
+ "required": true
15840
16431
  },
15841
16432
  {
15842
- "in": "query",
15843
- "name": "search",
16433
+ "in": "path",
16434
+ "name": "blockId",
15844
16435
  "schema": {
15845
16436
  "type": "string"
15846
16437
  },
15847
- "description": "Search query",
15848
- "required": false
16438
+ "description": "The block identifier",
16439
+ "required": true
15849
16440
  }
15850
16441
  ],
15851
16442
  "responses": {
@@ -15867,11 +16458,7 @@
15867
16458
  "example": "Success message."
15868
16459
  },
15869
16460
  "data": {
15870
- "type": "object"
15871
- },
15872
- "count": {
15873
- "type": "integer",
15874
- "example": 100
16461
+ "nullable": true
15875
16462
  }
15876
16463
  },
15877
16464
  "required": [
@@ -15885,15 +16472,15 @@
15885
16472
  }
15886
16473
  },
15887
16474
  "tags": [
15888
- "Events::Attendees::Reservations"
16475
+ "Events::Blocks"
15889
16476
  ]
15890
16477
  }
15891
16478
  },
15892
- "/events/{eventId}/attendees/{accountId}/transfers/logs": {
16479
+ "/events/{eventId}/blocks/{blockId}/sessions": {
15893
16480
  "get": {
15894
- "operationId": "GetEventAttendeeTransfersLogs",
15895
- "summary": "Get Event Attendee Transfers Logs",
15896
- "description": "Get Event Attendee Transfers Logs endpoint",
16481
+ "operationId": "GetEventBlockSessions",
16482
+ "summary": "Get Event Block Sessions",
16483
+ "description": "Get Event Block Sessions endpoint",
15897
16484
  "parameters": [
15898
16485
  {
15899
16486
  "in": "path",
@@ -15906,11 +16493,11 @@
15906
16493
  },
15907
16494
  {
15908
16495
  "in": "path",
15909
- "name": "accountId",
16496
+ "name": "blockId",
15910
16497
  "schema": {
15911
16498
  "type": "string"
15912
16499
  },
15913
- "description": "The account identifier",
16500
+ "description": "The block identifier",
15914
16501
  "required": true
15915
16502
  },
15916
16503
  {
@@ -15992,15 +16579,15 @@
15992
16579
  }
15993
16580
  },
15994
16581
  "tags": [
15995
- "Events::Attendees"
16582
+ "Events::Blocks"
15996
16583
  ]
15997
16584
  }
15998
16585
  },
15999
- "/events/{eventId}/benefits/{benefitId}": {
16586
+ "/events/{eventId}/blocks/{blockId}/sessions/{sessionId}": {
16000
16587
  "post": {
16001
- "operationId": "AddEventBenefit",
16002
- "summary": "Add Event Benefit",
16003
- "description": "Add Event Benefit endpoint",
16588
+ "operationId": "AddEventBlockSession",
16589
+ "summary": "Add Event Block Session",
16590
+ "description": "Add Event Block Session endpoint",
16004
16591
  "parameters": [
16005
16592
  {
16006
16593
  "in": "path",
@@ -16013,11 +16600,20 @@
16013
16600
  },
16014
16601
  {
16015
16602
  "in": "path",
16016
- "name": "benefitId",
16603
+ "name": "blockId",
16017
16604
  "schema": {
16018
16605
  "type": "string"
16019
16606
  },
16020
- "description": "The benefit identifier",
16607
+ "description": "The block identifier",
16608
+ "required": true
16609
+ },
16610
+ {
16611
+ "in": "path",
16612
+ "name": "sessionId",
16613
+ "schema": {
16614
+ "type": "string"
16615
+ },
16616
+ "description": "The session identifier",
16021
16617
  "required": true
16022
16618
  }
16023
16619
  ],
@@ -16040,7 +16636,7 @@
16040
16636
  "example": "Success message."
16041
16637
  },
16042
16638
  "data": {
16043
- "$ref": "#/components/schemas/Benefit"
16639
+ "$ref": "#/components/schemas/EventBlock"
16044
16640
  }
16045
16641
  },
16046
16642
  "required": [
@@ -16054,13 +16650,13 @@
16054
16650
  }
16055
16651
  },
16056
16652
  "tags": [
16057
- "Events::Benefits"
16653
+ "Events::Blocks"
16058
16654
  ]
16059
16655
  },
16060
16656
  "delete": {
16061
- "operationId": "RemoveEventBenefit",
16062
- "summary": "Remove Event Benefit",
16063
- "description": "Remove Event Benefit endpoint",
16657
+ "operationId": "RemoveEventBlockSession",
16658
+ "summary": "Remove Event Block Session",
16659
+ "description": "Remove Event Block Session endpoint",
16064
16660
  "parameters": [
16065
16661
  {
16066
16662
  "in": "path",
@@ -16073,11 +16669,20 @@
16073
16669
  },
16074
16670
  {
16075
16671
  "in": "path",
16076
- "name": "benefitId",
16672
+ "name": "blockId",
16077
16673
  "schema": {
16078
16674
  "type": "string"
16079
16675
  },
16080
- "description": "The benefit identifier",
16676
+ "description": "The block identifier",
16677
+ "required": true
16678
+ },
16679
+ {
16680
+ "in": "path",
16681
+ "name": "sessionId",
16682
+ "schema": {
16683
+ "type": "string"
16684
+ },
16685
+ "description": "The session identifier",
16081
16686
  "required": true
16082
16687
  }
16083
16688
  ],
@@ -16100,7 +16705,7 @@
16100
16705
  "example": "Success message."
16101
16706
  },
16102
16707
  "data": {
16103
- "$ref": "#/components/schemas/Benefit"
16708
+ "$ref": "#/components/schemas/EventBlock"
16104
16709
  }
16105
16710
  },
16106
16711
  "required": [
@@ -16114,7 +16719,7 @@
16114
16719
  }
16115
16720
  },
16116
16721
  "tags": [
16117
- "Events::Benefits"
16722
+ "Events::Blocks"
16118
16723
  ]
16119
16724
  }
16120
16725
  },
@@ -16778,6 +17383,15 @@
16778
17383
  "description": "Filter by prePaid",
16779
17384
  "required": false
16780
17385
  },
17386
+ {
17387
+ "in": "query",
17388
+ "name": "includeVariants",
17389
+ "schema": {
17390
+ "type": "object"
17391
+ },
17392
+ "description": "Filter by includeVariants",
17393
+ "required": false
17394
+ },
16781
17395
  {
16782
17396
  "in": "query",
16783
17397
  "name": "page",
@@ -34065,7 +34679,123 @@
34065
34679
  "example": "Success message."
34066
34680
  },
34067
34681
  "data": {
34068
- "nullable": true
34682
+ "nullable": true
34683
+ }
34684
+ },
34685
+ "required": [
34686
+ "status",
34687
+ "message",
34688
+ "data"
34689
+ ]
34690
+ }
34691
+ }
34692
+ }
34693
+ }
34694
+ },
34695
+ "tags": [
34696
+ "Events::Sessions"
34697
+ ]
34698
+ }
34699
+ },
34700
+ "/events/{eventId}/sessions/{sessionId}/accesses": {
34701
+ "get": {
34702
+ "operationId": "GetEventSessionAccesses",
34703
+ "summary": "Get Event Session Accesses",
34704
+ "description": "Get Event Session Accesses endpoint",
34705
+ "parameters": [
34706
+ {
34707
+ "in": "path",
34708
+ "name": "eventId",
34709
+ "schema": {
34710
+ "type": "string"
34711
+ },
34712
+ "description": "The event identifier",
34713
+ "required": true
34714
+ },
34715
+ {
34716
+ "in": "path",
34717
+ "name": "sessionId",
34718
+ "schema": {
34719
+ "type": "string"
34720
+ },
34721
+ "description": "The session identifier",
34722
+ "required": true
34723
+ },
34724
+ {
34725
+ "in": "query",
34726
+ "name": "purchaseStatus",
34727
+ "schema": {
34728
+ "$ref": "#/components/schemas/PurchaseStatus"
34729
+ },
34730
+ "description": "Filter by purchaseStatus",
34731
+ "required": false
34732
+ },
34733
+ {
34734
+ "in": "query",
34735
+ "name": "page",
34736
+ "schema": {
34737
+ "type": "integer",
34738
+ "minimum": 1,
34739
+ "default": 1
34740
+ },
34741
+ "description": "Page number",
34742
+ "required": false
34743
+ },
34744
+ {
34745
+ "in": "query",
34746
+ "name": "pageSize",
34747
+ "schema": {
34748
+ "type": "integer",
34749
+ "minimum": 1,
34750
+ "maximum": 100,
34751
+ "default": 25
34752
+ },
34753
+ "description": "Number of items per page",
34754
+ "required": false
34755
+ },
34756
+ {
34757
+ "in": "query",
34758
+ "name": "orderBy",
34759
+ "schema": {
34760
+ "type": "string"
34761
+ },
34762
+ "description": "Field to order by",
34763
+ "required": false
34764
+ },
34765
+ {
34766
+ "in": "query",
34767
+ "name": "search",
34768
+ "schema": {
34769
+ "type": "string"
34770
+ },
34771
+ "description": "Search query",
34772
+ "required": false
34773
+ }
34774
+ ],
34775
+ "responses": {
34776
+ "200": {
34777
+ "description": "Successful response",
34778
+ "content": {
34779
+ "application/json": {
34780
+ "schema": {
34781
+ "type": "object",
34782
+ "properties": {
34783
+ "status": {
34784
+ "type": "string",
34785
+ "enum": [
34786
+ "ok"
34787
+ ]
34788
+ },
34789
+ "message": {
34790
+ "type": "string",
34791
+ "example": "Success message."
34792
+ },
34793
+ "data": {
34794
+ "type": "object"
34795
+ },
34796
+ "count": {
34797
+ "type": "integer",
34798
+ "example": 100
34069
34799
  }
34070
34800
  },
34071
34801
  "required": [
@@ -34083,11 +34813,11 @@
34083
34813
  ]
34084
34814
  }
34085
34815
  },
34086
- "/events/{eventId}/sessions/{sessionId}/accesses": {
34816
+ "/events/{eventId}/sessions/{sessionId}/accounts": {
34087
34817
  "get": {
34088
- "operationId": "GetEventSessionAccesses",
34089
- "summary": "Get Event Session Accesses",
34090
- "description": "Get Event Session Accesses endpoint",
34818
+ "operationId": "GetEventSessionAccounts",
34819
+ "summary": "Get Event Session Accounts",
34820
+ "description": "Get Event Session Accounts endpoint",
34091
34821
  "parameters": [
34092
34822
  {
34093
34823
  "in": "path",
@@ -34107,15 +34837,6 @@
34107
34837
  "description": "The session identifier",
34108
34838
  "required": true
34109
34839
  },
34110
- {
34111
- "in": "query",
34112
- "name": "purchaseStatus",
34113
- "schema": {
34114
- "$ref": "#/components/schemas/PurchaseStatus"
34115
- },
34116
- "description": "Filter by purchaseStatus",
34117
- "required": false
34118
- },
34119
34840
  {
34120
34841
  "in": "query",
34121
34842
  "name": "page",
@@ -34177,7 +34898,10 @@
34177
34898
  "example": "Success message."
34178
34899
  },
34179
34900
  "data": {
34180
- "type": "object"
34901
+ "type": "array",
34902
+ "items": {
34903
+ "$ref": "#/components/schemas/Account"
34904
+ }
34181
34905
  },
34182
34906
  "count": {
34183
34907
  "type": "integer",
@@ -34199,11 +34923,151 @@
34199
34923
  ]
34200
34924
  }
34201
34925
  },
34202
- "/events/{eventId}/sessions/{sessionId}/accounts": {
34926
+ "/events/{eventId}/sessions/{sessionId}/accounts/{accountId}": {
34927
+ "post": {
34928
+ "operationId": "AddEventSessionAccount",
34929
+ "summary": "Add Event Session Account",
34930
+ "description": "Add Event Session Account endpoint",
34931
+ "parameters": [
34932
+ {
34933
+ "in": "path",
34934
+ "name": "eventId",
34935
+ "schema": {
34936
+ "type": "string"
34937
+ },
34938
+ "description": "The event identifier",
34939
+ "required": true
34940
+ },
34941
+ {
34942
+ "in": "path",
34943
+ "name": "sessionId",
34944
+ "schema": {
34945
+ "type": "string"
34946
+ },
34947
+ "description": "The session identifier",
34948
+ "required": true
34949
+ },
34950
+ {
34951
+ "in": "path",
34952
+ "name": "accountId",
34953
+ "schema": {
34954
+ "type": "string"
34955
+ },
34956
+ "description": "The account identifier",
34957
+ "required": true
34958
+ }
34959
+ ],
34960
+ "responses": {
34961
+ "200": {
34962
+ "description": "Successful response",
34963
+ "content": {
34964
+ "application/json": {
34965
+ "schema": {
34966
+ "type": "object",
34967
+ "properties": {
34968
+ "status": {
34969
+ "type": "string",
34970
+ "enum": [
34971
+ "ok"
34972
+ ]
34973
+ },
34974
+ "message": {
34975
+ "type": "string",
34976
+ "example": "Success message."
34977
+ },
34978
+ "data": {
34979
+ "type": "object"
34980
+ }
34981
+ },
34982
+ "required": [
34983
+ "status",
34984
+ "message",
34985
+ "data"
34986
+ ]
34987
+ }
34988
+ }
34989
+ }
34990
+ }
34991
+ },
34992
+ "tags": [
34993
+ "Events::Sessions"
34994
+ ]
34995
+ },
34996
+ "delete": {
34997
+ "operationId": "RemoveEventSessionAccount",
34998
+ "summary": "Remove Event Session Account",
34999
+ "description": "Remove Event Session Account endpoint",
35000
+ "parameters": [
35001
+ {
35002
+ "in": "path",
35003
+ "name": "eventId",
35004
+ "schema": {
35005
+ "type": "string"
35006
+ },
35007
+ "description": "The event identifier",
35008
+ "required": true
35009
+ },
35010
+ {
35011
+ "in": "path",
35012
+ "name": "sessionId",
35013
+ "schema": {
35014
+ "type": "string"
35015
+ },
35016
+ "description": "The session identifier",
35017
+ "required": true
35018
+ },
35019
+ {
35020
+ "in": "path",
35021
+ "name": "accountId",
35022
+ "schema": {
35023
+ "type": "string"
35024
+ },
35025
+ "description": "The account identifier",
35026
+ "required": true
35027
+ }
35028
+ ],
35029
+ "responses": {
35030
+ "200": {
35031
+ "description": "Successful response",
35032
+ "content": {
35033
+ "application/json": {
35034
+ "schema": {
35035
+ "type": "object",
35036
+ "properties": {
35037
+ "status": {
35038
+ "type": "string",
35039
+ "enum": [
35040
+ "ok"
35041
+ ]
35042
+ },
35043
+ "message": {
35044
+ "type": "string",
35045
+ "example": "Success message."
35046
+ },
35047
+ "data": {
35048
+ "type": "object"
35049
+ }
35050
+ },
35051
+ "required": [
35052
+ "status",
35053
+ "message",
35054
+ "data"
35055
+ ]
35056
+ }
35057
+ }
35058
+ }
35059
+ }
35060
+ },
35061
+ "tags": [
35062
+ "Events::Sessions"
35063
+ ]
35064
+ }
35065
+ },
35066
+ "/events/{eventId}/sessions/{sessionId}/blocks": {
34203
35067
  "get": {
34204
- "operationId": "GetEventSessionAccounts",
34205
- "summary": "Get Event Session Accounts",
34206
- "description": "Get Event Session Accounts endpoint",
35068
+ "operationId": "GetEventSessionBlocks",
35069
+ "summary": "Get Event Session Blocks",
35070
+ "description": "Get Event Session Blocks endpoint",
34207
35071
  "parameters": [
34208
35072
  {
34209
35073
  "in": "path",
@@ -34286,7 +35150,7 @@
34286
35150
  "data": {
34287
35151
  "type": "array",
34288
35152
  "items": {
34289
- "$ref": "#/components/schemas/Account"
35153
+ "$ref": "#/components/schemas/EventBlock"
34290
35154
  }
34291
35155
  },
34292
35156
  "count": {
@@ -34309,11 +35173,11 @@
34309
35173
  ]
34310
35174
  }
34311
35175
  },
34312
- "/events/{eventId}/sessions/{sessionId}/accounts/{accountId}": {
35176
+ "/events/{eventId}/sessions/{sessionId}/blocks/{blockId}": {
34313
35177
  "post": {
34314
- "operationId": "AddEventSessionAccount",
34315
- "summary": "Add Event Session Account",
34316
- "description": "Add Event Session Account endpoint",
35178
+ "operationId": "AddEventSessionBlock",
35179
+ "summary": "Add Event Session Block",
35180
+ "description": "Add Event Session Block endpoint",
34317
35181
  "parameters": [
34318
35182
  {
34319
35183
  "in": "path",
@@ -34335,11 +35199,11 @@
34335
35199
  },
34336
35200
  {
34337
35201
  "in": "path",
34338
- "name": "accountId",
35202
+ "name": "blockId",
34339
35203
  "schema": {
34340
35204
  "type": "string"
34341
35205
  },
34342
- "description": "The account identifier",
35206
+ "description": "The block identifier",
34343
35207
  "required": true
34344
35208
  }
34345
35209
  ],
@@ -34362,7 +35226,7 @@
34362
35226
  "example": "Success message."
34363
35227
  },
34364
35228
  "data": {
34365
- "type": "object"
35229
+ "$ref": "#/components/schemas/EventSession"
34366
35230
  }
34367
35231
  },
34368
35232
  "required": [
@@ -34380,9 +35244,9 @@
34380
35244
  ]
34381
35245
  },
34382
35246
  "delete": {
34383
- "operationId": "RemoveEventSessionAccount",
34384
- "summary": "Remove Event Session Account",
34385
- "description": "Remove Event Session Account endpoint",
35247
+ "operationId": "RemoveEventSessionBlock",
35248
+ "summary": "Remove Event Session Block",
35249
+ "description": "Remove Event Session Block endpoint",
34386
35250
  "parameters": [
34387
35251
  {
34388
35252
  "in": "path",
@@ -34404,11 +35268,11 @@
34404
35268
  },
34405
35269
  {
34406
35270
  "in": "path",
34407
- "name": "accountId",
35271
+ "name": "blockId",
34408
35272
  "schema": {
34409
35273
  "type": "string"
34410
35274
  },
34411
- "description": "The account identifier",
35275
+ "description": "The block identifier",
34412
35276
  "required": true
34413
35277
  }
34414
35278
  ],
@@ -79954,6 +80818,13 @@
79954
80818
  }
79955
80819
  ],
79956
80820
  "nullable": true
80821
+ },
80822
+ "blocks": {
80823
+ "type": "array",
80824
+ "items": {
80825
+ "$ref": "#/components/schemas/BaseEventBlock"
80826
+ },
80827
+ "nullable": true
79957
80828
  }
79958
80829
  },
79959
80830
  "required": [
@@ -79964,7 +80835,8 @@
79964
80835
  "event",
79965
80836
  "speakers",
79966
80837
  "meetingId",
79967
- "meeting"
80838
+ "meeting",
80839
+ "blocks"
79968
80840
  ]
79969
80841
  }
79970
80842
  ]
@@ -80903,6 +81775,58 @@
80903
81775
  "updatedAt"
80904
81776
  ]
80905
81777
  },
81778
+ "BaseEventBlock": {
81779
+ "type": "object",
81780
+ "properties": {
81781
+ "id": {
81782
+ "type": "string"
81783
+ },
81784
+ "name": {
81785
+ "type": "string"
81786
+ },
81787
+ "limit": {
81788
+ "type": "number"
81789
+ }
81790
+ },
81791
+ "required": [
81792
+ "id",
81793
+ "name",
81794
+ "limit"
81795
+ ]
81796
+ },
81797
+ "EventBlock": {
81798
+ "allOf": [
81799
+ {
81800
+ "$ref": "#/components/schemas/BaseEventBlock"
81801
+ },
81802
+ {
81803
+ "type": "object",
81804
+ "properties": {
81805
+ "event": {
81806
+ "$ref": "#/components/schemas/BaseEvent"
81807
+ },
81808
+ "sessions": {
81809
+ "type": "array",
81810
+ "items": {
81811
+ "$ref": "#/components/schemas/BaseEventSession"
81812
+ }
81813
+ },
81814
+ "createdAt": {
81815
+ "type": "string"
81816
+ },
81817
+ "updatedAt": {
81818
+ "type": "string"
81819
+ }
81820
+ },
81821
+ "required": [
81822
+ "event",
81823
+ "sessions",
81824
+ "createdAt",
81825
+ "updatedAt"
81826
+ ]
81827
+ }
81828
+ ]
81829
+ },
80906
81830
  "BaseEventSpeaker": {
80907
81831
  "type": "object",
80908
81832
  "properties": {
@@ -92396,6 +93320,31 @@
92396
93320
  }
92397
93321
  }
92398
93322
  },
93323
+ "EventBlockCreateInputs": {
93324
+ "type": "object",
93325
+ "properties": {
93326
+ "name": {
93327
+ "type": "string"
93328
+ },
93329
+ "limit": {
93330
+ "type": "number"
93331
+ }
93332
+ },
93333
+ "required": [
93334
+ "name"
93335
+ ]
93336
+ },
93337
+ "EventBlockUpdateInputs": {
93338
+ "type": "object",
93339
+ "properties": {
93340
+ "name": {
93341
+ "type": "string"
93342
+ },
93343
+ "limit": {
93344
+ "type": "number"
93345
+ }
93346
+ }
93347
+ },
92399
93348
  "EventSpeakerCreateInputs": {
92400
93349
  "type": "object",
92401
93350
  "properties": {