yellowgrid-api-ts 3.2.210 → 3.2.211-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +317 -298
- package/.openapi-generator/VERSION +1 -1
- package/README.md +28 -1
- package/api.ts +7130 -607
- package/base.ts +26 -2
- package/common.ts +39 -16
- package/config.json +4 -3
- package/configuration.ts +21 -27
- package/dist/api.d.ts +6012 -83
- package/dist/api.js +1860 -522
- package/dist/base.d.ts +25 -1
- package/dist/base.js +21 -2
- package/dist/common.d.ts +36 -5
- package/dist/common.js +39 -17
- package/dist/configuration.d.ts +18 -25
- package/dist/configuration.js +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/GraphTypeEnum.d.ts +13 -0
- package/dist/models/GraphTypeEnum.js +15 -0
- package/dist/models/GroupEnum.d.ts +43 -0
- package/dist/models/GroupEnum.js +45 -0
- package/dist/models/HostingPriceListEnum.d.ts +5 -0
- package/dist/models/HostingPriceListEnum.js +5 -0
- package/dist/models/ReportEnum.d.ts +53 -0
- package/dist/models/ReportEnum.js +55 -0
- package/docs/AbstractItemDiscountModel.md +21 -0
- package/docs/AbstractOrderRequestDTO.md +1 -1
- package/docs/AccountsApi.md +163 -1
- package/docs/AdminOrderRequestDTO.md +1 -1
- package/docs/AxisDataDTO.md +25 -0
- package/docs/BillingApi.md +1 -1
- package/docs/CRMApi.md +1 -1
- package/docs/Class3CXApi.md +1 -1
- package/docs/Class3CXInstallationWizardApi.md +1 -1
- package/docs/Class3CXInstallationsApi.md +1 -1
- package/docs/Class3CXIntegrationsApi.md +1 -1
- package/docs/Class3CXMultiTenantApi.md +1 -1
- package/docs/CrmActivityDTO.md +3 -3
- package/docs/CrmDateActivitiesDTO.md +1 -1
- package/docs/CustomerCoordinatesDTO.md +31 -0
- package/docs/CustomerOrderRequestDTO.md +1 -1
- package/docs/DetailedOrderRequestDTO.md +1 -1
- package/docs/GraphDTO.md +33 -0
- package/docs/MiscApi.md +63 -0
- package/docs/MyPBXToolsApi.md +1 -1
- package/docs/NumberPortModel.md +51 -0
- package/docs/NumberPortingApi.md +1 -1
- package/docs/OAuth20Api.md +1 -1
- package/docs/OrdersApi.md +1 -1
- package/docs/PartnerDTO.md +1 -1
- package/docs/PasswordSenderDTO.md +37 -0
- package/docs/PasswordSenderEntity.md +33 -0
- package/docs/PatchSetTcxWizardCnameRequest.md +20 -0
- package/docs/PatchUpdateAccountNameRequest.md +20 -0
- package/docs/PostAddAdminNoteRequest.md +20 -0
- package/docs/PostGenerateReport200Response.md +36 -0
- package/docs/PostGetProductRequest.md +24 -0
- package/docs/PricingApi.md +1 -1
- package/docs/ProductDetailedSummaryDTO.md +2 -2
- package/docs/ProductSearchDTO.md +37 -0
- package/docs/ProductSummaryDTO.md +1 -1
- package/docs/ProductsApi.md +1 -1
- package/docs/ProspectDTO.md +2 -2
- package/docs/ProspectsApi.md +1 -1
- package/docs/ProvisioningApi.md +1 -1
- package/docs/RecordingsBackupInfoDTO.md +2 -2
- package/docs/ReportRequestDTO.md +37 -0
- package/docs/ReportsApi.md +107 -0
- package/docs/SIPTrunksApi.md +1 -1
- package/docs/SMSApi.md +1 -1
- package/docs/SeriesDTO.md +27 -0
- package/docs/ServicesApi.md +1 -1
- package/docs/ShipmentRequestDTO.md +2 -2
- package/docs/ShippingApi.md +1 -1
- package/docs/StockManagementApi.md +1 -1
- package/docs/StockReportItemModel.md +31 -0
- package/docs/StockReportModel.md +29 -0
- package/docs/SupplierItemModel.md +2 -0
- package/docs/SupplierItemsResultsDTO.md +21 -0
- package/docs/SupplierProductModel.md +25 -0
- package/docs/SupplierProductResultsModel.md +27 -0
- package/docs/SuppliersApi.md +230 -0
- package/docs/SystemApi.md +1 -1
- package/docs/TableDTO.md +25 -0
- package/docs/TableDataDTO.md +21 -0
- package/docs/TableRowDTO.md +21 -0
- package/docs/TcxHostingPricingEntity.md +35 -0
- package/docs/TcxInstallationDetailsModel.md +45 -0
- package/docs/TcxInstallationModel.md +6 -0
- package/docs/TcxKeySummaryDTO.md +1 -1
- package/docs/TelephonySupportTicketModel.md +41 -0
- package/docs/TicketsApi.md +1 -1
- package/docs/WebhooksApi.md +1 -1
- package/getEnums.php +31 -31
- package/hs_err_pid16044.log +249 -0
- package/hs_err_pid44560.log +249 -0
- package/hs_err_pid53988.log +249 -0
- package/hs_err_pid58728.log +40 -0
- package/index.ts +1 -1
- package/models/GraphTypeEnum.ts +14 -0
- package/models/GroupEnum.ts +44 -0
- package/models/HostingPriceListEnum.ts +5 -0
- package/models/ReportEnum.ts +54 -0
- package/openapitools.json +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const ReportEnum: {
|
|
2
|
+
readonly STOCK: {
|
|
3
|
+
readonly name: "STOCK";
|
|
4
|
+
readonly value: 1;
|
|
5
|
+
readonly publicValue: "Stock";
|
|
6
|
+
};
|
|
7
|
+
readonly POS: {
|
|
8
|
+
readonly name: "POS";
|
|
9
|
+
readonly value: 2;
|
|
10
|
+
readonly publicValue: "POS";
|
|
11
|
+
};
|
|
12
|
+
readonly CUSTOMER_SPEND: {
|
|
13
|
+
readonly name: "CUSTOMER_SPEND";
|
|
14
|
+
readonly value: 3;
|
|
15
|
+
readonly publicValue: "Customer Spend";
|
|
16
|
+
};
|
|
17
|
+
readonly MONTHLY_SALES: {
|
|
18
|
+
readonly name: "MONTHLY_SALES";
|
|
19
|
+
readonly value: 4;
|
|
20
|
+
readonly publicValue: "Monthly Sales";
|
|
21
|
+
};
|
|
22
|
+
readonly CUSTOMER_ANNUAL_COMPARISON: {
|
|
23
|
+
readonly name: "CUSTOMER_ANNUAL_COMPARISON";
|
|
24
|
+
readonly value: 5;
|
|
25
|
+
readonly publicValue: "Customer Annual Comparison";
|
|
26
|
+
};
|
|
27
|
+
readonly LOW_STOCK: {
|
|
28
|
+
readonly name: "LOW_STOCK";
|
|
29
|
+
readonly value: 6;
|
|
30
|
+
readonly publicValue: "Low Stock";
|
|
31
|
+
};
|
|
32
|
+
readonly LEAGUE_TABLE: {
|
|
33
|
+
readonly name: "LEAGUE_TABLE";
|
|
34
|
+
readonly value: 7;
|
|
35
|
+
readonly publicValue: "League Table";
|
|
36
|
+
};
|
|
37
|
+
readonly REVENUE: {
|
|
38
|
+
readonly name: "REVENUE";
|
|
39
|
+
readonly value: 8;
|
|
40
|
+
readonly publicValue: "Revenue";
|
|
41
|
+
};
|
|
42
|
+
readonly EXPENDITURE: {
|
|
43
|
+
readonly name: "EXPENDITURE";
|
|
44
|
+
readonly value: 9;
|
|
45
|
+
readonly publicValue: "Expenditure";
|
|
46
|
+
};
|
|
47
|
+
readonly TECH_SUPPORT_CUSTOMERS: {
|
|
48
|
+
readonly name: "TECH_SUPPORT_CUSTOMERS";
|
|
49
|
+
readonly value: 10;
|
|
50
|
+
readonly publicValue: "Tech Support Customers";
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export type ReportEnum = typeof ReportEnum;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReportEnum = void 0;
|
|
4
|
+
exports.ReportEnum = {
|
|
5
|
+
"STOCK": {
|
|
6
|
+
"name": "STOCK",
|
|
7
|
+
"value": 1,
|
|
8
|
+
"publicValue": "Stock"
|
|
9
|
+
},
|
|
10
|
+
"POS": {
|
|
11
|
+
"name": "POS",
|
|
12
|
+
"value": 2,
|
|
13
|
+
"publicValue": "POS"
|
|
14
|
+
},
|
|
15
|
+
"CUSTOMER_SPEND": {
|
|
16
|
+
"name": "CUSTOMER_SPEND",
|
|
17
|
+
"value": 3,
|
|
18
|
+
"publicValue": "Customer Spend"
|
|
19
|
+
},
|
|
20
|
+
"MONTHLY_SALES": {
|
|
21
|
+
"name": "MONTHLY_SALES",
|
|
22
|
+
"value": 4,
|
|
23
|
+
"publicValue": "Monthly Sales"
|
|
24
|
+
},
|
|
25
|
+
"CUSTOMER_ANNUAL_COMPARISON": {
|
|
26
|
+
"name": "CUSTOMER_ANNUAL_COMPARISON",
|
|
27
|
+
"value": 5,
|
|
28
|
+
"publicValue": "Customer Annual Comparison"
|
|
29
|
+
},
|
|
30
|
+
"LOW_STOCK": {
|
|
31
|
+
"name": "LOW_STOCK",
|
|
32
|
+
"value": 6,
|
|
33
|
+
"publicValue": "Low Stock"
|
|
34
|
+
},
|
|
35
|
+
"LEAGUE_TABLE": {
|
|
36
|
+
"name": "LEAGUE_TABLE",
|
|
37
|
+
"value": 7,
|
|
38
|
+
"publicValue": "League Table"
|
|
39
|
+
},
|
|
40
|
+
"REVENUE": {
|
|
41
|
+
"name": "REVENUE",
|
|
42
|
+
"value": 8,
|
|
43
|
+
"publicValue": "Revenue"
|
|
44
|
+
},
|
|
45
|
+
"EXPENDITURE": {
|
|
46
|
+
"name": "EXPENDITURE",
|
|
47
|
+
"value": 9,
|
|
48
|
+
"publicValue": "Expenditure"
|
|
49
|
+
},
|
|
50
|
+
"TECH_SUPPORT_CUSTOMERS": {
|
|
51
|
+
"name": "TECH_SUPPORT_CUSTOMERS",
|
|
52
|
+
"value": 10,
|
|
53
|
+
"publicValue": "Tech Support Customers"
|
|
54
|
+
}
|
|
55
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# AbstractItemDiscountModel
|
|
2
|
+
|
|
3
|
+
Item Discount
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**description** | **string** | Description | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { AbstractItemDiscountModel } from 'yellowgrid-api-ts';
|
|
15
|
+
|
|
16
|
+
const instance: AbstractItemDiscountModel = {
|
|
17
|
+
description,
|
|
18
|
+
};
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**items** | [**Array<CustomerItemRequestDTO>**](CustomerItemRequestDTO.md) | Items | [optional] [default to undefined]
|
|
11
11
|
**shippingService** | [**ShippingServiceDTO**](ShippingServiceDTO.md) | | [optional] [default to undefined]
|
|
12
12
|
**provisioningUrl** | **string** | Provisioning URL | [optional] [default to undefined]
|
|
13
|
-
**shippingAddress** | [**AddressModel**](AddressModel.md) |
|
|
13
|
+
**shippingAddress** | [**AddressModel**](AddressModel.md) | | [optional] [default to undefined]
|
|
14
14
|
**partShip** | **boolean** | Part Ship Order | [optional] [default to undefined]
|
|
15
15
|
**quote** | **boolean** | Quote | [optional] [default to undefined]
|
|
16
16
|
|
package/docs/AccountsApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# AccountsApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *https://
|
|
3
|
+
All URIs are relative to *https://api.local.yellowgrid.co.uk*
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
@@ -17,8 +17,10 @@ All URIs are relative to *https://bitbucket.org*
|
|
|
17
17
|
|[**getGetClientCredentials**](#getgetclientcredentials) | **GET** /accounts/me/contacts/credentials | Get user\'s client credentials|
|
|
18
18
|
|[**getGetCustomerAccountsList**](#getgetcustomeraccountslist) | **GET** /admin/accounts/customers/list | |
|
|
19
19
|
|[**getGetCustomerKeys**](#getgetcustomerkeys) | **GET** /accounts/me/tcx/keys | Get 3CX Keys|
|
|
20
|
+
|[**getGetCustomerMap**](#getgetcustomermap) | **GET** /admin/accounts/customer/map | |
|
|
20
21
|
|[**getGetFinanceSettings**](#getgetfinancesettings) | **GET** /admin/accounts/{id}/finance | |
|
|
21
22
|
|[**getGetLastAccount**](#getgetlastaccount) | **GET** /admin/accounts/last | Get Last Account|
|
|
23
|
+
|[**getGetNewPriceList**](#getgetnewpricelist) | **GET** /admin/accounts/priceList/new | Download New Price List|
|
|
22
24
|
|[**getGetTcxPartnerDetails**](#getgettcxpartnerdetails) | **GET** /admin/accounts/{id}/tcx/partner | |
|
|
23
25
|
|[**getVerifyEmailAddress**](#getverifyemailaddress) | **GET** /accounts/contacts/verify | Verify account email address|
|
|
24
26
|
|[**patchSetAccountStatus**](#patchsetaccountstatus) | **PATCH** /admin/accounts/{id}/status/{state} | |
|
|
@@ -29,6 +31,7 @@ All URIs are relative to *https://bitbucket.org*
|
|
|
29
31
|
|[**patchUpdateAccountCname**](#patchupdateaccountcname) | **PATCH** /admin/accounts/{id}/cname | |
|
|
30
32
|
|[**patchUpdateAccountCompanyNumber**](#patchupdateaccountcompanynumber) | **PATCH** /admin/accounts/{id}/companyNumber | |
|
|
31
33
|
|[**patchUpdateAccountContactPassword**](#patchupdateaccountcontactpassword) | **PATCH** /accounts/contacts/password | Update Account Password|
|
|
34
|
+
|[**patchUpdateAccountName**](#patchupdateaccountname) | **PATCH** /admin/accounts/{id}/name | |
|
|
32
35
|
|[**patchUpdateAccountPhone**](#patchupdateaccountphone) | **PATCH** /admin/accounts/{id}/phone | |
|
|
33
36
|
|[**patchUpdateAccountVatNumber**](#patchupdateaccountvatnumber) | **PATCH** /admin/accounts/{id}/vatNumber | |
|
|
34
37
|
|[**patchUpdateCreditLimit**](#patchupdatecreditlimit) | **PATCH** /admin/accounts/{id}/creditLimit | |
|
|
@@ -736,6 +739,53 @@ No authorization required
|
|
|
736
739
|
|
|
737
740
|
[[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)
|
|
738
741
|
|
|
742
|
+
# **getGetCustomerMap**
|
|
743
|
+
> Array<CustomerCoordinatesDTO> getGetCustomerMap()
|
|
744
|
+
|
|
745
|
+
Get Customer Map
|
|
746
|
+
|
|
747
|
+
### Example
|
|
748
|
+
|
|
749
|
+
```typescript
|
|
750
|
+
import {
|
|
751
|
+
AccountsApi,
|
|
752
|
+
Configuration
|
|
753
|
+
} from 'yellowgrid-api-ts';
|
|
754
|
+
|
|
755
|
+
const configuration = new Configuration();
|
|
756
|
+
const apiInstance = new AccountsApi(configuration);
|
|
757
|
+
|
|
758
|
+
const { status, data } = await apiInstance.getGetCustomerMap();
|
|
759
|
+
```
|
|
760
|
+
|
|
761
|
+
### Parameters
|
|
762
|
+
This endpoint does not have any parameters.
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
### Return type
|
|
766
|
+
|
|
767
|
+
**Array<CustomerCoordinatesDTO>**
|
|
768
|
+
|
|
769
|
+
### Authorization
|
|
770
|
+
|
|
771
|
+
No authorization required
|
|
772
|
+
|
|
773
|
+
### HTTP request headers
|
|
774
|
+
|
|
775
|
+
- **Content-Type**: Not defined
|
|
776
|
+
- **Accept**: application/json
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
### HTTP response details
|
|
780
|
+
| Status code | Description | Response headers |
|
|
781
|
+
|-------------|-------------|------------------|
|
|
782
|
+
|**200** | Customer Coordinates | - |
|
|
783
|
+
|**400** | Bad Request | - |
|
|
784
|
+
|**401** | Unauthorised | - |
|
|
785
|
+
|**403** | Access Denied | - |
|
|
786
|
+
|
|
787
|
+
[[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)
|
|
788
|
+
|
|
739
789
|
# **getGetFinanceSettings**
|
|
740
790
|
> AccountFinanceDTO getGetFinanceSettings()
|
|
741
791
|
|
|
@@ -837,6 +887,60 @@ No authorization required
|
|
|
837
887
|
|
|
838
888
|
[[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)
|
|
839
889
|
|
|
890
|
+
# **getGetNewPriceList**
|
|
891
|
+
> string getGetNewPriceList()
|
|
892
|
+
|
|
893
|
+
Download New Price List
|
|
894
|
+
|
|
895
|
+
### Example
|
|
896
|
+
|
|
897
|
+
```typescript
|
|
898
|
+
import {
|
|
899
|
+
AccountsApi,
|
|
900
|
+
Configuration
|
|
901
|
+
} from 'yellowgrid-api-ts';
|
|
902
|
+
|
|
903
|
+
const configuration = new Configuration();
|
|
904
|
+
const apiInstance = new AccountsApi(configuration);
|
|
905
|
+
|
|
906
|
+
let id: string; //Xero ID (default to undefined)
|
|
907
|
+
|
|
908
|
+
const { status, data } = await apiInstance.getGetNewPriceList(
|
|
909
|
+
id
|
|
910
|
+
);
|
|
911
|
+
```
|
|
912
|
+
|
|
913
|
+
### Parameters
|
|
914
|
+
|
|
915
|
+
|Name | Type | Description | Notes|
|
|
916
|
+
|------------- | ------------- | ------------- | -------------|
|
|
917
|
+
| **id** | [**string**] | Xero ID | defaults to undefined|
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
### Return type
|
|
921
|
+
|
|
922
|
+
**string**
|
|
923
|
+
|
|
924
|
+
### Authorization
|
|
925
|
+
|
|
926
|
+
No authorization required
|
|
927
|
+
|
|
928
|
+
### HTTP request headers
|
|
929
|
+
|
|
930
|
+
- **Content-Type**: Not defined
|
|
931
|
+
- **Accept**: text/csv
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
### HTTP response details
|
|
935
|
+
| Status code | Description | Response headers |
|
|
936
|
+
|-------------|-------------|------------------|
|
|
937
|
+
|**200** | Price List | - |
|
|
938
|
+
|**400** | Bad Request | - |
|
|
939
|
+
|**401** | Unauthorised | - |
|
|
940
|
+
|**403** | Access Denied | - |
|
|
941
|
+
|
|
942
|
+
[[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)
|
|
943
|
+
|
|
840
944
|
# **getGetTcxPartnerDetails**
|
|
841
945
|
> PartnerDTO getGetTcxPartnerDetails()
|
|
842
946
|
|
|
@@ -1402,6 +1506,64 @@ No authorization required
|
|
|
1402
1506
|
|
|
1403
1507
|
[[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)
|
|
1404
1508
|
|
|
1509
|
+
# **patchUpdateAccountName**
|
|
1510
|
+
> patchUpdateAccountName()
|
|
1511
|
+
|
|
1512
|
+
Set Account Name
|
|
1513
|
+
|
|
1514
|
+
### Example
|
|
1515
|
+
|
|
1516
|
+
```typescript
|
|
1517
|
+
import {
|
|
1518
|
+
AccountsApi,
|
|
1519
|
+
Configuration,
|
|
1520
|
+
PatchUpdateAccountNameRequest
|
|
1521
|
+
} from 'yellowgrid-api-ts';
|
|
1522
|
+
|
|
1523
|
+
const configuration = new Configuration();
|
|
1524
|
+
const apiInstance = new AccountsApi(configuration);
|
|
1525
|
+
|
|
1526
|
+
let id: string; //Xero ID (default to undefined)
|
|
1527
|
+
let patchUpdateAccountNameRequest: PatchUpdateAccountNameRequest; //Account Name Request (optional)
|
|
1528
|
+
|
|
1529
|
+
const { status, data } = await apiInstance.patchUpdateAccountName(
|
|
1530
|
+
id,
|
|
1531
|
+
patchUpdateAccountNameRequest
|
|
1532
|
+
);
|
|
1533
|
+
```
|
|
1534
|
+
|
|
1535
|
+
### Parameters
|
|
1536
|
+
|
|
1537
|
+
|Name | Type | Description | Notes|
|
|
1538
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1539
|
+
| **patchUpdateAccountNameRequest** | **PatchUpdateAccountNameRequest**| Account Name Request | |
|
|
1540
|
+
| **id** | [**string**] | Xero ID | defaults to undefined|
|
|
1541
|
+
|
|
1542
|
+
|
|
1543
|
+
### Return type
|
|
1544
|
+
|
|
1545
|
+
void (empty response body)
|
|
1546
|
+
|
|
1547
|
+
### Authorization
|
|
1548
|
+
|
|
1549
|
+
No authorization required
|
|
1550
|
+
|
|
1551
|
+
### HTTP request headers
|
|
1552
|
+
|
|
1553
|
+
- **Content-Type**: application/json
|
|
1554
|
+
- **Accept**: Not defined
|
|
1555
|
+
|
|
1556
|
+
|
|
1557
|
+
### HTTP response details
|
|
1558
|
+
| Status code | Description | Response headers |
|
|
1559
|
+
|-------------|-------------|------------------|
|
|
1560
|
+
|**204** | No Response | - |
|
|
1561
|
+
|**400** | Bad Request | - |
|
|
1562
|
+
|**401** | Unauthorised | - |
|
|
1563
|
+
|**403** | Access Denied | - |
|
|
1564
|
+
|
|
1565
|
+
[[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)
|
|
1566
|
+
|
|
1405
1567
|
# **patchUpdateAccountPhone**
|
|
1406
1568
|
> patchUpdateAccountPhone()
|
|
1407
1569
|
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**items** | [**Array<DetailedItemRequestDTO>**](DetailedItemRequestDTO.md) | Items | [optional] [default to undefined]
|
|
11
11
|
**shippingService** | [**ShippingServiceDTO**](ShippingServiceDTO.md) | | [optional] [default to undefined]
|
|
12
12
|
**provisioningUrl** | **string** | Provisioning URL | [optional] [default to undefined]
|
|
13
|
-
**shippingAddress** | [**AddressModel**](AddressModel.md) |
|
|
13
|
+
**shippingAddress** | [**AddressModel**](AddressModel.md) | | [optional] [default to undefined]
|
|
14
14
|
**partShip** | **boolean** | Part Ship Order | [optional] [default to undefined]
|
|
15
15
|
**quote** | **boolean** | Quote | [optional] [default to undefined]
|
|
16
16
|
**customerId** | **number** | Customer ID | [optional] [default to undefined]
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# AxisDataDTO
|
|
2
|
+
|
|
3
|
+
Graph Axis Data
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**type** | **string** | Type | [optional] [default to undefined]
|
|
10
|
+
**data** | **Array<string>** | Data | [optional] [default to undefined]
|
|
11
|
+
**name** | **string** | Name | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { AxisDataDTO } from 'yellowgrid-api-ts';
|
|
17
|
+
|
|
18
|
+
const instance: AxisDataDTO = {
|
|
19
|
+
type,
|
|
20
|
+
data,
|
|
21
|
+
name,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/BillingApi.md
CHANGED
package/docs/CRMApi.md
CHANGED
package/docs/Class3CXApi.md
CHANGED
package/docs/CrmActivityDTO.md
CHANGED
|
@@ -7,12 +7,12 @@ CRM Activity
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**type** | **string** | Activity Type | [optional] [default to undefined]
|
|
10
|
-
**timestamp** | **string** |
|
|
10
|
+
**timestamp** | **string** | Date Time | [optional] [default to undefined]
|
|
11
11
|
**title** | **string** | Activity Title | [optional] [default to undefined]
|
|
12
12
|
**description** | **string** | Activity Description | [optional] [default to undefined]
|
|
13
|
-
**url** | **string** | Activity URL | [optional] [default to undefined]
|
|
14
13
|
**user** | **string** | Activity User Name | [optional] [default to undefined]
|
|
15
14
|
**contact** | **string** | Activity Contact Name | [optional] [default to undefined]
|
|
15
|
+
**orderId** | **number** | Activity Order ID | [optional] [default to undefined]
|
|
16
16
|
|
|
17
17
|
## Example
|
|
18
18
|
|
|
@@ -24,9 +24,9 @@ const instance: CrmActivityDTO = {
|
|
|
24
24
|
timestamp,
|
|
25
25
|
title,
|
|
26
26
|
description,
|
|
27
|
-
url,
|
|
28
27
|
user,
|
|
29
28
|
contact,
|
|
29
|
+
orderId,
|
|
30
30
|
};
|
|
31
31
|
```
|
|
32
32
|
|
|
@@ -6,7 +6,7 @@ CRM Date Activities
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**date** | **string** | Date | [optional] [default to undefined]
|
|
9
|
+
**date** | **string** | Date Time | [optional] [default to undefined]
|
|
10
10
|
**activities** | [**Array<CrmActivityDTO>**](CrmActivityDTO.md) | Activities | [optional] [default to undefined]
|
|
11
11
|
|
|
12
12
|
## Example
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# CustomerCoordinatesDTO
|
|
2
|
+
|
|
3
|
+
Customer Coordinates
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | ID | [optional] [default to undefined]
|
|
10
|
+
**company** | **string** | Company | [optional] [default to undefined]
|
|
11
|
+
**resellerId** | **string** | 3CX Reseller ID | [optional] [default to undefined]
|
|
12
|
+
**postCode** | **string** | Post Code | [optional] [default to undefined]
|
|
13
|
+
**latitude** | **string** | Latitude | [optional] [default to undefined]
|
|
14
|
+
**longitude** | **string** | Longitude | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { CustomerCoordinatesDTO } from 'yellowgrid-api-ts';
|
|
20
|
+
|
|
21
|
+
const instance: CustomerCoordinatesDTO = {
|
|
22
|
+
id,
|
|
23
|
+
company,
|
|
24
|
+
resellerId,
|
|
25
|
+
postCode,
|
|
26
|
+
latitude,
|
|
27
|
+
longitude,
|
|
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)
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**items** | [**Array<CustomerItemRequestDTO>**](CustomerItemRequestDTO.md) | Items | [optional] [default to undefined]
|
|
11
11
|
**shippingService** | [**ShippingServiceDTO**](ShippingServiceDTO.md) | | [optional] [default to undefined]
|
|
12
12
|
**provisioningUrl** | **string** | Provisioning URL | [optional] [default to undefined]
|
|
13
|
-
**shippingAddress** | [**AddressModel**](AddressModel.md) |
|
|
13
|
+
**shippingAddress** | [**AddressModel**](AddressModel.md) | | [optional] [default to undefined]
|
|
14
14
|
**partShip** | **boolean** | Part Ship Order | [optional] [default to undefined]
|
|
15
15
|
**quote** | **boolean** | Quote | [optional] [default to undefined]
|
|
16
16
|
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**items** | [**Array<DetailedItemRequestDTO>**](DetailedItemRequestDTO.md) | Items | [optional] [default to undefined]
|
|
11
11
|
**shippingService** | [**ShippingServiceDTO**](ShippingServiceDTO.md) | | [optional] [default to undefined]
|
|
12
12
|
**provisioningUrl** | **string** | Provisioning URL | [optional] [default to undefined]
|
|
13
|
-
**shippingAddress** | [**AddressModel**](AddressModel.md) |
|
|
13
|
+
**shippingAddress** | [**AddressModel**](AddressModel.md) | | [optional] [default to undefined]
|
|
14
14
|
**partShip** | **boolean** | Part Ship Order | [optional] [default to undefined]
|
|
15
15
|
**quote** | **boolean** | Quote | [optional] [default to undefined]
|
|
16
16
|
|
package/docs/GraphDTO.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# GraphDTO
|
|
2
|
+
|
|
3
|
+
Graph
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**title** | **string** | Title | [optional] [default to undefined]
|
|
10
|
+
**xAxis** | [**Array<AxisDataDTO>**](AxisDataDTO.md) | X Axis | [optional] [default to undefined]
|
|
11
|
+
**yAxis** | [**Array<AxisDataDTO>**](AxisDataDTO.md) | Y Axis | [optional] [default to undefined]
|
|
12
|
+
**legend** | **Array<string>** | Legend | [optional] [default to undefined]
|
|
13
|
+
**series** | [**Array<SeriesDTO>**](SeriesDTO.md) | Series | [optional] [default to undefined]
|
|
14
|
+
**currency** | **string** | Currency | [optional] [default to undefined]
|
|
15
|
+
**locale** | **string** | Locale | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { GraphDTO } from 'yellowgrid-api-ts';
|
|
21
|
+
|
|
22
|
+
const instance: GraphDTO = {
|
|
23
|
+
title,
|
|
24
|
+
xAxis,
|
|
25
|
+
yAxis,
|
|
26
|
+
legend,
|
|
27
|
+
series,
|
|
28
|
+
currency,
|
|
29
|
+
locale,
|
|
30
|
+
};
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/MiscApi.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# MiscApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.local.yellowgrid.co.uk*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**postSendPassword**](#postsendpassword) | **POST** /admin/password/send | |
|
|
8
|
+
|
|
9
|
+
# **postSendPassword**
|
|
10
|
+
> PasswordSenderDTO postSendPassword()
|
|
11
|
+
|
|
12
|
+
Share Credentials
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
MiscApi,
|
|
19
|
+
Configuration,
|
|
20
|
+
PasswordSenderDTO
|
|
21
|
+
} from 'yellowgrid-api-ts';
|
|
22
|
+
|
|
23
|
+
const configuration = new Configuration();
|
|
24
|
+
const apiInstance = new MiscApi(configuration);
|
|
25
|
+
|
|
26
|
+
let passwordSenderDTO: PasswordSenderDTO; //Password Sender Request (optional)
|
|
27
|
+
|
|
28
|
+
const { status, data } = await apiInstance.postSendPassword(
|
|
29
|
+
passwordSenderDTO
|
|
30
|
+
);
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Parameters
|
|
34
|
+
|
|
35
|
+
|Name | Type | Description | Notes|
|
|
36
|
+
|------------- | ------------- | ------------- | -------------|
|
|
37
|
+
| **passwordSenderDTO** | **PasswordSenderDTO**| Password Sender Request | |
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Return type
|
|
41
|
+
|
|
42
|
+
**PasswordSenderDTO**
|
|
43
|
+
|
|
44
|
+
### Authorization
|
|
45
|
+
|
|
46
|
+
No authorization required
|
|
47
|
+
|
|
48
|
+
### HTTP request headers
|
|
49
|
+
|
|
50
|
+
- **Content-Type**: application/json
|
|
51
|
+
- **Accept**: application/json
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### HTTP response details
|
|
55
|
+
| Status code | Description | Response headers |
|
|
56
|
+
|-------------|-------------|------------------|
|
|
57
|
+
|**200** | Password Sender Response | - |
|
|
58
|
+
|**400** | Bad Request | - |
|
|
59
|
+
|**401** | Unauthorised | - |
|
|
60
|
+
|**403** | Access Denied | - |
|
|
61
|
+
|
|
62
|
+
[[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
|
+
|