@connectedxm/admin-sdk 10.9.0 → 10.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/.openapi-generator/FILES +14 -0
  2. package/AdminApi.ts +3 -0
  3. package/README.md +2 -2
  4. package/api.ts +1260 -14
  5. package/base.ts +1 -1
  6. package/common.ts +1 -1
  7. package/configuration.ts +1 -1
  8. package/dist/AdminApi.d.ts +2 -1
  9. package/dist/AdminApi.js +1 -0
  10. package/dist/api.d.ts +682 -5
  11. package/dist/api.js +922 -29
  12. package/dist/base.d.ts +1 -1
  13. package/dist/base.js +1 -1
  14. package/dist/common.d.ts +1 -1
  15. package/dist/common.js +1 -1
  16. package/dist/configuration.d.ts +1 -1
  17. package/dist/configuration.js +1 -1
  18. package/dist/esm/AdminApi.d.ts +2 -1
  19. package/dist/esm/AdminApi.js +2 -1
  20. package/dist/esm/api.d.ts +682 -5
  21. package/dist/esm/api.js +890 -1
  22. package/dist/esm/base.d.ts +1 -1
  23. package/dist/esm/base.js +1 -1
  24. package/dist/esm/common.d.ts +1 -1
  25. package/dist/esm/common.js +1 -1
  26. package/dist/esm/configuration.d.ts +1 -1
  27. package/dist/esm/configuration.js +1 -1
  28. package/docs/BadgeColorRuleType.md +12 -0
  29. package/docs/BaseEventOnSiteBadgeColorRule.md +36 -0
  30. package/docs/BaseOrganizationEntity.md +30 -0
  31. package/docs/CreateEventBadgeColorRule200Response.md +24 -0
  32. package/docs/CreateOrganizationEntity200Response.md +24 -0
  33. package/docs/EventBadgeColorRuleCreateInputs.md +34 -0
  34. package/docs/EventBadgeColorRuleUpdateInputs.md +34 -0
  35. package/docs/EventOnSiteBadgeColorRule.md +46 -0
  36. package/docs/EventPassCreateInputs.md +0 -2
  37. package/docs/EventPassUpdateInputs.md +0 -2
  38. package/docs/EventsOnSiteApi.md +289 -0
  39. package/docs/GetEventBadgeColorRules200Response.md +26 -0
  40. package/docs/GetOrganizationEntities200Response.md +26 -0
  41. package/docs/OrganizationEntitiesApi.md +333 -0
  42. package/docs/OrganizationEntity.md +54 -0
  43. package/docs/OrganizationEntityCreateInputs.md +44 -0
  44. package/docs/OrganizationEntityUpdateInputs.md +44 -0
  45. package/docs/PassTypeCreateInputs.md +0 -2
  46. package/docs/PassTypeUpdateInputs.md +0 -2
  47. package/package.json +1 -1
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Connected Admin API
5
5
  * The Admin API allows you to manage your Connected community programmatically.
6
6
  *
7
- * The version of the OpenAPI document: 10.9.0
7
+ * The version of the OpenAPI document: 10.11.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -739,6 +739,14 @@ export interface AuthorizeNetActivationFormParams {
739
739
  'currencyCode': string;
740
740
  'name': string;
741
741
  }
742
+
743
+ export enum BadgeColorRuleType {
744
+ Attribute = 'attribute',
745
+ Tier = 'tier',
746
+ PassType = 'passType'
747
+ }
748
+
749
+
742
750
  export interface BarChartSummaryData {
743
751
  'type': BarChartSummaryDataTypeEnum;
744
752
  'data': Array<BarChartSummaryDataDataInner>;
@@ -1358,6 +1366,19 @@ export interface BaseEventOnSite {
1358
1366
  'createdAt': string;
1359
1367
  'updatedAt': string;
1360
1368
  }
1369
+ export interface BaseEventOnSiteBadgeColorRule {
1370
+ 'id': string;
1371
+ 'name': string;
1372
+ 'type': BadgeColorRuleType;
1373
+ 'color': string;
1374
+ 'sortOrder': number;
1375
+ 'attributeId': string | null;
1376
+ 'attributeValue': string | null;
1377
+ 'tierId': string | null;
1378
+ 'passTypeId': string | null;
1379
+ }
1380
+
1381
+
1361
1382
  export interface BaseEventPackage {
1362
1383
  'id': string;
1363
1384
  'name': string;
@@ -1996,6 +2017,14 @@ export interface BaseOrganization {
1996
2017
  'domain': string | null;
1997
2018
  'locale': string;
1998
2019
  }
2020
+ export interface BaseOrganizationEntity {
2021
+ 'id': string;
2022
+ 'legalName': string;
2023
+ 'tradingName': string | null;
2024
+ 'primary': boolean | null;
2025
+ 'vatNumber': string | null;
2026
+ 'vatCountry': string | null;
2027
+ }
1999
2028
  export interface BaseOrganizationModule {
2000
2029
  'id': string;
2001
2030
  'moduleType': OrganizationModuleType;
@@ -3956,6 +3985,16 @@ export enum CreateEventAttribute200ResponseStatusEnum {
3956
3985
  Ok = 'ok'
3957
3986
  }
3958
3987
 
3988
+ export interface CreateEventBadgeColorRule200Response {
3989
+ 'status': CreateEventBadgeColorRule200ResponseStatusEnum;
3990
+ 'message': string;
3991
+ 'data': EventOnSiteBadgeColorRule;
3992
+ }
3993
+
3994
+ export enum CreateEventBadgeColorRule200ResponseStatusEnum {
3995
+ Ok = 'ok'
3996
+ }
3997
+
3959
3998
  export interface CreateEventBlock200Response {
3960
3999
  'status': CreateEventBlock200ResponseStatusEnum;
3961
4000
  'message': string;
@@ -4364,6 +4403,16 @@ export enum CreateMeetingLink200ResponseStatusEnum {
4364
4403
  Ok = 'ok'
4365
4404
  }
4366
4405
 
4406
+ export interface CreateOrganizationEntity200Response {
4407
+ 'status': CreateOrganizationEntity200ResponseStatusEnum;
4408
+ 'message': string;
4409
+ 'data': OrganizationEntity;
4410
+ }
4411
+
4412
+ export enum CreateOrganizationEntity200ResponseStatusEnum {
4413
+ Ok = 'ok'
4414
+ }
4415
+
4367
4416
  export interface CreateOrganizationPaymentIntegration200Response {
4368
4417
  'status': CreateOrganizationPaymentIntegration200ResponseStatusEnum;
4369
4418
  'message': string;
@@ -5155,6 +5204,30 @@ export interface EventAttributeCreateInputs {
5155
5204
  export interface EventAttributeUpdateInputs {
5156
5205
  'name'?: string | null;
5157
5206
  }
5207
+ export interface EventBadgeColorRuleCreateInputs {
5208
+ 'name': string;
5209
+ 'type': BadgeColorRuleType;
5210
+ 'color': string;
5211
+ 'sortOrder'?: number;
5212
+ 'attributeId'?: string | null;
5213
+ 'attributeValue'?: string | null;
5214
+ 'tierId'?: string | null;
5215
+ 'passTypeId'?: string | null;
5216
+ }
5217
+
5218
+
5219
+ export interface EventBadgeColorRuleUpdateInputs {
5220
+ 'name'?: string;
5221
+ 'type'?: BadgeColorRuleType;
5222
+ 'color'?: string;
5223
+ 'sortOrder'?: number;
5224
+ 'attributeId'?: string | null;
5225
+ 'attributeValue'?: string | null;
5226
+ 'tierId'?: string | null;
5227
+ 'passTypeId'?: string | null;
5228
+ }
5229
+
5230
+
5158
5231
  export interface EventBlock {
5159
5232
  'id': string;
5160
5233
  'name': string;
@@ -5433,6 +5506,24 @@ export interface EventOnSite {
5433
5506
  'createdAt': string;
5434
5507
  'updatedAt': string;
5435
5508
  }
5509
+ export interface EventOnSiteBadgeColorRule {
5510
+ 'id': string;
5511
+ 'name': string;
5512
+ 'type': BadgeColorRuleType;
5513
+ 'color': string;
5514
+ 'sortOrder': number;
5515
+ 'attributeId': string | null;
5516
+ 'attributeValue': string | null;
5517
+ 'tierId': string | null;
5518
+ 'passTypeId': string | null;
5519
+ 'attribute': BaseAccountAttribute | null;
5520
+ 'tier': BaseTier | null;
5521
+ 'passType': BaseEventPassType | null;
5522
+ 'createdAt': string;
5523
+ 'updatedAt': string;
5524
+ }
5525
+
5526
+
5436
5527
  export interface EventPackage {
5437
5528
  'id': string;
5438
5529
  'name': string;
@@ -5582,7 +5673,6 @@ export interface EventPassCreateInputs {
5582
5673
  'location'?: string | null;
5583
5674
  'ticketId'?: string | null;
5584
5675
  'usedAt'?: string | null;
5585
- 'badgeColor'?: string | null;
5586
5676
  }
5587
5677
 
5588
5678
 
@@ -5680,7 +5770,6 @@ export interface EventPassUpdateInputs {
5680
5770
  'ticketId'?: string | null;
5681
5771
  'couponId'?: string | null;
5682
5772
  'usedAt'?: string | null;
5683
- 'badgeColor'?: string | null;
5684
5773
  }
5685
5774
 
5686
5775
 
@@ -7823,6 +7912,17 @@ export enum GetEventAttributes200ResponseStatusEnum {
7823
7912
  Ok = 'ok'
7824
7913
  }
7825
7914
 
7915
+ export interface GetEventBadgeColorRules200Response {
7916
+ 'status': GetEventBadgeColorRules200ResponseStatusEnum;
7917
+ 'message': string;
7918
+ 'data': Array<EventOnSiteBadgeColorRule>;
7919
+ 'count'?: number;
7920
+ }
7921
+
7922
+ export enum GetEventBadgeColorRules200ResponseStatusEnum {
7923
+ Ok = 'ok'
7924
+ }
7925
+
7826
7926
  export interface GetEventBlocks200Response {
7827
7927
  'status': GetEventBlocks200ResponseStatusEnum;
7828
7928
  'message': string;
@@ -9429,6 +9529,17 @@ export enum GetOrganizationDomain200ResponseStatusEnum {
9429
9529
  Ok = 'ok'
9430
9530
  }
9431
9531
 
9532
+ export interface GetOrganizationEntities200Response {
9533
+ 'status': GetOrganizationEntities200ResponseStatusEnum;
9534
+ 'message': string;
9535
+ 'data': Array<OrganizationEntity>;
9536
+ 'count'?: number;
9537
+ }
9538
+
9539
+ export enum GetOrganizationEntities200ResponseStatusEnum {
9540
+ Ok = 'ok'
9541
+ }
9542
+
9432
9543
  export interface GetOrganizationLanguageOverrides200Response {
9433
9544
  'status': GetOrganizationLanguageOverrides200ResponseStatusEnum;
9434
9545
  'message': string;
@@ -11514,6 +11625,56 @@ export enum OrganizationActionType {
11514
11625
  export interface OrganizationAllOfOAuth {
11515
11626
  'id': string;
11516
11627
  }
11628
+ export interface OrganizationEntity {
11629
+ 'id': string;
11630
+ 'legalName': string;
11631
+ 'tradingName': string | null;
11632
+ 'primary': boolean | null;
11633
+ 'vatNumber': string | null;
11634
+ 'vatCountry': string | null;
11635
+ 'companyNumber': string | null;
11636
+ 'address1': string;
11637
+ 'address2': string | null;
11638
+ 'city': string;
11639
+ 'state': string | null;
11640
+ 'country': string;
11641
+ 'zip': string;
11642
+ 'companyCode': string | null;
11643
+ 'invoicePrefix': string | null;
11644
+ 'invoiceSequence': number;
11645
+ 'createdAt': string;
11646
+ 'updatedAt': string;
11647
+ }
11648
+ export interface OrganizationEntityCreateInputs {
11649
+ 'legalName': string;
11650
+ 'tradingName'?: string | null;
11651
+ 'companyNumber'?: string | null;
11652
+ 'address1': string;
11653
+ 'address2'?: string | null;
11654
+ 'city': string;
11655
+ 'state'?: string | null;
11656
+ 'country': string;
11657
+ 'zip': string;
11658
+ 'vatNumber'?: string | null;
11659
+ 'vatCountry'?: string | null;
11660
+ 'companyCode'?: string | null;
11661
+ 'invoicePrefix'?: string | null;
11662
+ }
11663
+ export interface OrganizationEntityUpdateInputs {
11664
+ 'legalName'?: string | null;
11665
+ 'tradingName'?: string | null;
11666
+ 'companyNumber'?: string | null;
11667
+ 'address1'?: string | null;
11668
+ 'address2'?: string | null;
11669
+ 'city'?: string | null;
11670
+ 'state'?: string | null;
11671
+ 'country'?: string | null;
11672
+ 'zip'?: string | null;
11673
+ 'vatNumber'?: string | null;
11674
+ 'vatCountry'?: string | null;
11675
+ 'companyCode'?: string | null;
11676
+ 'invoicePrefix'?: string | null;
11677
+ }
11517
11678
  export interface OrganizationLanguageOverride {
11518
11679
  'key': string;
11519
11680
  'values': { [key: string]: any; };
@@ -11923,7 +12084,6 @@ export interface PassTypeCreateInputs {
11923
12084
  'taxIncluded'?: boolean;
11924
12085
  'taxLocation'?: TaxLocationType;
11925
12086
  'printable'?: boolean;
11926
- 'badgeColor'?: string | null;
11927
12087
  'requiresApproval'?: boolean;
11928
12088
  }
11929
12089
 
@@ -12002,7 +12162,6 @@ export interface PassTypeUpdateInputs {
12002
12162
  'taxIncluded'?: boolean;
12003
12163
  'taxLocation'?: TaxLocationType;
12004
12164
  'printable'?: boolean;
12005
- 'badgeColor'?: string | null;
12006
12165
  'requiresApproval'?: boolean | null;
12007
12166
  }
12008
12167
 
@@ -57787,6 +57946,199 @@ export class EventsMediaTranslationsApi extends BaseAPI {
57787
57946
  */
57788
57947
  export const EventsOnSiteApiAxiosParamCreator = function (configuration?: Configuration) {
57789
57948
  return {
57949
+ /**
57950
+ * Creates a new on-site badge color rule for the given event. Omitting sortOrder appends the rule after the last existing one; requires the \"update\" permission on events.
57951
+ * @summary Create an event badge color rule
57952
+ * @param {string} eventId The event identifier
57953
+ * @param {EventBadgeColorRuleCreateInputs} eventBadgeColorRuleCreateInputs
57954
+ * @param {*} [options] Override http request option.
57955
+ * @throws {RequiredError}
57956
+ */
57957
+ createEventBadgeColorRule: async (eventId: string, eventBadgeColorRuleCreateInputs: EventBadgeColorRuleCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
57958
+ // verify required parameter 'eventId' is not null or undefined
57959
+ assertParamExists('createEventBadgeColorRule', 'eventId', eventId)
57960
+ // verify required parameter 'eventBadgeColorRuleCreateInputs' is not null or undefined
57961
+ assertParamExists('createEventBadgeColorRule', 'eventBadgeColorRuleCreateInputs', eventBadgeColorRuleCreateInputs)
57962
+ const localVarPath = `/events/{eventId}/on-site/badge-colors`
57963
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
57964
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
57965
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
57966
+ let baseOptions;
57967
+ if (configuration) {
57968
+ baseOptions = configuration.baseOptions;
57969
+ }
57970
+
57971
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
57972
+ const localVarHeaderParameter = {} as any;
57973
+ const localVarQueryParameter = {} as any;
57974
+
57975
+ // authentication ApiKeyAuth required
57976
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
57977
+
57978
+ // authentication OrganizationId required
57979
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
57980
+
57981
+ localVarHeaderParameter['Content-Type'] = 'application/json';
57982
+ localVarHeaderParameter['Accept'] = 'application/json';
57983
+
57984
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
57985
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
57986
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
57987
+ localVarRequestOptions.data = serializeDataIfNeeded(eventBadgeColorRuleCreateInputs, localVarRequestOptions, configuration)
57988
+
57989
+ return {
57990
+ url: toPathString(localVarUrlObj),
57991
+ options: localVarRequestOptions,
57992
+ };
57993
+ },
57994
+ /**
57995
+ * Permanently deletes the specified on-site badge color rule from the given event; requires the \"update\" permission on events.
57996
+ * @summary Delete an event badge color rule
57997
+ * @param {string} eventId The event identifier
57998
+ * @param {string} ruleId The rule identifier
57999
+ * @param {*} [options] Override http request option.
58000
+ * @throws {RequiredError}
58001
+ */
58002
+ deleteEventBadgeColorRule: async (eventId: string, ruleId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58003
+ // verify required parameter 'eventId' is not null or undefined
58004
+ assertParamExists('deleteEventBadgeColorRule', 'eventId', eventId)
58005
+ // verify required parameter 'ruleId' is not null or undefined
58006
+ assertParamExists('deleteEventBadgeColorRule', 'ruleId', ruleId)
58007
+ const localVarPath = `/events/{eventId}/on-site/badge-colors/{ruleId}`
58008
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
58009
+ .replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
58010
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
58011
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
58012
+ let baseOptions;
58013
+ if (configuration) {
58014
+ baseOptions = configuration.baseOptions;
58015
+ }
58016
+
58017
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
58018
+ const localVarHeaderParameter = {} as any;
58019
+ const localVarQueryParameter = {} as any;
58020
+
58021
+ // authentication ApiKeyAuth required
58022
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
58023
+
58024
+ // authentication OrganizationId required
58025
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
58026
+
58027
+ localVarHeaderParameter['Accept'] = 'application/json';
58028
+
58029
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
58030
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
58031
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
58032
+
58033
+ return {
58034
+ url: toPathString(localVarUrlObj),
58035
+ options: localVarRequestOptions,
58036
+ };
58037
+ },
58038
+ /**
58039
+ * Returns a single on-site badge color rule belonging to the given event; requires \"read\" permission on events.
58040
+ * @summary Get an event badge color rule
58041
+ * @param {string} eventId The event identifier
58042
+ * @param {string} ruleId The rule identifier
58043
+ * @param {*} [options] Override http request option.
58044
+ * @throws {RequiredError}
58045
+ */
58046
+ getEventBadgeColorRule: async (eventId: string, ruleId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58047
+ // verify required parameter 'eventId' is not null or undefined
58048
+ assertParamExists('getEventBadgeColorRule', 'eventId', eventId)
58049
+ // verify required parameter 'ruleId' is not null or undefined
58050
+ assertParamExists('getEventBadgeColorRule', 'ruleId', ruleId)
58051
+ const localVarPath = `/events/{eventId}/on-site/badge-colors/{ruleId}`
58052
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
58053
+ .replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
58054
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
58055
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
58056
+ let baseOptions;
58057
+ if (configuration) {
58058
+ baseOptions = configuration.baseOptions;
58059
+ }
58060
+
58061
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
58062
+ const localVarHeaderParameter = {} as any;
58063
+ const localVarQueryParameter = {} as any;
58064
+
58065
+ // authentication ApiKeyAuth required
58066
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
58067
+
58068
+ // authentication OrganizationId required
58069
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
58070
+
58071
+ localVarHeaderParameter['Accept'] = 'application/json';
58072
+
58073
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
58074
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
58075
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
58076
+
58077
+ return {
58078
+ url: toPathString(localVarUrlObj),
58079
+ options: localVarRequestOptions,
58080
+ };
58081
+ },
58082
+ /**
58083
+ * Returns a paginated list of on-site badge color rules configured for the given event, with optional search and sort order; requires \"read\" permission on events.
58084
+ * @summary List an event\'s badge color rules
58085
+ * @param {string} eventId The event identifier
58086
+ * @param {number} [page] Page number
58087
+ * @param {number} [pageSize] Number of items per page
58088
+ * @param {string} [orderBy] Field to order by
58089
+ * @param {string} [search] Search query
58090
+ * @param {*} [options] Override http request option.
58091
+ * @throws {RequiredError}
58092
+ */
58093
+ getEventBadgeColorRules: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58094
+ // verify required parameter 'eventId' is not null or undefined
58095
+ assertParamExists('getEventBadgeColorRules', 'eventId', eventId)
58096
+ const localVarPath = `/events/{eventId}/on-site/badge-colors`
58097
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
58098
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
58099
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
58100
+ let baseOptions;
58101
+ if (configuration) {
58102
+ baseOptions = configuration.baseOptions;
58103
+ }
58104
+
58105
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
58106
+ const localVarHeaderParameter = {} as any;
58107
+ const localVarQueryParameter = {} as any;
58108
+
58109
+ // authentication ApiKeyAuth required
58110
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
58111
+
58112
+ // authentication OrganizationId required
58113
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
58114
+
58115
+ if (page !== undefined) {
58116
+ localVarQueryParameter['page'] = page;
58117
+ }
58118
+
58119
+ if (pageSize !== undefined) {
58120
+ localVarQueryParameter['pageSize'] = pageSize;
58121
+ }
58122
+
58123
+ if (orderBy !== undefined) {
58124
+ localVarQueryParameter['orderBy'] = orderBy;
58125
+ }
58126
+
58127
+ if (search !== undefined) {
58128
+ localVarQueryParameter['search'] = search;
58129
+ }
58130
+
58131
+ localVarHeaderParameter['Accept'] = 'application/json';
58132
+
58133
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
58134
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
58135
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
58136
+
58137
+ return {
58138
+ url: toPathString(localVarUrlObj),
58139
+ options: localVarRequestOptions,
58140
+ };
58141
+ },
57790
58142
  /**
57791
58143
  * Returns the on-site check-in configuration for the given event, including its authentication code, or null if on-site check-in has not been set up yet; requires read access to events.
57792
58144
  * @summary Get an event\'s on-site check-in settings
@@ -57828,20 +58180,69 @@ export const EventsOnSiteApiAxiosParamCreator = function (configuration?: Config
57828
58180
  };
57829
58181
  },
57830
58182
  /**
57831
- * Replaces the on-site check-in badge template design for the given event, used to render printed attendee badges; requires read and update permission on events.
57832
- * @summary Update an event\'s badge template
58183
+ * Partially updates the specified on-site badge color rule. Changing type still nulls unused match branches on the backend, so send the new branch\'s ids when the type changes; requires the \"update\" permission on events.
58184
+ * @summary Update an event badge color rule
57833
58185
  * @param {string} eventId The event identifier
57834
- * @param {object} body
58186
+ * @param {string} ruleId The rule identifier
58187
+ * @param {EventBadgeColorRuleUpdateInputs} eventBadgeColorRuleUpdateInputs
57835
58188
  * @param {*} [options] Override http request option.
57836
58189
  * @throws {RequiredError}
57837
58190
  */
57838
- updateEventBadgeTemplate: async (eventId: string, body: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58191
+ updateEventBadgeColorRule: async (eventId: string, ruleId: string, eventBadgeColorRuleUpdateInputs: EventBadgeColorRuleUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
57839
58192
  // verify required parameter 'eventId' is not null or undefined
57840
- assertParamExists('updateEventBadgeTemplate', 'eventId', eventId)
57841
- // verify required parameter 'body' is not null or undefined
57842
- assertParamExists('updateEventBadgeTemplate', 'body', body)
57843
- const localVarPath = `/events/{eventId}/template`
57844
- .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
58193
+ assertParamExists('updateEventBadgeColorRule', 'eventId', eventId)
58194
+ // verify required parameter 'ruleId' is not null or undefined
58195
+ assertParamExists('updateEventBadgeColorRule', 'ruleId', ruleId)
58196
+ // verify required parameter 'eventBadgeColorRuleUpdateInputs' is not null or undefined
58197
+ assertParamExists('updateEventBadgeColorRule', 'eventBadgeColorRuleUpdateInputs', eventBadgeColorRuleUpdateInputs)
58198
+ const localVarPath = `/events/{eventId}/on-site/badge-colors/{ruleId}`
58199
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
58200
+ .replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
58201
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
58202
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
58203
+ let baseOptions;
58204
+ if (configuration) {
58205
+ baseOptions = configuration.baseOptions;
58206
+ }
58207
+
58208
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
58209
+ const localVarHeaderParameter = {} as any;
58210
+ const localVarQueryParameter = {} as any;
58211
+
58212
+ // authentication ApiKeyAuth required
58213
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
58214
+
58215
+ // authentication OrganizationId required
58216
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
58217
+
58218
+ localVarHeaderParameter['Content-Type'] = 'application/json';
58219
+ localVarHeaderParameter['Accept'] = 'application/json';
58220
+
58221
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
58222
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
58223
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
58224
+ localVarRequestOptions.data = serializeDataIfNeeded(eventBadgeColorRuleUpdateInputs, localVarRequestOptions, configuration)
58225
+
58226
+ return {
58227
+ url: toPathString(localVarUrlObj),
58228
+ options: localVarRequestOptions,
58229
+ };
58230
+ },
58231
+ /**
58232
+ * Replaces the on-site check-in badge template design for the given event, used to render printed attendee badges; requires read and update permission on events.
58233
+ * @summary Update an event\'s badge template
58234
+ * @param {string} eventId The event identifier
58235
+ * @param {object} body
58236
+ * @param {*} [options] Override http request option.
58237
+ * @throws {RequiredError}
58238
+ */
58239
+ updateEventBadgeTemplate: async (eventId: string, body: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58240
+ // verify required parameter 'eventId' is not null or undefined
58241
+ assertParamExists('updateEventBadgeTemplate', 'eventId', eventId)
58242
+ // verify required parameter 'body' is not null or undefined
58243
+ assertParamExists('updateEventBadgeTemplate', 'body', body)
58244
+ const localVarPath = `/events/{eventId}/template`
58245
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
57845
58246
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
57846
58247
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
57847
58248
  let baseOptions;
@@ -57921,6 +58322,65 @@ export const EventsOnSiteApiAxiosParamCreator = function (configuration?: Config
57921
58322
  export const EventsOnSiteApiFp = function(configuration?: Configuration) {
57922
58323
  const localVarAxiosParamCreator = EventsOnSiteApiAxiosParamCreator(configuration)
57923
58324
  return {
58325
+ /**
58326
+ * Creates a new on-site badge color rule for the given event. Omitting sortOrder appends the rule after the last existing one; requires the \"update\" permission on events.
58327
+ * @summary Create an event badge color rule
58328
+ * @param {string} eventId The event identifier
58329
+ * @param {EventBadgeColorRuleCreateInputs} eventBadgeColorRuleCreateInputs
58330
+ * @param {*} [options] Override http request option.
58331
+ * @throws {RequiredError}
58332
+ */
58333
+ async createEventBadgeColorRule(eventId: string, eventBadgeColorRuleCreateInputs: EventBadgeColorRuleCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventBadgeColorRule200Response>> {
58334
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createEventBadgeColorRule(eventId, eventBadgeColorRuleCreateInputs, options);
58335
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
58336
+ const localVarOperationServerBasePath = operationServerMap['EventsOnSiteApi.createEventBadgeColorRule']?.[localVarOperationServerIndex]?.url;
58337
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
58338
+ },
58339
+ /**
58340
+ * Permanently deletes the specified on-site badge color rule from the given event; requires the \"update\" permission on events.
58341
+ * @summary Delete an event badge color rule
58342
+ * @param {string} eventId The event identifier
58343
+ * @param {string} ruleId The rule identifier
58344
+ * @param {*} [options] Override http request option.
58345
+ * @throws {RequiredError}
58346
+ */
58347
+ async deleteEventBadgeColorRule(eventId: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
58348
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEventBadgeColorRule(eventId, ruleId, options);
58349
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
58350
+ const localVarOperationServerBasePath = operationServerMap['EventsOnSiteApi.deleteEventBadgeColorRule']?.[localVarOperationServerIndex]?.url;
58351
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
58352
+ },
58353
+ /**
58354
+ * Returns a single on-site badge color rule belonging to the given event; requires \"read\" permission on events.
58355
+ * @summary Get an event badge color rule
58356
+ * @param {string} eventId The event identifier
58357
+ * @param {string} ruleId The rule identifier
58358
+ * @param {*} [options] Override http request option.
58359
+ * @throws {RequiredError}
58360
+ */
58361
+ async getEventBadgeColorRule(eventId: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventBadgeColorRule200Response>> {
58362
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventBadgeColorRule(eventId, ruleId, options);
58363
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
58364
+ const localVarOperationServerBasePath = operationServerMap['EventsOnSiteApi.getEventBadgeColorRule']?.[localVarOperationServerIndex]?.url;
58365
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
58366
+ },
58367
+ /**
58368
+ * Returns a paginated list of on-site badge color rules configured for the given event, with optional search and sort order; requires \"read\" permission on events.
58369
+ * @summary List an event\'s badge color rules
58370
+ * @param {string} eventId The event identifier
58371
+ * @param {number} [page] Page number
58372
+ * @param {number} [pageSize] Number of items per page
58373
+ * @param {string} [orderBy] Field to order by
58374
+ * @param {string} [search] Search query
58375
+ * @param {*} [options] Override http request option.
58376
+ * @throws {RequiredError}
58377
+ */
58378
+ async getEventBadgeColorRules(eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventBadgeColorRules200Response>> {
58379
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventBadgeColorRules(eventId, page, pageSize, orderBy, search, options);
58380
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
58381
+ const localVarOperationServerBasePath = operationServerMap['EventsOnSiteApi.getEventBadgeColorRules']?.[localVarOperationServerIndex]?.url;
58382
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
58383
+ },
57924
58384
  /**
57925
58385
  * Returns the on-site check-in configuration for the given event, including its authentication code, or null if on-site check-in has not been set up yet; requires read access to events.
57926
58386
  * @summary Get an event\'s on-site check-in settings
@@ -57934,6 +58394,21 @@ export const EventsOnSiteApiFp = function(configuration?: Configuration) {
57934
58394
  const localVarOperationServerBasePath = operationServerMap['EventsOnSiteApi.getEventOnSite']?.[localVarOperationServerIndex]?.url;
57935
58395
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
57936
58396
  },
58397
+ /**
58398
+ * Partially updates the specified on-site badge color rule. Changing type still nulls unused match branches on the backend, so send the new branch\'s ids when the type changes; requires the \"update\" permission on events.
58399
+ * @summary Update an event badge color rule
58400
+ * @param {string} eventId The event identifier
58401
+ * @param {string} ruleId The rule identifier
58402
+ * @param {EventBadgeColorRuleUpdateInputs} eventBadgeColorRuleUpdateInputs
58403
+ * @param {*} [options] Override http request option.
58404
+ * @throws {RequiredError}
58405
+ */
58406
+ async updateEventBadgeColorRule(eventId: string, ruleId: string, eventBadgeColorRuleUpdateInputs: EventBadgeColorRuleUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventBadgeColorRule200Response>> {
58407
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateEventBadgeColorRule(eventId, ruleId, eventBadgeColorRuleUpdateInputs, options);
58408
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
58409
+ const localVarOperationServerBasePath = operationServerMap['EventsOnSiteApi.updateEventBadgeColorRule']?.[localVarOperationServerIndex]?.url;
58410
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
58411
+ },
57937
58412
  /**
57938
58413
  * Replaces the on-site check-in badge template design for the given event, used to render printed attendee badges; requires read and update permission on events.
57939
58414
  * @summary Update an event\'s badge template
@@ -57970,6 +58445,46 @@ export const EventsOnSiteApiFp = function(configuration?: Configuration) {
57970
58445
  export const EventsOnSiteApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
57971
58446
  const localVarFp = EventsOnSiteApiFp(configuration)
57972
58447
  return {
58448
+ /**
58449
+ * Creates a new on-site badge color rule for the given event. Omitting sortOrder appends the rule after the last existing one; requires the \"update\" permission on events.
58450
+ * @summary Create an event badge color rule
58451
+ * @param {EventsOnSiteApiCreateEventBadgeColorRuleRequest} requestParameters Request parameters.
58452
+ * @param {*} [options] Override http request option.
58453
+ * @throws {RequiredError}
58454
+ */
58455
+ createEventBadgeColorRule(requestParameters: EventsOnSiteApiCreateEventBadgeColorRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventBadgeColorRule200Response> {
58456
+ return localVarFp.createEventBadgeColorRule(requestParameters.eventId, requestParameters.eventBadgeColorRuleCreateInputs, options).then((request) => request(axios, basePath));
58457
+ },
58458
+ /**
58459
+ * Permanently deletes the specified on-site badge color rule from the given event; requires the \"update\" permission on events.
58460
+ * @summary Delete an event badge color rule
58461
+ * @param {EventsOnSiteApiDeleteEventBadgeColorRuleRequest} requestParameters Request parameters.
58462
+ * @param {*} [options] Override http request option.
58463
+ * @throws {RequiredError}
58464
+ */
58465
+ deleteEventBadgeColorRule(requestParameters: EventsOnSiteApiDeleteEventBadgeColorRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
58466
+ return localVarFp.deleteEventBadgeColorRule(requestParameters.eventId, requestParameters.ruleId, options).then((request) => request(axios, basePath));
58467
+ },
58468
+ /**
58469
+ * Returns a single on-site badge color rule belonging to the given event; requires \"read\" permission on events.
58470
+ * @summary Get an event badge color rule
58471
+ * @param {EventsOnSiteApiGetEventBadgeColorRuleRequest} requestParameters Request parameters.
58472
+ * @param {*} [options] Override http request option.
58473
+ * @throws {RequiredError}
58474
+ */
58475
+ getEventBadgeColorRule(requestParameters: EventsOnSiteApiGetEventBadgeColorRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventBadgeColorRule200Response> {
58476
+ return localVarFp.getEventBadgeColorRule(requestParameters.eventId, requestParameters.ruleId, options).then((request) => request(axios, basePath));
58477
+ },
58478
+ /**
58479
+ * Returns a paginated list of on-site badge color rules configured for the given event, with optional search and sort order; requires \"read\" permission on events.
58480
+ * @summary List an event\'s badge color rules
58481
+ * @param {EventsOnSiteApiGetEventBadgeColorRulesRequest} requestParameters Request parameters.
58482
+ * @param {*} [options] Override http request option.
58483
+ * @throws {RequiredError}
58484
+ */
58485
+ getEventBadgeColorRules(requestParameters: EventsOnSiteApiGetEventBadgeColorRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventBadgeColorRules200Response> {
58486
+ return localVarFp.getEventBadgeColorRules(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
58487
+ },
57973
58488
  /**
57974
58489
  * Returns the on-site check-in configuration for the given event, including its authentication code, or null if on-site check-in has not been set up yet; requires read access to events.
57975
58490
  * @summary Get an event\'s on-site check-in settings
@@ -57980,6 +58495,16 @@ export const EventsOnSiteApiFactory = function (configuration?: Configuration, b
57980
58495
  getEventOnSite(requestParameters: EventsOnSiteApiGetEventOnSiteRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventOnSite200Response> {
57981
58496
  return localVarFp.getEventOnSite(requestParameters.eventId, options).then((request) => request(axios, basePath));
57982
58497
  },
58498
+ /**
58499
+ * Partially updates the specified on-site badge color rule. Changing type still nulls unused match branches on the backend, so send the new branch\'s ids when the type changes; requires the \"update\" permission on events.
58500
+ * @summary Update an event badge color rule
58501
+ * @param {EventsOnSiteApiUpdateEventBadgeColorRuleRequest} requestParameters Request parameters.
58502
+ * @param {*} [options] Override http request option.
58503
+ * @throws {RequiredError}
58504
+ */
58505
+ updateEventBadgeColorRule(requestParameters: EventsOnSiteApiUpdateEventBadgeColorRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventBadgeColorRule200Response> {
58506
+ return localVarFp.updateEventBadgeColorRule(requestParameters.eventId, requestParameters.ruleId, requestParameters.eventBadgeColorRuleUpdateInputs, options).then((request) => request(axios, basePath));
58507
+ },
57983
58508
  /**
57984
58509
  * Replaces the on-site check-in badge template design for the given event, used to render printed attendee badges; requires read and update permission on events.
57985
58510
  * @summary Update an event\'s badge template
@@ -58003,6 +58528,78 @@ export const EventsOnSiteApiFactory = function (configuration?: Configuration, b
58003
58528
  };
58004
58529
  };
58005
58530
 
58531
+ /**
58532
+ * Request parameters for createEventBadgeColorRule operation in EventsOnSiteApi.
58533
+ */
58534
+ export interface EventsOnSiteApiCreateEventBadgeColorRuleRequest {
58535
+ /**
58536
+ * The event identifier
58537
+ */
58538
+ readonly eventId: string
58539
+
58540
+ readonly eventBadgeColorRuleCreateInputs: EventBadgeColorRuleCreateInputs
58541
+ }
58542
+
58543
+ /**
58544
+ * Request parameters for deleteEventBadgeColorRule operation in EventsOnSiteApi.
58545
+ */
58546
+ export interface EventsOnSiteApiDeleteEventBadgeColorRuleRequest {
58547
+ /**
58548
+ * The event identifier
58549
+ */
58550
+ readonly eventId: string
58551
+
58552
+ /**
58553
+ * The rule identifier
58554
+ */
58555
+ readonly ruleId: string
58556
+ }
58557
+
58558
+ /**
58559
+ * Request parameters for getEventBadgeColorRule operation in EventsOnSiteApi.
58560
+ */
58561
+ export interface EventsOnSiteApiGetEventBadgeColorRuleRequest {
58562
+ /**
58563
+ * The event identifier
58564
+ */
58565
+ readonly eventId: string
58566
+
58567
+ /**
58568
+ * The rule identifier
58569
+ */
58570
+ readonly ruleId: string
58571
+ }
58572
+
58573
+ /**
58574
+ * Request parameters for getEventBadgeColorRules operation in EventsOnSiteApi.
58575
+ */
58576
+ export interface EventsOnSiteApiGetEventBadgeColorRulesRequest {
58577
+ /**
58578
+ * The event identifier
58579
+ */
58580
+ readonly eventId: string
58581
+
58582
+ /**
58583
+ * Page number
58584
+ */
58585
+ readonly page?: number
58586
+
58587
+ /**
58588
+ * Number of items per page
58589
+ */
58590
+ readonly pageSize?: number
58591
+
58592
+ /**
58593
+ * Field to order by
58594
+ */
58595
+ readonly orderBy?: string
58596
+
58597
+ /**
58598
+ * Search query
58599
+ */
58600
+ readonly search?: string
58601
+ }
58602
+
58006
58603
  /**
58007
58604
  * Request parameters for getEventOnSite operation in EventsOnSiteApi.
58008
58605
  */
@@ -58013,6 +58610,23 @@ export interface EventsOnSiteApiGetEventOnSiteRequest {
58013
58610
  readonly eventId: string
58014
58611
  }
58015
58612
 
58613
+ /**
58614
+ * Request parameters for updateEventBadgeColorRule operation in EventsOnSiteApi.
58615
+ */
58616
+ export interface EventsOnSiteApiUpdateEventBadgeColorRuleRequest {
58617
+ /**
58618
+ * The event identifier
58619
+ */
58620
+ readonly eventId: string
58621
+
58622
+ /**
58623
+ * The rule identifier
58624
+ */
58625
+ readonly ruleId: string
58626
+
58627
+ readonly eventBadgeColorRuleUpdateInputs: EventBadgeColorRuleUpdateInputs
58628
+ }
58629
+
58016
58630
  /**
58017
58631
  * Request parameters for updateEventBadgeTemplate operation in EventsOnSiteApi.
58018
58632
  */
@@ -58039,6 +58653,50 @@ export interface EventsOnSiteApiUpdateEventCheckinCodeRequest {
58039
58653
  * EventsOnSiteApi - object-oriented interface
58040
58654
  */
58041
58655
  export class EventsOnSiteApi extends BaseAPI {
58656
+ /**
58657
+ * Creates a new on-site badge color rule for the given event. Omitting sortOrder appends the rule after the last existing one; requires the \"update\" permission on events.
58658
+ * @summary Create an event badge color rule
58659
+ * @param {EventsOnSiteApiCreateEventBadgeColorRuleRequest} requestParameters Request parameters.
58660
+ * @param {*} [options] Override http request option.
58661
+ * @throws {RequiredError}
58662
+ */
58663
+ public createEventBadgeColorRule(requestParameters: EventsOnSiteApiCreateEventBadgeColorRuleRequest, options?: RawAxiosRequestConfig) {
58664
+ return EventsOnSiteApiFp(this.configuration).createEventBadgeColorRule(requestParameters.eventId, requestParameters.eventBadgeColorRuleCreateInputs, options).then((request) => request(this.axios, this.basePath));
58665
+ }
58666
+
58667
+ /**
58668
+ * Permanently deletes the specified on-site badge color rule from the given event; requires the \"update\" permission on events.
58669
+ * @summary Delete an event badge color rule
58670
+ * @param {EventsOnSiteApiDeleteEventBadgeColorRuleRequest} requestParameters Request parameters.
58671
+ * @param {*} [options] Override http request option.
58672
+ * @throws {RequiredError}
58673
+ */
58674
+ public deleteEventBadgeColorRule(requestParameters: EventsOnSiteApiDeleteEventBadgeColorRuleRequest, options?: RawAxiosRequestConfig) {
58675
+ return EventsOnSiteApiFp(this.configuration).deleteEventBadgeColorRule(requestParameters.eventId, requestParameters.ruleId, options).then((request) => request(this.axios, this.basePath));
58676
+ }
58677
+
58678
+ /**
58679
+ * Returns a single on-site badge color rule belonging to the given event; requires \"read\" permission on events.
58680
+ * @summary Get an event badge color rule
58681
+ * @param {EventsOnSiteApiGetEventBadgeColorRuleRequest} requestParameters Request parameters.
58682
+ * @param {*} [options] Override http request option.
58683
+ * @throws {RequiredError}
58684
+ */
58685
+ public getEventBadgeColorRule(requestParameters: EventsOnSiteApiGetEventBadgeColorRuleRequest, options?: RawAxiosRequestConfig) {
58686
+ return EventsOnSiteApiFp(this.configuration).getEventBadgeColorRule(requestParameters.eventId, requestParameters.ruleId, options).then((request) => request(this.axios, this.basePath));
58687
+ }
58688
+
58689
+ /**
58690
+ * Returns a paginated list of on-site badge color rules configured for the given event, with optional search and sort order; requires \"read\" permission on events.
58691
+ * @summary List an event\'s badge color rules
58692
+ * @param {EventsOnSiteApiGetEventBadgeColorRulesRequest} requestParameters Request parameters.
58693
+ * @param {*} [options] Override http request option.
58694
+ * @throws {RequiredError}
58695
+ */
58696
+ public getEventBadgeColorRules(requestParameters: EventsOnSiteApiGetEventBadgeColorRulesRequest, options?: RawAxiosRequestConfig) {
58697
+ return EventsOnSiteApiFp(this.configuration).getEventBadgeColorRules(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
58698
+ }
58699
+
58042
58700
  /**
58043
58701
  * Returns the on-site check-in configuration for the given event, including its authentication code, or null if on-site check-in has not been set up yet; requires read access to events.
58044
58702
  * @summary Get an event\'s on-site check-in settings
@@ -58050,6 +58708,17 @@ export class EventsOnSiteApi extends BaseAPI {
58050
58708
  return EventsOnSiteApiFp(this.configuration).getEventOnSite(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
58051
58709
  }
58052
58710
 
58711
+ /**
58712
+ * Partially updates the specified on-site badge color rule. Changing type still nulls unused match branches on the backend, so send the new branch\'s ids when the type changes; requires the \"update\" permission on events.
58713
+ * @summary Update an event badge color rule
58714
+ * @param {EventsOnSiteApiUpdateEventBadgeColorRuleRequest} requestParameters Request parameters.
58715
+ * @param {*} [options] Override http request option.
58716
+ * @throws {RequiredError}
58717
+ */
58718
+ public updateEventBadgeColorRule(requestParameters: EventsOnSiteApiUpdateEventBadgeColorRuleRequest, options?: RawAxiosRequestConfig) {
58719
+ return EventsOnSiteApiFp(this.configuration).updateEventBadgeColorRule(requestParameters.eventId, requestParameters.ruleId, requestParameters.eventBadgeColorRuleUpdateInputs, options).then((request) => request(this.axios, this.basePath));
58720
+ }
58721
+
58053
58722
  /**
58054
58723
  * Replaces the on-site check-in badge template design for the given event, used to render printed attendee badges; requires read and update permission on events.
58055
58724
  * @summary Update an event\'s badge template
@@ -119345,6 +120014,583 @@ export class OrganizationDomainsApi extends BaseAPI {
119345
120014
 
119346
120015
 
119347
120016
 
120017
+ /**
120018
+ * OrganizationEntitiesApi - axios parameter creator
120019
+ */
120020
+ export const OrganizationEntitiesApiAxiosParamCreator = function (configuration?: Configuration) {
120021
+ return {
120022
+ /**
120023
+ * Creates a legal entity that can sell on behalf of the organization, carrying its own registered address, VAT registration and invoicing configuration. The entity is not made primary on creation - use the set-primary route for that.
120024
+ * @summary Create an organization legal entity
120025
+ * @param {OrganizationEntityCreateInputs} organizationEntityCreateInputs
120026
+ * @param {*} [options] Override http request option.
120027
+ * @throws {RequiredError}
120028
+ */
120029
+ createOrganizationEntity: async (organizationEntityCreateInputs: OrganizationEntityCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
120030
+ // verify required parameter 'organizationEntityCreateInputs' is not null or undefined
120031
+ assertParamExists('createOrganizationEntity', 'organizationEntityCreateInputs', organizationEntityCreateInputs)
120032
+ const localVarPath = `/organization/entities`;
120033
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
120034
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
120035
+ let baseOptions;
120036
+ if (configuration) {
120037
+ baseOptions = configuration.baseOptions;
120038
+ }
120039
+
120040
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
120041
+ const localVarHeaderParameter = {} as any;
120042
+ const localVarQueryParameter = {} as any;
120043
+
120044
+ // authentication ApiKeyAuth required
120045
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
120046
+
120047
+ // authentication OrganizationId required
120048
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
120049
+
120050
+ localVarHeaderParameter['Content-Type'] = 'application/json';
120051
+ localVarHeaderParameter['Accept'] = 'application/json';
120052
+
120053
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
120054
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
120055
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
120056
+ localVarRequestOptions.data = serializeDataIfNeeded(organizationEntityCreateInputs, localVarRequestOptions, configuration)
120057
+
120058
+ return {
120059
+ url: toPathString(localVarUrlObj),
120060
+ options: localVarRequestOptions,
120061
+ };
120062
+ },
120063
+ /**
120064
+ * Permanently deletes a legal entity. The organization\'s primary entity can never be deleted - set another entity as primary first, which is also why an organization always retains at least one entity.
120065
+ * @summary Delete an organization legal entity
120066
+ * @param {string} entityId The entity identifier
120067
+ * @param {*} [options] Override http request option.
120068
+ * @throws {RequiredError}
120069
+ */
120070
+ deleteOrganizationEntity: async (entityId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
120071
+ // verify required parameter 'entityId' is not null or undefined
120072
+ assertParamExists('deleteOrganizationEntity', 'entityId', entityId)
120073
+ const localVarPath = `/organization/entities/{entityId}`
120074
+ .replace(`{${"entityId"}}`, encodeURIComponent(String(entityId)));
120075
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
120076
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
120077
+ let baseOptions;
120078
+ if (configuration) {
120079
+ baseOptions = configuration.baseOptions;
120080
+ }
120081
+
120082
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
120083
+ const localVarHeaderParameter = {} as any;
120084
+ const localVarQueryParameter = {} as any;
120085
+
120086
+ // authentication ApiKeyAuth required
120087
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
120088
+
120089
+ // authentication OrganizationId required
120090
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
120091
+
120092
+ localVarHeaderParameter['Accept'] = 'application/json';
120093
+
120094
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
120095
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
120096
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
120097
+
120098
+ return {
120099
+ url: toPathString(localVarUrlObj),
120100
+ options: localVarRequestOptions,
120101
+ };
120102
+ },
120103
+ /**
120104
+ * Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address, VAT registration and invoicing configuration.
120105
+ * @summary List an organization\'s legal entities
120106
+ * @param {number} [page] Page number
120107
+ * @param {number} [pageSize] Number of items per page
120108
+ * @param {string} [orderBy] Field to order by
120109
+ * @param {string} [search] Search query
120110
+ * @param {*} [options] Override http request option.
120111
+ * @throws {RequiredError}
120112
+ */
120113
+ getOrganizationEntities: async (page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
120114
+ const localVarPath = `/organization/entities`;
120115
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
120116
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
120117
+ let baseOptions;
120118
+ if (configuration) {
120119
+ baseOptions = configuration.baseOptions;
120120
+ }
120121
+
120122
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
120123
+ const localVarHeaderParameter = {} as any;
120124
+ const localVarQueryParameter = {} as any;
120125
+
120126
+ // authentication ApiKeyAuth required
120127
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
120128
+
120129
+ // authentication OrganizationId required
120130
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
120131
+
120132
+ if (page !== undefined) {
120133
+ localVarQueryParameter['page'] = page;
120134
+ }
120135
+
120136
+ if (pageSize !== undefined) {
120137
+ localVarQueryParameter['pageSize'] = pageSize;
120138
+ }
120139
+
120140
+ if (orderBy !== undefined) {
120141
+ localVarQueryParameter['orderBy'] = orderBy;
120142
+ }
120143
+
120144
+ if (search !== undefined) {
120145
+ localVarQueryParameter['search'] = search;
120146
+ }
120147
+
120148
+ localVarHeaderParameter['Accept'] = 'application/json';
120149
+
120150
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
120151
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
120152
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
120153
+
120154
+ return {
120155
+ url: toPathString(localVarUrlObj),
120156
+ options: localVarRequestOptions,
120157
+ };
120158
+ },
120159
+ /**
120160
+ * Retrieves a single legal entity by ID, including its registered address, VAT registration details and invoice numbering configuration.
120161
+ * @summary Get an organization legal entity
120162
+ * @param {string} entityId The entity identifier
120163
+ * @param {*} [options] Override http request option.
120164
+ * @throws {RequiredError}
120165
+ */
120166
+ getOrganizationEntity: async (entityId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
120167
+ // verify required parameter 'entityId' is not null or undefined
120168
+ assertParamExists('getOrganizationEntity', 'entityId', entityId)
120169
+ const localVarPath = `/organization/entities/{entityId}`
120170
+ .replace(`{${"entityId"}}`, encodeURIComponent(String(entityId)));
120171
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
120172
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
120173
+ let baseOptions;
120174
+ if (configuration) {
120175
+ baseOptions = configuration.baseOptions;
120176
+ }
120177
+
120178
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
120179
+ const localVarHeaderParameter = {} as any;
120180
+ const localVarQueryParameter = {} as any;
120181
+
120182
+ // authentication ApiKeyAuth required
120183
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
120184
+
120185
+ // authentication OrganizationId required
120186
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
120187
+
120188
+ localVarHeaderParameter['Accept'] = 'application/json';
120189
+
120190
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
120191
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
120192
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
120193
+
120194
+ return {
120195
+ url: toPathString(localVarUrlObj),
120196
+ options: localVarRequestOptions,
120197
+ };
120198
+ },
120199
+ /**
120200
+ * Marks the specified entity as the organization\'s primary selling entity, clearing primary status from whichever entity held it before. This is the fallback entity used when an event has no entity of its own.
120201
+ * @summary Set an organization legal entity as primary
120202
+ * @param {string} entityId The entity identifier
120203
+ * @param {*} [options] Override http request option.
120204
+ * @throws {RequiredError}
120205
+ */
120206
+ setPrimaryOrganizationEntity: async (entityId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
120207
+ // verify required parameter 'entityId' is not null or undefined
120208
+ assertParamExists('setPrimaryOrganizationEntity', 'entityId', entityId)
120209
+ const localVarPath = `/organization/entities/{entityId}/primary`
120210
+ .replace(`{${"entityId"}}`, encodeURIComponent(String(entityId)));
120211
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
120212
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
120213
+ let baseOptions;
120214
+ if (configuration) {
120215
+ baseOptions = configuration.baseOptions;
120216
+ }
120217
+
120218
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
120219
+ const localVarHeaderParameter = {} as any;
120220
+ const localVarQueryParameter = {} as any;
120221
+
120222
+ // authentication ApiKeyAuth required
120223
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
120224
+
120225
+ // authentication OrganizationId required
120226
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
120227
+
120228
+ localVarHeaderParameter['Accept'] = 'application/json';
120229
+
120230
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
120231
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
120232
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
120233
+
120234
+ return {
120235
+ url: toPathString(localVarUrlObj),
120236
+ options: localVarRequestOptions,
120237
+ };
120238
+ },
120239
+ /**
120240
+ * Updates the identity, registered address, VAT registration or invoicing configuration of a legal entity. Primary status cannot be changed here - use the set-primary route.
120241
+ * @summary Update an organization legal entity
120242
+ * @param {string} entityId The entity identifier
120243
+ * @param {OrganizationEntityUpdateInputs} organizationEntityUpdateInputs
120244
+ * @param {*} [options] Override http request option.
120245
+ * @throws {RequiredError}
120246
+ */
120247
+ updateOrganizationEntity: async (entityId: string, organizationEntityUpdateInputs: OrganizationEntityUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
120248
+ // verify required parameter 'entityId' is not null or undefined
120249
+ assertParamExists('updateOrganizationEntity', 'entityId', entityId)
120250
+ // verify required parameter 'organizationEntityUpdateInputs' is not null or undefined
120251
+ assertParamExists('updateOrganizationEntity', 'organizationEntityUpdateInputs', organizationEntityUpdateInputs)
120252
+ const localVarPath = `/organization/entities/{entityId}`
120253
+ .replace(`{${"entityId"}}`, encodeURIComponent(String(entityId)));
120254
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
120255
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
120256
+ let baseOptions;
120257
+ if (configuration) {
120258
+ baseOptions = configuration.baseOptions;
120259
+ }
120260
+
120261
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
120262
+ const localVarHeaderParameter = {} as any;
120263
+ const localVarQueryParameter = {} as any;
120264
+
120265
+ // authentication ApiKeyAuth required
120266
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
120267
+
120268
+ // authentication OrganizationId required
120269
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
120270
+
120271
+ localVarHeaderParameter['Content-Type'] = 'application/json';
120272
+ localVarHeaderParameter['Accept'] = 'application/json';
120273
+
120274
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
120275
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
120276
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
120277
+ localVarRequestOptions.data = serializeDataIfNeeded(organizationEntityUpdateInputs, localVarRequestOptions, configuration)
120278
+
120279
+ return {
120280
+ url: toPathString(localVarUrlObj),
120281
+ options: localVarRequestOptions,
120282
+ };
120283
+ },
120284
+ }
120285
+ };
120286
+
120287
+ /**
120288
+ * OrganizationEntitiesApi - functional programming interface
120289
+ */
120290
+ export const OrganizationEntitiesApiFp = function(configuration?: Configuration) {
120291
+ const localVarAxiosParamCreator = OrganizationEntitiesApiAxiosParamCreator(configuration)
120292
+ return {
120293
+ /**
120294
+ * Creates a legal entity that can sell on behalf of the organization, carrying its own registered address, VAT registration and invoicing configuration. The entity is not made primary on creation - use the set-primary route for that.
120295
+ * @summary Create an organization legal entity
120296
+ * @param {OrganizationEntityCreateInputs} organizationEntityCreateInputs
120297
+ * @param {*} [options] Override http request option.
120298
+ * @throws {RequiredError}
120299
+ */
120300
+ async createOrganizationEntity(organizationEntityCreateInputs: OrganizationEntityCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationEntity200Response>> {
120301
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationEntity(organizationEntityCreateInputs, options);
120302
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
120303
+ const localVarOperationServerBasePath = operationServerMap['OrganizationEntitiesApi.createOrganizationEntity']?.[localVarOperationServerIndex]?.url;
120304
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
120305
+ },
120306
+ /**
120307
+ * Permanently deletes a legal entity. The organization\'s primary entity can never be deleted - set another entity as primary first, which is also why an organization always retains at least one entity.
120308
+ * @summary Delete an organization legal entity
120309
+ * @param {string} entityId The entity identifier
120310
+ * @param {*} [options] Override http request option.
120311
+ * @throws {RequiredError}
120312
+ */
120313
+ async deleteOrganizationEntity(entityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
120314
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationEntity(entityId, options);
120315
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
120316
+ const localVarOperationServerBasePath = operationServerMap['OrganizationEntitiesApi.deleteOrganizationEntity']?.[localVarOperationServerIndex]?.url;
120317
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
120318
+ },
120319
+ /**
120320
+ * Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address, VAT registration and invoicing configuration.
120321
+ * @summary List an organization\'s legal entities
120322
+ * @param {number} [page] Page number
120323
+ * @param {number} [pageSize] Number of items per page
120324
+ * @param {string} [orderBy] Field to order by
120325
+ * @param {string} [search] Search query
120326
+ * @param {*} [options] Override http request option.
120327
+ * @throws {RequiredError}
120328
+ */
120329
+ async getOrganizationEntities(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrganizationEntities200Response>> {
120330
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationEntities(page, pageSize, orderBy, search, options);
120331
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
120332
+ const localVarOperationServerBasePath = operationServerMap['OrganizationEntitiesApi.getOrganizationEntities']?.[localVarOperationServerIndex]?.url;
120333
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
120334
+ },
120335
+ /**
120336
+ * Retrieves a single legal entity by ID, including its registered address, VAT registration details and invoice numbering configuration.
120337
+ * @summary Get an organization legal entity
120338
+ * @param {string} entityId The entity identifier
120339
+ * @param {*} [options] Override http request option.
120340
+ * @throws {RequiredError}
120341
+ */
120342
+ async getOrganizationEntity(entityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationEntity200Response>> {
120343
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationEntity(entityId, options);
120344
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
120345
+ const localVarOperationServerBasePath = operationServerMap['OrganizationEntitiesApi.getOrganizationEntity']?.[localVarOperationServerIndex]?.url;
120346
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
120347
+ },
120348
+ /**
120349
+ * Marks the specified entity as the organization\'s primary selling entity, clearing primary status from whichever entity held it before. This is the fallback entity used when an event has no entity of its own.
120350
+ * @summary Set an organization legal entity as primary
120351
+ * @param {string} entityId The entity identifier
120352
+ * @param {*} [options] Override http request option.
120353
+ * @throws {RequiredError}
120354
+ */
120355
+ async setPrimaryOrganizationEntity(entityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationEntity200Response>> {
120356
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setPrimaryOrganizationEntity(entityId, options);
120357
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
120358
+ const localVarOperationServerBasePath = operationServerMap['OrganizationEntitiesApi.setPrimaryOrganizationEntity']?.[localVarOperationServerIndex]?.url;
120359
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
120360
+ },
120361
+ /**
120362
+ * Updates the identity, registered address, VAT registration or invoicing configuration of a legal entity. Primary status cannot be changed here - use the set-primary route.
120363
+ * @summary Update an organization legal entity
120364
+ * @param {string} entityId The entity identifier
120365
+ * @param {OrganizationEntityUpdateInputs} organizationEntityUpdateInputs
120366
+ * @param {*} [options] Override http request option.
120367
+ * @throws {RequiredError}
120368
+ */
120369
+ async updateOrganizationEntity(entityId: string, organizationEntityUpdateInputs: OrganizationEntityUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationEntity200Response>> {
120370
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationEntity(entityId, organizationEntityUpdateInputs, options);
120371
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
120372
+ const localVarOperationServerBasePath = operationServerMap['OrganizationEntitiesApi.updateOrganizationEntity']?.[localVarOperationServerIndex]?.url;
120373
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
120374
+ },
120375
+ }
120376
+ };
120377
+
120378
+ /**
120379
+ * OrganizationEntitiesApi - factory interface
120380
+ */
120381
+ export const OrganizationEntitiesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
120382
+ const localVarFp = OrganizationEntitiesApiFp(configuration)
120383
+ return {
120384
+ /**
120385
+ * Creates a legal entity that can sell on behalf of the organization, carrying its own registered address, VAT registration and invoicing configuration. The entity is not made primary on creation - use the set-primary route for that.
120386
+ * @summary Create an organization legal entity
120387
+ * @param {OrganizationEntitiesApiCreateOrganizationEntityRequest} requestParameters Request parameters.
120388
+ * @param {*} [options] Override http request option.
120389
+ * @throws {RequiredError}
120390
+ */
120391
+ createOrganizationEntity(requestParameters: OrganizationEntitiesApiCreateOrganizationEntityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationEntity200Response> {
120392
+ return localVarFp.createOrganizationEntity(requestParameters.organizationEntityCreateInputs, options).then((request) => request(axios, basePath));
120393
+ },
120394
+ /**
120395
+ * Permanently deletes a legal entity. The organization\'s primary entity can never be deleted - set another entity as primary first, which is also why an organization always retains at least one entity.
120396
+ * @summary Delete an organization legal entity
120397
+ * @param {OrganizationEntitiesApiDeleteOrganizationEntityRequest} requestParameters Request parameters.
120398
+ * @param {*} [options] Override http request option.
120399
+ * @throws {RequiredError}
120400
+ */
120401
+ deleteOrganizationEntity(requestParameters: OrganizationEntitiesApiDeleteOrganizationEntityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
120402
+ return localVarFp.deleteOrganizationEntity(requestParameters.entityId, options).then((request) => request(axios, basePath));
120403
+ },
120404
+ /**
120405
+ * Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address, VAT registration and invoicing configuration.
120406
+ * @summary List an organization\'s legal entities
120407
+ * @param {OrganizationEntitiesApiGetOrganizationEntitiesRequest} requestParameters Request parameters.
120408
+ * @param {*} [options] Override http request option.
120409
+ * @throws {RequiredError}
120410
+ */
120411
+ getOrganizationEntities(requestParameters: OrganizationEntitiesApiGetOrganizationEntitiesRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetOrganizationEntities200Response> {
120412
+ return localVarFp.getOrganizationEntities(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
120413
+ },
120414
+ /**
120415
+ * Retrieves a single legal entity by ID, including its registered address, VAT registration details and invoice numbering configuration.
120416
+ * @summary Get an organization legal entity
120417
+ * @param {OrganizationEntitiesApiGetOrganizationEntityRequest} requestParameters Request parameters.
120418
+ * @param {*} [options] Override http request option.
120419
+ * @throws {RequiredError}
120420
+ */
120421
+ getOrganizationEntity(requestParameters: OrganizationEntitiesApiGetOrganizationEntityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationEntity200Response> {
120422
+ return localVarFp.getOrganizationEntity(requestParameters.entityId, options).then((request) => request(axios, basePath));
120423
+ },
120424
+ /**
120425
+ * Marks the specified entity as the organization\'s primary selling entity, clearing primary status from whichever entity held it before. This is the fallback entity used when an event has no entity of its own.
120426
+ * @summary Set an organization legal entity as primary
120427
+ * @param {OrganizationEntitiesApiSetPrimaryOrganizationEntityRequest} requestParameters Request parameters.
120428
+ * @param {*} [options] Override http request option.
120429
+ * @throws {RequiredError}
120430
+ */
120431
+ setPrimaryOrganizationEntity(requestParameters: OrganizationEntitiesApiSetPrimaryOrganizationEntityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationEntity200Response> {
120432
+ return localVarFp.setPrimaryOrganizationEntity(requestParameters.entityId, options).then((request) => request(axios, basePath));
120433
+ },
120434
+ /**
120435
+ * Updates the identity, registered address, VAT registration or invoicing configuration of a legal entity. Primary status cannot be changed here - use the set-primary route.
120436
+ * @summary Update an organization legal entity
120437
+ * @param {OrganizationEntitiesApiUpdateOrganizationEntityRequest} requestParameters Request parameters.
120438
+ * @param {*} [options] Override http request option.
120439
+ * @throws {RequiredError}
120440
+ */
120441
+ updateOrganizationEntity(requestParameters: OrganizationEntitiesApiUpdateOrganizationEntityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationEntity200Response> {
120442
+ return localVarFp.updateOrganizationEntity(requestParameters.entityId, requestParameters.organizationEntityUpdateInputs, options).then((request) => request(axios, basePath));
120443
+ },
120444
+ };
120445
+ };
120446
+
120447
+ /**
120448
+ * Request parameters for createOrganizationEntity operation in OrganizationEntitiesApi.
120449
+ */
120450
+ export interface OrganizationEntitiesApiCreateOrganizationEntityRequest {
120451
+ readonly organizationEntityCreateInputs: OrganizationEntityCreateInputs
120452
+ }
120453
+
120454
+ /**
120455
+ * Request parameters for deleteOrganizationEntity operation in OrganizationEntitiesApi.
120456
+ */
120457
+ export interface OrganizationEntitiesApiDeleteOrganizationEntityRequest {
120458
+ /**
120459
+ * The entity identifier
120460
+ */
120461
+ readonly entityId: string
120462
+ }
120463
+
120464
+ /**
120465
+ * Request parameters for getOrganizationEntities operation in OrganizationEntitiesApi.
120466
+ */
120467
+ export interface OrganizationEntitiesApiGetOrganizationEntitiesRequest {
120468
+ /**
120469
+ * Page number
120470
+ */
120471
+ readonly page?: number
120472
+
120473
+ /**
120474
+ * Number of items per page
120475
+ */
120476
+ readonly pageSize?: number
120477
+
120478
+ /**
120479
+ * Field to order by
120480
+ */
120481
+ readonly orderBy?: string
120482
+
120483
+ /**
120484
+ * Search query
120485
+ */
120486
+ readonly search?: string
120487
+ }
120488
+
120489
+ /**
120490
+ * Request parameters for getOrganizationEntity operation in OrganizationEntitiesApi.
120491
+ */
120492
+ export interface OrganizationEntitiesApiGetOrganizationEntityRequest {
120493
+ /**
120494
+ * The entity identifier
120495
+ */
120496
+ readonly entityId: string
120497
+ }
120498
+
120499
+ /**
120500
+ * Request parameters for setPrimaryOrganizationEntity operation in OrganizationEntitiesApi.
120501
+ */
120502
+ export interface OrganizationEntitiesApiSetPrimaryOrganizationEntityRequest {
120503
+ /**
120504
+ * The entity identifier
120505
+ */
120506
+ readonly entityId: string
120507
+ }
120508
+
120509
+ /**
120510
+ * Request parameters for updateOrganizationEntity operation in OrganizationEntitiesApi.
120511
+ */
120512
+ export interface OrganizationEntitiesApiUpdateOrganizationEntityRequest {
120513
+ /**
120514
+ * The entity identifier
120515
+ */
120516
+ readonly entityId: string
120517
+
120518
+ readonly organizationEntityUpdateInputs: OrganizationEntityUpdateInputs
120519
+ }
120520
+
120521
+ /**
120522
+ * OrganizationEntitiesApi - object-oriented interface
120523
+ */
120524
+ export class OrganizationEntitiesApi extends BaseAPI {
120525
+ /**
120526
+ * Creates a legal entity that can sell on behalf of the organization, carrying its own registered address, VAT registration and invoicing configuration. The entity is not made primary on creation - use the set-primary route for that.
120527
+ * @summary Create an organization legal entity
120528
+ * @param {OrganizationEntitiesApiCreateOrganizationEntityRequest} requestParameters Request parameters.
120529
+ * @param {*} [options] Override http request option.
120530
+ * @throws {RequiredError}
120531
+ */
120532
+ public createOrganizationEntity(requestParameters: OrganizationEntitiesApiCreateOrganizationEntityRequest, options?: RawAxiosRequestConfig) {
120533
+ return OrganizationEntitiesApiFp(this.configuration).createOrganizationEntity(requestParameters.organizationEntityCreateInputs, options).then((request) => request(this.axios, this.basePath));
120534
+ }
120535
+
120536
+ /**
120537
+ * Permanently deletes a legal entity. The organization\'s primary entity can never be deleted - set another entity as primary first, which is also why an organization always retains at least one entity.
120538
+ * @summary Delete an organization legal entity
120539
+ * @param {OrganizationEntitiesApiDeleteOrganizationEntityRequest} requestParameters Request parameters.
120540
+ * @param {*} [options] Override http request option.
120541
+ * @throws {RequiredError}
120542
+ */
120543
+ public deleteOrganizationEntity(requestParameters: OrganizationEntitiesApiDeleteOrganizationEntityRequest, options?: RawAxiosRequestConfig) {
120544
+ return OrganizationEntitiesApiFp(this.configuration).deleteOrganizationEntity(requestParameters.entityId, options).then((request) => request(this.axios, this.basePath));
120545
+ }
120546
+
120547
+ /**
120548
+ * Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address, VAT registration and invoicing configuration.
120549
+ * @summary List an organization\'s legal entities
120550
+ * @param {OrganizationEntitiesApiGetOrganizationEntitiesRequest} requestParameters Request parameters.
120551
+ * @param {*} [options] Override http request option.
120552
+ * @throws {RequiredError}
120553
+ */
120554
+ public getOrganizationEntities(requestParameters: OrganizationEntitiesApiGetOrganizationEntitiesRequest = {}, options?: RawAxiosRequestConfig) {
120555
+ return OrganizationEntitiesApiFp(this.configuration).getOrganizationEntities(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
120556
+ }
120557
+
120558
+ /**
120559
+ * Retrieves a single legal entity by ID, including its registered address, VAT registration details and invoice numbering configuration.
120560
+ * @summary Get an organization legal entity
120561
+ * @param {OrganizationEntitiesApiGetOrganizationEntityRequest} requestParameters Request parameters.
120562
+ * @param {*} [options] Override http request option.
120563
+ * @throws {RequiredError}
120564
+ */
120565
+ public getOrganizationEntity(requestParameters: OrganizationEntitiesApiGetOrganizationEntityRequest, options?: RawAxiosRequestConfig) {
120566
+ return OrganizationEntitiesApiFp(this.configuration).getOrganizationEntity(requestParameters.entityId, options).then((request) => request(this.axios, this.basePath));
120567
+ }
120568
+
120569
+ /**
120570
+ * Marks the specified entity as the organization\'s primary selling entity, clearing primary status from whichever entity held it before. This is the fallback entity used when an event has no entity of its own.
120571
+ * @summary Set an organization legal entity as primary
120572
+ * @param {OrganizationEntitiesApiSetPrimaryOrganizationEntityRequest} requestParameters Request parameters.
120573
+ * @param {*} [options] Override http request option.
120574
+ * @throws {RequiredError}
120575
+ */
120576
+ public setPrimaryOrganizationEntity(requestParameters: OrganizationEntitiesApiSetPrimaryOrganizationEntityRequest, options?: RawAxiosRequestConfig) {
120577
+ return OrganizationEntitiesApiFp(this.configuration).setPrimaryOrganizationEntity(requestParameters.entityId, options).then((request) => request(this.axios, this.basePath));
120578
+ }
120579
+
120580
+ /**
120581
+ * Updates the identity, registered address, VAT registration or invoicing configuration of a legal entity. Primary status cannot be changed here - use the set-primary route.
120582
+ * @summary Update an organization legal entity
120583
+ * @param {OrganizationEntitiesApiUpdateOrganizationEntityRequest} requestParameters Request parameters.
120584
+ * @param {*} [options] Override http request option.
120585
+ * @throws {RequiredError}
120586
+ */
120587
+ public updateOrganizationEntity(requestParameters: OrganizationEntitiesApiUpdateOrganizationEntityRequest, options?: RawAxiosRequestConfig) {
120588
+ return OrganizationEntitiesApiFp(this.configuration).updateOrganizationEntity(requestParameters.entityId, requestParameters.organizationEntityUpdateInputs, options).then((request) => request(this.axios, this.basePath));
120589
+ }
120590
+ }
120591
+
120592
+
120593
+
119348
120594
  /**
119349
120595
  * OrganizationIntegrationsApi - axios parameter creator
119350
120596
  */