@connectedxm/admin-sdk 10.19.0 → 10.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +21 -39
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +21 -39
- package/dist/api.js +21 -21
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +21 -39
- package/dist/esm/api.js +21 -21
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/docs/Organization.md +0 -14
- package/docs/OrganizationApi.md +1 -1
- package/docs/OrganizationEntitiesApi.md +4 -4
- package/docs/OrganizationEntity.md +0 -4
- package/docs/OrganizationEntityCreateInputs.md +0 -2
- package/docs/OrganizationEntityUpdateInputs.md +0 -2
- package/docs/OrganizationUpdateInputs.md +0 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @connectedxm/admin-sdk@10.19.
|
|
1
|
+
## @connectedxm/admin-sdk@10.19.1
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @connectedxm/admin-sdk@10.19.
|
|
39
|
+
npm install @connectedxm/admin-sdk@10.19.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
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.19.
|
|
7
|
+
* The version of the OpenAPI document: 10.19.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -11626,16 +11626,9 @@ export interface Organization {
|
|
|
11626
11626
|
'domain': string | null;
|
|
11627
11627
|
'locale': string;
|
|
11628
11628
|
'email': string | null;
|
|
11629
|
-
'legalName': string | null;
|
|
11630
11629
|
'description': string | null;
|
|
11631
11630
|
'phone': string | null;
|
|
11632
11631
|
'privacyPolicyLink': string | null;
|
|
11633
|
-
'address1': string | null;
|
|
11634
|
-
'address2': string | null;
|
|
11635
|
-
'city': string | null;
|
|
11636
|
-
'state': string | null;
|
|
11637
|
-
'country': string | null;
|
|
11638
|
-
'zip': string | null;
|
|
11639
11632
|
'primaryColor': string | null;
|
|
11640
11633
|
'secondaryColor': string | null;
|
|
11641
11634
|
'darkPrimaryColor': string | null;
|
|
@@ -11725,8 +11718,6 @@ export interface OrganizationEntity {
|
|
|
11725
11718
|
'country': string;
|
|
11726
11719
|
'zip': string;
|
|
11727
11720
|
'companyCode': string | null;
|
|
11728
|
-
'invoicePrefix': string | null;
|
|
11729
|
-
'invoiceSequence': number;
|
|
11730
11721
|
'paymentIntegrationId': string | null;
|
|
11731
11722
|
'paymentIntegration': BasePaymentIntegration | null;
|
|
11732
11723
|
'createdAt': string;
|
|
@@ -11745,7 +11736,6 @@ export interface OrganizationEntityCreateInputs {
|
|
|
11745
11736
|
'vatNumber'?: string | null;
|
|
11746
11737
|
'vatCountry'?: string | null;
|
|
11747
11738
|
'companyCode'?: string | null;
|
|
11748
|
-
'invoicePrefix'?: string | null;
|
|
11749
11739
|
'paymentIntegrationId'?: string | null;
|
|
11750
11740
|
}
|
|
11751
11741
|
export interface OrganizationEntityUpdateInputs {
|
|
@@ -11761,7 +11751,6 @@ export interface OrganizationEntityUpdateInputs {
|
|
|
11761
11751
|
'vatNumber'?: string | null;
|
|
11762
11752
|
'vatCountry'?: string | null;
|
|
11763
11753
|
'companyCode'?: string | null;
|
|
11764
|
-
'invoicePrefix'?: string | null;
|
|
11765
11754
|
'paymentIntegrationId'?: string | null;
|
|
11766
11755
|
}
|
|
11767
11756
|
export interface OrganizationLanguageOverride {
|
|
@@ -12035,19 +12024,12 @@ export enum OrganizationTriggerType {
|
|
|
12035
12024
|
export interface OrganizationUpdateInputs {
|
|
12036
12025
|
'email'?: string | null;
|
|
12037
12026
|
'name'?: string | null;
|
|
12038
|
-
'legalName'?: string | null;
|
|
12039
12027
|
'description'?: string | null;
|
|
12040
12028
|
'slug'?: string | null;
|
|
12041
12029
|
'phone'?: string | null;
|
|
12042
12030
|
'timezone'?: string | null;
|
|
12043
12031
|
'website'?: string | null;
|
|
12044
12032
|
'privacyPolicyLink'?: string | null;
|
|
12045
|
-
'address1'?: string | null;
|
|
12046
|
-
'address2'?: string | null;
|
|
12047
|
-
'city'?: string | null;
|
|
12048
|
-
'state'?: string | null;
|
|
12049
|
-
'country'?: string | null;
|
|
12050
|
-
'zip'?: string | null;
|
|
12051
12033
|
'primaryColor'?: string | null;
|
|
12052
12034
|
'secondaryColor'?: string | null;
|
|
12053
12035
|
'darkPrimaryColor'?: string | null;
|
|
@@ -119623,7 +119605,7 @@ export const OrganizationApiAxiosParamCreator = function (configuration?: Config
|
|
|
119623
119605
|
};
|
|
119624
119606
|
},
|
|
119625
119607
|
/**
|
|
119626
|
-
* Updates the current organization\'s core profile fields (such as name,
|
|
119608
|
+
* Updates the current organization\'s core profile fields (such as name, contact details, and locales) and returns the updated organization record; requires update permission on the organization.
|
|
119627
119609
|
* @summary Update the organization\'s profile
|
|
119628
119610
|
* @param {OrganizationUpdateInputs} organizationUpdateInputs
|
|
119629
119611
|
* @param {*} [options] Override http request option.
|
|
@@ -119869,7 +119851,7 @@ export const OrganizationApiFp = function(configuration?: Configuration) {
|
|
|
119869
119851
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
119870
119852
|
},
|
|
119871
119853
|
/**
|
|
119872
|
-
* Updates the current organization\'s core profile fields (such as name,
|
|
119854
|
+
* Updates the current organization\'s core profile fields (such as name, contact details, and locales) and returns the updated organization record; requires update permission on the organization.
|
|
119873
119855
|
* @summary Update the organization\'s profile
|
|
119874
119856
|
* @param {OrganizationUpdateInputs} organizationUpdateInputs
|
|
119875
119857
|
* @param {*} [options] Override http request option.
|
|
@@ -119980,7 +119962,7 @@ export const OrganizationApiFactory = function (configuration?: Configuration, b
|
|
|
119980
119962
|
return localVarFp.searchOrganization(requestParameters.filters, options).then((request) => request(axios, basePath));
|
|
119981
119963
|
},
|
|
119982
119964
|
/**
|
|
119983
|
-
* Updates the current organization\'s core profile fields (such as name,
|
|
119965
|
+
* Updates the current organization\'s core profile fields (such as name, contact details, and locales) and returns the updated organization record; requires update permission on the organization.
|
|
119984
119966
|
* @summary Update the organization\'s profile
|
|
119985
119967
|
* @param {OrganizationApiUpdateOrganizationRequest} requestParameters Request parameters.
|
|
119986
119968
|
* @param {*} [options] Override http request option.
|
|
@@ -120179,7 +120161,7 @@ export class OrganizationApi extends BaseAPI {
|
|
|
120179
120161
|
}
|
|
120180
120162
|
|
|
120181
120163
|
/**
|
|
120182
|
-
* Updates the current organization\'s core profile fields (such as name,
|
|
120164
|
+
* Updates the current organization\'s core profile fields (such as name, contact details, and locales) and returns the updated organization record; requires update permission on the organization.
|
|
120183
120165
|
* @summary Update the organization\'s profile
|
|
120184
120166
|
* @param {OrganizationApiUpdateOrganizationRequest} requestParameters Request parameters.
|
|
120185
120167
|
* @param {*} [options] Override http request option.
|
|
@@ -121107,7 +121089,7 @@ export class OrganizationDomainsApi extends BaseAPI {
|
|
|
121107
121089
|
export const OrganizationEntitiesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
121108
121090
|
return {
|
|
121109
121091
|
/**
|
|
121110
|
-
* Creates a legal entity that can sell on behalf of the organization, carrying its own registered address
|
|
121092
|
+
* Creates a legal entity that can sell on behalf of the organization, carrying its own registered address and VAT registration. The entity is not made primary on creation - use the set-primary route for that.
|
|
121111
121093
|
* @summary Create an organization legal entity
|
|
121112
121094
|
* @param {OrganizationEntityCreateInputs} organizationEntityCreateInputs
|
|
121113
121095
|
* @param {*} [options] Override http request option.
|
|
@@ -121188,7 +121170,7 @@ export const OrganizationEntitiesApiAxiosParamCreator = function (configuration?
|
|
|
121188
121170
|
};
|
|
121189
121171
|
},
|
|
121190
121172
|
/**
|
|
121191
|
-
* Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address
|
|
121173
|
+
* Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address and VAT registration.
|
|
121192
121174
|
* @summary List an organization\'s legal entities
|
|
121193
121175
|
* @param {number} [page] Page number
|
|
121194
121176
|
* @param {number} [pageSize] Number of items per page
|
|
@@ -121244,7 +121226,7 @@ export const OrganizationEntitiesApiAxiosParamCreator = function (configuration?
|
|
|
121244
121226
|
};
|
|
121245
121227
|
},
|
|
121246
121228
|
/**
|
|
121247
|
-
* Retrieves a single legal entity by ID, including its registered address
|
|
121229
|
+
* Retrieves a single legal entity by ID, including its registered address and VAT registration details.
|
|
121248
121230
|
* @summary Get an organization legal entity
|
|
121249
121231
|
* @param {string} entityId The entity identifier
|
|
121250
121232
|
* @param {*} [options] Override http request option.
|
|
@@ -121324,7 +121306,7 @@ export const OrganizationEntitiesApiAxiosParamCreator = function (configuration?
|
|
|
121324
121306
|
};
|
|
121325
121307
|
},
|
|
121326
121308
|
/**
|
|
121327
|
-
* Updates the identity, registered address
|
|
121309
|
+
* Updates the identity, registered address or VAT registration of a legal entity. Primary status cannot be changed here - use the set-primary route.
|
|
121328
121310
|
* @summary Update an organization legal entity
|
|
121329
121311
|
* @param {string} entityId The entity identifier
|
|
121330
121312
|
* @param {OrganizationEntityUpdateInputs} organizationEntityUpdateInputs
|
|
@@ -121378,7 +121360,7 @@ export const OrganizationEntitiesApiFp = function(configuration?: Configuration)
|
|
|
121378
121360
|
const localVarAxiosParamCreator = OrganizationEntitiesApiAxiosParamCreator(configuration)
|
|
121379
121361
|
return {
|
|
121380
121362
|
/**
|
|
121381
|
-
* Creates a legal entity that can sell on behalf of the organization, carrying its own registered address
|
|
121363
|
+
* Creates a legal entity that can sell on behalf of the organization, carrying its own registered address and VAT registration. The entity is not made primary on creation - use the set-primary route for that.
|
|
121382
121364
|
* @summary Create an organization legal entity
|
|
121383
121365
|
* @param {OrganizationEntityCreateInputs} organizationEntityCreateInputs
|
|
121384
121366
|
* @param {*} [options] Override http request option.
|
|
@@ -121404,7 +121386,7 @@ export const OrganizationEntitiesApiFp = function(configuration?: Configuration)
|
|
|
121404
121386
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
121405
121387
|
},
|
|
121406
121388
|
/**
|
|
121407
|
-
* Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address
|
|
121389
|
+
* Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address and VAT registration.
|
|
121408
121390
|
* @summary List an organization\'s legal entities
|
|
121409
121391
|
* @param {number} [page] Page number
|
|
121410
121392
|
* @param {number} [pageSize] Number of items per page
|
|
@@ -121420,7 +121402,7 @@ export const OrganizationEntitiesApiFp = function(configuration?: Configuration)
|
|
|
121420
121402
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
121421
121403
|
},
|
|
121422
121404
|
/**
|
|
121423
|
-
* Retrieves a single legal entity by ID, including its registered address
|
|
121405
|
+
* Retrieves a single legal entity by ID, including its registered address and VAT registration details.
|
|
121424
121406
|
* @summary Get an organization legal entity
|
|
121425
121407
|
* @param {string} entityId The entity identifier
|
|
121426
121408
|
* @param {*} [options] Override http request option.
|
|
@@ -121446,7 +121428,7 @@ export const OrganizationEntitiesApiFp = function(configuration?: Configuration)
|
|
|
121446
121428
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
121447
121429
|
},
|
|
121448
121430
|
/**
|
|
121449
|
-
* Updates the identity, registered address
|
|
121431
|
+
* Updates the identity, registered address or VAT registration of a legal entity. Primary status cannot be changed here - use the set-primary route.
|
|
121450
121432
|
* @summary Update an organization legal entity
|
|
121451
121433
|
* @param {string} entityId The entity identifier
|
|
121452
121434
|
* @param {OrganizationEntityUpdateInputs} organizationEntityUpdateInputs
|
|
@@ -121469,7 +121451,7 @@ export const OrganizationEntitiesApiFactory = function (configuration?: Configur
|
|
|
121469
121451
|
const localVarFp = OrganizationEntitiesApiFp(configuration)
|
|
121470
121452
|
return {
|
|
121471
121453
|
/**
|
|
121472
|
-
* Creates a legal entity that can sell on behalf of the organization, carrying its own registered address
|
|
121454
|
+
* Creates a legal entity that can sell on behalf of the organization, carrying its own registered address and VAT registration. The entity is not made primary on creation - use the set-primary route for that.
|
|
121473
121455
|
* @summary Create an organization legal entity
|
|
121474
121456
|
* @param {OrganizationEntitiesApiCreateOrganizationEntityRequest} requestParameters Request parameters.
|
|
121475
121457
|
* @param {*} [options] Override http request option.
|
|
@@ -121489,7 +121471,7 @@ export const OrganizationEntitiesApiFactory = function (configuration?: Configur
|
|
|
121489
121471
|
return localVarFp.deleteOrganizationEntity(requestParameters.entityId, options).then((request) => request(axios, basePath));
|
|
121490
121472
|
},
|
|
121491
121473
|
/**
|
|
121492
|
-
* Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address
|
|
121474
|
+
* Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address and VAT registration.
|
|
121493
121475
|
* @summary List an organization\'s legal entities
|
|
121494
121476
|
* @param {OrganizationEntitiesApiGetOrganizationEntitiesRequest} requestParameters Request parameters.
|
|
121495
121477
|
* @param {*} [options] Override http request option.
|
|
@@ -121499,7 +121481,7 @@ export const OrganizationEntitiesApiFactory = function (configuration?: Configur
|
|
|
121499
121481
|
return localVarFp.getOrganizationEntities(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
121500
121482
|
},
|
|
121501
121483
|
/**
|
|
121502
|
-
* Retrieves a single legal entity by ID, including its registered address
|
|
121484
|
+
* Retrieves a single legal entity by ID, including its registered address and VAT registration details.
|
|
121503
121485
|
* @summary Get an organization legal entity
|
|
121504
121486
|
* @param {OrganizationEntitiesApiGetOrganizationEntityRequest} requestParameters Request parameters.
|
|
121505
121487
|
* @param {*} [options] Override http request option.
|
|
@@ -121519,7 +121501,7 @@ export const OrganizationEntitiesApiFactory = function (configuration?: Configur
|
|
|
121519
121501
|
return localVarFp.setPrimaryOrganizationEntity(requestParameters.entityId, options).then((request) => request(axios, basePath));
|
|
121520
121502
|
},
|
|
121521
121503
|
/**
|
|
121522
|
-
* Updates the identity, registered address
|
|
121504
|
+
* Updates the identity, registered address or VAT registration of a legal entity. Primary status cannot be changed here - use the set-primary route.
|
|
121523
121505
|
* @summary Update an organization legal entity
|
|
121524
121506
|
* @param {OrganizationEntitiesApiUpdateOrganizationEntityRequest} requestParameters Request parameters.
|
|
121525
121507
|
* @param {*} [options] Override http request option.
|
|
@@ -121610,7 +121592,7 @@ export interface OrganizationEntitiesApiUpdateOrganizationEntityRequest {
|
|
|
121610
121592
|
*/
|
|
121611
121593
|
export class OrganizationEntitiesApi extends BaseAPI {
|
|
121612
121594
|
/**
|
|
121613
|
-
* Creates a legal entity that can sell on behalf of the organization, carrying its own registered address
|
|
121595
|
+
* Creates a legal entity that can sell on behalf of the organization, carrying its own registered address and VAT registration. The entity is not made primary on creation - use the set-primary route for that.
|
|
121614
121596
|
* @summary Create an organization legal entity
|
|
121615
121597
|
* @param {OrganizationEntitiesApiCreateOrganizationEntityRequest} requestParameters Request parameters.
|
|
121616
121598
|
* @param {*} [options] Override http request option.
|
|
@@ -121632,7 +121614,7 @@ export class OrganizationEntitiesApi extends BaseAPI {
|
|
|
121632
121614
|
}
|
|
121633
121615
|
|
|
121634
121616
|
/**
|
|
121635
|
-
* Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address
|
|
121617
|
+
* Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address and VAT registration.
|
|
121636
121618
|
* @summary List an organization\'s legal entities
|
|
121637
121619
|
* @param {OrganizationEntitiesApiGetOrganizationEntitiesRequest} requestParameters Request parameters.
|
|
121638
121620
|
* @param {*} [options] Override http request option.
|
|
@@ -121643,7 +121625,7 @@ export class OrganizationEntitiesApi extends BaseAPI {
|
|
|
121643
121625
|
}
|
|
121644
121626
|
|
|
121645
121627
|
/**
|
|
121646
|
-
* Retrieves a single legal entity by ID, including its registered address
|
|
121628
|
+
* Retrieves a single legal entity by ID, including its registered address and VAT registration details.
|
|
121647
121629
|
* @summary Get an organization legal entity
|
|
121648
121630
|
* @param {OrganizationEntitiesApiGetOrganizationEntityRequest} requestParameters Request parameters.
|
|
121649
121631
|
* @param {*} [options] Override http request option.
|
|
@@ -121665,7 +121647,7 @@ export class OrganizationEntitiesApi extends BaseAPI {
|
|
|
121665
121647
|
}
|
|
121666
121648
|
|
|
121667
121649
|
/**
|
|
121668
|
-
* Updates the identity, registered address
|
|
121650
|
+
* Updates the identity, registered address or VAT registration of a legal entity. Primary status cannot be changed here - use the set-primary route.
|
|
121669
121651
|
* @summary Update an organization legal entity
|
|
121670
121652
|
* @param {OrganizationEntitiesApiUpdateOrganizationEntityRequest} requestParameters Request parameters.
|
|
121671
121653
|
* @param {*} [options] Override http request option.
|
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.19.
|
|
7
|
+
* The version of the OpenAPI document: 10.19.1
|
|
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.19.
|
|
7
|
+
* The version of the OpenAPI document: 10.19.1
|
|
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.19.
|
|
6
|
+
* The version of the OpenAPI document: 10.19.1
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
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.19.
|
|
5
|
+
* The version of the OpenAPI document: 10.19.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10290,16 +10290,9 @@ export interface Organization {
|
|
|
10290
10290
|
'domain': string | null;
|
|
10291
10291
|
'locale': string;
|
|
10292
10292
|
'email': string | null;
|
|
10293
|
-
'legalName': string | null;
|
|
10294
10293
|
'description': string | null;
|
|
10295
10294
|
'phone': string | null;
|
|
10296
10295
|
'privacyPolicyLink': string | null;
|
|
10297
|
-
'address1': string | null;
|
|
10298
|
-
'address2': string | null;
|
|
10299
|
-
'city': string | null;
|
|
10300
|
-
'state': string | null;
|
|
10301
|
-
'country': string | null;
|
|
10302
|
-
'zip': string | null;
|
|
10303
10296
|
'primaryColor': string | null;
|
|
10304
10297
|
'secondaryColor': string | null;
|
|
10305
10298
|
'darkPrimaryColor': string | null;
|
|
@@ -10384,8 +10377,6 @@ export interface OrganizationEntity {
|
|
|
10384
10377
|
'country': string;
|
|
10385
10378
|
'zip': string;
|
|
10386
10379
|
'companyCode': string | null;
|
|
10387
|
-
'invoicePrefix': string | null;
|
|
10388
|
-
'invoiceSequence': number;
|
|
10389
10380
|
'paymentIntegrationId': string | null;
|
|
10390
10381
|
'paymentIntegration': BasePaymentIntegration | null;
|
|
10391
10382
|
'createdAt': string;
|
|
@@ -10404,7 +10395,6 @@ export interface OrganizationEntityCreateInputs {
|
|
|
10404
10395
|
'vatNumber'?: string | null;
|
|
10405
10396
|
'vatCountry'?: string | null;
|
|
10406
10397
|
'companyCode'?: string | null;
|
|
10407
|
-
'invoicePrefix'?: string | null;
|
|
10408
10398
|
'paymentIntegrationId'?: string | null;
|
|
10409
10399
|
}
|
|
10410
10400
|
export interface OrganizationEntityUpdateInputs {
|
|
@@ -10420,7 +10410,6 @@ export interface OrganizationEntityUpdateInputs {
|
|
|
10420
10410
|
'vatNumber'?: string | null;
|
|
10421
10411
|
'vatCountry'?: string | null;
|
|
10422
10412
|
'companyCode'?: string | null;
|
|
10423
|
-
'invoicePrefix'?: string | null;
|
|
10424
10413
|
'paymentIntegrationId'?: string | null;
|
|
10425
10414
|
}
|
|
10426
10415
|
export interface OrganizationLanguageOverride {
|
|
@@ -10686,19 +10675,12 @@ export declare enum OrganizationTriggerType {
|
|
|
10686
10675
|
export interface OrganizationUpdateInputs {
|
|
10687
10676
|
'email'?: string | null;
|
|
10688
10677
|
'name'?: string | null;
|
|
10689
|
-
'legalName'?: string | null;
|
|
10690
10678
|
'description'?: string | null;
|
|
10691
10679
|
'slug'?: string | null;
|
|
10692
10680
|
'phone'?: string | null;
|
|
10693
10681
|
'timezone'?: string | null;
|
|
10694
10682
|
'website'?: string | null;
|
|
10695
10683
|
'privacyPolicyLink'?: string | null;
|
|
10696
|
-
'address1'?: string | null;
|
|
10697
|
-
'address2'?: string | null;
|
|
10698
|
-
'city'?: string | null;
|
|
10699
|
-
'state'?: string | null;
|
|
10700
|
-
'country'?: string | null;
|
|
10701
|
-
'zip'?: string | null;
|
|
10702
10684
|
'primaryColor'?: string | null;
|
|
10703
10685
|
'secondaryColor'?: string | null;
|
|
10704
10686
|
'darkPrimaryColor'?: string | null;
|
|
@@ -66441,7 +66423,7 @@ export declare const OrganizationApiAxiosParamCreator: (configuration?: Configur
|
|
|
66441
66423
|
*/
|
|
66442
66424
|
searchOrganization: (filters?: SearchOrganizationFilters, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
66443
66425
|
/**
|
|
66444
|
-
* Updates the current organization\'s core profile fields (such as name,
|
|
66426
|
+
* Updates the current organization\'s core profile fields (such as name, contact details, and locales) and returns the updated organization record; requires update permission on the organization.
|
|
66445
66427
|
* @summary Update the organization\'s profile
|
|
66446
66428
|
* @param {OrganizationUpdateInputs} organizationUpdateInputs
|
|
66447
66429
|
* @param {*} [options] Override http request option.
|
|
@@ -66523,7 +66505,7 @@ export declare const OrganizationApiFp: (configuration?: Configuration) => {
|
|
|
66523
66505
|
*/
|
|
66524
66506
|
searchOrganization(filters?: SearchOrganizationFilters, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchOrganization200Response>>;
|
|
66525
66507
|
/**
|
|
66526
|
-
* Updates the current organization\'s core profile fields (such as name,
|
|
66508
|
+
* Updates the current organization\'s core profile fields (such as name, contact details, and locales) and returns the updated organization record; requires update permission on the organization.
|
|
66527
66509
|
* @summary Update the organization\'s profile
|
|
66528
66510
|
* @param {OrganizationUpdateInputs} organizationUpdateInputs
|
|
66529
66511
|
* @param {*} [options] Override http request option.
|
|
@@ -66600,7 +66582,7 @@ export declare const OrganizationApiFactory: (configuration?: Configuration, bas
|
|
|
66600
66582
|
*/
|
|
66601
66583
|
searchOrganization(requestParameters?: OrganizationApiSearchOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<SearchOrganization200Response>;
|
|
66602
66584
|
/**
|
|
66603
|
-
* Updates the current organization\'s core profile fields (such as name,
|
|
66585
|
+
* Updates the current organization\'s core profile fields (such as name, contact details, and locales) and returns the updated organization record; requires update permission on the organization.
|
|
66604
66586
|
* @summary Update the organization\'s profile
|
|
66605
66587
|
* @param {OrganizationApiUpdateOrganizationRequest} requestParameters Request parameters.
|
|
66606
66588
|
* @param {*} [options] Override http request option.
|
|
@@ -66760,7 +66742,7 @@ export declare class OrganizationApi extends BaseAPI {
|
|
|
66760
66742
|
*/
|
|
66761
66743
|
searchOrganization(requestParameters?: OrganizationApiSearchOrganizationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SearchOrganization200Response, any, {}>>;
|
|
66762
66744
|
/**
|
|
66763
|
-
* Updates the current organization\'s core profile fields (such as name,
|
|
66745
|
+
* Updates the current organization\'s core profile fields (such as name, contact details, and locales) and returns the updated organization record; requires update permission on the organization.
|
|
66764
66746
|
* @summary Update the organization\'s profile
|
|
66765
66747
|
* @param {OrganizationApiUpdateOrganizationRequest} requestParameters Request parameters.
|
|
66766
66748
|
* @param {*} [options] Override http request option.
|
|
@@ -67210,7 +67192,7 @@ export declare class OrganizationDomainsApi extends BaseAPI {
|
|
|
67210
67192
|
*/
|
|
67211
67193
|
export declare const OrganizationEntitiesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
67212
67194
|
/**
|
|
67213
|
-
* Creates a legal entity that can sell on behalf of the organization, carrying its own registered address
|
|
67195
|
+
* Creates a legal entity that can sell on behalf of the organization, carrying its own registered address and VAT registration. The entity is not made primary on creation - use the set-primary route for that.
|
|
67214
67196
|
* @summary Create an organization legal entity
|
|
67215
67197
|
* @param {OrganizationEntityCreateInputs} organizationEntityCreateInputs
|
|
67216
67198
|
* @param {*} [options] Override http request option.
|
|
@@ -67226,7 +67208,7 @@ export declare const OrganizationEntitiesApiAxiosParamCreator: (configuration?:
|
|
|
67226
67208
|
*/
|
|
67227
67209
|
deleteOrganizationEntity: (entityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67228
67210
|
/**
|
|
67229
|
-
* Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address
|
|
67211
|
+
* Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address and VAT registration.
|
|
67230
67212
|
* @summary List an organization\'s legal entities
|
|
67231
67213
|
* @param {number} [page] Page number
|
|
67232
67214
|
* @param {number} [pageSize] Number of items per page
|
|
@@ -67237,7 +67219,7 @@ export declare const OrganizationEntitiesApiAxiosParamCreator: (configuration?:
|
|
|
67237
67219
|
*/
|
|
67238
67220
|
getOrganizationEntities: (page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67239
67221
|
/**
|
|
67240
|
-
* Retrieves a single legal entity by ID, including its registered address
|
|
67222
|
+
* Retrieves a single legal entity by ID, including its registered address and VAT registration details.
|
|
67241
67223
|
* @summary Get an organization legal entity
|
|
67242
67224
|
* @param {string} entityId The entity identifier
|
|
67243
67225
|
* @param {*} [options] Override http request option.
|
|
@@ -67253,7 +67235,7 @@ export declare const OrganizationEntitiesApiAxiosParamCreator: (configuration?:
|
|
|
67253
67235
|
*/
|
|
67254
67236
|
setPrimaryOrganizationEntity: (entityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67255
67237
|
/**
|
|
67256
|
-
* Updates the identity, registered address
|
|
67238
|
+
* Updates the identity, registered address or VAT registration of a legal entity. Primary status cannot be changed here - use the set-primary route.
|
|
67257
67239
|
* @summary Update an organization legal entity
|
|
67258
67240
|
* @param {string} entityId The entity identifier
|
|
67259
67241
|
* @param {OrganizationEntityUpdateInputs} organizationEntityUpdateInputs
|
|
@@ -67267,7 +67249,7 @@ export declare const OrganizationEntitiesApiAxiosParamCreator: (configuration?:
|
|
|
67267
67249
|
*/
|
|
67268
67250
|
export declare const OrganizationEntitiesApiFp: (configuration?: Configuration) => {
|
|
67269
67251
|
/**
|
|
67270
|
-
* Creates a legal entity that can sell on behalf of the organization, carrying its own registered address
|
|
67252
|
+
* Creates a legal entity that can sell on behalf of the organization, carrying its own registered address and VAT registration. The entity is not made primary on creation - use the set-primary route for that.
|
|
67271
67253
|
* @summary Create an organization legal entity
|
|
67272
67254
|
* @param {OrganizationEntityCreateInputs} organizationEntityCreateInputs
|
|
67273
67255
|
* @param {*} [options] Override http request option.
|
|
@@ -67283,7 +67265,7 @@ export declare const OrganizationEntitiesApiFp: (configuration?: Configuration)
|
|
|
67283
67265
|
*/
|
|
67284
67266
|
deleteOrganizationEntity(entityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
67285
67267
|
/**
|
|
67286
|
-
* Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address
|
|
67268
|
+
* Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address and VAT registration.
|
|
67287
67269
|
* @summary List an organization\'s legal entities
|
|
67288
67270
|
* @param {number} [page] Page number
|
|
67289
67271
|
* @param {number} [pageSize] Number of items per page
|
|
@@ -67294,7 +67276,7 @@ export declare const OrganizationEntitiesApiFp: (configuration?: Configuration)
|
|
|
67294
67276
|
*/
|
|
67295
67277
|
getOrganizationEntities(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrganizationEntities200Response>>;
|
|
67296
67278
|
/**
|
|
67297
|
-
* Retrieves a single legal entity by ID, including its registered address
|
|
67279
|
+
* Retrieves a single legal entity by ID, including its registered address and VAT registration details.
|
|
67298
67280
|
* @summary Get an organization legal entity
|
|
67299
67281
|
* @param {string} entityId The entity identifier
|
|
67300
67282
|
* @param {*} [options] Override http request option.
|
|
@@ -67310,7 +67292,7 @@ export declare const OrganizationEntitiesApiFp: (configuration?: Configuration)
|
|
|
67310
67292
|
*/
|
|
67311
67293
|
setPrimaryOrganizationEntity(entityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationEntity200Response>>;
|
|
67312
67294
|
/**
|
|
67313
|
-
* Updates the identity, registered address
|
|
67295
|
+
* Updates the identity, registered address or VAT registration of a legal entity. Primary status cannot be changed here - use the set-primary route.
|
|
67314
67296
|
* @summary Update an organization legal entity
|
|
67315
67297
|
* @param {string} entityId The entity identifier
|
|
67316
67298
|
* @param {OrganizationEntityUpdateInputs} organizationEntityUpdateInputs
|
|
@@ -67324,7 +67306,7 @@ export declare const OrganizationEntitiesApiFp: (configuration?: Configuration)
|
|
|
67324
67306
|
*/
|
|
67325
67307
|
export declare const OrganizationEntitiesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
67326
67308
|
/**
|
|
67327
|
-
* Creates a legal entity that can sell on behalf of the organization, carrying its own registered address
|
|
67309
|
+
* Creates a legal entity that can sell on behalf of the organization, carrying its own registered address and VAT registration. The entity is not made primary on creation - use the set-primary route for that.
|
|
67328
67310
|
* @summary Create an organization legal entity
|
|
67329
67311
|
* @param {OrganizationEntitiesApiCreateOrganizationEntityRequest} requestParameters Request parameters.
|
|
67330
67312
|
* @param {*} [options] Override http request option.
|
|
@@ -67340,7 +67322,7 @@ export declare const OrganizationEntitiesApiFactory: (configuration?: Configurat
|
|
|
67340
67322
|
*/
|
|
67341
67323
|
deleteOrganizationEntity(requestParameters: OrganizationEntitiesApiDeleteOrganizationEntityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
|
|
67342
67324
|
/**
|
|
67343
|
-
* Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address
|
|
67325
|
+
* Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address and VAT registration.
|
|
67344
67326
|
* @summary List an organization\'s legal entities
|
|
67345
67327
|
* @param {OrganizationEntitiesApiGetOrganizationEntitiesRequest} requestParameters Request parameters.
|
|
67346
67328
|
* @param {*} [options] Override http request option.
|
|
@@ -67348,7 +67330,7 @@ export declare const OrganizationEntitiesApiFactory: (configuration?: Configurat
|
|
|
67348
67330
|
*/
|
|
67349
67331
|
getOrganizationEntities(requestParameters?: OrganizationEntitiesApiGetOrganizationEntitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOrganizationEntities200Response>;
|
|
67350
67332
|
/**
|
|
67351
|
-
* Retrieves a single legal entity by ID, including its registered address
|
|
67333
|
+
* Retrieves a single legal entity by ID, including its registered address and VAT registration details.
|
|
67352
67334
|
* @summary Get an organization legal entity
|
|
67353
67335
|
* @param {OrganizationEntitiesApiGetOrganizationEntityRequest} requestParameters Request parameters.
|
|
67354
67336
|
* @param {*} [options] Override http request option.
|
|
@@ -67364,7 +67346,7 @@ export declare const OrganizationEntitiesApiFactory: (configuration?: Configurat
|
|
|
67364
67346
|
*/
|
|
67365
67347
|
setPrimaryOrganizationEntity(requestParameters: OrganizationEntitiesApiSetPrimaryOrganizationEntityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationEntity200Response>;
|
|
67366
67348
|
/**
|
|
67367
|
-
* Updates the identity, registered address
|
|
67349
|
+
* Updates the identity, registered address or VAT registration of a legal entity. Primary status cannot be changed here - use the set-primary route.
|
|
67368
67350
|
* @summary Update an organization legal entity
|
|
67369
67351
|
* @param {OrganizationEntitiesApiUpdateOrganizationEntityRequest} requestParameters Request parameters.
|
|
67370
67352
|
* @param {*} [options] Override http request option.
|
|
@@ -67441,7 +67423,7 @@ export interface OrganizationEntitiesApiUpdateOrganizationEntityRequest {
|
|
|
67441
67423
|
*/
|
|
67442
67424
|
export declare class OrganizationEntitiesApi extends BaseAPI {
|
|
67443
67425
|
/**
|
|
67444
|
-
* Creates a legal entity that can sell on behalf of the organization, carrying its own registered address
|
|
67426
|
+
* Creates a legal entity that can sell on behalf of the organization, carrying its own registered address and VAT registration. The entity is not made primary on creation - use the set-primary route for that.
|
|
67445
67427
|
* @summary Create an organization legal entity
|
|
67446
67428
|
* @param {OrganizationEntitiesApiCreateOrganizationEntityRequest} requestParameters Request parameters.
|
|
67447
67429
|
* @param {*} [options] Override http request option.
|
|
@@ -67457,7 +67439,7 @@ export declare class OrganizationEntitiesApi extends BaseAPI {
|
|
|
67457
67439
|
*/
|
|
67458
67440
|
deleteOrganizationEntity(requestParameters: OrganizationEntitiesApiDeleteOrganizationEntityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}>>;
|
|
67459
67441
|
/**
|
|
67460
|
-
* Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address
|
|
67442
|
+
* Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address and VAT registration.
|
|
67461
67443
|
* @summary List an organization\'s legal entities
|
|
67462
67444
|
* @param {OrganizationEntitiesApiGetOrganizationEntitiesRequest} requestParameters Request parameters.
|
|
67463
67445
|
* @param {*} [options] Override http request option.
|
|
@@ -67465,7 +67447,7 @@ export declare class OrganizationEntitiesApi extends BaseAPI {
|
|
|
67465
67447
|
*/
|
|
67466
67448
|
getOrganizationEntities(requestParameters?: OrganizationEntitiesApiGetOrganizationEntitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrganizationEntities200Response, any, {}>>;
|
|
67467
67449
|
/**
|
|
67468
|
-
* Retrieves a single legal entity by ID, including its registered address
|
|
67450
|
+
* Retrieves a single legal entity by ID, including its registered address and VAT registration details.
|
|
67469
67451
|
* @summary Get an organization legal entity
|
|
67470
67452
|
* @param {OrganizationEntitiesApiGetOrganizationEntityRequest} requestParameters Request parameters.
|
|
67471
67453
|
* @param {*} [options] Override http request option.
|
|
@@ -67481,7 +67463,7 @@ export declare class OrganizationEntitiesApi extends BaseAPI {
|
|
|
67481
67463
|
*/
|
|
67482
67464
|
setPrimaryOrganizationEntity(requestParameters: OrganizationEntitiesApiSetPrimaryOrganizationEntityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOrganizationEntity200Response, any, {}>>;
|
|
67483
67465
|
/**
|
|
67484
|
-
* Updates the identity, registered address
|
|
67466
|
+
* Updates the identity, registered address or VAT registration of a legal entity. Primary status cannot be changed here - use the set-primary route.
|
|
67485
67467
|
* @summary Update an organization legal entity
|
|
67486
67468
|
* @param {OrganizationEntitiesApiUpdateOrganizationEntityRequest} requestParameters Request parameters.
|
|
67487
67469
|
* @param {*} [options] Override http request option.
|