yellowgrid-api-ts 3.2.160-dev.0 → 3.2.161-dev.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.
@@ -240,6 +240,7 @@ docs/SupplierItemModel.md
240
240
  docs/SupplierModel.md
241
241
  docs/SupportTicketModel.md
242
242
  docs/SystemApi.md
243
+ docs/TableHistoryEntity.md
243
244
  docs/TcxBackupEntity.md
244
245
  docs/TcxBackupModel.md
245
246
  docs/TcxBillingEntity.md
package/README.md CHANGED
@@ -64,6 +64,7 @@ Class | Method | HTTP request | Description
64
64
  *AccountsApi* | [**getGetClientCredentials**](docs/AccountsApi.md#getgetclientcredentials) | **GET** /accounts/me/contacts/credentials | Get user\'s client credentials
65
65
  *AccountsApi* | [**getGetCustomerKeys**](docs/AccountsApi.md#getgetcustomerkeys) | **GET** /accounts/me/tcx/keys | Get 3CX Keys
66
66
  *AccountsApi* | [**getGetFinanceSettings**](docs/AccountsApi.md#getgetfinancesettings) | **GET** /admin/accounts/{id}/finance |
67
+ *AccountsApi* | [**getGetLastAccount**](docs/AccountsApi.md#getgetlastaccount) | **GET** /admin/accounts/last | Get Last Account
67
68
  *AccountsApi* | [**getGetTcxPartnerDetails**](docs/AccountsApi.md#getgettcxpartnerdetails) | **GET** /admin/accounts/{id}/tcx/partner |
68
69
  *AccountsApi* | [**getVerifyEmailAddress**](docs/AccountsApi.md#getverifyemailaddress) | **GET** /accounts/contacts/verify | Verify account email address
69
70
  *AccountsApi* | [**patchSetPortalAccess**](docs/AccountsApi.md#patchsetportalaccess) | **PATCH** /admin/accounts/{id}/portal/access/{state} |
@@ -97,6 +98,7 @@ Class | Method | HTTP request | Description
97
98
  *CRMApi* | [**getSearchByPhone**](docs/CRMApi.md#getsearchbyphone) | **GET** /crm/contact/search |
98
99
  *CRMApi* | [**postCreateCrmNote**](docs/CRMApi.md#postcreatecrmnote) | **POST** /admin/crm/{id}/activities/note |
99
100
  *Class3CXApi* | [**getGetLicenceDetails**](docs/Class3CXApi.md#getgetlicencedetails) | **GET** /tcx/licences/details | Get 3CX Licence Details
101
+ *Class3CXApi* | [**getGetTcxExpiringKeys**](docs/Class3CXApi.md#getgettcxexpiringkeys) | **GET** /tcx/admin/keys/expiring/csv | Get 3CX Expiring Keys
100
102
  *Class3CXApi* | [**postGetBulkLicenceDetails**](docs/Class3CXApi.md#postgetbulklicencedetails) | **POST** /tcx/licences/bulk/details | Get bulk 3CX Licence Details
101
103
  *Class3CXInstallationWizardApi* | [**deleteAddExtensions**](docs/Class3CXInstallationWizardApi.md#deleteaddextensions) | **DELETE** /tcx/wizards/extensions | Delete 3CX Installation Wizard Extensions
102
104
  *Class3CXInstallationWizardApi* | [**deleteAddNumbers**](docs/Class3CXInstallationWizardApi.md#deleteaddnumbers) | **DELETE** /tcx/wizards/numbers | Delete 3CX Installation Wizard Numbers
@@ -134,6 +136,7 @@ Class | Method | HTTP request | Description
134
136
  *Class3CXInstallationWizardApi* | [**postUploadBackup**](docs/Class3CXInstallationWizardApi.md#postuploadbackup) | **POST** /tcx/wizards/backup |
135
137
  *Class3CXInstallationsApi* | [**getGetDetails**](docs/Class3CXInstallationsApi.md#getgetdetails) | **GET** /tcx/installations/{wizard_id}/details | Get 3CX Installation Details
136
138
  *Class3CXInstallationsApi* | [**getGetInstallations**](docs/Class3CXInstallationsApi.md#getgetinstallations) | **GET** /tcx/installations | Get 3CX Installations
139
+ *Class3CXInstallationsApi* | [**getGetRecordingBackupStorage**](docs/Class3CXInstallationsApi.md#getgetrecordingbackupstorage) | **GET** /tcx/installations/{instance_id}/recordings/backup | Get Recording Backup Storage
137
140
  *Class3CXInstallationsApi* | [**patchChangeInstanceOwner**](docs/Class3CXInstallationsApi.md#patchchangeinstanceowner) | **PATCH** /tcx/installations/{instance_id}/owner | Change instance owner
138
141
  *Class3CXInstallationsApi* | [**patchUpdateAutoFailover**](docs/Class3CXInstallationsApi.md#patchupdateautofailover) | **PATCH** /tcx/installations/{instance_id}/failover/auto | Update 3CX Instance Auto Failover
139
142
  *Class3CXInstallationsApi* | [**postAddDisk**](docs/Class3CXInstallationsApi.md#postadddisk) | **POST** /tcx/installations/{instance_id}/disk | Add additional disk on 3CX Instance
@@ -522,6 +525,7 @@ Class | Method | HTTP request | Description
522
525
  - [SupplierItemModel](docs/SupplierItemModel.md)
523
526
  - [SupplierModel](docs/SupplierModel.md)
524
527
  - [SupportTicketModel](docs/SupportTicketModel.md)
528
+ - [TableHistoryEntity](docs/TableHistoryEntity.md)
525
529
  - [TcxBackupEntity](docs/TcxBackupEntity.md)
526
530
  - [TcxBackupModel](docs/TcxBackupModel.md)
527
531
  - [TcxBillingEntity](docs/TcxBillingEntity.md)
package/api.ts CHANGED
@@ -989,6 +989,7 @@ export const AuditLogEntityTypeEnum = {
989
989
  PopsStockTransactions: 'pops_stock_transactions',
990
990
  PopsSuppliers: 'pops_suppliers',
991
991
  PopsSupplierItems: 'pops_supplier_items',
992
+ PopsTableAttribs: 'pops_table_attribs',
992
993
  Pops3cxBackup: 'pops_3cx_backup',
993
994
  Pops3cxBilling: 'pops_3cx_billing',
994
995
  PopsDeadLicences: 'pops_dead_licences',
@@ -1431,6 +1432,10 @@ export interface CreateCrmNoteBody {
1431
1432
  * Credit Account
1432
1433
  */
1433
1434
  export interface CreditAccountEntity {
1435
+ /**
1436
+ * Contact Email Domains
1437
+ */
1438
+ 'domains'?: Array<string>;
1434
1439
  /**
1435
1440
  * ID
1436
1441
  */
@@ -4239,7 +4244,7 @@ export interface PartnerDTO {
4239
4244
  /**
4240
4245
  * 3CX Partner ID
4241
4246
  */
4242
- 'partnerId'?: string;
4247
+ 'partnerId'?: string | null;
4243
4248
  /**
4244
4249
  * 3CX Partner Company Name
4245
4250
  */
@@ -4359,12 +4364,16 @@ export interface PatchUpdateTcxPartnerIdRequest {
4359
4364
  /**
4360
4365
  * Set Account 3CX Partner ID
4361
4366
  */
4362
- 'partnerId'?: string;
4367
+ 'partnerId'?: string | null;
4363
4368
  }
4364
4369
  /**
4365
4370
  * Customer Account
4366
4371
  */
4367
4372
  export interface PortalAccountModel {
4373
+ /**
4374
+ * Contact Email Domains
4375
+ */
4376
+ 'domains'?: Array<string>;
4368
4377
  /**
4369
4378
  * ID
4370
4379
  */
@@ -6874,6 +6883,43 @@ export interface SupportTicketModel {
6874
6883
  */
6875
6884
  'conversations'?: Array<ConversationModel>;
6876
6885
  }
6886
+ /**
6887
+ * TableAttribsEntity
6888
+ */
6889
+ export interface TableHistoryEntity {
6890
+ /**
6891
+ * ownerId
6892
+ */
6893
+ 'ownerId'?: string;
6894
+ /**
6895
+ * table
6896
+ */
6897
+ 'dbTable'?: string;
6898
+ /**
6899
+ * orderingField
6900
+ */
6901
+ 'orderingField'?: string;
6902
+ /**
6903
+ * asc
6904
+ */
6905
+ 'asc'?: number;
6906
+ /**
6907
+ * perPage
6908
+ */
6909
+ 'perPage'?: number;
6910
+ /**
6911
+ * currPage
6912
+ */
6913
+ 'currPage'?: number;
6914
+ /**
6915
+ * filter
6916
+ */
6917
+ 'filter'?: string;
6918
+ /**
6919
+ * page
6920
+ */
6921
+ 'page'?: number;
6922
+ }
6877
6923
  /**
6878
6924
  * 3CX Wizard Restore From Backup
6879
6925
  */
@@ -8914,6 +8960,36 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
8914
8960
  options: localVarRequestOptions,
8915
8961
  };
8916
8962
  },
8963
+ /**
8964
+ * Get Last Account
8965
+ * @summary Get Last Account
8966
+ * @param {*} [options] Override http request option.
8967
+ * @throws {RequiredError}
8968
+ */
8969
+ getGetLastAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8970
+ const localVarPath = `/admin/accounts/last`;
8971
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8972
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8973
+ let baseOptions;
8974
+ if (configuration) {
8975
+ baseOptions = configuration.baseOptions;
8976
+ }
8977
+
8978
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
8979
+ const localVarHeaderParameter = {} as any;
8980
+ const localVarQueryParameter = {} as any;
8981
+
8982
+ localVarHeaderParameter['Accept'] = 'application/json';
8983
+
8984
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8985
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8986
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8987
+
8988
+ return {
8989
+ url: toPathString(localVarUrlObj),
8990
+ options: localVarRequestOptions,
8991
+ };
8992
+ },
8917
8993
  /**
8918
8994
  * Get Account 3CX Details
8919
8995
  * @param {string} id Xero ID
@@ -10075,6 +10151,18 @@ export const AccountsApiFp = function(configuration?: Configuration) {
10075
10151
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetFinanceSettings']?.[localVarOperationServerIndex]?.url;
10076
10152
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10077
10153
  },
10154
+ /**
10155
+ * Get Last Account
10156
+ * @summary Get Last Account
10157
+ * @param {*} [options] Override http request option.
10158
+ * @throws {RequiredError}
10159
+ */
10160
+ async getGetLastAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountSummaryDTO>> {
10161
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetLastAccount(options);
10162
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10163
+ const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetLastAccount']?.[localVarOperationServerIndex]?.url;
10164
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10165
+ },
10078
10166
  /**
10079
10167
  * Get Account 3CX Details
10080
10168
  * @param {string} id Xero ID
@@ -10576,6 +10664,15 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
10576
10664
  getGetFinanceSettings(id: string, options?: RawAxiosRequestConfig): AxiosPromise<AccountFinanceDTO> {
10577
10665
  return localVarFp.getGetFinanceSettings(id, options).then((request) => request(axios, basePath));
10578
10666
  },
10667
+ /**
10668
+ * Get Last Account
10669
+ * @summary Get Last Account
10670
+ * @param {*} [options] Override http request option.
10671
+ * @throws {RequiredError}
10672
+ */
10673
+ getGetLastAccount(options?: RawAxiosRequestConfig): AxiosPromise<AccountSummaryDTO> {
10674
+ return localVarFp.getGetLastAccount(options).then((request) => request(axios, basePath));
10675
+ },
10579
10676
  /**
10580
10677
  * Get Account 3CX Details
10581
10678
  * @param {string} id Xero ID
@@ -11004,6 +11101,16 @@ export class AccountsApi extends BaseAPI {
11004
11101
  return AccountsApiFp(this.configuration).getGetFinanceSettings(id, options).then((request) => request(this.axios, this.basePath));
11005
11102
  }
11006
11103
 
11104
+ /**
11105
+ * Get Last Account
11106
+ * @summary Get Last Account
11107
+ * @param {*} [options] Override http request option.
11108
+ * @throws {RequiredError}
11109
+ */
11110
+ public getGetLastAccount(options?: RawAxiosRequestConfig) {
11111
+ return AccountsApiFp(this.configuration).getGetLastAccount(options).then((request) => request(this.axios, this.basePath));
11112
+ }
11113
+
11007
11114
  /**
11008
11115
  * Get Account 3CX Details
11009
11116
  * @param {string} id Xero ID
@@ -11662,6 +11769,7 @@ export class CRMApi extends BaseAPI {
11662
11769
  export const GetGetCrmActivitiesTypeEnum = {
11663
11770
  Alert: 'alert',
11664
11771
  Call: 'call',
11772
+ Email: 'email',
11665
11773
  Note: 'note',
11666
11774
  Order: 'order',
11667
11775
  Quote: 'quote',
@@ -11712,6 +11820,36 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
11712
11820
  options: localVarRequestOptions,
11713
11821
  };
11714
11822
  },
11823
+ /**
11824
+ * Get 3CX Expiring Keys
11825
+ * @summary Get 3CX Expiring Keys
11826
+ * @param {*} [options] Override http request option.
11827
+ * @throws {RequiredError}
11828
+ */
11829
+ getGetTcxExpiringKeys: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11830
+ const localVarPath = `/tcx/admin/keys/expiring/csv`;
11831
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11832
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11833
+ let baseOptions;
11834
+ if (configuration) {
11835
+ baseOptions = configuration.baseOptions;
11836
+ }
11837
+
11838
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
11839
+ const localVarHeaderParameter = {} as any;
11840
+ const localVarQueryParameter = {} as any;
11841
+
11842
+ localVarHeaderParameter['Accept'] = 'text/csv';
11843
+
11844
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11845
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11846
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11847
+
11848
+ return {
11849
+ url: toPathString(localVarUrlObj),
11850
+ options: localVarRequestOptions,
11851
+ };
11852
+ },
11715
11853
  /**
11716
11854
  * Get Bulk 3CX Licence Details
11717
11855
  * @summary Get bulk 3CX Licence Details
@@ -11767,6 +11905,18 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
11767
11905
  const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetLicenceDetails']?.[localVarOperationServerIndex]?.url;
11768
11906
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11769
11907
  },
11908
+ /**
11909
+ * Get 3CX Expiring Keys
11910
+ * @summary Get 3CX Expiring Keys
11911
+ * @param {*} [options] Override http request option.
11912
+ * @throws {RequiredError}
11913
+ */
11914
+ async getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
11915
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetTcxExpiringKeys(options);
11916
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11917
+ const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetTcxExpiringKeys']?.[localVarOperationServerIndex]?.url;
11918
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11919
+ },
11770
11920
  /**
11771
11921
  * Get Bulk 3CX Licence Details
11772
11922
  * @summary Get bulk 3CX Licence Details
@@ -11799,6 +11949,15 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
11799
11949
  getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxLicenceDetailsModel> {
11800
11950
  return localVarFp.getGetLicenceDetails(key, options).then((request) => request(axios, basePath));
11801
11951
  },
11952
+ /**
11953
+ * Get 3CX Expiring Keys
11954
+ * @summary Get 3CX Expiring Keys
11955
+ * @param {*} [options] Override http request option.
11956
+ * @throws {RequiredError}
11957
+ */
11958
+ getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): AxiosPromise<string> {
11959
+ return localVarFp.getGetTcxExpiringKeys(options).then((request) => request(axios, basePath));
11960
+ },
11802
11961
  /**
11803
11962
  * Get Bulk 3CX Licence Details
11804
11963
  * @summary Get bulk 3CX Licence Details
@@ -11827,6 +11986,16 @@ export class Class3CXApi extends BaseAPI {
11827
11986
  return Class3CXApiFp(this.configuration).getGetLicenceDetails(key, options).then((request) => request(this.axios, this.basePath));
11828
11987
  }
11829
11988
 
11989
+ /**
11990
+ * Get 3CX Expiring Keys
11991
+ * @summary Get 3CX Expiring Keys
11992
+ * @param {*} [options] Override http request option.
11993
+ * @throws {RequiredError}
11994
+ */
11995
+ public getGetTcxExpiringKeys(options?: RawAxiosRequestConfig) {
11996
+ return Class3CXApiFp(this.configuration).getGetTcxExpiringKeys(options).then((request) => request(this.axios, this.basePath));
11997
+ }
11998
+
11830
11999
  /**
11831
12000
  * Get Bulk 3CX Licence Details
11832
12001
  * @summary Get bulk 3CX Licence Details
@@ -14331,6 +14500,40 @@ export const Class3CXInstallationsApiAxiosParamCreator = function (configuration
14331
14500
  options: localVarRequestOptions,
14332
14501
  };
14333
14502
  },
14503
+ /**
14504
+ * Get Recording Backup Storage
14505
+ * @summary Get Recording Backup Storage
14506
+ * @param {string} instanceId Instance ID
14507
+ * @param {*} [options] Override http request option.
14508
+ * @throws {RequiredError}
14509
+ */
14510
+ getGetRecordingBackupStorage: async (instanceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14511
+ // verify required parameter 'instanceId' is not null or undefined
14512
+ assertParamExists('getGetRecordingBackupStorage', 'instanceId', instanceId)
14513
+ const localVarPath = `/tcx/installations/{instance_id}/recordings/backup`
14514
+ .replace(`{${"instance_id"}}`, encodeURIComponent(String(instanceId)));
14515
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14516
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14517
+ let baseOptions;
14518
+ if (configuration) {
14519
+ baseOptions = configuration.baseOptions;
14520
+ }
14521
+
14522
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
14523
+ const localVarHeaderParameter = {} as any;
14524
+ const localVarQueryParameter = {} as any;
14525
+
14526
+ localVarHeaderParameter['Accept'] = 'application/json';
14527
+
14528
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14529
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14530
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14531
+
14532
+ return {
14533
+ url: toPathString(localVarUrlObj),
14534
+ options: localVarRequestOptions,
14535
+ };
14536
+ },
14334
14537
  /**
14335
14538
  * Change instance owner
14336
14539
  * @summary Change instance owner
@@ -15027,6 +15230,19 @@ export const Class3CXInstallationsApiFp = function(configuration?: Configuration
15027
15230
  const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.getGetInstallations']?.[localVarOperationServerIndex]?.url;
15028
15231
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15029
15232
  },
15233
+ /**
15234
+ * Get Recording Backup Storage
15235
+ * @summary Get Recording Backup Storage
15236
+ * @param {string} instanceId Instance ID
15237
+ * @param {*} [options] Override http request option.
15238
+ * @throws {RequiredError}
15239
+ */
15240
+ async getGetRecordingBackupStorage(instanceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RecordingBackupAzureModel>> {
15241
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetRecordingBackupStorage(instanceId, options);
15242
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15243
+ const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.getGetRecordingBackupStorage']?.[localVarOperationServerIndex]?.url;
15244
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15245
+ },
15030
15246
  /**
15031
15247
  * Change instance owner
15032
15248
  * @summary Change instance owner
@@ -15298,6 +15514,16 @@ export const Class3CXInstallationsApiFactory = function (configuration?: Configu
15298
15514
  getGetInstallations(pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, installType?: GetGetInstallationsInstallTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<TcxInstallationsModel> {
15299
15515
  return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then((request) => request(axios, basePath));
15300
15516
  },
15517
+ /**
15518
+ * Get Recording Backup Storage
15519
+ * @summary Get Recording Backup Storage
15520
+ * @param {string} instanceId Instance ID
15521
+ * @param {*} [options] Override http request option.
15522
+ * @throws {RequiredError}
15523
+ */
15524
+ getGetRecordingBackupStorage(instanceId: string, options?: RawAxiosRequestConfig): AxiosPromise<RecordingBackupAzureModel> {
15525
+ return localVarFp.getGetRecordingBackupStorage(instanceId, options).then((request) => request(axios, basePath));
15526
+ },
15301
15527
  /**
15302
15528
  * Change instance owner
15303
15529
  * @summary Change instance owner
@@ -15518,6 +15744,17 @@ export class Class3CXInstallationsApi extends BaseAPI {
15518
15744
  return Class3CXInstallationsApiFp(this.configuration).getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then((request) => request(this.axios, this.basePath));
15519
15745
  }
15520
15746
 
15747
+ /**
15748
+ * Get Recording Backup Storage
15749
+ * @summary Get Recording Backup Storage
15750
+ * @param {string} instanceId Instance ID
15751
+ * @param {*} [options] Override http request option.
15752
+ * @throws {RequiredError}
15753
+ */
15754
+ public getGetRecordingBackupStorage(instanceId: string, options?: RawAxiosRequestConfig) {
15755
+ return Class3CXInstallationsApiFp(this.configuration).getGetRecordingBackupStorage(instanceId, options).then((request) => request(this.axios, this.basePath));
15756
+ }
15757
+
15521
15758
  /**
15522
15759
  * Change instance owner
15523
15760
  * @summary Change instance owner
package/dist/api.d.ts CHANGED
@@ -968,6 +968,7 @@ export declare const AuditLogEntityTypeEnum: {
968
968
  readonly PopsStockTransactions: "pops_stock_transactions";
969
969
  readonly PopsSuppliers: "pops_suppliers";
970
970
  readonly PopsSupplierItems: "pops_supplier_items";
971
+ readonly PopsTableAttribs: "pops_table_attribs";
971
972
  readonly Pops3cxBackup: "pops_3cx_backup";
972
973
  readonly Pops3cxBilling: "pops_3cx_billing";
973
974
  readonly PopsDeadLicences: "pops_dead_licences";
@@ -1408,6 +1409,10 @@ export interface CreateCrmNoteBody {
1408
1409
  * Credit Account
1409
1410
  */
1410
1411
  export interface CreditAccountEntity {
1412
+ /**
1413
+ * Contact Email Domains
1414
+ */
1415
+ 'domains'?: Array<string>;
1411
1416
  /**
1412
1417
  * ID
1413
1418
  */
@@ -4191,7 +4196,7 @@ export interface PartnerDTO {
4191
4196
  /**
4192
4197
  * 3CX Partner ID
4193
4198
  */
4194
- 'partnerId'?: string;
4199
+ 'partnerId'?: string | null;
4195
4200
  /**
4196
4201
  * 3CX Partner Company Name
4197
4202
  */
@@ -4305,12 +4310,16 @@ export interface PatchUpdateTcxPartnerIdRequest {
4305
4310
  /**
4306
4311
  * Set Account 3CX Partner ID
4307
4312
  */
4308
- 'partnerId'?: string;
4313
+ 'partnerId'?: string | null;
4309
4314
  }
4310
4315
  /**
4311
4316
  * Customer Account
4312
4317
  */
4313
4318
  export interface PortalAccountModel {
4319
+ /**
4320
+ * Contact Email Domains
4321
+ */
4322
+ 'domains'?: Array<string>;
4314
4323
  /**
4315
4324
  * ID
4316
4325
  */
@@ -6774,6 +6783,43 @@ export interface SupportTicketModel {
6774
6783
  */
6775
6784
  'conversations'?: Array<ConversationModel>;
6776
6785
  }
6786
+ /**
6787
+ * TableAttribsEntity
6788
+ */
6789
+ export interface TableHistoryEntity {
6790
+ /**
6791
+ * ownerId
6792
+ */
6793
+ 'ownerId'?: string;
6794
+ /**
6795
+ * table
6796
+ */
6797
+ 'dbTable'?: string;
6798
+ /**
6799
+ * orderingField
6800
+ */
6801
+ 'orderingField'?: string;
6802
+ /**
6803
+ * asc
6804
+ */
6805
+ 'asc'?: number;
6806
+ /**
6807
+ * perPage
6808
+ */
6809
+ 'perPage'?: number;
6810
+ /**
6811
+ * currPage
6812
+ */
6813
+ 'currPage'?: number;
6814
+ /**
6815
+ * filter
6816
+ */
6817
+ 'filter'?: string;
6818
+ /**
6819
+ * page
6820
+ */
6821
+ 'page'?: number;
6822
+ }
6777
6823
  /**
6778
6824
  * 3CX Wizard Restore From Backup
6779
6825
  */
@@ -8455,6 +8501,13 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8455
8501
  * @throws {RequiredError}
8456
8502
  */
8457
8503
  getGetFinanceSettings: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8504
+ /**
8505
+ * Get Last Account
8506
+ * @summary Get Last Account
8507
+ * @param {*} [options] Override http request option.
8508
+ * @throws {RequiredError}
8509
+ */
8510
+ getGetLastAccount: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8458
8511
  /**
8459
8512
  * Get Account 3CX Details
8460
8513
  * @param {string} id Xero ID
@@ -8786,6 +8839,13 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8786
8839
  * @throws {RequiredError}
8787
8840
  */
8788
8841
  getGetFinanceSettings(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountFinanceDTO>>;
8842
+ /**
8843
+ * Get Last Account
8844
+ * @summary Get Last Account
8845
+ * @param {*} [options] Override http request option.
8846
+ * @throws {RequiredError}
8847
+ */
8848
+ getGetLastAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountSummaryDTO>>;
8789
8849
  /**
8790
8850
  * Get Account 3CX Details
8791
8851
  * @param {string} id Xero ID
@@ -9117,6 +9177,13 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
9117
9177
  * @throws {RequiredError}
9118
9178
  */
9119
9179
  getGetFinanceSettings(id: string, options?: RawAxiosRequestConfig): AxiosPromise<AccountFinanceDTO>;
9180
+ /**
9181
+ * Get Last Account
9182
+ * @summary Get Last Account
9183
+ * @param {*} [options] Override http request option.
9184
+ * @throws {RequiredError}
9185
+ */
9186
+ getGetLastAccount(options?: RawAxiosRequestConfig): AxiosPromise<AccountSummaryDTO>;
9120
9187
  /**
9121
9188
  * Get Account 3CX Details
9122
9189
  * @param {string} id Xero ID
@@ -9448,6 +9515,13 @@ export declare class AccountsApi extends BaseAPI {
9448
9515
  * @throws {RequiredError}
9449
9516
  */
9450
9517
  getGetFinanceSettings(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountFinanceDTO, any, {}>>;
9518
+ /**
9519
+ * Get Last Account
9520
+ * @summary Get Last Account
9521
+ * @param {*} [options] Override http request option.
9522
+ * @throws {RequiredError}
9523
+ */
9524
+ getGetLastAccount(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountSummaryDTO, any, {}>>;
9451
9525
  /**
9452
9526
  * Get Account 3CX Details
9453
9527
  * @param {string} id Xero ID
@@ -9860,6 +9934,7 @@ export declare class CRMApi extends BaseAPI {
9860
9934
  export declare const GetGetCrmActivitiesTypeEnum: {
9861
9935
  readonly Alert: "alert";
9862
9936
  readonly Call: "call";
9937
+ readonly Email: "email";
9863
9938
  readonly Note: "note";
9864
9939
  readonly Order: "order";
9865
9940
  readonly Quote: "quote";
@@ -9878,6 +9953,13 @@ export declare const Class3CXApiAxiosParamCreator: (configuration?: Configuratio
9878
9953
  * @throws {RequiredError}
9879
9954
  */
9880
9955
  getGetLicenceDetails: (key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9956
+ /**
9957
+ * Get 3CX Expiring Keys
9958
+ * @summary Get 3CX Expiring Keys
9959
+ * @param {*} [options] Override http request option.
9960
+ * @throws {RequiredError}
9961
+ */
9962
+ getGetTcxExpiringKeys: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9881
9963
  /**
9882
9964
  * Get Bulk 3CX Licence Details
9883
9965
  * @summary Get bulk 3CX Licence Details
@@ -9899,6 +9981,13 @@ export declare const Class3CXApiFp: (configuration?: Configuration) => {
9899
9981
  * @throws {RequiredError}
9900
9982
  */
9901
9983
  getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxLicenceDetailsModel>>;
9984
+ /**
9985
+ * Get 3CX Expiring Keys
9986
+ * @summary Get 3CX Expiring Keys
9987
+ * @param {*} [options] Override http request option.
9988
+ * @throws {RequiredError}
9989
+ */
9990
+ getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
9902
9991
  /**
9903
9992
  * Get Bulk 3CX Licence Details
9904
9993
  * @summary Get bulk 3CX Licence Details
@@ -9920,6 +10009,13 @@ export declare const Class3CXApiFactory: (configuration?: Configuration, basePat
9920
10009
  * @throws {RequiredError}
9921
10010
  */
9922
10011
  getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxLicenceDetailsModel>;
10012
+ /**
10013
+ * Get 3CX Expiring Keys
10014
+ * @summary Get 3CX Expiring Keys
10015
+ * @param {*} [options] Override http request option.
10016
+ * @throws {RequiredError}
10017
+ */
10018
+ getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): AxiosPromise<string>;
9923
10019
  /**
9924
10020
  * Get Bulk 3CX Licence Details
9925
10021
  * @summary Get bulk 3CX Licence Details
@@ -9941,6 +10037,13 @@ export declare class Class3CXApi extends BaseAPI {
9941
10037
  * @throws {RequiredError}
9942
10038
  */
9943
10039
  getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TcxLicenceDetailsModel, any, {}>>;
10040
+ /**
10041
+ * Get 3CX Expiring Keys
10042
+ * @summary Get 3CX Expiring Keys
10043
+ * @param {*} [options] Override http request option.
10044
+ * @throws {RequiredError}
10045
+ */
10046
+ getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
9944
10047
  /**
9945
10048
  * Get Bulk 3CX Licence Details
9946
10049
  * @summary Get bulk 3CX Licence Details
@@ -11100,6 +11203,14 @@ export declare const Class3CXInstallationsApiAxiosParamCreator: (configuration?:
11100
11203
  * @throws {RequiredError}
11101
11204
  */
11102
11205
  getGetInstallations: (pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, installType?: GetGetInstallationsInstallTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11206
+ /**
11207
+ * Get Recording Backup Storage
11208
+ * @summary Get Recording Backup Storage
11209
+ * @param {string} instanceId Instance ID
11210
+ * @param {*} [options] Override http request option.
11211
+ * @throws {RequiredError}
11212
+ */
11213
+ getGetRecordingBackupStorage: (instanceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11103
11214
  /**
11104
11215
  * Change instance owner
11105
11216
  * @summary Change instance owner
@@ -11278,6 +11389,14 @@ export declare const Class3CXInstallationsApiFp: (configuration?: Configuration)
11278
11389
  * @throws {RequiredError}
11279
11390
  */
11280
11391
  getGetInstallations(pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, installType?: GetGetInstallationsInstallTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxInstallationsModel>>;
11392
+ /**
11393
+ * Get Recording Backup Storage
11394
+ * @summary Get Recording Backup Storage
11395
+ * @param {string} instanceId Instance ID
11396
+ * @param {*} [options] Override http request option.
11397
+ * @throws {RequiredError}
11398
+ */
11399
+ getGetRecordingBackupStorage(instanceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RecordingBackupAzureModel>>;
11281
11400
  /**
11282
11401
  * Change instance owner
11283
11402
  * @summary Change instance owner
@@ -11456,6 +11575,14 @@ export declare const Class3CXInstallationsApiFactory: (configuration?: Configura
11456
11575
  * @throws {RequiredError}
11457
11576
  */
11458
11577
  getGetInstallations(pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, installType?: GetGetInstallationsInstallTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<TcxInstallationsModel>;
11578
+ /**
11579
+ * Get Recording Backup Storage
11580
+ * @summary Get Recording Backup Storage
11581
+ * @param {string} instanceId Instance ID
11582
+ * @param {*} [options] Override http request option.
11583
+ * @throws {RequiredError}
11584
+ */
11585
+ getGetRecordingBackupStorage(instanceId: string, options?: RawAxiosRequestConfig): AxiosPromise<RecordingBackupAzureModel>;
11459
11586
  /**
11460
11587
  * Change instance owner
11461
11588
  * @summary Change instance owner
@@ -11634,6 +11761,14 @@ export declare class Class3CXInstallationsApi extends BaseAPI {
11634
11761
  * @throws {RequiredError}
11635
11762
  */
11636
11763
  getGetInstallations(pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, installType?: GetGetInstallationsInstallTypeEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TcxInstallationsModel, any, {}>>;
11764
+ /**
11765
+ * Get Recording Backup Storage
11766
+ * @summary Get Recording Backup Storage
11767
+ * @param {string} instanceId Instance ID
11768
+ * @param {*} [options] Override http request option.
11769
+ * @throws {RequiredError}
11770
+ */
11771
+ getGetRecordingBackupStorage(instanceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RecordingBackupAzureModel, any, {}>>;
11637
11772
  /**
11638
11773
  * Change instance owner
11639
11774
  * @summary Change instance owner
package/dist/api.js CHANGED
@@ -178,6 +178,7 @@ exports.AuditLogEntityTypeEnum = {
178
178
  PopsStockTransactions: 'pops_stock_transactions',
179
179
  PopsSuppliers: 'pops_suppliers',
180
180
  PopsSupplierItems: 'pops_supplier_items',
181
+ PopsTableAttribs: 'pops_table_attribs',
181
182
  Pops3cxBackup: 'pops_3cx_backup',
182
183
  Pops3cxBilling: 'pops_3cx_billing',
183
184
  PopsDeadLicences: 'pops_dead_licences',
@@ -946,6 +947,40 @@ var AccountsApiAxiosParamCreator = function (configuration) {
946
947
  });
947
948
  });
948
949
  },
950
+ /**
951
+ * Get Last Account
952
+ * @summary Get Last Account
953
+ * @param {*} [options] Override http request option.
954
+ * @throws {RequiredError}
955
+ */
956
+ getGetLastAccount: function () {
957
+ var args_1 = [];
958
+ for (var _i = 0; _i < arguments.length; _i++) {
959
+ args_1[_i] = arguments[_i];
960
+ }
961
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
962
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
963
+ if (options === void 0) { options = {}; }
964
+ return __generator(this, function (_a) {
965
+ localVarPath = "/admin/accounts/last";
966
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
967
+ if (configuration) {
968
+ baseOptions = configuration.baseOptions;
969
+ }
970
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
971
+ localVarHeaderParameter = {};
972
+ localVarQueryParameter = {};
973
+ localVarHeaderParameter['Accept'] = 'application/json';
974
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
975
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
976
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
977
+ return [2 /*return*/, {
978
+ url: (0, common_1.toPathString)(localVarUrlObj),
979
+ options: localVarRequestOptions,
980
+ }];
981
+ });
982
+ });
983
+ },
949
984
  /**
950
985
  * Get Account 3CX Details
951
986
  * @param {string} id Xero ID
@@ -2343,6 +2378,28 @@ var AccountsApiFp = function (configuration) {
2343
2378
  });
2344
2379
  });
2345
2380
  },
2381
+ /**
2382
+ * Get Last Account
2383
+ * @summary Get Last Account
2384
+ * @param {*} [options] Override http request option.
2385
+ * @throws {RequiredError}
2386
+ */
2387
+ getGetLastAccount: function (options) {
2388
+ return __awaiter(this, void 0, void 0, function () {
2389
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2390
+ var _a, _b, _c;
2391
+ return __generator(this, function (_d) {
2392
+ switch (_d.label) {
2393
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetLastAccount(options)];
2394
+ case 1:
2395
+ localVarAxiosArgs = _d.sent();
2396
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2397
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetLastAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2398
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2399
+ }
2400
+ });
2401
+ });
2402
+ },
2346
2403
  /**
2347
2404
  * Get Account 3CX Details
2348
2405
  * @param {string} id Xero ID
@@ -3124,6 +3181,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
3124
3181
  getGetFinanceSettings: function (id, options) {
3125
3182
  return localVarFp.getGetFinanceSettings(id, options).then(function (request) { return request(axios, basePath); });
3126
3183
  },
3184
+ /**
3185
+ * Get Last Account
3186
+ * @summary Get Last Account
3187
+ * @param {*} [options] Override http request option.
3188
+ * @throws {RequiredError}
3189
+ */
3190
+ getGetLastAccount: function (options) {
3191
+ return localVarFp.getGetLastAccount(options).then(function (request) { return request(axios, basePath); });
3192
+ },
3127
3193
  /**
3128
3194
  * Get Account 3CX Details
3129
3195
  * @param {string} id Xero ID
@@ -3556,6 +3622,16 @@ var AccountsApi = /** @class */ (function (_super) {
3556
3622
  var _this = this;
3557
3623
  return (0, exports.AccountsApiFp)(this.configuration).getGetFinanceSettings(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
3558
3624
  };
3625
+ /**
3626
+ * Get Last Account
3627
+ * @summary Get Last Account
3628
+ * @param {*} [options] Override http request option.
3629
+ * @throws {RequiredError}
3630
+ */
3631
+ AccountsApi.prototype.getGetLastAccount = function (options) {
3632
+ var _this = this;
3633
+ return (0, exports.AccountsApiFp)(this.configuration).getGetLastAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
3634
+ };
3559
3635
  /**
3560
3636
  * Get Account 3CX Details
3561
3637
  * @param {string} id Xero ID
@@ -4278,6 +4354,7 @@ exports.CRMApi = CRMApi;
4278
4354
  exports.GetGetCrmActivitiesTypeEnum = {
4279
4355
  Alert: 'alert',
4280
4356
  Call: 'call',
4357
+ Email: 'email',
4281
4358
  Note: 'note',
4282
4359
  Order: 'order',
4283
4360
  Quote: 'quote',
@@ -4329,6 +4406,40 @@ var Class3CXApiAxiosParamCreator = function (configuration) {
4329
4406
  });
4330
4407
  });
4331
4408
  },
4409
+ /**
4410
+ * Get 3CX Expiring Keys
4411
+ * @summary Get 3CX Expiring Keys
4412
+ * @param {*} [options] Override http request option.
4413
+ * @throws {RequiredError}
4414
+ */
4415
+ getGetTcxExpiringKeys: function () {
4416
+ var args_1 = [];
4417
+ for (var _i = 0; _i < arguments.length; _i++) {
4418
+ args_1[_i] = arguments[_i];
4419
+ }
4420
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
4421
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4422
+ if (options === void 0) { options = {}; }
4423
+ return __generator(this, function (_a) {
4424
+ localVarPath = "/tcx/admin/keys/expiring/csv";
4425
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4426
+ if (configuration) {
4427
+ baseOptions = configuration.baseOptions;
4428
+ }
4429
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
4430
+ localVarHeaderParameter = {};
4431
+ localVarQueryParameter = {};
4432
+ localVarHeaderParameter['Accept'] = 'text/csv';
4433
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4434
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4435
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4436
+ return [2 /*return*/, {
4437
+ url: (0, common_1.toPathString)(localVarUrlObj),
4438
+ options: localVarRequestOptions,
4439
+ }];
4440
+ });
4441
+ });
4442
+ },
4332
4443
  /**
4333
4444
  * Get Bulk 3CX Licence Details
4334
4445
  * @summary Get bulk 3CX Licence Details
@@ -4398,6 +4509,28 @@ var Class3CXApiFp = function (configuration) {
4398
4509
  });
4399
4510
  });
4400
4511
  },
4512
+ /**
4513
+ * Get 3CX Expiring Keys
4514
+ * @summary Get 3CX Expiring Keys
4515
+ * @param {*} [options] Override http request option.
4516
+ * @throws {RequiredError}
4517
+ */
4518
+ getGetTcxExpiringKeys: function (options) {
4519
+ return __awaiter(this, void 0, void 0, function () {
4520
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
4521
+ var _a, _b, _c;
4522
+ return __generator(this, function (_d) {
4523
+ switch (_d.label) {
4524
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetTcxExpiringKeys(options)];
4525
+ case 1:
4526
+ localVarAxiosArgs = _d.sent();
4527
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4528
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXApi.getGetTcxExpiringKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4529
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
4530
+ }
4531
+ });
4532
+ });
4533
+ },
4401
4534
  /**
4402
4535
  * Get Bulk 3CX Licence Details
4403
4536
  * @summary Get bulk 3CX Licence Details
@@ -4440,6 +4573,15 @@ var Class3CXApiFactory = function (configuration, basePath, axios) {
4440
4573
  getGetLicenceDetails: function (key, options) {
4441
4574
  return localVarFp.getGetLicenceDetails(key, options).then(function (request) { return request(axios, basePath); });
4442
4575
  },
4576
+ /**
4577
+ * Get 3CX Expiring Keys
4578
+ * @summary Get 3CX Expiring Keys
4579
+ * @param {*} [options] Override http request option.
4580
+ * @throws {RequiredError}
4581
+ */
4582
+ getGetTcxExpiringKeys: function (options) {
4583
+ return localVarFp.getGetTcxExpiringKeys(options).then(function (request) { return request(axios, basePath); });
4584
+ },
4443
4585
  /**
4444
4586
  * Get Bulk 3CX Licence Details
4445
4587
  * @summary Get bulk 3CX Licence Details
@@ -4472,6 +4614,16 @@ var Class3CXApi = /** @class */ (function (_super) {
4472
4614
  var _this = this;
4473
4615
  return (0, exports.Class3CXApiFp)(this.configuration).getGetLicenceDetails(key, options).then(function (request) { return request(_this.axios, _this.basePath); });
4474
4616
  };
4617
+ /**
4618
+ * Get 3CX Expiring Keys
4619
+ * @summary Get 3CX Expiring Keys
4620
+ * @param {*} [options] Override http request option.
4621
+ * @throws {RequiredError}
4622
+ */
4623
+ Class3CXApi.prototype.getGetTcxExpiringKeys = function (options) {
4624
+ var _this = this;
4625
+ return (0, exports.Class3CXApiFp)(this.configuration).getGetTcxExpiringKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
4626
+ };
4475
4627
  /**
4476
4628
  * Get Bulk 3CX Licence Details
4477
4629
  * @summary Get bulk 3CX Licence Details
@@ -7443,6 +7595,44 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7443
7595
  });
7444
7596
  });
7445
7597
  },
7598
+ /**
7599
+ * Get Recording Backup Storage
7600
+ * @summary Get Recording Backup Storage
7601
+ * @param {string} instanceId Instance ID
7602
+ * @param {*} [options] Override http request option.
7603
+ * @throws {RequiredError}
7604
+ */
7605
+ getGetRecordingBackupStorage: function (instanceId_1) {
7606
+ var args_1 = [];
7607
+ for (var _i = 1; _i < arguments.length; _i++) {
7608
+ args_1[_i - 1] = arguments[_i];
7609
+ }
7610
+ return __awaiter(_this, __spreadArray([instanceId_1], args_1, true), void 0, function (instanceId, options) {
7611
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7612
+ if (options === void 0) { options = {}; }
7613
+ return __generator(this, function (_a) {
7614
+ // verify required parameter 'instanceId' is not null or undefined
7615
+ (0, common_1.assertParamExists)('getGetRecordingBackupStorage', 'instanceId', instanceId);
7616
+ localVarPath = "/tcx/installations/{instance_id}/recordings/backup"
7617
+ .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7618
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7619
+ if (configuration) {
7620
+ baseOptions = configuration.baseOptions;
7621
+ }
7622
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
7623
+ localVarHeaderParameter = {};
7624
+ localVarQueryParameter = {};
7625
+ localVarHeaderParameter['Accept'] = 'application/json';
7626
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7627
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7628
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7629
+ return [2 /*return*/, {
7630
+ url: (0, common_1.toPathString)(localVarUrlObj),
7631
+ options: localVarRequestOptions,
7632
+ }];
7633
+ });
7634
+ });
7635
+ },
7446
7636
  /**
7447
7637
  * Change instance owner
7448
7638
  * @summary Change instance owner
@@ -8213,6 +8403,29 @@ var Class3CXInstallationsApiFp = function (configuration) {
8213
8403
  });
8214
8404
  });
8215
8405
  },
8406
+ /**
8407
+ * Get Recording Backup Storage
8408
+ * @summary Get Recording Backup Storage
8409
+ * @param {string} instanceId Instance ID
8410
+ * @param {*} [options] Override http request option.
8411
+ * @throws {RequiredError}
8412
+ */
8413
+ getGetRecordingBackupStorage: function (instanceId, options) {
8414
+ return __awaiter(this, void 0, void 0, function () {
8415
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
8416
+ var _a, _b, _c;
8417
+ return __generator(this, function (_d) {
8418
+ switch (_d.label) {
8419
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetRecordingBackupStorage(instanceId, options)];
8420
+ case 1:
8421
+ localVarAxiosArgs = _d.sent();
8422
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8423
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.getGetRecordingBackupStorage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8424
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
8425
+ }
8426
+ });
8427
+ });
8428
+ },
8216
8429
  /**
8217
8430
  * Change instance owner
8218
8431
  * @summary Change instance owner
@@ -8654,6 +8867,16 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
8654
8867
  getGetInstallations: function (pageSize, page, customerId, search, status, hosting, installType, options) {
8655
8868
  return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(axios, basePath); });
8656
8869
  },
8870
+ /**
8871
+ * Get Recording Backup Storage
8872
+ * @summary Get Recording Backup Storage
8873
+ * @param {string} instanceId Instance ID
8874
+ * @param {*} [options] Override http request option.
8875
+ * @throws {RequiredError}
8876
+ */
8877
+ getGetRecordingBackupStorage: function (instanceId, options) {
8878
+ return localVarFp.getGetRecordingBackupStorage(instanceId, options).then(function (request) { return request(axios, basePath); });
8879
+ },
8657
8880
  /**
8658
8881
  * Change instance owner
8659
8882
  * @summary Change instance owner
@@ -8878,6 +9101,17 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
8878
9101
  var _this = this;
8879
9102
  return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(_this.axios, _this.basePath); });
8880
9103
  };
9104
+ /**
9105
+ * Get Recording Backup Storage
9106
+ * @summary Get Recording Backup Storage
9107
+ * @param {string} instanceId Instance ID
9108
+ * @param {*} [options] Override http request option.
9109
+ * @throws {RequiredError}
9110
+ */
9111
+ Class3CXInstallationsApi.prototype.getGetRecordingBackupStorage = function (instanceId, options) {
9112
+ var _this = this;
9113
+ return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetRecordingBackupStorage(instanceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
9114
+ };
8881
9115
  /**
8882
9116
  * Change instance owner
8883
9117
  * @summary Change instance owner
@@ -17,6 +17,7 @@ All URIs are relative to *https://localhost*
17
17
  |[**getGetClientCredentials**](#getgetclientcredentials) | **GET** /accounts/me/contacts/credentials | Get user\&#39;s client credentials|
18
18
  |[**getGetCustomerKeys**](#getgetcustomerkeys) | **GET** /accounts/me/tcx/keys | Get 3CX Keys|
19
19
  |[**getGetFinanceSettings**](#getgetfinancesettings) | **GET** /admin/accounts/{id}/finance | |
20
+ |[**getGetLastAccount**](#getgetlastaccount) | **GET** /admin/accounts/last | Get Last Account|
20
21
  |[**getGetTcxPartnerDetails**](#getgettcxpartnerdetails) | **GET** /admin/accounts/{id}/tcx/partner | |
21
22
  |[**getVerifyEmailAddress**](#getverifyemailaddress) | **GET** /accounts/contacts/verify | Verify account email address|
22
23
  |[**patchSetPortalAccess**](#patchsetportalaccess) | **PATCH** /admin/accounts/{id}/portal/access/{state} | |
@@ -739,6 +740,53 @@ No authorization required
739
740
 
740
741
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
741
742
 
743
+ # **getGetLastAccount**
744
+ > AccountSummaryDTO getGetLastAccount()
745
+
746
+ Get Last Account
747
+
748
+ ### Example
749
+
750
+ ```typescript
751
+ import {
752
+ AccountsApi,
753
+ Configuration
754
+ } from 'yellowgrid-api-ts';
755
+
756
+ const configuration = new Configuration();
757
+ const apiInstance = new AccountsApi(configuration);
758
+
759
+ const { status, data } = await apiInstance.getGetLastAccount();
760
+ ```
761
+
762
+ ### Parameters
763
+ This endpoint does not have any parameters.
764
+
765
+
766
+ ### Return type
767
+
768
+ **AccountSummaryDTO**
769
+
770
+ ### Authorization
771
+
772
+ No authorization required
773
+
774
+ ### HTTP request headers
775
+
776
+ - **Content-Type**: Not defined
777
+ - **Accept**: application/json
778
+
779
+
780
+ ### HTTP response details
781
+ | Status code | Description | Response headers |
782
+ |-------------|-------------|------------------|
783
+ |**200** | Account Summary | - |
784
+ |**400** | Bad Request | - |
785
+ |**401** | Unauthorised | - |
786
+ |**403** | Access Denied | - |
787
+
788
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
789
+
742
790
  # **getGetTcxPartnerDetails**
743
791
  > PartnerDTO getGetTcxPartnerDetails()
744
792
 
package/docs/CRMApi.md CHANGED
@@ -25,7 +25,7 @@ const configuration = new Configuration();
25
25
  const apiInstance = new CRMApi(configuration);
26
26
 
27
27
  let id: number; //Account ID (default to undefined)
28
- let type: 'alert' | 'call' | 'note' | 'order' | 'quote' | 'tcx_order'; //Activity Type (optional) (default to undefined)
28
+ let type: 'alert' | 'call' | 'email' | 'note' | 'order' | 'quote' | 'tcx_order'; //Activity Type (optional) (default to undefined)
29
29
  let userId: number; //Activity Created By (optional) (default to undefined)
30
30
 
31
31
  const { status, data } = await apiInstance.getGetCrmActivities(
@@ -40,7 +40,7 @@ const { status, data } = await apiInstance.getGetCrmActivities(
40
40
  |Name | Type | Description | Notes|
41
41
  |------------- | ------------- | ------------- | -------------|
42
42
  | **id** | [**number**] | Account ID | defaults to undefined|
43
- | **type** | [**&#39;alert&#39; | &#39;call&#39; | &#39;note&#39; | &#39;order&#39; | &#39;quote&#39; | &#39;tcx_order&#39;**]**Array<&#39;alert&#39; &#124; &#39;call&#39; &#124; &#39;note&#39; &#124; &#39;order&#39; &#124; &#39;quote&#39; &#124; &#39;tcx_order&#39;>** | Activity Type | (optional) defaults to undefined|
43
+ | **type** | [**&#39;alert&#39; | &#39;call&#39; | &#39;email&#39; | &#39;note&#39; | &#39;order&#39; | &#39;quote&#39; | &#39;tcx_order&#39;**]**Array<&#39;alert&#39; &#124; &#39;call&#39; &#124; &#39;email&#39; &#124; &#39;note&#39; &#124; &#39;order&#39; &#124; &#39;quote&#39; &#124; &#39;tcx_order&#39;>** | Activity Type | (optional) defaults to undefined|
44
44
  | **userId** | [**number**] | Activity Created By | (optional) defaults to undefined|
45
45
 
46
46
 
@@ -5,6 +5,7 @@ All URIs are relative to *https://localhost*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**getGetLicenceDetails**](#getgetlicencedetails) | **GET** /tcx/licences/details | Get 3CX Licence Details|
8
+ |[**getGetTcxExpiringKeys**](#getgettcxexpiringkeys) | **GET** /tcx/admin/keys/expiring/csv | Get 3CX Expiring Keys|
8
9
  |[**postGetBulkLicenceDetails**](#postgetbulklicencedetails) | **POST** /tcx/licences/bulk/details | Get bulk 3CX Licence Details|
9
10
 
10
11
  # **getGetLicenceDetails**
@@ -61,6 +62,53 @@ No authorization required
61
62
 
62
63
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
63
64
 
65
+ # **getGetTcxExpiringKeys**
66
+ > string getGetTcxExpiringKeys()
67
+
68
+ Get 3CX Expiring Keys
69
+
70
+ ### Example
71
+
72
+ ```typescript
73
+ import {
74
+ Class3CXApi,
75
+ Configuration
76
+ } from 'yellowgrid-api-ts';
77
+
78
+ const configuration = new Configuration();
79
+ const apiInstance = new Class3CXApi(configuration);
80
+
81
+ const { status, data } = await apiInstance.getGetTcxExpiringKeys();
82
+ ```
83
+
84
+ ### Parameters
85
+ This endpoint does not have any parameters.
86
+
87
+
88
+ ### Return type
89
+
90
+ **string**
91
+
92
+ ### Authorization
93
+
94
+ No authorization required
95
+
96
+ ### HTTP request headers
97
+
98
+ - **Content-Type**: Not defined
99
+ - **Accept**: text/csv
100
+
101
+
102
+ ### HTTP response details
103
+ | Status code | Description | Response headers |
104
+ |-------------|-------------|------------------|
105
+ |**200** | 3CX Expiring Key CSV | - |
106
+ |**400** | Bad Request | - |
107
+ |**401** | Unauthorised | - |
108
+ |**403** | Access Denied | - |
109
+
110
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
111
+
64
112
  # **postGetBulkLicenceDetails**
65
113
  > TcxBulkLicenceDetailsModel postGetBulkLicenceDetails()
66
114
 
@@ -6,6 +6,7 @@ All URIs are relative to *https://localhost*
6
6
  |------------- | ------------- | -------------|
7
7
  |[**getGetDetails**](#getgetdetails) | **GET** /tcx/installations/{wizard_id}/details | Get 3CX Installation Details|
8
8
  |[**getGetInstallations**](#getgetinstallations) | **GET** /tcx/installations | Get 3CX Installations|
9
+ |[**getGetRecordingBackupStorage**](#getgetrecordingbackupstorage) | **GET** /tcx/installations/{instance_id}/recordings/backup | Get Recording Backup Storage|
9
10
  |[**patchChangeInstanceOwner**](#patchchangeinstanceowner) | **PATCH** /tcx/installations/{instance_id}/owner | Change instance owner|
10
11
  |[**patchUpdateAutoFailover**](#patchupdateautofailover) | **PATCH** /tcx/installations/{instance_id}/failover/auto | Update 3CX Instance Auto Failover|
11
12
  |[**postAddDisk**](#postadddisk) | **POST** /tcx/installations/{instance_id}/disk | Add additional disk on 3CX Instance|
@@ -150,6 +151,60 @@ No authorization required
150
151
 
151
152
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
152
153
 
154
+ # **getGetRecordingBackupStorage**
155
+ > RecordingBackupAzureModel getGetRecordingBackupStorage()
156
+
157
+ Get Recording Backup Storage
158
+
159
+ ### Example
160
+
161
+ ```typescript
162
+ import {
163
+ Class3CXInstallationsApi,
164
+ Configuration
165
+ } from 'yellowgrid-api-ts';
166
+
167
+ const configuration = new Configuration();
168
+ const apiInstance = new Class3CXInstallationsApi(configuration);
169
+
170
+ let instanceId: string; //Instance ID (default to undefined)
171
+
172
+ const { status, data } = await apiInstance.getGetRecordingBackupStorage(
173
+ instanceId
174
+ );
175
+ ```
176
+
177
+ ### Parameters
178
+
179
+ |Name | Type | Description | Notes|
180
+ |------------- | ------------- | ------------- | -------------|
181
+ | **instanceId** | [**string**] | Instance ID | defaults to undefined|
182
+
183
+
184
+ ### Return type
185
+
186
+ **RecordingBackupAzureModel**
187
+
188
+ ### Authorization
189
+
190
+ No authorization required
191
+
192
+ ### HTTP request headers
193
+
194
+ - **Content-Type**: Not defined
195
+ - **Accept**: application/json
196
+
197
+
198
+ ### HTTP response details
199
+ | Status code | Description | Response headers |
200
+ |-------------|-------------|------------------|
201
+ |**200** | Recordings Backup Storage | - |
202
+ |**400** | Bad Request | - |
203
+ |**401** | Unauthorised | - |
204
+ |**403** | Access Denied | - |
205
+
206
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
207
+
153
208
  # **patchChangeInstanceOwner**
154
209
  > patchChangeInstanceOwner()
155
210
 
@@ -6,6 +6,7 @@ Credit Account
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
+ **domains** | **Array&lt;string&gt;** | Contact Email Domains | [optional] [default to undefined]
9
10
  **id** | **number** | ID | [optional] [default to undefined]
10
11
  **name** | **string** | Contact Name | [optional] [default to undefined]
11
12
  **email** | **string** | Email | [optional] [default to undefined]
@@ -36,6 +37,7 @@ Name | Type | Description | Notes
36
37
  import { CreditAccountEntity } from 'yellowgrid-api-ts';
37
38
 
38
39
  const instance: CreditAccountEntity = {
40
+ domains,
39
41
  id,
40
42
  name,
41
43
  email,
@@ -6,6 +6,7 @@ Customer Account
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
+ **domains** | **Array&lt;string&gt;** | Contact Email Domains | [optional] [default to undefined]
9
10
  **id** | **number** | ID | [optional] [default to undefined]
10
11
  **name** | **string** | Contact Name | [optional] [default to undefined]
11
12
  **email** | **string** | Email | [optional] [default to undefined]
@@ -38,6 +39,7 @@ Name | Type | Description | Notes
38
39
  import { PortalAccountModel } from 'yellowgrid-api-ts';
39
40
 
40
41
  const instance: PortalAccountModel = {
42
+ domains,
41
43
  id,
42
44
  name,
43
45
  email,
@@ -0,0 +1,35 @@
1
+ # TableHistoryEntity
2
+
3
+ TableAttribsEntity
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **ownerId** | **string** | ownerId | [optional] [default to undefined]
10
+ **dbTable** | **string** | table | [optional] [default to undefined]
11
+ **orderingField** | **string** | orderingField | [optional] [default to undefined]
12
+ **asc** | **number** | asc | [optional] [default to undefined]
13
+ **perPage** | **number** | perPage | [optional] [default to undefined]
14
+ **currPage** | **number** | currPage | [optional] [default to undefined]
15
+ **filter** | **string** | filter | [optional] [default to undefined]
16
+ **page** | **number** | page | [optional] [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { TableHistoryEntity } from 'yellowgrid-api-ts';
22
+
23
+ const instance: TableHistoryEntity = {
24
+ ownerId,
25
+ dbTable,
26
+ orderingField,
27
+ asc,
28
+ perPage,
29
+ currPage,
30
+ filter,
31
+ page,
32
+ };
33
+ ```
34
+
35
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.160-dev.0",
3
+ "version": "3.2.161-dev.0",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {