yellowgrid-api-ts 3.2.31-dev.0 → 3.2.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. package/.openapi-generator/FILES +1 -10
  2. package/.openapi-generator/VERSION +0 -0
  3. package/.openapi-generator-ignore +0 -0
  4. package/README.md +3 -15
  5. package/api.ts +244 -777
  6. package/base.ts +1 -1
  7. package/common.ts +1 -1
  8. package/config.json +3 -3
  9. package/configuration.ts +1 -1
  10. package/dist/api.d.ts +122 -516
  11. package/dist/api.js +271 -569
  12. package/dist/base.d.ts +1 -1
  13. package/dist/base.js +1 -1
  14. package/dist/common.d.ts +1 -1
  15. package/dist/common.js +1 -1
  16. package/dist/configuration.d.ts +1 -1
  17. package/dist/configuration.js +1 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +1 -1
  20. package/docs/AbstractOrderRequestDTO.md +0 -0
  21. package/docs/AccountContactEntity.md +0 -0
  22. package/docs/AccountContactModel.md +0 -0
  23. package/docs/AccountContactRequestModel.md +0 -0
  24. package/docs/AccountDetailedSummaryDTO.md +0 -0
  25. package/docs/AccountRequestModel.md +0 -0
  26. package/docs/AccountSummaryDTO.md +0 -0
  27. package/docs/AccountsApi.md +0 -0
  28. package/docs/AccountsResponseModel.md +0 -0
  29. package/docs/AddressModel.md +0 -0
  30. package/docs/AddressRequestModel.md +0 -0
  31. package/docs/AdminOrderRequestDTO.md +0 -0
  32. package/docs/AdminUserModel.md +0 -0
  33. package/docs/AgentHoursGraphModel.md +0 -0
  34. package/docs/AgentHoursGraphMonthModel.md +0 -0
  35. package/docs/ApiLogEntity.md +0 -0
  36. package/docs/AreaCodeModel.md +0 -0
  37. package/docs/AttachmentModel.md +0 -0
  38. package/docs/AttributeSetEnum.md +0 -0
  39. package/docs/AuditLogEntity.md +0 -0
  40. package/docs/AuthCodeResponseModel.md +0 -0
  41. package/docs/BasicItemDTO.md +0 -0
  42. package/docs/BasicProductDTO.md +0 -0
  43. package/docs/BatchEntity.md +0 -0
  44. package/docs/CRMApi.md +0 -0
  45. package/docs/CallBarringModel.md +0 -0
  46. package/docs/Class3CXApi.md +0 -0
  47. package/docs/Class3CXInstallationWizardApi.md +56 -0
  48. package/docs/Class3CXInstallationsApi.md +116 -0
  49. package/docs/Class3CXIntegrationsApi.md +0 -0
  50. package/docs/Class3CXMultiTenantApi.md +0 -0
  51. package/docs/ClientDetailsModel.md +0 -0
  52. package/docs/ClientModel.md +0 -0
  53. package/docs/CompanyContractModel.md +0 -0
  54. package/docs/ContactInfoModel.md +0 -0
  55. package/docs/ConversationModel.md +0 -0
  56. package/docs/CourierPriceEntity.md +0 -0
  57. package/docs/CreditAccountEntity.md +0 -0
  58. package/docs/CrmContactDTO.md +0 -0
  59. package/docs/CustomerInformationModel.md +0 -0
  60. package/docs/CustomerItemRequestDTO.md +0 -0
  61. package/docs/CustomerOrderRequestDTO.md +0 -0
  62. package/docs/CustomerPriceListEnum.md +0 -0
  63. package/docs/CustomerSummaryReportDTO.md +0 -0
  64. package/docs/DdiRangeRequestModel.md +0 -0
  65. package/docs/DdiRangesRequestModel.md +0 -0
  66. package/docs/DetailedItemRequestDTO.md +0 -0
  67. package/docs/DetailedOrderRequestDTO.md +0 -0
  68. package/docs/DivertRequestModel.md +0 -0
  69. package/docs/DivertResponseModel.md +0 -0
  70. package/docs/EdTechProClientEntity.md +0 -0
  71. package/docs/EdTechProSchoolModel.md +0 -0
  72. package/docs/EdTechProSchoolsModel.md +0 -0
  73. package/docs/EdTechProSetupModel.md +0 -0
  74. package/docs/FraudManagementModel.md +0 -0
  75. package/docs/FreshdeskCompanyTicketsModel.md +0 -0
  76. package/docs/FreshdeskTicketEntity.md +0 -0
  77. package/docs/FtpAccountsEntity.md +0 -0
  78. package/docs/GenericFileModel.md +0 -0
  79. package/docs/GetGetPrice200Response.md +0 -0
  80. package/docs/GetGetRecording200Response.md +0 -0
  81. package/docs/HostingChangeResponseModel.md +0 -0
  82. package/docs/HostingRegionDTO.md +0 -0
  83. package/docs/InstanceAutoFailoverEntity.md +0 -0
  84. package/docs/InstanceDeletionScheduleEntity.md +0 -0
  85. package/docs/InstanceEntity.md +2 -0
  86. package/docs/InstanceFailoverEntity.md +0 -0
  87. package/docs/InstanceMonitoringEntity.md +0 -0
  88. package/docs/InstanceMonitoringLogEntity.md +0 -0
  89. package/docs/InstanceScheduledTasksEntity.md +0 -0
  90. package/docs/InstanceTcxDetailsEntity.md +0 -0
  91. package/docs/InstanceUserCredentialsEntity.md +0 -0
  92. package/docs/ItemDTO.md +0 -0
  93. package/docs/ItemDiscountEntity.md +0 -0
  94. package/docs/ItemEntity.md +0 -0
  95. package/docs/LinkedOrderEntity.md +0 -0
  96. package/docs/MFARequiredModel.md +0 -0
  97. package/docs/MonthlyUsageModel.md +0 -0
  98. package/docs/MultiTenantChangeResponseModel.md +0 -0
  99. package/docs/MyPBXToolsApi.md +0 -0
  100. package/docs/NavigationModel.md +0 -0
  101. package/docs/OAuth20Api.md +0 -0
  102. package/docs/OfflineInstancesEntity.md +0 -0
  103. package/docs/OrderEntity.md +0 -0
  104. package/docs/OrderRequestModel.md +0 -0
  105. package/docs/OrderSummariesModel.md +0 -0
  106. package/docs/OrderSummaryDTO.md +0 -0
  107. package/docs/OrderTotalModel.md +0 -0
  108. package/docs/OrderedItemEntity.md +0 -0
  109. package/docs/OrdersApi.md +0 -0
  110. package/docs/PatchSetTcxWizardCnameRequest.md +0 -0
  111. package/docs/PatchUpdateAccountContactPasswordRequest.md +0 -0
  112. package/docs/PortalAccountModel.md +0 -0
  113. package/docs/PortalLoginModel.md +0 -0
  114. package/docs/PostAddWebhook200Response.md +0 -0
  115. package/docs/PostGetClientCredentialsRequest.md +0 -0
  116. package/docs/PostGetProductForCustomerRequest.md +0 -0
  117. package/docs/PostGetProductRequest.md +0 -0
  118. package/docs/PriceListItemModel.md +0 -0
  119. package/docs/PricingApi.md +4 -4
  120. package/docs/PrizesEntity.md +0 -0
  121. package/docs/ProductPriceListItemModel.md +0 -0
  122. package/docs/ProductSearchResultsModel.md +0 -0
  123. package/docs/ProductSerialInfoModel.md +0 -0
  124. package/docs/ProductSummaryDTO.md +0 -0
  125. package/docs/ProductsApi.md +0 -0
  126. package/docs/PromoCodesEntity.md +0 -0
  127. package/docs/PromoItemsEntity.md +0 -0
  128. package/docs/ProvisioningApi.md +0 -0
  129. package/docs/ProvisioningModel.md +0 -0
  130. package/docs/ProvisioningRequestEntity.md +0 -0
  131. package/docs/RecordingBackupAzureModel.md +0 -0
  132. package/docs/RecordingsBackupInfoDTO.md +0 -0
  133. package/docs/ResourceNotReadyException.md +0 -0
  134. package/docs/RootAccessModel.md +0 -0
  135. package/docs/S3BucketEntity.md +0 -0
  136. package/docs/SIPTrunksApi.md +0 -0
  137. package/docs/SMSApi.md +0 -0
  138. package/docs/ScannedItemModel.md +0 -0
  139. package/docs/ScopeModel.md +0 -0
  140. package/docs/ShipmentAddressEntity.md +0 -0
  141. package/docs/ShipmentEntity.md +0 -0
  142. package/docs/ShipmentItemEntity.md +0 -0
  143. package/docs/ShippingApi.md +0 -0
  144. package/docs/ShippingConsignmentModel.md +0 -0
  145. package/docs/ShippingInformationDTO.md +0 -0
  146. package/docs/ShippingServiceDTO.md +0 -0
  147. package/docs/ShippingServiceModel.md +0 -0
  148. package/docs/ShippingServicesModel.md +0 -0
  149. package/docs/SipTrunkChangeResponseModel.md +0 -0
  150. package/docs/SipTrunkCreationRequestModel.md +0 -0
  151. package/docs/SipTrunkEntity.md +0 -0
  152. package/docs/SipTrunksResponseModel.md +0 -0
  153. package/docs/SmsAccountEntity.md +0 -0
  154. package/docs/SmsDataModel.md +0 -0
  155. package/docs/SmsMessageModel.md +0 -0
  156. package/docs/SmsNumbersEntity.md +0 -0
  157. package/docs/SmsPayloadModel.md +0 -0
  158. package/docs/SmsPhoneNumberModel.md +0 -0
  159. package/docs/SmsResponseModel.md +0 -0
  160. package/docs/SmsWhitelistEntity.md +0 -0
  161. package/docs/StockManagementApi.md +0 -0
  162. package/docs/StockOrderCourierEntity.md +0 -0
  163. package/docs/StockOrderDeductionModel.md +0 -0
  164. package/docs/StockOrderDeductionRequestModel.md +0 -0
  165. package/docs/StockOrderDeductionsEntity.md +0 -0
  166. package/docs/StockOrderEntity.md +0 -0
  167. package/docs/StockOrderItemEntity.md +0 -0
  168. package/docs/StockOrderItemModel.md +0 -0
  169. package/docs/StockOrderItemRequestModel.md +0 -0
  170. package/docs/StockOrderModel.md +0 -0
  171. package/docs/StockOrderProductEntity.md +0 -0
  172. package/docs/StockOrderRequestModel.md +0 -0
  173. package/docs/StockOrderSupplierEntity.md +0 -0
  174. package/docs/StockOrderSupplierModel.md +0 -0
  175. package/docs/StockOrdersModel.md +0 -0
  176. package/docs/StockProductModel.md +0 -0
  177. package/docs/StockProductPriceModel.md +0 -0
  178. package/docs/StockProductSummariesModel.md +0 -0
  179. package/docs/StockProductSummaryModel.md +0 -0
  180. package/docs/StockTransactionsEntity.md +0 -0
  181. package/docs/SupplierEntity.md +0 -0
  182. package/docs/SupplierItemEntity.md +0 -0
  183. package/docs/SystemApi.md +0 -0
  184. package/docs/TcxBackupEntity.md +0 -0
  185. package/docs/TcxBackupModel.md +0 -0
  186. package/docs/TcxBillingEntity.md +0 -0
  187. package/docs/TcxBulkLicenceDetailsModel.md +0 -0
  188. package/docs/TcxDeadLicenceEntity.md +0 -0
  189. package/docs/TcxExtsEntity.md +0 -0
  190. package/docs/TcxHostingPricingEntity.md +0 -0
  191. package/docs/TcxInstallationDetailsModel.md +0 -0
  192. package/docs/TcxInstallationModel.md +2 -0
  193. package/docs/TcxInstallationsModel.md +0 -0
  194. package/docs/TcxKeySummaryDTO.md +0 -0
  195. package/docs/TcxKeysEntity.md +0 -0
  196. package/docs/TcxLicenceDetailsErrorModel.md +0 -0
  197. package/docs/TcxLicenceDetailsModel.md +0 -0
  198. package/docs/TcxMacsEntity.md +0 -0
  199. package/docs/TcxMultiTenantModel.md +0 -0
  200. package/docs/TcxMultiTenantUserModel.md +0 -0
  201. package/docs/TcxMultiTenantsModel.md +0 -0
  202. package/docs/TcxNumbersEntity.md +0 -0
  203. package/docs/TcxOfficeHoursEntity.md +0 -0
  204. package/docs/TcxPhoneModel.md +0 -0
  205. package/docs/TcxPhonesEntity.md +0 -0
  206. package/docs/TcxRemoteStorageModel.md +0 -0
  207. package/docs/TcxSbcDTO.md +0 -0
  208. package/docs/TcxSbcEntity.md +0 -0
  209. package/docs/TcxSbcModel.md +0 -0
  210. package/docs/TcxSetupEntity.md +0 -0
  211. package/docs/TcxSetupsModel.md +0 -0
  212. package/docs/TcxSipTrunksEntity.md +0 -0
  213. package/docs/TcxTemplateXmlEnum.md +0 -0
  214. package/docs/TcxUsersEntity.md +0 -0
  215. package/docs/TcxWizardConfigModel.md +0 -0
  216. package/docs/TcxWizardModel.md +0 -0
  217. package/docs/TechSupportCompanySummaryDTO.md +0 -0
  218. package/docs/TelephonySupportTicketModel.md +0 -0
  219. package/docs/TicketSummaryModel.md +0 -0
  220. package/docs/TicketTimeDTO.md +0 -0
  221. package/docs/TicketsApi.md +0 -0
  222. package/docs/TokenResponseModel.md +0 -0
  223. package/docs/UpgradeOrderResponseModel.md +0 -0
  224. package/docs/UpgradeRequestModel.md +0 -0
  225. package/docs/UserEntity.md +0 -0
  226. package/docs/WebhooksApi.md +0 -0
  227. package/docs/XeroLogEntity.md +0 -0
  228. package/git_push.sh +0 -0
  229. package/index.ts +1 -1
  230. package/openapitools.json +0 -0
  231. package/package.json +1 -1
  232. package/tsconfig.json +0 -0
  233. package/docs/AbstractEventUpdateDTO.md +0 -23
  234. package/docs/EventDTO.md +0 -35
  235. package/docs/EventRequestDTO.md +0 -25
  236. package/docs/EventSubscriptionModel.md +0 -23
  237. package/docs/EventUpdateDTO.md +0 -27
  238. package/docs/EventUpdateEntity.md +0 -29
  239. package/docs/EventUpdateRequestDTO.md +0 -23
  240. package/docs/ServiceHealthDTO.md +0 -23
  241. package/docs/ServiceStatusDTO.md +0 -27
  242. package/docs/ServicesApi.md +0 -330
package/dist/api.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Yellowgrid
6
- * Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `http://api.yellowgrid.local` For questions or technical support, please contact support@yellowgrid.co.uk.
6
+ * Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `http://api.yellowgrid.local` For questions or technical support, please contact support@yellowgrid.co.uk.
7
7
  *
8
8
  * The version of the OpenAPI document: 0
9
9
  *
@@ -84,20 +84,15 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
84
84
  return to.concat(ar || Array.prototype.slice.call(from));
85
85
  };
86
86
  Object.defineProperty(exports, "__esModule", { value: true });
87
- exports.Class3CXInstallationsApiAxiosParamCreator = exports.Class3CXInstallationWizardApi = exports.Class3CXInstallationWizardApiFactory = exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = exports.CRMApiAxiosParamCreator = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.UpgradeRequestModelSchoolTypeEnum = exports.UpgradeRequestModelLicenceTypeEnum = exports.TcxWizardModelInstallationStatusEnum = exports.TcxWizardModelInstallTypeEnum = exports.TcxSetupEntityRegionEnum = exports.TcxSetupEntityInstallTypeEnum = exports.TcxMultiTenantModelPackageEnum = exports.StockOrderModelPaidEnum = exports.StockOrderModelDeliveryMethodEnum = exports.SmsResponseModelEventTypeEnum = exports.SmsPhoneNumberModelStatusEnum = exports.SipTrunkChangeResponseModelTypeEnum = exports.ShippingServiceModelCourierEnum = exports.ShippingServiceDTOCourierEnum = exports.ServiceStatusDTOStatusEnum = exports.ServiceHealthDTOGlobalStatusEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.ItemDiscountEntityTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.EventUpdateRequestDTOTypeEnum = exports.EventUpdateDTOTypeEnum = exports.EventRequestDTOServiceEnum = exports.EventRequestDTOTypeEnum = exports.EventDTOStatusEnum = exports.EventDTOServiceEnum = exports.EventDTOTypeEnum = exports.DivertResponseModelStatusEnum = exports.AdminUserModelRoleEnum = exports.AbstractEventUpdateDTOTypeEnum = void 0;
88
- exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsInstallTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = void 0;
89
- exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = void 0;
87
+ exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsInstallTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = exports.Class3CXInstallationsApiAxiosParamCreator = exports.Class3CXInstallationWizardApi = exports.Class3CXInstallationWizardApiFactory = exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = exports.CRMApiAxiosParamCreator = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.UpgradeRequestModelSchoolTypeEnum = exports.UpgradeRequestModelLicenceTypeEnum = exports.TcxWizardModelInstallationStatusEnum = exports.TcxWizardModelInstallTypeEnum = exports.TcxSetupEntityRegionEnum = exports.TcxSetupEntityInstallTypeEnum = exports.TcxMultiTenantModelPackageEnum = exports.StockOrderModelPaidEnum = exports.StockOrderModelDeliveryMethodEnum = exports.SmsResponseModelEventTypeEnum = exports.SmsPhoneNumberModelStatusEnum = exports.SipTrunkChangeResponseModelTypeEnum = exports.ShippingServiceModelCourierEnum = exports.ShippingServiceDTOCourierEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.ItemDiscountEntityTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.DivertResponseModelStatusEnum = exports.AdminUserModelRoleEnum = void 0;
88
+ exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = void 0;
89
+ exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = void 0;
90
90
  var axios_1 = require("axios");
91
91
  // Some imports not used depending on template conditions
92
92
  // @ts-ignore
93
93
  var common_1 = require("./common");
94
94
  // @ts-ignore
95
95
  var base_1 = require("./base");
96
- exports.AbstractEventUpdateDTOTypeEnum = {
97
- NUMBER_0: 0,
98
- NUMBER_1: 1,
99
- NUMBER_2: 2
100
- };
101
96
  exports.AdminUserModelRoleEnum = {
102
97
  NUMBER_0: 0,
103
98
  NUMBER_1: 1,
@@ -109,37 +104,6 @@ exports.DivertResponseModelStatusEnum = {
109
104
  Enabled: 'enabled',
110
105
  Disabled: 'disabled'
111
106
  };
112
- exports.EventDTOTypeEnum = {
113
- NUMBER_0: 0,
114
- NUMBER_1: 1
115
- };
116
- exports.EventDTOServiceEnum = {
117
- NUMBER_0: 0,
118
- NUMBER_1: 1
119
- };
120
- exports.EventDTOStatusEnum = {
121
- NUMBER_0: 0,
122
- NUMBER_1: 1,
123
- NUMBER_2: 2
124
- };
125
- exports.EventRequestDTOTypeEnum = {
126
- NUMBER_0: 0,
127
- NUMBER_1: 1
128
- };
129
- exports.EventRequestDTOServiceEnum = {
130
- NUMBER_0: 0,
131
- NUMBER_1: 1
132
- };
133
- exports.EventUpdateDTOTypeEnum = {
134
- NUMBER_0: 0,
135
- NUMBER_1: 1,
136
- NUMBER_2: 2
137
- };
138
- exports.EventUpdateRequestDTOTypeEnum = {
139
- NUMBER_0: 0,
140
- NUMBER_1: 1,
141
- NUMBER_2: 2
142
- };
143
107
  exports.HostingChangeResponseModelTypeEnum = {
144
108
  NewInstance: 'New Instance',
145
109
  BuildingInstance: 'Building Instance'
@@ -217,16 +181,6 @@ exports.OrderTotalModelCurrencyEnum = {
217
181
  Thb: 'THB',
218
182
  Zar: 'ZAR'
219
183
  };
220
- exports.ServiceHealthDTOGlobalStatusEnum = {
221
- NUMBER_0: 0,
222
- NUMBER_1: 1,
223
- NUMBER_2: 2
224
- };
225
- exports.ServiceStatusDTOStatusEnum = {
226
- NUMBER_0: 0,
227
- NUMBER_1: 1,
228
- NUMBER_2: 2
229
- };
230
184
  exports.ShippingServiceDTOCourierEnum = {
231
185
  Dpd: 'DPD',
232
186
  ChorltonPallet: 'Chorlton Pallet',
@@ -3479,6 +3433,42 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
3479
3433
  });
3480
3434
  });
3481
3435
  },
3436
+ /**
3437
+ * Track SIP Trunk Change Request
3438
+ * @summary Track SIP Trunk Change Request
3439
+ * @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
3440
+ * @param {*} [options] Override http request option.
3441
+ * @throws {RequiredError}
3442
+ */
3443
+ postTrackChangeTcxWizard: function (sipTrunkChangeResponseModel_1) {
3444
+ var args_1 = [];
3445
+ for (var _i = 1; _i < arguments.length; _i++) {
3446
+ args_1[_i - 1] = arguments[_i];
3447
+ }
3448
+ return __awaiter(_this, __spreadArray([sipTrunkChangeResponseModel_1], args_1, true), void 0, function (sipTrunkChangeResponseModel, options) {
3449
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3450
+ if (options === void 0) { options = {}; }
3451
+ return __generator(this, function (_a) {
3452
+ localVarPath = "/tcx/wizards/sip/trunks/changes/track";
3453
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3454
+ if (configuration) {
3455
+ baseOptions = configuration.baseOptions;
3456
+ }
3457
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
3458
+ localVarHeaderParameter = {};
3459
+ localVarQueryParameter = {};
3460
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3461
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3462
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3463
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3464
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(sipTrunkChangeResponseModel, localVarRequestOptions, configuration);
3465
+ return [2 /*return*/, {
3466
+ url: (0, common_1.toPathString)(localVarUrlObj),
3467
+ options: localVarRequestOptions,
3468
+ }];
3469
+ });
3470
+ });
3471
+ },
3482
3472
  /**
3483
3473
  * Upload 3CX Backup File
3484
3474
  * @param {File} backup 3CX Backup ZIP File
@@ -4271,6 +4261,29 @@ var Class3CXInstallationWizardApiFp = function (configuration) {
4271
4261
  });
4272
4262
  });
4273
4263
  },
4264
+ /**
4265
+ * Track SIP Trunk Change Request
4266
+ * @summary Track SIP Trunk Change Request
4267
+ * @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
4268
+ * @param {*} [options] Override http request option.
4269
+ * @throws {RequiredError}
4270
+ */
4271
+ postTrackChangeTcxWizard: function (sipTrunkChangeResponseModel, options) {
4272
+ return __awaiter(this, void 0, void 0, function () {
4273
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
4274
+ var _a, _b, _c;
4275
+ return __generator(this, function (_d) {
4276
+ switch (_d.label) {
4277
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postTrackChangeTcxWizard(sipTrunkChangeResponseModel, options)];
4278
+ case 1:
4279
+ localVarAxiosArgs = _d.sent();
4280
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4281
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.postTrackChangeTcxWizard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4282
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
4283
+ }
4284
+ });
4285
+ });
4286
+ },
4274
4287
  /**
4275
4288
  * Upload 3CX Backup File
4276
4289
  * @param {File} backup 3CX Backup ZIP File
@@ -4628,6 +4641,16 @@ var Class3CXInstallationWizardApiFactory = function (configuration, basePath, ax
4628
4641
  postGetSipTrunksTcxWizard: function (sipTrunkCreationRequestModel, options) {
4629
4642
  return localVarFp.postGetSipTrunksTcxWizard(sipTrunkCreationRequestModel, options).then(function (request) { return request(axios, basePath); });
4630
4643
  },
4644
+ /**
4645
+ * Track SIP Trunk Change Request
4646
+ * @summary Track SIP Trunk Change Request
4647
+ * @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
4648
+ * @param {*} [options] Override http request option.
4649
+ * @throws {RequiredError}
4650
+ */
4651
+ postTrackChangeTcxWizard: function (sipTrunkChangeResponseModel, options) {
4652
+ return localVarFp.postTrackChangeTcxWizard(sipTrunkChangeResponseModel, options).then(function (request) { return request(axios, basePath); });
4653
+ },
4631
4654
  /**
4632
4655
  * Upload 3CX Backup File
4633
4656
  * @param {File} backup 3CX Backup ZIP File
@@ -5040,6 +5063,18 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
5040
5063
  var _this = this;
5041
5064
  return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).postGetSipTrunksTcxWizard(sipTrunkCreationRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
5042
5065
  };
5066
+ /**
5067
+ * Track SIP Trunk Change Request
5068
+ * @summary Track SIP Trunk Change Request
5069
+ * @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
5070
+ * @param {*} [options] Override http request option.
5071
+ * @throws {RequiredError}
5072
+ * @memberof Class3CXInstallationWizardApi
5073
+ */
5074
+ Class3CXInstallationWizardApi.prototype.postTrackChangeTcxWizard = function (sipTrunkChangeResponseModel, options) {
5075
+ var _this = this;
5076
+ return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).postTrackChangeTcxWizard(sipTrunkChangeResponseModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
5077
+ };
5043
5078
  /**
5044
5079
  * Upload 3CX Backup File
5045
5080
  * @param {File} backup 3CX Backup ZIP File
@@ -5159,6 +5194,92 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
5159
5194
  });
5160
5195
  });
5161
5196
  },
5197
+ /**
5198
+ * Update 3CX Instance Auto Failover
5199
+ * @summary Update 3CX Instance Auto Failover
5200
+ * @param {string} instanceId Instance ID
5201
+ * @param {boolean} enable Enable
5202
+ * @param {*} [options] Override http request option.
5203
+ * @throws {RequiredError}
5204
+ */
5205
+ patchUpdateAutoFailover: function (instanceId_1, enable_1) {
5206
+ var args_1 = [];
5207
+ for (var _i = 2; _i < arguments.length; _i++) {
5208
+ args_1[_i - 2] = arguments[_i];
5209
+ }
5210
+ return __awaiter(_this, __spreadArray([instanceId_1, enable_1], args_1, true), void 0, function (instanceId, enable, options) {
5211
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
5212
+ if (options === void 0) { options = {}; }
5213
+ return __generator(this, function (_a) {
5214
+ // verify required parameter 'instanceId' is not null or undefined
5215
+ (0, common_1.assertParamExists)('patchUpdateAutoFailover', 'instanceId', instanceId);
5216
+ // verify required parameter 'enable' is not null or undefined
5217
+ (0, common_1.assertParamExists)('patchUpdateAutoFailover', 'enable', enable);
5218
+ localVarPath = "/tcx/installations/{instance_id}/failover/auto"
5219
+ .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
5220
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5221
+ if (configuration) {
5222
+ baseOptions = configuration.baseOptions;
5223
+ }
5224
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
5225
+ localVarHeaderParameter = {};
5226
+ localVarQueryParameter = {};
5227
+ if (enable !== undefined) {
5228
+ localVarQueryParameter['enable'] = enable;
5229
+ }
5230
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5231
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5232
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5233
+ return [2 /*return*/, {
5234
+ url: (0, common_1.toPathString)(localVarUrlObj),
5235
+ options: localVarRequestOptions,
5236
+ }];
5237
+ });
5238
+ });
5239
+ },
5240
+ /**
5241
+ * Add additional disk on 3CX Instance
5242
+ * @summary Add additional disk on 3CX Instance
5243
+ * @param {string} instanceId Instance ID
5244
+ * @param {number} gigabytes Disk Space (GB)
5245
+ * @param {*} [options] Override http request option.
5246
+ * @throws {RequiredError}
5247
+ */
5248
+ postAddDisk: function (instanceId_1, gigabytes_1) {
5249
+ var args_1 = [];
5250
+ for (var _i = 2; _i < arguments.length; _i++) {
5251
+ args_1[_i - 2] = arguments[_i];
5252
+ }
5253
+ return __awaiter(_this, __spreadArray([instanceId_1, gigabytes_1], args_1, true), void 0, function (instanceId, gigabytes, options) {
5254
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
5255
+ if (options === void 0) { options = {}; }
5256
+ return __generator(this, function (_a) {
5257
+ // verify required parameter 'instanceId' is not null or undefined
5258
+ (0, common_1.assertParamExists)('postAddDisk', 'instanceId', instanceId);
5259
+ // verify required parameter 'gigabytes' is not null or undefined
5260
+ (0, common_1.assertParamExists)('postAddDisk', 'gigabytes', gigabytes);
5261
+ localVarPath = "/tcx/installations/{instance_id}/disk"
5262
+ .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
5263
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5264
+ if (configuration) {
5265
+ baseOptions = configuration.baseOptions;
5266
+ }
5267
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
5268
+ localVarHeaderParameter = {};
5269
+ localVarQueryParameter = {};
5270
+ if (gigabytes !== undefined) {
5271
+ localVarQueryParameter['gigabytes'] = gigabytes;
5272
+ }
5273
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5274
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5275
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5276
+ return [2 /*return*/, {
5277
+ url: (0, common_1.toPathString)(localVarUrlObj),
5278
+ options: localVarRequestOptions,
5279
+ }];
5280
+ });
5281
+ });
5282
+ },
5162
5283
  /**
5163
5284
  * Create a root user
5164
5285
  * @summary Create a root user
@@ -5604,6 +5725,54 @@ var Class3CXInstallationsApiFp = function (configuration) {
5604
5725
  });
5605
5726
  });
5606
5727
  },
5728
+ /**
5729
+ * Update 3CX Instance Auto Failover
5730
+ * @summary Update 3CX Instance Auto Failover
5731
+ * @param {string} instanceId Instance ID
5732
+ * @param {boolean} enable Enable
5733
+ * @param {*} [options] Override http request option.
5734
+ * @throws {RequiredError}
5735
+ */
5736
+ patchUpdateAutoFailover: function (instanceId, enable, options) {
5737
+ return __awaiter(this, void 0, void 0, function () {
5738
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
5739
+ var _a, _b, _c;
5740
+ return __generator(this, function (_d) {
5741
+ switch (_d.label) {
5742
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAutoFailover(instanceId, enable, options)];
5743
+ case 1:
5744
+ localVarAxiosArgs = _d.sent();
5745
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5746
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.patchUpdateAutoFailover']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5747
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
5748
+ }
5749
+ });
5750
+ });
5751
+ },
5752
+ /**
5753
+ * Add additional disk on 3CX Instance
5754
+ * @summary Add additional disk on 3CX Instance
5755
+ * @param {string} instanceId Instance ID
5756
+ * @param {number} gigabytes Disk Space (GB)
5757
+ * @param {*} [options] Override http request option.
5758
+ * @throws {RequiredError}
5759
+ */
5760
+ postAddDisk: function (instanceId, gigabytes, options) {
5761
+ return __awaiter(this, void 0, void 0, function () {
5762
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
5763
+ var _a, _b, _c;
5764
+ return __generator(this, function (_d) {
5765
+ switch (_d.label) {
5766
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postAddDisk(instanceId, gigabytes, options)];
5767
+ case 1:
5768
+ localVarAxiosArgs = _d.sent();
5769
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5770
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.postAddDisk']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5771
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
5772
+ }
5773
+ });
5774
+ });
5775
+ },
5607
5776
  /**
5608
5777
  * Create a root user
5609
5778
  * @summary Create a root user
@@ -5856,6 +6025,28 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
5856
6025
  getGetInstallations: function (pageSize, page, customerId, search, status, hosting, installType, options) {
5857
6026
  return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(axios, basePath); });
5858
6027
  },
6028
+ /**
6029
+ * Update 3CX Instance Auto Failover
6030
+ * @summary Update 3CX Instance Auto Failover
6031
+ * @param {string} instanceId Instance ID
6032
+ * @param {boolean} enable Enable
6033
+ * @param {*} [options] Override http request option.
6034
+ * @throws {RequiredError}
6035
+ */
6036
+ patchUpdateAutoFailover: function (instanceId, enable, options) {
6037
+ return localVarFp.patchUpdateAutoFailover(instanceId, enable, options).then(function (request) { return request(axios, basePath); });
6038
+ },
6039
+ /**
6040
+ * Add additional disk on 3CX Instance
6041
+ * @summary Add additional disk on 3CX Instance
6042
+ * @param {string} instanceId Instance ID
6043
+ * @param {number} gigabytes Disk Space (GB)
6044
+ * @param {*} [options] Override http request option.
6045
+ * @throws {RequiredError}
6046
+ */
6047
+ postAddDisk: function (instanceId, gigabytes, options) {
6048
+ return localVarFp.postAddDisk(instanceId, gigabytes, options).then(function (request) { return request(axios, basePath); });
6049
+ },
5859
6050
  /**
5860
6051
  * Create a root user
5861
6052
  * @summary Create a root user
@@ -5999,6 +6190,32 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
5999
6190
  var _this = this;
6000
6191
  return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(_this.axios, _this.basePath); });
6001
6192
  };
6193
+ /**
6194
+ * Update 3CX Instance Auto Failover
6195
+ * @summary Update 3CX Instance Auto Failover
6196
+ * @param {string} instanceId Instance ID
6197
+ * @param {boolean} enable Enable
6198
+ * @param {*} [options] Override http request option.
6199
+ * @throws {RequiredError}
6200
+ * @memberof Class3CXInstallationsApi
6201
+ */
6202
+ Class3CXInstallationsApi.prototype.patchUpdateAutoFailover = function (instanceId, enable, options) {
6203
+ var _this = this;
6204
+ return (0, exports.Class3CXInstallationsApiFp)(this.configuration).patchUpdateAutoFailover(instanceId, enable, options).then(function (request) { return request(_this.axios, _this.basePath); });
6205
+ };
6206
+ /**
6207
+ * Add additional disk on 3CX Instance
6208
+ * @summary Add additional disk on 3CX Instance
6209
+ * @param {string} instanceId Instance ID
6210
+ * @param {number} gigabytes Disk Space (GB)
6211
+ * @param {*} [options] Override http request option.
6212
+ * @throws {RequiredError}
6213
+ * @memberof Class3CXInstallationsApi
6214
+ */
6215
+ Class3CXInstallationsApi.prototype.postAddDisk = function (instanceId, gigabytes, options) {
6216
+ var _this = this;
6217
+ return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postAddDisk(instanceId, gigabytes, options).then(function (request) { return request(_this.axios, _this.basePath); });
6218
+ };
6002
6219
  /**
6003
6220
  * Create a root user
6004
6221
  * @summary Create a root user
@@ -9302,7 +9519,8 @@ exports.GetGetPriceListTypeEnum = {
9302
9519
  _3CxStarterBundle: '3CX Starter Bundle',
9303
9520
  EdTechPro: 'EdTechPro',
9304
9521
  Sms: 'SMS',
9305
- SipTrunks: 'SIP Trunks'
9522
+ SipTrunks: 'SIP Trunks',
9523
+ CrmIntegrations: 'CRM Integrations'
9306
9524
  };
9307
9525
  /**
9308
9526
  * @export
@@ -9350,7 +9568,8 @@ exports.PostSendPriceListTypeEnum = {
9350
9568
  _3CxStarterBundle: '3CX Starter Bundle',
9351
9569
  EdTechPro: 'EdTechPro',
9352
9570
  Sms: 'SMS',
9353
- SipTrunks: 'SIP Trunks'
9571
+ SipTrunks: 'SIP Trunks',
9572
+ CrmIntegrations: 'CRM Integrations'
9354
9573
  };
9355
9574
  /**
9356
9575
  * @export
@@ -12901,523 +13120,6 @@ var SMSApi = /** @class */ (function (_super) {
12901
13120
  return SMSApi;
12902
13121
  }(base_1.BaseAPI));
12903
13122
  exports.SMSApi = SMSApi;
12904
- /**
12905
- * ServicesApi - axios parameter creator
12906
- * @export
12907
- */
12908
- var ServicesApiAxiosParamCreator = function (configuration) {
12909
- var _this = this;
12910
- return {
12911
- /**
12912
- *
12913
- * @param {string} [id] Unsubscribe Email ID
12914
- * @param {string} [email] Unsubscribe Email Address
12915
- * @param {*} [options] Override http request option.
12916
- * @throws {RequiredError}
12917
- */
12918
- deleteUnsubscribe: function (id_1, email_1) {
12919
- var args_1 = [];
12920
- for (var _i = 2; _i < arguments.length; _i++) {
12921
- args_1[_i - 2] = arguments[_i];
12922
- }
12923
- return __awaiter(_this, __spreadArray([id_1, email_1], args_1, true), void 0, function (id, email, options) {
12924
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12925
- if (options === void 0) { options = {}; }
12926
- return __generator(this, function (_a) {
12927
- localVarPath = "/services/events/unsubscribe";
12928
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12929
- if (configuration) {
12930
- baseOptions = configuration.baseOptions;
12931
- }
12932
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
12933
- localVarHeaderParameter = {};
12934
- localVarQueryParameter = {};
12935
- if (id !== undefined) {
12936
- localVarQueryParameter['id'] = id;
12937
- }
12938
- if (email !== undefined) {
12939
- localVarQueryParameter['email'] = email;
12940
- }
12941
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12942
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12943
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12944
- return [2 /*return*/, {
12945
- url: (0, common_1.toPathString)(localVarUrlObj),
12946
- options: localVarRequestOptions,
12947
- }];
12948
- });
12949
- });
12950
- },
12951
- /**
12952
- *
12953
- * @param {*} [options] Override http request option.
12954
- * @throws {RequiredError}
12955
- */
12956
- getGetServiceHealth: function () {
12957
- var args_1 = [];
12958
- for (var _i = 0; _i < arguments.length; _i++) {
12959
- args_1[_i] = arguments[_i];
12960
- }
12961
- return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
12962
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12963
- if (options === void 0) { options = {}; }
12964
- return __generator(this, function (_a) {
12965
- localVarPath = "/services/health";
12966
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12967
- if (configuration) {
12968
- baseOptions = configuration.baseOptions;
12969
- }
12970
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
12971
- localVarHeaderParameter = {};
12972
- localVarQueryParameter = {};
12973
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12974
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12975
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12976
- return [2 /*return*/, {
12977
- url: (0, common_1.toPathString)(localVarUrlObj),
12978
- options: localVarRequestOptions,
12979
- }];
12980
- });
12981
- });
12982
- },
12983
- /**
12984
- *
12985
- * @param {number} id Group ID
12986
- * @param {*} [options] Override http request option.
12987
- * @throws {RequiredError}
12988
- */
12989
- patchArchiveEvent: function (id_1) {
12990
- var args_1 = [];
12991
- for (var _i = 1; _i < arguments.length; _i++) {
12992
- args_1[_i - 1] = arguments[_i];
12993
- }
12994
- return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
12995
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12996
- if (options === void 0) { options = {}; }
12997
- return __generator(this, function (_a) {
12998
- // verify required parameter 'id' is not null or undefined
12999
- (0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
13000
- localVarPath = "/services/events/{id}/archive"
13001
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13002
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13003
- if (configuration) {
13004
- baseOptions = configuration.baseOptions;
13005
- }
13006
- localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
13007
- localVarHeaderParameter = {};
13008
- localVarQueryParameter = {};
13009
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13010
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13011
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13012
- return [2 /*return*/, {
13013
- url: (0, common_1.toPathString)(localVarUrlObj),
13014
- options: localVarRequestOptions,
13015
- }];
13016
- });
13017
- });
13018
- },
13019
- /**
13020
- *
13021
- * @param {EventRequestDTO} [eventRequestDTO]
13022
- * @param {*} [options] Override http request option.
13023
- * @throws {RequiredError}
13024
- */
13025
- postCreateEvent: function (eventRequestDTO_1) {
13026
- var args_1 = [];
13027
- for (var _i = 1; _i < arguments.length; _i++) {
13028
- args_1[_i - 1] = arguments[_i];
13029
- }
13030
- return __awaiter(_this, __spreadArray([eventRequestDTO_1], args_1, true), void 0, function (eventRequestDTO, options) {
13031
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
13032
- if (options === void 0) { options = {}; }
13033
- return __generator(this, function (_a) {
13034
- localVarPath = "/services/events";
13035
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13036
- if (configuration) {
13037
- baseOptions = configuration.baseOptions;
13038
- }
13039
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
13040
- localVarHeaderParameter = {};
13041
- localVarQueryParameter = {};
13042
- localVarHeaderParameter['Content-Type'] = 'application/json';
13043
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13044
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13045
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13046
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(eventRequestDTO, localVarRequestOptions, configuration);
13047
- return [2 /*return*/, {
13048
- url: (0, common_1.toPathString)(localVarUrlObj),
13049
- options: localVarRequestOptions,
13050
- }];
13051
- });
13052
- });
13053
- },
13054
- /**
13055
- *
13056
- * @param {number} id Group ID
13057
- * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
13058
- * @param {*} [options] Override http request option.
13059
- * @throws {RequiredError}
13060
- */
13061
- postCreateEventUpdate: function (id_1, eventUpdateRequestDTO_1) {
13062
- var args_1 = [];
13063
- for (var _i = 2; _i < arguments.length; _i++) {
13064
- args_1[_i - 2] = arguments[_i];
13065
- }
13066
- return __awaiter(_this, __spreadArray([id_1, eventUpdateRequestDTO_1], args_1, true), void 0, function (id, eventUpdateRequestDTO, options) {
13067
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
13068
- if (options === void 0) { options = {}; }
13069
- return __generator(this, function (_a) {
13070
- // verify required parameter 'id' is not null or undefined
13071
- (0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
13072
- localVarPath = "/services/events/{id}/updates"
13073
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13074
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13075
- if (configuration) {
13076
- baseOptions = configuration.baseOptions;
13077
- }
13078
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
13079
- localVarHeaderParameter = {};
13080
- localVarQueryParameter = {};
13081
- localVarHeaderParameter['Content-Type'] = 'application/json';
13082
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13083
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13084
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13085
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(eventUpdateRequestDTO, localVarRequestOptions, configuration);
13086
- return [2 /*return*/, {
13087
- url: (0, common_1.toPathString)(localVarUrlObj),
13088
- options: localVarRequestOptions,
13089
- }];
13090
- });
13091
- });
13092
- },
13093
- /**
13094
- *
13095
- * @param {string} [email] Subscription Email Address
13096
- * @param {*} [options] Override http request option.
13097
- * @throws {RequiredError}
13098
- */
13099
- postSubscribe: function (email_1) {
13100
- var args_1 = [];
13101
- for (var _i = 1; _i < arguments.length; _i++) {
13102
- args_1[_i - 1] = arguments[_i];
13103
- }
13104
- return __awaiter(_this, __spreadArray([email_1], args_1, true), void 0, function (email, options) {
13105
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
13106
- if (options === void 0) { options = {}; }
13107
- return __generator(this, function (_a) {
13108
- localVarPath = "/services/events/subscribe";
13109
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13110
- if (configuration) {
13111
- baseOptions = configuration.baseOptions;
13112
- }
13113
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
13114
- localVarHeaderParameter = {};
13115
- localVarQueryParameter = {};
13116
- if (email !== undefined) {
13117
- localVarQueryParameter['email'] = email;
13118
- }
13119
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13120
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13121
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13122
- return [2 /*return*/, {
13123
- url: (0, common_1.toPathString)(localVarUrlObj),
13124
- options: localVarRequestOptions,
13125
- }];
13126
- });
13127
- });
13128
- },
13129
- };
13130
- };
13131
- exports.ServicesApiAxiosParamCreator = ServicesApiAxiosParamCreator;
13132
- /**
13133
- * ServicesApi - functional programming interface
13134
- * @export
13135
- */
13136
- var ServicesApiFp = function (configuration) {
13137
- var localVarAxiosParamCreator = (0, exports.ServicesApiAxiosParamCreator)(configuration);
13138
- return {
13139
- /**
13140
- *
13141
- * @param {string} [id] Unsubscribe Email ID
13142
- * @param {string} [email] Unsubscribe Email Address
13143
- * @param {*} [options] Override http request option.
13144
- * @throws {RequiredError}
13145
- */
13146
- deleteUnsubscribe: function (id, email, options) {
13147
- return __awaiter(this, void 0, void 0, function () {
13148
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
13149
- var _a, _b, _c;
13150
- return __generator(this, function (_d) {
13151
- switch (_d.label) {
13152
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteUnsubscribe(id, email, options)];
13153
- case 1:
13154
- localVarAxiosArgs = _d.sent();
13155
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13156
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.deleteUnsubscribe']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13157
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
13158
- }
13159
- });
13160
- });
13161
- },
13162
- /**
13163
- *
13164
- * @param {*} [options] Override http request option.
13165
- * @throws {RequiredError}
13166
- */
13167
- getGetServiceHealth: function (options) {
13168
- return __awaiter(this, void 0, void 0, function () {
13169
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
13170
- var _a, _b, _c;
13171
- return __generator(this, function (_d) {
13172
- switch (_d.label) {
13173
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetServiceHealth(options)];
13174
- case 1:
13175
- localVarAxiosArgs = _d.sent();
13176
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13177
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.getGetServiceHealth']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13178
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
13179
- }
13180
- });
13181
- });
13182
- },
13183
- /**
13184
- *
13185
- * @param {number} id Group ID
13186
- * @param {*} [options] Override http request option.
13187
- * @throws {RequiredError}
13188
- */
13189
- patchArchiveEvent: function (id, options) {
13190
- return __awaiter(this, void 0, void 0, function () {
13191
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
13192
- var _a, _b, _c;
13193
- return __generator(this, function (_d) {
13194
- switch (_d.label) {
13195
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchArchiveEvent(id, options)];
13196
- case 1:
13197
- localVarAxiosArgs = _d.sent();
13198
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13199
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.patchArchiveEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13200
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
13201
- }
13202
- });
13203
- });
13204
- },
13205
- /**
13206
- *
13207
- * @param {EventRequestDTO} [eventRequestDTO]
13208
- * @param {*} [options] Override http request option.
13209
- * @throws {RequiredError}
13210
- */
13211
- postCreateEvent: function (eventRequestDTO, options) {
13212
- return __awaiter(this, void 0, void 0, function () {
13213
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
13214
- var _a, _b, _c;
13215
- return __generator(this, function (_d) {
13216
- switch (_d.label) {
13217
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateEvent(eventRequestDTO, options)];
13218
- case 1:
13219
- localVarAxiosArgs = _d.sent();
13220
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13221
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.postCreateEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13222
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
13223
- }
13224
- });
13225
- });
13226
- },
13227
- /**
13228
- *
13229
- * @param {number} id Group ID
13230
- * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
13231
- * @param {*} [options] Override http request option.
13232
- * @throws {RequiredError}
13233
- */
13234
- postCreateEventUpdate: function (id, eventUpdateRequestDTO, options) {
13235
- return __awaiter(this, void 0, void 0, function () {
13236
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
13237
- var _a, _b, _c;
13238
- return __generator(this, function (_d) {
13239
- switch (_d.label) {
13240
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateEventUpdate(id, eventUpdateRequestDTO, options)];
13241
- case 1:
13242
- localVarAxiosArgs = _d.sent();
13243
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13244
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.postCreateEventUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13245
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
13246
- }
13247
- });
13248
- });
13249
- },
13250
- /**
13251
- *
13252
- * @param {string} [email] Subscription Email Address
13253
- * @param {*} [options] Override http request option.
13254
- * @throws {RequiredError}
13255
- */
13256
- postSubscribe: function (email, options) {
13257
- return __awaiter(this, void 0, void 0, function () {
13258
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
13259
- var _a, _b, _c;
13260
- return __generator(this, function (_d) {
13261
- switch (_d.label) {
13262
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postSubscribe(email, options)];
13263
- case 1:
13264
- localVarAxiosArgs = _d.sent();
13265
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13266
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.postSubscribe']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13267
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
13268
- }
13269
- });
13270
- });
13271
- },
13272
- };
13273
- };
13274
- exports.ServicesApiFp = ServicesApiFp;
13275
- /**
13276
- * ServicesApi - factory interface
13277
- * @export
13278
- */
13279
- var ServicesApiFactory = function (configuration, basePath, axios) {
13280
- var localVarFp = (0, exports.ServicesApiFp)(configuration);
13281
- return {
13282
- /**
13283
- *
13284
- * @param {string} [id] Unsubscribe Email ID
13285
- * @param {string} [email] Unsubscribe Email Address
13286
- * @param {*} [options] Override http request option.
13287
- * @throws {RequiredError}
13288
- */
13289
- deleteUnsubscribe: function (id, email, options) {
13290
- return localVarFp.deleteUnsubscribe(id, email, options).then(function (request) { return request(axios, basePath); });
13291
- },
13292
- /**
13293
- *
13294
- * @param {*} [options] Override http request option.
13295
- * @throws {RequiredError}
13296
- */
13297
- getGetServiceHealth: function (options) {
13298
- return localVarFp.getGetServiceHealth(options).then(function (request) { return request(axios, basePath); });
13299
- },
13300
- /**
13301
- *
13302
- * @param {number} id Group ID
13303
- * @param {*} [options] Override http request option.
13304
- * @throws {RequiredError}
13305
- */
13306
- patchArchiveEvent: function (id, options) {
13307
- return localVarFp.patchArchiveEvent(id, options).then(function (request) { return request(axios, basePath); });
13308
- },
13309
- /**
13310
- *
13311
- * @param {EventRequestDTO} [eventRequestDTO]
13312
- * @param {*} [options] Override http request option.
13313
- * @throws {RequiredError}
13314
- */
13315
- postCreateEvent: function (eventRequestDTO, options) {
13316
- return localVarFp.postCreateEvent(eventRequestDTO, options).then(function (request) { return request(axios, basePath); });
13317
- },
13318
- /**
13319
- *
13320
- * @param {number} id Group ID
13321
- * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
13322
- * @param {*} [options] Override http request option.
13323
- * @throws {RequiredError}
13324
- */
13325
- postCreateEventUpdate: function (id, eventUpdateRequestDTO, options) {
13326
- return localVarFp.postCreateEventUpdate(id, eventUpdateRequestDTO, options).then(function (request) { return request(axios, basePath); });
13327
- },
13328
- /**
13329
- *
13330
- * @param {string} [email] Subscription Email Address
13331
- * @param {*} [options] Override http request option.
13332
- * @throws {RequiredError}
13333
- */
13334
- postSubscribe: function (email, options) {
13335
- return localVarFp.postSubscribe(email, options).then(function (request) { return request(axios, basePath); });
13336
- },
13337
- };
13338
- };
13339
- exports.ServicesApiFactory = ServicesApiFactory;
13340
- /**
13341
- * ServicesApi - object-oriented interface
13342
- * @export
13343
- * @class ServicesApi
13344
- * @extends {BaseAPI}
13345
- */
13346
- var ServicesApi = /** @class */ (function (_super) {
13347
- __extends(ServicesApi, _super);
13348
- function ServicesApi() {
13349
- return _super !== null && _super.apply(this, arguments) || this;
13350
- }
13351
- /**
13352
- *
13353
- * @param {string} [id] Unsubscribe Email ID
13354
- * @param {string} [email] Unsubscribe Email Address
13355
- * @param {*} [options] Override http request option.
13356
- * @throws {RequiredError}
13357
- * @memberof ServicesApi
13358
- */
13359
- ServicesApi.prototype.deleteUnsubscribe = function (id, email, options) {
13360
- var _this = this;
13361
- return (0, exports.ServicesApiFp)(this.configuration).deleteUnsubscribe(id, email, options).then(function (request) { return request(_this.axios, _this.basePath); });
13362
- };
13363
- /**
13364
- *
13365
- * @param {*} [options] Override http request option.
13366
- * @throws {RequiredError}
13367
- * @memberof ServicesApi
13368
- */
13369
- ServicesApi.prototype.getGetServiceHealth = function (options) {
13370
- var _this = this;
13371
- return (0, exports.ServicesApiFp)(this.configuration).getGetServiceHealth(options).then(function (request) { return request(_this.axios, _this.basePath); });
13372
- };
13373
- /**
13374
- *
13375
- * @param {number} id Group ID
13376
- * @param {*} [options] Override http request option.
13377
- * @throws {RequiredError}
13378
- * @memberof ServicesApi
13379
- */
13380
- ServicesApi.prototype.patchArchiveEvent = function (id, options) {
13381
- var _this = this;
13382
- return (0, exports.ServicesApiFp)(this.configuration).patchArchiveEvent(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
13383
- };
13384
- /**
13385
- *
13386
- * @param {EventRequestDTO} [eventRequestDTO]
13387
- * @param {*} [options] Override http request option.
13388
- * @throws {RequiredError}
13389
- * @memberof ServicesApi
13390
- */
13391
- ServicesApi.prototype.postCreateEvent = function (eventRequestDTO, options) {
13392
- var _this = this;
13393
- return (0, exports.ServicesApiFp)(this.configuration).postCreateEvent(eventRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
13394
- };
13395
- /**
13396
- *
13397
- * @param {number} id Group ID
13398
- * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
13399
- * @param {*} [options] Override http request option.
13400
- * @throws {RequiredError}
13401
- * @memberof ServicesApi
13402
- */
13403
- ServicesApi.prototype.postCreateEventUpdate = function (id, eventUpdateRequestDTO, options) {
13404
- var _this = this;
13405
- return (0, exports.ServicesApiFp)(this.configuration).postCreateEventUpdate(id, eventUpdateRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
13406
- };
13407
- /**
13408
- *
13409
- * @param {string} [email] Subscription Email Address
13410
- * @param {*} [options] Override http request option.
13411
- * @throws {RequiredError}
13412
- * @memberof ServicesApi
13413
- */
13414
- ServicesApi.prototype.postSubscribe = function (email, options) {
13415
- var _this = this;
13416
- return (0, exports.ServicesApiFp)(this.configuration).postSubscribe(email, options).then(function (request) { return request(_this.axios, _this.basePath); });
13417
- };
13418
- return ServicesApi;
13419
- }(base_1.BaseAPI));
13420
- exports.ServicesApi = ServicesApi;
13421
13123
  /**
13422
13124
  * ShippingApi - axios parameter creator
13423
13125
  * @export