yellowgrid-api-ts 3.0.80-dev.0 → 3.0.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +189 -209
- package/README.md +7 -34
- package/api.ts +282 -1825
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +185 -1394
- package/dist/api.js +254 -1013
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AccountsApi.md +0 -103
- package/docs/Class3CXApi.md +55 -0
- package/docs/Class3CXInstallationWizardApi.md +13 -13
- package/docs/ClientDetailsModel.md +2 -0
- package/docs/{ShippingServicesModel.md → GetGetPasswordHash200Response.md} +5 -5
- package/docs/ItemDTO.md +4 -10
- package/docs/OrderSummaryDTO.md +0 -8
- package/docs/OrderTotalModel.md +0 -2
- package/docs/OrdersApi.md +4 -301
- package/docs/ProductSearchResultsModel.md +1 -1
- package/docs/{ProductSummaryDTO.md → ProductSummaryModel.md} +3 -5
- package/docs/ProductsApi.md +36 -97
- package/docs/ProvisioningApi.md +4 -4
- package/docs/{ProvisioningModel.md → ProvisioningEntity.md} +3 -3
- package/docs/ShipmentEntity.md +2 -2
- package/docs/StockManagementApi.md +2 -2
- package/docs/TcxWizardModel.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/AbstractOrderRequestDTO.md +0 -33
- package/docs/AccountDetailedSummaryDTO.md +0 -35
- package/docs/AdminItemRequestDTO.md +0 -37
- package/docs/AdminOrderRequestDTO.md +0 -41
- package/docs/AdminUserModel.md +0 -31
- package/docs/BasicItemDTO.md +0 -23
- package/docs/BasicProductDTO.md +0 -23
- package/docs/CourierPriceEntity.md +0 -39
- package/docs/CustomerItemRequestDTO.md +0 -33
- package/docs/CustomerOrderRequestDTO.md +0 -33
- package/docs/LinkedOrderEntity.md +0 -23
- package/docs/NavigationItemModel.md +0 -27
- package/docs/ShippingApi.md +0 -63
- package/docs/ShippingConsignmentModel.md +0 -26
- package/docs/ShippingInformationDTO.md +0 -25
- package/docs/ShippingServiceDTO.md +0 -23
- package/docs/ShippingServiceModel.md +0 -31
- package/docs/SubNavigationItemModel.md +0 -25
- package/docs/TcxSbcDTO.md +0 -31
- package/docs/TcxSbcModel.md +0 -51
package/dist/base.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Yellowgrid
|
|
3
|
-
* Welcome to the Yellowgrid API documentation.
|
|
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
|
*
|
package/dist/base.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Yellowgrid
|
|
6
|
-
* Welcome to the Yellowgrid API documentation.
|
|
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
|
*
|
package/dist/common.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Yellowgrid
|
|
3
|
-
* Welcome to the Yellowgrid API documentation.
|
|
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
|
*
|
package/dist/common.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Yellowgrid
|
|
6
|
-
* Welcome to the Yellowgrid API documentation.
|
|
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
|
*
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Yellowgrid
|
|
3
|
-
* Welcome to the Yellowgrid API documentation.
|
|
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
|
*
|
package/dist/configuration.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Yellowgrid
|
|
6
|
-
* Welcome to the Yellowgrid API documentation.
|
|
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
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Yellowgrid
|
|
3
|
-
* Welcome to the Yellowgrid API documentation.
|
|
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
|
*
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Yellowgrid
|
|
6
|
-
* Welcome to the Yellowgrid API documentation.
|
|
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
|
*
|
package/docs/AccountsApi.md
CHANGED
|
@@ -8,7 +8,6 @@ All URIs are relative to *http://api.yellowgrid.local*
|
|
|
8
8
|
|[**deleteUpdateAccountContact**](#deleteupdateaccountcontact) | **DELETE** /accounts/me/contacts/{email} | Delete Account Contact|
|
|
9
9
|
|[**getGetAccount**](#getgetaccount) | **GET** /accounts/me | Get Account|
|
|
10
10
|
|[**getGetAccountContacts**](#getgetaccountcontacts) | **GET** /accounts/me/contacts | Get Account Contacts|
|
|
11
|
-
|[**getGetAccountDetailedSummary**](#getgetaccountdetailedsummary) | **GET** /accounts/{id}/summary | Get Account Detailed Summary|
|
|
12
11
|
|[**getGetAccounts**](#getgetaccounts) | **GET** /accounts | Get Accounts|
|
|
13
12
|
|[**getGetClientCredentials**](#getgetclientcredentials) | **GET** /accounts/me/contacts/credentials | Get user\'s client credentials|
|
|
14
13
|
|[**getGetCustomerKeys**](#getgetcustomerkeys) | **GET** /accounts/me/tcx/keys | Get 3CX Keys|
|
|
@@ -17,7 +16,6 @@ All URIs are relative to *http://api.yellowgrid.local*
|
|
|
17
16
|
|[**patchUpdateAccountContactPassword**](#patchupdateaccountcontactpassword) | **PATCH** /accounts/contacts/password | Update Account Password|
|
|
18
17
|
|[**postGetAccountContacts**](#postgetaccountcontacts) | **POST** /accounts/me/contacts | Add Account Contact|
|
|
19
18
|
|[**postGetAccounts**](#postgetaccounts) | **POST** /accounts | Create new customer account|
|
|
20
|
-
|[**postGetAdminAccount**](#postgetadminaccount) | **POST** /admin/me | Get Admin Account|
|
|
21
19
|
|[**postGetClientCredentials**](#postgetclientcredentials) | **POST** /accounts/me/contacts/credentials | Create client credentials|
|
|
22
20
|
|[**postSendEmailVerificationEmail**](#postsendemailverificationemail) | **POST** /accounts/contacts/verify/{email} | Send email verification email|
|
|
23
21
|
|[**postSendPasswordReset**](#postsendpasswordreset) | **POST** /accounts/contacts/password/reset | Send password reset email|
|
|
@@ -233,60 +231,6 @@ No authorization required
|
|
|
233
231
|
|
|
234
232
|
[[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)
|
|
235
233
|
|
|
236
|
-
# **getGetAccountDetailedSummary**
|
|
237
|
-
> AccountDetailedSummaryDTO getGetAccountDetailedSummary()
|
|
238
|
-
|
|
239
|
-
Get Account Detailed Summary
|
|
240
|
-
|
|
241
|
-
### Example
|
|
242
|
-
|
|
243
|
-
```typescript
|
|
244
|
-
import {
|
|
245
|
-
AccountsApi,
|
|
246
|
-
Configuration
|
|
247
|
-
} from 'yellowgrid-api-ts';
|
|
248
|
-
|
|
249
|
-
const configuration = new Configuration();
|
|
250
|
-
const apiInstance = new AccountsApi(configuration);
|
|
251
|
-
|
|
252
|
-
let id: number; //Customer ID (default to undefined)
|
|
253
|
-
|
|
254
|
-
const { status, data } = await apiInstance.getGetAccountDetailedSummary(
|
|
255
|
-
id
|
|
256
|
-
);
|
|
257
|
-
```
|
|
258
|
-
|
|
259
|
-
### Parameters
|
|
260
|
-
|
|
261
|
-
|Name | Type | Description | Notes|
|
|
262
|
-
|------------- | ------------- | ------------- | -------------|
|
|
263
|
-
| **id** | [**number**] | Customer ID | defaults to undefined|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
### Return type
|
|
267
|
-
|
|
268
|
-
**AccountDetailedSummaryDTO**
|
|
269
|
-
|
|
270
|
-
### Authorization
|
|
271
|
-
|
|
272
|
-
No authorization required
|
|
273
|
-
|
|
274
|
-
### HTTP request headers
|
|
275
|
-
|
|
276
|
-
- **Content-Type**: Not defined
|
|
277
|
-
- **Accept**: application/json
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
### HTTP response details
|
|
281
|
-
| Status code | Description | Response headers |
|
|
282
|
-
|-------------|-------------|------------------|
|
|
283
|
-
|**200** | Account Detailed Summary | - |
|
|
284
|
-
|**400** | Bad Request | - |
|
|
285
|
-
|**401** | Unauthorised | - |
|
|
286
|
-
|**403** | Access Denied | - |
|
|
287
|
-
|
|
288
|
-
[[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)
|
|
289
|
-
|
|
290
234
|
# **getGetAccounts**
|
|
291
235
|
> AccountsResponseModel getGetAccounts()
|
|
292
236
|
|
|
@@ -721,53 +665,6 @@ No authorization required
|
|
|
721
665
|
|
|
722
666
|
[[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)
|
|
723
667
|
|
|
724
|
-
# **postGetAdminAccount**
|
|
725
|
-
> AdminUserModel postGetAdminAccount()
|
|
726
|
-
|
|
727
|
-
Get Admin Account
|
|
728
|
-
|
|
729
|
-
### Example
|
|
730
|
-
|
|
731
|
-
```typescript
|
|
732
|
-
import {
|
|
733
|
-
AccountsApi,
|
|
734
|
-
Configuration
|
|
735
|
-
} from 'yellowgrid-api-ts';
|
|
736
|
-
|
|
737
|
-
const configuration = new Configuration();
|
|
738
|
-
const apiInstance = new AccountsApi(configuration);
|
|
739
|
-
|
|
740
|
-
const { status, data } = await apiInstance.postGetAdminAccount();
|
|
741
|
-
```
|
|
742
|
-
|
|
743
|
-
### Parameters
|
|
744
|
-
This endpoint does not have any parameters.
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
### Return type
|
|
748
|
-
|
|
749
|
-
**AdminUserModel**
|
|
750
|
-
|
|
751
|
-
### Authorization
|
|
752
|
-
|
|
753
|
-
No authorization required
|
|
754
|
-
|
|
755
|
-
### HTTP request headers
|
|
756
|
-
|
|
757
|
-
- **Content-Type**: Not defined
|
|
758
|
-
- **Accept**: application/json
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
### HTTP response details
|
|
762
|
-
| Status code | Description | Response headers |
|
|
763
|
-
|-------------|-------------|------------------|
|
|
764
|
-
|**200** | Admin User | - |
|
|
765
|
-
|**400** | Bad Request | - |
|
|
766
|
-
|**401** | Unauthorised | - |
|
|
767
|
-
|**403** | Access Denied | - |
|
|
768
|
-
|
|
769
|
-
[[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)
|
|
770
|
-
|
|
771
668
|
# **postGetClientCredentials**
|
|
772
669
|
> ClientModel postGetClientCredentials()
|
|
773
670
|
|
package/docs/Class3CXApi.md
CHANGED
|
@@ -5,6 +5,7 @@ All URIs are relative to *http://api.yellowgrid.local*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**getGetLicenceDetails**](#getgetlicencedetails) | **GET** /tcx/licences/details | Get 3CX Licence Details|
|
|
8
|
+
|[**getGetPasswordHash**](#getgetpasswordhash) | **GET** /tcx/pwd2hash | Convert a password to a hashed 3CX password|
|
|
8
9
|
|[**postGetBulkLicenceDetails**](#postgetbulklicencedetails) | **POST** /tcx/licences/bulk/details | Get bulk 3CX Licence Details|
|
|
9
10
|
|
|
10
11
|
# **getGetLicenceDetails**
|
|
@@ -61,6 +62,60 @@ No authorization required
|
|
|
61
62
|
|
|
62
63
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
63
64
|
|
|
65
|
+
# **getGetPasswordHash**
|
|
66
|
+
> GetGetPasswordHash200Response getGetPasswordHash()
|
|
67
|
+
|
|
68
|
+
Generate a 3CX hashed password for 3CX installation
|
|
69
|
+
|
|
70
|
+
### Example
|
|
71
|
+
|
|
72
|
+
```typescript
|
|
73
|
+
import {
|
|
74
|
+
Class3CXApi,
|
|
75
|
+
Configuration
|
|
76
|
+
} from 'yellowgrid-api-ts';
|
|
77
|
+
|
|
78
|
+
const configuration = new Configuration();
|
|
79
|
+
const apiInstance = new Class3CXApi(configuration);
|
|
80
|
+
|
|
81
|
+
let password: string; //Desired 3CX web access password (default to undefined)
|
|
82
|
+
|
|
83
|
+
const { status, data } = await apiInstance.getGetPasswordHash(
|
|
84
|
+
password
|
|
85
|
+
);
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### Parameters
|
|
89
|
+
|
|
90
|
+
|Name | Type | Description | Notes|
|
|
91
|
+
|------------- | ------------- | ------------- | -------------|
|
|
92
|
+
| **password** | [**string**] | Desired 3CX web access password | defaults to undefined|
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
### Return type
|
|
96
|
+
|
|
97
|
+
**GetGetPasswordHash200Response**
|
|
98
|
+
|
|
99
|
+
### Authorization
|
|
100
|
+
|
|
101
|
+
No authorization required
|
|
102
|
+
|
|
103
|
+
### HTTP request headers
|
|
104
|
+
|
|
105
|
+
- **Content-Type**: Not defined
|
|
106
|
+
- **Accept**: application/json
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
### HTTP response details
|
|
110
|
+
| Status code | Description | Response headers |
|
|
111
|
+
|-------------|-------------|------------------|
|
|
112
|
+
|**200** | Password Hash | - |
|
|
113
|
+
|**400** | Bad Request | - |
|
|
114
|
+
|**401** | Unauthorised | - |
|
|
115
|
+
|**403** | Access Denied | - |
|
|
116
|
+
|
|
117
|
+
[[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)
|
|
118
|
+
|
|
64
119
|
# **postGetBulkLicenceDetails**
|
|
65
120
|
> TcxBulkLicenceDetailsModel postGetBulkLicenceDetails()
|
|
66
121
|
|
|
@@ -208,10 +208,10 @@ import {
|
|
|
208
208
|
const configuration = new Configuration();
|
|
209
209
|
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
210
210
|
|
|
211
|
-
let
|
|
211
|
+
let tcxSbcEntity: Array<TcxSbcEntity>; //3CX Wizard SBCs (optional)
|
|
212
212
|
|
|
213
213
|
const { status, data } = await apiInstance.deleteAddSbcs(
|
|
214
|
-
|
|
214
|
+
tcxSbcEntity
|
|
215
215
|
);
|
|
216
216
|
```
|
|
217
217
|
|
|
@@ -219,7 +219,7 @@ const { status, data } = await apiInstance.deleteAddSbcs(
|
|
|
219
219
|
|
|
220
220
|
|Name | Type | Description | Notes|
|
|
221
221
|
|------------- | ------------- | ------------- | -------------|
|
|
222
|
-
| **
|
|
222
|
+
| **tcxSbcEntity** | **Array<TcxSbcEntity>**| 3CX Wizard SBCs | |
|
|
223
223
|
|
|
224
224
|
|
|
225
225
|
### Return type
|
|
@@ -755,7 +755,7 @@ No authorization required
|
|
|
755
755
|
[[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)
|
|
756
756
|
|
|
757
757
|
# **patchAddSbcs**
|
|
758
|
-
> Array<
|
|
758
|
+
> Array<TcxSbcEntity> patchAddSbcs()
|
|
759
759
|
|
|
760
760
|
Update 3CX Installation Wizard SBCs
|
|
761
761
|
|
|
@@ -770,10 +770,10 @@ import {
|
|
|
770
770
|
const configuration = new Configuration();
|
|
771
771
|
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
772
772
|
|
|
773
|
-
let
|
|
773
|
+
let tcxSbcEntity: Array<TcxSbcEntity>; //3CX Wizard SBCs (optional)
|
|
774
774
|
|
|
775
775
|
const { status, data } = await apiInstance.patchAddSbcs(
|
|
776
|
-
|
|
776
|
+
tcxSbcEntity
|
|
777
777
|
);
|
|
778
778
|
```
|
|
779
779
|
|
|
@@ -781,12 +781,12 @@ const { status, data } = await apiInstance.patchAddSbcs(
|
|
|
781
781
|
|
|
782
782
|
|Name | Type | Description | Notes|
|
|
783
783
|
|------------- | ------------- | ------------- | -------------|
|
|
784
|
-
| **
|
|
784
|
+
| **tcxSbcEntity** | **Array<TcxSbcEntity>**| 3CX Wizard SBCs | |
|
|
785
785
|
|
|
786
786
|
|
|
787
787
|
### Return type
|
|
788
788
|
|
|
789
|
-
**Array<
|
|
789
|
+
**Array<TcxSbcEntity>**
|
|
790
790
|
|
|
791
791
|
### Authorization
|
|
792
792
|
|
|
@@ -1026,7 +1026,7 @@ No authorization required
|
|
|
1026
1026
|
[[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)
|
|
1027
1027
|
|
|
1028
1028
|
# **postAddSbcs**
|
|
1029
|
-
> Array<
|
|
1029
|
+
> Array<TcxSbcEntity> postAddSbcs()
|
|
1030
1030
|
|
|
1031
1031
|
Add SBCs To 3CX Installation Wizard
|
|
1032
1032
|
|
|
@@ -1041,10 +1041,10 @@ import {
|
|
|
1041
1041
|
const configuration = new Configuration();
|
|
1042
1042
|
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
1043
1043
|
|
|
1044
|
-
let
|
|
1044
|
+
let tcxSbcEntity: Array<TcxSbcEntity>; //3CX Wizard SBCs (optional)
|
|
1045
1045
|
|
|
1046
1046
|
const { status, data } = await apiInstance.postAddSbcs(
|
|
1047
|
-
|
|
1047
|
+
tcxSbcEntity
|
|
1048
1048
|
);
|
|
1049
1049
|
```
|
|
1050
1050
|
|
|
@@ -1052,12 +1052,12 @@ const { status, data } = await apiInstance.postAddSbcs(
|
|
|
1052
1052
|
|
|
1053
1053
|
|Name | Type | Description | Notes|
|
|
1054
1054
|
|------------- | ------------- | ------------- | -------------|
|
|
1055
|
-
| **
|
|
1055
|
+
| **tcxSbcEntity** | **Array<TcxSbcEntity>**| 3CX Wizard SBCs | |
|
|
1056
1056
|
|
|
1057
1057
|
|
|
1058
1058
|
### Return type
|
|
1059
1059
|
|
|
1060
|
-
**Array<
|
|
1060
|
+
**Array<TcxSbcEntity>**
|
|
1061
1061
|
|
|
1062
1062
|
### Authorization
|
|
1063
1063
|
|
|
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**xeroId** | **string** | Xero ID | [optional] [default to undefined]
|
|
14
14
|
**firstName** | **string** | User First Name | [optional] [default to undefined]
|
|
15
15
|
**lastName** | **string** | User Last Name | [optional] [default to undefined]
|
|
16
|
+
**image** | **string** | User Profile Picture | [optional] [default to undefined]
|
|
16
17
|
|
|
17
18
|
## Example
|
|
18
19
|
|
|
@@ -27,6 +28,7 @@ const instance: ClientDetailsModel = {
|
|
|
27
28
|
xeroId,
|
|
28
29
|
firstName,
|
|
29
30
|
lastName,
|
|
31
|
+
image,
|
|
30
32
|
};
|
|
31
33
|
```
|
|
32
34
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# GetGetPasswordHash200Response
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
8
|
+
**hash** | **string** | | [optional] [default to undefined]
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import {
|
|
13
|
+
import { GetGetPasswordHash200Response } from 'yellowgrid-api-ts';
|
|
14
14
|
|
|
15
|
-
const instance:
|
|
16
|
-
|
|
15
|
+
const instance: GetGetPasswordHash200Response = {
|
|
16
|
+
hash,
|
|
17
17
|
};
|
|
18
18
|
```
|
|
19
19
|
|
package/docs/ItemDTO.md
CHANGED
|
@@ -6,20 +6,17 @@ Order Item
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**sku** | **string** | SKU | [optional] [default to undefined]
|
|
10
|
-
**quantity** | **number** | Quantity | [optional] [default to undefined]
|
|
11
9
|
**id** | **number** | ID | [optional] [default to undefined]
|
|
12
10
|
**orderId** | **number** | Order ID | [optional] [default to undefined]
|
|
13
11
|
**title** | **string** | Title | [optional] [default to undefined]
|
|
12
|
+
**sku** | **string** | SKU | [optional] [default to undefined]
|
|
13
|
+
**quantity** | **number** | Quantity | [optional] [default to undefined]
|
|
14
14
|
**price** | **number** | Price | [optional] [default to undefined]
|
|
15
15
|
**licenceKey** | **string** | 3CX Licence Key | [optional] [default to undefined]
|
|
16
16
|
**licenceExpiry** | **string** | Date Time | [optional] [default to undefined]
|
|
17
17
|
**processDate** | **string** | Date Time | [optional] [default to undefined]
|
|
18
|
-
**hosting** | **boolean** | 3CX Hosting | [optional] [default to undefined]
|
|
19
18
|
**promoItem** | **boolean** | Promo Item | [optional] [default to undefined]
|
|
20
19
|
**refunded** | **number** | Refunded | [optional] [default to undefined]
|
|
21
|
-
**sbcs** | [**Array<TcxSbcDTO>**](TcxSbcDTO.md) | SBCs | [optional] [default to undefined]
|
|
22
|
-
**readonly** | **boolean** | Readonly | [optional] [default to undefined]
|
|
23
20
|
|
|
24
21
|
## Example
|
|
25
22
|
|
|
@@ -27,20 +24,17 @@ Name | Type | Description | Notes
|
|
|
27
24
|
import { ItemDTO } from 'yellowgrid-api-ts';
|
|
28
25
|
|
|
29
26
|
const instance: ItemDTO = {
|
|
30
|
-
sku,
|
|
31
|
-
quantity,
|
|
32
27
|
id,
|
|
33
28
|
orderId,
|
|
34
29
|
title,
|
|
30
|
+
sku,
|
|
31
|
+
quantity,
|
|
35
32
|
price,
|
|
36
33
|
licenceKey,
|
|
37
34
|
licenceExpiry,
|
|
38
35
|
processDate,
|
|
39
|
-
hosting,
|
|
40
36
|
promoItem,
|
|
41
37
|
refunded,
|
|
42
|
-
sbcs,
|
|
43
|
-
readonly,
|
|
44
38
|
};
|
|
45
39
|
```
|
|
46
40
|
|
package/docs/OrderSummaryDTO.md
CHANGED
|
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**id** | **number** | ID | [optional] [default to undefined]
|
|
10
10
|
**reference** | **string** | Reference | [optional] [default to undefined]
|
|
11
11
|
**invoiceNumber** | **string** | Invoice Number | [optional] [default to undefined]
|
|
12
|
-
**invoiceId** | **string** | Invoice ID | [optional] [default to undefined]
|
|
13
12
|
**orderDate** | **string** | Date Time | [optional] [default to undefined]
|
|
14
13
|
**paid** | **boolean** | Paid | [optional] [default to undefined]
|
|
15
14
|
**complete** | **boolean** | Complete | [optional] [default to undefined]
|
|
@@ -19,9 +18,6 @@ Name | Type | Description | Notes
|
|
|
19
18
|
**items** | [**Array<ItemDTO>**](ItemDTO.md) | Items | [optional] [default to undefined]
|
|
20
19
|
**carriageCharge** | **number** | Carriage Charge | [optional] [default to undefined]
|
|
21
20
|
**fulfillable** | **boolean** | Fulfillable | [optional] [default to undefined]
|
|
22
|
-
**provisioningUrl** | **string** | Provisioning URL | [optional] [default to undefined]
|
|
23
|
-
**shippingService** | [**ShippingServiceDTO**](ShippingServiceDTO.md) | | [optional] [default to undefined]
|
|
24
|
-
**readonly** | **boolean** | Readonly | [optional] [default to undefined]
|
|
25
21
|
|
|
26
22
|
## Example
|
|
27
23
|
|
|
@@ -32,7 +28,6 @@ const instance: OrderSummaryDTO = {
|
|
|
32
28
|
id,
|
|
33
29
|
reference,
|
|
34
30
|
invoiceNumber,
|
|
35
|
-
invoiceId,
|
|
36
31
|
orderDate,
|
|
37
32
|
paid,
|
|
38
33
|
complete,
|
|
@@ -42,9 +37,6 @@ const instance: OrderSummaryDTO = {
|
|
|
42
37
|
items,
|
|
43
38
|
carriageCharge,
|
|
44
39
|
fulfillable,
|
|
45
|
-
provisioningUrl,
|
|
46
|
-
shippingService,
|
|
47
|
-
readonly,
|
|
48
40
|
};
|
|
49
41
|
```
|
|
50
42
|
|
package/docs/OrderTotalModel.md
CHANGED
|
@@ -13,7 +13,6 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**vatRate** | **number** | VAT Rate | [optional] [default to undefined]
|
|
14
14
|
**credit** | **number** | Credit | [optional] [default to undefined]
|
|
15
15
|
**currency** | **string** | Currency | [optional] [default to undefined]
|
|
16
|
-
**delivery** | **number** | Delivery | [optional] [default to undefined]
|
|
17
16
|
|
|
18
17
|
## Example
|
|
19
18
|
|
|
@@ -28,7 +27,6 @@ const instance: OrderTotalModel = {
|
|
|
28
27
|
vatRate,
|
|
29
28
|
credit,
|
|
30
29
|
currency,
|
|
31
|
-
delivery,
|
|
32
30
|
};
|
|
33
31
|
```
|
|
34
32
|
|