@ticketlayer/backstage 2.3.0 → 3.0.1

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.
@@ -479,22 +479,6 @@ export interface paths {
479
479
  patch?: never;
480
480
  trace?: never;
481
481
  };
482
- "/organisations": {
483
- parameters: {
484
- query?: never;
485
- header?: never;
486
- path?: never;
487
- cookie?: never;
488
- };
489
- get?: never;
490
- put?: never;
491
- post: operations["createOrganisation"];
492
- delete?: never;
493
- options?: never;
494
- head?: never;
495
- patch?: never;
496
- trace?: never;
497
- };
498
482
  "/organisations/{id}": {
499
483
  parameters: {
500
484
  query?: never;
@@ -1535,6 +1519,22 @@ export interface paths {
1535
1519
  patch?: never;
1536
1520
  trace?: never;
1537
1521
  };
1522
+ "/customers/{customerId}/correct": {
1523
+ parameters: {
1524
+ query?: never;
1525
+ header?: never;
1526
+ path?: never;
1527
+ cookie?: never;
1528
+ };
1529
+ get?: never;
1530
+ put?: never;
1531
+ post: operations["correctCustomer"];
1532
+ delete?: never;
1533
+ options?: never;
1534
+ head?: never;
1535
+ patch?: never;
1536
+ trace?: never;
1537
+ };
1538
1538
  "/customers/{customerId}": {
1539
1539
  parameters: {
1540
1540
  query?: never;
@@ -2447,6 +2447,70 @@ export interface paths {
2447
2447
  patch?: never;
2448
2448
  trace?: never;
2449
2449
  };
2450
+ "/cart/{cartId}/unlocks": {
2451
+ parameters: {
2452
+ query?: never;
2453
+ header?: never;
2454
+ path?: never;
2455
+ cookie?: never;
2456
+ };
2457
+ get?: never;
2458
+ put?: never;
2459
+ post: operations["addStaffCartUnlock"];
2460
+ delete?: never;
2461
+ options?: never;
2462
+ head?: never;
2463
+ patch?: never;
2464
+ trace?: never;
2465
+ };
2466
+ "/cart/{cartId}/unlocks/{unlockId}": {
2467
+ parameters: {
2468
+ query?: never;
2469
+ header?: never;
2470
+ path?: never;
2471
+ cookie?: never;
2472
+ };
2473
+ get?: never;
2474
+ put?: never;
2475
+ post?: never;
2476
+ delete: operations["removeStaffCartUnlock"];
2477
+ options?: never;
2478
+ head?: never;
2479
+ patch?: never;
2480
+ trace?: never;
2481
+ };
2482
+ "/cart/{cartId}/codes": {
2483
+ parameters: {
2484
+ query?: never;
2485
+ header?: never;
2486
+ path?: never;
2487
+ cookie?: never;
2488
+ };
2489
+ get?: never;
2490
+ put?: never;
2491
+ post: operations["applyStaffCartCode"];
2492
+ delete?: never;
2493
+ options?: never;
2494
+ head?: never;
2495
+ patch?: never;
2496
+ trace?: never;
2497
+ };
2498
+ "/cart/{cartId}/codes/{codeId}": {
2499
+ parameters: {
2500
+ query?: never;
2501
+ header?: never;
2502
+ path?: never;
2503
+ cookie?: never;
2504
+ };
2505
+ get?: never;
2506
+ put?: never;
2507
+ post?: never;
2508
+ delete: operations["removeStaffCartCode"];
2509
+ options?: never;
2510
+ head?: never;
2511
+ patch?: never;
2512
+ trace?: never;
2513
+ };
2450
2514
  "/presale-codes": {
2451
2515
  parameters: {
2452
2516
  query?: never;
@@ -2591,6 +2655,38 @@ export interface paths {
2591
2655
  patch: operations["updateTagDefinition"];
2592
2656
  trace?: never;
2593
2657
  };
2658
+ "/codes": {
2659
+ parameters: {
2660
+ query?: never;
2661
+ header?: never;
2662
+ path?: never;
2663
+ cookie?: never;
2664
+ };
2665
+ get: operations["listCodes"];
2666
+ put?: never;
2667
+ post: operations["createCode"];
2668
+ delete?: never;
2669
+ options?: never;
2670
+ head?: never;
2671
+ patch?: never;
2672
+ trace?: never;
2673
+ };
2674
+ "/codes/{codeId}": {
2675
+ parameters: {
2676
+ query?: never;
2677
+ header?: never;
2678
+ path?: never;
2679
+ cookie?: never;
2680
+ };
2681
+ get: operations["getCode"];
2682
+ put?: never;
2683
+ post?: never;
2684
+ delete: operations["archiveCode"];
2685
+ options?: never;
2686
+ head?: never;
2687
+ patch: operations["updateCode"];
2688
+ trace?: never;
2689
+ };
2594
2690
  "/passes/{barcode}/redeem": {
2595
2691
  parameters: {
2596
2692
  query?: never;
@@ -4625,17 +4721,6 @@ export interface components {
4625
4721
  RemoveAssignmentResponse: {
4626
4722
  success: boolean;
4627
4723
  };
4628
- CreateOrganisationWorkflowResponse: {
4629
- organisation: {
4630
- id: string;
4631
- name: string;
4632
- slug: string;
4633
- };
4634
- user: {
4635
- id: string;
4636
- email: string;
4637
- };
4638
- };
4639
4724
  GetOrganisationResponse: {
4640
4725
  organisation: components["schemas"]["Organisation"];
4641
4726
  };
@@ -4845,6 +4930,8 @@ export interface components {
4845
4930
  name: string;
4846
4931
  description?: string;
4847
4932
  displayOrder: number;
4933
+ visibility?: "public" | "locked" | "hidden";
4934
+ unlockTags?: string[];
4848
4935
  requiredBenefit?: string;
4849
4936
  tags?: string[];
4850
4937
  };
@@ -4994,6 +5081,7 @@ export interface components {
4994
5081
  customerId: string | null;
4995
5082
  code: string | null;
4996
5083
  codeApplied: boolean;
5084
+ codes: components["schemas"]["OfferContextCode"][];
4997
5085
  quantity: number;
4998
5086
  cartId: string | null;
4999
5087
  };
@@ -5010,6 +5098,12 @@ export interface components {
5010
5098
  };
5011
5099
  occurrences: components["schemas"]["OccurrenceOffers"][];
5012
5100
  };
5101
+ OfferContextCode: {
5102
+ id: string;
5103
+ code: string;
5104
+ label: string;
5105
+ source: "preview" | "cart";
5106
+ };
5013
5107
  OccurrenceOffers: {
5014
5108
  id: string;
5015
5109
  startsAt: string | null;
@@ -5021,7 +5115,7 @@ export interface components {
5021
5115
  };
5022
5116
  OfferAvailability: {
5023
5117
  state: "on_sale" | "not_yet_on_sale" | "off_sale" | "sold_out" | "locked" | "hidden";
5024
- reason: "SALE_CLOSED" | "NOT_AVAILABLE" | "SOLD_OUT" | "SALE_NOT_OPEN" | "TAG_REQUIRED" | "NOT_VISIBLE" | "EVENT_NOT_LIVE" | "NOT_LISTED" | "OCCURRENCE_DRAFT" | "OCCURRENCE_CANCELLED" | "OCCURRENCE_COMPLETED" | "NO_PRICE_SCHEME" | "PRICE_SCHEME_NOT_ACTIVE" | "NO_PRICE_FOR_TYPE" | "NO_INVENTORY" | "OCCURRENCE_SOLD_OUT" | "NO_CAPACITY" | null;
5118
+ reason: "SALE_CLOSED" | "NOT_AVAILABLE" | "SOLD_OUT" | "SALE_NOT_OPEN" | "TAG_REQUIRED" | "NOT_VISIBLE" | "EVENT_NOT_LIVE" | "NOT_LISTED" | "OCCURRENCE_DRAFT" | "OCCURRENCE_CANCELLED" | "OCCURRENCE_COMPLETED" | "NO_PRICE_SCHEME" | "PRICE_SCHEME_NOT_ACTIVE" | "NO_PRICE_FOR_TYPE" | "NO_INVENTORY" | "OCCURRENCE_SOLD_OUT" | "NO_CAPACITY" | "PRICE_HIDDEN" | null;
5025
5119
  opensAt: string | null;
5026
5120
  closesAt: string | null;
5027
5121
  };
@@ -5041,14 +5135,16 @@ export interface components {
5041
5135
  OfferPrice: {
5042
5136
  currency: string | null;
5043
5137
  faceValue: number;
5044
- discounts: {
5045
- codeId: string;
5046
- amount: number;
5047
- }[];
5138
+ discounts: components["schemas"]["OfferDiscount"][];
5048
5139
  fees: components["schemas"]["OfferFee"][];
5049
5140
  total: number;
5050
5141
  source: components["schemas"]["OfferPriceSource"];
5051
5142
  };
5143
+ OfferDiscount: {
5144
+ codeId: string;
5145
+ label: string;
5146
+ amount: number;
5147
+ };
5052
5148
  OfferFee: {
5053
5149
  code: string;
5054
5150
  label: string;
@@ -5056,6 +5152,10 @@ export interface components {
5056
5152
  rate: number | null;
5057
5153
  amount: number;
5058
5154
  source: components["schemas"]["OfferFeeSource"];
5155
+ waived: {
5156
+ amount: number;
5157
+ source: components["schemas"]["OfferFeeSource"];
5158
+ } | null;
5059
5159
  };
5060
5160
  OfferFeeSource: {
5061
5161
  layer: "organisation_config" | "account_config" | "channel_profile" | "profile_rule" | "code_waiver";
@@ -5068,11 +5168,31 @@ export interface components {
5068
5168
  inForceSchemeId: string;
5069
5169
  };
5070
5170
  OfferUnlock: {
5071
- source: {
5072
- type: "tag";
5073
- id: string;
5171
+ visibility: "locked" | "hidden";
5172
+ unlocked: boolean;
5173
+ source: components["schemas"]["OfferUnlockSource"];
5174
+ tags: components["schemas"]["OfferUnlockTag"][];
5175
+ code: boolean;
5176
+ howTo: {
5177
+ products: {
5178
+ id: string;
5179
+ name: string;
5180
+ price: number;
5181
+ currency: string;
5182
+ }[];
5074
5183
  };
5184
+ gateSource: "ticket_type" | "cell" | "channel" | "channel_setting" | null;
5185
+ unlockable: boolean | null;
5075
5186
  } | null;
5187
+ OfferUnlockSource: {
5188
+ type: "tag" | "code" | "staff";
5189
+ id: string | null;
5190
+ userId: string | null;
5191
+ } | null;
5192
+ OfferUnlockTag: {
5193
+ label: string;
5194
+ slug: string | null;
5195
+ };
5076
5196
  OfferRemaining: {
5077
5197
  bucket: "available" | "limited" | "few" | "none" | null;
5078
5198
  exact: number | null;
@@ -5236,6 +5356,8 @@ export interface components {
5236
5356
  price: number;
5237
5357
  currency: "GBP" | "USD" | "EUR" | "AUD" | "CAD";
5238
5358
  tags?: string[];
5359
+ visibility?: "public" | "locked" | "hidden";
5360
+ unlockTags?: string[];
5239
5361
  };
5240
5362
  ChannelPrice: {
5241
5363
  categoryId: string;
@@ -5243,6 +5365,8 @@ export interface components {
5243
5365
  channelId: string;
5244
5366
  price: number;
5245
5367
  tags?: string[];
5368
+ visibility?: "locked" | "hidden";
5369
+ unlockTags?: string[];
5246
5370
  };
5247
5371
  ListPriceSchemesResponse: {
5248
5372
  priceSchemes: components["schemas"]["PriceScheme"][];
@@ -5836,6 +5960,7 @@ export interface components {
5836
5960
  };
5837
5961
  MatchCustomerResponse: {
5838
5962
  match: components["schemas"]["CustomerMatch"];
5963
+ candidates: components["schemas"]["CustomerMatchCandidate"][];
5839
5964
  };
5840
5965
  CustomerMatch: {
5841
5966
  id: string;
@@ -5846,6 +5971,21 @@ export interface components {
5846
5971
  maskedPhone: string | null;
5847
5972
  isBlocked: boolean;
5848
5973
  } | null;
5974
+ CustomerMatchCandidate: {
5975
+ id: string;
5976
+ firstName: string | null;
5977
+ lastInitial: string | null;
5978
+ maskedEmail: string;
5979
+ phoneLast4: string | null;
5980
+ };
5981
+ CorrectCustomerResponse: {
5982
+ customer: components["schemas"]["CustomerMatchCandidate"];
5983
+ };
5984
+ CorrectCustomerRequest: {
5985
+ firstName?: string | null;
5986
+ lastName?: string | null;
5987
+ phone?: string | null;
5988
+ };
5849
5989
  ListCustomersResponse: {
5850
5990
  customers: components["schemas"]["Customer"][];
5851
5991
  pagination: {
@@ -6385,6 +6525,7 @@ export interface components {
6385
6525
  publicKeyPem: string;
6386
6526
  algorithm: string;
6387
6527
  };
6528
+ priceVisibility?: components["schemas"]["ChannelPriceVisibility"];
6388
6529
  };
6389
6530
  receivingAccountId: string;
6390
6531
  feeProfileId: string | null;
@@ -6396,6 +6537,10 @@ export interface components {
6396
6537
  createdAt: string;
6397
6538
  updatedAt: string;
6398
6539
  };
6540
+ ChannelPriceVisibility: {
6541
+ lockedAs?: "locked" | "hidden";
6542
+ unlockHints?: boolean;
6543
+ };
6399
6544
  ListSalesChannelsResponse: {
6400
6545
  channels: components["schemas"]["SalesChannel"][];
6401
6546
  };
@@ -6522,9 +6667,40 @@ export interface components {
6522
6667
  metadata: {
6523
6668
  [key: string]: unknown;
6524
6669
  } | null;
6670
+ staffUnlocks: components["schemas"]["StaffCartUnlock"][];
6671
+ codes: components["schemas"]["StaffCartCode"][];
6525
6672
  createdAt: string;
6526
6673
  updatedAt: string;
6527
6674
  };
6675
+ StaffCartUnlock: {
6676
+ id: string;
6677
+ userId: string;
6678
+ targets: components["schemas"]["UnlockTarget"][];
6679
+ actAsTags: string[];
6680
+ reason: string;
6681
+ at: string;
6682
+ };
6683
+ UnlockTarget: {
6684
+ type: "event";
6685
+ eventId: string;
6686
+ } | {
6687
+ type: "occurrence";
6688
+ occurrenceId: string;
6689
+ } | {
6690
+ type: "ticket_type";
6691
+ ticketTypeId: string;
6692
+ } | {
6693
+ type: "price_cell";
6694
+ ticketTypeId: string;
6695
+ categoryId: string;
6696
+ };
6697
+ StaffCartCode: {
6698
+ codeId: string;
6699
+ code: string;
6700
+ typed: string | null;
6701
+ appliedBy: string | null;
6702
+ appliedAt: string;
6703
+ };
6528
6704
  StaffCartItem: {
6529
6705
  id: string;
6530
6706
  organisationId: string;
@@ -6581,6 +6757,16 @@ export interface components {
6581
6757
  quantity: number;
6582
6758
  subtotal: number;
6583
6759
  };
6760
+ StaffUnlockRequest: {
6761
+ targets?: components["schemas"]["UnlockTarget"][];
6762
+ actAsTags?: string[];
6763
+ reason: string;
6764
+ };
6765
+ ApplyCartCodeRequest: {
6766
+ code?: string;
6767
+ codeId?: string;
6768
+ typed?: string;
6769
+ };
6584
6770
  PresaleCodeResponse: {
6585
6771
  presaleCode: components["schemas"]["PresaleCode"];
6586
6772
  };
@@ -6615,11 +6801,26 @@ export interface components {
6615
6801
  serviceFeePercent: string | null;
6616
6802
  serviceFeeFixed: number | null;
6617
6803
  serviceFeeLabel: string | null;
6804
+ rules: components["schemas"]["FeeRule"][];
6618
6805
  isDeleted: boolean;
6619
6806
  deletedAt: string | null;
6620
6807
  createdAt: string;
6621
6808
  updatedAt: string;
6622
6809
  };
6810
+ FeeRule: {
6811
+ id?: string;
6812
+ match: {
6813
+ ticketTypeTags?: string[];
6814
+ priceTags?: string[];
6815
+ };
6816
+ effect: {
6817
+ percent: number;
6818
+ } | {
6819
+ fixedPerTicket: number;
6820
+ } | {
6821
+ waived: true;
6822
+ };
6823
+ };
6623
6824
  ListFeeProfilesResponse: {
6624
6825
  feeProfiles: components["schemas"]["FeeProfile"][];
6625
6826
  };
@@ -6875,6 +7076,96 @@ export interface components {
6875
7076
  grantableBy?: components["schemas"]["TagGrantor"][];
6876
7077
  archived?: boolean;
6877
7078
  };
7079
+ CodeListResponse: {
7080
+ codes: components["schemas"]["Code"][];
7081
+ };
7082
+ Code: {
7083
+ id: string;
7084
+ organisationId: string;
7085
+ accountId: string;
7086
+ code: string;
7087
+ label: string;
7088
+ active: boolean;
7089
+ validFrom: string | null;
7090
+ validUntil: string | null;
7091
+ channelIds: string[] | null;
7092
+ maxOrders: number | null;
7093
+ orderCount: number;
7094
+ remainingOrders: number | null;
7095
+ effects: components["schemas"]["CodeEffect"][];
7096
+ archivedAt: string | null;
7097
+ createdBy: string | null;
7098
+ createdAt: string;
7099
+ updatedAt: string;
7100
+ };
7101
+ CodeEffect: {
7102
+ type: "unlock";
7103
+ targets: components["schemas"]["CodeTarget"][];
7104
+ } | {
7105
+ type: "discount";
7106
+ percent?: number;
7107
+ amountPerTicket?: number;
7108
+ amountPerOrder?: number;
7109
+ targets?: components["schemas"]["CodeTarget"][];
7110
+ cap?: number | null;
7111
+ label?: string;
7112
+ } | {
7113
+ type: "act_as_tag";
7114
+ tag: string;
7115
+ } | {
7116
+ type: "waive_fees";
7117
+ targets?: components["schemas"]["CodeTarget"][];
7118
+ };
7119
+ CodeTarget: {
7120
+ type: "event";
7121
+ eventId: string;
7122
+ } | {
7123
+ type: "occurrence";
7124
+ occurrenceId: string;
7125
+ } | {
7126
+ type: "ticket_type";
7127
+ ticketTypeId: string;
7128
+ } | {
7129
+ type: "price_cell";
7130
+ ticketTypeId: string;
7131
+ categoryId: string;
7132
+ } | ({
7133
+ type: "event_group";
7134
+ } & {
7135
+ [key: string]: unknown;
7136
+ }) | ({
7137
+ type: "event_tag";
7138
+ } & {
7139
+ [key: string]: unknown;
7140
+ }) | ({
7141
+ type: "event_metadata";
7142
+ } & {
7143
+ [key: string]: unknown;
7144
+ });
7145
+ CodeResponse: {
7146
+ code: components["schemas"]["Code"];
7147
+ };
7148
+ CreateCodeRequest: {
7149
+ accountId: string;
7150
+ code: string;
7151
+ label: string;
7152
+ active?: boolean;
7153
+ validFrom?: string | null;
7154
+ validUntil?: string | null;
7155
+ channelIds?: string[] | null;
7156
+ maxOrders?: number | null;
7157
+ effects: components["schemas"]["CodeEffect"][];
7158
+ };
7159
+ UpdateCodeRequest: {
7160
+ code?: string;
7161
+ label?: string;
7162
+ active?: boolean;
7163
+ validFrom?: string | null;
7164
+ validUntil?: string | null;
7165
+ channelIds?: string[] | null;
7166
+ maxOrders?: number | null;
7167
+ effects?: components["schemas"]["CodeEffect"][];
7168
+ };
6878
7169
  RedeemPassResult: {
6879
7170
  outcome: "valid" | "duplicate" | "void";
6880
7171
  reason?: string;
@@ -10685,33 +10976,23 @@ export interface operations {
10685
10976
  };
10686
10977
  };
10687
10978
  };
10688
- createOrganisation: {
10979
+ getOrganisation: {
10689
10980
  parameters: {
10690
10981
  query?: never;
10691
- header?: {
10692
- "Idempotency-Key"?: string;
10982
+ header?: never;
10983
+ path: {
10984
+ id: string;
10693
10985
  };
10694
- path?: never;
10695
10986
  cookie?: never;
10696
10987
  };
10697
- requestBody?: {
10698
- content: {
10699
- "application/json": {
10700
- name: string;
10701
- userEmail: string;
10702
- userFirstName?: string;
10703
- userLastName?: string;
10704
- templateName?: "webflow-single-seller" | "venue" | "platform" | "developer";
10705
- };
10706
- };
10707
- };
10988
+ requestBody?: never;
10708
10989
  responses: {
10709
- 201: {
10990
+ 200: {
10710
10991
  headers: {
10711
10992
  [name: string]: unknown;
10712
10993
  };
10713
10994
  content: {
10714
- "application/json": components["schemas"]["CreateOrganisationWorkflowResponse"];
10995
+ "application/json": components["schemas"]["GetOrganisationResponse"];
10715
10996
  };
10716
10997
  };
10717
10998
  400: {
@@ -10756,23 +11037,29 @@ export interface operations {
10756
11037
  };
10757
11038
  };
10758
11039
  };
10759
- getOrganisation: {
11040
+ updateOrganisation: {
10760
11041
  parameters: {
10761
11042
  query?: never;
10762
- header?: never;
11043
+ header?: {
11044
+ "Idempotency-Key"?: string;
11045
+ };
10763
11046
  path: {
10764
11047
  id: string;
10765
11048
  };
10766
11049
  cookie?: never;
10767
11050
  };
10768
- requestBody?: never;
11051
+ requestBody?: {
11052
+ content: {
11053
+ "application/json": components["schemas"]["UpdateOrganisationRequest"];
11054
+ };
11055
+ };
10769
11056
  responses: {
10770
11057
  200: {
10771
11058
  headers: {
10772
11059
  [name: string]: unknown;
10773
11060
  };
10774
11061
  content: {
10775
- "application/json": components["schemas"]["GetOrganisationResponse"];
11062
+ "application/json": components["schemas"]["UpdateOrganisationResponse"];
10776
11063
  };
10777
11064
  };
10778
11065
  400: {
@@ -10817,7 +11104,7 @@ export interface operations {
10817
11104
  };
10818
11105
  };
10819
11106
  };
10820
- updateOrganisation: {
11107
+ graduateOrganisation: {
10821
11108
  parameters: {
10822
11109
  query?: never;
10823
11110
  header?: {
@@ -10828,18 +11115,14 @@ export interface operations {
10828
11115
  };
10829
11116
  cookie?: never;
10830
11117
  };
10831
- requestBody?: {
10832
- content: {
10833
- "application/json": components["schemas"]["UpdateOrganisationRequest"];
10834
- };
10835
- };
11118
+ requestBody?: never;
10836
11119
  responses: {
10837
11120
  200: {
10838
11121
  headers: {
10839
11122
  [name: string]: unknown;
10840
11123
  };
10841
11124
  content: {
10842
- "application/json": components["schemas"]["UpdateOrganisationResponse"];
11125
+ "application/json": components["schemas"]["GraduateOrganisationResponse"];
10843
11126
  };
10844
11127
  };
10845
11128
  400: {
@@ -10884,15 +11167,11 @@ export interface operations {
10884
11167
  };
10885
11168
  };
10886
11169
  };
10887
- graduateOrganisation: {
11170
+ getPlan: {
10888
11171
  parameters: {
10889
11172
  query?: never;
10890
- header?: {
10891
- "Idempotency-Key"?: string;
10892
- };
10893
- path: {
10894
- id: string;
10895
- };
11173
+ header?: never;
11174
+ path?: never;
10896
11175
  cookie?: never;
10897
11176
  };
10898
11177
  requestBody?: never;
@@ -10902,7 +11181,7 @@ export interface operations {
10902
11181
  [name: string]: unknown;
10903
11182
  };
10904
11183
  content: {
10905
- "application/json": components["schemas"]["GraduateOrganisationResponse"];
11184
+ "application/json": components["schemas"]["GetPlanResponse"];
10906
11185
  };
10907
11186
  };
10908
11187
  400: {
@@ -10947,70 +11226,11 @@ export interface operations {
10947
11226
  };
10948
11227
  };
10949
11228
  };
10950
- getPlan: {
11229
+ listIdentityProviders: {
10951
11230
  parameters: {
10952
- query?: never;
10953
- header?: never;
10954
- path?: never;
10955
- cookie?: never;
10956
- };
10957
- requestBody?: never;
10958
- responses: {
10959
- 200: {
10960
- headers: {
10961
- [name: string]: unknown;
10962
- };
10963
- content: {
10964
- "application/json": components["schemas"]["GetPlanResponse"];
10965
- };
10966
- };
10967
- 400: {
10968
- headers: {
10969
- [name: string]: unknown;
10970
- };
10971
- content: {
10972
- "application/json": components["schemas"]["ErrorResponse"];
10973
- };
10974
- };
10975
- 401: {
10976
- headers: {
10977
- [name: string]: unknown;
10978
- };
10979
- content: {
10980
- "application/json": components["schemas"]["ErrorResponse"];
10981
- };
10982
- };
10983
- 403: {
10984
- headers: {
10985
- [name: string]: unknown;
10986
- };
10987
- content: {
10988
- "application/json": components["schemas"]["ErrorResponse"];
10989
- };
10990
- };
10991
- 404: {
10992
- headers: {
10993
- [name: string]: unknown;
10994
- };
10995
- content: {
10996
- "application/json": components["schemas"]["ErrorResponse"];
10997
- };
10998
- };
10999
- 500: {
11000
- headers: {
11001
- [name: string]: unknown;
11002
- };
11003
- content: {
11004
- "application/json": components["schemas"]["ErrorResponse"];
11005
- };
11006
- };
11007
- };
11008
- };
11009
- listIdentityProviders: {
11010
- parameters: {
11011
- query?: {
11012
- organisationId?: string;
11013
- };
11231
+ query?: {
11232
+ organisationId?: string;
11233
+ };
11014
11234
  header?: never;
11015
11235
  path?: never;
11016
11236
  cookie?: never;
@@ -11321,6 +11541,8 @@ export interface operations {
11321
11541
  description?: string;
11322
11542
  displayOrder: number;
11323
11543
  tags?: string[];
11544
+ visibility?: "public" | "locked" | "hidden";
11545
+ unlockTags?: string[];
11324
11546
  }[];
11325
11547
  layout?: {
11326
11548
  categories?: {
@@ -11578,6 +11800,8 @@ export interface operations {
11578
11800
  description?: string;
11579
11801
  displayOrder: number;
11580
11802
  tags?: string[];
11803
+ visibility?: "public" | "locked" | "hidden";
11804
+ unlockTags?: string[];
11581
11805
  }[];
11582
11806
  layout?: {
11583
11807
  categories?: {
@@ -12498,6 +12722,8 @@ export interface operations {
12498
12722
  price: number;
12499
12723
  currency?: "GBP" | "USD" | "EUR" | "AUD" | "CAD";
12500
12724
  tags?: string[];
12725
+ visibility?: "public" | "locked" | "hidden" | null;
12726
+ unlockTags?: string[] | null;
12501
12727
  }[];
12502
12728
  channelPrices?: {
12503
12729
  categoryId: string;
@@ -12505,6 +12731,8 @@ export interface operations {
12505
12731
  channelId: string;
12506
12732
  price: number;
12507
12733
  tags?: string[];
12734
+ visibility?: "locked" | "hidden" | null;
12735
+ unlockTags?: string[] | null;
12508
12736
  }[];
12509
12737
  };
12510
12738
  };
@@ -12713,6 +12941,8 @@ export interface operations {
12713
12941
  price: number;
12714
12942
  currency?: "GBP" | "USD" | "EUR" | "AUD" | "CAD";
12715
12943
  tags?: string[];
12944
+ visibility?: "public" | "locked" | "hidden" | null;
12945
+ unlockTags?: string[] | null;
12716
12946
  }[];
12717
12947
  channelPrices?: {
12718
12948
  categoryId: string;
@@ -12720,6 +12950,8 @@ export interface operations {
12720
12950
  channelId: string;
12721
12951
  price: number;
12722
12952
  tags?: string[];
12953
+ visibility?: "locked" | "hidden" | null;
12954
+ unlockTags?: string[] | null;
12723
12955
  }[];
12724
12956
  };
12725
12957
  };
@@ -17329,6 +17561,73 @@ export interface operations {
17329
17561
  };
17330
17562
  };
17331
17563
  };
17564
+ correctCustomer: {
17565
+ parameters: {
17566
+ query?: never;
17567
+ header?: {
17568
+ "Idempotency-Key"?: string;
17569
+ };
17570
+ path: {
17571
+ customerId: string;
17572
+ };
17573
+ cookie?: never;
17574
+ };
17575
+ requestBody?: {
17576
+ content: {
17577
+ "application/json": components["schemas"]["CorrectCustomerRequest"];
17578
+ };
17579
+ };
17580
+ responses: {
17581
+ 200: {
17582
+ headers: {
17583
+ [name: string]: unknown;
17584
+ };
17585
+ content: {
17586
+ "application/json": components["schemas"]["CorrectCustomerResponse"];
17587
+ };
17588
+ };
17589
+ 400: {
17590
+ headers: {
17591
+ [name: string]: unknown;
17592
+ };
17593
+ content: {
17594
+ "application/json": components["schemas"]["ErrorResponse"];
17595
+ };
17596
+ };
17597
+ 401: {
17598
+ headers: {
17599
+ [name: string]: unknown;
17600
+ };
17601
+ content: {
17602
+ "application/json": components["schemas"]["ErrorResponse"];
17603
+ };
17604
+ };
17605
+ 403: {
17606
+ headers: {
17607
+ [name: string]: unknown;
17608
+ };
17609
+ content: {
17610
+ "application/json": components["schemas"]["ErrorResponse"];
17611
+ };
17612
+ };
17613
+ 404: {
17614
+ headers: {
17615
+ [name: string]: unknown;
17616
+ };
17617
+ content: {
17618
+ "application/json": components["schemas"]["ErrorResponse"];
17619
+ };
17620
+ };
17621
+ 500: {
17622
+ headers: {
17623
+ [name: string]: unknown;
17624
+ };
17625
+ content: {
17626
+ "application/json": components["schemas"]["ErrorResponse"];
17627
+ };
17628
+ };
17629
+ };
17630
+ };
17332
17631
  getCustomer: {
17333
17632
  parameters: {
17334
17633
  query?: never;
@@ -21506,6 +21805,7 @@ export interface operations {
21506
21805
  publicKeyPem: string;
21507
21806
  algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512";
21508
21807
  };
21808
+ priceVisibility?: components["schemas"]["ChannelPriceVisibility"];
21509
21809
  };
21510
21810
  reservationTtlSeconds?: number;
21511
21811
  checkoutTtlSeconds?: number;
@@ -21733,6 +22033,7 @@ export interface operations {
21733
22033
  publicKeyPem: string;
21734
22034
  algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512";
21735
22035
  };
22036
+ priceVisibility?: components["schemas"]["ChannelPriceVisibility"];
21736
22037
  };
21737
22038
  reservationTtlSeconds?: number;
21738
22039
  checkoutTtlSeconds?: number;
@@ -22875,21 +23176,30 @@ export interface operations {
22875
23176
  };
22876
23177
  };
22877
23178
  };
22878
- listPresaleCodes: {
23179
+ addStaffCartUnlock: {
22879
23180
  parameters: {
22880
23181
  query?: never;
22881
- header?: never;
22882
- path?: never;
23182
+ header?: {
23183
+ "X-Ticketlayer-Channel"?: string;
23184
+ "Idempotency-Key"?: string;
23185
+ };
23186
+ path: {
23187
+ cartId: string;
23188
+ };
22883
23189
  cookie?: never;
22884
23190
  };
22885
- requestBody?: never;
23191
+ requestBody?: {
23192
+ content: {
23193
+ "application/json": components["schemas"]["StaffUnlockRequest"];
23194
+ };
23195
+ };
22886
23196
  responses: {
22887
- 200: {
23197
+ 201: {
22888
23198
  headers: {
22889
23199
  [name: string]: unknown;
22890
23200
  };
22891
23201
  content: {
22892
- "application/json": components["schemas"]["ListPresaleCodesResponse"];
23202
+ "application/json": components["schemas"]["StaffCartResponse"];
22893
23203
  };
22894
23204
  };
22895
23205
  400: {
@@ -22934,35 +23244,27 @@ export interface operations {
22934
23244
  };
22935
23245
  };
22936
23246
  };
22937
- createPresaleCode: {
23247
+ removeStaffCartUnlock: {
22938
23248
  parameters: {
22939
23249
  query?: never;
22940
23250
  header?: {
23251
+ "X-Ticketlayer-Channel"?: string;
22941
23252
  "Idempotency-Key"?: string;
22942
23253
  };
22943
- path?: never;
22944
- cookie?: never;
22945
- };
22946
- requestBody?: {
22947
- content: {
22948
- "application/json": {
22949
- accountId: string;
22950
- code: string;
22951
- benefit: string;
22952
- channelId?: string;
22953
- maxRedemptions?: number;
22954
- expiresAt?: string;
22955
- benefitExpiresAt?: string;
22956
- };
23254
+ path: {
23255
+ cartId: string;
23256
+ unlockId: string;
22957
23257
  };
23258
+ cookie?: never;
22958
23259
  };
23260
+ requestBody?: never;
22959
23261
  responses: {
22960
- 201: {
23262
+ 200: {
22961
23263
  headers: {
22962
23264
  [name: string]: unknown;
22963
23265
  };
22964
23266
  content: {
22965
- "application/json": components["schemas"]["PresaleCodeResponse"];
23267
+ "application/json": components["schemas"]["StaffCartResponse"];
22966
23268
  };
22967
23269
  };
22968
23270
  400: {
@@ -23007,25 +23309,30 @@ export interface operations {
23007
23309
  };
23008
23310
  };
23009
23311
  };
23010
- deactivatePresaleCode: {
23312
+ applyStaffCartCode: {
23011
23313
  parameters: {
23012
23314
  query?: never;
23013
23315
  header?: {
23316
+ "X-Ticketlayer-Channel"?: string;
23014
23317
  "Idempotency-Key"?: string;
23015
23318
  };
23016
23319
  path: {
23017
- codeId: string;
23320
+ cartId: string;
23018
23321
  };
23019
23322
  cookie?: never;
23020
23323
  };
23021
- requestBody?: never;
23324
+ requestBody?: {
23325
+ content: {
23326
+ "application/json": components["schemas"]["ApplyCartCodeRequest"];
23327
+ };
23328
+ };
23022
23329
  responses: {
23023
- 200: {
23330
+ 201: {
23024
23331
  headers: {
23025
23332
  [name: string]: unknown;
23026
23333
  };
23027
23334
  content: {
23028
- "application/json": components["schemas"]["PresaleCodeResponse"];
23335
+ "application/json": components["schemas"]["StaffCartResponse"];
23029
23336
  };
23030
23337
  };
23031
23338
  400: {
@@ -23070,11 +23377,17 @@ export interface operations {
23070
23377
  };
23071
23378
  };
23072
23379
  };
23073
- listFeeProfiles: {
23380
+ removeStaffCartCode: {
23074
23381
  parameters: {
23075
23382
  query?: never;
23076
- header?: never;
23077
- path?: never;
23383
+ header?: {
23384
+ "X-Ticketlayer-Channel"?: string;
23385
+ "Idempotency-Key"?: string;
23386
+ };
23387
+ path: {
23388
+ cartId: string;
23389
+ codeId: string;
23390
+ };
23078
23391
  cookie?: never;
23079
23392
  };
23080
23393
  requestBody?: never;
@@ -23084,7 +23397,7 @@ export interface operations {
23084
23397
  [name: string]: unknown;
23085
23398
  };
23086
23399
  content: {
23087
- "application/json": components["schemas"]["ListFeeProfilesResponse"];
23400
+ "application/json": components["schemas"]["StaffCartResponse"];
23088
23401
  };
23089
23402
  };
23090
23403
  400: {
@@ -23129,34 +23442,23 @@ export interface operations {
23129
23442
  };
23130
23443
  };
23131
23444
  };
23132
- createFeeProfile: {
23445
+ listPresaleCodes: {
23133
23446
  parameters: {
23134
- query?: never;
23135
- header?: {
23136
- "Idempotency-Key"?: string;
23447
+ query?: {
23448
+ search?: string;
23137
23449
  };
23450
+ header?: never;
23138
23451
  path?: never;
23139
23452
  cookie?: never;
23140
23453
  };
23141
- requestBody?: {
23142
- content: {
23143
- "application/json": {
23144
- name: string;
23145
- serviceFeeEnabled?: boolean;
23146
- serviceFeePercent?: number;
23147
- serviceFeeFixed?: number;
23148
- serviceFeeLabel?: string;
23149
- feeEarnerAccountId?: string | null;
23150
- };
23151
- };
23152
- };
23454
+ requestBody?: never;
23153
23455
  responses: {
23154
- 201: {
23456
+ 200: {
23155
23457
  headers: {
23156
23458
  [name: string]: unknown;
23157
23459
  };
23158
23460
  content: {
23159
- "application/json": components["schemas"]["FeeProfileResponse"];
23461
+ "application/json": components["schemas"]["ListPresaleCodesResponse"];
23160
23462
  };
23161
23463
  };
23162
23464
  400: {
@@ -23201,23 +23503,35 @@ export interface operations {
23201
23503
  };
23202
23504
  };
23203
23505
  };
23204
- getFeeProfile: {
23506
+ createPresaleCode: {
23205
23507
  parameters: {
23206
23508
  query?: never;
23207
- header?: never;
23208
- path: {
23209
- profileId: string;
23509
+ header?: {
23510
+ "Idempotency-Key"?: string;
23210
23511
  };
23512
+ path?: never;
23211
23513
  cookie?: never;
23212
23514
  };
23213
- requestBody?: never;
23515
+ requestBody?: {
23516
+ content: {
23517
+ "application/json": {
23518
+ accountId: string;
23519
+ code: string;
23520
+ benefit: string;
23521
+ channelId?: string;
23522
+ maxRedemptions?: number;
23523
+ expiresAt?: string;
23524
+ benefitExpiresAt?: string;
23525
+ };
23526
+ };
23527
+ };
23214
23528
  responses: {
23215
- 200: {
23529
+ 201: {
23216
23530
  headers: {
23217
23531
  [name: string]: unknown;
23218
23532
  };
23219
23533
  content: {
23220
- "application/json": components["schemas"]["FeeProfileResponse"];
23534
+ "application/json": components["schemas"]["PresaleCodeResponse"];
23221
23535
  };
23222
23536
  };
23223
23537
  400: {
@@ -23262,14 +23576,14 @@ export interface operations {
23262
23576
  };
23263
23577
  };
23264
23578
  };
23265
- deleteFeeProfile: {
23579
+ deactivatePresaleCode: {
23266
23580
  parameters: {
23267
23581
  query?: never;
23268
23582
  header?: {
23269
23583
  "Idempotency-Key"?: string;
23270
23584
  };
23271
23585
  path: {
23272
- profileId: string;
23586
+ codeId: string;
23273
23587
  };
23274
23588
  cookie?: never;
23275
23589
  };
@@ -23280,7 +23594,7 @@ export interface operations {
23280
23594
  [name: string]: unknown;
23281
23595
  };
23282
23596
  content: {
23283
- "application/json": components["schemas"]["DeleteFeeProfileResponse"];
23597
+ "application/json": components["schemas"]["PresaleCodeResponse"];
23284
23598
  };
23285
23599
  };
23286
23600
  400: {
@@ -23325,36 +23639,490 @@ export interface operations {
23325
23639
  };
23326
23640
  };
23327
23641
  };
23328
- updateFeeProfile: {
23642
+ listFeeProfiles: {
23329
23643
  parameters: {
23330
23644
  query?: never;
23331
- header?: {
23332
- "Idempotency-Key"?: string;
23333
- };
23334
- path: {
23645
+ header?: never;
23646
+ path?: never;
23647
+ cookie?: never;
23648
+ };
23649
+ requestBody?: never;
23650
+ responses: {
23651
+ 200: {
23652
+ headers: {
23653
+ [name: string]: unknown;
23654
+ };
23655
+ content: {
23656
+ "application/json": components["schemas"]["ListFeeProfilesResponse"];
23657
+ };
23658
+ };
23659
+ 400: {
23660
+ headers: {
23661
+ [name: string]: unknown;
23662
+ };
23663
+ content: {
23664
+ "application/json": components["schemas"]["ErrorResponse"];
23665
+ };
23666
+ };
23667
+ 401: {
23668
+ headers: {
23669
+ [name: string]: unknown;
23670
+ };
23671
+ content: {
23672
+ "application/json": components["schemas"]["ErrorResponse"];
23673
+ };
23674
+ };
23675
+ 403: {
23676
+ headers: {
23677
+ [name: string]: unknown;
23678
+ };
23679
+ content: {
23680
+ "application/json": components["schemas"]["ErrorResponse"];
23681
+ };
23682
+ };
23683
+ 404: {
23684
+ headers: {
23685
+ [name: string]: unknown;
23686
+ };
23687
+ content: {
23688
+ "application/json": components["schemas"]["ErrorResponse"];
23689
+ };
23690
+ };
23691
+ 500: {
23692
+ headers: {
23693
+ [name: string]: unknown;
23694
+ };
23695
+ content: {
23696
+ "application/json": components["schemas"]["ErrorResponse"];
23697
+ };
23698
+ };
23699
+ };
23700
+ };
23701
+ createFeeProfile: {
23702
+ parameters: {
23703
+ query?: never;
23704
+ header?: {
23705
+ "Idempotency-Key"?: string;
23706
+ };
23707
+ path?: never;
23708
+ cookie?: never;
23709
+ };
23710
+ requestBody?: {
23711
+ content: {
23712
+ "application/json": {
23713
+ name: string;
23714
+ serviceFeeEnabled?: boolean;
23715
+ serviceFeePercent?: number;
23716
+ serviceFeeFixed?: number;
23717
+ serviceFeeLabel?: string;
23718
+ feeEarnerAccountId?: string | null;
23719
+ rules?: components["schemas"]["FeeRule"][];
23720
+ };
23721
+ };
23722
+ };
23723
+ responses: {
23724
+ 201: {
23725
+ headers: {
23726
+ [name: string]: unknown;
23727
+ };
23728
+ content: {
23729
+ "application/json": components["schemas"]["FeeProfileResponse"];
23730
+ };
23731
+ };
23732
+ 400: {
23733
+ headers: {
23734
+ [name: string]: unknown;
23735
+ };
23736
+ content: {
23737
+ "application/json": components["schemas"]["ErrorResponse"];
23738
+ };
23739
+ };
23740
+ 401: {
23741
+ headers: {
23742
+ [name: string]: unknown;
23743
+ };
23744
+ content: {
23745
+ "application/json": components["schemas"]["ErrorResponse"];
23746
+ };
23747
+ };
23748
+ 403: {
23749
+ headers: {
23750
+ [name: string]: unknown;
23751
+ };
23752
+ content: {
23753
+ "application/json": components["schemas"]["ErrorResponse"];
23754
+ };
23755
+ };
23756
+ 404: {
23757
+ headers: {
23758
+ [name: string]: unknown;
23759
+ };
23760
+ content: {
23761
+ "application/json": components["schemas"]["ErrorResponse"];
23762
+ };
23763
+ };
23764
+ 500: {
23765
+ headers: {
23766
+ [name: string]: unknown;
23767
+ };
23768
+ content: {
23769
+ "application/json": components["schemas"]["ErrorResponse"];
23770
+ };
23771
+ };
23772
+ };
23773
+ };
23774
+ getFeeProfile: {
23775
+ parameters: {
23776
+ query?: never;
23777
+ header?: never;
23778
+ path: {
23779
+ profileId: string;
23780
+ };
23781
+ cookie?: never;
23782
+ };
23783
+ requestBody?: never;
23784
+ responses: {
23785
+ 200: {
23786
+ headers: {
23787
+ [name: string]: unknown;
23788
+ };
23789
+ content: {
23790
+ "application/json": components["schemas"]["FeeProfileResponse"];
23791
+ };
23792
+ };
23793
+ 400: {
23794
+ headers: {
23795
+ [name: string]: unknown;
23796
+ };
23797
+ content: {
23798
+ "application/json": components["schemas"]["ErrorResponse"];
23799
+ };
23800
+ };
23801
+ 401: {
23802
+ headers: {
23803
+ [name: string]: unknown;
23804
+ };
23805
+ content: {
23806
+ "application/json": components["schemas"]["ErrorResponse"];
23807
+ };
23808
+ };
23809
+ 403: {
23810
+ headers: {
23811
+ [name: string]: unknown;
23812
+ };
23813
+ content: {
23814
+ "application/json": components["schemas"]["ErrorResponse"];
23815
+ };
23816
+ };
23817
+ 404: {
23818
+ headers: {
23819
+ [name: string]: unknown;
23820
+ };
23821
+ content: {
23822
+ "application/json": components["schemas"]["ErrorResponse"];
23823
+ };
23824
+ };
23825
+ 500: {
23826
+ headers: {
23827
+ [name: string]: unknown;
23828
+ };
23829
+ content: {
23830
+ "application/json": components["schemas"]["ErrorResponse"];
23831
+ };
23832
+ };
23833
+ };
23834
+ };
23835
+ deleteFeeProfile: {
23836
+ parameters: {
23837
+ query?: never;
23838
+ header?: {
23839
+ "Idempotency-Key"?: string;
23840
+ };
23841
+ path: {
23335
23842
  profileId: string;
23336
23843
  };
23337
- cookie?: never;
23338
- };
23339
- requestBody?: {
23340
- content: {
23341
- "application/json": {
23342
- name?: string;
23343
- serviceFeeEnabled?: boolean;
23344
- serviceFeePercent?: number;
23345
- serviceFeeFixed?: number;
23346
- serviceFeeLabel?: string;
23347
- feeEarnerAccountId?: string | null;
23844
+ cookie?: never;
23845
+ };
23846
+ requestBody?: never;
23847
+ responses: {
23848
+ 200: {
23849
+ headers: {
23850
+ [name: string]: unknown;
23851
+ };
23852
+ content: {
23853
+ "application/json": components["schemas"]["DeleteFeeProfileResponse"];
23854
+ };
23855
+ };
23856
+ 400: {
23857
+ headers: {
23858
+ [name: string]: unknown;
23859
+ };
23860
+ content: {
23861
+ "application/json": components["schemas"]["ErrorResponse"];
23862
+ };
23863
+ };
23864
+ 401: {
23865
+ headers: {
23866
+ [name: string]: unknown;
23867
+ };
23868
+ content: {
23869
+ "application/json": components["schemas"]["ErrorResponse"];
23870
+ };
23871
+ };
23872
+ 403: {
23873
+ headers: {
23874
+ [name: string]: unknown;
23875
+ };
23876
+ content: {
23877
+ "application/json": components["schemas"]["ErrorResponse"];
23878
+ };
23879
+ };
23880
+ 404: {
23881
+ headers: {
23882
+ [name: string]: unknown;
23883
+ };
23884
+ content: {
23885
+ "application/json": components["schemas"]["ErrorResponse"];
23886
+ };
23887
+ };
23888
+ 500: {
23889
+ headers: {
23890
+ [name: string]: unknown;
23891
+ };
23892
+ content: {
23893
+ "application/json": components["schemas"]["ErrorResponse"];
23894
+ };
23895
+ };
23896
+ };
23897
+ };
23898
+ updateFeeProfile: {
23899
+ parameters: {
23900
+ query?: never;
23901
+ header?: {
23902
+ "Idempotency-Key"?: string;
23903
+ };
23904
+ path: {
23905
+ profileId: string;
23906
+ };
23907
+ cookie?: never;
23908
+ };
23909
+ requestBody?: {
23910
+ content: {
23911
+ "application/json": {
23912
+ name?: string;
23913
+ serviceFeeEnabled?: boolean;
23914
+ serviceFeePercent?: number;
23915
+ serviceFeeFixed?: number;
23916
+ serviceFeeLabel?: string;
23917
+ feeEarnerAccountId?: string | null;
23918
+ rules?: components["schemas"]["FeeRule"][];
23919
+ };
23920
+ };
23921
+ };
23922
+ responses: {
23923
+ 200: {
23924
+ headers: {
23925
+ [name: string]: unknown;
23926
+ };
23927
+ content: {
23928
+ "application/json": components["schemas"]["FeeProfileResponse"];
23929
+ };
23930
+ };
23931
+ 400: {
23932
+ headers: {
23933
+ [name: string]: unknown;
23934
+ };
23935
+ content: {
23936
+ "application/json": components["schemas"]["ErrorResponse"];
23937
+ };
23938
+ };
23939
+ 401: {
23940
+ headers: {
23941
+ [name: string]: unknown;
23942
+ };
23943
+ content: {
23944
+ "application/json": components["schemas"]["ErrorResponse"];
23945
+ };
23946
+ };
23947
+ 403: {
23948
+ headers: {
23949
+ [name: string]: unknown;
23950
+ };
23951
+ content: {
23952
+ "application/json": components["schemas"]["ErrorResponse"];
23953
+ };
23954
+ };
23955
+ 404: {
23956
+ headers: {
23957
+ [name: string]: unknown;
23958
+ };
23959
+ content: {
23960
+ "application/json": components["schemas"]["ErrorResponse"];
23961
+ };
23962
+ };
23963
+ 500: {
23964
+ headers: {
23965
+ [name: string]: unknown;
23966
+ };
23967
+ content: {
23968
+ "application/json": components["schemas"]["ErrorResponse"];
23969
+ };
23970
+ };
23971
+ };
23972
+ };
23973
+ listBrands: {
23974
+ parameters: {
23975
+ query?: never;
23976
+ header?: never;
23977
+ path?: never;
23978
+ cookie?: never;
23979
+ };
23980
+ requestBody?: never;
23981
+ responses: {
23982
+ 200: {
23983
+ headers: {
23984
+ [name: string]: unknown;
23985
+ };
23986
+ content: {
23987
+ "application/json": components["schemas"]["BrandListResponse"];
23988
+ };
23989
+ };
23990
+ 400: {
23991
+ headers: {
23992
+ [name: string]: unknown;
23993
+ };
23994
+ content: {
23995
+ "application/json": components["schemas"]["ErrorResponse"];
23996
+ };
23997
+ };
23998
+ 401: {
23999
+ headers: {
24000
+ [name: string]: unknown;
24001
+ };
24002
+ content: {
24003
+ "application/json": components["schemas"]["ErrorResponse"];
24004
+ };
24005
+ };
24006
+ 403: {
24007
+ headers: {
24008
+ [name: string]: unknown;
24009
+ };
24010
+ content: {
24011
+ "application/json": components["schemas"]["ErrorResponse"];
24012
+ };
24013
+ };
24014
+ 404: {
24015
+ headers: {
24016
+ [name: string]: unknown;
24017
+ };
24018
+ content: {
24019
+ "application/json": components["schemas"]["ErrorResponse"];
24020
+ };
24021
+ };
24022
+ 500: {
24023
+ headers: {
24024
+ [name: string]: unknown;
24025
+ };
24026
+ content: {
24027
+ "application/json": components["schemas"]["ErrorResponse"];
24028
+ };
24029
+ };
24030
+ };
24031
+ };
24032
+ createBrand: {
24033
+ parameters: {
24034
+ query?: never;
24035
+ header?: {
24036
+ "Idempotency-Key"?: string;
24037
+ };
24038
+ path?: never;
24039
+ cookie?: never;
24040
+ };
24041
+ requestBody?: {
24042
+ content: {
24043
+ "application/json": {
24044
+ name: string;
24045
+ accountId?: string;
24046
+ description?: string;
24047
+ extendsBrandId?: string;
24048
+ isBaseBrand?: boolean;
24049
+ isActive?: boolean;
24050
+ brand?: components["schemas"]["BrandIdentityInput"];
24051
+ colors?: components["schemas"]["ThemeColorsInput"];
24052
+ typography?: components["schemas"]["ThemeTypographyInput"];
24053
+ shape?: components["schemas"]["ThemeShapeInput"];
24054
+ design?: components["schemas"]["ThemeDesignInput"];
24055
+ };
24056
+ };
24057
+ };
24058
+ responses: {
24059
+ 201: {
24060
+ headers: {
24061
+ [name: string]: unknown;
24062
+ };
24063
+ content: {
24064
+ "application/json": components["schemas"]["BrandResponse"];
24065
+ };
24066
+ };
24067
+ 400: {
24068
+ headers: {
24069
+ [name: string]: unknown;
24070
+ };
24071
+ content: {
24072
+ "application/json": components["schemas"]["ErrorResponse"];
24073
+ };
24074
+ };
24075
+ 401: {
24076
+ headers: {
24077
+ [name: string]: unknown;
24078
+ };
24079
+ content: {
24080
+ "application/json": components["schemas"]["ErrorResponse"];
24081
+ };
24082
+ };
24083
+ 403: {
24084
+ headers: {
24085
+ [name: string]: unknown;
24086
+ };
24087
+ content: {
24088
+ "application/json": components["schemas"]["ErrorResponse"];
24089
+ };
24090
+ };
24091
+ 404: {
24092
+ headers: {
24093
+ [name: string]: unknown;
24094
+ };
24095
+ content: {
24096
+ "application/json": components["schemas"]["ErrorResponse"];
24097
+ };
24098
+ };
24099
+ 500: {
24100
+ headers: {
24101
+ [name: string]: unknown;
24102
+ };
24103
+ content: {
24104
+ "application/json": components["schemas"]["ErrorResponse"];
23348
24105
  };
23349
24106
  };
23350
24107
  };
24108
+ };
24109
+ getBrand: {
24110
+ parameters: {
24111
+ query?: never;
24112
+ header?: never;
24113
+ path: {
24114
+ id: string;
24115
+ };
24116
+ cookie?: never;
24117
+ };
24118
+ requestBody?: never;
23351
24119
  responses: {
23352
24120
  200: {
23353
24121
  headers: {
23354
24122
  [name: string]: unknown;
23355
24123
  };
23356
24124
  content: {
23357
- "application/json": components["schemas"]["FeeProfileResponse"];
24125
+ "application/json": components["schemas"]["BrandResponse"];
23358
24126
  };
23359
24127
  };
23360
24128
  400: {
@@ -23399,11 +24167,15 @@ export interface operations {
23399
24167
  };
23400
24168
  };
23401
24169
  };
23402
- listBrands: {
24170
+ deleteBrand: {
23403
24171
  parameters: {
23404
24172
  query?: never;
23405
- header?: never;
23406
- path?: never;
24173
+ header?: {
24174
+ "Idempotency-Key"?: string;
24175
+ };
24176
+ path: {
24177
+ id: string;
24178
+ };
23407
24179
  cookie?: never;
23408
24180
  };
23409
24181
  requestBody?: never;
@@ -23413,7 +24185,7 @@ export interface operations {
23413
24185
  [name: string]: unknown;
23414
24186
  };
23415
24187
  content: {
23416
- "application/json": components["schemas"]["BrandListResponse"];
24188
+ "application/json": components["schemas"]["DeleteBrandResponse"];
23417
24189
  };
23418
24190
  };
23419
24191
  400: {
@@ -23458,34 +24230,35 @@ export interface operations {
23458
24230
  };
23459
24231
  };
23460
24232
  };
23461
- createBrand: {
24233
+ updateBrand: {
23462
24234
  parameters: {
23463
24235
  query?: never;
23464
24236
  header?: {
23465
24237
  "Idempotency-Key"?: string;
23466
24238
  };
23467
- path?: never;
24239
+ path: {
24240
+ id: string;
24241
+ };
23468
24242
  cookie?: never;
23469
24243
  };
23470
24244
  requestBody?: {
23471
24245
  content: {
23472
24246
  "application/json": {
23473
- name: string;
23474
- accountId?: string;
23475
- description?: string;
23476
- extendsBrandId?: string;
24247
+ name?: string;
24248
+ description?: string | null;
24249
+ extendsBrandId?: string | null;
23477
24250
  isBaseBrand?: boolean;
23478
24251
  isActive?: boolean;
23479
24252
  brand?: components["schemas"]["BrandIdentityInput"];
23480
24253
  colors?: components["schemas"]["ThemeColorsInput"];
23481
24254
  typography?: components["schemas"]["ThemeTypographyInput"];
23482
24255
  shape?: components["schemas"]["ThemeShapeInput"];
23483
- design?: components["schemas"]["ThemeDesignInput"];
24256
+ design?: components["schemas"]["ThemeDesignInput"] & (Record<string, never> | null);
23484
24257
  };
23485
24258
  };
23486
24259
  };
23487
24260
  responses: {
23488
- 201: {
24261
+ 200: {
23489
24262
  headers: {
23490
24263
  [name: string]: unknown;
23491
24264
  };
@@ -23535,7 +24308,7 @@ export interface operations {
23535
24308
  };
23536
24309
  };
23537
24310
  };
23538
- getBrand: {
24311
+ getResolvedBrand: {
23539
24312
  parameters: {
23540
24313
  query?: never;
23541
24314
  header?: never;
@@ -23551,7 +24324,7 @@ export interface operations {
23551
24324
  [name: string]: unknown;
23552
24325
  };
23553
24326
  content: {
23554
- "application/json": components["schemas"]["BrandResponse"];
24327
+ "application/json": components["schemas"]["ResolvedBrandResponse"];
23555
24328
  };
23556
24329
  };
23557
24330
  400: {
@@ -23596,12 +24369,144 @@ export interface operations {
23596
24369
  };
23597
24370
  };
23598
24371
  };
23599
- deleteBrand: {
24372
+ listTagDefinitions: {
24373
+ parameters: {
24374
+ query?: {
24375
+ kind?: components["schemas"]["TagKind"];
24376
+ appliesTo?: components["schemas"]["TagTarget"];
24377
+ includeArchived?: "true" | "false";
24378
+ };
24379
+ header?: never;
24380
+ path?: never;
24381
+ cookie?: never;
24382
+ };
24383
+ requestBody?: never;
24384
+ responses: {
24385
+ 200: {
24386
+ headers: {
24387
+ [name: string]: unknown;
24388
+ };
24389
+ content: {
24390
+ "application/json": components["schemas"]["TagDefinitionListResponse"];
24391
+ };
24392
+ };
24393
+ 400: {
24394
+ headers: {
24395
+ [name: string]: unknown;
24396
+ };
24397
+ content: {
24398
+ "application/json": components["schemas"]["ErrorResponse"];
24399
+ };
24400
+ };
24401
+ 401: {
24402
+ headers: {
24403
+ [name: string]: unknown;
24404
+ };
24405
+ content: {
24406
+ "application/json": components["schemas"]["ErrorResponse"];
24407
+ };
24408
+ };
24409
+ 403: {
24410
+ headers: {
24411
+ [name: string]: unknown;
24412
+ };
24413
+ content: {
24414
+ "application/json": components["schemas"]["ErrorResponse"];
24415
+ };
24416
+ };
24417
+ 404: {
24418
+ headers: {
24419
+ [name: string]: unknown;
24420
+ };
24421
+ content: {
24422
+ "application/json": components["schemas"]["ErrorResponse"];
24423
+ };
24424
+ };
24425
+ 500: {
24426
+ headers: {
24427
+ [name: string]: unknown;
24428
+ };
24429
+ content: {
24430
+ "application/json": components["schemas"]["ErrorResponse"];
24431
+ };
24432
+ };
24433
+ };
24434
+ };
24435
+ createTagDefinition: {
23600
24436
  parameters: {
23601
24437
  query?: never;
23602
24438
  header?: {
23603
24439
  "Idempotency-Key"?: string;
23604
24440
  };
24441
+ path?: never;
24442
+ cookie?: never;
24443
+ };
24444
+ requestBody?: {
24445
+ content: {
24446
+ "application/json": components["schemas"]["CreateTagDefinitionRequest"];
24447
+ };
24448
+ };
24449
+ responses: {
24450
+ 201: {
24451
+ headers: {
24452
+ [name: string]: unknown;
24453
+ };
24454
+ content: {
24455
+ "application/json": components["schemas"]["TagDefinitionResponse"];
24456
+ };
24457
+ };
24458
+ 400: {
24459
+ headers: {
24460
+ [name: string]: unknown;
24461
+ };
24462
+ content: {
24463
+ "application/json": components["schemas"]["ErrorResponse"];
24464
+ };
24465
+ };
24466
+ 401: {
24467
+ headers: {
24468
+ [name: string]: unknown;
24469
+ };
24470
+ content: {
24471
+ "application/json": components["schemas"]["ErrorResponse"];
24472
+ };
24473
+ };
24474
+ 403: {
24475
+ headers: {
24476
+ [name: string]: unknown;
24477
+ };
24478
+ content: {
24479
+ "application/json": components["schemas"]["ErrorResponse"];
24480
+ };
24481
+ };
24482
+ 404: {
24483
+ headers: {
24484
+ [name: string]: unknown;
24485
+ };
24486
+ content: {
24487
+ "application/json": components["schemas"]["ErrorResponse"];
24488
+ };
24489
+ };
24490
+ 409: {
24491
+ headers: {
24492
+ [name: string]: unknown;
24493
+ };
24494
+ content?: never;
24495
+ };
24496
+ 500: {
24497
+ headers: {
24498
+ [name: string]: unknown;
24499
+ };
24500
+ content: {
24501
+ "application/json": components["schemas"]["ErrorResponse"];
24502
+ };
24503
+ };
24504
+ };
24505
+ };
24506
+ getTagDefinition: {
24507
+ parameters: {
24508
+ query?: never;
24509
+ header?: never;
23605
24510
  path: {
23606
24511
  id: string;
23607
24512
  };
@@ -23614,7 +24519,7 @@ export interface operations {
23614
24519
  [name: string]: unknown;
23615
24520
  };
23616
24521
  content: {
23617
- "application/json": components["schemas"]["DeleteBrandResponse"];
24522
+ "application/json": components["schemas"]["TagDefinitionResponse"];
23618
24523
  };
23619
24524
  };
23620
24525
  400: {
@@ -23659,7 +24564,7 @@ export interface operations {
23659
24564
  };
23660
24565
  };
23661
24566
  };
23662
- updateBrand: {
24567
+ archiveTagDefinition: {
23663
24568
  parameters: {
23664
24569
  query?: never;
23665
24570
  header?: {
@@ -23670,29 +24575,14 @@ export interface operations {
23670
24575
  };
23671
24576
  cookie?: never;
23672
24577
  };
23673
- requestBody?: {
23674
- content: {
23675
- "application/json": {
23676
- name?: string;
23677
- description?: string | null;
23678
- extendsBrandId?: string | null;
23679
- isBaseBrand?: boolean;
23680
- isActive?: boolean;
23681
- brand?: components["schemas"]["BrandIdentityInput"];
23682
- colors?: components["schemas"]["ThemeColorsInput"];
23683
- typography?: components["schemas"]["ThemeTypographyInput"];
23684
- shape?: components["schemas"]["ThemeShapeInput"];
23685
- design?: components["schemas"]["ThemeDesignInput"] & (Record<string, never> | null);
23686
- };
23687
- };
23688
- };
24578
+ requestBody?: never;
23689
24579
  responses: {
23690
24580
  200: {
23691
24581
  headers: {
23692
24582
  [name: string]: unknown;
23693
24583
  };
23694
24584
  content: {
23695
- "application/json": components["schemas"]["BrandResponse"];
24585
+ "application/json": components["schemas"]["TagDefinitionResponse"];
23696
24586
  };
23697
24587
  };
23698
24588
  400: {
@@ -23737,23 +24627,29 @@ export interface operations {
23737
24627
  };
23738
24628
  };
23739
24629
  };
23740
- getResolvedBrand: {
24630
+ updateTagDefinition: {
23741
24631
  parameters: {
23742
24632
  query?: never;
23743
- header?: never;
24633
+ header?: {
24634
+ "Idempotency-Key"?: string;
24635
+ };
23744
24636
  path: {
23745
24637
  id: string;
23746
24638
  };
23747
24639
  cookie?: never;
23748
24640
  };
23749
- requestBody?: never;
24641
+ requestBody?: {
24642
+ content: {
24643
+ "application/json": components["schemas"]["UpdateTagDefinitionRequest"];
24644
+ };
24645
+ };
23750
24646
  responses: {
23751
24647
  200: {
23752
24648
  headers: {
23753
24649
  [name: string]: unknown;
23754
24650
  };
23755
24651
  content: {
23756
- "application/json": components["schemas"]["ResolvedBrandResponse"];
24652
+ "application/json": components["schemas"]["TagDefinitionResponse"];
23757
24653
  };
23758
24654
  };
23759
24655
  400: {
@@ -23798,11 +24694,10 @@ export interface operations {
23798
24694
  };
23799
24695
  };
23800
24696
  };
23801
- listTagDefinitions: {
24697
+ listCodes: {
23802
24698
  parameters: {
23803
24699
  query?: {
23804
- kind?: components["schemas"]["TagKind"];
23805
- appliesTo?: components["schemas"]["TagTarget"];
24700
+ search?: string;
23806
24701
  includeArchived?: "true" | "false";
23807
24702
  };
23808
24703
  header?: never;
@@ -23816,7 +24711,7 @@ export interface operations {
23816
24711
  [name: string]: unknown;
23817
24712
  };
23818
24713
  content: {
23819
- "application/json": components["schemas"]["TagDefinitionListResponse"];
24714
+ "application/json": components["schemas"]["CodeListResponse"];
23820
24715
  };
23821
24716
  };
23822
24717
  400: {
@@ -23861,7 +24756,7 @@ export interface operations {
23861
24756
  };
23862
24757
  };
23863
24758
  };
23864
- createTagDefinition: {
24759
+ createCode: {
23865
24760
  parameters: {
23866
24761
  query?: never;
23867
24762
  header?: {
@@ -23872,7 +24767,7 @@ export interface operations {
23872
24767
  };
23873
24768
  requestBody?: {
23874
24769
  content: {
23875
- "application/json": components["schemas"]["CreateTagDefinitionRequest"];
24770
+ "application/json": components["schemas"]["CreateCodeRequest"];
23876
24771
  };
23877
24772
  };
23878
24773
  responses: {
@@ -23881,7 +24776,7 @@ export interface operations {
23881
24776
  [name: string]: unknown;
23882
24777
  };
23883
24778
  content: {
23884
- "application/json": components["schemas"]["TagDefinitionResponse"];
24779
+ "application/json": components["schemas"]["CodeResponse"];
23885
24780
  };
23886
24781
  };
23887
24782
  400: {
@@ -23932,12 +24827,12 @@ export interface operations {
23932
24827
  };
23933
24828
  };
23934
24829
  };
23935
- getTagDefinition: {
24830
+ getCode: {
23936
24831
  parameters: {
23937
24832
  query?: never;
23938
24833
  header?: never;
23939
24834
  path: {
23940
- id: string;
24835
+ codeId: string;
23941
24836
  };
23942
24837
  cookie?: never;
23943
24838
  };
@@ -23948,7 +24843,7 @@ export interface operations {
23948
24843
  [name: string]: unknown;
23949
24844
  };
23950
24845
  content: {
23951
- "application/json": components["schemas"]["TagDefinitionResponse"];
24846
+ "application/json": components["schemas"]["CodeResponse"];
23952
24847
  };
23953
24848
  };
23954
24849
  400: {
@@ -23993,14 +24888,14 @@ export interface operations {
23993
24888
  };
23994
24889
  };
23995
24890
  };
23996
- archiveTagDefinition: {
24891
+ archiveCode: {
23997
24892
  parameters: {
23998
24893
  query?: never;
23999
24894
  header?: {
24000
24895
  "Idempotency-Key"?: string;
24001
24896
  };
24002
24897
  path: {
24003
- id: string;
24898
+ codeId: string;
24004
24899
  };
24005
24900
  cookie?: never;
24006
24901
  };
@@ -24011,7 +24906,7 @@ export interface operations {
24011
24906
  [name: string]: unknown;
24012
24907
  };
24013
24908
  content: {
24014
- "application/json": components["schemas"]["TagDefinitionResponse"];
24909
+ "application/json": components["schemas"]["CodeResponse"];
24015
24910
  };
24016
24911
  };
24017
24912
  400: {
@@ -24056,20 +24951,20 @@ export interface operations {
24056
24951
  };
24057
24952
  };
24058
24953
  };
24059
- updateTagDefinition: {
24954
+ updateCode: {
24060
24955
  parameters: {
24061
24956
  query?: never;
24062
24957
  header?: {
24063
24958
  "Idempotency-Key"?: string;
24064
24959
  };
24065
24960
  path: {
24066
- id: string;
24961
+ codeId: string;
24067
24962
  };
24068
24963
  cookie?: never;
24069
24964
  };
24070
24965
  requestBody?: {
24071
24966
  content: {
24072
- "application/json": components["schemas"]["UpdateTagDefinitionRequest"];
24967
+ "application/json": components["schemas"]["UpdateCodeRequest"];
24073
24968
  };
24074
24969
  };
24075
24970
  responses: {
@@ -24078,7 +24973,7 @@ export interface operations {
24078
24973
  [name: string]: unknown;
24079
24974
  };
24080
24975
  content: {
24081
- "application/json": components["schemas"]["TagDefinitionResponse"];
24976
+ "application/json": components["schemas"]["CodeResponse"];
24082
24977
  };
24083
24978
  };
24084
24979
  400: {