@connectedxm/admin-sdk 10.10.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.
package/base.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.10.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).
package/common.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.10.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).
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Connected Admin API
4
4
  * The Admin API allows you to manage your Connected community programmatically.
5
5
  *
6
- * The version of the OpenAPI document: 10.10.0
6
+ * The version of the OpenAPI document: 10.11.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9,7 +9,7 @@
9
9
  * const accounts = await adminApi.accounts.getAccounts();
10
10
  * const eventsPasses = await adminApi.eventsPasses.getEventPasses();
11
11
  */
12
- import { AccountsApi, AccountsAddressesApi, AccountsFollowersApi, AccountsFollowingApi, AccountsGroupsApi, AccountsInterestsApi, AccountsInvitationsApi, AccountsLeadsApi, AccountsTiersApi, ActivitiesApi, ActivitiesScheduleApi, AdvertisementsApi, AnnouncementsApi, AnnouncementsScheduleApi, AnnouncementsTranslationsApi, ApiLogsApi, AuthSessionsApi, BenefitsApi, BenefitsTranslationsApi, BookingsApi, BookingsAvailabilitiesApi, BookingsBlackoutsApi, BookingsPlacesApi, BookingsPlacesTranslationsApi, BookingsQuestionsApi, BookingsQuestionsChoicesApi, BookingsQuestionsChoicesTranslationsApi, BookingsQuestionsTranslationsApi, BookingsResponsesApi, BookingsSpacesApi, BookingsSpacesTranslationsApi, ChannelsApi, ChannelsTranslationsApi, DashboardsApi, DashboardsWidgetsApi, EmailReceiptsApi, EventsApi, EventsAccessApi, EventsActivationsApi, EventsActivationsSessionsApi, EventsActivationsTranslationsApi, EventsAddonsApi, EventsAddonsTranslationsApi, EventsAttributesApi, EventsBenefitsApi, EventsBlocksApi, EventsBypassApi, EventsCohostsApi, EventsCouponsApi, EventsEmailsApi, EventsEmailsTranslationsApi, EventsFaqsApi, EventsFaqsTranslationsApi, EventsFollowupsApi, EventsFollowupsTranslationsApi, EventsMatchesApi, EventsMediaApi, EventsMediaTranslationsApi, EventsOnSiteApi, EventsPackagesApi, EventsPackagesPassesApi, EventsPackagesTranslationsApi, EventsPagesApi, EventsPagesTranslationsApi, EventsPassesApi, EventsPassesAccessesApi, EventsPassesAddonsApi, EventsPassesAttributesApi, EventsPassesFollowupsApi, EventsPassesResponsesApi, EventsPasstypesApi, EventsPasstypesExchangetargetsApi, EventsPasstypesPriceschedulesApi, EventsPasstypesRefundschedulesApi, EventsPasstypesTranslationsApi, EventsQuestionsApi, EventsQuestionsTranslationsApi, EventsRegistrationsApi, EventsRegistrationsPackagesApi, EventsRegistrationsReservationsApi, EventsRoomsApi, EventsRoomtypesApi, EventsRoomtypesTranslationsApi, EventsSectionsApi, EventsSectionsTranslationsApi, EventsSessionsApi, EventsSessionsAccessesApi, EventsSessionsLocationsApi, EventsSessionsLocationsTranslationsApi, EventsSessionsMatchesApi, EventsSessionsPricesApi, EventsSessionsQuestionsApi, EventsSessionsQuestionsTranslationsApi, EventsSessionsSectionsApi, EventsSessionsSectionsTranslationsApi, EventsSessionsTimesApi, EventsSessionsTimesTranslationsApi, EventsSessionsTranslationsApi, EventsSpeakersApi, EventsSpeakersTranslationsApi, EventsSponsorsApi, EventsSponsorshiplevelsApi, EventsSponsorshiplevelsTranslationsApi, EventsSponsorshipsApi, EventsSponsorshipsTranslationsApi, EventsTemplatesApi, EventsTracksApi, EventsTracksTranslationsApi, EventsTransfersApi, EventsTranslationsApi, FilesApi, GroupsApi, GroupsEventsApi, GroupsInterestsApi, GroupsInvitationsApi, GroupsMembersApi, GroupsModeratorsApi, GroupsRequestsApi, GroupsSponsorsApi, GroupsTranslationsApi, ImportsApi, InterestsApi, InvoicesApi, InvoicesLineitemsApi, LoginsApi, LoginsAccountsApi, MeetingsApi, MeetingsLinksApi, MeetingsLivestreamsApi, MeetingsParticipantsApi, MeetingsPresetsApi, MeetingsRecordingsApi, MeetingsSessionsApi, NotificationsApi, OrganizationApi, OrganizationAttributesApi, OrganizationDomainsApi, OrganizationIntegrationsApi, OrganizationLanguageoverridesApi, OrganizationModulesApi, OrganizationModulesCustomApi, OrganizationModulesCustomTranslationsApi, OrganizationModulesSettingsApi, OrganizationModulesSettingsTranslationsApi, OrganizationModulesTiersApi, OrganizationPaymentsApi, OrganizationSideeffectsApi, OrganizationTaxApi, OrganizationTeammembersApi, OrganizationUsersApi, OrganizationWebhooksApi, PaymentsApi, PreferencesApi, PushDevicesApi, ReportsApi, ReportsUsersApi, SearchlistsApi, SearchlistsValuesApi, SelfApi, SelfApikeysApi, SelfImagesApi, SeriesApi, SeriesQuestionsApi, SeriesQuestionsChoicesApi, SeriesQuestionsTranslationsApi, SeriesRegistrationsApi, SeriesTranslationsApi, SponsorsApi, SponsorsAccountsApi, SponsorsTranslationsApi, StorageFilesApi, StorageImagesApi, StorageVideosApi, StorageVideosCaptionsApi, StreamsApi, StreamsOutputsApi, StreamsSessionsApi, SupportApi, SupportMessagesApi, SupportNotesApi, SurveysApi, SurveysQuestionsApi, SurveysQuestionsTranslationsApi, SurveysSectionsApi, SurveysSectionsTranslationsApi, SurveysSessionsApi, SurveysSubmissionsApi, SurveysTranslationsApi, ThreadsApi, ThreadsAccountsApi, ThreadsMessagesApi, ThreadsMessagesFilesApi, ThreadsMessagesImagesApi, ThreadsMessagesReactionsApi, ThreadsMessagesVideosApi, ThreadsStorageApi, TiersApi } from "./api";
12
+ import { AccountsApi, AccountsAddressesApi, AccountsFollowersApi, AccountsFollowingApi, AccountsGroupsApi, AccountsInterestsApi, AccountsInvitationsApi, AccountsLeadsApi, AccountsTiersApi, ActivitiesApi, ActivitiesScheduleApi, AdvertisementsApi, AnnouncementsApi, AnnouncementsScheduleApi, AnnouncementsTranslationsApi, ApiLogsApi, AuthSessionsApi, BenefitsApi, BenefitsTranslationsApi, BookingsApi, BookingsAvailabilitiesApi, BookingsBlackoutsApi, BookingsPlacesApi, BookingsPlacesTranslationsApi, BookingsQuestionsApi, BookingsQuestionsChoicesApi, BookingsQuestionsChoicesTranslationsApi, BookingsQuestionsTranslationsApi, BookingsResponsesApi, BookingsSpacesApi, BookingsSpacesTranslationsApi, ChannelsApi, ChannelsTranslationsApi, DashboardsApi, DashboardsWidgetsApi, EmailReceiptsApi, EventsApi, EventsAccessApi, EventsActivationsApi, EventsActivationsSessionsApi, EventsActivationsTranslationsApi, EventsAddonsApi, EventsAddonsTranslationsApi, EventsAttributesApi, EventsBenefitsApi, EventsBlocksApi, EventsBypassApi, EventsCohostsApi, EventsCouponsApi, EventsEmailsApi, EventsEmailsTranslationsApi, EventsFaqsApi, EventsFaqsTranslationsApi, EventsFollowupsApi, EventsFollowupsTranslationsApi, EventsMatchesApi, EventsMediaApi, EventsMediaTranslationsApi, EventsOnSiteApi, EventsPackagesApi, EventsPackagesPassesApi, EventsPackagesTranslationsApi, EventsPagesApi, EventsPagesTranslationsApi, EventsPassesApi, EventsPassesAccessesApi, EventsPassesAddonsApi, EventsPassesAttributesApi, EventsPassesFollowupsApi, EventsPassesResponsesApi, EventsPasstypesApi, EventsPasstypesExchangetargetsApi, EventsPasstypesPriceschedulesApi, EventsPasstypesRefundschedulesApi, EventsPasstypesTranslationsApi, EventsQuestionsApi, EventsQuestionsTranslationsApi, EventsRegistrationsApi, EventsRegistrationsPackagesApi, EventsRegistrationsReservationsApi, EventsRoomsApi, EventsRoomtypesApi, EventsRoomtypesTranslationsApi, EventsSectionsApi, EventsSectionsTranslationsApi, EventsSessionsApi, EventsSessionsAccessesApi, EventsSessionsLocationsApi, EventsSessionsLocationsTranslationsApi, EventsSessionsMatchesApi, EventsSessionsPricesApi, EventsSessionsQuestionsApi, EventsSessionsQuestionsTranslationsApi, EventsSessionsSectionsApi, EventsSessionsSectionsTranslationsApi, EventsSessionsTimesApi, EventsSessionsTimesTranslationsApi, EventsSessionsTranslationsApi, EventsSpeakersApi, EventsSpeakersTranslationsApi, EventsSponsorsApi, EventsSponsorshiplevelsApi, EventsSponsorshiplevelsTranslationsApi, EventsSponsorshipsApi, EventsSponsorshipsTranslationsApi, EventsTemplatesApi, EventsTracksApi, EventsTracksTranslationsApi, EventsTransfersApi, EventsTranslationsApi, FilesApi, GroupsApi, GroupsEventsApi, GroupsInterestsApi, GroupsInvitationsApi, GroupsMembersApi, GroupsModeratorsApi, GroupsRequestsApi, GroupsSponsorsApi, GroupsTranslationsApi, ImportsApi, InterestsApi, InvoicesApi, InvoicesLineitemsApi, LoginsApi, LoginsAccountsApi, MeetingsApi, MeetingsLinksApi, MeetingsLivestreamsApi, MeetingsParticipantsApi, MeetingsPresetsApi, MeetingsRecordingsApi, MeetingsSessionsApi, NotificationsApi, OrganizationApi, OrganizationAttributesApi, OrganizationDomainsApi, OrganizationEntitiesApi, OrganizationIntegrationsApi, OrganizationLanguageoverridesApi, OrganizationModulesApi, OrganizationModulesCustomApi, OrganizationModulesCustomTranslationsApi, OrganizationModulesSettingsApi, OrganizationModulesSettingsTranslationsApi, OrganizationModulesTiersApi, OrganizationPaymentsApi, OrganizationSideeffectsApi, OrganizationTaxApi, OrganizationTeammembersApi, OrganizationUsersApi, OrganizationWebhooksApi, PaymentsApi, PreferencesApi, PushDevicesApi, ReportsApi, ReportsUsersApi, SearchlistsApi, SearchlistsValuesApi, SelfApi, SelfApikeysApi, SelfImagesApi, SeriesApi, SeriesQuestionsApi, SeriesQuestionsChoicesApi, SeriesQuestionsTranslationsApi, SeriesRegistrationsApi, SeriesTranslationsApi, SponsorsApi, SponsorsAccountsApi, SponsorsTranslationsApi, StorageFilesApi, StorageImagesApi, StorageVideosApi, StorageVideosCaptionsApi, StreamsApi, StreamsOutputsApi, StreamsSessionsApi, SupportApi, SupportMessagesApi, SupportNotesApi, SurveysApi, SurveysQuestionsApi, SurveysQuestionsTranslationsApi, SurveysSectionsApi, SurveysSectionsTranslationsApi, SurveysSessionsApi, SurveysSubmissionsApi, SurveysTranslationsApi, ThreadsApi, ThreadsAccountsApi, ThreadsMessagesApi, ThreadsMessagesFilesApi, ThreadsMessagesImagesApi, ThreadsMessagesReactionsApi, ThreadsMessagesVideosApi, ThreadsStorageApi, TiersApi } from "./api";
13
13
  export interface AdminApiConfig {
14
14
  /** Your API key for authentication */
15
15
  apiKey: string;
@@ -157,6 +157,7 @@ export declare class AdminApi {
157
157
  readonly organization: OrganizationApi;
158
158
  readonly organizationAttributes: OrganizationAttributesApi;
159
159
  readonly organizationDomains: OrganizationDomainsApi;
160
+ readonly organizationEntities: OrganizationEntitiesApi;
160
161
  readonly organizationIntegrations: OrganizationIntegrationsApi;
161
162
  readonly organizationLanguageoverrides: OrganizationLanguageoverridesApi;
162
163
  readonly organizationModules: OrganizationModulesApi;
package/dist/AdminApi.js CHANGED
@@ -165,6 +165,7 @@ class AdminApi {
165
165
  this.organization = new api_1.OrganizationApi(this.config);
166
166
  this.organizationAttributes = new api_1.OrganizationAttributesApi(this.config);
167
167
  this.organizationDomains = new api_1.OrganizationDomainsApi(this.config);
168
+ this.organizationEntities = new api_1.OrganizationEntitiesApi(this.config);
168
169
  this.organizationIntegrations = new api_1.OrganizationIntegrationsApi(this.config);
169
170
  this.organizationLanguageoverrides = new api_1.OrganizationLanguageoverridesApi(this.config);
170
171
  this.organizationModules = new api_1.OrganizationModulesApi(this.config);
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Connected Admin API
3
3
  * The Admin API allows you to manage your Connected community programmatically.
4
4
  *
5
- * The version of the OpenAPI document: 10.10.0
5
+ * The version of the OpenAPI document: 10.11.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1865,6 +1865,14 @@ export interface BaseOrganization {
1865
1865
  'domain': string | null;
1866
1866
  'locale': string;
1867
1867
  }
1868
+ export interface BaseOrganizationEntity {
1869
+ 'id': string;
1870
+ 'legalName': string;
1871
+ 'tradingName': string | null;
1872
+ 'primary': boolean | null;
1873
+ 'vatNumber': string | null;
1874
+ 'vatCountry': string | null;
1875
+ }
1868
1876
  export interface BaseOrganizationModule {
1869
1877
  'id': string;
1870
1878
  'moduleType': OrganizationModuleType;
@@ -4020,6 +4028,14 @@ export interface CreateMeetingLink200Response {
4020
4028
  export declare enum CreateMeetingLink200ResponseStatusEnum {
4021
4029
  Ok = "ok"
4022
4030
  }
4031
+ export interface CreateOrganizationEntity200Response {
4032
+ 'status': CreateOrganizationEntity200ResponseStatusEnum;
4033
+ 'message': string;
4034
+ 'data': OrganizationEntity;
4035
+ }
4036
+ export declare enum CreateOrganizationEntity200ResponseStatusEnum {
4037
+ Ok = "ok"
4038
+ }
4023
4039
  export interface CreateOrganizationPaymentIntegration200Response {
4024
4040
  'status': CreateOrganizationPaymentIntegration200ResponseStatusEnum;
4025
4041
  'message': string;
@@ -8466,6 +8482,15 @@ export interface GetOrganizationDomain200Response {
8466
8482
  export declare enum GetOrganizationDomain200ResponseStatusEnum {
8467
8483
  Ok = "ok"
8468
8484
  }
8485
+ export interface GetOrganizationEntities200Response {
8486
+ 'status': GetOrganizationEntities200ResponseStatusEnum;
8487
+ 'message': string;
8488
+ 'data': Array<OrganizationEntity>;
8489
+ 'count'?: number;
8490
+ }
8491
+ export declare enum GetOrganizationEntities200ResponseStatusEnum {
8492
+ Ok = "ok"
8493
+ }
8469
8494
  export interface GetOrganizationLanguageOverrides200Response {
8470
8495
  'status': GetOrganizationLanguageOverrides200ResponseStatusEnum;
8471
8496
  'message': string;
@@ -10263,6 +10288,56 @@ export declare enum OrganizationActionType {
10263
10288
  export interface OrganizationAllOfOAuth {
10264
10289
  'id': string;
10265
10290
  }
10291
+ export interface OrganizationEntity {
10292
+ 'id': string;
10293
+ 'legalName': string;
10294
+ 'tradingName': string | null;
10295
+ 'primary': boolean | null;
10296
+ 'vatNumber': string | null;
10297
+ 'vatCountry': string | null;
10298
+ 'companyNumber': string | null;
10299
+ 'address1': string;
10300
+ 'address2': string | null;
10301
+ 'city': string;
10302
+ 'state': string | null;
10303
+ 'country': string;
10304
+ 'zip': string;
10305
+ 'companyCode': string | null;
10306
+ 'invoicePrefix': string | null;
10307
+ 'invoiceSequence': number;
10308
+ 'createdAt': string;
10309
+ 'updatedAt': string;
10310
+ }
10311
+ export interface OrganizationEntityCreateInputs {
10312
+ 'legalName': string;
10313
+ 'tradingName'?: string | null;
10314
+ 'companyNumber'?: string | null;
10315
+ 'address1': string;
10316
+ 'address2'?: string | null;
10317
+ 'city': string;
10318
+ 'state'?: string | null;
10319
+ 'country': string;
10320
+ 'zip': string;
10321
+ 'vatNumber'?: string | null;
10322
+ 'vatCountry'?: string | null;
10323
+ 'companyCode'?: string | null;
10324
+ 'invoicePrefix'?: string | null;
10325
+ }
10326
+ export interface OrganizationEntityUpdateInputs {
10327
+ 'legalName'?: string | null;
10328
+ 'tradingName'?: string | null;
10329
+ 'companyNumber'?: string | null;
10330
+ 'address1'?: string | null;
10331
+ 'address2'?: string | null;
10332
+ 'city'?: string | null;
10333
+ 'state'?: string | null;
10334
+ 'country'?: string | null;
10335
+ 'zip'?: string | null;
10336
+ 'vatNumber'?: string | null;
10337
+ 'vatCountry'?: string | null;
10338
+ 'companyCode'?: string | null;
10339
+ 'invoicePrefix'?: string | null;
10340
+ }
10266
10341
  export interface OrganizationLanguageOverride {
10267
10342
  'key': string;
10268
10343
  'values': {
@@ -66525,6 +66600,290 @@ export declare class OrganizationDomainsApi extends BaseAPI {
66525
66600
  */
66526
66601
  updateOrganizationDomain(requestParameters: OrganizationDomainsApiUpdateOrganizationDomainRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateOrganizationDomain200Response, any, {}>>;
66527
66602
  }
66603
+ /**
66604
+ * OrganizationEntitiesApi - axios parameter creator
66605
+ */
66606
+ export declare const OrganizationEntitiesApiAxiosParamCreator: (configuration?: Configuration) => {
66607
+ /**
66608
+ * 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.
66609
+ * @summary Create an organization legal entity
66610
+ * @param {OrganizationEntityCreateInputs} organizationEntityCreateInputs
66611
+ * @param {*} [options] Override http request option.
66612
+ * @throws {RequiredError}
66613
+ */
66614
+ createOrganizationEntity: (organizationEntityCreateInputs: OrganizationEntityCreateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66615
+ /**
66616
+ * 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.
66617
+ * @summary Delete an organization legal entity
66618
+ * @param {string} entityId The entity identifier
66619
+ * @param {*} [options] Override http request option.
66620
+ * @throws {RequiredError}
66621
+ */
66622
+ deleteOrganizationEntity: (entityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66623
+ /**
66624
+ * 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.
66625
+ * @summary List an organization\'s legal entities
66626
+ * @param {number} [page] Page number
66627
+ * @param {number} [pageSize] Number of items per page
66628
+ * @param {string} [orderBy] Field to order by
66629
+ * @param {string} [search] Search query
66630
+ * @param {*} [options] Override http request option.
66631
+ * @throws {RequiredError}
66632
+ */
66633
+ getOrganizationEntities: (page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66634
+ /**
66635
+ * Retrieves a single legal entity by ID, including its registered address, VAT registration details and invoice numbering configuration.
66636
+ * @summary Get an organization legal entity
66637
+ * @param {string} entityId The entity identifier
66638
+ * @param {*} [options] Override http request option.
66639
+ * @throws {RequiredError}
66640
+ */
66641
+ getOrganizationEntity: (entityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66642
+ /**
66643
+ * 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.
66644
+ * @summary Set an organization legal entity as primary
66645
+ * @param {string} entityId The entity identifier
66646
+ * @param {*} [options] Override http request option.
66647
+ * @throws {RequiredError}
66648
+ */
66649
+ setPrimaryOrganizationEntity: (entityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66650
+ /**
66651
+ * 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.
66652
+ * @summary Update an organization legal entity
66653
+ * @param {string} entityId The entity identifier
66654
+ * @param {OrganizationEntityUpdateInputs} organizationEntityUpdateInputs
66655
+ * @param {*} [options] Override http request option.
66656
+ * @throws {RequiredError}
66657
+ */
66658
+ updateOrganizationEntity: (entityId: string, organizationEntityUpdateInputs: OrganizationEntityUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66659
+ };
66660
+ /**
66661
+ * OrganizationEntitiesApi - functional programming interface
66662
+ */
66663
+ export declare const OrganizationEntitiesApiFp: (configuration?: Configuration) => {
66664
+ /**
66665
+ * 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.
66666
+ * @summary Create an organization legal entity
66667
+ * @param {OrganizationEntityCreateInputs} organizationEntityCreateInputs
66668
+ * @param {*} [options] Override http request option.
66669
+ * @throws {RequiredError}
66670
+ */
66671
+ createOrganizationEntity(organizationEntityCreateInputs: OrganizationEntityCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationEntity200Response>>;
66672
+ /**
66673
+ * 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.
66674
+ * @summary Delete an organization legal entity
66675
+ * @param {string} entityId The entity identifier
66676
+ * @param {*} [options] Override http request option.
66677
+ * @throws {RequiredError}
66678
+ */
66679
+ deleteOrganizationEntity(entityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
66680
+ /**
66681
+ * 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.
66682
+ * @summary List an organization\'s legal entities
66683
+ * @param {number} [page] Page number
66684
+ * @param {number} [pageSize] Number of items per page
66685
+ * @param {string} [orderBy] Field to order by
66686
+ * @param {string} [search] Search query
66687
+ * @param {*} [options] Override http request option.
66688
+ * @throws {RequiredError}
66689
+ */
66690
+ getOrganizationEntities(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrganizationEntities200Response>>;
66691
+ /**
66692
+ * Retrieves a single legal entity by ID, including its registered address, VAT registration details and invoice numbering configuration.
66693
+ * @summary Get an organization legal entity
66694
+ * @param {string} entityId The entity identifier
66695
+ * @param {*} [options] Override http request option.
66696
+ * @throws {RequiredError}
66697
+ */
66698
+ getOrganizationEntity(entityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationEntity200Response>>;
66699
+ /**
66700
+ * 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.
66701
+ * @summary Set an organization legal entity as primary
66702
+ * @param {string} entityId The entity identifier
66703
+ * @param {*} [options] Override http request option.
66704
+ * @throws {RequiredError}
66705
+ */
66706
+ setPrimaryOrganizationEntity(entityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationEntity200Response>>;
66707
+ /**
66708
+ * 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.
66709
+ * @summary Update an organization legal entity
66710
+ * @param {string} entityId The entity identifier
66711
+ * @param {OrganizationEntityUpdateInputs} organizationEntityUpdateInputs
66712
+ * @param {*} [options] Override http request option.
66713
+ * @throws {RequiredError}
66714
+ */
66715
+ updateOrganizationEntity(entityId: string, organizationEntityUpdateInputs: OrganizationEntityUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationEntity200Response>>;
66716
+ };
66717
+ /**
66718
+ * OrganizationEntitiesApi - factory interface
66719
+ */
66720
+ export declare const OrganizationEntitiesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
66721
+ /**
66722
+ * 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.
66723
+ * @summary Create an organization legal entity
66724
+ * @param {OrganizationEntitiesApiCreateOrganizationEntityRequest} requestParameters Request parameters.
66725
+ * @param {*} [options] Override http request option.
66726
+ * @throws {RequiredError}
66727
+ */
66728
+ createOrganizationEntity(requestParameters: OrganizationEntitiesApiCreateOrganizationEntityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationEntity200Response>;
66729
+ /**
66730
+ * 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.
66731
+ * @summary Delete an organization legal entity
66732
+ * @param {OrganizationEntitiesApiDeleteOrganizationEntityRequest} requestParameters Request parameters.
66733
+ * @param {*} [options] Override http request option.
66734
+ * @throws {RequiredError}
66735
+ */
66736
+ deleteOrganizationEntity(requestParameters: OrganizationEntitiesApiDeleteOrganizationEntityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
66737
+ /**
66738
+ * 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.
66739
+ * @summary List an organization\'s legal entities
66740
+ * @param {OrganizationEntitiesApiGetOrganizationEntitiesRequest} requestParameters Request parameters.
66741
+ * @param {*} [options] Override http request option.
66742
+ * @throws {RequiredError}
66743
+ */
66744
+ getOrganizationEntities(requestParameters?: OrganizationEntitiesApiGetOrganizationEntitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOrganizationEntities200Response>;
66745
+ /**
66746
+ * Retrieves a single legal entity by ID, including its registered address, VAT registration details and invoice numbering configuration.
66747
+ * @summary Get an organization legal entity
66748
+ * @param {OrganizationEntitiesApiGetOrganizationEntityRequest} requestParameters Request parameters.
66749
+ * @param {*} [options] Override http request option.
66750
+ * @throws {RequiredError}
66751
+ */
66752
+ getOrganizationEntity(requestParameters: OrganizationEntitiesApiGetOrganizationEntityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationEntity200Response>;
66753
+ /**
66754
+ * 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.
66755
+ * @summary Set an organization legal entity as primary
66756
+ * @param {OrganizationEntitiesApiSetPrimaryOrganizationEntityRequest} requestParameters Request parameters.
66757
+ * @param {*} [options] Override http request option.
66758
+ * @throws {RequiredError}
66759
+ */
66760
+ setPrimaryOrganizationEntity(requestParameters: OrganizationEntitiesApiSetPrimaryOrganizationEntityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationEntity200Response>;
66761
+ /**
66762
+ * 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.
66763
+ * @summary Update an organization legal entity
66764
+ * @param {OrganizationEntitiesApiUpdateOrganizationEntityRequest} requestParameters Request parameters.
66765
+ * @param {*} [options] Override http request option.
66766
+ * @throws {RequiredError}
66767
+ */
66768
+ updateOrganizationEntity(requestParameters: OrganizationEntitiesApiUpdateOrganizationEntityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationEntity200Response>;
66769
+ };
66770
+ /**
66771
+ * Request parameters for createOrganizationEntity operation in OrganizationEntitiesApi.
66772
+ */
66773
+ export interface OrganizationEntitiesApiCreateOrganizationEntityRequest {
66774
+ readonly organizationEntityCreateInputs: OrganizationEntityCreateInputs;
66775
+ }
66776
+ /**
66777
+ * Request parameters for deleteOrganizationEntity operation in OrganizationEntitiesApi.
66778
+ */
66779
+ export interface OrganizationEntitiesApiDeleteOrganizationEntityRequest {
66780
+ /**
66781
+ * The entity identifier
66782
+ */
66783
+ readonly entityId: string;
66784
+ }
66785
+ /**
66786
+ * Request parameters for getOrganizationEntities operation in OrganizationEntitiesApi.
66787
+ */
66788
+ export interface OrganizationEntitiesApiGetOrganizationEntitiesRequest {
66789
+ /**
66790
+ * Page number
66791
+ */
66792
+ readonly page?: number;
66793
+ /**
66794
+ * Number of items per page
66795
+ */
66796
+ readonly pageSize?: number;
66797
+ /**
66798
+ * Field to order by
66799
+ */
66800
+ readonly orderBy?: string;
66801
+ /**
66802
+ * Search query
66803
+ */
66804
+ readonly search?: string;
66805
+ }
66806
+ /**
66807
+ * Request parameters for getOrganizationEntity operation in OrganizationEntitiesApi.
66808
+ */
66809
+ export interface OrganizationEntitiesApiGetOrganizationEntityRequest {
66810
+ /**
66811
+ * The entity identifier
66812
+ */
66813
+ readonly entityId: string;
66814
+ }
66815
+ /**
66816
+ * Request parameters for setPrimaryOrganizationEntity operation in OrganizationEntitiesApi.
66817
+ */
66818
+ export interface OrganizationEntitiesApiSetPrimaryOrganizationEntityRequest {
66819
+ /**
66820
+ * The entity identifier
66821
+ */
66822
+ readonly entityId: string;
66823
+ }
66824
+ /**
66825
+ * Request parameters for updateOrganizationEntity operation in OrganizationEntitiesApi.
66826
+ */
66827
+ export interface OrganizationEntitiesApiUpdateOrganizationEntityRequest {
66828
+ /**
66829
+ * The entity identifier
66830
+ */
66831
+ readonly entityId: string;
66832
+ readonly organizationEntityUpdateInputs: OrganizationEntityUpdateInputs;
66833
+ }
66834
+ /**
66835
+ * OrganizationEntitiesApi - object-oriented interface
66836
+ */
66837
+ export declare class OrganizationEntitiesApi extends BaseAPI {
66838
+ /**
66839
+ * 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.
66840
+ * @summary Create an organization legal entity
66841
+ * @param {OrganizationEntitiesApiCreateOrganizationEntityRequest} requestParameters Request parameters.
66842
+ * @param {*} [options] Override http request option.
66843
+ * @throws {RequiredError}
66844
+ */
66845
+ createOrganizationEntity(requestParameters: OrganizationEntitiesApiCreateOrganizationEntityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOrganizationEntity200Response, any, {}>>;
66846
+ /**
66847
+ * 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.
66848
+ * @summary Delete an organization legal entity
66849
+ * @param {OrganizationEntitiesApiDeleteOrganizationEntityRequest} requestParameters Request parameters.
66850
+ * @param {*} [options] Override http request option.
66851
+ * @throws {RequiredError}
66852
+ */
66853
+ deleteOrganizationEntity(requestParameters: OrganizationEntitiesApiDeleteOrganizationEntityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}>>;
66854
+ /**
66855
+ * 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.
66856
+ * @summary List an organization\'s legal entities
66857
+ * @param {OrganizationEntitiesApiGetOrganizationEntitiesRequest} requestParameters Request parameters.
66858
+ * @param {*} [options] Override http request option.
66859
+ * @throws {RequiredError}
66860
+ */
66861
+ getOrganizationEntities(requestParameters?: OrganizationEntitiesApiGetOrganizationEntitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrganizationEntities200Response, any, {}>>;
66862
+ /**
66863
+ * Retrieves a single legal entity by ID, including its registered address, VAT registration details and invoice numbering configuration.
66864
+ * @summary Get an organization legal entity
66865
+ * @param {OrganizationEntitiesApiGetOrganizationEntityRequest} requestParameters Request parameters.
66866
+ * @param {*} [options] Override http request option.
66867
+ * @throws {RequiredError}
66868
+ */
66869
+ getOrganizationEntity(requestParameters: OrganizationEntitiesApiGetOrganizationEntityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOrganizationEntity200Response, any, {}>>;
66870
+ /**
66871
+ * 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.
66872
+ * @summary Set an organization legal entity as primary
66873
+ * @param {OrganizationEntitiesApiSetPrimaryOrganizationEntityRequest} requestParameters Request parameters.
66874
+ * @param {*} [options] Override http request option.
66875
+ * @throws {RequiredError}
66876
+ */
66877
+ setPrimaryOrganizationEntity(requestParameters: OrganizationEntitiesApiSetPrimaryOrganizationEntityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOrganizationEntity200Response, any, {}>>;
66878
+ /**
66879
+ * 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.
66880
+ * @summary Update an organization legal entity
66881
+ * @param {OrganizationEntitiesApiUpdateOrganizationEntityRequest} requestParameters Request parameters.
66882
+ * @param {*} [options] Override http request option.
66883
+ * @throws {RequiredError}
66884
+ */
66885
+ updateOrganizationEntity(requestParameters: OrganizationEntitiesApiUpdateOrganizationEntityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOrganizationEntity200Response, any, {}>>;
66886
+ }
66528
66887
  /**
66529
66888
  * OrganizationIntegrationsApi - axios parameter creator
66530
66889
  */