yellowgrid-api-ts 3.2.68-dev.0 → 3.2.68

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 (90) hide show
  1. package/.openapi-generator/FILES +239 -251
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +29 -38
  4. package/api.ts +2072 -6584
  5. package/base.ts +2 -26
  6. package/common.ts +16 -39
  7. package/config.json +3 -3
  8. package/configuration.ts +25 -19
  9. package/dist/api.d.ts +1092 -5614
  10. package/dist/api.js +2014 -2176
  11. package/dist/base.d.ts +1 -25
  12. package/dist/base.js +2 -21
  13. package/dist/common.d.ts +5 -36
  14. package/dist/common.js +17 -39
  15. package/dist/configuration.d.ts +25 -18
  16. package/dist/configuration.js +2 -2
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +1 -1
  19. package/dist/models/EventStatusEnum.d.ts +18 -0
  20. package/dist/models/EventStatusEnum.js +20 -0
  21. package/dist/models/PortStatusEnum.d.ts +18 -0
  22. package/dist/models/PortStatusEnum.js +20 -0
  23. package/docs/AccountsApi.md +1 -1
  24. package/docs/AdminNumberPortDTO.md +57 -0
  25. package/docs/CRMApi.md +1 -1
  26. package/docs/Class3CXApi.md +1 -1
  27. package/docs/Class3CXInstallationWizardApi.md +1 -1
  28. package/docs/Class3CXInstallationsApi.md +1 -1
  29. package/docs/Class3CXIntegrationsApi.md +1 -1
  30. package/docs/Class3CXMultiTenantApi.md +56 -1
  31. package/docs/MyPBXToolsApi.md +1 -1
  32. package/docs/NumberPortDTO.md +55 -0
  33. package/docs/{CreditNoteModel.md → NumberPortNoteDTO.md} +10 -10
  34. package/docs/NumberPortRangeDTO.md +33 -0
  35. package/docs/NumberPortRangeRequestDTO.md +27 -0
  36. package/docs/NumberPortingApi.md +726 -0
  37. package/docs/NumberPortsModel.md +27 -0
  38. package/docs/OAuth20Api.md +4 -4
  39. package/docs/OrdersApi.md +22 -856
  40. package/docs/{PostAddOrderNoteRequest.md → PostAddAdminNoteRequest.md} +4 -4
  41. package/docs/PricingApi.md +1 -1
  42. package/docs/ProductsApi.md +1 -1
  43. package/docs/ProvisioningApi.md +1 -1
  44. package/docs/SIPTrunksApi.md +56 -1
  45. package/docs/SMSApi.md +57 -1
  46. package/docs/ServicesApi.md +1 -1
  47. package/docs/ShippingApi.md +1 -1
  48. package/docs/SmsAccountDTO.md +31 -0
  49. package/docs/SmsAccountRequestDTO.md +29 -0
  50. package/docs/StockManagementApi.md +1 -1
  51. package/docs/{TelephonySupportTicketModel.md → SupportTicketModel.md} +3 -3
  52. package/docs/SystemApi.md +1 -1
  53. package/docs/TicketsApi.md +9 -9
  54. package/docs/WebhooksApi.md +1 -1
  55. package/getEnums.php +31 -31
  56. package/index.ts +1 -1
  57. package/models/EventStatusEnum.ts +19 -0
  58. package/models/PortStatusEnum.ts +19 -0
  59. package/openapitools.json +1 -1
  60. package/package.json +2 -2
  61. package/dist/models/CourierEnum.d.ts +0 -18
  62. package/dist/models/CourierEnum.js +0 -20
  63. package/dist/models/PrinterEnum.d.ts +0 -18
  64. package/dist/models/PrinterEnum.js +0 -20
  65. package/docs/BatchDTO.md +0 -59
  66. package/docs/CreditNoteDTO.md +0 -21
  67. package/docs/CreditNoteEntity.md +0 -29
  68. package/docs/CreditNoteItemDTO.md +0 -25
  69. package/docs/CreditNoteItemEntity.md +0 -29
  70. package/docs/OrderDetailsDTO.md +0 -63
  71. package/docs/OrderItemDTO.md +0 -55
  72. package/docs/OrderedItemModel.md +0 -47
  73. package/docs/PostSplitOrderRequest.md +0 -20
  74. package/docs/PrinterEntity.md +0 -29
  75. package/docs/PutAllocateItemsRequest.md +0 -20
  76. package/docs/PutAllocateItemsRequestItemsInner.md +0 -22
  77. package/docs/ShipmentDTO.md +0 -33
  78. package/docs/ShipmentItemDTO.md +0 -23
  79. package/docs/ShipmentItemModel.md +0 -29
  80. package/docs/ShipmentModel.md +0 -43
  81. package/docs/ShipmentRequestDTO.md +0 -31
  82. package/docs/ShippingRequestDTO.md +0 -24
  83. package/docs/SupplierItemModel.md +0 -35
  84. package/docs/SupplierModel.md +0 -37
  85. package/hs_err_pid16044.log +0 -249
  86. package/hs_err_pid44560.log +0 -249
  87. package/hs_err_pid53988.log +0 -249
  88. package/hs_err_pid58728.log +0 -40
  89. package/models/CourierEnum.ts +0 -19
  90. package/models/PrinterEnum.ts +0 -19
@@ -1,18 +1,18 @@
1
- # PostAddOrderNoteRequest
1
+ # PostAddAdminNoteRequest
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **note** | **string** | Order Note | [optional] [default to undefined]
8
+ **note** | **string** | Note | [optional] [default to undefined]
9
9
 
10
10
  ## Example
11
11
 
12
12
  ```typescript
13
- import { PostAddOrderNoteRequest } from 'yellowgrid-api-ts';
13
+ import { PostAddAdminNoteRequest } from 'yellowgrid-api-ts';
14
14
 
15
- const instance: PostAddOrderNoteRequest = {
15
+ const instance: PostAddAdminNoteRequest = {
16
16
  note,
17
17
  };
18
18
  ```
@@ -1,6 +1,6 @@
1
1
  # PricingApi
2
2
 
3
- All URIs are relative to *https://api.yellowgrid.local*
3
+ All URIs are relative to *https://bitbucket.org*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ProductsApi
2
2
 
3
- All URIs are relative to *https://api.yellowgrid.local*
3
+ All URIs are relative to *https://bitbucket.org*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ProvisioningApi
2
2
 
3
- All URIs are relative to *https://api.yellowgrid.local*
3
+ All URIs are relative to *https://bitbucket.org*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,12 +1,13 @@
1
1
  # SIPTrunksApi
2
2
 
3
- All URIs are relative to *https://api.yellowgrid.local*
3
+ All URIs are relative to *https://bitbucket.org*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**deleteGetSipTrunk**](#deletegetsiptrunk) | **DELETE** /sip/trunks/{id} | Delete SIP Trunk|
8
8
  |[**getCanDivert**](#getcandivert) | **GET** /sip/trunks/{id}/diverts/allowed | SIP Trunk Diverts Allowed|
9
9
  |[**getGetAddress**](#getgetaddress) | **GET** /sip/trunks/{id}/address | Get SIP Trunk Address|
10
+ |[**getGetAdminSipTrunks**](#getgetadminsiptrunks) | **GET** /sip/trunks/admin | |
10
11
  |[**getGetAreaCodes**](#getgetareacodes) | **GET** /sip/trunks/area/codes | Get UK National Area Codes|
11
12
  |[**getGetCliFlexibility**](#getgetcliflexibility) | **GET** /sip/trunks/{id}/cli/flexibility | Get SIP Trunk CLI Flexibility Status|
12
13
  |[**getGetDdis**](#getgetddis) | **GET** /sip/trunks/{id}/ddis | Get SIP Trunk DDIs|
@@ -189,6 +190,60 @@ No authorization required
189
190
 
190
191
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
191
192
 
193
+ # **getGetAdminSipTrunks**
194
+ > Array<SipTrunkEntity> getGetAdminSipTrunks()
195
+
196
+ Get SIP Trunks
197
+
198
+ ### Example
199
+
200
+ ```typescript
201
+ import {
202
+ SIPTrunksApi,
203
+ Configuration
204
+ } from 'yellowgrid-api-ts';
205
+
206
+ const configuration = new Configuration();
207
+ const apiInstance = new SIPTrunksApi(configuration);
208
+
209
+ let customerId: number; //Customer ID (optional) (default to undefined)
210
+
211
+ const { status, data } = await apiInstance.getGetAdminSipTrunks(
212
+ customerId
213
+ );
214
+ ```
215
+
216
+ ### Parameters
217
+
218
+ |Name | Type | Description | Notes|
219
+ |------------- | ------------- | ------------- | -------------|
220
+ | **customerId** | [**number**] | Customer ID | (optional) defaults to undefined|
221
+
222
+
223
+ ### Return type
224
+
225
+ **Array<SipTrunkEntity>**
226
+
227
+ ### Authorization
228
+
229
+ No authorization required
230
+
231
+ ### HTTP request headers
232
+
233
+ - **Content-Type**: Not defined
234
+ - **Accept**: application/json
235
+
236
+
237
+ ### HTTP response details
238
+ | Status code | Description | Response headers |
239
+ |-------------|-------------|------------------|
240
+ |**200** | SIP Trunks | - |
241
+ |**400** | Bad Request | - |
242
+ |**401** | Unauthorised | - |
243
+ |**403** | Access Denied | - |
244
+
245
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
246
+
192
247
  # **getGetAreaCodes**
193
248
  > Array<AreaCodeModel> getGetAreaCodes()
194
249
 
package/docs/SMSApi.md CHANGED
@@ -1,11 +1,67 @@
1
1
  # SMSApi
2
2
 
3
- All URIs are relative to *https://api.yellowgrid.local*
3
+ All URIs are relative to *https://bitbucket.org*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
+ |[**postCreateSmsAccount**](#postcreatesmsaccount) | **POST** /messaging/sms/account | Create SMS Account|
7
8
  |[**postSendSms**](#postsendsms) | **POST** /messaging/sms/send | |
8
9
 
10
+ # **postCreateSmsAccount**
11
+ > SmsAccountDTO postCreateSmsAccount()
12
+
13
+ Create SMS Account
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ SMSApi,
20
+ Configuration,
21
+ SmsAccountRequestDTO
22
+ } from 'yellowgrid-api-ts';
23
+
24
+ const configuration = new Configuration();
25
+ const apiInstance = new SMSApi(configuration);
26
+
27
+ let smsAccountRequestDTO: SmsAccountRequestDTO; //SMS Account Request (optional)
28
+
29
+ const { status, data } = await apiInstance.postCreateSmsAccount(
30
+ smsAccountRequestDTO
31
+ );
32
+ ```
33
+
34
+ ### Parameters
35
+
36
+ |Name | Type | Description | Notes|
37
+ |------------- | ------------- | ------------- | -------------|
38
+ | **smsAccountRequestDTO** | **SmsAccountRequestDTO**| SMS Account Request | |
39
+
40
+
41
+ ### Return type
42
+
43
+ **SmsAccountDTO**
44
+
45
+ ### Authorization
46
+
47
+ No authorization required
48
+
49
+ ### HTTP request headers
50
+
51
+ - **Content-Type**: application/json
52
+ - **Accept**: application/json
53
+
54
+
55
+ ### HTTP response details
56
+ | Status code | Description | Response headers |
57
+ |-------------|-------------|------------------|
58
+ |**200** | SMS Account | - |
59
+ |**400** | Bad Request | - |
60
+ |**401** | Unauthorised | - |
61
+ |**403** | Access Denied | - |
62
+
63
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
64
+
9
65
  # **postSendSms**
10
66
  > SmsDataModel postSendSms()
11
67
 
@@ -1,6 +1,6 @@
1
1
  # ServicesApi
2
2
 
3
- All URIs are relative to *https://api.yellowgrid.local*
3
+ All URIs are relative to *https://bitbucket.org*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ShippingApi
2
2
 
3
- All URIs are relative to *https://api.yellowgrid.local*
3
+ All URIs are relative to *https://bitbucket.org*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -0,0 +1,31 @@
1
+ # SmsAccountDTO
2
+
3
+ SMS Account
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **sendUrl** | **string** | Send URL | [optional] [default to undefined]
10
+ **webhookUrl** | **string** | Webhook URL | [optional] [default to undefined]
11
+ **apiKey** | **string** | API Key | [optional] [default to undefined]
12
+ **numbers** | [**Array&lt;SmsNumbersEntity&gt;**](SmsNumbersEntity.md) | Numbers | [optional] [default to undefined]
13
+ **name** | **string** | Name | [optional] [default to undefined]
14
+ **whitelist** | [**Array&lt;SmsWhitelistEntity&gt;**](SmsWhitelistEntity.md) | Sender Whitelist | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { SmsAccountDTO } from 'yellowgrid-api-ts';
20
+
21
+ const instance: SmsAccountDTO = {
22
+ sendUrl,
23
+ webhookUrl,
24
+ apiKey,
25
+ numbers,
26
+ name,
27
+ whitelist,
28
+ };
29
+ ```
30
+
31
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,29 @@
1
+ # SmsAccountRequestDTO
2
+
3
+ SMS Account Request
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **provider** | **number** | SMS Provider | [optional] [default to undefined]
10
+ **name** | **string** | Customer Name | [optional] [default to undefined]
11
+ **webhookUrl** | **string** | SMS Webhook | [optional] [default to undefined]
12
+ **iso** | **string** | Number Country | [optional] [default to undefined]
13
+ **type** | **string** | Number Type | [optional] [default to TypeEnum_Mobile]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { SmsAccountRequestDTO } from 'yellowgrid-api-ts';
19
+
20
+ const instance: SmsAccountRequestDTO = {
21
+ provider,
22
+ name,
23
+ webhookUrl,
24
+ iso,
25
+ type,
26
+ };
27
+ ```
28
+
29
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,6 +1,6 @@
1
1
  # StockManagementApi
2
2
 
3
- All URIs are relative to *https://api.yellowgrid.local*
3
+ All URIs are relative to *https://bitbucket.org*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,4 +1,4 @@
1
- # TelephonySupportTicketModel
1
+ # SupportTicketModel
2
2
 
3
3
  Telephony Support Ticket
4
4
 
@@ -21,9 +21,9 @@ Name | Type | Description | Notes
21
21
  ## Example
22
22
 
23
23
  ```typescript
24
- import { TelephonySupportTicketModel } from 'yellowgrid-api-ts';
24
+ import { SupportTicketModel } from 'yellowgrid-api-ts';
25
25
 
26
- const instance: TelephonySupportTicketModel = {
26
+ const instance: SupportTicketModel = {
27
27
  id,
28
28
  status,
29
29
  statusId,
package/docs/SystemApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # SystemApi
2
2
 
3
- All URIs are relative to *https://api.yellowgrid.local*
3
+ All URIs are relative to *https://bitbucket.org*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # TicketsApi
2
2
 
3
- All URIs are relative to *https://api.yellowgrid.local*
3
+ All URIs are relative to *https://bitbucket.org*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -71,7 +71,7 @@ No authorization required
71
71
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
72
72
 
73
73
  # **getGetTicket**
74
- > TelephonySupportTicketModel getGetTicket()
74
+ > SupportTicketModel getGetTicket()
75
75
 
76
76
  Retrieve a telephony support ticket
77
77
 
@@ -102,7 +102,7 @@ const { status, data } = await apiInstance.getGetTicket(
102
102
 
103
103
  ### Return type
104
104
 
105
- **TelephonySupportTicketModel**
105
+ **SupportTicketModel**
106
106
 
107
107
  ### Authorization
108
108
 
@@ -125,7 +125,7 @@ No authorization required
125
125
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
126
126
 
127
127
  # **patchCloseTicket**
128
- > TelephonySupportTicketModel patchCloseTicket()
128
+ > SupportTicketModel patchCloseTicket()
129
129
 
130
130
  Close a telephony support ticket
131
131
 
@@ -156,7 +156,7 @@ const { status, data } = await apiInstance.patchCloseTicket(
156
156
 
157
157
  ### Return type
158
158
 
159
- **TelephonySupportTicketModel**
159
+ **SupportTicketModel**
160
160
 
161
161
  ### Authorization
162
162
 
@@ -179,7 +179,7 @@ No authorization required
179
179
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
180
180
 
181
181
  # **postCreateTicket**
182
- > TelephonySupportTicketModel postCreateTicket()
182
+ > SupportTicketModel postCreateTicket()
183
183
 
184
184
  Create a new telephony support ticket
185
185
 
@@ -216,7 +216,7 @@ const { status, data } = await apiInstance.postCreateTicket(
216
216
 
217
217
  ### Return type
218
218
 
219
- **TelephonySupportTicketModel**
219
+ **SupportTicketModel**
220
220
 
221
221
  ### Authorization
222
222
 
@@ -239,7 +239,7 @@ No authorization required
239
239
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
240
240
 
241
241
  # **postTicketReply**
242
- > TelephonySupportTicketModel postTicketReply()
242
+ > SupportTicketModel postTicketReply()
243
243
 
244
244
  Reply to a telephony support ticket
245
245
 
@@ -276,7 +276,7 @@ const { status, data } = await apiInstance.postTicketReply(
276
276
 
277
277
  ### Return type
278
278
 
279
- **TelephonySupportTicketModel**
279
+ **SupportTicketModel**
280
280
 
281
281
  ### Authorization
282
282
 
@@ -1,6 +1,6 @@
1
1
  # WebhooksApi
2
2
 
3
- All URIs are relative to *https://api.yellowgrid.local*
3
+ All URIs are relative to *https://bitbucket.org*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
package/getEnums.php CHANGED
@@ -1,31 +1,31 @@
1
- <?php
2
-
3
- use App\Contracts\Enums\PublicEnumInterface;
4
-
5
- require_once __DIR__."/../../../../vendor/autoload.php";
6
-
7
- $dir = __DIR__."/models";
8
- if (!is_dir($dir)) {
9
- mkdir($dir);
10
- }
11
- foreach (\App\Enums\Router\PublicEnumEnum::cases() as $publicEnum) {
12
- $ref = new ReflectionEnum($publicEnum->value);
13
- $cases = [];
14
- foreach ($ref->getCases() as $c) {
15
- /** @var BackedEnum $enum */
16
- $enum = $c->getEnum()->getName();
17
- $value = $c->getBackingValue();
18
- /** @var PublicEnumInterface $case */
19
- $case = $enum::from($value);
20
- $cases[$c->getName()] = [
21
- "name" => $case->name,
22
- "value" => $case->value,
23
- "publicValue" => $case->getPublicValue()
24
- ];
25
- }
26
- $enumName = $ref->getShortName();
27
- $enumString = json_encode($cases, JSON_PRETTY_PRINT);
28
- $content = "export const $enumName = $enumString as const;".
29
- "\n\n export type $enumName = typeof $enumName;";
30
- file_put_contents("$dir/$enumName.ts", $content);
31
- }
1
+ <?php
2
+
3
+ use App\Contracts\Enums\PublicEnumInterface;
4
+
5
+ require_once __DIR__."/../../../../vendor/autoload.php";
6
+
7
+ $dir = __DIR__."/models";
8
+ if (!is_dir($dir)) {
9
+ mkdir($dir);
10
+ }
11
+ foreach (\App\Enums\Router\PublicEnumEnum::cases() as $publicEnum) {
12
+ $ref = new ReflectionEnum($publicEnum->value);
13
+ $cases = [];
14
+ foreach ($ref->getCases() as $c) {
15
+ /** @var BackedEnum $enum */
16
+ $enum = $c->getEnum()->getName();
17
+ $value = $c->getBackingValue();
18
+ /** @var PublicEnumInterface $case */
19
+ $case = $enum::from($value);
20
+ $cases[$c->getName()] = [
21
+ "name" => $case->name,
22
+ "value" => $case->value,
23
+ "publicValue" => $case->getPublicValue()
24
+ ];
25
+ }
26
+ $enumName = $ref->getShortName();
27
+ $enumString = json_encode($cases, JSON_PRETTY_PRINT);
28
+ $content = "export const $enumName = $enumString as const;".
29
+ "\n\n export type $enumName = typeof $enumName;";
30
+ file_put_contents("$dir/$enumName.ts", $content);
31
+ }
package/index.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: `https://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: `https://bitbucket.org` For questions or technical support, please contact support@yellowgrid.co.uk.
6
6
  *
7
7
  * The version of the OpenAPI document: 0
8
8
  *
@@ -0,0 +1,19 @@
1
+ export const EventStatusEnum = {
2
+ "ONGOING": {
3
+ "name": "ONGOING",
4
+ "value": 0,
5
+ "publicValue": "Ongoing"
6
+ },
7
+ "RESOLVED": {
8
+ "name": "RESOLVED",
9
+ "value": 1,
10
+ "publicValue": "Resolved"
11
+ },
12
+ "ARCHIVED": {
13
+ "name": "ARCHIVED",
14
+ "value": 2,
15
+ "publicValue": "Archived"
16
+ }
17
+ } as const;
18
+
19
+ export type EventStatusEnum = typeof EventStatusEnum;
@@ -0,0 +1,19 @@
1
+ export const PortStatusEnum = {
2
+ "DRAFT": {
3
+ "name": "DRAFT",
4
+ "value": 0,
5
+ "publicValue": "Draft"
6
+ },
7
+ "OPEN": {
8
+ "name": "OPEN",
9
+ "value": 1,
10
+ "publicValue": "Open"
11
+ },
12
+ "CLOSED": {
13
+ "name": "CLOSED",
14
+ "value": 2,
15
+ "publicValue": "Closed"
16
+ }
17
+ } as const;
18
+
19
+ export type PortStatusEnum = typeof PortStatusEnum;
package/openapitools.json CHANGED
@@ -2,6 +2,6 @@
2
2
  "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
3
3
  "spaces": 2,
4
4
  "generator-cli": {
5
- "version": "7.14.0"
5
+ "version": "7.20.0"
6
6
  }
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.68-dev.0",
3
+ "version": "3.2.68",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -22,7 +22,7 @@
22
22
  "prepare": "npm run build"
23
23
  },
24
24
  "dependencies": {
25
- "axios": "^1.6.1"
25
+ "axios": "^1.13.5"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "12.11.5 - 12.20.42",
@@ -1,18 +0,0 @@
1
- export declare const CourierEnum: {
2
- readonly DPD: {
3
- readonly name: "DPD";
4
- readonly value: "DPD";
5
- readonly publicValue: "DPD";
6
- };
7
- readonly CHORLTON: {
8
- readonly name: "CHORLTON";
9
- readonly value: "Chorlton Pallet";
10
- readonly publicValue: "Chorlton Pallet";
11
- };
12
- readonly BUILT_IN: {
13
- readonly name: "BUILT_IN";
14
- readonly value: "POPS";
15
- readonly publicValue: "POPS";
16
- };
17
- };
18
- export type CourierEnum = typeof CourierEnum;
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CourierEnum = void 0;
4
- exports.CourierEnum = {
5
- "DPD": {
6
- "name": "DPD",
7
- "value": "DPD",
8
- "publicValue": "DPD"
9
- },
10
- "CHORLTON": {
11
- "name": "CHORLTON",
12
- "value": "Chorlton Pallet",
13
- "publicValue": "Chorlton Pallet"
14
- },
15
- "BUILT_IN": {
16
- "name": "BUILT_IN",
17
- "value": "POPS",
18
- "publicValue": "POPS"
19
- }
20
- };
@@ -1,18 +0,0 @@
1
- export declare const PrinterEnum: {
2
- readonly STORE_ROOM: {
3
- readonly name: "STORE_ROOM";
4
- readonly value: 1;
5
- readonly publicValue: "Store Room";
6
- };
7
- readonly PI_DESK: {
8
- readonly name: "PI_DESK";
9
- readonly value: 2;
10
- readonly publicValue: "Raspberry Pi Desk";
11
- };
12
- readonly SPARE: {
13
- readonly name: "SPARE";
14
- readonly value: 3;
15
- readonly publicValue: "Spare";
16
- };
17
- };
18
- export type PrinterEnum = typeof PrinterEnum;
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PrinterEnum = void 0;
4
- exports.PrinterEnum = {
5
- "STORE_ROOM": {
6
- "name": "STORE_ROOM",
7
- "value": 1,
8
- "publicValue": "Store Room"
9
- },
10
- "PI_DESK": {
11
- "name": "PI_DESK",
12
- "value": 2,
13
- "publicValue": "Raspberry Pi Desk"
14
- },
15
- "SPARE": {
16
- "name": "SPARE",
17
- "value": 3,
18
- "publicValue": "Spare"
19
- }
20
- };