@connectedxm/admin 7.8.1 → 7.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.
package/openapi.json CHANGED
@@ -308,6 +308,10 @@
308
308
  "name": "Events::Passtypes",
309
309
  "description": "Create and configure pass types with unique names, descriptions, prices, access levels, and rules that define what each pass enables"
310
310
  },
311
+ {
312
+ "name": "Events::Passtypes::Exchangetargets",
313
+ "description": "Operations for events::passtypes::exchangetargets"
314
+ },
311
315
  {
312
316
  "name": "Events::Passtypes::Priceschedules",
313
317
  "description": "Set dynamic pricing that automatically changes on specific dates, allowing for early bird pricing, regular pricing, and late registration fees"
@@ -3023,68 +3027,6 @@
3023
3027
  ]
3024
3028
  }
3025
3029
  },
3026
- "/accounts/{accountId}/impersonate/{username}": {
3027
- "post": {
3028
- "operationId": "ImpersonateAccount",
3029
- "summary": "Impersonate account",
3030
- "description": "Starts an admin impersonation session for the specified account, returning a token that lets an admin act as the given user identified by account ID and username.",
3031
- "parameters": [
3032
- {
3033
- "in": "path",
3034
- "name": "accountId",
3035
- "schema": {
3036
- "type": "string"
3037
- },
3038
- "description": "The account identifier",
3039
- "required": true
3040
- },
3041
- {
3042
- "in": "path",
3043
- "name": "username",
3044
- "schema": {
3045
- "type": "string"
3046
- },
3047
- "description": "The username identifier",
3048
- "required": true
3049
- }
3050
- ],
3051
- "responses": {
3052
- "200": {
3053
- "description": "Successful response",
3054
- "content": {
3055
- "application/json": {
3056
- "schema": {
3057
- "type": "object",
3058
- "properties": {
3059
- "status": {
3060
- "type": "string",
3061
- "enum": [
3062
- "ok"
3063
- ]
3064
- },
3065
- "message": {
3066
- "type": "string",
3067
- "example": "Success message."
3068
- },
3069
- "data": {
3070
- "type": "string"
3071
- }
3072
- },
3073
- "required": [
3074
- "status",
3075
- "message",
3076
- "data"
3077
- ]
3078
- }
3079
- }
3080
- }
3081
- }
3082
- },
3083
- "tags": [
3084
- "Accounts"
3085
- ]
3086
- }
3087
- },
3088
3030
  "/accounts/{accountId}/interests": {
3089
3031
  "get": {
3090
3032
  "operationId": "GetAccountInterests",
@@ -33112,11 +33054,11 @@
33112
33054
  ]
33113
33055
  }
33114
33056
  },
33115
- "/events/{eventId}/passTypes/{passTypeId}/groupPassTiers": {
33057
+ "/events/{eventId}/passTypes/{passTypeId}/exchangeTargets": {
33116
33058
  "get": {
33117
- "operationId": "GetEventPassTypeGroupPassTiers",
33118
- "summary": "List an event pass type's group pass tiers",
33119
- "description": "Returns a paginated list of the registration tiers allowed to purchase an event pass type as part of a group pass, with optional search and orderBy filters; requires read access to the event and to tiers.",
33059
+ "operationId": "GetEventPassTypeExchangeTargets",
33060
+ "summary": "Get Event Pass Type Exchange Targets",
33061
+ "description": "Get Event Pass Type Exchange Targets endpoint",
33120
33062
  "parameters": [
33121
33063
  {
33122
33064
  "in": "path",
@@ -33199,7 +33141,7 @@
33199
33141
  "data": {
33200
33142
  "type": "array",
33201
33143
  "items": {
33202
- "$ref": "#/components/schemas/Tier"
33144
+ "$ref": "#/components/schemas/EventPassTypeExchangeTarget"
33203
33145
  }
33204
33146
  },
33205
33147
  "count": {
@@ -33218,15 +33160,13 @@
33218
33160
  }
33219
33161
  },
33220
33162
  "tags": [
33221
- "Events::Passtypes"
33163
+ "Events::Passtypes::Exchangetargets"
33222
33164
  ]
33223
- }
33224
- },
33225
- "/events/{eventId}/passTypes/{passTypeId}/groupPassTiers/{tierId}": {
33165
+ },
33226
33166
  "post": {
33227
- "operationId": "AddEventPassTypeGroupPassTier",
33228
- "summary": "Allow a tier to purchase a group pass type",
33229
- "description": "Adds an account tier to the list of tiers allowed to purchase a pass type as a group pass, rejecting the request if the tier has already been added; requires update permission on events and read permission on tiers.",
33167
+ "operationId": "AddEventPassTypeExchangeTarget",
33168
+ "summary": "Add Event Pass Type Exchange Target",
33169
+ "description": "Add Event Pass Type Exchange Target endpoint",
33230
33170
  "parameters": [
33231
33171
  {
33232
33172
  "in": "path",
@@ -33245,86 +33185,18 @@
33245
33185
  },
33246
33186
  "description": "The passType identifier",
33247
33187
  "required": true
33248
- },
33249
- {
33250
- "in": "path",
33251
- "name": "tierId",
33252
- "schema": {
33253
- "type": "string"
33254
- },
33255
- "description": "The tier identifier",
33256
- "required": true
33257
33188
  }
33258
33189
  ],
33259
- "responses": {
33260
- "200": {
33261
- "description": "Successful response",
33262
- "content": {
33263
- "application/json": {
33264
- "schema": {
33265
- "type": "object",
33266
- "properties": {
33267
- "status": {
33268
- "type": "string",
33269
- "enum": [
33270
- "ok"
33271
- ]
33272
- },
33273
- "message": {
33274
- "type": "string",
33275
- "example": "Success message."
33276
- },
33277
- "data": {
33278
- "$ref": "#/components/schemas/EventPassType"
33279
- }
33280
- },
33281
- "required": [
33282
- "status",
33283
- "message",
33284
- "data"
33285
- ]
33286
- }
33190
+ "requestBody": {
33191
+ "required": true,
33192
+ "content": {
33193
+ "application/json": {
33194
+ "schema": {
33195
+ "$ref": "#/components/schemas/PassTypeExchangeTargetCreateInputs"
33287
33196
  }
33288
33197
  }
33289
33198
  }
33290
33199
  },
33291
- "tags": [
33292
- "Events::Passtypes"
33293
- ]
33294
- },
33295
- "delete": {
33296
- "operationId": "RemoveEventPassTypeGroupPassTier",
33297
- "summary": "Remove an account tier from a pass type's group tiers",
33298
- "description": "Removes an account tier from the list of tiers allowed to purchase an event pass type as a group pass; requires update permission on events.",
33299
- "parameters": [
33300
- {
33301
- "in": "path",
33302
- "name": "eventId",
33303
- "schema": {
33304
- "type": "string"
33305
- },
33306
- "description": "The event identifier",
33307
- "required": true
33308
- },
33309
- {
33310
- "in": "path",
33311
- "name": "passTypeId",
33312
- "schema": {
33313
- "type": "string"
33314
- },
33315
- "description": "The passType identifier",
33316
- "required": true
33317
- },
33318
- {
33319
- "in": "path",
33320
- "name": "tierId",
33321
- "schema": {
33322
- "type": "string"
33323
- },
33324
- "description": "The tier identifier",
33325
- "required": true
33326
- }
33327
- ],
33328
33200
  "responses": {
33329
33201
  "200": {
33330
33202
  "description": "Successful response",
@@ -33344,7 +33216,7 @@
33344
33216
  "example": "Success message."
33345
33217
  },
33346
33218
  "data": {
33347
- "$ref": "#/components/schemas/EventPassType"
33219
+ "$ref": "#/components/schemas/EventPassTypeExchangeTarget"
33348
33220
  }
33349
33221
  },
33350
33222
  "required": [
@@ -33358,15 +33230,15 @@
33358
33230
  }
33359
33231
  },
33360
33232
  "tags": [
33361
- "Events::Passtypes"
33233
+ "Events::Passtypes::Exchangetargets"
33362
33234
  ]
33363
33235
  }
33364
33236
  },
33365
- "/events/{eventId}/passTypes/{passTypeId}/passes": {
33366
- "get": {
33367
- "operationId": "GetEventPassTypePasses",
33368
- "summary": "List passes purchased for an event pass type",
33369
- "description": "Returns a paginated list of purchased passes for a given event pass type, optionally filtered to only checked-in or not-checked-in passes, with search and orderBy support; requires read access to the event and to attendees.",
33237
+ "/events/{eventId}/passTypes/{passTypeId}/exchangeTargets/{exchangeTargetId}": {
33238
+ "put": {
33239
+ "operationId": "UpdateEventPassTypeExchangeTarget",
33240
+ "summary": "Update Event Pass Type Exchange Target",
33241
+ "description": "Update Event Pass Type Exchange Target endpoint",
33370
33242
  "parameters": [
33371
33243
  {
33372
33244
  "in": "path",
@@ -33387,56 +33259,25 @@
33387
33259
  "required": true
33388
33260
  },
33389
33261
  {
33390
- "in": "query",
33391
- "name": "checkedIn",
33392
- "schema": {
33393
- "type": "boolean"
33394
- },
33395
- "description": "Filter by checkedIn",
33396
- "required": false
33397
- },
33398
- {
33399
- "in": "query",
33400
- "name": "page",
33401
- "schema": {
33402
- "type": "integer",
33403
- "minimum": 1,
33404
- "default": 1
33405
- },
33406
- "description": "Page number",
33407
- "required": false
33408
- },
33409
- {
33410
- "in": "query",
33411
- "name": "pageSize",
33412
- "schema": {
33413
- "type": "integer",
33414
- "minimum": 1,
33415
- "maximum": 100,
33416
- "default": 25
33417
- },
33418
- "description": "Number of items per page",
33419
- "required": false
33420
- },
33421
- {
33422
- "in": "query",
33423
- "name": "orderBy",
33424
- "schema": {
33425
- "type": "string"
33426
- },
33427
- "description": "Field to order by",
33428
- "required": false
33429
- },
33430
- {
33431
- "in": "query",
33432
- "name": "search",
33262
+ "in": "path",
33263
+ "name": "exchangeTargetId",
33433
33264
  "schema": {
33434
33265
  "type": "string"
33435
33266
  },
33436
- "description": "Search query",
33437
- "required": false
33267
+ "description": "The exchangeTarget identifier",
33268
+ "required": true
33438
33269
  }
33439
33270
  ],
33271
+ "requestBody": {
33272
+ "required": true,
33273
+ "content": {
33274
+ "application/json": {
33275
+ "schema": {
33276
+ "$ref": "#/components/schemas/PassTypeExchangeTargetUpdateInputs"
33277
+ }
33278
+ }
33279
+ }
33280
+ },
33440
33281
  "responses": {
33441
33282
  "200": {
33442
33283
  "description": "Successful response",
@@ -33456,14 +33297,7 @@
33456
33297
  "example": "Success message."
33457
33298
  },
33458
33299
  "data": {
33459
- "type": "array",
33460
- "items": {
33461
- "$ref": "#/components/schemas/EventPass"
33462
- }
33463
- },
33464
- "count": {
33465
- "type": "integer",
33466
- "example": 100
33300
+ "$ref": "#/components/schemas/EventPassTypeExchangeTarget"
33467
33301
  }
33468
33302
  },
33469
33303
  "required": [
@@ -33477,15 +33311,13 @@
33477
33311
  }
33478
33312
  },
33479
33313
  "tags": [
33480
- "Events::Passtypes"
33314
+ "Events::Passtypes::Exchangetargets"
33481
33315
  ]
33482
- }
33483
- },
33484
- "/events/{eventId}/passTypes/{passTypeId}/payments": {
33485
- "get": {
33486
- "operationId": "GetEventPassTypePayments",
33487
- "summary": "List payments for a pass type",
33488
- "description": "Returns a paginated list of payments made for a specific pass type on an event, supporting search and ordering; requires read permission on events and payments.",
33316
+ },
33317
+ "delete": {
33318
+ "operationId": "RemoveEventPassTypeExchangeTarget",
33319
+ "summary": "Remove Event Pass Type Exchange Target",
33320
+ "description": "Remove Event Pass Type Exchange Target endpoint",
33489
33321
  "parameters": [
33490
33322
  {
33491
33323
  "in": "path",
@@ -33506,45 +33338,13 @@
33506
33338
  "required": true
33507
33339
  },
33508
33340
  {
33509
- "in": "query",
33510
- "name": "page",
33511
- "schema": {
33512
- "type": "integer",
33513
- "minimum": 1,
33514
- "default": 1
33515
- },
33516
- "description": "Page number",
33517
- "required": false
33518
- },
33519
- {
33520
- "in": "query",
33521
- "name": "pageSize",
33522
- "schema": {
33523
- "type": "integer",
33524
- "minimum": 1,
33525
- "maximum": 100,
33526
- "default": 25
33527
- },
33528
- "description": "Number of items per page",
33529
- "required": false
33530
- },
33531
- {
33532
- "in": "query",
33533
- "name": "orderBy",
33534
- "schema": {
33535
- "type": "string"
33536
- },
33537
- "description": "Field to order by",
33538
- "required": false
33539
- },
33540
- {
33541
- "in": "query",
33542
- "name": "search",
33341
+ "in": "path",
33342
+ "name": "exchangeTargetId",
33543
33343
  "schema": {
33544
33344
  "type": "string"
33545
33345
  },
33546
- "description": "Search query",
33547
- "required": false
33346
+ "description": "The exchangeTarget identifier",
33347
+ "required": true
33548
33348
  }
33549
33349
  ],
33550
33350
  "responses": {
@@ -33566,14 +33366,7 @@
33566
33366
  "example": "Success message."
33567
33367
  },
33568
33368
  "data": {
33569
- "type": "array",
33570
- "items": {
33571
- "$ref": "#/components/schemas/Payment"
33572
- }
33573
- },
33574
- "count": {
33575
- "type": "integer",
33576
- "example": 100
33369
+ "$ref": "#/components/schemas/EventPassTypeExchangeTarget"
33577
33370
  }
33578
33371
  },
33579
33372
  "required": [
@@ -33587,15 +33380,15 @@
33587
33380
  }
33588
33381
  },
33589
33382
  "tags": [
33590
- "Events::Passtypes"
33383
+ "Events::Passtypes::Exchangetargets"
33591
33384
  ]
33592
33385
  }
33593
33386
  },
33594
- "/events/{eventId}/passTypes/{passTypeId}/priceSchedules": {
33387
+ "/events/{eventId}/passTypes/{passTypeId}/exchangeTargets/{exchangeTargetId}/exchanges": {
33595
33388
  "get": {
33596
- "operationId": "GetEventPassTypePriceSchedules",
33597
- "summary": "List a pass type's price schedules",
33598
- "description": "Returns a paginated list of scheduled price changes for a specific event pass type, used to automate price increases or discounts on set dates, and requires the read events permission.",
33389
+ "operationId": "GetEventPassTypeExchangeTargetExchanges",
33390
+ "summary": "Get Event Pass Type Exchange Target Exchanges",
33391
+ "description": "Get Event Pass Type Exchange Target Exchanges endpoint",
33599
33392
  "parameters": [
33600
33393
  {
33601
33394
  "in": "path",
@@ -33615,6 +33408,15 @@
33615
33408
  "description": "The passType identifier",
33616
33409
  "required": true
33617
33410
  },
33411
+ {
33412
+ "in": "path",
33413
+ "name": "exchangeTargetId",
33414
+ "schema": {
33415
+ "type": "string"
33416
+ },
33417
+ "description": "The exchangeTarget identifier",
33418
+ "required": true
33419
+ },
33618
33420
  {
33619
33421
  "in": "query",
33620
33422
  "name": "page",
@@ -33678,7 +33480,7 @@
33678
33480
  "data": {
33679
33481
  "type": "array",
33680
33482
  "items": {
33681
- "$ref": "#/components/schemas/EventPassTypePriceSchedule"
33483
+ "$ref": "#/components/schemas/PassExchange"
33682
33484
  }
33683
33485
  },
33684
33486
  "count": {
@@ -33697,13 +33499,15 @@
33697
33499
  }
33698
33500
  },
33699
33501
  "tags": [
33700
- "Events::Passtypes::Priceschedules"
33502
+ "Events::Passtypes::Exchangetargets"
33701
33503
  ]
33702
- },
33703
- "post": {
33704
- "operationId": "CreateEventPassTypePriceSchedule",
33705
- "summary": "Create a pass type price schedule",
33706
- "description": "Creates a time-windowed price schedule for an event pass type, rejecting the request if its date range overlaps an existing schedule; requires update permission on events.",
33504
+ }
33505
+ },
33506
+ "/events/{eventId}/passTypes/{passTypeId}/exchangeTargets/{exchangeTargetId}/payments": {
33507
+ "get": {
33508
+ "operationId": "GetEventPassTypeExchangeTargetPayments",
33509
+ "summary": "Get Event Pass Type Exchange Target Payments",
33510
+ "description": "Get Event Pass Type Exchange Target Payments endpoint",
33707
33511
  "parameters": [
33708
33512
  {
33709
33513
  "in": "path",
@@ -33722,18 +33526,58 @@
33722
33526
  },
33723
33527
  "description": "The passType identifier",
33724
33528
  "required": true
33529
+ },
33530
+ {
33531
+ "in": "path",
33532
+ "name": "exchangeTargetId",
33533
+ "schema": {
33534
+ "type": "string"
33535
+ },
33536
+ "description": "The exchangeTarget identifier",
33537
+ "required": true
33538
+ },
33539
+ {
33540
+ "in": "query",
33541
+ "name": "page",
33542
+ "schema": {
33543
+ "type": "integer",
33544
+ "minimum": 1,
33545
+ "default": 1
33546
+ },
33547
+ "description": "Page number",
33548
+ "required": false
33549
+ },
33550
+ {
33551
+ "in": "query",
33552
+ "name": "pageSize",
33553
+ "schema": {
33554
+ "type": "integer",
33555
+ "minimum": 1,
33556
+ "maximum": 100,
33557
+ "default": 25
33558
+ },
33559
+ "description": "Number of items per page",
33560
+ "required": false
33561
+ },
33562
+ {
33563
+ "in": "query",
33564
+ "name": "orderBy",
33565
+ "schema": {
33566
+ "type": "string"
33567
+ },
33568
+ "description": "Field to order by",
33569
+ "required": false
33570
+ },
33571
+ {
33572
+ "in": "query",
33573
+ "name": "search",
33574
+ "schema": {
33575
+ "type": "string"
33576
+ },
33577
+ "description": "Search query",
33578
+ "required": false
33725
33579
  }
33726
33580
  ],
33727
- "requestBody": {
33728
- "required": true,
33729
- "content": {
33730
- "application/json": {
33731
- "schema": {
33732
- "$ref": "#/components/schemas/PassTypePriceScheduleCreateInputs"
33733
- }
33734
- }
33735
- }
33736
- },
33737
33581
  "responses": {
33738
33582
  "200": {
33739
33583
  "description": "Successful response",
@@ -33753,7 +33597,14 @@
33753
33597
  "example": "Success message."
33754
33598
  },
33755
33599
  "data": {
33756
- "$ref": "#/components/schemas/EventPassType"
33600
+ "type": "array",
33601
+ "items": {
33602
+ "$ref": "#/components/schemas/Payment"
33603
+ }
33604
+ },
33605
+ "count": {
33606
+ "type": "integer",
33607
+ "example": 100
33757
33608
  }
33758
33609
  },
33759
33610
  "required": [
@@ -33767,15 +33618,15 @@
33767
33618
  }
33768
33619
  },
33769
33620
  "tags": [
33770
- "Events::Passtypes::Priceschedules"
33621
+ "Events::Passtypes::Exchangetargets"
33771
33622
  ]
33772
33623
  }
33773
33624
  },
33774
- "/events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}": {
33625
+ "/events/{eventId}/passTypes/{passTypeId}/groupPassTiers": {
33775
33626
  "get": {
33776
- "operationId": "GetEventPassTypePriceSchedule",
33777
- "summary": "Get a single pass type price schedule",
33778
- "description": "Returns a single scheduled price change for a specific event pass type, including its scheduled date and new price, and requires the read events permission.",
33627
+ "operationId": "GetEventPassTypeGroupPassTiers",
33628
+ "summary": "List an event pass type's group pass tiers",
33629
+ "description": "Returns a paginated list of the registration tiers allowed to purchase an event pass type as part of a group pass, with optional search and orderBy filters; requires read access to the event and to tiers.",
33779
33630
  "parameters": [
33780
33631
  {
33781
33632
  "in": "path",
@@ -33796,13 +33647,45 @@
33796
33647
  "required": true
33797
33648
  },
33798
33649
  {
33799
- "in": "path",
33800
- "name": "scheduleId",
33650
+ "in": "query",
33651
+ "name": "page",
33652
+ "schema": {
33653
+ "type": "integer",
33654
+ "minimum": 1,
33655
+ "default": 1
33656
+ },
33657
+ "description": "Page number",
33658
+ "required": false
33659
+ },
33660
+ {
33661
+ "in": "query",
33662
+ "name": "pageSize",
33663
+ "schema": {
33664
+ "type": "integer",
33665
+ "minimum": 1,
33666
+ "maximum": 100,
33667
+ "default": 25
33668
+ },
33669
+ "description": "Number of items per page",
33670
+ "required": false
33671
+ },
33672
+ {
33673
+ "in": "query",
33674
+ "name": "orderBy",
33801
33675
  "schema": {
33802
33676
  "type": "string"
33803
33677
  },
33804
- "description": "The schedule identifier",
33805
- "required": true
33678
+ "description": "Field to order by",
33679
+ "required": false
33680
+ },
33681
+ {
33682
+ "in": "query",
33683
+ "name": "search",
33684
+ "schema": {
33685
+ "type": "string"
33686
+ },
33687
+ "description": "Search query",
33688
+ "required": false
33806
33689
  }
33807
33690
  ],
33808
33691
  "responses": {
@@ -33824,7 +33707,14 @@
33824
33707
  "example": "Success message."
33825
33708
  },
33826
33709
  "data": {
33827
- "$ref": "#/components/schemas/EventPassTypePriceSchedule"
33710
+ "type": "array",
33711
+ "items": {
33712
+ "$ref": "#/components/schemas/Tier"
33713
+ }
33714
+ },
33715
+ "count": {
33716
+ "type": "integer",
33717
+ "example": 100
33828
33718
  }
33829
33719
  },
33830
33720
  "required": [
@@ -33838,13 +33728,15 @@
33838
33728
  }
33839
33729
  },
33840
33730
  "tags": [
33841
- "Events::Passtypes::Priceschedules"
33731
+ "Events::Passtypes"
33842
33732
  ]
33843
- },
33844
- "put": {
33845
- "operationId": "UpdateEventPassTypePriceSchedule",
33846
- "summary": "Update a pass type price schedule",
33847
- "description": "Updates the date range and price of an existing price schedule on an event pass type, rejecting the request if the new date range overlaps another schedule; requires update permission on events.",
33733
+ }
33734
+ },
33735
+ "/events/{eventId}/passTypes/{passTypeId}/groupPassTiers/{tierId}": {
33736
+ "post": {
33737
+ "operationId": "AddEventPassTypeGroupPassTier",
33738
+ "summary": "Allow a tier to purchase a group pass type",
33739
+ "description": "Adds an account tier to the list of tiers allowed to purchase a pass type as a group pass, rejecting the request if the tier has already been added; requires update permission on events and read permission on tiers.",
33848
33740
  "parameters": [
33849
33741
  {
33850
33742
  "in": "path",
@@ -33866,24 +33758,14 @@
33866
33758
  },
33867
33759
  {
33868
33760
  "in": "path",
33869
- "name": "scheduleId",
33761
+ "name": "tierId",
33870
33762
  "schema": {
33871
33763
  "type": "string"
33872
33764
  },
33873
- "description": "The schedule identifier",
33765
+ "description": "The tier identifier",
33874
33766
  "required": true
33875
33767
  }
33876
33768
  ],
33877
- "requestBody": {
33878
- "required": true,
33879
- "content": {
33880
- "application/json": {
33881
- "schema": {
33882
- "$ref": "#/components/schemas/PassTypePriceScheduleUpdateInputs"
33883
- }
33884
- }
33885
- }
33886
- },
33887
33769
  "responses": {
33888
33770
  "200": {
33889
33771
  "description": "Successful response",
@@ -33903,7 +33785,7 @@
33903
33785
  "example": "Success message."
33904
33786
  },
33905
33787
  "data": {
33906
- "type": "object"
33788
+ "$ref": "#/components/schemas/EventPassType"
33907
33789
  }
33908
33790
  },
33909
33791
  "required": [
@@ -33917,13 +33799,13 @@
33917
33799
  }
33918
33800
  },
33919
33801
  "tags": [
33920
- "Events::Passtypes::Priceschedules"
33802
+ "Events::Passtypes"
33921
33803
  ]
33922
33804
  },
33923
33805
  "delete": {
33924
- "operationId": "DeleteEventPassTypePriceSchedule",
33925
- "summary": "Delete a pass type price schedule",
33926
- "description": "Permanently removes a price schedule from an event pass type by its schedule ID; requires update permission on events.",
33806
+ "operationId": "RemoveEventPassTypeGroupPassTier",
33807
+ "summary": "Remove an account tier from a pass type's group tiers",
33808
+ "description": "Removes an account tier from the list of tiers allowed to purchase an event pass type as a group pass; requires update permission on events.",
33927
33809
  "parameters": [
33928
33810
  {
33929
33811
  "in": "path",
@@ -33945,11 +33827,11 @@
33945
33827
  },
33946
33828
  {
33947
33829
  "in": "path",
33948
- "name": "scheduleId",
33830
+ "name": "tierId",
33949
33831
  "schema": {
33950
33832
  "type": "string"
33951
33833
  },
33952
- "description": "The schedule identifier",
33834
+ "description": "The tier identifier",
33953
33835
  "required": true
33954
33836
  }
33955
33837
  ],
@@ -33972,7 +33854,7 @@
33972
33854
  "example": "Success message."
33973
33855
  },
33974
33856
  "data": {
33975
- "type": "object"
33857
+ "$ref": "#/components/schemas/EventPassType"
33976
33858
  }
33977
33859
  },
33978
33860
  "required": [
@@ -33986,15 +33868,15 @@
33986
33868
  }
33987
33869
  },
33988
33870
  "tags": [
33989
- "Events::Passtypes::Priceschedules"
33871
+ "Events::Passtypes"
33990
33872
  ]
33991
33873
  }
33992
33874
  },
33993
- "/events/{eventId}/passTypes/{passTypeId}/refundSchedules": {
33875
+ "/events/{eventId}/passTypes/{passTypeId}/passes": {
33994
33876
  "get": {
33995
- "operationId": "GetEventPassTypeRefundSchedules",
33996
- "summary": "List a pass type's refund schedules",
33997
- "description": "Returns a paginated list of refund schedules configured for an event pass type, ordered by start date by default, and supports search and orderBy filters; requires read access to the event.",
33877
+ "operationId": "GetEventPassTypePasses",
33878
+ "summary": "List passes purchased for an event pass type",
33879
+ "description": "Returns a paginated list of purchased passes for a given event pass type, optionally filtered to only checked-in or not-checked-in passes, with search and orderBy support; requires read access to the event and to attendees.",
33998
33880
  "parameters": [
33999
33881
  {
34000
33882
  "in": "path",
@@ -34014,6 +33896,15 @@
34014
33896
  "description": "The passType identifier",
34015
33897
  "required": true
34016
33898
  },
33899
+ {
33900
+ "in": "query",
33901
+ "name": "checkedIn",
33902
+ "schema": {
33903
+ "type": "boolean"
33904
+ },
33905
+ "description": "Filter by checkedIn",
33906
+ "required": false
33907
+ },
34017
33908
  {
34018
33909
  "in": "query",
34019
33910
  "name": "page",
@@ -34077,7 +33968,7 @@
34077
33968
  "data": {
34078
33969
  "type": "array",
34079
33970
  "items": {
34080
- "$ref": "#/components/schemas/EventPassTypeRefundSchedule"
33971
+ "$ref": "#/components/schemas/EventPass"
34081
33972
  }
34082
33973
  },
34083
33974
  "count": {
@@ -34096,13 +33987,15 @@
34096
33987
  }
34097
33988
  },
34098
33989
  "tags": [
34099
- "Events::Passtypes::Refundschedules"
33990
+ "Events::Passtypes"
34100
33991
  ]
34101
- },
34102
- "post": {
34103
- "operationId": "CreateEventPassTypeRefundSchedule",
34104
- "summary": "Create a pass type refund schedule",
34105
- "description": "Creates a time-windowed refund schedule for an event pass type, defining the refund terms available during that date range; requires update permission on events.",
33992
+ }
33993
+ },
33994
+ "/events/{eventId}/passTypes/{passTypeId}/payments": {
33995
+ "get": {
33996
+ "operationId": "GetEventPassTypePayments",
33997
+ "summary": "List payments for a pass type",
33998
+ "description": "Returns a paginated list of payments made for a specific pass type on an event, supporting search and ordering; requires read permission on events and payments.",
34106
33999
  "parameters": [
34107
34000
  {
34108
34001
  "in": "path",
@@ -34121,18 +34014,49 @@
34121
34014
  },
34122
34015
  "description": "The passType identifier",
34123
34016
  "required": true
34017
+ },
34018
+ {
34019
+ "in": "query",
34020
+ "name": "page",
34021
+ "schema": {
34022
+ "type": "integer",
34023
+ "minimum": 1,
34024
+ "default": 1
34025
+ },
34026
+ "description": "Page number",
34027
+ "required": false
34028
+ },
34029
+ {
34030
+ "in": "query",
34031
+ "name": "pageSize",
34032
+ "schema": {
34033
+ "type": "integer",
34034
+ "minimum": 1,
34035
+ "maximum": 100,
34036
+ "default": 25
34037
+ },
34038
+ "description": "Number of items per page",
34039
+ "required": false
34040
+ },
34041
+ {
34042
+ "in": "query",
34043
+ "name": "orderBy",
34044
+ "schema": {
34045
+ "type": "string"
34046
+ },
34047
+ "description": "Field to order by",
34048
+ "required": false
34049
+ },
34050
+ {
34051
+ "in": "query",
34052
+ "name": "search",
34053
+ "schema": {
34054
+ "type": "string"
34055
+ },
34056
+ "description": "Search query",
34057
+ "required": false
34124
34058
  }
34125
34059
  ],
34126
- "requestBody": {
34127
- "required": true,
34128
- "content": {
34129
- "application/json": {
34130
- "schema": {
34131
- "$ref": "#/components/schemas/PassTypeRefundScheduleCreateInputs"
34132
- }
34133
- }
34134
- }
34135
- },
34136
34060
  "responses": {
34137
34061
  "200": {
34138
34062
  "description": "Successful response",
@@ -34152,7 +34076,14 @@
34152
34076
  "example": "Success message."
34153
34077
  },
34154
34078
  "data": {
34155
- "$ref": "#/components/schemas/EventPassType"
34079
+ "type": "array",
34080
+ "items": {
34081
+ "$ref": "#/components/schemas/Payment"
34082
+ }
34083
+ },
34084
+ "count": {
34085
+ "type": "integer",
34086
+ "example": 100
34156
34087
  }
34157
34088
  },
34158
34089
  "required": [
@@ -34166,15 +34097,15 @@
34166
34097
  }
34167
34098
  },
34168
34099
  "tags": [
34169
- "Events::Passtypes::Refundschedules"
34100
+ "Events::Passtypes"
34170
34101
  ]
34171
34102
  }
34172
34103
  },
34173
- "/events/{eventId}/passTypes/{passTypeId}/refundSchedules/{scheduleId}": {
34104
+ "/events/{eventId}/passTypes/{passTypeId}/priceSchedules": {
34174
34105
  "get": {
34175
- "operationId": "GetEventPassTypeRefundSchedule",
34176
- "summary": "Get a pass type refund schedule",
34177
- "description": "Retrieves a single refund schedule entry for an event pass type by its ID, including the refund window and percentage; requires read access to the event.",
34106
+ "operationId": "GetEventPassTypePriceSchedules",
34107
+ "summary": "List a pass type's price schedules",
34108
+ "description": "Returns a paginated list of scheduled price changes for a specific event pass type, used to automate price increases or discounts on set dates, and requires the read events permission.",
34178
34109
  "parameters": [
34179
34110
  {
34180
34111
  "in": "path",
@@ -34195,13 +34126,45 @@
34195
34126
  "required": true
34196
34127
  },
34197
34128
  {
34198
- "in": "path",
34199
- "name": "scheduleId",
34129
+ "in": "query",
34130
+ "name": "page",
34131
+ "schema": {
34132
+ "type": "integer",
34133
+ "minimum": 1,
34134
+ "default": 1
34135
+ },
34136
+ "description": "Page number",
34137
+ "required": false
34138
+ },
34139
+ {
34140
+ "in": "query",
34141
+ "name": "pageSize",
34142
+ "schema": {
34143
+ "type": "integer",
34144
+ "minimum": 1,
34145
+ "maximum": 100,
34146
+ "default": 25
34147
+ },
34148
+ "description": "Number of items per page",
34149
+ "required": false
34150
+ },
34151
+ {
34152
+ "in": "query",
34153
+ "name": "orderBy",
34200
34154
  "schema": {
34201
34155
  "type": "string"
34202
34156
  },
34203
- "description": "The schedule identifier",
34204
- "required": true
34157
+ "description": "Field to order by",
34158
+ "required": false
34159
+ },
34160
+ {
34161
+ "in": "query",
34162
+ "name": "search",
34163
+ "schema": {
34164
+ "type": "string"
34165
+ },
34166
+ "description": "Search query",
34167
+ "required": false
34205
34168
  }
34206
34169
  ],
34207
34170
  "responses": {
@@ -34223,7 +34186,14 @@
34223
34186
  "example": "Success message."
34224
34187
  },
34225
34188
  "data": {
34226
- "$ref": "#/components/schemas/EventPassTypeRefundSchedule"
34189
+ "type": "array",
34190
+ "items": {
34191
+ "$ref": "#/components/schemas/EventPassTypePriceSchedule"
34192
+ }
34193
+ },
34194
+ "count": {
34195
+ "type": "integer",
34196
+ "example": 100
34227
34197
  }
34228
34198
  },
34229
34199
  "required": [
@@ -34237,13 +34207,13 @@
34237
34207
  }
34238
34208
  },
34239
34209
  "tags": [
34240
- "Events::Passtypes::Refundschedules"
34210
+ "Events::Passtypes::Priceschedules"
34241
34211
  ]
34242
34212
  },
34243
- "put": {
34244
- "operationId": "UpdateEventPassTypeRefundSchedule",
34245
- "summary": "Update a pass type refund schedule",
34246
- "description": "Updates the date range and refund terms of an existing refund schedule on an event pass type; requires update permission on events.",
34213
+ "post": {
34214
+ "operationId": "CreateEventPassTypePriceSchedule",
34215
+ "summary": "Create a pass type price schedule",
34216
+ "description": "Creates a time-windowed price schedule for an event pass type, rejecting the request if its date range overlaps an existing schedule; requires update permission on events.",
34247
34217
  "parameters": [
34248
34218
  {
34249
34219
  "in": "path",
@@ -34262,15 +34232,6 @@
34262
34232
  },
34263
34233
  "description": "The passType identifier",
34264
34234
  "required": true
34265
- },
34266
- {
34267
- "in": "path",
34268
- "name": "scheduleId",
34269
- "schema": {
34270
- "type": "string"
34271
- },
34272
- "description": "The schedule identifier",
34273
- "required": true
34274
34235
  }
34275
34236
  ],
34276
34237
  "requestBody": {
@@ -34278,7 +34239,7 @@
34278
34239
  "content": {
34279
34240
  "application/json": {
34280
34241
  "schema": {
34281
- "$ref": "#/components/schemas/PassTypeRefundScheduleUpdateInputs"
34242
+ "$ref": "#/components/schemas/PassTypePriceScheduleCreateInputs"
34282
34243
  }
34283
34244
  }
34284
34245
  }
@@ -34302,7 +34263,7 @@
34302
34263
  "example": "Success message."
34303
34264
  },
34304
34265
  "data": {
34305
- "type": "object"
34266
+ "$ref": "#/components/schemas/EventPassType"
34306
34267
  }
34307
34268
  },
34308
34269
  "required": [
@@ -34316,13 +34277,15 @@
34316
34277
  }
34317
34278
  },
34318
34279
  "tags": [
34319
- "Events::Passtypes::Refundschedules"
34280
+ "Events::Passtypes::Priceschedules"
34320
34281
  ]
34321
- },
34322
- "delete": {
34323
- "operationId": "DeleteEventPassTypeRefundSchedule",
34324
- "summary": "Delete a pass type refund schedule",
34325
- "description": "Permanently removes a refund schedule from an event pass type by its schedule ID; requires update permission on events.",
34282
+ }
34283
+ },
34284
+ "/events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}": {
34285
+ "get": {
34286
+ "operationId": "GetEventPassTypePriceSchedule",
34287
+ "summary": "Get a single pass type price schedule",
34288
+ "description": "Returns a single scheduled price change for a specific event pass type, including its scheduled date and new price, and requires the read events permission.",
34326
34289
  "parameters": [
34327
34290
  {
34328
34291
  "in": "path",
@@ -34371,7 +34334,7 @@
34371
34334
  "example": "Success message."
34372
34335
  },
34373
34336
  "data": {
34374
- "type": "object"
34337
+ "$ref": "#/components/schemas/EventPassTypePriceSchedule"
34375
34338
  }
34376
34339
  },
34377
34340
  "required": [
@@ -34385,15 +34348,13 @@
34385
34348
  }
34386
34349
  },
34387
34350
  "tags": [
34388
- "Events::Passtypes::Refundschedules"
34351
+ "Events::Passtypes::Priceschedules"
34389
34352
  ]
34390
- }
34391
- },
34392
- "/events/{eventId}/passTypes/{passTypeId}/tiers": {
34393
- "get": {
34394
- "operationId": "GetEventPassTypeTiers",
34395
- "summary": "List account tiers allowed/disallowed for a pass type",
34396
- "description": "Returns a paginated list of account tiers associated with a pass type, filtered by the `allowed` flag to either the tiers permitted to purchase the pass type or those explicitly disallowed, with optional search; requires read permission on events and tiers.",
34353
+ },
34354
+ "put": {
34355
+ "operationId": "UpdateEventPassTypePriceSchedule",
34356
+ "summary": "Update a pass type price schedule",
34357
+ "description": "Updates the date range and price of an existing price schedule on an event pass type, rejecting the request if the new date range overlaps another schedule; requires update permission on events.",
34397
34358
  "parameters": [
34398
34359
  {
34399
34360
  "in": "path",
@@ -34414,56 +34375,25 @@
34414
34375
  "required": true
34415
34376
  },
34416
34377
  {
34417
- "in": "query",
34418
- "name": "allowed",
34419
- "schema": {
34420
- "type": "boolean"
34421
- },
34422
- "description": "Filter by allowed",
34423
- "required": true
34424
- },
34425
- {
34426
- "in": "query",
34427
- "name": "page",
34428
- "schema": {
34429
- "type": "integer",
34430
- "minimum": 1,
34431
- "default": 1
34432
- },
34433
- "description": "Page number",
34434
- "required": false
34435
- },
34436
- {
34437
- "in": "query",
34438
- "name": "pageSize",
34439
- "schema": {
34440
- "type": "integer",
34441
- "minimum": 1,
34442
- "maximum": 100,
34443
- "default": 25
34444
- },
34445
- "description": "Number of items per page",
34446
- "required": false
34447
- },
34448
- {
34449
- "in": "query",
34450
- "name": "orderBy",
34451
- "schema": {
34452
- "type": "string"
34453
- },
34454
- "description": "Field to order by",
34455
- "required": false
34456
- },
34457
- {
34458
- "in": "query",
34459
- "name": "search",
34378
+ "in": "path",
34379
+ "name": "scheduleId",
34460
34380
  "schema": {
34461
34381
  "type": "string"
34462
34382
  },
34463
- "description": "Search query",
34464
- "required": false
34383
+ "description": "The schedule identifier",
34384
+ "required": true
34465
34385
  }
34466
34386
  ],
34387
+ "requestBody": {
34388
+ "required": true,
34389
+ "content": {
34390
+ "application/json": {
34391
+ "schema": {
34392
+ "$ref": "#/components/schemas/PassTypePriceScheduleUpdateInputs"
34393
+ }
34394
+ }
34395
+ }
34396
+ },
34467
34397
  "responses": {
34468
34398
  "200": {
34469
34399
  "description": "Successful response",
@@ -34483,14 +34413,7 @@
34483
34413
  "example": "Success message."
34484
34414
  },
34485
34415
  "data": {
34486
- "type": "array",
34487
- "items": {
34488
- "$ref": "#/components/schemas/Tier"
34489
- }
34490
- },
34491
- "count": {
34492
- "type": "integer",
34493
- "example": 100
34416
+ "type": "object"
34494
34417
  }
34495
34418
  },
34496
34419
  "required": [
@@ -34504,15 +34427,13 @@
34504
34427
  }
34505
34428
  },
34506
34429
  "tags": [
34507
- "Events::Passtypes"
34430
+ "Events::Passtypes::Priceschedules"
34508
34431
  ]
34509
- }
34510
- },
34511
- "/events/{eventId}/passTypes/{passTypeId}/tiers/{tierId}": {
34512
- "post": {
34513
- "operationId": "AddEventPassTypeTier",
34514
- "summary": "Add an account tier to a pass type's tier list",
34515
- "description": "Adds an account tier to either the allowed or disallowed tier list of an event pass type depending on the `allowed` flag, restricting or permitting which account tiers may purchase that pass type; requires update permission on events.",
34432
+ },
34433
+ "delete": {
34434
+ "operationId": "DeleteEventPassTypePriceSchedule",
34435
+ "summary": "Delete a pass type price schedule",
34436
+ "description": "Permanently removes a price schedule from an event pass type by its schedule ID; requires update permission on events.",
34516
34437
  "parameters": [
34517
34438
  {
34518
34439
  "in": "path",
@@ -34534,20 +34455,11 @@
34534
34455
  },
34535
34456
  {
34536
34457
  "in": "path",
34537
- "name": "tierId",
34458
+ "name": "scheduleId",
34538
34459
  "schema": {
34539
34460
  "type": "string"
34540
34461
  },
34541
- "description": "The tier identifier",
34542
- "required": true
34543
- },
34544
- {
34545
- "in": "query",
34546
- "name": "allowed",
34547
- "schema": {
34548
- "type": "boolean"
34549
- },
34550
- "description": "Filter by allowed",
34462
+ "description": "The schedule identifier",
34551
34463
  "required": true
34552
34464
  }
34553
34465
  ],
@@ -34570,7 +34482,7 @@
34570
34482
  "example": "Success message."
34571
34483
  },
34572
34484
  "data": {
34573
- "$ref": "#/components/schemas/EventPassType"
34485
+ "type": "object"
34574
34486
  }
34575
34487
  },
34576
34488
  "required": [
@@ -34584,13 +34496,15 @@
34584
34496
  }
34585
34497
  },
34586
34498
  "tags": [
34587
- "Events::Passtypes"
34499
+ "Events::Passtypes::Priceschedules"
34588
34500
  ]
34589
- },
34590
- "delete": {
34591
- "operationId": "RemoveEventPassTypeTier",
34592
- "summary": "Remove an account tier from a pass type's tier list",
34593
- "description": "Removes an account tier from either the allowed or disallowed tier list of an event pass type depending on the `allowed` flag; requires update permission on events.",
34501
+ }
34502
+ },
34503
+ "/events/{eventId}/passTypes/{passTypeId}/refundSchedules": {
34504
+ "get": {
34505
+ "operationId": "GetEventPassTypeRefundSchedules",
34506
+ "summary": "List a pass type's refund schedules",
34507
+ "description": "Returns a paginated list of refund schedules configured for an event pass type, ordered by start date by default, and supports search and orderBy filters; requires read access to the event.",
34594
34508
  "parameters": [
34595
34509
  {
34596
34510
  "in": "path",
@@ -34611,22 +34525,45 @@
34611
34525
  "required": true
34612
34526
  },
34613
34527
  {
34614
- "in": "path",
34615
- "name": "tierId",
34528
+ "in": "query",
34529
+ "name": "page",
34530
+ "schema": {
34531
+ "type": "integer",
34532
+ "minimum": 1,
34533
+ "default": 1
34534
+ },
34535
+ "description": "Page number",
34536
+ "required": false
34537
+ },
34538
+ {
34539
+ "in": "query",
34540
+ "name": "pageSize",
34541
+ "schema": {
34542
+ "type": "integer",
34543
+ "minimum": 1,
34544
+ "maximum": 100,
34545
+ "default": 25
34546
+ },
34547
+ "description": "Number of items per page",
34548
+ "required": false
34549
+ },
34550
+ {
34551
+ "in": "query",
34552
+ "name": "orderBy",
34616
34553
  "schema": {
34617
34554
  "type": "string"
34618
34555
  },
34619
- "description": "The tier identifier",
34620
- "required": true
34556
+ "description": "Field to order by",
34557
+ "required": false
34621
34558
  },
34622
34559
  {
34623
34560
  "in": "query",
34624
- "name": "allowed",
34561
+ "name": "search",
34625
34562
  "schema": {
34626
- "type": "boolean"
34563
+ "type": "string"
34627
34564
  },
34628
- "description": "Filter by allowed",
34629
- "required": true
34565
+ "description": "Search query",
34566
+ "required": false
34630
34567
  }
34631
34568
  ],
34632
34569
  "responses": {
@@ -34648,7 +34585,14 @@
34648
34585
  "example": "Success message."
34649
34586
  },
34650
34587
  "data": {
34651
- "$ref": "#/components/schemas/EventPassType"
34588
+ "type": "array",
34589
+ "items": {
34590
+ "$ref": "#/components/schemas/EventPassTypeRefundSchedule"
34591
+ }
34592
+ },
34593
+ "count": {
34594
+ "type": "integer",
34595
+ "example": 100
34652
34596
  }
34653
34597
  },
34654
34598
  "required": [
@@ -34662,15 +34606,13 @@
34662
34606
  }
34663
34607
  },
34664
34608
  "tags": [
34665
- "Events::Passtypes"
34609
+ "Events::Passtypes::Refundschedules"
34666
34610
  ]
34667
- }
34668
- },
34669
- "/events/{eventId}/passTypes/{passTypeId}/translations": {
34670
- "get": {
34671
- "operationId": "GetEventPassTypeTranslations",
34672
- "summary": "List a pass type's translations",
34673
- "description": "Returns a paginated list of all locale translations that exist for an event pass type, with optional search and orderBy filters; requires read access to the event.",
34611
+ },
34612
+ "post": {
34613
+ "operationId": "CreateEventPassTypeRefundSchedule",
34614
+ "summary": "Create a pass type refund schedule",
34615
+ "description": "Creates a time-windowed refund schedule for an event pass type, defining the refund terms available during that date range; requires update permission on events.",
34674
34616
  "parameters": [
34675
34617
  {
34676
34618
  "in": "path",
@@ -34689,49 +34631,18 @@
34689
34631
  },
34690
34632
  "description": "The passType identifier",
34691
34633
  "required": true
34692
- },
34693
- {
34694
- "in": "query",
34695
- "name": "page",
34696
- "schema": {
34697
- "type": "integer",
34698
- "minimum": 1,
34699
- "default": 1
34700
- },
34701
- "description": "Page number",
34702
- "required": false
34703
- },
34704
- {
34705
- "in": "query",
34706
- "name": "pageSize",
34707
- "schema": {
34708
- "type": "integer",
34709
- "minimum": 1,
34710
- "maximum": 100,
34711
- "default": 25
34712
- },
34713
- "description": "Number of items per page",
34714
- "required": false
34715
- },
34716
- {
34717
- "in": "query",
34718
- "name": "orderBy",
34719
- "schema": {
34720
- "type": "string"
34721
- },
34722
- "description": "Field to order by",
34723
- "required": false
34724
- },
34725
- {
34726
- "in": "query",
34727
- "name": "search",
34728
- "schema": {
34729
- "type": "string"
34730
- },
34731
- "description": "Search query",
34732
- "required": false
34733
34634
  }
34734
34635
  ],
34636
+ "requestBody": {
34637
+ "required": true,
34638
+ "content": {
34639
+ "application/json": {
34640
+ "schema": {
34641
+ "$ref": "#/components/schemas/PassTypeRefundScheduleCreateInputs"
34642
+ }
34643
+ }
34644
+ }
34645
+ },
34735
34646
  "responses": {
34736
34647
  "200": {
34737
34648
  "description": "Successful response",
@@ -34751,14 +34662,7 @@
34751
34662
  "example": "Success message."
34752
34663
  },
34753
34664
  "data": {
34754
- "type": "array",
34755
- "items": {
34756
- "$ref": "#/components/schemas/EventPassTypeTranslation"
34757
- }
34758
- },
34759
- "count": {
34760
- "type": "integer",
34761
- "example": 100
34665
+ "$ref": "#/components/schemas/EventPassType"
34762
34666
  }
34763
34667
  },
34764
34668
  "required": [
@@ -34772,15 +34676,15 @@
34772
34676
  }
34773
34677
  },
34774
34678
  "tags": [
34775
- "Events::Passtypes::Translations"
34679
+ "Events::Passtypes::Refundschedules"
34776
34680
  ]
34777
34681
  }
34778
34682
  },
34779
- "/events/{eventId}/passTypes/{passTypeId}/translations/{locale}": {
34683
+ "/events/{eventId}/passTypes/{passTypeId}/refundSchedules/{scheduleId}": {
34780
34684
  "get": {
34781
- "operationId": "GetEventPassTypeTranslation",
34782
- "summary": "Get a pass type's translation for a locale",
34783
- "description": "Retrieves the localized text (such as name and description) for an event pass type in the given locale, returning null if no translation exists for that locale; requires read access to the event.",
34685
+ "operationId": "GetEventPassTypeRefundSchedule",
34686
+ "summary": "Get a pass type refund schedule",
34687
+ "description": "Retrieves a single refund schedule entry for an event pass type by its ID, including the refund window and percentage; requires read access to the event.",
34784
34688
  "parameters": [
34785
34689
  {
34786
34690
  "in": "path",
@@ -34802,11 +34706,11 @@
34802
34706
  },
34803
34707
  {
34804
34708
  "in": "path",
34805
- "name": "locale",
34709
+ "name": "scheduleId",
34806
34710
  "schema": {
34807
34711
  "type": "string"
34808
34712
  },
34809
- "description": "The locale identifier",
34713
+ "description": "The schedule identifier",
34810
34714
  "required": true
34811
34715
  }
34812
34716
  ],
@@ -34829,12 +34733,7 @@
34829
34733
  "example": "Success message."
34830
34734
  },
34831
34735
  "data": {
34832
- "allOf": [
34833
- {
34834
- "$ref": "#/components/schemas/EventPassTypeTranslation"
34835
- }
34836
- ],
34837
- "nullable": true
34736
+ "$ref": "#/components/schemas/EventPassTypeRefundSchedule"
34838
34737
  }
34839
34738
  },
34840
34739
  "required": [
@@ -34848,13 +34747,13 @@
34848
34747
  }
34849
34748
  },
34850
34749
  "tags": [
34851
- "Events::Passtypes::Translations"
34750
+ "Events::Passtypes::Refundschedules"
34852
34751
  ]
34853
34752
  },
34854
34753
  "put": {
34855
- "operationId": "UpdateEventPassTypeTranslation",
34856
- "summary": "Update an event pass type translation",
34857
- "description": "Creates or updates the localized translation (e.g. name, description) for an event pass type in the given locale; requires update permission on events.",
34754
+ "operationId": "UpdateEventPassTypeRefundSchedule",
34755
+ "summary": "Update a pass type refund schedule",
34756
+ "description": "Updates the date range and refund terms of an existing refund schedule on an event pass type; requires update permission on events.",
34858
34757
  "parameters": [
34859
34758
  {
34860
34759
  "in": "path",
@@ -34876,11 +34775,11 @@
34876
34775
  },
34877
34776
  {
34878
34777
  "in": "path",
34879
- "name": "locale",
34778
+ "name": "scheduleId",
34880
34779
  "schema": {
34881
34780
  "type": "string"
34882
34781
  },
34883
- "description": "The locale identifier",
34782
+ "description": "The schedule identifier",
34884
34783
  "required": true
34885
34784
  }
34886
34785
  ],
@@ -34889,7 +34788,7 @@
34889
34788
  "content": {
34890
34789
  "application/json": {
34891
34790
  "schema": {
34892
- "$ref": "#/components/schemas/EventTranslationUpdateInputs"
34791
+ "$ref": "#/components/schemas/PassTypeRefundScheduleUpdateInputs"
34893
34792
  }
34894
34793
  }
34895
34794
  }
@@ -34927,13 +34826,13 @@
34927
34826
  }
34928
34827
  },
34929
34828
  "tags": [
34930
- "Events::Passtypes::Translations"
34829
+ "Events::Passtypes::Refundschedules"
34931
34830
  ]
34932
34831
  },
34933
34832
  "delete": {
34934
- "operationId": "DeleteEventPassTypeTranslation",
34935
- "summary": "Delete an event pass type translation",
34936
- "description": "Deletes the localized translation for an event pass type in the given locale; requires update permission on events.",
34833
+ "operationId": "DeleteEventPassTypeRefundSchedule",
34834
+ "summary": "Delete a pass type refund schedule",
34835
+ "description": "Permanently removes a refund schedule from an event pass type by its schedule ID; requires update permission on events.",
34937
34836
  "parameters": [
34938
34837
  {
34939
34838
  "in": "path",
@@ -34955,11 +34854,11 @@
34955
34854
  },
34956
34855
  {
34957
34856
  "in": "path",
34958
- "name": "locale",
34857
+ "name": "scheduleId",
34959
34858
  "schema": {
34960
34859
  "type": "string"
34961
34860
  },
34962
- "description": "The locale identifier",
34861
+ "description": "The schedule identifier",
34963
34862
  "required": true
34964
34863
  }
34965
34864
  ],
@@ -34996,15 +34895,15 @@
34996
34895
  }
34997
34896
  },
34998
34897
  "tags": [
34999
- "Events::Passtypes::Translations"
34898
+ "Events::Passtypes::Refundschedules"
35000
34899
  ]
35001
34900
  }
35002
34901
  },
35003
- "/events/{eventId}/passes": {
34902
+ "/events/{eventId}/passTypes/{passTypeId}/tiers": {
35004
34903
  "get": {
35005
- "operationId": "GetEventPasses",
35006
- "summary": "List an event's passes",
35007
- "description": "Returns a paginated list of active (ready or needing info) passes purchased for the given event, optionally filtered by check-in status via the checkedIn parameter, and requires the read events and read attendees permissions.",
34904
+ "operationId": "GetEventPassTypeTiers",
34905
+ "summary": "List account tiers allowed/disallowed for a pass type",
34906
+ "description": "Returns a paginated list of account tiers associated with a pass type, filtered by the `allowed` flag to either the tiers permitted to purchase the pass type or those explicitly disallowed, with optional search; requires read permission on events and tiers.",
35008
34907
  "parameters": [
35009
34908
  {
35010
34909
  "in": "path",
@@ -35015,14 +34914,625 @@
35015
34914
  "description": "The event identifier",
35016
34915
  "required": true
35017
34916
  },
34917
+ {
34918
+ "in": "path",
34919
+ "name": "passTypeId",
34920
+ "schema": {
34921
+ "type": "string"
34922
+ },
34923
+ "description": "The passType identifier",
34924
+ "required": true
34925
+ },
35018
34926
  {
35019
34927
  "in": "query",
35020
- "name": "checkedIn",
34928
+ "name": "allowed",
35021
34929
  "schema": {
35022
34930
  "type": "boolean"
35023
34931
  },
35024
- "description": "Filter by checkedIn",
35025
- "required": false
34932
+ "description": "Filter by allowed",
34933
+ "required": true
34934
+ },
34935
+ {
34936
+ "in": "query",
34937
+ "name": "page",
34938
+ "schema": {
34939
+ "type": "integer",
34940
+ "minimum": 1,
34941
+ "default": 1
34942
+ },
34943
+ "description": "Page number",
34944
+ "required": false
34945
+ },
34946
+ {
34947
+ "in": "query",
34948
+ "name": "pageSize",
34949
+ "schema": {
34950
+ "type": "integer",
34951
+ "minimum": 1,
34952
+ "maximum": 100,
34953
+ "default": 25
34954
+ },
34955
+ "description": "Number of items per page",
34956
+ "required": false
34957
+ },
34958
+ {
34959
+ "in": "query",
34960
+ "name": "orderBy",
34961
+ "schema": {
34962
+ "type": "string"
34963
+ },
34964
+ "description": "Field to order by",
34965
+ "required": false
34966
+ },
34967
+ {
34968
+ "in": "query",
34969
+ "name": "search",
34970
+ "schema": {
34971
+ "type": "string"
34972
+ },
34973
+ "description": "Search query",
34974
+ "required": false
34975
+ }
34976
+ ],
34977
+ "responses": {
34978
+ "200": {
34979
+ "description": "Successful response",
34980
+ "content": {
34981
+ "application/json": {
34982
+ "schema": {
34983
+ "type": "object",
34984
+ "properties": {
34985
+ "status": {
34986
+ "type": "string",
34987
+ "enum": [
34988
+ "ok"
34989
+ ]
34990
+ },
34991
+ "message": {
34992
+ "type": "string",
34993
+ "example": "Success message."
34994
+ },
34995
+ "data": {
34996
+ "type": "array",
34997
+ "items": {
34998
+ "$ref": "#/components/schemas/Tier"
34999
+ }
35000
+ },
35001
+ "count": {
35002
+ "type": "integer",
35003
+ "example": 100
35004
+ }
35005
+ },
35006
+ "required": [
35007
+ "status",
35008
+ "message",
35009
+ "data"
35010
+ ]
35011
+ }
35012
+ }
35013
+ }
35014
+ }
35015
+ },
35016
+ "tags": [
35017
+ "Events::Passtypes"
35018
+ ]
35019
+ }
35020
+ },
35021
+ "/events/{eventId}/passTypes/{passTypeId}/tiers/{tierId}": {
35022
+ "post": {
35023
+ "operationId": "AddEventPassTypeTier",
35024
+ "summary": "Add an account tier to a pass type's tier list",
35025
+ "description": "Adds an account tier to either the allowed or disallowed tier list of an event pass type depending on the `allowed` flag, restricting or permitting which account tiers may purchase that pass type; requires update permission on events.",
35026
+ "parameters": [
35027
+ {
35028
+ "in": "path",
35029
+ "name": "eventId",
35030
+ "schema": {
35031
+ "type": "string"
35032
+ },
35033
+ "description": "The event identifier",
35034
+ "required": true
35035
+ },
35036
+ {
35037
+ "in": "path",
35038
+ "name": "passTypeId",
35039
+ "schema": {
35040
+ "type": "string"
35041
+ },
35042
+ "description": "The passType identifier",
35043
+ "required": true
35044
+ },
35045
+ {
35046
+ "in": "path",
35047
+ "name": "tierId",
35048
+ "schema": {
35049
+ "type": "string"
35050
+ },
35051
+ "description": "The tier identifier",
35052
+ "required": true
35053
+ },
35054
+ {
35055
+ "in": "query",
35056
+ "name": "allowed",
35057
+ "schema": {
35058
+ "type": "boolean"
35059
+ },
35060
+ "description": "Filter by allowed",
35061
+ "required": true
35062
+ }
35063
+ ],
35064
+ "responses": {
35065
+ "200": {
35066
+ "description": "Successful response",
35067
+ "content": {
35068
+ "application/json": {
35069
+ "schema": {
35070
+ "type": "object",
35071
+ "properties": {
35072
+ "status": {
35073
+ "type": "string",
35074
+ "enum": [
35075
+ "ok"
35076
+ ]
35077
+ },
35078
+ "message": {
35079
+ "type": "string",
35080
+ "example": "Success message."
35081
+ },
35082
+ "data": {
35083
+ "$ref": "#/components/schemas/EventPassType"
35084
+ }
35085
+ },
35086
+ "required": [
35087
+ "status",
35088
+ "message",
35089
+ "data"
35090
+ ]
35091
+ }
35092
+ }
35093
+ }
35094
+ }
35095
+ },
35096
+ "tags": [
35097
+ "Events::Passtypes"
35098
+ ]
35099
+ },
35100
+ "delete": {
35101
+ "operationId": "RemoveEventPassTypeTier",
35102
+ "summary": "Remove an account tier from a pass type's tier list",
35103
+ "description": "Removes an account tier from either the allowed or disallowed tier list of an event pass type depending on the `allowed` flag; requires update permission on events.",
35104
+ "parameters": [
35105
+ {
35106
+ "in": "path",
35107
+ "name": "eventId",
35108
+ "schema": {
35109
+ "type": "string"
35110
+ },
35111
+ "description": "The event identifier",
35112
+ "required": true
35113
+ },
35114
+ {
35115
+ "in": "path",
35116
+ "name": "passTypeId",
35117
+ "schema": {
35118
+ "type": "string"
35119
+ },
35120
+ "description": "The passType identifier",
35121
+ "required": true
35122
+ },
35123
+ {
35124
+ "in": "path",
35125
+ "name": "tierId",
35126
+ "schema": {
35127
+ "type": "string"
35128
+ },
35129
+ "description": "The tier identifier",
35130
+ "required": true
35131
+ },
35132
+ {
35133
+ "in": "query",
35134
+ "name": "allowed",
35135
+ "schema": {
35136
+ "type": "boolean"
35137
+ },
35138
+ "description": "Filter by allowed",
35139
+ "required": true
35140
+ }
35141
+ ],
35142
+ "responses": {
35143
+ "200": {
35144
+ "description": "Successful response",
35145
+ "content": {
35146
+ "application/json": {
35147
+ "schema": {
35148
+ "type": "object",
35149
+ "properties": {
35150
+ "status": {
35151
+ "type": "string",
35152
+ "enum": [
35153
+ "ok"
35154
+ ]
35155
+ },
35156
+ "message": {
35157
+ "type": "string",
35158
+ "example": "Success message."
35159
+ },
35160
+ "data": {
35161
+ "$ref": "#/components/schemas/EventPassType"
35162
+ }
35163
+ },
35164
+ "required": [
35165
+ "status",
35166
+ "message",
35167
+ "data"
35168
+ ]
35169
+ }
35170
+ }
35171
+ }
35172
+ }
35173
+ },
35174
+ "tags": [
35175
+ "Events::Passtypes"
35176
+ ]
35177
+ }
35178
+ },
35179
+ "/events/{eventId}/passTypes/{passTypeId}/translations": {
35180
+ "get": {
35181
+ "operationId": "GetEventPassTypeTranslations",
35182
+ "summary": "List a pass type's translations",
35183
+ "description": "Returns a paginated list of all locale translations that exist for an event pass type, with optional search and orderBy filters; requires read access to the event.",
35184
+ "parameters": [
35185
+ {
35186
+ "in": "path",
35187
+ "name": "eventId",
35188
+ "schema": {
35189
+ "type": "string"
35190
+ },
35191
+ "description": "The event identifier",
35192
+ "required": true
35193
+ },
35194
+ {
35195
+ "in": "path",
35196
+ "name": "passTypeId",
35197
+ "schema": {
35198
+ "type": "string"
35199
+ },
35200
+ "description": "The passType identifier",
35201
+ "required": true
35202
+ },
35203
+ {
35204
+ "in": "query",
35205
+ "name": "page",
35206
+ "schema": {
35207
+ "type": "integer",
35208
+ "minimum": 1,
35209
+ "default": 1
35210
+ },
35211
+ "description": "Page number",
35212
+ "required": false
35213
+ },
35214
+ {
35215
+ "in": "query",
35216
+ "name": "pageSize",
35217
+ "schema": {
35218
+ "type": "integer",
35219
+ "minimum": 1,
35220
+ "maximum": 100,
35221
+ "default": 25
35222
+ },
35223
+ "description": "Number of items per page",
35224
+ "required": false
35225
+ },
35226
+ {
35227
+ "in": "query",
35228
+ "name": "orderBy",
35229
+ "schema": {
35230
+ "type": "string"
35231
+ },
35232
+ "description": "Field to order by",
35233
+ "required": false
35234
+ },
35235
+ {
35236
+ "in": "query",
35237
+ "name": "search",
35238
+ "schema": {
35239
+ "type": "string"
35240
+ },
35241
+ "description": "Search query",
35242
+ "required": false
35243
+ }
35244
+ ],
35245
+ "responses": {
35246
+ "200": {
35247
+ "description": "Successful response",
35248
+ "content": {
35249
+ "application/json": {
35250
+ "schema": {
35251
+ "type": "object",
35252
+ "properties": {
35253
+ "status": {
35254
+ "type": "string",
35255
+ "enum": [
35256
+ "ok"
35257
+ ]
35258
+ },
35259
+ "message": {
35260
+ "type": "string",
35261
+ "example": "Success message."
35262
+ },
35263
+ "data": {
35264
+ "type": "array",
35265
+ "items": {
35266
+ "$ref": "#/components/schemas/EventPassTypeTranslation"
35267
+ }
35268
+ },
35269
+ "count": {
35270
+ "type": "integer",
35271
+ "example": 100
35272
+ }
35273
+ },
35274
+ "required": [
35275
+ "status",
35276
+ "message",
35277
+ "data"
35278
+ ]
35279
+ }
35280
+ }
35281
+ }
35282
+ }
35283
+ },
35284
+ "tags": [
35285
+ "Events::Passtypes::Translations"
35286
+ ]
35287
+ }
35288
+ },
35289
+ "/events/{eventId}/passTypes/{passTypeId}/translations/{locale}": {
35290
+ "get": {
35291
+ "operationId": "GetEventPassTypeTranslation",
35292
+ "summary": "Get a pass type's translation for a locale",
35293
+ "description": "Retrieves the localized text (such as name and description) for an event pass type in the given locale, returning null if no translation exists for that locale; requires read access to the event.",
35294
+ "parameters": [
35295
+ {
35296
+ "in": "path",
35297
+ "name": "eventId",
35298
+ "schema": {
35299
+ "type": "string"
35300
+ },
35301
+ "description": "The event identifier",
35302
+ "required": true
35303
+ },
35304
+ {
35305
+ "in": "path",
35306
+ "name": "passTypeId",
35307
+ "schema": {
35308
+ "type": "string"
35309
+ },
35310
+ "description": "The passType identifier",
35311
+ "required": true
35312
+ },
35313
+ {
35314
+ "in": "path",
35315
+ "name": "locale",
35316
+ "schema": {
35317
+ "type": "string"
35318
+ },
35319
+ "description": "The locale identifier",
35320
+ "required": true
35321
+ }
35322
+ ],
35323
+ "responses": {
35324
+ "200": {
35325
+ "description": "Successful response",
35326
+ "content": {
35327
+ "application/json": {
35328
+ "schema": {
35329
+ "type": "object",
35330
+ "properties": {
35331
+ "status": {
35332
+ "type": "string",
35333
+ "enum": [
35334
+ "ok"
35335
+ ]
35336
+ },
35337
+ "message": {
35338
+ "type": "string",
35339
+ "example": "Success message."
35340
+ },
35341
+ "data": {
35342
+ "allOf": [
35343
+ {
35344
+ "$ref": "#/components/schemas/EventPassTypeTranslation"
35345
+ }
35346
+ ],
35347
+ "nullable": true
35348
+ }
35349
+ },
35350
+ "required": [
35351
+ "status",
35352
+ "message",
35353
+ "data"
35354
+ ]
35355
+ }
35356
+ }
35357
+ }
35358
+ }
35359
+ },
35360
+ "tags": [
35361
+ "Events::Passtypes::Translations"
35362
+ ]
35363
+ },
35364
+ "put": {
35365
+ "operationId": "UpdateEventPassTypeTranslation",
35366
+ "summary": "Update an event pass type translation",
35367
+ "description": "Creates or updates the localized translation (e.g. name, description) for an event pass type in the given locale; requires update permission on events.",
35368
+ "parameters": [
35369
+ {
35370
+ "in": "path",
35371
+ "name": "eventId",
35372
+ "schema": {
35373
+ "type": "string"
35374
+ },
35375
+ "description": "The event identifier",
35376
+ "required": true
35377
+ },
35378
+ {
35379
+ "in": "path",
35380
+ "name": "passTypeId",
35381
+ "schema": {
35382
+ "type": "string"
35383
+ },
35384
+ "description": "The passType identifier",
35385
+ "required": true
35386
+ },
35387
+ {
35388
+ "in": "path",
35389
+ "name": "locale",
35390
+ "schema": {
35391
+ "type": "string"
35392
+ },
35393
+ "description": "The locale identifier",
35394
+ "required": true
35395
+ }
35396
+ ],
35397
+ "requestBody": {
35398
+ "required": true,
35399
+ "content": {
35400
+ "application/json": {
35401
+ "schema": {
35402
+ "$ref": "#/components/schemas/EventTranslationUpdateInputs"
35403
+ }
35404
+ }
35405
+ }
35406
+ },
35407
+ "responses": {
35408
+ "200": {
35409
+ "description": "Successful response",
35410
+ "content": {
35411
+ "application/json": {
35412
+ "schema": {
35413
+ "type": "object",
35414
+ "properties": {
35415
+ "status": {
35416
+ "type": "string",
35417
+ "enum": [
35418
+ "ok"
35419
+ ]
35420
+ },
35421
+ "message": {
35422
+ "type": "string",
35423
+ "example": "Success message."
35424
+ },
35425
+ "data": {
35426
+ "type": "object"
35427
+ }
35428
+ },
35429
+ "required": [
35430
+ "status",
35431
+ "message",
35432
+ "data"
35433
+ ]
35434
+ }
35435
+ }
35436
+ }
35437
+ }
35438
+ },
35439
+ "tags": [
35440
+ "Events::Passtypes::Translations"
35441
+ ]
35442
+ },
35443
+ "delete": {
35444
+ "operationId": "DeleteEventPassTypeTranslation",
35445
+ "summary": "Delete an event pass type translation",
35446
+ "description": "Deletes the localized translation for an event pass type in the given locale; requires update permission on events.",
35447
+ "parameters": [
35448
+ {
35449
+ "in": "path",
35450
+ "name": "eventId",
35451
+ "schema": {
35452
+ "type": "string"
35453
+ },
35454
+ "description": "The event identifier",
35455
+ "required": true
35456
+ },
35457
+ {
35458
+ "in": "path",
35459
+ "name": "passTypeId",
35460
+ "schema": {
35461
+ "type": "string"
35462
+ },
35463
+ "description": "The passType identifier",
35464
+ "required": true
35465
+ },
35466
+ {
35467
+ "in": "path",
35468
+ "name": "locale",
35469
+ "schema": {
35470
+ "type": "string"
35471
+ },
35472
+ "description": "The locale identifier",
35473
+ "required": true
35474
+ }
35475
+ ],
35476
+ "responses": {
35477
+ "200": {
35478
+ "description": "Successful response",
35479
+ "content": {
35480
+ "application/json": {
35481
+ "schema": {
35482
+ "type": "object",
35483
+ "properties": {
35484
+ "status": {
35485
+ "type": "string",
35486
+ "enum": [
35487
+ "ok"
35488
+ ]
35489
+ },
35490
+ "message": {
35491
+ "type": "string",
35492
+ "example": "Success message."
35493
+ },
35494
+ "data": {
35495
+ "type": "object"
35496
+ }
35497
+ },
35498
+ "required": [
35499
+ "status",
35500
+ "message",
35501
+ "data"
35502
+ ]
35503
+ }
35504
+ }
35505
+ }
35506
+ }
35507
+ },
35508
+ "tags": [
35509
+ "Events::Passtypes::Translations"
35510
+ ]
35511
+ }
35512
+ },
35513
+ "/events/{eventId}/passes": {
35514
+ "get": {
35515
+ "operationId": "GetEventPasses",
35516
+ "summary": "List an event's passes",
35517
+ "description": "Returns a paginated list of active (ready or needing info) passes purchased for the given event, optionally filtered by check-in status via the checkedIn parameter, and requires the read events and read attendees permissions.",
35518
+ "parameters": [
35519
+ {
35520
+ "in": "path",
35521
+ "name": "eventId",
35522
+ "schema": {
35523
+ "type": "string"
35524
+ },
35525
+ "description": "The event identifier",
35526
+ "required": true
35527
+ },
35528
+ {
35529
+ "in": "query",
35530
+ "name": "checkedIn",
35531
+ "schema": {
35532
+ "type": "boolean"
35533
+ },
35534
+ "description": "Filter by checkedIn",
35535
+ "required": false
35026
35536
  },
35027
35537
  {
35028
35538
  "in": "query",
@@ -101223,6 +101733,14 @@
101223
101733
  ],
101224
101734
  "nullable": true
101225
101735
  },
101736
+ "exchangeTarget": {
101737
+ "allOf": [
101738
+ {
101739
+ "$ref": "#/components/schemas/BaseEventPassTypeExchangeTarget"
101740
+ }
101741
+ ],
101742
+ "nullable": true
101743
+ },
101226
101744
  "metadata": {
101227
101745
  "type": "object"
101228
101746
  },
@@ -101259,6 +101777,7 @@
101259
101777
  "coupon",
101260
101778
  "invoice",
101261
101779
  "series",
101780
+ "exchangeTarget",
101262
101781
  "lineItems"
101263
101782
  ]
101264
101783
  }
@@ -106981,6 +107500,151 @@
106981
107500
  }
106982
107501
  ]
106983
107502
  },
107503
+ "BaseEventPassTypeExchangeTarget": {
107504
+ "type": "object",
107505
+ "properties": {
107506
+ "id": {
107507
+ "type": "string"
107508
+ },
107509
+ "enabled": {
107510
+ "type": "boolean"
107511
+ },
107512
+ "sourcePassTypeId": {
107513
+ "type": "string"
107514
+ },
107515
+ "sourcePassType": {
107516
+ "$ref": "#/components/schemas/BaseEventPassType"
107517
+ },
107518
+ "targetPassTypeId": {
107519
+ "type": "string"
107520
+ },
107521
+ "targetPassType": {
107522
+ "$ref": "#/components/schemas/BaseEventPassType"
107523
+ },
107524
+ "fixedPricing": {
107525
+ "type": "boolean"
107526
+ },
107527
+ "amount": {
107528
+ "type": "number"
107529
+ },
107530
+ "startDate": {
107531
+ "type": "string",
107532
+ "nullable": true
107533
+ },
107534
+ "endDate": {
107535
+ "type": "string",
107536
+ "nullable": true
107537
+ }
107538
+ },
107539
+ "required": [
107540
+ "id",
107541
+ "enabled",
107542
+ "sourcePassTypeId",
107543
+ "sourcePassType",
107544
+ "targetPassTypeId",
107545
+ "targetPassType",
107546
+ "fixedPricing",
107547
+ "amount",
107548
+ "startDate",
107549
+ "endDate"
107550
+ ]
107551
+ },
107552
+ "EventPassTypeExchangeTarget": {
107553
+ "allOf": [
107554
+ {
107555
+ "$ref": "#/components/schemas/BaseEventPassTypeExchangeTarget"
107556
+ },
107557
+ {
107558
+ "type": "object",
107559
+ "properties": {
107560
+ "createdAt": {
107561
+ "type": "string"
107562
+ },
107563
+ "updatedAt": {
107564
+ "type": "string"
107565
+ }
107566
+ },
107567
+ "required": [
107568
+ "createdAt",
107569
+ "updatedAt"
107570
+ ]
107571
+ }
107572
+ ]
107573
+ },
107574
+ "ExchangeType": {
107575
+ "type": "string",
107576
+ "enum": [
107577
+ "upgrade",
107578
+ "downgrade",
107579
+ "swap"
107580
+ ]
107581
+ },
107582
+ "BasePassExchange": {
107583
+ "type": "object",
107584
+ "properties": {
107585
+ "id": {
107586
+ "type": "string"
107587
+ },
107588
+ "accountId": {
107589
+ "type": "string"
107590
+ },
107591
+ "passId": {
107592
+ "type": "string"
107593
+ },
107594
+ "exchangeType": {
107595
+ "$ref": "#/components/schemas/ExchangeType"
107596
+ },
107597
+ "exchangeTargetId": {
107598
+ "type": "string"
107599
+ },
107600
+ "exchangeTarget": {
107601
+ "$ref": "#/components/schemas/EventPassTypeExchangeTarget"
107602
+ },
107603
+ "lineItem": {
107604
+ "allOf": [
107605
+ {
107606
+ "$ref": "#/components/schemas/BasePaymentLineItem"
107607
+ }
107608
+ ],
107609
+ "nullable": true
107610
+ }
107611
+ },
107612
+ "required": [
107613
+ "id",
107614
+ "accountId",
107615
+ "passId",
107616
+ "exchangeType",
107617
+ "exchangeTargetId",
107618
+ "exchangeTarget",
107619
+ "lineItem"
107620
+ ]
107621
+ },
107622
+ "PassExchange": {
107623
+ "allOf": [
107624
+ {
107625
+ "$ref": "#/components/schemas/BasePassExchange"
107626
+ },
107627
+ {
107628
+ "type": "object",
107629
+ "properties": {
107630
+ "account": {
107631
+ "$ref": "#/components/schemas/BaseAccount"
107632
+ },
107633
+ "pass": {
107634
+ "$ref": "#/components/schemas/BaseEventPass"
107635
+ },
107636
+ "createdAt": {
107637
+ "type": "string"
107638
+ }
107639
+ },
107640
+ "required": [
107641
+ "account",
107642
+ "pass",
107643
+ "createdAt"
107644
+ ]
107645
+ }
107646
+ ]
107647
+ },
106984
107648
  "EventPassTypeTranslation": {
106985
107649
  "type": "object",
106986
107650
  "properties": {
@@ -120621,6 +121285,57 @@
120621
121285
  }
120622
121286
  }
120623
121287
  },
121288
+ "PassTypeExchangeTargetCreateInputs": {
121289
+ "type": "object",
121290
+ "properties": {
121291
+ "enabled": {
121292
+ "type": "boolean"
121293
+ },
121294
+ "targetPassTypeId": {
121295
+ "type": "string"
121296
+ },
121297
+ "fixedPricing": {
121298
+ "type": "boolean"
121299
+ },
121300
+ "amount": {
121301
+ "type": "number"
121302
+ },
121303
+ "startDate": {
121304
+ "type": "string",
121305
+ "nullable": true
121306
+ },
121307
+ "endDate": {
121308
+ "type": "string",
121309
+ "nullable": true
121310
+ }
121311
+ },
121312
+ "required": [
121313
+ "enabled",
121314
+ "targetPassTypeId"
121315
+ ]
121316
+ },
121317
+ "PassTypeExchangeTargetUpdateInputs": {
121318
+ "type": "object",
121319
+ "properties": {
121320
+ "enabled": {
121321
+ "type": "boolean"
121322
+ },
121323
+ "fixedPricing": {
121324
+ "type": "boolean"
121325
+ },
121326
+ "amount": {
121327
+ "type": "number"
121328
+ },
121329
+ "startDate": {
121330
+ "type": "string",
121331
+ "nullable": true
121332
+ },
121333
+ "endDate": {
121334
+ "type": "string",
121335
+ "nullable": true
121336
+ }
121337
+ }
121338
+ },
120624
121339
  "IntegrationCreateInputs": {
120625
121340
  "type": "object",
120626
121341
  "properties": {