@connectedxm/admin-sdk 10.10.0 → 10.12.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 (55) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/AdminApi.ts +3 -0
  3. package/README.md +2 -2
  4. package/api.ts +725 -7
  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 +428 -7
  11. package/dist/api.js +510 -28
  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 +428 -7
  21. package/dist/esm/api.js +479 -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/BaseBookingSpace.md +4 -0
  29. package/docs/BaseEvent.md +4 -0
  30. package/docs/BaseInvoice.md +4 -0
  31. package/docs/BaseOrganizationEntity.md +30 -0
  32. package/docs/BasePayment.md +7 -3
  33. package/docs/BasePaymentIntent.md +4 -0
  34. package/docs/BaseSeries.md +20 -0
  35. package/docs/BookingSpace.md +4 -0
  36. package/docs/BookingSpaceCreateInputs.md +2 -0
  37. package/docs/BookingSpaceUpdateInputs.md +2 -0
  38. package/docs/CreateOrganizationEntity200Response.md +24 -0
  39. package/docs/Event.md +4 -0
  40. package/docs/EventCreateInputs.md +2 -0
  41. package/docs/EventUpdateInputs.md +2 -0
  42. package/docs/GetOrganizationEntities200Response.md +26 -0
  43. package/docs/Invoice.md +4 -0
  44. package/docs/InvoiceCreateInputs.md +2 -0
  45. package/docs/InvoiceUpdateInputs.md +2 -0
  46. package/docs/OrganizationEntitiesApi.md +333 -0
  47. package/docs/OrganizationEntity.md +54 -0
  48. package/docs/OrganizationEntityCreateInputs.md +44 -0
  49. package/docs/OrganizationEntityUpdateInputs.md +44 -0
  50. package/docs/Payment.md +7 -3
  51. package/docs/PaymentIntent.md +4 -0
  52. package/docs/Series.md +20 -0
  53. package/docs/SeriesCreateInputs.md +16 -0
  54. package/docs/SeriesUpdateInputs.md +16 -0
  55. package/package.json +1 -1
package/dist/esm/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.12.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -948,6 +948,8 @@ export interface BaseBookingSpace {
948
948
  'timezone': string;
949
949
  'paymentIntegrationId': string | null;
950
950
  'paymentIntegration': BasePaymentIntegration | null;
951
+ 'entityId': string | null;
952
+ 'entity': BaseOrganizationEntity | null;
951
953
  'placeId': string | null;
952
954
  'eventId': string | null;
953
955
  'groupId': string | null;
@@ -1176,6 +1178,8 @@ export interface BaseEvent {
1176
1178
  'series': BaseSeries | null;
1177
1179
  'paymentIntegrationId': string | null;
1178
1180
  'paymentIntegration': BasePaymentIntegration | null;
1181
+ 'entityId': string | null;
1182
+ 'entity': BaseOrganizationEntity | null;
1179
1183
  'archived': boolean;
1180
1184
  'clientTemplate': boolean;
1181
1185
  }
@@ -1719,6 +1723,8 @@ export interface BaseInvoice {
1719
1723
  'notes': string | null;
1720
1724
  'paymentIntegrationId': string | null;
1721
1725
  'paymentIntegration': BasePaymentIntegration | null;
1726
+ 'entityId': string | null;
1727
+ 'entity': BaseOrganizationEntity | null;
1722
1728
  }
1723
1729
  export interface BaseInvoiceLineItem {
1724
1730
  'id': string;
@@ -1865,6 +1871,14 @@ export interface BaseOrganization {
1865
1871
  'domain': string | null;
1866
1872
  'locale': string;
1867
1873
  }
1874
+ export interface BaseOrganizationEntity {
1875
+ 'id': string;
1876
+ 'legalName': string;
1877
+ 'tradingName': string | null;
1878
+ 'primary': boolean | null;
1879
+ 'vatNumber': string | null;
1880
+ 'vatCountry': string | null;
1881
+ }
1868
1882
  export interface BaseOrganizationModule {
1869
1883
  'id': string;
1870
1884
  'moduleType': OrganizationModuleType;
@@ -1919,9 +1933,9 @@ export interface BasePayment {
1919
1933
  'stripeId': string | null;
1920
1934
  'last4': string | null;
1921
1935
  'debugId': string | null;
1922
- 'address1': boolean;
1923
- 'address2': boolean;
1924
- 'city': boolean;
1936
+ 'address1': string | null;
1937
+ 'address2': string | null;
1938
+ 'city': string | null;
1925
1939
  'country': string;
1926
1940
  'state': string;
1927
1941
  'zip': string;
@@ -1937,6 +1951,8 @@ export interface BasePayment {
1937
1951
  'couponId': string | null;
1938
1952
  'invoiceId': string | null;
1939
1953
  'seriesId': string | null;
1954
+ 'entityId': string | null;
1955
+ 'entity': BaseOrganizationEntity | null;
1940
1956
  'lineItems': Array<BasePaymentLineItem>;
1941
1957
  'createdAt': string;
1942
1958
  }
@@ -1985,6 +2001,8 @@ export interface BasePaymentIntent {
1985
2001
  'coupon': BaseCoupon | null;
1986
2002
  'integration': BasePaymentIntentIntegration | null;
1987
2003
  'taxIntegration': BasePaymentIntentTaxIntegration | null;
2004
+ 'entityId': string | null;
2005
+ 'entity': BaseOrganizationEntity | null;
1988
2006
  }
1989
2007
  export interface BasePaymentIntentIntegration {
1990
2008
  'type': PaymentIntegrationType;
@@ -2229,6 +2247,16 @@ export interface BaseSeries {
2229
2247
  'endDate': string | null;
2230
2248
  'imageId': string | null;
2231
2249
  'image': BaseImage | null;
2250
+ 'address1': string | null;
2251
+ 'address2': string | null;
2252
+ 'city': string | null;
2253
+ 'state': string | null;
2254
+ 'country': string | null;
2255
+ 'zip': string | null;
2256
+ 'paymentIntegrationId': string | null;
2257
+ 'paymentIntegration': BasePaymentIntegration | null;
2258
+ 'entityId': string | null;
2259
+ 'entity': BaseOrganizationEntity | null;
2232
2260
  }
2233
2261
  export interface BaseSeriesQuestion {
2234
2262
  'id': string;
@@ -2796,6 +2824,8 @@ export interface BookingSpace {
2796
2824
  'timezone': string;
2797
2825
  'paymentIntegrationId': string | null;
2798
2826
  'paymentIntegration': BasePaymentIntegration | null;
2827
+ 'entityId': string | null;
2828
+ 'entity': BaseOrganizationEntity | null;
2799
2829
  'placeId': string | null;
2800
2830
  'eventId': string | null;
2801
2831
  'groupId': string | null;
@@ -2881,6 +2911,7 @@ export interface BookingSpaceCreateInputs {
2881
2911
  'eventId'?: string | null;
2882
2912
  'groupId'?: string | null;
2883
2913
  'accountId'?: string | null;
2914
+ 'entityId'?: string | null;
2884
2915
  }
2885
2916
  export interface BookingSpaceQuestion {
2886
2917
  'id': string;
@@ -3069,6 +3100,7 @@ export interface BookingSpaceUpdateInputs {
3069
3100
  'eventId'?: string | null;
3070
3101
  'groupId'?: string | null;
3071
3102
  'accountId'?: string | null;
3103
+ 'entityId'?: string | null;
3072
3104
  }
3073
3105
  export interface BookingUpdateInputs {
3074
3106
  'status'?: PurchaseStatus;
@@ -4020,6 +4052,14 @@ export interface CreateMeetingLink200Response {
4020
4052
  export declare enum CreateMeetingLink200ResponseStatusEnum {
4021
4053
  Ok = "ok"
4022
4054
  }
4055
+ export interface CreateOrganizationEntity200Response {
4056
+ 'status': CreateOrganizationEntity200ResponseStatusEnum;
4057
+ 'message': string;
4058
+ 'data': OrganizationEntity;
4059
+ }
4060
+ export declare enum CreateOrganizationEntity200ResponseStatusEnum {
4061
+ Ok = "ok"
4062
+ }
4023
4063
  export interface CreateOrganizationPaymentIntegration200Response {
4024
4064
  'status': CreateOrganizationPaymentIntegration200ResponseStatusEnum;
4025
4065
  'message': string;
@@ -4469,6 +4509,8 @@ export interface Event {
4469
4509
  'series': BaseSeries | null;
4470
4510
  'paymentIntegrationId': string | null;
4471
4511
  'paymentIntegration': BasePaymentIntegration | null;
4512
+ 'entityId': string | null;
4513
+ 'entity': BaseOrganizationEntity | null;
4472
4514
  'archived': boolean;
4473
4515
  'clientTemplate': boolean;
4474
4516
  'mapImageLightUrl': string | null;
@@ -4848,6 +4890,7 @@ export interface EventCreateInputs {
4848
4890
  'activityFeedEnabled'?: boolean;
4849
4891
  'options'?: object | null;
4850
4892
  'paymentIntegrationId'?: string | null;
4893
+ 'entityId'?: string | null;
4851
4894
  'template'?: boolean;
4852
4895
  'meetingId'?: string | null;
4853
4896
  'continuousScanning'?: boolean;
@@ -6305,6 +6348,7 @@ export interface EventUpdateInputs {
6305
6348
  'activityFeedEnabled'?: boolean;
6306
6349
  'options'?: object | null;
6307
6350
  'paymentIntegrationId'?: string | null;
6351
+ 'entityId'?: string | null;
6308
6352
  'meetingId'?: string | null;
6309
6353
  'continuousScanning'?: boolean;
6310
6354
  'scanType'?: OnSiteScanType | null;
@@ -8466,6 +8510,15 @@ export interface GetOrganizationDomain200Response {
8466
8510
  export declare enum GetOrganizationDomain200ResponseStatusEnum {
8467
8511
  Ok = "ok"
8468
8512
  }
8513
+ export interface GetOrganizationEntities200Response {
8514
+ 'status': GetOrganizationEntities200ResponseStatusEnum;
8515
+ 'message': string;
8516
+ 'data': Array<OrganizationEntity>;
8517
+ 'count'?: number;
8518
+ }
8519
+ export declare enum GetOrganizationEntities200ResponseStatusEnum {
8520
+ Ok = "ok"
8521
+ }
8469
8522
  export interface GetOrganizationLanguageOverrides200Response {
8470
8523
  'status': GetOrganizationLanguageOverrides200ResponseStatusEnum;
8471
8524
  'message': string;
@@ -9483,6 +9536,8 @@ export interface Invoice {
9483
9536
  'notes': string | null;
9484
9537
  'paymentIntegrationId': string | null;
9485
9538
  'paymentIntegration': BasePaymentIntegration | null;
9539
+ 'entityId': string | null;
9540
+ 'entity': BaseOrganizationEntity | null;
9486
9541
  'lineItems': BaseInvoiceLineItem;
9487
9542
  'accountId': string | null;
9488
9543
  'account': BaseAccount | null;
@@ -9499,6 +9554,7 @@ export interface InvoiceCreateInputs {
9499
9554
  'accountId'?: string | null;
9500
9555
  'eventId'?: string | null;
9501
9556
  'paymentIntegrationId'?: string | null;
9557
+ 'entityId'?: string | null;
9502
9558
  }
9503
9559
  export interface InvoiceLineItem {
9504
9560
  'id': string;
@@ -9546,6 +9602,7 @@ export interface InvoiceUpdateInputs {
9546
9602
  'accountId'?: string | null;
9547
9603
  'eventId'?: string | null;
9548
9604
  'paymentIntegrationId'?: string | null;
9605
+ 'entityId'?: string | null;
9549
9606
  }
9550
9607
  export interface JoinMeeting200Response {
9551
9608
  'status': JoinMeeting200ResponseStatusEnum;
@@ -10263,6 +10320,56 @@ export declare enum OrganizationActionType {
10263
10320
  export interface OrganizationAllOfOAuth {
10264
10321
  'id': string;
10265
10322
  }
10323
+ export interface OrganizationEntity {
10324
+ 'id': string;
10325
+ 'legalName': string;
10326
+ 'tradingName': string | null;
10327
+ 'primary': boolean | null;
10328
+ 'vatNumber': string | null;
10329
+ 'vatCountry': string | null;
10330
+ 'companyNumber': string | null;
10331
+ 'address1': string;
10332
+ 'address2': string | null;
10333
+ 'city': string;
10334
+ 'state': string | null;
10335
+ 'country': string;
10336
+ 'zip': string;
10337
+ 'companyCode': string | null;
10338
+ 'invoicePrefix': string | null;
10339
+ 'invoiceSequence': number;
10340
+ 'createdAt': string;
10341
+ 'updatedAt': string;
10342
+ }
10343
+ export interface OrganizationEntityCreateInputs {
10344
+ 'legalName': string;
10345
+ 'tradingName'?: string | null;
10346
+ 'companyNumber'?: string | null;
10347
+ 'address1': string;
10348
+ 'address2'?: string | null;
10349
+ 'city': string;
10350
+ 'state'?: string | null;
10351
+ 'country': string;
10352
+ 'zip': string;
10353
+ 'vatNumber'?: string | null;
10354
+ 'vatCountry'?: string | null;
10355
+ 'companyCode'?: string | null;
10356
+ 'invoicePrefix'?: string | null;
10357
+ }
10358
+ export interface OrganizationEntityUpdateInputs {
10359
+ 'legalName'?: string | null;
10360
+ 'tradingName'?: string | null;
10361
+ 'companyNumber'?: string | null;
10362
+ 'address1'?: string | null;
10363
+ 'address2'?: string | null;
10364
+ 'city'?: string | null;
10365
+ 'state'?: string | null;
10366
+ 'country'?: string | null;
10367
+ 'zip'?: string | null;
10368
+ 'vatNumber'?: string | null;
10369
+ 'vatCountry'?: string | null;
10370
+ 'companyCode'?: string | null;
10371
+ 'invoicePrefix'?: string | null;
10372
+ }
10266
10373
  export interface OrganizationLanguageOverride {
10267
10374
  'key': string;
10268
10375
  'values': {
@@ -10745,9 +10852,9 @@ export interface Payment {
10745
10852
  'stripeId': string | null;
10746
10853
  'last4': string | null;
10747
10854
  'debugId': string | null;
10748
- 'address1': boolean;
10749
- 'address2': boolean;
10750
- 'city': boolean;
10855
+ 'address1': string | null;
10856
+ 'address2': string | null;
10857
+ 'city': string | null;
10751
10858
  'country': string;
10752
10859
  'state': string;
10753
10860
  'zip': string;
@@ -10763,6 +10870,8 @@ export interface Payment {
10763
10870
  'couponId': string | null;
10764
10871
  'invoiceId': string | null;
10765
10872
  'seriesId': string | null;
10873
+ 'entityId': string | null;
10874
+ 'entity': BaseOrganizationEntity | null;
10766
10875
  'lineItems': Array<object>;
10767
10876
  'createdAt': string;
10768
10877
  'locationAddress1': string | null;
@@ -10852,6 +10961,8 @@ export interface PaymentIntent {
10852
10961
  'coupon': BaseCoupon | null;
10853
10962
  'integration': BasePaymentIntentIntegration | null;
10854
10963
  'taxIntegration': BasePaymentIntentTaxIntegration | null;
10964
+ 'entityId': string | null;
10965
+ 'entity': BaseOrganizationEntity | null;
10855
10966
  'account': BaseAccount | null;
10856
10967
  'event': BaseEvent | null;
10857
10968
  'session': BaseEventSession | null;
@@ -11608,6 +11719,16 @@ export interface Series {
11608
11719
  'endDate': string | null;
11609
11720
  'imageId': string | null;
11610
11721
  'image': BaseImage | null;
11722
+ 'address1': string | null;
11723
+ 'address2': string | null;
11724
+ 'city': string | null;
11725
+ 'state': string | null;
11726
+ 'country': string | null;
11727
+ 'zip': string | null;
11728
+ 'paymentIntegrationId': string | null;
11729
+ 'paymentIntegration': BasePaymentIntegration | null;
11730
+ 'entityId': string | null;
11731
+ 'entity': BaseOrganizationEntity | null;
11611
11732
  'templateId': string;
11612
11733
  'template': BaseEvent;
11613
11734
  'sortOrder': number;
@@ -11640,6 +11761,14 @@ export interface SeriesCreateInputs {
11640
11761
  'subject'?: string | null;
11641
11762
  'replyTo'?: string | null;
11642
11763
  'body'?: string | null;
11764
+ 'address1'?: string | null;
11765
+ 'address2'?: string | null;
11766
+ 'city'?: string | null;
11767
+ 'state'?: string | null;
11768
+ 'country'?: string | null;
11769
+ 'zip'?: string | null;
11770
+ 'paymentIntegrationId'?: string | null;
11771
+ 'entityId'?: string | null;
11643
11772
  }
11644
11773
  export interface SeriesQuestion {
11645
11774
  'id': string;
@@ -11851,6 +11980,14 @@ export interface SeriesUpdateInputs {
11851
11980
  'subject'?: string | null;
11852
11981
  'replyTo'?: string | null;
11853
11982
  'body'?: string | null;
11983
+ 'address1'?: string | null;
11984
+ 'address2'?: string | null;
11985
+ 'city'?: string | null;
11986
+ 'state'?: string | null;
11987
+ 'country'?: string | null;
11988
+ 'zip'?: string | null;
11989
+ 'paymentIntegrationId'?: string | null;
11990
+ 'entityId'?: string | null;
11854
11991
  }
11855
11992
  export interface SideEffect {
11856
11993
  'id': string;
@@ -66525,6 +66662,290 @@ export declare class OrganizationDomainsApi extends BaseAPI {
66525
66662
  */
66526
66663
  updateOrganizationDomain(requestParameters: OrganizationDomainsApiUpdateOrganizationDomainRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateOrganizationDomain200Response, any, {}>>;
66527
66664
  }
66665
+ /**
66666
+ * OrganizationEntitiesApi - axios parameter creator
66667
+ */
66668
+ export declare const OrganizationEntitiesApiAxiosParamCreator: (configuration?: Configuration) => {
66669
+ /**
66670
+ * 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.
66671
+ * @summary Create an organization legal entity
66672
+ * @param {OrganizationEntityCreateInputs} organizationEntityCreateInputs
66673
+ * @param {*} [options] Override http request option.
66674
+ * @throws {RequiredError}
66675
+ */
66676
+ createOrganizationEntity: (organizationEntityCreateInputs: OrganizationEntityCreateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66677
+ /**
66678
+ * 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.
66679
+ * @summary Delete an organization legal entity
66680
+ * @param {string} entityId The entity identifier
66681
+ * @param {*} [options] Override http request option.
66682
+ * @throws {RequiredError}
66683
+ */
66684
+ deleteOrganizationEntity: (entityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66685
+ /**
66686
+ * 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.
66687
+ * @summary List an organization\'s legal entities
66688
+ * @param {number} [page] Page number
66689
+ * @param {number} [pageSize] Number of items per page
66690
+ * @param {string} [orderBy] Field to order by
66691
+ * @param {string} [search] Search query
66692
+ * @param {*} [options] Override http request option.
66693
+ * @throws {RequiredError}
66694
+ */
66695
+ getOrganizationEntities: (page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66696
+ /**
66697
+ * Retrieves a single legal entity by ID, including its registered address, VAT registration details and invoice numbering configuration.
66698
+ * @summary Get an organization legal entity
66699
+ * @param {string} entityId The entity identifier
66700
+ * @param {*} [options] Override http request option.
66701
+ * @throws {RequiredError}
66702
+ */
66703
+ getOrganizationEntity: (entityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66704
+ /**
66705
+ * 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.
66706
+ * @summary Set an organization legal entity as primary
66707
+ * @param {string} entityId The entity identifier
66708
+ * @param {*} [options] Override http request option.
66709
+ * @throws {RequiredError}
66710
+ */
66711
+ setPrimaryOrganizationEntity: (entityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66712
+ /**
66713
+ * 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.
66714
+ * @summary Update an organization legal entity
66715
+ * @param {string} entityId The entity identifier
66716
+ * @param {OrganizationEntityUpdateInputs} organizationEntityUpdateInputs
66717
+ * @param {*} [options] Override http request option.
66718
+ * @throws {RequiredError}
66719
+ */
66720
+ updateOrganizationEntity: (entityId: string, organizationEntityUpdateInputs: OrganizationEntityUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66721
+ };
66722
+ /**
66723
+ * OrganizationEntitiesApi - functional programming interface
66724
+ */
66725
+ export declare const OrganizationEntitiesApiFp: (configuration?: Configuration) => {
66726
+ /**
66727
+ * 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.
66728
+ * @summary Create an organization legal entity
66729
+ * @param {OrganizationEntityCreateInputs} organizationEntityCreateInputs
66730
+ * @param {*} [options] Override http request option.
66731
+ * @throws {RequiredError}
66732
+ */
66733
+ createOrganizationEntity(organizationEntityCreateInputs: OrganizationEntityCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationEntity200Response>>;
66734
+ /**
66735
+ * 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.
66736
+ * @summary Delete an organization legal entity
66737
+ * @param {string} entityId The entity identifier
66738
+ * @param {*} [options] Override http request option.
66739
+ * @throws {RequiredError}
66740
+ */
66741
+ deleteOrganizationEntity(entityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
66742
+ /**
66743
+ * 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.
66744
+ * @summary List an organization\'s legal entities
66745
+ * @param {number} [page] Page number
66746
+ * @param {number} [pageSize] Number of items per page
66747
+ * @param {string} [orderBy] Field to order by
66748
+ * @param {string} [search] Search query
66749
+ * @param {*} [options] Override http request option.
66750
+ * @throws {RequiredError}
66751
+ */
66752
+ getOrganizationEntities(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrganizationEntities200Response>>;
66753
+ /**
66754
+ * Retrieves a single legal entity by ID, including its registered address, VAT registration details and invoice numbering configuration.
66755
+ * @summary Get an organization legal entity
66756
+ * @param {string} entityId The entity identifier
66757
+ * @param {*} [options] Override http request option.
66758
+ * @throws {RequiredError}
66759
+ */
66760
+ getOrganizationEntity(entityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationEntity200Response>>;
66761
+ /**
66762
+ * 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.
66763
+ * @summary Set an organization legal entity as primary
66764
+ * @param {string} entityId The entity identifier
66765
+ * @param {*} [options] Override http request option.
66766
+ * @throws {RequiredError}
66767
+ */
66768
+ setPrimaryOrganizationEntity(entityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationEntity200Response>>;
66769
+ /**
66770
+ * 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.
66771
+ * @summary Update an organization legal entity
66772
+ * @param {string} entityId The entity identifier
66773
+ * @param {OrganizationEntityUpdateInputs} organizationEntityUpdateInputs
66774
+ * @param {*} [options] Override http request option.
66775
+ * @throws {RequiredError}
66776
+ */
66777
+ updateOrganizationEntity(entityId: string, organizationEntityUpdateInputs: OrganizationEntityUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationEntity200Response>>;
66778
+ };
66779
+ /**
66780
+ * OrganizationEntitiesApi - factory interface
66781
+ */
66782
+ export declare const OrganizationEntitiesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
66783
+ /**
66784
+ * 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.
66785
+ * @summary Create an organization legal entity
66786
+ * @param {OrganizationEntitiesApiCreateOrganizationEntityRequest} requestParameters Request parameters.
66787
+ * @param {*} [options] Override http request option.
66788
+ * @throws {RequiredError}
66789
+ */
66790
+ createOrganizationEntity(requestParameters: OrganizationEntitiesApiCreateOrganizationEntityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationEntity200Response>;
66791
+ /**
66792
+ * 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.
66793
+ * @summary Delete an organization legal entity
66794
+ * @param {OrganizationEntitiesApiDeleteOrganizationEntityRequest} requestParameters Request parameters.
66795
+ * @param {*} [options] Override http request option.
66796
+ * @throws {RequiredError}
66797
+ */
66798
+ deleteOrganizationEntity(requestParameters: OrganizationEntitiesApiDeleteOrganizationEntityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
66799
+ /**
66800
+ * 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.
66801
+ * @summary List an organization\'s legal entities
66802
+ * @param {OrganizationEntitiesApiGetOrganizationEntitiesRequest} requestParameters Request parameters.
66803
+ * @param {*} [options] Override http request option.
66804
+ * @throws {RequiredError}
66805
+ */
66806
+ getOrganizationEntities(requestParameters?: OrganizationEntitiesApiGetOrganizationEntitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOrganizationEntities200Response>;
66807
+ /**
66808
+ * Retrieves a single legal entity by ID, including its registered address, VAT registration details and invoice numbering configuration.
66809
+ * @summary Get an organization legal entity
66810
+ * @param {OrganizationEntitiesApiGetOrganizationEntityRequest} requestParameters Request parameters.
66811
+ * @param {*} [options] Override http request option.
66812
+ * @throws {RequiredError}
66813
+ */
66814
+ getOrganizationEntity(requestParameters: OrganizationEntitiesApiGetOrganizationEntityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationEntity200Response>;
66815
+ /**
66816
+ * 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.
66817
+ * @summary Set an organization legal entity as primary
66818
+ * @param {OrganizationEntitiesApiSetPrimaryOrganizationEntityRequest} requestParameters Request parameters.
66819
+ * @param {*} [options] Override http request option.
66820
+ * @throws {RequiredError}
66821
+ */
66822
+ setPrimaryOrganizationEntity(requestParameters: OrganizationEntitiesApiSetPrimaryOrganizationEntityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationEntity200Response>;
66823
+ /**
66824
+ * 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.
66825
+ * @summary Update an organization legal entity
66826
+ * @param {OrganizationEntitiesApiUpdateOrganizationEntityRequest} requestParameters Request parameters.
66827
+ * @param {*} [options] Override http request option.
66828
+ * @throws {RequiredError}
66829
+ */
66830
+ updateOrganizationEntity(requestParameters: OrganizationEntitiesApiUpdateOrganizationEntityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationEntity200Response>;
66831
+ };
66832
+ /**
66833
+ * Request parameters for createOrganizationEntity operation in OrganizationEntitiesApi.
66834
+ */
66835
+ export interface OrganizationEntitiesApiCreateOrganizationEntityRequest {
66836
+ readonly organizationEntityCreateInputs: OrganizationEntityCreateInputs;
66837
+ }
66838
+ /**
66839
+ * Request parameters for deleteOrganizationEntity operation in OrganizationEntitiesApi.
66840
+ */
66841
+ export interface OrganizationEntitiesApiDeleteOrganizationEntityRequest {
66842
+ /**
66843
+ * The entity identifier
66844
+ */
66845
+ readonly entityId: string;
66846
+ }
66847
+ /**
66848
+ * Request parameters for getOrganizationEntities operation in OrganizationEntitiesApi.
66849
+ */
66850
+ export interface OrganizationEntitiesApiGetOrganizationEntitiesRequest {
66851
+ /**
66852
+ * Page number
66853
+ */
66854
+ readonly page?: number;
66855
+ /**
66856
+ * Number of items per page
66857
+ */
66858
+ readonly pageSize?: number;
66859
+ /**
66860
+ * Field to order by
66861
+ */
66862
+ readonly orderBy?: string;
66863
+ /**
66864
+ * Search query
66865
+ */
66866
+ readonly search?: string;
66867
+ }
66868
+ /**
66869
+ * Request parameters for getOrganizationEntity operation in OrganizationEntitiesApi.
66870
+ */
66871
+ export interface OrganizationEntitiesApiGetOrganizationEntityRequest {
66872
+ /**
66873
+ * The entity identifier
66874
+ */
66875
+ readonly entityId: string;
66876
+ }
66877
+ /**
66878
+ * Request parameters for setPrimaryOrganizationEntity operation in OrganizationEntitiesApi.
66879
+ */
66880
+ export interface OrganizationEntitiesApiSetPrimaryOrganizationEntityRequest {
66881
+ /**
66882
+ * The entity identifier
66883
+ */
66884
+ readonly entityId: string;
66885
+ }
66886
+ /**
66887
+ * Request parameters for updateOrganizationEntity operation in OrganizationEntitiesApi.
66888
+ */
66889
+ export interface OrganizationEntitiesApiUpdateOrganizationEntityRequest {
66890
+ /**
66891
+ * The entity identifier
66892
+ */
66893
+ readonly entityId: string;
66894
+ readonly organizationEntityUpdateInputs: OrganizationEntityUpdateInputs;
66895
+ }
66896
+ /**
66897
+ * OrganizationEntitiesApi - object-oriented interface
66898
+ */
66899
+ export declare class OrganizationEntitiesApi extends BaseAPI {
66900
+ /**
66901
+ * 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.
66902
+ * @summary Create an organization legal entity
66903
+ * @param {OrganizationEntitiesApiCreateOrganizationEntityRequest} requestParameters Request parameters.
66904
+ * @param {*} [options] Override http request option.
66905
+ * @throws {RequiredError}
66906
+ */
66907
+ createOrganizationEntity(requestParameters: OrganizationEntitiesApiCreateOrganizationEntityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOrganizationEntity200Response, any, {}>>;
66908
+ /**
66909
+ * 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.
66910
+ * @summary Delete an organization legal entity
66911
+ * @param {OrganizationEntitiesApiDeleteOrganizationEntityRequest} requestParameters Request parameters.
66912
+ * @param {*} [options] Override http request option.
66913
+ * @throws {RequiredError}
66914
+ */
66915
+ deleteOrganizationEntity(requestParameters: OrganizationEntitiesApiDeleteOrganizationEntityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}>>;
66916
+ /**
66917
+ * 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.
66918
+ * @summary List an organization\'s legal entities
66919
+ * @param {OrganizationEntitiesApiGetOrganizationEntitiesRequest} requestParameters Request parameters.
66920
+ * @param {*} [options] Override http request option.
66921
+ * @throws {RequiredError}
66922
+ */
66923
+ getOrganizationEntities(requestParameters?: OrganizationEntitiesApiGetOrganizationEntitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrganizationEntities200Response, any, {}>>;
66924
+ /**
66925
+ * Retrieves a single legal entity by ID, including its registered address, VAT registration details and invoice numbering configuration.
66926
+ * @summary Get an organization legal entity
66927
+ * @param {OrganizationEntitiesApiGetOrganizationEntityRequest} requestParameters Request parameters.
66928
+ * @param {*} [options] Override http request option.
66929
+ * @throws {RequiredError}
66930
+ */
66931
+ getOrganizationEntity(requestParameters: OrganizationEntitiesApiGetOrganizationEntityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOrganizationEntity200Response, any, {}>>;
66932
+ /**
66933
+ * 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.
66934
+ * @summary Set an organization legal entity as primary
66935
+ * @param {OrganizationEntitiesApiSetPrimaryOrganizationEntityRequest} requestParameters Request parameters.
66936
+ * @param {*} [options] Override http request option.
66937
+ * @throws {RequiredError}
66938
+ */
66939
+ setPrimaryOrganizationEntity(requestParameters: OrganizationEntitiesApiSetPrimaryOrganizationEntityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOrganizationEntity200Response, any, {}>>;
66940
+ /**
66941
+ * 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.
66942
+ * @summary Update an organization legal entity
66943
+ * @param {OrganizationEntitiesApiUpdateOrganizationEntityRequest} requestParameters Request parameters.
66944
+ * @param {*} [options] Override http request option.
66945
+ * @throws {RequiredError}
66946
+ */
66947
+ updateOrganizationEntity(requestParameters: OrganizationEntitiesApiUpdateOrganizationEntityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOrganizationEntity200Response, any, {}>>;
66948
+ }
66528
66949
  /**
66529
66950
  * OrganizationIntegrationsApi - axios parameter creator
66530
66951
  */