yellowgrid-api-ts 3.2.115-dev.0 → 3.2.116-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.
package/api.ts CHANGED
@@ -269,6 +269,18 @@ export interface AccountPageDetailsDTO {
269
269
  * Portal Access
270
270
  */
271
271
  'portalAccess'?: boolean;
272
+ /**
273
+ * Phone
274
+ */
275
+ 'phone'?: string;
276
+ /**
277
+ * VAT Number
278
+ */
279
+ 'vatNumber'?: string;
280
+ /**
281
+ * Company Number
282
+ */
283
+ 'companyNumber'?: string;
272
284
  /**
273
285
  * CNAME
274
286
  */
@@ -2349,6 +2361,42 @@ export const HostingRegionDTOCodeEnum = {
2349
2361
 
2350
2362
  export type HostingRegionDTOCodeEnum = typeof HostingRegionDTOCodeEnum[keyof typeof HostingRegionDTOCodeEnum];
2351
2363
 
2364
+ /**
2365
+ * Installation Passwords
2366
+ */
2367
+ export interface InstallationDetailsDTO {
2368
+ /**
2369
+ * PBX IP Address
2370
+ */
2371
+ 'ipAddress'?: string | null;
2372
+ /**
2373
+ * PBX Failover IP Address
2374
+ */
2375
+ 'failoverIpAddress'?: string | null;
2376
+ /**
2377
+ * Instance ID
2378
+ */
2379
+ 'instanceId'?: string | null;
2380
+ /**
2381
+ * Project ID
2382
+ */
2383
+ 'project'?: string | null;
2384
+ 'sshKey'?: GenericFileModel;
2385
+ /**
2386
+ * Root Password
2387
+ */
2388
+ 'osPassword'?: string | null;
2389
+ 'systemOwner'?: TcxUsersEntity;
2390
+ /**
2391
+ * Admin Email
2392
+ */
2393
+ 'email'?: string | null;
2394
+ /**
2395
+ * 3CX Console URL
2396
+ */
2397
+ 'url'?: string | null;
2398
+ 'backup'?: RemoteStorageDTO;
2399
+ }
2352
2400
  /**
2353
2401
  * InstanceFailoverIpsEntity
2354
2402
  */
@@ -3934,12 +3982,30 @@ export interface PatchUpdateAccountCnameRequest {
3934
3982
  */
3935
3983
  'cname'?: string;
3936
3984
  }
3985
+ export interface PatchUpdateAccountCompanyNumberRequest {
3986
+ /**
3987
+ * Company Number
3988
+ */
3989
+ 'companyNumber'?: string;
3990
+ }
3937
3991
  export interface PatchUpdateAccountContactPasswordRequest {
3938
3992
  /**
3939
3993
  * Password
3940
3994
  */
3941
3995
  'password'?: string;
3942
3996
  }
3997
+ export interface PatchUpdateAccountPhoneRequest {
3998
+ /**
3999
+ * Phone
4000
+ */
4001
+ 'phone'?: string;
4002
+ }
4003
+ export interface PatchUpdateAccountVatNumberRequest {
4004
+ /**
4005
+ * VAT Number
4006
+ */
4007
+ 'vatNumber'?: string;
4008
+ }
3943
4009
  /**
3944
4010
  * Customer Account
3945
4011
  */
@@ -4297,6 +4363,10 @@ export interface ProductSummaryDTO {
4297
4363
  * Stock Product
4298
4364
  */
4299
4365
  'stockProduct'?: boolean;
4366
+ /**
4367
+ * Date Time
4368
+ */
4369
+ 'dueDate'?: string | null;
4300
4370
  /**
4301
4371
  * Price
4302
4372
  */
@@ -4491,6 +4561,27 @@ export interface RecordingsBackupInfoDTO {
4491
4561
  'backup'?: RecordingBackupAzureModel | null;
4492
4562
  'storage'?: TcxRemoteStorageModel | null;
4493
4563
  }
4564
+ /**
4565
+ * Remote Storage
4566
+ */
4567
+ export interface RemoteStorageDTO {
4568
+ /**
4569
+ * AWS ID
4570
+ */
4571
+ 'id'?: string;
4572
+ /**
4573
+ * AWS Secret
4574
+ */
4575
+ 'secret'?: string;
4576
+ /**
4577
+ * AWS Bucket Name
4578
+ */
4579
+ 'name'?: string;
4580
+ /**
4581
+ * AWS Region
4582
+ */
4583
+ 'region'?: string;
4584
+ }
4494
4585
  /**
4495
4586
  * Resource Not Ready
4496
4587
  */
@@ -6539,57 +6630,6 @@ export interface TcxHostingPricingEntity {
6539
6630
  */
6540
6631
  'highScDiscount'?: number;
6541
6632
  }
6542
- /**
6543
- * 3CX Installation Details
6544
- */
6545
- export interface TcxInstallationDetailsModel {
6546
- /**
6547
- * PBX IP Address
6548
- */
6549
- 'ipAddress'?: string | null;
6550
- /**
6551
- * Instance ID
6552
- */
6553
- 'instanceId'?: string | null;
6554
- /**
6555
- * Project ID
6556
- */
6557
- 'project'?: string | null;
6558
- 'privateKey'?: GenericFileModel | null;
6559
- /**
6560
- * Root Password
6561
- */
6562
- 'rootPassword'?: string | null;
6563
- 'ownerExtension'?: TcxUsersEntity | null;
6564
- /**
6565
- * Admin Email
6566
- */
6567
- 'adminEmail'?: string | null;
6568
- /**
6569
- * Console URL
6570
- */
6571
- 'url'?: string | null;
6572
- /**
6573
- * Admin Username
6574
- */
6575
- 'adminUsername'?: string | null;
6576
- /**
6577
- * Admin Password
6578
- */
6579
- 'adminPassword'?: string | null;
6580
- /**
6581
- * Config Backup FTP Host
6582
- */
6583
- 'ftpHost'?: string | null;
6584
- /**
6585
- * Config Backup FTP Username
6586
- */
6587
- 'ftpUsername'?: string | null;
6588
- /**
6589
- * Config Backup FTP Password
6590
- */
6591
- 'ftpPassword'?: string | null;
6592
- }
6593
6633
  /**
6594
6634
  * 3CX Installation
6595
6635
  */
@@ -7173,6 +7213,10 @@ export interface TcxSbcDTO {
7173
7213
  * 3CX SBC Key
7174
7214
  */
7175
7215
  'tcxKey'?: string;
7216
+ /**
7217
+ * 3CX SBC Configured
7218
+ */
7219
+ 'configured'?: boolean;
7176
7220
  }
7177
7221
  /**
7178
7222
  * 3CX Wizard SBC
@@ -7312,6 +7356,19 @@ export interface TcxSbcModel {
7312
7356
  */
7313
7357
  'technicalContact'?: string;
7314
7358
  }
7359
+ /**
7360
+ * 3CX SBC Response
7361
+ */
7362
+ export interface TcxSbcResponseDTO {
7363
+ /**
7364
+ * Status
7365
+ */
7366
+ 'status'?: string;
7367
+ /**
7368
+ * Message
7369
+ */
7370
+ 'message'?: string;
7371
+ }
7315
7372
  /**
7316
7373
  * 3CX Wizard Setup Config
7317
7374
  */
@@ -8348,7 +8405,7 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
8348
8405
  };
8349
8406
  },
8350
8407
  /**
8351
- * Set Account Prize Promo
8408
+ * Set Account CNAME
8352
8409
  * @param {string} id Xero ID
8353
8410
  * @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
8354
8411
  * @param {*} [options] Override http request option.
@@ -8382,6 +8439,41 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
8382
8439
  options: localVarRequestOptions,
8383
8440
  };
8384
8441
  },
8442
+ /**
8443
+ * Set Account Company Number
8444
+ * @param {string} id Xero ID
8445
+ * @param {PatchUpdateAccountCompanyNumberRequest} [patchUpdateAccountCompanyNumberRequest] Account Company Number Request
8446
+ * @param {*} [options] Override http request option.
8447
+ * @throws {RequiredError}
8448
+ */
8449
+ patchUpdateAccountCompanyNumber: async (id: string, patchUpdateAccountCompanyNumberRequest?: PatchUpdateAccountCompanyNumberRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8450
+ // verify required parameter 'id' is not null or undefined
8451
+ assertParamExists('patchUpdateAccountCompanyNumber', 'id', id)
8452
+ const localVarPath = `/admin/accounts/{id}/companyNumber`
8453
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
8454
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8455
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8456
+ let baseOptions;
8457
+ if (configuration) {
8458
+ baseOptions = configuration.baseOptions;
8459
+ }
8460
+
8461
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
8462
+ const localVarHeaderParameter = {} as any;
8463
+ const localVarQueryParameter = {} as any;
8464
+
8465
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8466
+
8467
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8468
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8469
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8470
+ localVarRequestOptions.data = serializeDataIfNeeded(patchUpdateAccountCompanyNumberRequest, localVarRequestOptions, configuration)
8471
+
8472
+ return {
8473
+ url: toPathString(localVarUrlObj),
8474
+ options: localVarRequestOptions,
8475
+ };
8476
+ },
8385
8477
  /**
8386
8478
  * Update Account Password
8387
8479
  * @summary Update Account Password
@@ -8421,6 +8513,76 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
8421
8513
  options: localVarRequestOptions,
8422
8514
  };
8423
8515
  },
8516
+ /**
8517
+ * Set Account Phone
8518
+ * @param {string} id Xero ID
8519
+ * @param {PatchUpdateAccountPhoneRequest} [patchUpdateAccountPhoneRequest] Telephone Request
8520
+ * @param {*} [options] Override http request option.
8521
+ * @throws {RequiredError}
8522
+ */
8523
+ patchUpdateAccountPhone: async (id: string, patchUpdateAccountPhoneRequest?: PatchUpdateAccountPhoneRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8524
+ // verify required parameter 'id' is not null or undefined
8525
+ assertParamExists('patchUpdateAccountPhone', 'id', id)
8526
+ const localVarPath = `/admin/accounts/{id}/phone`
8527
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
8528
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8529
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8530
+ let baseOptions;
8531
+ if (configuration) {
8532
+ baseOptions = configuration.baseOptions;
8533
+ }
8534
+
8535
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
8536
+ const localVarHeaderParameter = {} as any;
8537
+ const localVarQueryParameter = {} as any;
8538
+
8539
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8540
+
8541
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8542
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8543
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8544
+ localVarRequestOptions.data = serializeDataIfNeeded(patchUpdateAccountPhoneRequest, localVarRequestOptions, configuration)
8545
+
8546
+ return {
8547
+ url: toPathString(localVarUrlObj),
8548
+ options: localVarRequestOptions,
8549
+ };
8550
+ },
8551
+ /**
8552
+ * Set Account VAT Number
8553
+ * @param {string} id Xero ID
8554
+ * @param {PatchUpdateAccountVatNumberRequest} [patchUpdateAccountVatNumberRequest] VAT Number Request
8555
+ * @param {*} [options] Override http request option.
8556
+ * @throws {RequiredError}
8557
+ */
8558
+ patchUpdateAccountVatNumber: async (id: string, patchUpdateAccountVatNumberRequest?: PatchUpdateAccountVatNumberRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8559
+ // verify required parameter 'id' is not null or undefined
8560
+ assertParamExists('patchUpdateAccountVatNumber', 'id', id)
8561
+ const localVarPath = `/admin/accounts/{id}/vat`
8562
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
8563
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8564
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8565
+ let baseOptions;
8566
+ if (configuration) {
8567
+ baseOptions = configuration.baseOptions;
8568
+ }
8569
+
8570
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
8571
+ const localVarHeaderParameter = {} as any;
8572
+ const localVarQueryParameter = {} as any;
8573
+
8574
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8575
+
8576
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8577
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8578
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8579
+ localVarRequestOptions.data = serializeDataIfNeeded(patchUpdateAccountVatNumberRequest, localVarRequestOptions, configuration)
8580
+
8581
+ return {
8582
+ url: toPathString(localVarUrlObj),
8583
+ options: localVarRequestOptions,
8584
+ };
8585
+ },
8424
8586
  /**
8425
8587
  * Add Account Contacts
8426
8588
  * @summary Add Account Contact
@@ -8980,7 +9142,7 @@ export const AccountsApiFp = function(configuration?: Configuration) {
8980
9142
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8981
9143
  },
8982
9144
  /**
8983
- * Set Account Prize Promo
9145
+ * Set Account CNAME
8984
9146
  * @param {string} id Xero ID
8985
9147
  * @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
8986
9148
  * @param {*} [options] Override http request option.
@@ -8992,6 +9154,19 @@ export const AccountsApiFp = function(configuration?: Configuration) {
8992
9154
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.patchUpdateAccountCname']?.[localVarOperationServerIndex]?.url;
8993
9155
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8994
9156
  },
9157
+ /**
9158
+ * Set Account Company Number
9159
+ * @param {string} id Xero ID
9160
+ * @param {PatchUpdateAccountCompanyNumberRequest} [patchUpdateAccountCompanyNumberRequest] Account Company Number Request
9161
+ * @param {*} [options] Override http request option.
9162
+ * @throws {RequiredError}
9163
+ */
9164
+ async patchUpdateAccountCompanyNumber(id: string, patchUpdateAccountCompanyNumberRequest?: PatchUpdateAccountCompanyNumberRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
9165
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateAccountCompanyNumber(id, patchUpdateAccountCompanyNumberRequest, options);
9166
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9167
+ const localVarOperationServerBasePath = operationServerMap['AccountsApi.patchUpdateAccountCompanyNumber']?.[localVarOperationServerIndex]?.url;
9168
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9169
+ },
8995
9170
  /**
8996
9171
  * Update Account Password
8997
9172
  * @summary Update Account Password
@@ -9006,6 +9181,32 @@ export const AccountsApiFp = function(configuration?: Configuration) {
9006
9181
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.patchUpdateAccountContactPassword']?.[localVarOperationServerIndex]?.url;
9007
9182
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9008
9183
  },
9184
+ /**
9185
+ * Set Account Phone
9186
+ * @param {string} id Xero ID
9187
+ * @param {PatchUpdateAccountPhoneRequest} [patchUpdateAccountPhoneRequest] Telephone Request
9188
+ * @param {*} [options] Override http request option.
9189
+ * @throws {RequiredError}
9190
+ */
9191
+ async patchUpdateAccountPhone(id: string, patchUpdateAccountPhoneRequest?: PatchUpdateAccountPhoneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
9192
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateAccountPhone(id, patchUpdateAccountPhoneRequest, options);
9193
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9194
+ const localVarOperationServerBasePath = operationServerMap['AccountsApi.patchUpdateAccountPhone']?.[localVarOperationServerIndex]?.url;
9195
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9196
+ },
9197
+ /**
9198
+ * Set Account VAT Number
9199
+ * @param {string} id Xero ID
9200
+ * @param {PatchUpdateAccountVatNumberRequest} [patchUpdateAccountVatNumberRequest] VAT Number Request
9201
+ * @param {*} [options] Override http request option.
9202
+ * @throws {RequiredError}
9203
+ */
9204
+ async patchUpdateAccountVatNumber(id: string, patchUpdateAccountVatNumberRequest?: PatchUpdateAccountVatNumberRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
9205
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options);
9206
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9207
+ const localVarOperationServerBasePath = operationServerMap['AccountsApi.patchUpdateAccountVatNumber']?.[localVarOperationServerIndex]?.url;
9208
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9209
+ },
9009
9210
  /**
9010
9211
  * Add Account Contacts
9011
9212
  * @summary Add Account Contact
@@ -9289,7 +9490,7 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
9289
9490
  return localVarFp.patchSetTcxWizardCname(patchUpdateAccountCnameRequest, options).then((request) => request(axios, basePath));
9290
9491
  },
9291
9492
  /**
9292
- * Set Account Prize Promo
9493
+ * Set Account CNAME
9293
9494
  * @param {string} id Xero ID
9294
9495
  * @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
9295
9496
  * @param {*} [options] Override http request option.
@@ -9298,6 +9499,16 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
9298
9499
  patchUpdateAccountCname(id: string, patchUpdateAccountCnameRequest?: PatchUpdateAccountCnameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
9299
9500
  return localVarFp.patchUpdateAccountCname(id, patchUpdateAccountCnameRequest, options).then((request) => request(axios, basePath));
9300
9501
  },
9502
+ /**
9503
+ * Set Account Company Number
9504
+ * @param {string} id Xero ID
9505
+ * @param {PatchUpdateAccountCompanyNumberRequest} [patchUpdateAccountCompanyNumberRequest] Account Company Number Request
9506
+ * @param {*} [options] Override http request option.
9507
+ * @throws {RequiredError}
9508
+ */
9509
+ patchUpdateAccountCompanyNumber(id: string, patchUpdateAccountCompanyNumberRequest?: PatchUpdateAccountCompanyNumberRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
9510
+ return localVarFp.patchUpdateAccountCompanyNumber(id, patchUpdateAccountCompanyNumberRequest, options).then((request) => request(axios, basePath));
9511
+ },
9301
9512
  /**
9302
9513
  * Update Account Password
9303
9514
  * @summary Update Account Password
@@ -9309,6 +9520,26 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
9309
9520
  patchUpdateAccountContactPassword(token: string, patchUpdateAccountContactPasswordRequest?: PatchUpdateAccountContactPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
9310
9521
  return localVarFp.patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options).then((request) => request(axios, basePath));
9311
9522
  },
9523
+ /**
9524
+ * Set Account Phone
9525
+ * @param {string} id Xero ID
9526
+ * @param {PatchUpdateAccountPhoneRequest} [patchUpdateAccountPhoneRequest] Telephone Request
9527
+ * @param {*} [options] Override http request option.
9528
+ * @throws {RequiredError}
9529
+ */
9530
+ patchUpdateAccountPhone(id: string, patchUpdateAccountPhoneRequest?: PatchUpdateAccountPhoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
9531
+ return localVarFp.patchUpdateAccountPhone(id, patchUpdateAccountPhoneRequest, options).then((request) => request(axios, basePath));
9532
+ },
9533
+ /**
9534
+ * Set Account VAT Number
9535
+ * @param {string} id Xero ID
9536
+ * @param {PatchUpdateAccountVatNumberRequest} [patchUpdateAccountVatNumberRequest] VAT Number Request
9537
+ * @param {*} [options] Override http request option.
9538
+ * @throws {RequiredError}
9539
+ */
9540
+ patchUpdateAccountVatNumber(id: string, patchUpdateAccountVatNumberRequest?: PatchUpdateAccountVatNumberRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
9541
+ return localVarFp.patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options).then((request) => request(axios, basePath));
9542
+ },
9312
9543
  /**
9313
9544
  * Add Account Contacts
9314
9545
  * @summary Add Account Contact
@@ -9570,7 +9801,7 @@ export class AccountsApi extends BaseAPI {
9570
9801
  }
9571
9802
 
9572
9803
  /**
9573
- * Set Account Prize Promo
9804
+ * Set Account CNAME
9574
9805
  * @param {string} id Xero ID
9575
9806
  * @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
9576
9807
  * @param {*} [options] Override http request option.
@@ -9581,10 +9812,21 @@ export class AccountsApi extends BaseAPI {
9581
9812
  }
9582
9813
 
9583
9814
  /**
9584
- * Update Account Password
9585
- * @summary Update Account Password
9586
- * @param {string} token Verification Token
9587
- * @param {PatchUpdateAccountContactPasswordRequest} [patchUpdateAccountContactPasswordRequest] New account request
9815
+ * Set Account Company Number
9816
+ * @param {string} id Xero ID
9817
+ * @param {PatchUpdateAccountCompanyNumberRequest} [patchUpdateAccountCompanyNumberRequest] Account Company Number Request
9818
+ * @param {*} [options] Override http request option.
9819
+ * @throws {RequiredError}
9820
+ */
9821
+ public patchUpdateAccountCompanyNumber(id: string, patchUpdateAccountCompanyNumberRequest?: PatchUpdateAccountCompanyNumberRequest, options?: RawAxiosRequestConfig) {
9822
+ return AccountsApiFp(this.configuration).patchUpdateAccountCompanyNumber(id, patchUpdateAccountCompanyNumberRequest, options).then((request) => request(this.axios, this.basePath));
9823
+ }
9824
+
9825
+ /**
9826
+ * Update Account Password
9827
+ * @summary Update Account Password
9828
+ * @param {string} token Verification Token
9829
+ * @param {PatchUpdateAccountContactPasswordRequest} [patchUpdateAccountContactPasswordRequest] New account request
9588
9830
  * @param {*} [options] Override http request option.
9589
9831
  * @throws {RequiredError}
9590
9832
  */
@@ -9592,6 +9834,28 @@ export class AccountsApi extends BaseAPI {
9592
9834
  return AccountsApiFp(this.configuration).patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options).then((request) => request(this.axios, this.basePath));
9593
9835
  }
9594
9836
 
9837
+ /**
9838
+ * Set Account Phone
9839
+ * @param {string} id Xero ID
9840
+ * @param {PatchUpdateAccountPhoneRequest} [patchUpdateAccountPhoneRequest] Telephone Request
9841
+ * @param {*} [options] Override http request option.
9842
+ * @throws {RequiredError}
9843
+ */
9844
+ public patchUpdateAccountPhone(id: string, patchUpdateAccountPhoneRequest?: PatchUpdateAccountPhoneRequest, options?: RawAxiosRequestConfig) {
9845
+ return AccountsApiFp(this.configuration).patchUpdateAccountPhone(id, patchUpdateAccountPhoneRequest, options).then((request) => request(this.axios, this.basePath));
9846
+ }
9847
+
9848
+ /**
9849
+ * Set Account VAT Number
9850
+ * @param {string} id Xero ID
9851
+ * @param {PatchUpdateAccountVatNumberRequest} [patchUpdateAccountVatNumberRequest] VAT Number Request
9852
+ * @param {*} [options] Override http request option.
9853
+ * @throws {RequiredError}
9854
+ */
9855
+ public patchUpdateAccountVatNumber(id: string, patchUpdateAccountVatNumberRequest?: PatchUpdateAccountVatNumberRequest, options?: RawAxiosRequestConfig) {
9856
+ return AccountsApiFp(this.configuration).patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options).then((request) => request(this.axios, this.basePath));
9857
+ }
9858
+
9595
9859
  /**
9596
9860
  * Add Account Contacts
9597
9861
  * @summary Add Account Contact
@@ -12470,6 +12734,46 @@ export const Class3CXInstallationsApiAxiosParamCreator = function (configuration
12470
12734
 
12471
12735
  localVarHeaderParameter['Accept'] = 'application/json';
12472
12736
 
12737
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12738
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12739
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12740
+
12741
+ return {
12742
+ url: toPathString(localVarUrlObj),
12743
+ options: localVarRequestOptions,
12744
+ };
12745
+ },
12746
+ /**
12747
+ * Change instance owner
12748
+ * @summary Change instance owner
12749
+ * @param {string} instanceId Instance ID
12750
+ * @param {number} customerId Customer ID
12751
+ * @param {*} [options] Override http request option.
12752
+ * @throws {RequiredError}
12753
+ */
12754
+ patchChangeInstanceOwner: async (instanceId: string, customerId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12755
+ // verify required parameter 'instanceId' is not null or undefined
12756
+ assertParamExists('patchChangeInstanceOwner', 'instanceId', instanceId)
12757
+ // verify required parameter 'customerId' is not null or undefined
12758
+ assertParamExists('patchChangeInstanceOwner', 'customerId', customerId)
12759
+ const localVarPath = `/tcx/installations/{instance_id}/owner`
12760
+ .replace(`{${"instance_id"}}`, encodeURIComponent(String(instanceId)));
12761
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12762
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12763
+ let baseOptions;
12764
+ if (configuration) {
12765
+ baseOptions = configuration.baseOptions;
12766
+ }
12767
+
12768
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
12769
+ const localVarHeaderParameter = {} as any;
12770
+ const localVarQueryParameter = {} as any;
12771
+
12772
+ if (customerId !== undefined) {
12773
+ localVarQueryParameter['customer_id'] = customerId;
12774
+ }
12775
+
12776
+
12473
12777
  setSearchParams(localVarUrlObj, localVarQueryParameter);
12474
12778
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12475
12779
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -12645,17 +12949,15 @@ export const Class3CXInstallationsApiAxiosParamCreator = function (configuration
12645
12949
  * @summary Extend additional disk on 3CX Instance
12646
12950
  * @param {string} instanceId Instance ID
12647
12951
  * @param {number} gigabytes Disk Space (GB)
12648
- * @param {string} schedule Scheduled Task (Date &amp; Time)
12952
+ * @param {string} [schedule] Scheduled Task (Date &amp; Time)
12649
12953
  * @param {*} [options] Override http request option.
12650
12954
  * @throws {RequiredError}
12651
12955
  */
12652
- postExtendDisk: async (instanceId: string, gigabytes: number, schedule: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12956
+ postExtendDisk: async (instanceId: string, gigabytes: number, schedule?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12653
12957
  // verify required parameter 'instanceId' is not null or undefined
12654
12958
  assertParamExists('postExtendDisk', 'instanceId', instanceId)
12655
12959
  // verify required parameter 'gigabytes' is not null or undefined
12656
12960
  assertParamExists('postExtendDisk', 'gigabytes', gigabytes)
12657
- // verify required parameter 'schedule' is not null or undefined
12658
- assertParamExists('postExtendDisk', 'schedule', schedule)
12659
12961
  const localVarPath = `/tcx/installations/{instance_id}/disk/extend`
12660
12962
  .replace(`{${"instance_id"}}`, encodeURIComponent(String(instanceId)));
12661
12963
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -12718,6 +13020,40 @@ export const Class3CXInstallationsApiAxiosParamCreator = function (configuration
12718
13020
  }
12719
13021
 
12720
13022
 
13023
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13024
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13025
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13026
+
13027
+ return {
13028
+ url: toPathString(localVarUrlObj),
13029
+ options: localVarRequestOptions,
13030
+ };
13031
+ },
13032
+ /**
13033
+ * Install 3CX SBC
13034
+ * @summary Install 3CX SBC
13035
+ * @param {number} sbcId SBC ID
13036
+ * @param {*} [options] Override http request option.
13037
+ * @throws {RequiredError}
13038
+ */
13039
+ postInstallTcxSbc: async (sbcId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13040
+ // verify required parameter 'sbcId' is not null or undefined
13041
+ assertParamExists('postInstallTcxSbc', 'sbcId', sbcId)
13042
+ const localVarPath = `/tcx/installations/sbcs/{sbc_id}/install`
13043
+ .replace(`{${"sbc_id"}}`, encodeURIComponent(String(sbcId)));
13044
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13045
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13046
+ let baseOptions;
13047
+ if (configuration) {
13048
+ baseOptions = configuration.baseOptions;
13049
+ }
13050
+
13051
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
13052
+ const localVarHeaderParameter = {} as any;
13053
+ const localVarQueryParameter = {} as any;
13054
+
13055
+ localVarHeaderParameter['Accept'] = 'application/json';
13056
+
12721
13057
  setSearchParams(localVarUrlObj, localVarQueryParameter);
12722
13058
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12723
13059
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -12796,6 +13132,82 @@ export const Class3CXInstallationsApiAxiosParamCreator = function (configuration
12796
13132
  }
12797
13133
 
12798
13134
 
13135
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13136
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13137
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13138
+
13139
+ return {
13140
+ url: toPathString(localVarUrlObj),
13141
+ options: localVarRequestOptions,
13142
+ };
13143
+ },
13144
+ /**
13145
+ * Restart 3CX Services
13146
+ * @summary Restart 3CX Services
13147
+ * @param {string} instanceId Instance ID
13148
+ * @param {string} [schedule] Scheduled Task (Date &amp; Time)
13149
+ * @param {*} [options] Override http request option.
13150
+ * @throws {RequiredError}
13151
+ */
13152
+ postRestartServices: async (instanceId: string, schedule?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13153
+ // verify required parameter 'instanceId' is not null or undefined
13154
+ assertParamExists('postRestartServices', 'instanceId', instanceId)
13155
+ const localVarPath = `/tcx/installations/{instance_id}/services/restart`
13156
+ .replace(`{${"instance_id"}}`, encodeURIComponent(String(instanceId)));
13157
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13158
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13159
+ let baseOptions;
13160
+ if (configuration) {
13161
+ baseOptions = configuration.baseOptions;
13162
+ }
13163
+
13164
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
13165
+ const localVarHeaderParameter = {} as any;
13166
+ const localVarQueryParameter = {} as any;
13167
+
13168
+ if (schedule !== undefined) {
13169
+ localVarQueryParameter['schedule'] = schedule;
13170
+ }
13171
+
13172
+
13173
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13174
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13175
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13176
+
13177
+ return {
13178
+ url: toPathString(localVarUrlObj),
13179
+ options: localVarRequestOptions,
13180
+ };
13181
+ },
13182
+ /**
13183
+ * Reboot Instance
13184
+ * @summary Reboot Instance
13185
+ * @param {string} instanceId Instance ID
13186
+ * @param {string} [schedule] Scheduled Task (Date &amp; Time)
13187
+ * @param {*} [options] Override http request option.
13188
+ * @throws {RequiredError}
13189
+ */
13190
+ postScheduledReboot: async (instanceId: string, schedule?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13191
+ // verify required parameter 'instanceId' is not null or undefined
13192
+ assertParamExists('postScheduledReboot', 'instanceId', instanceId)
13193
+ const localVarPath = `/tcx/installations/{instance_id}/reboot/scheduled`
13194
+ .replace(`{${"instance_id"}}`, encodeURIComponent(String(instanceId)));
13195
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13196
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13197
+ let baseOptions;
13198
+ if (configuration) {
13199
+ baseOptions = configuration.baseOptions;
13200
+ }
13201
+
13202
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
13203
+ const localVarHeaderParameter = {} as any;
13204
+ const localVarQueryParameter = {} as any;
13205
+
13206
+ if (schedule !== undefined) {
13207
+ localVarQueryParameter['schedule'] = schedule;
13208
+ }
13209
+
13210
+
12799
13211
  setSearchParams(localVarUrlObj, localVarQueryParameter);
12800
13212
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12801
13213
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -12834,6 +13246,39 @@ export const Class3CXInstallationsApiAxiosParamCreator = function (configuration
12834
13246
  }
12835
13247
 
12836
13248
 
13249
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13250
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13251
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13252
+
13253
+ return {
13254
+ url: toPathString(localVarUrlObj),
13255
+ options: localVarRequestOptions,
13256
+ };
13257
+ },
13258
+ /**
13259
+ * Test 3CX Login Credentials
13260
+ * @summary Test 3CX Login Credentials
13261
+ * @param {string} instanceId Instance ID
13262
+ * @param {*} [options] Override http request option.
13263
+ * @throws {RequiredError}
13264
+ */
13265
+ postTestLoginCredentials: async (instanceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13266
+ // verify required parameter 'instanceId' is not null or undefined
13267
+ assertParamExists('postTestLoginCredentials', 'instanceId', instanceId)
13268
+ const localVarPath = `/tcx/installations/{instance_id}/tests/login`
13269
+ .replace(`{${"instance_id"}}`, encodeURIComponent(String(instanceId)));
13270
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13271
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13272
+ let baseOptions;
13273
+ if (configuration) {
13274
+ baseOptions = configuration.baseOptions;
13275
+ }
13276
+
13277
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
13278
+ const localVarHeaderParameter = {} as any;
13279
+ const localVarQueryParameter = {} as any;
13280
+
13281
+
12837
13282
  setSearchParams(localVarUrlObj, localVarQueryParameter);
12838
13283
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12839
13284
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -12932,7 +13377,7 @@ export const Class3CXInstallationsApiFp = function(configuration?: Configuration
12932
13377
  * @param {*} [options] Override http request option.
12933
13378
  * @throws {RequiredError}
12934
13379
  */
12935
- async getGetDetails(wizardId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxInstallationDetailsModel>> {
13380
+ async getGetDetails(wizardId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InstallationDetailsDTO>> {
12936
13381
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetDetails(wizardId, options);
12937
13382
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12938
13383
  const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.getGetDetails']?.[localVarOperationServerIndex]?.url;
@@ -12957,6 +13402,20 @@ export const Class3CXInstallationsApiFp = function(configuration?: Configuration
12957
13402
  const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.getGetInstallations']?.[localVarOperationServerIndex]?.url;
12958
13403
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12959
13404
  },
13405
+ /**
13406
+ * Change instance owner
13407
+ * @summary Change instance owner
13408
+ * @param {string} instanceId Instance ID
13409
+ * @param {number} customerId Customer ID
13410
+ * @param {*} [options] Override http request option.
13411
+ * @throws {RequiredError}
13412
+ */
13413
+ async patchChangeInstanceOwner(instanceId: string, customerId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
13414
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchChangeInstanceOwner(instanceId, customerId, options);
13415
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13416
+ const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.patchChangeInstanceOwner']?.[localVarOperationServerIndex]?.url;
13417
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13418
+ },
12960
13419
  /**
12961
13420
  * Update 3CX Instance Auto Failover
12962
13421
  * @summary Update 3CX Instance Auto Failover
@@ -13018,11 +13477,11 @@ export const Class3CXInstallationsApiFp = function(configuration?: Configuration
13018
13477
  * @summary Extend additional disk on 3CX Instance
13019
13478
  * @param {string} instanceId Instance ID
13020
13479
  * @param {number} gigabytes Disk Space (GB)
13021
- * @param {string} schedule Scheduled Task (Date &amp; Time)
13480
+ * @param {string} [schedule] Scheduled Task (Date &amp; Time)
13022
13481
  * @param {*} [options] Override http request option.
13023
13482
  * @throws {RequiredError}
13024
13483
  */
13025
- async postExtendDisk(instanceId: string, gigabytes: number, schedule: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
13484
+ async postExtendDisk(instanceId: string, gigabytes: number, schedule?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
13026
13485
  const localVarAxiosArgs = await localVarAxiosParamCreator.postExtendDisk(instanceId, gigabytes, schedule, options);
13027
13486
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13028
13487
  const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.postExtendDisk']?.[localVarOperationServerIndex]?.url;
@@ -13042,6 +13501,19 @@ export const Class3CXInstallationsApiFp = function(configuration?: Configuration
13042
13501
  const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.postFailoverInstance']?.[localVarOperationServerIndex]?.url;
13043
13502
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13044
13503
  },
13504
+ /**
13505
+ * Install 3CX SBC
13506
+ * @summary Install 3CX SBC
13507
+ * @param {number} sbcId SBC ID
13508
+ * @param {*} [options] Override http request option.
13509
+ * @throws {RequiredError}
13510
+ */
13511
+ async postInstallTcxSbc(sbcId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxSbcResponseDTO>> {
13512
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postInstallTcxSbc(sbcId, options);
13513
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13514
+ const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.postInstallTcxSbc']?.[localVarOperationServerIndex]?.url;
13515
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13516
+ },
13045
13517
  /**
13046
13518
  * Reboot 3CX Instance
13047
13519
  * @summary Reboot 3CX Instance
@@ -13070,6 +13542,34 @@ export const Class3CXInstallationsApiFp = function(configuration?: Configuration
13070
13542
  const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.postResizeInstance']?.[localVarOperationServerIndex]?.url;
13071
13543
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13072
13544
  },
13545
+ /**
13546
+ * Restart 3CX Services
13547
+ * @summary Restart 3CX Services
13548
+ * @param {string} instanceId Instance ID
13549
+ * @param {string} [schedule] Scheduled Task (Date &amp; Time)
13550
+ * @param {*} [options] Override http request option.
13551
+ * @throws {RequiredError}
13552
+ */
13553
+ async postRestartServices(instanceId: string, schedule?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
13554
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postRestartServices(instanceId, schedule, options);
13555
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13556
+ const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.postRestartServices']?.[localVarOperationServerIndex]?.url;
13557
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13558
+ },
13559
+ /**
13560
+ * Reboot Instance
13561
+ * @summary Reboot Instance
13562
+ * @param {string} instanceId Instance ID
13563
+ * @param {string} [schedule] Scheduled Task (Date &amp; Time)
13564
+ * @param {*} [options] Override http request option.
13565
+ * @throws {RequiredError}
13566
+ */
13567
+ async postScheduledReboot(instanceId: string, schedule?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
13568
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postScheduledReboot(instanceId, schedule, options);
13569
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13570
+ const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.postScheduledReboot']?.[localVarOperationServerIndex]?.url;
13571
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13572
+ },
13073
13573
  /**
13074
13574
  * Suspend 3CX Instance
13075
13575
  * @summary Suspend 3CX Instance
@@ -13084,6 +13584,19 @@ export const Class3CXInstallationsApiFp = function(configuration?: Configuration
13084
13584
  const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.postSuspendInstance']?.[localVarOperationServerIndex]?.url;
13085
13585
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13086
13586
  },
13587
+ /**
13588
+ * Test 3CX Login Credentials
13589
+ * @summary Test 3CX Login Credentials
13590
+ * @param {string} instanceId Instance ID
13591
+ * @param {*} [options] Override http request option.
13592
+ * @throws {RequiredError}
13593
+ */
13594
+ async postTestLoginCredentials(instanceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
13595
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postTestLoginCredentials(instanceId, options);
13596
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13597
+ const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.postTestLoginCredentials']?.[localVarOperationServerIndex]?.url;
13598
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13599
+ },
13087
13600
  /**
13088
13601
  * Unsuspend 3CX Instance
13089
13602
  * @summary Unsuspend 3CX Instance
@@ -13127,7 +13640,7 @@ export const Class3CXInstallationsApiFactory = function (configuration?: Configu
13127
13640
  * @param {*} [options] Override http request option.
13128
13641
  * @throws {RequiredError}
13129
13642
  */
13130
- getGetDetails(wizardId: number, options?: RawAxiosRequestConfig): AxiosPromise<TcxInstallationDetailsModel> {
13643
+ getGetDetails(wizardId: number, options?: RawAxiosRequestConfig): AxiosPromise<InstallationDetailsDTO> {
13131
13644
  return localVarFp.getGetDetails(wizardId, options).then((request) => request(axios, basePath));
13132
13645
  },
13133
13646
  /**
@@ -13146,6 +13659,17 @@ export const Class3CXInstallationsApiFactory = function (configuration?: Configu
13146
13659
  getGetInstallations(pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, installType?: GetGetInstallationsInstallTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<TcxInstallationsModel> {
13147
13660
  return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then((request) => request(axios, basePath));
13148
13661
  },
13662
+ /**
13663
+ * Change instance owner
13664
+ * @summary Change instance owner
13665
+ * @param {string} instanceId Instance ID
13666
+ * @param {number} customerId Customer ID
13667
+ * @param {*} [options] Override http request option.
13668
+ * @throws {RequiredError}
13669
+ */
13670
+ patchChangeInstanceOwner(instanceId: string, customerId: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
13671
+ return localVarFp.patchChangeInstanceOwner(instanceId, customerId, options).then((request) => request(axios, basePath));
13672
+ },
13149
13673
  /**
13150
13674
  * Update 3CX Instance Auto Failover
13151
13675
  * @summary Update 3CX Instance Auto Failover
@@ -13195,11 +13719,11 @@ export const Class3CXInstallationsApiFactory = function (configuration?: Configu
13195
13719
  * @summary Extend additional disk on 3CX Instance
13196
13720
  * @param {string} instanceId Instance ID
13197
13721
  * @param {number} gigabytes Disk Space (GB)
13198
- * @param {string} schedule Scheduled Task (Date &amp; Time)
13722
+ * @param {string} [schedule] Scheduled Task (Date &amp; Time)
13199
13723
  * @param {*} [options] Override http request option.
13200
13724
  * @throws {RequiredError}
13201
13725
  */
13202
- postExtendDisk(instanceId: string, gigabytes: number, schedule: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
13726
+ postExtendDisk(instanceId: string, gigabytes: number, schedule?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
13203
13727
  return localVarFp.postExtendDisk(instanceId, gigabytes, schedule, options).then((request) => request(axios, basePath));
13204
13728
  },
13205
13729
  /**
@@ -13213,6 +13737,16 @@ export const Class3CXInstallationsApiFactory = function (configuration?: Configu
13213
13737
  postFailoverInstance(instanceId: string, type: PostFailoverInstanceTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<void> {
13214
13738
  return localVarFp.postFailoverInstance(instanceId, type, options).then((request) => request(axios, basePath));
13215
13739
  },
13740
+ /**
13741
+ * Install 3CX SBC
13742
+ * @summary Install 3CX SBC
13743
+ * @param {number} sbcId SBC ID
13744
+ * @param {*} [options] Override http request option.
13745
+ * @throws {RequiredError}
13746
+ */
13747
+ postInstallTcxSbc(sbcId: number, options?: RawAxiosRequestConfig): AxiosPromise<TcxSbcResponseDTO> {
13748
+ return localVarFp.postInstallTcxSbc(sbcId, options).then((request) => request(axios, basePath));
13749
+ },
13216
13750
  /**
13217
13751
  * Reboot 3CX Instance
13218
13752
  * @summary Reboot 3CX Instance
@@ -13235,6 +13769,28 @@ export const Class3CXInstallationsApiFactory = function (configuration?: Configu
13235
13769
  postResizeInstance(instanceId: string, size: PostResizeInstanceSizeEnum, schedule?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
13236
13770
  return localVarFp.postResizeInstance(instanceId, size, schedule, options).then((request) => request(axios, basePath));
13237
13771
  },
13772
+ /**
13773
+ * Restart 3CX Services
13774
+ * @summary Restart 3CX Services
13775
+ * @param {string} instanceId Instance ID
13776
+ * @param {string} [schedule] Scheduled Task (Date &amp; Time)
13777
+ * @param {*} [options] Override http request option.
13778
+ * @throws {RequiredError}
13779
+ */
13780
+ postRestartServices(instanceId: string, schedule?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
13781
+ return localVarFp.postRestartServices(instanceId, schedule, options).then((request) => request(axios, basePath));
13782
+ },
13783
+ /**
13784
+ * Reboot Instance
13785
+ * @summary Reboot Instance
13786
+ * @param {string} instanceId Instance ID
13787
+ * @param {string} [schedule] Scheduled Task (Date &amp; Time)
13788
+ * @param {*} [options] Override http request option.
13789
+ * @throws {RequiredError}
13790
+ */
13791
+ postScheduledReboot(instanceId: string, schedule?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
13792
+ return localVarFp.postScheduledReboot(instanceId, schedule, options).then((request) => request(axios, basePath));
13793
+ },
13238
13794
  /**
13239
13795
  * Suspend 3CX Instance
13240
13796
  * @summary Suspend 3CX Instance
@@ -13246,6 +13802,16 @@ export const Class3CXInstallationsApiFactory = function (configuration?: Configu
13246
13802
  postSuspendInstance(instanceId: string, schedule?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
13247
13803
  return localVarFp.postSuspendInstance(instanceId, schedule, options).then((request) => request(axios, basePath));
13248
13804
  },
13805
+ /**
13806
+ * Test 3CX Login Credentials
13807
+ * @summary Test 3CX Login Credentials
13808
+ * @param {string} instanceId Instance ID
13809
+ * @param {*} [options] Override http request option.
13810
+ * @throws {RequiredError}
13811
+ */
13812
+ postTestLoginCredentials(instanceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
13813
+ return localVarFp.postTestLoginCredentials(instanceId, options).then((request) => request(axios, basePath));
13814
+ },
13249
13815
  /**
13250
13816
  * Unsuspend 3CX Instance
13251
13817
  * @summary Unsuspend 3CX Instance
@@ -13302,6 +13868,18 @@ export class Class3CXInstallationsApi extends BaseAPI {
13302
13868
  return Class3CXInstallationsApiFp(this.configuration).getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then((request) => request(this.axios, this.basePath));
13303
13869
  }
13304
13870
 
13871
+ /**
13872
+ * Change instance owner
13873
+ * @summary Change instance owner
13874
+ * @param {string} instanceId Instance ID
13875
+ * @param {number} customerId Customer ID
13876
+ * @param {*} [options] Override http request option.
13877
+ * @throws {RequiredError}
13878
+ */
13879
+ public patchChangeInstanceOwner(instanceId: string, customerId: number, options?: RawAxiosRequestConfig) {
13880
+ return Class3CXInstallationsApiFp(this.configuration).patchChangeInstanceOwner(instanceId, customerId, options).then((request) => request(this.axios, this.basePath));
13881
+ }
13882
+
13305
13883
  /**
13306
13884
  * Update 3CX Instance Auto Failover
13307
13885
  * @summary Update 3CX Instance Auto Failover
@@ -13355,11 +13933,11 @@ export class Class3CXInstallationsApi extends BaseAPI {
13355
13933
  * @summary Extend additional disk on 3CX Instance
13356
13934
  * @param {string} instanceId Instance ID
13357
13935
  * @param {number} gigabytes Disk Space (GB)
13358
- * @param {string} schedule Scheduled Task (Date &amp; Time)
13936
+ * @param {string} [schedule] Scheduled Task (Date &amp; Time)
13359
13937
  * @param {*} [options] Override http request option.
13360
13938
  * @throws {RequiredError}
13361
13939
  */
13362
- public postExtendDisk(instanceId: string, gigabytes: number, schedule: string, options?: RawAxiosRequestConfig) {
13940
+ public postExtendDisk(instanceId: string, gigabytes: number, schedule?: string, options?: RawAxiosRequestConfig) {
13363
13941
  return Class3CXInstallationsApiFp(this.configuration).postExtendDisk(instanceId, gigabytes, schedule, options).then((request) => request(this.axios, this.basePath));
13364
13942
  }
13365
13943
 
@@ -13375,6 +13953,17 @@ export class Class3CXInstallationsApi extends BaseAPI {
13375
13953
  return Class3CXInstallationsApiFp(this.configuration).postFailoverInstance(instanceId, type, options).then((request) => request(this.axios, this.basePath));
13376
13954
  }
13377
13955
 
13956
+ /**
13957
+ * Install 3CX SBC
13958
+ * @summary Install 3CX SBC
13959
+ * @param {number} sbcId SBC ID
13960
+ * @param {*} [options] Override http request option.
13961
+ * @throws {RequiredError}
13962
+ */
13963
+ public postInstallTcxSbc(sbcId: number, options?: RawAxiosRequestConfig) {
13964
+ return Class3CXInstallationsApiFp(this.configuration).postInstallTcxSbc(sbcId, options).then((request) => request(this.axios, this.basePath));
13965
+ }
13966
+
13378
13967
  /**
13379
13968
  * Reboot 3CX Instance
13380
13969
  * @summary Reboot 3CX Instance
@@ -13399,6 +13988,30 @@ export class Class3CXInstallationsApi extends BaseAPI {
13399
13988
  return Class3CXInstallationsApiFp(this.configuration).postResizeInstance(instanceId, size, schedule, options).then((request) => request(this.axios, this.basePath));
13400
13989
  }
13401
13990
 
13991
+ /**
13992
+ * Restart 3CX Services
13993
+ * @summary Restart 3CX Services
13994
+ * @param {string} instanceId Instance ID
13995
+ * @param {string} [schedule] Scheduled Task (Date &amp; Time)
13996
+ * @param {*} [options] Override http request option.
13997
+ * @throws {RequiredError}
13998
+ */
13999
+ public postRestartServices(instanceId: string, schedule?: string, options?: RawAxiosRequestConfig) {
14000
+ return Class3CXInstallationsApiFp(this.configuration).postRestartServices(instanceId, schedule, options).then((request) => request(this.axios, this.basePath));
14001
+ }
14002
+
14003
+ /**
14004
+ * Reboot Instance
14005
+ * @summary Reboot Instance
14006
+ * @param {string} instanceId Instance ID
14007
+ * @param {string} [schedule] Scheduled Task (Date &amp; Time)
14008
+ * @param {*} [options] Override http request option.
14009
+ * @throws {RequiredError}
14010
+ */
14011
+ public postScheduledReboot(instanceId: string, schedule?: string, options?: RawAxiosRequestConfig) {
14012
+ return Class3CXInstallationsApiFp(this.configuration).postScheduledReboot(instanceId, schedule, options).then((request) => request(this.axios, this.basePath));
14013
+ }
14014
+
13402
14015
  /**
13403
14016
  * Suspend 3CX Instance
13404
14017
  * @summary Suspend 3CX Instance
@@ -13411,6 +14024,17 @@ export class Class3CXInstallationsApi extends BaseAPI {
13411
14024
  return Class3CXInstallationsApiFp(this.configuration).postSuspendInstance(instanceId, schedule, options).then((request) => request(this.axios, this.basePath));
13412
14025
  }
13413
14026
 
14027
+ /**
14028
+ * Test 3CX Login Credentials
14029
+ * @summary Test 3CX Login Credentials
14030
+ * @param {string} instanceId Instance ID
14031
+ * @param {*} [options] Override http request option.
14032
+ * @throws {RequiredError}
14033
+ */
14034
+ public postTestLoginCredentials(instanceId: string, options?: RawAxiosRequestConfig) {
14035
+ return Class3CXInstallationsApiFp(this.configuration).postTestLoginCredentials(instanceId, options).then((request) => request(this.axios, this.basePath));
14036
+ }
14037
+
13414
14038
  /**
13415
14039
  * Unsuspend 3CX Instance
13416
14040
  * @summary Unsuspend 3CX Instance
@@ -17183,6 +17807,44 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
17183
17807
  options: localVarRequestOptions,
17184
17808
  };
17185
17809
  },
17810
+ /**
17811
+ * Process 3CX Licences (Admin)
17812
+ * @summary Process 3CX Licences (Admin)
17813
+ * @param {number} id Order ID
17814
+ * @param {number} batchId Batch ID
17815
+ * @param {*} [options] Override http request option.
17816
+ * @throws {RequiredError}
17817
+ */
17818
+ postProcessTcxLicences: async (id: number, batchId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17819
+ // verify required parameter 'id' is not null or undefined
17820
+ assertParamExists('postProcessTcxLicences', 'id', id)
17821
+ // verify required parameter 'batchId' is not null or undefined
17822
+ assertParamExists('postProcessTcxLicences', 'batchId', batchId)
17823
+ const localVarPath = `/admin/orders/{id}/batches/{batch_id}/licences/process`
17824
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
17825
+ .replace(`{${"batch_id"}}`, encodeURIComponent(String(batchId)));
17826
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17827
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17828
+ let baseOptions;
17829
+ if (configuration) {
17830
+ baseOptions = configuration.baseOptions;
17831
+ }
17832
+
17833
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
17834
+ const localVarHeaderParameter = {} as any;
17835
+ const localVarQueryParameter = {} as any;
17836
+
17837
+ localVarHeaderParameter['Accept'] = 'application/json';
17838
+
17839
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17840
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17841
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17842
+
17843
+ return {
17844
+ url: toPathString(localVarUrlObj),
17845
+ options: localVarRequestOptions,
17846
+ };
17847
+ },
17186
17848
  /**
17187
17849
  * Send Order Email
17188
17850
  * @summary Send Order Email
@@ -17881,6 +18543,20 @@ export const OrdersApiFp = function(configuration?: Configuration) {
17881
18543
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.postPrintShippingLabel']?.[localVarOperationServerIndex]?.url;
17882
18544
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17883
18545
  },
18546
+ /**
18547
+ * Process 3CX Licences (Admin)
18548
+ * @summary Process 3CX Licences (Admin)
18549
+ * @param {number} id Order ID
18550
+ * @param {number} batchId Batch ID
18551
+ * @param {*} [options] Override http request option.
18552
+ * @throws {RequiredError}
18553
+ */
18554
+ async postProcessTcxLicences(id: number, batchId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderDetailsDTO>> {
18555
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postProcessTcxLicences(id, batchId, options);
18556
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18557
+ const localVarOperationServerBasePath = operationServerMap['OrdersApi.postProcessTcxLicences']?.[localVarOperationServerIndex]?.url;
18558
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18559
+ },
17884
18560
  /**
17885
18561
  * Send Order Email
17886
18562
  * @summary Send Order Email
@@ -18250,6 +18926,17 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
18250
18926
  postPrintShippingLabel(id: number, shipmentId: number, printer: PostPrintShippingLabelPrinterEnum, options?: RawAxiosRequestConfig): AxiosPromise<File> {
18251
18927
  return localVarFp.postPrintShippingLabel(id, shipmentId, printer, options).then((request) => request(axios, basePath));
18252
18928
  },
18929
+ /**
18930
+ * Process 3CX Licences (Admin)
18931
+ * @summary Process 3CX Licences (Admin)
18932
+ * @param {number} id Order ID
18933
+ * @param {number} batchId Batch ID
18934
+ * @param {*} [options] Override http request option.
18935
+ * @throws {RequiredError}
18936
+ */
18937
+ postProcessTcxLicences(id: number, batchId: number, options?: RawAxiosRequestConfig): AxiosPromise<OrderDetailsDTO> {
18938
+ return localVarFp.postProcessTcxLicences(id, batchId, options).then((request) => request(axios, basePath));
18939
+ },
18253
18940
  /**
18254
18941
  * Send Order Email
18255
18942
  * @summary Send Order Email
@@ -18606,6 +19293,18 @@ export class OrdersApi extends BaseAPI {
18606
19293
  return OrdersApiFp(this.configuration).postPrintShippingLabel(id, shipmentId, printer, options).then((request) => request(this.axios, this.basePath));
18607
19294
  }
18608
19295
 
19296
+ /**
19297
+ * Process 3CX Licences (Admin)
19298
+ * @summary Process 3CX Licences (Admin)
19299
+ * @param {number} id Order ID
19300
+ * @param {number} batchId Batch ID
19301
+ * @param {*} [options] Override http request option.
19302
+ * @throws {RequiredError}
19303
+ */
19304
+ public postProcessTcxLicences(id: number, batchId: number, options?: RawAxiosRequestConfig) {
19305
+ return OrdersApiFp(this.configuration).postProcessTcxLicences(id, batchId, options).then((request) => request(this.axios, this.basePath));
19306
+ }
19307
+
18609
19308
  /**
18610
19309
  * Send Order Email
18611
19310
  * @summary Send Order Email