yellowgrid-api-ts 3.2.38 → 3.2.39-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.
Files changed (241) hide show
  1. package/.openapi-generator/FILES +0 -1
  2. package/.openapi-generator/VERSION +0 -0
  3. package/.openapi-generator-ignore +0 -0
  4. package/README.md +1 -0
  5. package/api.ts +91 -13
  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 +52 -13
  11. package/dist/api.js +93 -9
  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 +0 -0
  48. package/docs/Class3CXInstallationsApi.md +0 -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/EventDTO.md +0 -0
  75. package/docs/EventRequestDTO.md +0 -0
  76. package/docs/EventSubscriptionModel.md +0 -0
  77. package/docs/EventUpdateDTO.md +2 -2
  78. package/docs/EventUpdateEntity.md +0 -0
  79. package/docs/EventUpdateRequestDTO.md +2 -0
  80. package/docs/FraudManagementModel.md +0 -0
  81. package/docs/FreshdeskCompanyTicketsModel.md +0 -0
  82. package/docs/FreshdeskTicketEntity.md +0 -0
  83. package/docs/FtpAccountsEntity.md +0 -0
  84. package/docs/GenericFileModel.md +0 -0
  85. package/docs/GetGetPrice200Response.md +0 -0
  86. package/docs/GetGetRecording200Response.md +0 -0
  87. package/docs/HostingChangeResponseModel.md +0 -0
  88. package/docs/HostingRegionDTO.md +0 -0
  89. package/docs/InstanceAutoFailoverEntity.md +0 -0
  90. package/docs/InstanceDeletionScheduleEntity.md +0 -0
  91. package/docs/InstanceEntity.md +0 -0
  92. package/docs/InstanceFailoverEntity.md +0 -0
  93. package/docs/InstanceMonitoringEntity.md +0 -0
  94. package/docs/InstanceMonitoringLogEntity.md +0 -0
  95. package/docs/InstanceScheduledTasksEntity.md +0 -0
  96. package/docs/InstanceTcxDetailsEntity.md +0 -0
  97. package/docs/InstanceUserCredentialsEntity.md +0 -0
  98. package/docs/ItemDTO.md +0 -0
  99. package/docs/ItemDiscountEntity.md +0 -0
  100. package/docs/ItemEntity.md +0 -0
  101. package/docs/LinkedOrderEntity.md +0 -0
  102. package/docs/MFARequiredModel.md +0 -0
  103. package/docs/MonthlyUsageModel.md +0 -0
  104. package/docs/MultiTenantChangeResponseModel.md +0 -0
  105. package/docs/MyPBXToolsApi.md +0 -0
  106. package/docs/NavigationModel.md +0 -0
  107. package/docs/OAuth20Api.md +0 -0
  108. package/docs/OfflineInstancesEntity.md +0 -0
  109. package/docs/OrderEntity.md +0 -0
  110. package/docs/OrderRequestModel.md +0 -0
  111. package/docs/OrderSummariesModel.md +0 -0
  112. package/docs/OrderSummaryDTO.md +0 -0
  113. package/docs/OrderTotalModel.md +0 -0
  114. package/docs/OrderedItemEntity.md +0 -0
  115. package/docs/OrdersApi.md +0 -0
  116. package/docs/PatchSetTcxWizardCnameRequest.md +0 -0
  117. package/docs/PatchUpdateAccountContactPasswordRequest.md +0 -0
  118. package/docs/PortalAccountModel.md +0 -0
  119. package/docs/PortalLoginModel.md +0 -0
  120. package/docs/PostAddWebhook200Response.md +0 -0
  121. package/docs/PostGetClientCredentialsRequest.md +0 -0
  122. package/docs/PostGetProductForCustomerRequest.md +0 -0
  123. package/docs/PostGetProductRequest.md +0 -0
  124. package/docs/PriceListItemModel.md +0 -0
  125. package/docs/PricingApi.md +0 -0
  126. package/docs/PrizesEntity.md +0 -0
  127. package/docs/ProductPriceListItemModel.md +0 -0
  128. package/docs/ProductSearchResultsModel.md +0 -0
  129. package/docs/ProductSerialInfoModel.md +0 -0
  130. package/docs/ProductSummaryDTO.md +0 -0
  131. package/docs/ProductsApi.md +0 -0
  132. package/docs/PromoCodesEntity.md +0 -0
  133. package/docs/PromoItemsEntity.md +0 -0
  134. package/docs/ProvisioningApi.md +0 -0
  135. package/docs/ProvisioningModel.md +0 -0
  136. package/docs/ProvisioningRequestEntity.md +0 -0
  137. package/docs/RecordingBackupAzureModel.md +0 -0
  138. package/docs/RecordingsBackupInfoDTO.md +0 -0
  139. package/docs/ResourceNotReadyException.md +0 -0
  140. package/docs/RootAccessModel.md +0 -0
  141. package/docs/S3BucketEntity.md +0 -0
  142. package/docs/SIPTrunksApi.md +0 -0
  143. package/docs/SMSApi.md +0 -0
  144. package/docs/ScannedItemModel.md +0 -0
  145. package/docs/ScopeModel.md +0 -0
  146. package/docs/ServiceHealthDTO.md +0 -0
  147. package/docs/ServiceStatusDTO.md +0 -0
  148. package/docs/ServicesApi.md +63 -5
  149. package/docs/ShipmentAddressEntity.md +0 -0
  150. package/docs/ShipmentEntity.md +0 -0
  151. package/docs/ShipmentItemEntity.md +0 -0
  152. package/docs/ShippingApi.md +0 -0
  153. package/docs/ShippingConsignmentModel.md +0 -0
  154. package/docs/ShippingInformationDTO.md +0 -0
  155. package/docs/ShippingServiceDTO.md +0 -0
  156. package/docs/ShippingServiceModel.md +0 -0
  157. package/docs/ShippingServicesModel.md +0 -0
  158. package/docs/SipTrunkChangeResponseModel.md +0 -0
  159. package/docs/SipTrunkCreationRequestModel.md +0 -0
  160. package/docs/SipTrunkEntity.md +0 -0
  161. package/docs/SipTrunksResponseModel.md +0 -0
  162. package/docs/SmsAccountEntity.md +0 -0
  163. package/docs/SmsDataModel.md +0 -0
  164. package/docs/SmsMessageModel.md +0 -0
  165. package/docs/SmsNumbersEntity.md +0 -0
  166. package/docs/SmsPayloadModel.md +0 -0
  167. package/docs/SmsPhoneNumberModel.md +0 -0
  168. package/docs/SmsResponseModel.md +0 -0
  169. package/docs/SmsWhitelistEntity.md +0 -0
  170. package/docs/StockManagementApi.md +0 -0
  171. package/docs/StockOrderCourierEntity.md +0 -0
  172. package/docs/StockOrderDeductionModel.md +0 -0
  173. package/docs/StockOrderDeductionRequestModel.md +0 -0
  174. package/docs/StockOrderDeductionsEntity.md +0 -0
  175. package/docs/StockOrderEntity.md +0 -0
  176. package/docs/StockOrderItemEntity.md +0 -0
  177. package/docs/StockOrderItemModel.md +0 -0
  178. package/docs/StockOrderItemRequestModel.md +0 -0
  179. package/docs/StockOrderModel.md +0 -0
  180. package/docs/StockOrderProductEntity.md +0 -0
  181. package/docs/StockOrderRequestModel.md +0 -0
  182. package/docs/StockOrderSupplierEntity.md +0 -0
  183. package/docs/StockOrderSupplierModel.md +0 -0
  184. package/docs/StockOrdersModel.md +0 -0
  185. package/docs/StockProductModel.md +0 -0
  186. package/docs/StockProductPriceModel.md +0 -0
  187. package/docs/StockProductSummariesModel.md +0 -0
  188. package/docs/StockProductSummaryModel.md +0 -0
  189. package/docs/StockTransactionsEntity.md +0 -0
  190. package/docs/SupplierEntity.md +0 -0
  191. package/docs/SupplierItemEntity.md +0 -0
  192. package/docs/SystemApi.md +0 -0
  193. package/docs/TcxBackupEntity.md +0 -0
  194. package/docs/TcxBackupModel.md +0 -0
  195. package/docs/TcxBillingEntity.md +0 -0
  196. package/docs/TcxBulkLicenceDetailsModel.md +0 -0
  197. package/docs/TcxDeadLicenceEntity.md +0 -0
  198. package/docs/TcxExtsEntity.md +0 -0
  199. package/docs/TcxHostingPricingEntity.md +0 -0
  200. package/docs/TcxInstallationDetailsModel.md +0 -0
  201. package/docs/TcxInstallationModel.md +0 -0
  202. package/docs/TcxInstallationsModel.md +0 -0
  203. package/docs/TcxKeySummaryDTO.md +0 -0
  204. package/docs/TcxKeysEntity.md +0 -0
  205. package/docs/TcxLicenceDetailsErrorModel.md +0 -0
  206. package/docs/TcxLicenceDetailsModel.md +0 -0
  207. package/docs/TcxMacsEntity.md +0 -0
  208. package/docs/TcxMultiTenantModel.md +0 -0
  209. package/docs/TcxMultiTenantUserModel.md +0 -0
  210. package/docs/TcxMultiTenantsModel.md +0 -0
  211. package/docs/TcxNumbersEntity.md +0 -0
  212. package/docs/TcxOfficeHoursEntity.md +0 -0
  213. package/docs/TcxPhoneModel.md +0 -0
  214. package/docs/TcxPhonesEntity.md +0 -0
  215. package/docs/TcxRemoteStorageModel.md +0 -0
  216. package/docs/TcxSbcDTO.md +0 -0
  217. package/docs/TcxSbcEntity.md +0 -0
  218. package/docs/TcxSbcModel.md +0 -0
  219. package/docs/TcxSetupEntity.md +0 -0
  220. package/docs/TcxSetupsModel.md +0 -0
  221. package/docs/TcxSipTrunksEntity.md +0 -0
  222. package/docs/TcxTemplateXmlEnum.md +0 -0
  223. package/docs/TcxUsersEntity.md +0 -0
  224. package/docs/TcxWizardConfigModel.md +0 -0
  225. package/docs/TcxWizardModel.md +0 -0
  226. package/docs/TechSupportCompanySummaryDTO.md +0 -0
  227. package/docs/TelephonySupportTicketModel.md +0 -0
  228. package/docs/TicketSummaryModel.md +0 -0
  229. package/docs/TicketTimeDTO.md +0 -0
  230. package/docs/TicketsApi.md +0 -0
  231. package/docs/TokenResponseModel.md +0 -0
  232. package/docs/UpgradeOrderResponseModel.md +0 -0
  233. package/docs/UpgradeRequestModel.md +0 -0
  234. package/docs/UserEntity.md +0 -0
  235. package/docs/WebhooksApi.md +0 -0
  236. package/docs/XeroLogEntity.md +0 -0
  237. package/git_push.sh +0 -0
  238. package/index.ts +1 -1
  239. package/openapitools.json +0 -0
  240. package/package.json +1 -1
  241. package/tsconfig.json +0 -0
@@ -1,6 +1,5 @@
1
1
  .gitignore
2
2
  .npmignore
3
- .openapi-generator-ignore
4
3
  README.md
5
4
  api.ts
6
5
  base.ts
File without changes
File without changes
package/README.md CHANGED
@@ -192,6 +192,7 @@ Class | Method | HTTP request | Description
192
192
  *ServicesApi* | [**deleteUnsubscribe**](docs/ServicesApi.md#deleteunsubscribe) | **DELETE** /services/events/unsubscribe |
193
193
  *ServicesApi* | [**getGetServiceHealth**](docs/ServicesApi.md#getgetservicehealth) | **GET** /services/health |
194
194
  *ServicesApi* | [**patchArchiveEvent**](docs/ServicesApi.md#patcharchiveevent) | **PATCH** /services/events/{id}/archive |
195
+ *ServicesApi* | [**patchUpdateEvent**](docs/ServicesApi.md#patchupdateevent) | **PATCH** /services/events/{id} |
195
196
  *ServicesApi* | [**postCreateEvent**](docs/ServicesApi.md#postcreateevent) | **POST** /services/events |
196
197
  *ServicesApi* | [**postCreateEventUpdate**](docs/ServicesApi.md#postcreateeventupdate) | **POST** /services/events/{id}/updates |
197
198
  *ServicesApi* | [**postSubscribe**](docs/ServicesApi.md#postsubscribe) | **POST** /services/events/subscribe |
package/api.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Yellowgrid
5
- * 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.
5
+ * 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
6
  *
7
7
  * The version of the OpenAPI document: 0
8
8
  *
@@ -2502,17 +2502,17 @@ export interface EventUpdateDTO {
2502
2502
  */
2503
2503
  'type'?: number;
2504
2504
  /**
2505
- * Service Event Update Type Description
2505
+ * Date Time
2506
2506
  * @type {string}
2507
2507
  * @memberof EventUpdateDTO
2508
2508
  */
2509
- 'typeName'?: string;
2509
+ 'createdAt'?: string;
2510
2510
  /**
2511
- * Date Time
2511
+ * Service Event Update Type Description
2512
2512
  * @type {string}
2513
2513
  * @memberof EventUpdateDTO
2514
2514
  */
2515
- 'createdAt'?: string;
2515
+ 'typeName'?: string;
2516
2516
  }
2517
2517
  /**
2518
2518
  * Event Update Entity
@@ -2569,6 +2569,12 @@ export interface EventUpdateRequestDTO {
2569
2569
  * @memberof EventUpdateRequestDTO
2570
2570
  */
2571
2571
  'type'?: number;
2572
+ /**
2573
+ * Date Time
2574
+ * @type {string}
2575
+ * @memberof EventUpdateRequestDTO
2576
+ */
2577
+ 'createdAt'?: string;
2572
2578
  }
2573
2579
  /**
2574
2580
  * Fraud Management
@@ -21182,7 +21188,7 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
21182
21188
  },
21183
21189
  /**
21184
21190
  *
21185
- * @param {number} id Group ID
21191
+ * @param {number} id Event ID
21186
21192
  * @param {*} [options] Override http request option.
21187
21193
  * @throws {RequiredError}
21188
21194
  */
@@ -21213,6 +21219,43 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
21213
21219
  options: localVarRequestOptions,
21214
21220
  };
21215
21221
  },
21222
+ /**
21223
+ *
21224
+ * @param {number} id Event ID
21225
+ * @param {EventRequestDTO} [eventRequestDTO]
21226
+ * @param {*} [options] Override http request option.
21227
+ * @throws {RequiredError}
21228
+ */
21229
+ patchUpdateEvent: async (id: number, eventRequestDTO?: EventRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
21230
+ // verify required parameter 'id' is not null or undefined
21231
+ assertParamExists('patchUpdateEvent', 'id', id)
21232
+ const localVarPath = `/services/events/{id}`
21233
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
21234
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21235
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21236
+ let baseOptions;
21237
+ if (configuration) {
21238
+ baseOptions = configuration.baseOptions;
21239
+ }
21240
+
21241
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
21242
+ const localVarHeaderParameter = {} as any;
21243
+ const localVarQueryParameter = {} as any;
21244
+
21245
+
21246
+
21247
+ localVarHeaderParameter['Content-Type'] = 'application/json';
21248
+
21249
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21250
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21251
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21252
+ localVarRequestOptions.data = serializeDataIfNeeded(eventRequestDTO, localVarRequestOptions, configuration)
21253
+
21254
+ return {
21255
+ url: toPathString(localVarUrlObj),
21256
+ options: localVarRequestOptions,
21257
+ };
21258
+ },
21216
21259
  /**
21217
21260
  *
21218
21261
  * @param {EventRequestDTO} [eventRequestDTO]
@@ -21248,7 +21291,7 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
21248
21291
  },
21249
21292
  /**
21250
21293
  *
21251
- * @param {number} id Group ID
21294
+ * @param {number} id Event ID
21252
21295
  * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
21253
21296
  * @param {*} [options] Override http request option.
21254
21297
  * @throws {RequiredError}
@@ -21353,7 +21396,7 @@ export const ServicesApiFp = function(configuration?: Configuration) {
21353
21396
  },
21354
21397
  /**
21355
21398
  *
21356
- * @param {number} id Group ID
21399
+ * @param {number} id Event ID
21357
21400
  * @param {*} [options] Override http request option.
21358
21401
  * @throws {RequiredError}
21359
21402
  */
@@ -21363,6 +21406,19 @@ export const ServicesApiFp = function(configuration?: Configuration) {
21363
21406
  const localVarOperationServerBasePath = operationServerMap['ServicesApi.patchArchiveEvent']?.[localVarOperationServerIndex]?.url;
21364
21407
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21365
21408
  },
21409
+ /**
21410
+ *
21411
+ * @param {number} id Event ID
21412
+ * @param {EventRequestDTO} [eventRequestDTO]
21413
+ * @param {*} [options] Override http request option.
21414
+ * @throws {RequiredError}
21415
+ */
21416
+ async patchUpdateEvent(id: number, eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDTO>> {
21417
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateEvent(id, eventRequestDTO, options);
21418
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21419
+ const localVarOperationServerBasePath = operationServerMap['ServicesApi.patchUpdateEvent']?.[localVarOperationServerIndex]?.url;
21420
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21421
+ },
21366
21422
  /**
21367
21423
  *
21368
21424
  * @param {EventRequestDTO} [eventRequestDTO]
@@ -21377,7 +21433,7 @@ export const ServicesApiFp = function(configuration?: Configuration) {
21377
21433
  },
21378
21434
  /**
21379
21435
  *
21380
- * @param {number} id Group ID
21436
+ * @param {number} id Event ID
21381
21437
  * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
21382
21438
  * @param {*} [options] Override http request option.
21383
21439
  * @throws {RequiredError}
@@ -21430,13 +21486,23 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
21430
21486
  },
21431
21487
  /**
21432
21488
  *
21433
- * @param {number} id Group ID
21489
+ * @param {number} id Event ID
21434
21490
  * @param {*} [options] Override http request option.
21435
21491
  * @throws {RequiredError}
21436
21492
  */
21437
21493
  patchArchiveEvent(id: number, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO> {
21438
21494
  return localVarFp.patchArchiveEvent(id, options).then((request) => request(axios, basePath));
21439
21495
  },
21496
+ /**
21497
+ *
21498
+ * @param {number} id Event ID
21499
+ * @param {EventRequestDTO} [eventRequestDTO]
21500
+ * @param {*} [options] Override http request option.
21501
+ * @throws {RequiredError}
21502
+ */
21503
+ patchUpdateEvent(id: number, eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO> {
21504
+ return localVarFp.patchUpdateEvent(id, eventRequestDTO, options).then((request) => request(axios, basePath));
21505
+ },
21440
21506
  /**
21441
21507
  *
21442
21508
  * @param {EventRequestDTO} [eventRequestDTO]
@@ -21448,7 +21514,7 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
21448
21514
  },
21449
21515
  /**
21450
21516
  *
21451
- * @param {number} id Group ID
21517
+ * @param {number} id Event ID
21452
21518
  * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
21453
21519
  * @param {*} [options] Override http request option.
21454
21520
  * @throws {RequiredError}
@@ -21499,7 +21565,7 @@ export class ServicesApi extends BaseAPI {
21499
21565
 
21500
21566
  /**
21501
21567
  *
21502
- * @param {number} id Group ID
21568
+ * @param {number} id Event ID
21503
21569
  * @param {*} [options] Override http request option.
21504
21570
  * @throws {RequiredError}
21505
21571
  * @memberof ServicesApi
@@ -21508,6 +21574,18 @@ export class ServicesApi extends BaseAPI {
21508
21574
  return ServicesApiFp(this.configuration).patchArchiveEvent(id, options).then((request) => request(this.axios, this.basePath));
21509
21575
  }
21510
21576
 
21577
+ /**
21578
+ *
21579
+ * @param {number} id Event ID
21580
+ * @param {EventRequestDTO} [eventRequestDTO]
21581
+ * @param {*} [options] Override http request option.
21582
+ * @throws {RequiredError}
21583
+ * @memberof ServicesApi
21584
+ */
21585
+ public patchUpdateEvent(id: number, eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig) {
21586
+ return ServicesApiFp(this.configuration).patchUpdateEvent(id, eventRequestDTO, options).then((request) => request(this.axios, this.basePath));
21587
+ }
21588
+
21511
21589
  /**
21512
21590
  *
21513
21591
  * @param {EventRequestDTO} [eventRequestDTO]
@@ -21521,7 +21599,7 @@ export class ServicesApi extends BaseAPI {
21521
21599
 
21522
21600
  /**
21523
21601
  *
21524
- * @param {number} id Group ID
21602
+ * @param {number} id Event ID
21525
21603
  * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
21526
21604
  * @param {*} [options] Override http request option.
21527
21605
  * @throws {RequiredError}
package/base.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Yellowgrid
5
- * 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.
5
+ * 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
6
  *
7
7
  * The version of the OpenAPI document: 0
8
8
  *
package/common.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Yellowgrid
5
- * 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.
5
+ * 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
6
  *
7
7
  * The version of the OpenAPI document: 0
8
8
  *
package/config.json CHANGED
@@ -1,3 +1,3 @@
1
- {
2
- "npmName": "yellowgrid-api-ts"
3
- }
1
+ {
2
+ "npmName": "yellowgrid-api-ts"
3
+ }
package/configuration.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Yellowgrid
5
- * 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.
5
+ * 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
6
  *
7
7
  * The version of the OpenAPI document: 0
8
8
  *
package/dist/api.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Yellowgrid
3
- * 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.
3
+ * 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.
4
4
  *
5
5
  * The version of the OpenAPI document: 0
6
6
  *
@@ -2483,17 +2483,17 @@ export interface EventUpdateDTO {
2483
2483
  */
2484
2484
  'type'?: number;
2485
2485
  /**
2486
- * Service Event Update Type Description
2486
+ * Date Time
2487
2487
  * @type {string}
2488
2488
  * @memberof EventUpdateDTO
2489
2489
  */
2490
- 'typeName'?: string;
2490
+ 'createdAt'?: string;
2491
2491
  /**
2492
- * Date Time
2492
+ * Service Event Update Type Description
2493
2493
  * @type {string}
2494
2494
  * @memberof EventUpdateDTO
2495
2495
  */
2496
- 'createdAt'?: string;
2496
+ 'typeName'?: string;
2497
2497
  }
2498
2498
  /**
2499
2499
  * Event Update Entity
@@ -2550,6 +2550,12 @@ export interface EventUpdateRequestDTO {
2550
2550
  * @memberof EventUpdateRequestDTO
2551
2551
  */
2552
2552
  'type'?: number;
2553
+ /**
2554
+ * Date Time
2555
+ * @type {string}
2556
+ * @memberof EventUpdateRequestDTO
2557
+ */
2558
+ 'createdAt'?: string;
2553
2559
  }
2554
2560
  /**
2555
2561
  * Fraud Management
@@ -15418,11 +15424,19 @@ export declare const ServicesApiAxiosParamCreator: (configuration?: Configuratio
15418
15424
  getGetServiceHealth: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15419
15425
  /**
15420
15426
  *
15421
- * @param {number} id Group ID
15427
+ * @param {number} id Event ID
15422
15428
  * @param {*} [options] Override http request option.
15423
15429
  * @throws {RequiredError}
15424
15430
  */
15425
15431
  patchArchiveEvent: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15432
+ /**
15433
+ *
15434
+ * @param {number} id Event ID
15435
+ * @param {EventRequestDTO} [eventRequestDTO]
15436
+ * @param {*} [options] Override http request option.
15437
+ * @throws {RequiredError}
15438
+ */
15439
+ patchUpdateEvent: (id: number, eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15426
15440
  /**
15427
15441
  *
15428
15442
  * @param {EventRequestDTO} [eventRequestDTO]
@@ -15432,7 +15446,7 @@ export declare const ServicesApiAxiosParamCreator: (configuration?: Configuratio
15432
15446
  postCreateEvent: (eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15433
15447
  /**
15434
15448
  *
15435
- * @param {number} id Group ID
15449
+ * @param {number} id Event ID
15436
15450
  * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
15437
15451
  * @param {*} [options] Override http request option.
15438
15452
  * @throws {RequiredError}
@@ -15467,11 +15481,19 @@ export declare const ServicesApiFp: (configuration?: Configuration) => {
15467
15481
  getGetServiceHealth(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceHealthDTO>>;
15468
15482
  /**
15469
15483
  *
15470
- * @param {number} id Group ID
15484
+ * @param {number} id Event ID
15471
15485
  * @param {*} [options] Override http request option.
15472
15486
  * @throws {RequiredError}
15473
15487
  */
15474
15488
  patchArchiveEvent(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDTO>>;
15489
+ /**
15490
+ *
15491
+ * @param {number} id Event ID
15492
+ * @param {EventRequestDTO} [eventRequestDTO]
15493
+ * @param {*} [options] Override http request option.
15494
+ * @throws {RequiredError}
15495
+ */
15496
+ patchUpdateEvent(id: number, eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDTO>>;
15475
15497
  /**
15476
15498
  *
15477
15499
  * @param {EventRequestDTO} [eventRequestDTO]
@@ -15481,7 +15503,7 @@ export declare const ServicesApiFp: (configuration?: Configuration) => {
15481
15503
  postCreateEvent(eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDTO>>;
15482
15504
  /**
15483
15505
  *
15484
- * @param {number} id Group ID
15506
+ * @param {number} id Event ID
15485
15507
  * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
15486
15508
  * @param {*} [options] Override http request option.
15487
15509
  * @throws {RequiredError}
@@ -15516,11 +15538,19 @@ export declare const ServicesApiFactory: (configuration?: Configuration, basePat
15516
15538
  getGetServiceHealth(options?: RawAxiosRequestConfig): AxiosPromise<ServiceHealthDTO>;
15517
15539
  /**
15518
15540
  *
15519
- * @param {number} id Group ID
15541
+ * @param {number} id Event ID
15520
15542
  * @param {*} [options] Override http request option.
15521
15543
  * @throws {RequiredError}
15522
15544
  */
15523
15545
  patchArchiveEvent(id: number, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO>;
15546
+ /**
15547
+ *
15548
+ * @param {number} id Event ID
15549
+ * @param {EventRequestDTO} [eventRequestDTO]
15550
+ * @param {*} [options] Override http request option.
15551
+ * @throws {RequiredError}
15552
+ */
15553
+ patchUpdateEvent(id: number, eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO>;
15524
15554
  /**
15525
15555
  *
15526
15556
  * @param {EventRequestDTO} [eventRequestDTO]
@@ -15530,7 +15560,7 @@ export declare const ServicesApiFactory: (configuration?: Configuration, basePat
15530
15560
  postCreateEvent(eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO>;
15531
15561
  /**
15532
15562
  *
15533
- * @param {number} id Group ID
15563
+ * @param {number} id Event ID
15534
15564
  * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
15535
15565
  * @param {*} [options] Override http request option.
15536
15566
  * @throws {RequiredError}
@@ -15569,12 +15599,21 @@ export declare class ServicesApi extends BaseAPI {
15569
15599
  getGetServiceHealth(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceHealthDTO, any, {}>>;
15570
15600
  /**
15571
15601
  *
15572
- * @param {number} id Group ID
15602
+ * @param {number} id Event ID
15573
15603
  * @param {*} [options] Override http request option.
15574
15604
  * @throws {RequiredError}
15575
15605
  * @memberof ServicesApi
15576
15606
  */
15577
15607
  patchArchiveEvent(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDTO, any, {}>>;
15608
+ /**
15609
+ *
15610
+ * @param {number} id Event ID
15611
+ * @param {EventRequestDTO} [eventRequestDTO]
15612
+ * @param {*} [options] Override http request option.
15613
+ * @throws {RequiredError}
15614
+ * @memberof ServicesApi
15615
+ */
15616
+ patchUpdateEvent(id: number, eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDTO, any, {}>>;
15578
15617
  /**
15579
15618
  *
15580
15619
  * @param {EventRequestDTO} [eventRequestDTO]
@@ -15585,7 +15624,7 @@ export declare class ServicesApi extends BaseAPI {
15585
15624
  postCreateEvent(eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDTO, any, {}>>;
15586
15625
  /**
15587
15626
  *
15588
- * @param {number} id Group ID
15627
+ * @param {number} id Event ID
15589
15628
  * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
15590
15629
  * @param {*} [options] Override http request option.
15591
15630
  * @throws {RequiredError}
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
  *
@@ -13216,7 +13216,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
13216
13216
  },
13217
13217
  /**
13218
13218
  *
13219
- * @param {number} id Group ID
13219
+ * @param {number} id Event ID
13220
13220
  * @param {*} [options] Override http request option.
13221
13221
  * @throws {RequiredError}
13222
13222
  */
@@ -13250,6 +13250,45 @@ var ServicesApiAxiosParamCreator = function (configuration) {
13250
13250
  });
13251
13251
  });
13252
13252
  },
13253
+ /**
13254
+ *
13255
+ * @param {number} id Event ID
13256
+ * @param {EventRequestDTO} [eventRequestDTO]
13257
+ * @param {*} [options] Override http request option.
13258
+ * @throws {RequiredError}
13259
+ */
13260
+ patchUpdateEvent: function (id_1, eventRequestDTO_1) {
13261
+ var args_1 = [];
13262
+ for (var _i = 2; _i < arguments.length; _i++) {
13263
+ args_1[_i - 2] = arguments[_i];
13264
+ }
13265
+ return __awaiter(_this, __spreadArray([id_1, eventRequestDTO_1], args_1, true), void 0, function (id, eventRequestDTO, options) {
13266
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
13267
+ if (options === void 0) { options = {}; }
13268
+ return __generator(this, function (_a) {
13269
+ // verify required parameter 'id' is not null or undefined
13270
+ (0, common_1.assertParamExists)('patchUpdateEvent', 'id', id);
13271
+ localVarPath = "/services/events/{id}"
13272
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13273
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13274
+ if (configuration) {
13275
+ baseOptions = configuration.baseOptions;
13276
+ }
13277
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
13278
+ localVarHeaderParameter = {};
13279
+ localVarQueryParameter = {};
13280
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13281
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13282
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13283
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13284
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(eventRequestDTO, localVarRequestOptions, configuration);
13285
+ return [2 /*return*/, {
13286
+ url: (0, common_1.toPathString)(localVarUrlObj),
13287
+ options: localVarRequestOptions,
13288
+ }];
13289
+ });
13290
+ });
13291
+ },
13253
13292
  /**
13254
13293
  *
13255
13294
  * @param {EventRequestDTO} [eventRequestDTO]
@@ -13287,7 +13326,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
13287
13326
  },
13288
13327
  /**
13289
13328
  *
13290
- * @param {number} id Group ID
13329
+ * @param {number} id Event ID
13291
13330
  * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
13292
13331
  * @param {*} [options] Override http request option.
13293
13332
  * @throws {RequiredError}
@@ -13416,7 +13455,7 @@ var ServicesApiFp = function (configuration) {
13416
13455
  },
13417
13456
  /**
13418
13457
  *
13419
- * @param {number} id Group ID
13458
+ * @param {number} id Event ID
13420
13459
  * @param {*} [options] Override http request option.
13421
13460
  * @throws {RequiredError}
13422
13461
  */
@@ -13436,6 +13475,29 @@ var ServicesApiFp = function (configuration) {
13436
13475
  });
13437
13476
  });
13438
13477
  },
13478
+ /**
13479
+ *
13480
+ * @param {number} id Event ID
13481
+ * @param {EventRequestDTO} [eventRequestDTO]
13482
+ * @param {*} [options] Override http request option.
13483
+ * @throws {RequiredError}
13484
+ */
13485
+ patchUpdateEvent: function (id, eventRequestDTO, options) {
13486
+ return __awaiter(this, void 0, void 0, function () {
13487
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
13488
+ var _a, _b, _c;
13489
+ return __generator(this, function (_d) {
13490
+ switch (_d.label) {
13491
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateEvent(id, eventRequestDTO, options)];
13492
+ case 1:
13493
+ localVarAxiosArgs = _d.sent();
13494
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13495
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.patchUpdateEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13496
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
13497
+ }
13498
+ });
13499
+ });
13500
+ },
13439
13501
  /**
13440
13502
  *
13441
13503
  * @param {EventRequestDTO} [eventRequestDTO]
@@ -13460,7 +13522,7 @@ var ServicesApiFp = function (configuration) {
13460
13522
  },
13461
13523
  /**
13462
13524
  *
13463
- * @param {number} id Group ID
13525
+ * @param {number} id Event ID
13464
13526
  * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
13465
13527
  * @param {*} [options] Override http request option.
13466
13528
  * @throws {RequiredError}
@@ -13533,13 +13595,23 @@ var ServicesApiFactory = function (configuration, basePath, axios) {
13533
13595
  },
13534
13596
  /**
13535
13597
  *
13536
- * @param {number} id Group ID
13598
+ * @param {number} id Event ID
13537
13599
  * @param {*} [options] Override http request option.
13538
13600
  * @throws {RequiredError}
13539
13601
  */
13540
13602
  patchArchiveEvent: function (id, options) {
13541
13603
  return localVarFp.patchArchiveEvent(id, options).then(function (request) { return request(axios, basePath); });
13542
13604
  },
13605
+ /**
13606
+ *
13607
+ * @param {number} id Event ID
13608
+ * @param {EventRequestDTO} [eventRequestDTO]
13609
+ * @param {*} [options] Override http request option.
13610
+ * @throws {RequiredError}
13611
+ */
13612
+ patchUpdateEvent: function (id, eventRequestDTO, options) {
13613
+ return localVarFp.patchUpdateEvent(id, eventRequestDTO, options).then(function (request) { return request(axios, basePath); });
13614
+ },
13543
13615
  /**
13544
13616
  *
13545
13617
  * @param {EventRequestDTO} [eventRequestDTO]
@@ -13551,7 +13623,7 @@ var ServicesApiFactory = function (configuration, basePath, axios) {
13551
13623
  },
13552
13624
  /**
13553
13625
  *
13554
- * @param {number} id Group ID
13626
+ * @param {number} id Event ID
13555
13627
  * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
13556
13628
  * @param {*} [options] Override http request option.
13557
13629
  * @throws {RequiredError}
@@ -13606,7 +13678,7 @@ var ServicesApi = /** @class */ (function (_super) {
13606
13678
  };
13607
13679
  /**
13608
13680
  *
13609
- * @param {number} id Group ID
13681
+ * @param {number} id Event ID
13610
13682
  * @param {*} [options] Override http request option.
13611
13683
  * @throws {RequiredError}
13612
13684
  * @memberof ServicesApi
@@ -13615,6 +13687,18 @@ var ServicesApi = /** @class */ (function (_super) {
13615
13687
  var _this = this;
13616
13688
  return (0, exports.ServicesApiFp)(this.configuration).patchArchiveEvent(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
13617
13689
  };
13690
+ /**
13691
+ *
13692
+ * @param {number} id Event ID
13693
+ * @param {EventRequestDTO} [eventRequestDTO]
13694
+ * @param {*} [options] Override http request option.
13695
+ * @throws {RequiredError}
13696
+ * @memberof ServicesApi
13697
+ */
13698
+ ServicesApi.prototype.patchUpdateEvent = function (id, eventRequestDTO, options) {
13699
+ var _this = this;
13700
+ return (0, exports.ServicesApiFp)(this.configuration).patchUpdateEvent(id, eventRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
13701
+ };
13618
13702
  /**
13619
13703
  *
13620
13704
  * @param {EventRequestDTO} [eventRequestDTO]
@@ -13628,7 +13712,7 @@ var ServicesApi = /** @class */ (function (_super) {
13628
13712
  };
13629
13713
  /**
13630
13714
  *
13631
- * @param {number} id Group ID
13715
+ * @param {number} id Event ID
13632
13716
  * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
13633
13717
  * @param {*} [options] Override http request option.
13634
13718
  * @throws {RequiredError}
package/dist/base.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Yellowgrid
3
- * 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.
3
+ * 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.
4
4
  *
5
5
  * The version of the OpenAPI document: 0
6
6
  *