yellowgrid-api-ts 3.0.79
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 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +385 -0
- package/api.ts +20310 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/config.json +3 -0
- package/configuration.ts +115 -0
- package/dist/api.d.ts +14136 -0
- package/dist/api.js +14123 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +86 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +253 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +57 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +31 -0
- package/docs/AccountContactEntity.md +45 -0
- package/docs/AccountContactModel.md +45 -0
- package/docs/AccountContactRequestModel.md +37 -0
- package/docs/AccountRequestModel.md +53 -0
- package/docs/AccountSummaryDTO.md +25 -0
- package/docs/AccountsApi.md +948 -0
- package/docs/AccountsResponseModel.md +27 -0
- package/docs/AddressModel.md +45 -0
- package/docs/AddressRequestModel.md +27 -0
- package/docs/AgentHoursGraphModel.md +27 -0
- package/docs/AgentHoursGraphMonthModel.md +23 -0
- package/docs/ApiLogEntity.md +43 -0
- package/docs/AreaCodeModel.md +23 -0
- package/docs/AttachmentModel.md +29 -0
- package/docs/AttributeSetEnum.md +23 -0
- package/docs/AuthCodeResponseModel.md +25 -0
- package/docs/BatchEntity.md +53 -0
- package/docs/CallBarringModel.md +29 -0
- package/docs/Class3CXApi.md +172 -0
- package/docs/Class3CXInstallationWizardApi.md +1355 -0
- package/docs/Class3CXInstallationsApi.md +651 -0
- package/docs/Class3CXIntegrationsApi.md +344 -0
- package/docs/Class3CXMultiTenantApi.md +404 -0
- package/docs/ClientDetailsModel.md +35 -0
- package/docs/ClientModel.md +27 -0
- package/docs/CompanyContractModel.md +29 -0
- package/docs/ContactInfoModel.md +29 -0
- package/docs/ConversationModel.md +35 -0
- package/docs/CreditAccountEntity.md +61 -0
- package/docs/CustomerInformationModel.md +33 -0
- package/docs/CustomerPriceListEnum.md +23 -0
- package/docs/CustomerSummaryReportDTO.md +31 -0
- package/docs/DdiRangeRequestModel.md +25 -0
- package/docs/DdiRangesRequestModel.md +21 -0
- package/docs/DivertRequestModel.md +23 -0
- package/docs/DivertResponseModel.md +25 -0
- package/docs/EdTechProClientEntity.md +29 -0
- package/docs/EdTechProSchoolModel.md +47 -0
- package/docs/EdTechProSchoolsModel.md +27 -0
- package/docs/EdTechProSetupModel.md +29 -0
- package/docs/FraudManagementModel.md +23 -0
- package/docs/FreshdeskCompanyTicketsModel.md +27 -0
- package/docs/FreshdeskTicketEntity.md +33 -0
- package/docs/FtpAccountsEntity.md +29 -0
- package/docs/GenericFileModel.md +25 -0
- package/docs/GetGetPasswordHash200Response.md +20 -0
- package/docs/GetGetPrice200Response.md +20 -0
- package/docs/GetGetRecording200Response.md +20 -0
- package/docs/HostingChangeResponseModel.md +29 -0
- package/docs/InstanceAutoFailoverEntity.md +29 -0
- package/docs/InstanceDeletionScheduleEntity.md +27 -0
- package/docs/InstanceEntity.md +59 -0
- package/docs/InstanceFailoverEntity.md +41 -0
- package/docs/InstanceMonitoringEntity.md +25 -0
- package/docs/InstanceMonitoringLogEntity.md +31 -0
- package/docs/InstanceScheduledTasksEntity.md +31 -0
- package/docs/InstanceTcxDetailsEntity.md +39 -0
- package/docs/InstanceUserCredentialsEntity.md +29 -0
- package/docs/ItemDTO.md +41 -0
- package/docs/ItemEntity.md +61 -0
- package/docs/MFARequiredModel.md +23 -0
- package/docs/MonthlyUsageModel.md +23 -0
- package/docs/MultiTenantChangeResponseModel.md +27 -0
- package/docs/MyPBXToolsApi.md +65 -0
- package/docs/NavigationModel.md +27 -0
- package/docs/OAuth20Api.md +368 -0
- package/docs/OfflineInstancesEntity.md +29 -0
- package/docs/OrderEntity.md +135 -0
- package/docs/OrderRequestModel.md +45 -0
- package/docs/OrderSummariesModel.md +27 -0
- package/docs/OrderSummaryDTO.md +43 -0
- package/docs/OrderTotalModel.md +33 -0
- package/docs/OrderedItemEntity.md +47 -0
- package/docs/OrdersApi.md +135 -0
- package/docs/PatchSetTcxWizardCnameRequest.md +20 -0
- package/docs/PatchUpdateAccountContactPasswordRequest.md +20 -0
- package/docs/PortalAccountModel.md +67 -0
- package/docs/PortalLoginModel.md +33 -0
- package/docs/PostAddWebhook200Response.md +20 -0
- package/docs/PostGetClientCredentialsRequest.md +20 -0
- package/docs/PriceListItemModel.md +29 -0
- package/docs/PricingApi.md +138 -0
- package/docs/PrizesEntity.md +31 -0
- package/docs/ProductSearchResultsModel.md +21 -0
- package/docs/ProductSerialInfoModel.md +27 -0
- package/docs/ProductSummaryModel.md +31 -0
- package/docs/ProductsApi.md +315 -0
- package/docs/PromoCodesEntity.md +43 -0
- package/docs/PromoItemsEntity.md +35 -0
- package/docs/ProvisioningApi.md +402 -0
- package/docs/ProvisioningEntity.md +29 -0
- package/docs/ProvisioningRequestEntity.md +25 -0
- package/docs/ResourceNotReadyException.md +25 -0
- package/docs/RootAccessModel.md +25 -0
- package/docs/SIPTrunksApi.md +1258 -0
- package/docs/SMSApi.md +66 -0
- package/docs/ScannedItemModel.md +29 -0
- package/docs/ScopeModel.md +23 -0
- package/docs/ShipmentAddressEntity.md +41 -0
- package/docs/ShipmentEntity.md +43 -0
- package/docs/ShipmentItemEntity.md +29 -0
- package/docs/SipTrunkChangeResponseModel.md +29 -0
- package/docs/SipTrunkCreationRequestModel.md +31 -0
- package/docs/SipTrunkEntity.md +43 -0
- package/docs/SipTrunksResponseModel.md +27 -0
- package/docs/SmsAccountEntity.md +33 -0
- package/docs/SmsDataModel.md +21 -0
- package/docs/SmsMessageModel.md +25 -0
- package/docs/SmsNumbersEntity.md +23 -0
- package/docs/SmsPayloadModel.md +25 -0
- package/docs/SmsPhoneNumberModel.md +23 -0
- package/docs/SmsResponseModel.md +29 -0
- package/docs/SmsWhitelistEntity.md +23 -0
- package/docs/StockManagementApi.md +1380 -0
- package/docs/StockOrderCourierEntity.md +27 -0
- package/docs/StockOrderDeductionModel.md +27 -0
- package/docs/StockOrderDeductionRequestModel.md +23 -0
- package/docs/StockOrderDeductionsEntity.md +27 -0
- package/docs/StockOrderEntity.md +63 -0
- package/docs/StockOrderItemEntity.md +33 -0
- package/docs/StockOrderItemModel.md +37 -0
- package/docs/StockOrderItemRequestModel.md +27 -0
- package/docs/StockOrderModel.md +49 -0
- package/docs/StockOrderProductEntity.md +31 -0
- package/docs/StockOrderRequestModel.md +25 -0
- package/docs/StockOrderSupplierEntity.md +37 -0
- package/docs/StockOrderSupplierModel.md +37 -0
- package/docs/StockOrdersModel.md +27 -0
- package/docs/StockProductModel.md +49 -0
- package/docs/StockProductPriceModel.md +23 -0
- package/docs/StockProductSummariesModel.md +27 -0
- package/docs/StockProductSummaryModel.md +33 -0
- package/docs/StockTransactionsEntity.md +35 -0
- package/docs/SupplierEntity.md +37 -0
- package/docs/SupplierItemEntity.md +35 -0
- package/docs/SystemApi.md +80 -0
- package/docs/TcxBackupEntity.md +37 -0
- package/docs/TcxBackupModel.md +55 -0
- package/docs/TcxBillingEntity.md +39 -0
- package/docs/TcxBulkLicenceDetailsModel.md +23 -0
- package/docs/TcxDeadLicenceEntity.md +25 -0
- package/docs/TcxExtsEntity.md +35 -0
- package/docs/TcxHostingPricingEntity.md +35 -0
- package/docs/TcxInstallationDetailsModel.md +45 -0
- package/docs/TcxInstallationModel.md +75 -0
- package/docs/TcxInstallationsModel.md +27 -0
- package/docs/TcxKeySummaryDTO.md +29 -0
- package/docs/TcxKeysEntity.md +31 -0
- package/docs/TcxLicenceDetailsErrorModel.md +27 -0
- package/docs/TcxLicenceDetailsModel.md +41 -0
- package/docs/TcxMacsEntity.md +25 -0
- package/docs/TcxMultiTenantModel.md +47 -0
- package/docs/TcxMultiTenantUserModel.md +25 -0
- package/docs/TcxMultiTenantsModel.md +27 -0
- package/docs/TcxNumbersEntity.md +25 -0
- package/docs/TcxOfficeHoursEntity.md +49 -0
- package/docs/TcxPhoneModel.md +32 -0
- package/docs/TcxPhonesEntity.md +31 -0
- package/docs/TcxSbcEntity.md +51 -0
- package/docs/TcxSetupEntity.md +71 -0
- package/docs/TcxSetupsModel.md +27 -0
- package/docs/TcxSipTrunksEntity.md +45 -0
- package/docs/TcxTemplateXmlEnum.md +23 -0
- package/docs/TcxUsersEntity.md +31 -0
- package/docs/TcxWizardConfigModel.md +23 -0
- package/docs/TcxWizardModel.md +47 -0
- package/docs/TechSupportCompanySummaryDTO.md +29 -0
- package/docs/TelephonySupportTicketModel.md +41 -0
- package/docs/TicketSummaryModel.md +35 -0
- package/docs/TicketTimeDTO.md +36 -0
- package/docs/TicketsApi.md +300 -0
- package/docs/TokenResponseModel.md +25 -0
- package/docs/UpgradeOrderResponseModel.md +23 -0
- package/docs/UpgradeRequestModel.md +27 -0
- package/docs/UserEntity.md +39 -0
- package/docs/WebhooksApi.md +117 -0
- package/docs/XeroLogEntity.md +39 -0
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/openapitools.json +7 -0
- package/package.json +31 -0
- package/tsconfig.json +21 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# OrderedItemEntity
|
|
2
|
+
|
|
3
|
+
OrderedItemsEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**itemId** | **number** | itemId | [optional] [default to undefined]
|
|
11
|
+
**orderedQuantity** | **number** | orderedQuantity | [optional] [default to undefined]
|
|
12
|
+
**itemStatus** | **number** | itemStatus | [optional] [default to undefined]
|
|
13
|
+
**supplierId** | **number** | supplierId | [optional] [default to undefined]
|
|
14
|
+
**supplierItemId** | **number** | supplierItemId | [optional] [default to undefined]
|
|
15
|
+
**supplierPrice** | **number** | supplierPrice | [optional] [default to undefined]
|
|
16
|
+
**statusDate** | **string** | statusDate | [optional] [default to undefined]
|
|
17
|
+
**statusAuthor** | **number** | statusAuthor | [optional] [default to undefined]
|
|
18
|
+
**supplierPaid** | **number** | supplierPaid | [optional] [default to undefined]
|
|
19
|
+
**supplierCreditDue** | **number** | supplierCreditDue | [optional] [default to undefined]
|
|
20
|
+
**supplierCreditReceived** | **number** | supplierCreditReceived | [optional] [default to undefined]
|
|
21
|
+
**supplierSku** | **string** | supplierSku | [optional] [default to undefined]
|
|
22
|
+
**returnedStock** | **number** | returnedStock | [optional] [default to undefined]
|
|
23
|
+
|
|
24
|
+
## Example
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import { OrderedItemEntity } from 'yellowgrid-api-ts';
|
|
28
|
+
|
|
29
|
+
const instance: OrderedItemEntity = {
|
|
30
|
+
id,
|
|
31
|
+
itemId,
|
|
32
|
+
orderedQuantity,
|
|
33
|
+
itemStatus,
|
|
34
|
+
supplierId,
|
|
35
|
+
supplierItemId,
|
|
36
|
+
supplierPrice,
|
|
37
|
+
statusDate,
|
|
38
|
+
statusAuthor,
|
|
39
|
+
supplierPaid,
|
|
40
|
+
supplierCreditDue,
|
|
41
|
+
supplierCreditReceived,
|
|
42
|
+
supplierSku,
|
|
43
|
+
returnedStock,
|
|
44
|
+
};
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
[[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,135 @@
|
|
|
1
|
+
# OrdersApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://api.yellowgrid.local*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**deleteDeleteOrder**](#deletedeleteorder) | **DELETE** /orders/{id} | |
|
|
8
|
+
|[**getGetOrders**](#getgetorders) | **GET** /orders | Get Orders|
|
|
9
|
+
|
|
10
|
+
# **deleteDeleteOrder**
|
|
11
|
+
> deleteDeleteOrder()
|
|
12
|
+
|
|
13
|
+
Delete Orders
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import {
|
|
19
|
+
OrdersApi,
|
|
20
|
+
Configuration
|
|
21
|
+
} from 'yellowgrid-api-ts';
|
|
22
|
+
|
|
23
|
+
const configuration = new Configuration();
|
|
24
|
+
const apiInstance = new OrdersApi(configuration);
|
|
25
|
+
|
|
26
|
+
let id: number; //Order ID (default to undefined)
|
|
27
|
+
|
|
28
|
+
const { status, data } = await apiInstance.deleteDeleteOrder(
|
|
29
|
+
id
|
|
30
|
+
);
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Parameters
|
|
34
|
+
|
|
35
|
+
|Name | Type | Description | Notes|
|
|
36
|
+
|------------- | ------------- | ------------- | -------------|
|
|
37
|
+
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Return type
|
|
41
|
+
|
|
42
|
+
void (empty response body)
|
|
43
|
+
|
|
44
|
+
### Authorization
|
|
45
|
+
|
|
46
|
+
No authorization required
|
|
47
|
+
|
|
48
|
+
### HTTP request headers
|
|
49
|
+
|
|
50
|
+
- **Content-Type**: Not defined
|
|
51
|
+
- **Accept**: Not defined
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### HTTP response details
|
|
55
|
+
| Status code | Description | Response headers |
|
|
56
|
+
|-------------|-------------|------------------|
|
|
57
|
+
|**200** | No 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
|
+
|
|
64
|
+
# **getGetOrders**
|
|
65
|
+
> OrderSummariesModel getGetOrders()
|
|
66
|
+
|
|
67
|
+
Get Orders
|
|
68
|
+
|
|
69
|
+
### Example
|
|
70
|
+
|
|
71
|
+
```typescript
|
|
72
|
+
import {
|
|
73
|
+
OrdersApi,
|
|
74
|
+
Configuration
|
|
75
|
+
} from 'yellowgrid-api-ts';
|
|
76
|
+
|
|
77
|
+
const configuration = new Configuration();
|
|
78
|
+
const apiInstance = new OrdersApi(configuration);
|
|
79
|
+
|
|
80
|
+
let pageSize: number; //Number Of Results (optional) (default to 20)
|
|
81
|
+
let page: number; //Page Number (optional) (default to 1)
|
|
82
|
+
let search: string; //Search (optional) (default to undefined)
|
|
83
|
+
let fulfillable: boolean; //Fulfillable (optional) (default to undefined)
|
|
84
|
+
let status: 'PAID' | 'INVOICE_PAID' | 'UNPAID' | 'QUOTE'; //Status (optional) (default to undefined)
|
|
85
|
+
let filter: 'OUTSTANDING' | 'QUOTES' | 'ALL' | 'BACK_ORDERS'; //Filter (optional) (default to undefined)
|
|
86
|
+
let customerId: number; //Customer ID (optional) (default to undefined)
|
|
87
|
+
|
|
88
|
+
const { status, data } = await apiInstance.getGetOrders(
|
|
89
|
+
pageSize,
|
|
90
|
+
page,
|
|
91
|
+
search,
|
|
92
|
+
fulfillable,
|
|
93
|
+
status,
|
|
94
|
+
filter,
|
|
95
|
+
customerId
|
|
96
|
+
);
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### Parameters
|
|
100
|
+
|
|
101
|
+
|Name | Type | Description | Notes|
|
|
102
|
+
|------------- | ------------- | ------------- | -------------|
|
|
103
|
+
| **pageSize** | [**number**] | Number Of Results | (optional) defaults to 20|
|
|
104
|
+
| **page** | [**number**] | Page Number | (optional) defaults to 1|
|
|
105
|
+
| **search** | [**string**] | Search | (optional) defaults to undefined|
|
|
106
|
+
| **fulfillable** | [**boolean**] | Fulfillable | (optional) defaults to undefined|
|
|
107
|
+
| **status** | [**'PAID' | 'INVOICE_PAID' | 'UNPAID' | 'QUOTE'**]**Array<'PAID' | 'INVOICE_PAID' | 'UNPAID' | 'QUOTE'>** | Status | (optional) defaults to undefined|
|
|
108
|
+
| **filter** | [**'OUTSTANDING' | 'QUOTES' | 'ALL' | 'BACK_ORDERS'**]**Array<'OUTSTANDING' | 'QUOTES' | 'ALL' | 'BACK_ORDERS'>** | Filter | (optional) defaults to undefined|
|
|
109
|
+
| **customerId** | [**number**] | Customer ID | (optional) defaults to undefined|
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
### Return type
|
|
113
|
+
|
|
114
|
+
**OrderSummariesModel**
|
|
115
|
+
|
|
116
|
+
### Authorization
|
|
117
|
+
|
|
118
|
+
No authorization required
|
|
119
|
+
|
|
120
|
+
### HTTP request headers
|
|
121
|
+
|
|
122
|
+
- **Content-Type**: Not defined
|
|
123
|
+
- **Accept**: application/json
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
### HTTP response details
|
|
127
|
+
| Status code | Description | Response headers |
|
|
128
|
+
|-------------|-------------|------------------|
|
|
129
|
+
|**200** | Order Summaries | - |
|
|
130
|
+
|**400** | Bad Request | - |
|
|
131
|
+
|**401** | Unauthorised | - |
|
|
132
|
+
|**403** | Access Denied | - |
|
|
133
|
+
|
|
134
|
+
[[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)
|
|
135
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# PatchSetTcxWizardCnameRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**cname** | **string** | CNAME | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { PatchSetTcxWizardCnameRequest } from 'yellowgrid-api-ts';
|
|
14
|
+
|
|
15
|
+
const instance: PatchSetTcxWizardCnameRequest = {
|
|
16
|
+
cname,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[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,20 @@
|
|
|
1
|
+
# PatchUpdateAccountContactPasswordRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**password** | **string** | Password | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { PatchUpdateAccountContactPasswordRequest } from 'yellowgrid-api-ts';
|
|
14
|
+
|
|
15
|
+
const instance: PatchUpdateAccountContactPasswordRequest = {
|
|
16
|
+
password,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[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,67 @@
|
|
|
1
|
+
# PortalAccountModel
|
|
2
|
+
|
|
3
|
+
Customer Account
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | ID | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | Contact Name | [optional] [default to undefined]
|
|
11
|
+
**email** | **string** | Email | [optional] [default to undefined]
|
|
12
|
+
**phone** | **string** | Phone Number | [optional] [default to undefined]
|
|
13
|
+
**company** | **string** | Company Name | [optional] [default to undefined]
|
|
14
|
+
**companyNumber** | **string** | Company Registration Number | [optional] [default to undefined]
|
|
15
|
+
**vatNumber** | **string** | VAT Number | [optional] [default to undefined]
|
|
16
|
+
**addressLine1** | **string** | Address Line 1 | [optional] [default to undefined]
|
|
17
|
+
**addressLine2** | **string** | Address Line 2 | [optional] [default to undefined]
|
|
18
|
+
**city** | **string** | City | [optional] [default to undefined]
|
|
19
|
+
**county** | **string** | County | [optional] [default to undefined]
|
|
20
|
+
**iso** | **string** | Country ISO Code | [optional] [default to undefined]
|
|
21
|
+
**postalCode** | **string** | Post Code | [optional] [default to undefined]
|
|
22
|
+
**accountNumber** | **string** | Account Number | [optional] [default to undefined]
|
|
23
|
+
**xeroId** | **string** | Xero Contact ID | [optional] [default to undefined]
|
|
24
|
+
**creditLimit** | **number** | Credit Limit | [optional] [default to undefined]
|
|
25
|
+
**paymentMethod** | **string** | Payment Method | [optional] [default to undefined]
|
|
26
|
+
**servicePaymentMethod** | **string** | Service Payment Method | [optional] [default to undefined]
|
|
27
|
+
**resellerId** | **string** | 3CX Reseller ID | [optional] [default to undefined]
|
|
28
|
+
**creationDate** | **string** | Creation Date | [optional] [default to undefined]
|
|
29
|
+
**prizePromo** | **boolean** | Prize Promo Enabled | [optional] [default to undefined]
|
|
30
|
+
**directDebitMandate** | **boolean** | Active Direct Debit Mandate | [optional] [default to undefined]
|
|
31
|
+
**navigation** | [**Array<NavigationModel>**](NavigationModel.md) | Portal Navigation | [optional] [default to undefined]
|
|
32
|
+
**cname** | **string** | Wizard CNAME | [optional] [default to undefined]
|
|
33
|
+
|
|
34
|
+
## Example
|
|
35
|
+
|
|
36
|
+
```typescript
|
|
37
|
+
import { PortalAccountModel } from 'yellowgrid-api-ts';
|
|
38
|
+
|
|
39
|
+
const instance: PortalAccountModel = {
|
|
40
|
+
id,
|
|
41
|
+
name,
|
|
42
|
+
email,
|
|
43
|
+
phone,
|
|
44
|
+
company,
|
|
45
|
+
companyNumber,
|
|
46
|
+
vatNumber,
|
|
47
|
+
addressLine1,
|
|
48
|
+
addressLine2,
|
|
49
|
+
city,
|
|
50
|
+
county,
|
|
51
|
+
iso,
|
|
52
|
+
postalCode,
|
|
53
|
+
accountNumber,
|
|
54
|
+
xeroId,
|
|
55
|
+
creditLimit,
|
|
56
|
+
paymentMethod,
|
|
57
|
+
servicePaymentMethod,
|
|
58
|
+
resellerId,
|
|
59
|
+
creationDate,
|
|
60
|
+
prizePromo,
|
|
61
|
+
directDebitMandate,
|
|
62
|
+
navigation,
|
|
63
|
+
cname,
|
|
64
|
+
};
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
[[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,33 @@
|
|
|
1
|
+
# PortalLoginModel
|
|
2
|
+
|
|
3
|
+
Portal Login
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**email** | **string** | Email Address | [optional] [default to undefined]
|
|
10
|
+
**password** | **string** | Password | [optional] [default to undefined]
|
|
11
|
+
**code** | **string** | MFA Code | [optional] [default to undefined]
|
|
12
|
+
**secret** | **string** | MFA Secret | [optional] [default to undefined]
|
|
13
|
+
**codeChallenge** | **string** | Oauth 2.0 code challenge | [optional] [default to undefined]
|
|
14
|
+
**codeVerifier** | **string** | Oauth 2.0 code verifier | [optional] [default to undefined]
|
|
15
|
+
**redirect_uri** | **string** | Oauth 2.0 code redirect uri | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { PortalLoginModel } from 'yellowgrid-api-ts';
|
|
21
|
+
|
|
22
|
+
const instance: PortalLoginModel = {
|
|
23
|
+
email,
|
|
24
|
+
password,
|
|
25
|
+
code,
|
|
26
|
+
secret,
|
|
27
|
+
codeChallenge,
|
|
28
|
+
codeVerifier,
|
|
29
|
+
redirect_uri,
|
|
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)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# PostAddWebhook200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**url** | **string** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { PostAddWebhook200Response } from 'yellowgrid-api-ts';
|
|
14
|
+
|
|
15
|
+
const instance: PostAddWebhook200Response = {
|
|
16
|
+
url,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[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,20 @@
|
|
|
1
|
+
# PostGetClientCredentialsRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**scopes** | **Array<string>** | OAuth 2.0 scopes | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { PostGetClientCredentialsRequest } from 'yellowgrid-api-ts';
|
|
14
|
+
|
|
15
|
+
const instance: PostGetClientCredentialsRequest = {
|
|
16
|
+
scopes,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[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
|
+
# PriceListItemModel
|
|
2
|
+
|
|
3
|
+
Price & Stock List
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**title** | **string** | Title | [optional] [default to undefined]
|
|
10
|
+
**sku** | **string** | SKU | [optional] [default to undefined]
|
|
11
|
+
**price** | **number** | Price | [optional] [default to undefined]
|
|
12
|
+
**rrp** | **number** | RRP | [optional] [default to undefined]
|
|
13
|
+
**stock** | **number** | Stock | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { PriceListItemModel } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: PriceListItemModel = {
|
|
21
|
+
title,
|
|
22
|
+
sku,
|
|
23
|
+
price,
|
|
24
|
+
rrp,
|
|
25
|
+
stock,
|
|
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)
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
# PricingApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://api.yellowgrid.local*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getGetPriceList**](#getgetpricelist) | **GET** /finance/pricing/lists | Get Price List|
|
|
8
|
+
|[**postSendPriceList**](#postsendpricelist) | **POST** /finance/pricing/lists/send | Send Price List|
|
|
9
|
+
|
|
10
|
+
# **getGetPriceList**
|
|
11
|
+
> File getGetPriceList()
|
|
12
|
+
|
|
13
|
+
Get Price List
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import {
|
|
19
|
+
PricingApi,
|
|
20
|
+
Configuration
|
|
21
|
+
} from 'yellowgrid-api-ts';
|
|
22
|
+
|
|
23
|
+
const configuration = new Configuration();
|
|
24
|
+
const apiInstance = new PricingApi(configuration);
|
|
25
|
+
|
|
26
|
+
let type: 'Products' | 'Stock Products' | '3CX Licences' | 'Hosted By Yellowgrid' | '3CX Starter Bundle' | 'EdTechPro' | 'SMS' | 'SIP Trunks'; //Price List Type (default to undefined)
|
|
27
|
+
let format: 'pdf' | 'json' | 'csv' | 'xml' | 'html'; //Document Format (default to undefined)
|
|
28
|
+
let category: 'Yealink' | 'Mairdi' | 'Jabra' | '3CX' | 'Fanvil' | 'VT' | 'Netgear' | 'Algo' | 'Yealink Headsets' | 'Yealink DECT Handsets' | 'Yealink DECT Headsets' | 'Yealink BT Headsets' | 'Yealink USB Wired Headsets' | 'Yealink Meeting Rooms' | 'Fanvil Phones' | 'Fanvil Headsets' | 'Fanvil Wireless Phones' | 'Fanvil Security Products' | 'Fanvil Accessories' | 'Fanvil Hotel Phones'; //Product Category (optional) (default to undefined)
|
|
29
|
+
let customerId: string; //Customer ID (optional) (default to undefined)
|
|
30
|
+
|
|
31
|
+
const { status, data } = await apiInstance.getGetPriceList(
|
|
32
|
+
type,
|
|
33
|
+
format,
|
|
34
|
+
category,
|
|
35
|
+
customerId
|
|
36
|
+
);
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Parameters
|
|
40
|
+
|
|
41
|
+
|Name | Type | Description | Notes|
|
|
42
|
+
|------------- | ------------- | ------------- | -------------|
|
|
43
|
+
| **type** | [**'Products' | 'Stock Products' | '3CX Licences' | 'Hosted By Yellowgrid' | '3CX Starter Bundle' | 'EdTechPro' | 'SMS' | 'SIP Trunks'**]**Array<'Products' | 'Stock Products' | '3CX Licences' | 'Hosted By Yellowgrid' | '3CX Starter Bundle' | 'EdTechPro' | 'SMS' | 'SIP Trunks'>** | Price List Type | defaults to undefined|
|
|
44
|
+
| **format** | [**'pdf' | 'json' | 'csv' | 'xml' | 'html'**]**Array<'pdf' | 'json' | 'csv' | 'xml' | 'html'>** | Document Format | defaults to undefined|
|
|
45
|
+
| **category** | [**'Yealink' | 'Mairdi' | 'Jabra' | '3CX' | 'Fanvil' | 'VT' | 'Netgear' | 'Algo' | 'Yealink Headsets' | 'Yealink DECT Handsets' | 'Yealink DECT Headsets' | 'Yealink BT Headsets' | 'Yealink USB Wired Headsets' | 'Yealink Meeting Rooms' | 'Fanvil Phones' | 'Fanvil Headsets' | 'Fanvil Wireless Phones' | 'Fanvil Security Products' | 'Fanvil Accessories' | 'Fanvil Hotel Phones'**]**Array<'Yealink' | 'Mairdi' | 'Jabra' | '3CX' | 'Fanvil' | 'VT' | 'Netgear' | 'Algo' | 'Yealink Headsets' | 'Yealink DECT Handsets' | 'Yealink DECT Headsets' | 'Yealink BT Headsets' | 'Yealink USB Wired Headsets' | 'Yealink Meeting Rooms' | 'Fanvil Phones' | 'Fanvil Headsets' | 'Fanvil Wireless Phones' | 'Fanvil Security Products' | 'Fanvil Accessories' | 'Fanvil Hotel Phones'>** | Product Category | (optional) defaults to undefined|
|
|
46
|
+
| **customerId** | [**string**] | Customer ID | (optional) defaults to undefined|
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Return type
|
|
50
|
+
|
|
51
|
+
**File**
|
|
52
|
+
|
|
53
|
+
### Authorization
|
|
54
|
+
|
|
55
|
+
No authorization required
|
|
56
|
+
|
|
57
|
+
### HTTP request headers
|
|
58
|
+
|
|
59
|
+
- **Content-Type**: Not defined
|
|
60
|
+
- **Accept**: application/pdf, text/csv, text/html, application/json, application/xml
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### HTTP response details
|
|
64
|
+
| Status code | Description | Response headers |
|
|
65
|
+
|-------------|-------------|------------------|
|
|
66
|
+
|**200** | Price List | - |
|
|
67
|
+
|**400** | Bad Request | - |
|
|
68
|
+
|**401** | Unauthorised | - |
|
|
69
|
+
|**403** | Access Denied | - |
|
|
70
|
+
|
|
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
|
+
|
|
73
|
+
# **postSendPriceList**
|
|
74
|
+
> postSendPriceList()
|
|
75
|
+
|
|
76
|
+
Send Price List
|
|
77
|
+
|
|
78
|
+
### Example
|
|
79
|
+
|
|
80
|
+
```typescript
|
|
81
|
+
import {
|
|
82
|
+
PricingApi,
|
|
83
|
+
Configuration
|
|
84
|
+
} from 'yellowgrid-api-ts';
|
|
85
|
+
|
|
86
|
+
const configuration = new Configuration();
|
|
87
|
+
const apiInstance = new PricingApi(configuration);
|
|
88
|
+
|
|
89
|
+
let email: string; //Email Address (default to undefined)
|
|
90
|
+
let customerId: string; //Customer ID (default to undefined)
|
|
91
|
+
let type: 'Products' | 'Stock Products' | '3CX Licences' | 'Hosted By Yellowgrid' | '3CX Starter Bundle' | 'EdTechPro' | 'SMS' | 'SIP Trunks'; //Price List Type (default to undefined)
|
|
92
|
+
let format: 'pdf' | 'json' | 'csv' | 'xml' | 'html'; //Document Format (default to undefined)
|
|
93
|
+
let category: 'Yealink' | 'Mairdi' | 'Jabra' | '3CX' | 'Fanvil' | 'VT' | 'Netgear' | 'Algo' | 'Yealink Headsets' | 'Yealink DECT Handsets' | 'Yealink DECT Headsets' | 'Yealink BT Headsets' | 'Yealink USB Wired Headsets' | 'Yealink Meeting Rooms' | 'Fanvil Phones' | 'Fanvil Headsets' | 'Fanvil Wireless Phones' | 'Fanvil Security Products' | 'Fanvil Accessories' | 'Fanvil Hotel Phones'; //Product Category (optional) (default to undefined)
|
|
94
|
+
|
|
95
|
+
const { status, data } = await apiInstance.postSendPriceList(
|
|
96
|
+
email,
|
|
97
|
+
customerId,
|
|
98
|
+
type,
|
|
99
|
+
format,
|
|
100
|
+
category
|
|
101
|
+
);
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Parameters
|
|
105
|
+
|
|
106
|
+
|Name | Type | Description | Notes|
|
|
107
|
+
|------------- | ------------- | ------------- | -------------|
|
|
108
|
+
| **email** | [**string**] | Email Address | defaults to undefined|
|
|
109
|
+
| **customerId** | [**string**] | Customer ID | defaults to undefined|
|
|
110
|
+
| **type** | [**'Products' | 'Stock Products' | '3CX Licences' | 'Hosted By Yellowgrid' | '3CX Starter Bundle' | 'EdTechPro' | 'SMS' | 'SIP Trunks'**]**Array<'Products' | 'Stock Products' | '3CX Licences' | 'Hosted By Yellowgrid' | '3CX Starter Bundle' | 'EdTechPro' | 'SMS' | 'SIP Trunks'>** | Price List Type | defaults to undefined|
|
|
111
|
+
| **format** | [**'pdf' | 'json' | 'csv' | 'xml' | 'html'**]**Array<'pdf' | 'json' | 'csv' | 'xml' | 'html'>** | Document Format | defaults to undefined|
|
|
112
|
+
| **category** | [**'Yealink' | 'Mairdi' | 'Jabra' | '3CX' | 'Fanvil' | 'VT' | 'Netgear' | 'Algo' | 'Yealink Headsets' | 'Yealink DECT Handsets' | 'Yealink DECT Headsets' | 'Yealink BT Headsets' | 'Yealink USB Wired Headsets' | 'Yealink Meeting Rooms' | 'Fanvil Phones' | 'Fanvil Headsets' | 'Fanvil Wireless Phones' | 'Fanvil Security Products' | 'Fanvil Accessories' | 'Fanvil Hotel Phones'**]**Array<'Yealink' | 'Mairdi' | 'Jabra' | '3CX' | 'Fanvil' | 'VT' | 'Netgear' | 'Algo' | 'Yealink Headsets' | 'Yealink DECT Handsets' | 'Yealink DECT Headsets' | 'Yealink BT Headsets' | 'Yealink USB Wired Headsets' | 'Yealink Meeting Rooms' | 'Fanvil Phones' | 'Fanvil Headsets' | 'Fanvil Wireless Phones' | 'Fanvil Security Products' | 'Fanvil Accessories' | 'Fanvil Hotel Phones'>** | Product Category | (optional) defaults to undefined|
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
### Return type
|
|
116
|
+
|
|
117
|
+
void (empty response body)
|
|
118
|
+
|
|
119
|
+
### Authorization
|
|
120
|
+
|
|
121
|
+
No authorization required
|
|
122
|
+
|
|
123
|
+
### HTTP request headers
|
|
124
|
+
|
|
125
|
+
- **Content-Type**: Not defined
|
|
126
|
+
- **Accept**: Not defined
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
### HTTP response details
|
|
130
|
+
| Status code | Description | Response headers |
|
|
131
|
+
|-------------|-------------|------------------|
|
|
132
|
+
|**200** | No Response | - |
|
|
133
|
+
|**400** | Bad Request | - |
|
|
134
|
+
|**401** | Unauthorised | - |
|
|
135
|
+
|**403** | Access Denied | - |
|
|
136
|
+
|
|
137
|
+
[[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)
|
|
138
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# PrizesEntity
|
|
2
|
+
|
|
3
|
+
PrizesEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**year** | **number** | year | [optional] [default to undefined]
|
|
11
|
+
**sku** | **string** | sku | [optional] [default to undefined]
|
|
12
|
+
**title** | **string** | title | [optional] [default to undefined]
|
|
13
|
+
**target** | **number** | target | [optional] [default to undefined]
|
|
14
|
+
**image** | **string** | image | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { PrizesEntity } from 'yellowgrid-api-ts';
|
|
20
|
+
|
|
21
|
+
const instance: PrizesEntity = {
|
|
22
|
+
id,
|
|
23
|
+
year,
|
|
24
|
+
sku,
|
|
25
|
+
title,
|
|
26
|
+
target,
|
|
27
|
+
image,
|
|
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,21 @@
|
|
|
1
|
+
# ProductSearchResultsModel
|
|
2
|
+
|
|
3
|
+
Product Search Results
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**results** | [**Array<ProductSummaryModel>**](ProductSummaryModel.md) | Results | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ProductSearchResultsModel } from 'yellowgrid-api-ts';
|
|
15
|
+
|
|
16
|
+
const instance: ProductSearchResultsModel = {
|
|
17
|
+
results,
|
|
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)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# ProductSerialInfoModel
|
|
2
|
+
|
|
3
|
+
Product Serial Info
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**sku** | **string** | SKU | [optional] [default to undefined]
|
|
10
|
+
**title** | **string** | Product Title | [optional] [default to undefined]
|
|
11
|
+
**mac** | **boolean** | Has MAC Address | [optional] [default to undefined]
|
|
12
|
+
**serial_prefixes** | **Array<string>** | Serial Prefix | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { ProductSerialInfoModel } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: ProductSerialInfoModel = {
|
|
20
|
+
sku,
|
|
21
|
+
title,
|
|
22
|
+
mac,
|
|
23
|
+
serial_prefixes,
|
|
24
|
+
};
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
[[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,31 @@
|
|
|
1
|
+
# ProductSummaryModel
|
|
2
|
+
|
|
3
|
+
Product Summary
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**sku** | **string** | SKU | [optional] [default to undefined]
|
|
10
|
+
**title** | **string** | Title | [optional] [default to undefined]
|
|
11
|
+
**quantity** | **number** | Stock Quantity | [optional] [default to undefined]
|
|
12
|
+
**stockProduct** | **boolean** | Stock Product | [optional] [default to undefined]
|
|
13
|
+
**price** | **number** | Price | [optional] [default to undefined]
|
|
14
|
+
**cartonSize** | **number** | Carton Size | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { ProductSummaryModel } from 'yellowgrid-api-ts';
|
|
20
|
+
|
|
21
|
+
const instance: ProductSummaryModel = {
|
|
22
|
+
sku,
|
|
23
|
+
title,
|
|
24
|
+
quantity,
|
|
25
|
+
stockProduct,
|
|
26
|
+
price,
|
|
27
|
+
cartonSize,
|
|
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)
|