import type { AxiosPromise, AxiosInstance } from 'axios'; import { ApsServiceRequestConfig, IApsConfiguration, SdkManager, ApiResponse } from "@aps_sdk/autodesk-sdkmanager"; import { RequestArgs, BaseApi } from '../base'; import { Company } from '../model'; import { CompanyImportResponse } from '../model'; import { CompanyPatchPayload } from '../model'; import { CompanyPayload } from '../model'; import { CompanyResponse } from '../model'; import { Region } from '../model'; /** * CompaniesApi - axios parameter creator * @export */ export declare const CompaniesApiAxiosParamCreator: (apsConfiguration?: IApsConfiguration) => { /** * Create a new partner company. Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects. * @summary Create a new partner company * @param {string} accountId The account ID of the company. This corresponds to hub ID in the Data Management API. To convert a hub ID into an account ID you need to remove the “b.” prefix. For example, a hub ID of b.c8b0c73d-3ae9 translates to an account ID of c8b0c73d-3ae9. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {CompanyPayload} [companyPayload] * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} */ createCompany: (accessToken: string, accountId: string, region?: Region, companyPayload?: CompanyPayload, options?: ApsServiceRequestConfig) => Promise; /** * Query all the partner companies in a specific BIM 360 account. Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects. * @summary Get all companies in an account * @param {string} accountId The account ID of the company. This corresponds to hub ID in the Data Management API. To convert a hub ID into an account ID you need to remove the “b.” prefix. For example, a hub ID of b.c8b0c73d-3ae9 translates to an account ID of c8b0c73d-3ae9. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {number} [limit] Response array’s size Default value: 10 Max limit: 100 * @param {number} [offset] Offset of response array Default value: 0 * @param {string} [sort] Comma-separated fields to sort by in ascending order Prepending a field with - sorts in descending order Invalid fields and whitespaces will be ignored * @param {string} [field] Comma-separated fields to include in response id will always be returned Invalid fields will be ignored * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCompanies: (accessToken: string, accountId: string, region?: Region, limit?: number, offset?: number, sort?: string, field?: string, options?: ApsServiceRequestConfig) => Promise; /** * Query the details of a specific partner company. * @summary Get details of a company * @param {string} companyId Company ID * @param {string} accountId The account ID of the company. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCompany: (accessToken: string, companyId: string, accountId: string, region?: Region, options?: ApsServiceRequestConfig) => Promise; /** * Query all the partner companies in a specific BIM 360 project. Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects. * @summary Get all companies in a project * @param {string} accountId The account ID of the company. * @param {string} projectId The ID of the project. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {number} [limit] Response array’s size Default value: 10 Max limit: 100 * @param {number} [offset] Offset of response array Default value: 0 * @param {string} [sort] Comma-separated fields to sort by in ascending order * @param {string} [field] Comma-separated fields to include in response * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getProjectCompanies: (accessToken: string, accountId: string, projectId: string, region?: Region, limit?: number, offset?: number, sort?: string, field?: string, options?: ApsServiceRequestConfig) => Promise; /** * Bulk import partner companies to the company directory in a specific BIM 360 account. (50 companies maximum can be included in each call.) Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects. * @summary Bulk import partner companies * @param {string} accountId The account ID of the company. This corresponds to hub ID in the Data Management API. To convert a hub ID into an account ID you need to remove the “b.” prefix. For example, a hub ID of b.c8b0c73d-3ae9 translates to an account ID of c8b0c73d-3ae9. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {Array} [companyPayload] * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} */ importCompanies: (accessToken: string, accountId: string, region?: Region, companyPayload?: Array, options?: ApsServiceRequestConfig) => Promise; /** * Update the properties of only the specified attributes of a specific partner company. * @summary Update the properties of company * @param {string} companyId Company ID * @param {string} accountId The account ID of the company. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {CompanyPatchPayload} [companyPatchPayload] * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchCompanyDetails: (accessToken: string, companyId: string, accountId: string, region?: Region, companyPatchPayload?: CompanyPatchPayload, options?: ApsServiceRequestConfig) => Promise; /** * Create or update a specific partner company’s image. * @summary Create or update a company’s image * @param {string} companyId Company ID * @param {string} accountId The account ID of the company. * @param {File} body The file to be uploaded as HTTP multipart (chunk) data. Supported MIME types are image/png, image/jpeg, image/jpg, image/bmp, and image/gif. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchCompanyImage: (accessToken: string, companyId: string, accountId: string, body: File, region?: Region, options?: ApsServiceRequestConfig) => Promise; /** * Search partner companies in a specific BIM 360 account by name. Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects. * @summary Search companies in account by name * @param {string} accountId The account ID of the company. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {string} [name] Company name to match Max length: 255 * @param {string} [trade] Company trade to match Max length: 255 * @param {string} [operator] Boolean operator to use: OR (default) or AND * @param {boolean} [partial] If true (default), perform a fuzzy match * @param {number} [limit] Response array’s size Default value: 10 Max limit: 100 * @param {number} [offset] Offset of response array Default value: 0 * @param {string} [sort] Comma-separated fields to sort by in ascending order * @param {string} [field] Comma-separated fields to include in response * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchCompanies: (accessToken: string, accountId: string, region?: Region, name?: string, trade?: string, operator?: string, partial?: boolean, limit?: number, offset?: number, sort?: string, field?: string, options?: ApsServiceRequestConfig) => Promise; }; /** * CompaniesApi - functional programming interface * @export */ export declare const CompaniesApiFp: (sdkManager?: SdkManager) => { /** * Create a new partner company. Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects. * @summary Create a new partner company * @param {string} accountId The account ID of the company. This corresponds to hub ID in the Data Management API. To convert a hub ID into an account ID you need to remove the “b.” prefix. For example, a hub ID of b.c8b0c73d-3ae9 translates to an account ID of c8b0c73d-3ae9. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {CompanyPayload} [companyPayload] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createCompany(accessToken: string, accountId: string, region?: Region, companyPayload?: CompanyPayload, options?: ApsServiceRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Query all the partner companies in a specific BIM 360 account. Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects. * @summary Get all companies in an account * @param {string} accountId The account ID of the company. This corresponds to hub ID in the Data Management API. To convert a hub ID into an account ID you need to remove the “b.” prefix. For example, a hub ID of b.c8b0c73d-3ae9 translates to an account ID of c8b0c73d-3ae9. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {number} [limit] Response array’s size Default value: 10 Max limit: 100 * @param {number} [offset] Offset of response array Default value: 0 * @param {string} [sort] Comma-separated fields to sort by in ascending order Prepending a field with - sorts in descending order Invalid fields and whitespaces will be ignored * @param {string} [field] Comma-separated fields to include in response id will always be returned Invalid fields will be ignored * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCompanies(accessToken: string, accountId: string, region?: Region, limit?: number, offset?: number, sort?: string, field?: string, options?: ApsServiceRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; /** * Query the details of a specific partner company. * @summary Get details of a company * @param {string} companyId Company ID * @param {string} accountId The account ID of the company. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCompany(accessToken: string, companyId: string, accountId: string, region?: Region, options?: ApsServiceRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Query all the partner companies in a specific BIM 360 project. Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects. * @summary Get all companies in a project * @param {string} accountId The account ID of the company. * @param {string} projectId The ID of the project. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {number} [limit] Response array’s size Default value: 10 Max limit: 100 * @param {number} [offset] Offset of response array Default value: 0 * @param {string} [sort] Comma-separated fields to sort by in ascending order * @param {string} [field] Comma-separated fields to include in response * @param {*} [options] Override http request option. * @throws {RequiredError} */ getProjectCompanies(accessToken: string, accountId: string, projectId: string, region?: Region, limit?: number, offset?: number, sort?: string, field?: string, options?: ApsServiceRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; /** * Bulk import partner companies to the company directory in a specific BIM 360 account. (50 companies maximum can be included in each call.) Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects. * @summary Bulk import partner companies * @param {string} accountId The account ID of the company. This corresponds to hub ID in the Data Management API. To convert a hub ID into an account ID you need to remove the “b.” prefix. For example, a hub ID of b.c8b0c73d-3ae9 translates to an account ID of c8b0c73d-3ae9. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {Array} [companyPayload] * @param {*} [options] Override http request option. * @throws {RequiredError} */ importCompanies(accessToken: string, accountId: string, region?: Region, companyPayload?: Array, options?: ApsServiceRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Update the properties of only the specified attributes of a specific partner company. * @summary Update the properties of company * @param {string} companyId Company ID * @param {string} accountId The account ID of the company. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {CompanyPatchPayload} [companyPatchPayload] * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchCompanyDetails(accessToken: string, companyId: string, accountId: string, region?: Region, companyPatchPayload?: CompanyPatchPayload, options?: ApsServiceRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Create or update a specific partner company’s image. * @summary Create or update a company’s image * @param {string} companyId Company ID * @param {string} accountId The account ID of the company. * @param {File} body The file to be uploaded as HTTP multipart (chunk) data. Supported MIME types are image/png, image/jpeg, image/jpg, image/bmp, and image/gif. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchCompanyImage(accessToken: string, companyId: string, accountId: string, body: File, region?: Region, options?: ApsServiceRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Search partner companies in a specific BIM 360 account by name. Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects. * @summary Search companies in account by name * @param {string} accountId The account ID of the company. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {string} [name] Company name to match Max length: 255 * @param {string} [trade] Company trade to match Max length: 255 * @param {string} [operator] Boolean operator to use: OR (default) or AND * @param {boolean} [partial] If true (default), perform a fuzzy match * @param {number} [limit] Response array’s size Default value: 10 Max limit: 100 * @param {number} [offset] Offset of response array Default value: 0 * @param {string} [sort] Comma-separated fields to sort by in ascending order * @param {string} [field] Comma-separated fields to include in response * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchCompanies(accessToken: string, accountId: string, region?: Region, name?: string, trade?: string, operator?: string, partial?: boolean, limit?: number, offset?: number, sort?: string, field?: string, options?: ApsServiceRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; }; /** * CompaniesApi - interface * @export * @interface CompaniesApi */ export interface CompaniesApiInterface { /** * Create a new partner company. Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects. * @summary Create a new partner company * @param {string} accountId The account ID of the company. This corresponds to hub ID in the Data Management API. To convert a hub ID into an account ID you need to remove the “b.” prefix. For example, a hub ID of b.c8b0c73d-3ae9 translates to an account ID of c8b0c73d-3ae9. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {CompanyPayload} [companyPayload] * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CompaniesApiInterface */ createCompany(accessToken: string, accountId: string, region?: Region, companyPayload?: CompanyPayload, options?: ApsServiceRequestConfig): Promise; /** * Query all the partner companies in a specific BIM 360 account. Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects. * @summary Get all companies in an account * @param {string} accountId The account ID of the company. This corresponds to hub ID in the Data Management API. To convert a hub ID into an account ID you need to remove the “b.” prefix. For example, a hub ID of b.c8b0c73d-3ae9 translates to an account ID of c8b0c73d-3ae9. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {number} [limit] Response array’s size Default value: 10 Max limit: 100 * @param {number} [offset] Offset of response array Default value: 0 * @param {string} [sort] Comma-separated fields to sort by in ascending order Prepending a field with - sorts in descending order Invalid fields and whitespaces will be ignored * @param {string} [field] Comma-separated fields to include in response id will always be returned Invalid fields will be ignored * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CompaniesApiInterface */ getCompanies(accessToken: string, accountId: string, region?: Region, limit?: number, offset?: number, sort?: string, field?: string, options?: ApsServiceRequestConfig): Promise; /** * Query the details of a specific partner company. * @summary Get details of a company * @param {string} companyId Company ID * @param {string} accountId The account ID of the company. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CompaniesApiInterface */ getCompany(accessToken: string, companyId: string, accountId: string, region?: Region, options?: ApsServiceRequestConfig): Promise; /** * Query all the partner companies in a specific BIM 360 project. Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects. * @summary Get all companies in a project * @param {string} accountId The account ID of the company. * @param {string} projectId The ID of the project. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {number} [limit] Response array’s size Default value: 10 Max limit: 100 * @param {number} [offset] Offset of response array Default value: 0 * @param {string} [sort] Comma-separated fields to sort by in ascending order * @param {string} [field] Comma-separated fields to include in response * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CompaniesApiInterface */ getProjectCompanies(accessToken: string, accountId: string, projectId: string, region?: Region, limit?: number, offset?: number, sort?: string, field?: string, options?: ApsServiceRequestConfig): Promise; /** * Bulk import partner companies to the company directory in a specific BIM 360 account. (50 companies maximum can be included in each call.) Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects. * @summary Bulk import partner companies * @param {string} accountId The account ID of the company. This corresponds to hub ID in the Data Management API. To convert a hub ID into an account ID you need to remove the “b.” prefix. For example, a hub ID of b.c8b0c73d-3ae9 translates to an account ID of c8b0c73d-3ae9. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {Array} [companyPayload] * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CompaniesApiInterface */ importCompanies(accessToken: string, accountId: string, region?: Region, companyPayload?: Array, options?: ApsServiceRequestConfig): Promise; /** * Update the properties of only the specified attributes of a specific partner company. * @summary Update the properties of company * @param {string} companyId Company ID * @param {string} accountId The account ID of the company. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {CompanyPatchPayload} [companyPatchPayload] * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CompaniesApiInterface */ patchCompanyDetails(accessToken: string, companyId: string, accountId: string, region?: Region, companyPatchPayload?: CompanyPatchPayload, options?: ApsServiceRequestConfig): Promise; /** * Create or update a specific partner company’s image. * @summary Create or update a company’s image * @param {string} companyId Company ID * @param {string} accountId The account ID of the company. * @param {File} body The file to be uploaded as HTTP multipart (chunk) data. Supported MIME types are image/png, image/jpeg, image/jpg, image/bmp, and image/gif. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CompaniesApiInterface */ patchCompanyImage(accessToken: string, companyId: string, accountId: string, body: File, region?: Region, options?: ApsServiceRequestConfig): Promise; /** * Search partner companies in a specific BIM 360 account by name. Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects. * @summary Search companies in account by name * @param {string} accountId The account ID of the company. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {string} [name] Company name to match Max length: 255 * @param {string} [trade] Company trade to match Max length: 255 * @param {string} [operator] Boolean operator to use: OR (default) or AND * @param {boolean} [partial] If true (default), perform a fuzzy match * @param {number} [limit] Response array’s size Default value: 10 Max limit: 100 * @param {number} [offset] Offset of response array Default value: 0 * @param {string} [sort] Comma-separated fields to sort by in ascending order * @param {string} [field] Comma-separated fields to include in response * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CompaniesApiInterface */ searchCompanies(accessToken: string, accountId: string, region?: Region, name?: string, trade?: string, operator?: string, partial?: boolean, limit?: number, offset?: number, sort?: string, field?: string, options?: ApsServiceRequestConfig): Promise; } /** * CompaniesApi - object-oriented interface * @export * @class CompaniesApi * @extends {BaseApi} */ export declare class CompaniesApi extends BaseApi implements CompaniesApiInterface { private logger; /** * Create a new partner company. Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects. * @summary Create a new partner company * @param {string} accountId The account ID of the company. This corresponds to hub ID in the Data Management API. To convert a hub ID into an account ID you need to remove the “b.” prefix. For example, a hub ID of b.c8b0c73d-3ae9 translates to an account ID of c8b0c73d-3ae9. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {CompanyPayload} [companyPayload] * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CompaniesApi */ createCompany(accessToken: string, accountId: string, region?: Region, companyPayload?: CompanyPayload, options?: ApsServiceRequestConfig): Promise; /** * Query all the partner companies in a specific BIM 360 account. Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects. * @summary Get all companies in an account * @param {string} accountId The account ID of the company. This corresponds to hub ID in the Data Management API. To convert a hub ID into an account ID you need to remove the “b.” prefix. For example, a hub ID of b.c8b0c73d-3ae9 translates to an account ID of c8b0c73d-3ae9. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {number} [limit] Response array’s size Default value: 10 Max limit: 100 * @param {number} [offset] Offset of response array Default value: 0 * @param {string} [sort] Comma-separated fields to sort by in ascending order Prepending a field with - sorts in descending order Invalid fields and whitespaces will be ignored * @param {string} [field] Comma-separated fields to include in response id will always be returned Invalid fields will be ignored * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CompaniesApi */ getCompanies(accessToken: string, accountId: string, region?: Region, limit?: number, offset?: number, sort?: string, field?: string, options?: ApsServiceRequestConfig): Promise; /** * Query the details of a specific partner company. * @summary Get details of a company * @param {string} companyId Company ID * @param {string} accountId The account ID of the company. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CompaniesApi */ getCompany(accessToken: string, companyId: string, accountId: string, region?: Region, options?: ApsServiceRequestConfig): Promise; /** * Query all the partner companies in a specific BIM 360 project. Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects. * @summary Get all companies in a project * @param {string} accountId The account ID of the company. * @param {string} projectId The ID of the project. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {number} [limit] Response array’s size Default value: 10 Max limit: 100 * @param {number} [offset] Offset of response array Default value: 0 * @param {string} [sort] Comma-separated fields to sort by in ascending order * @param {string} [field] Comma-separated fields to include in response * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CompaniesApi */ getProjectCompanies(accessToken: string, accountId: string, projectId: string, region?: Region, limit?: number, offset?: number, sort?: string, field?: string, options?: ApsServiceRequestConfig): Promise; /** * Bulk import partner companies to the company directory in a specific BIM 360 account. (50 companies maximum can be included in each call.) Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects. * @summary Bulk import partner companies * @param {string} accountId The account ID of the company. This corresponds to hub ID in the Data Management API. To convert a hub ID into an account ID you need to remove the “b.” prefix. For example, a hub ID of b.c8b0c73d-3ae9 translates to an account ID of c8b0c73d-3ae9. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {Array} [companyPayload] * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CompaniesApi */ importCompanies(accessToken: string, accountId: string, region?: Region, companyPayload?: Array, options?: ApsServiceRequestConfig): Promise; /** * Update the properties of only the specified attributes of a specific partner company. * @summary Update the properties of company * @param {string} companyId Company ID * @param {string} accountId The account ID of the company. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {CompanyPatchPayload} [companyPatchPayload] * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CompaniesApi */ patchCompanyDetails(accessToken: string, companyId: string, accountId: string, region?: Region, companyPatchPayload?: CompanyPatchPayload, options?: ApsServiceRequestConfig): Promise; /** * Create or update a specific partner company’s image. * @summary Create or update a company’s image * @param {string} companyId Company ID * @param {string} accountId The account ID of the company. * @param {File} body The file to be uploaded as HTTP multipart (chunk) data. Supported MIME types are image/png, image/jpeg, image/jpg, image/bmp, and image/gif. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CompaniesApi */ patchCompanyImage(accessToken: string, companyId: string, accountId: string, body: File, region?: Region, options?: ApsServiceRequestConfig): Promise; /** * Search partner companies in a specific BIM 360 account by name. Note that this endpoint is compatible with both BIM 360 and Autodesk Construction Cloud (ACC) projects. * @summary Search companies in account by name * @param {string} accountId The account ID of the company. * @param {Region} [region] The geographic area where the data is stored. Acceptable values: US, EMEA, AUS. By default, it is set to US. * @param {string} [name] Company name to match Max length: 255 * @param {string} [trade] Company trade to match Max length: 255 * @param {string} [operator] Boolean operator to use: OR (default) or AND * @param {boolean} [partial] If true (default), perform a fuzzy match * @param {number} [limit] Response array’s size Default value: 10 Max limit: 100 * @param {number} [offset] Offset of response array Default value: 0 * @param {string} [sort] Comma-separated fields to sort by in ascending order * @param {string} [field] Comma-separated fields to include in response * @param accessToken bearer access token * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CompaniesApi */ searchCompanies(accessToken: string, accountId: string, region?: Region, name?: string, trade?: string, operator?: string, partial?: boolean, limit?: number, offset?: number, sort?: string, field?: string, options?: ApsServiceRequestConfig): Promise; }