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,27 @@
|
|
|
1
|
+
# StockOrderCourierEntity
|
|
2
|
+
|
|
3
|
+
DistCourierEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**company** | **string** | company | [optional] [default to undefined]
|
|
11
|
+
**name** | **string** | name | [optional] [default to undefined]
|
|
12
|
+
**email** | **string** | email | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { StockOrderCourierEntity } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: StockOrderCourierEntity = {
|
|
20
|
+
id,
|
|
21
|
+
company,
|
|
22
|
+
name,
|
|
23
|
+
email,
|
|
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,27 @@
|
|
|
1
|
+
# StockOrderDeductionModel
|
|
2
|
+
|
|
3
|
+
Stock Order Deduction
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**orderId** | **number** | orderId | [optional] [default to undefined]
|
|
11
|
+
**amount** | **number** | amount | [optional] [default to undefined]
|
|
12
|
+
**reason** | **string** | reason | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { StockOrderDeductionModel } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: StockOrderDeductionModel = {
|
|
20
|
+
id,
|
|
21
|
+
orderId,
|
|
22
|
+
amount,
|
|
23
|
+
reason,
|
|
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,23 @@
|
|
|
1
|
+
# StockOrderDeductionRequestModel
|
|
2
|
+
|
|
3
|
+
Stock Order Deduction Request
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**amount** | **number** | Amount | [optional] [default to undefined]
|
|
10
|
+
**reason** | **string** | Reason | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { StockOrderDeductionRequestModel } from 'yellowgrid-api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: StockOrderDeductionRequestModel = {
|
|
18
|
+
amount,
|
|
19
|
+
reason,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[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
|
+
# StockOrderDeductionsEntity
|
|
2
|
+
|
|
3
|
+
DistDeductionsEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**orderId** | **number** | orderId | [optional] [default to undefined]
|
|
11
|
+
**amount** | **number** | amount | [optional] [default to undefined]
|
|
12
|
+
**reason** | **string** | reason | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { StockOrderDeductionsEntity } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: StockOrderDeductionsEntity = {
|
|
20
|
+
id,
|
|
21
|
+
orderId,
|
|
22
|
+
amount,
|
|
23
|
+
reason,
|
|
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,63 @@
|
|
|
1
|
+
# StockOrderEntity
|
|
2
|
+
|
|
3
|
+
DistOrderEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**status** | **number** | status | [optional] [default to undefined]
|
|
11
|
+
**orderDate** | **string** | orderDate | [optional] [default to undefined]
|
|
12
|
+
**supplierId** | **number** | manId | [optional] [default to undefined]
|
|
13
|
+
**poNumber** | **string** | poNumber | [optional] [default to undefined]
|
|
14
|
+
**exchangeRate** | **number** | exchRate | [optional] [default to undefined]
|
|
15
|
+
**total** | **number** | total | [optional] [default to undefined]
|
|
16
|
+
**supplierEmailSent** | **string** | manEmailSent | [optional] [default to undefined]
|
|
17
|
+
**paid** | **number** | paid | [optional] [default to undefined]
|
|
18
|
+
**weight** | **number** | weight | [optional] [default to undefined]
|
|
19
|
+
**dimensions** | **number** | dims | [optional] [default to undefined]
|
|
20
|
+
**supplierInvoice** | **string** | manInv | [optional] [default to undefined]
|
|
21
|
+
**courierId** | **number** | courierId | [optional] [default to undefined]
|
|
22
|
+
**deliveryMethod** | **string** | delMethod | [optional] [default to undefined]
|
|
23
|
+
**deliveryType** | **string** | delType | [optional] [default to undefined]
|
|
24
|
+
**courierQuote** | **string** | courierQuote | [optional] [default to undefined]
|
|
25
|
+
**deliveryCost** | **number** | delCost | [optional] [default to undefined]
|
|
26
|
+
**deliveryDuty** | **number** | delDuty | [optional] [default to undefined]
|
|
27
|
+
**deliveryPaid** | **number** | delPaid | [optional] [default to undefined]
|
|
28
|
+
**dutyPaid** | **number** | dutyPaid | [optional] [default to undefined]
|
|
29
|
+
**shipmentId** | **string** | delId | [optional] [default to undefined]
|
|
30
|
+
**deliveryDate** | **string** | delDate | [optional] [default to undefined]
|
|
31
|
+
|
|
32
|
+
## Example
|
|
33
|
+
|
|
34
|
+
```typescript
|
|
35
|
+
import { StockOrderEntity } from 'yellowgrid-api-ts';
|
|
36
|
+
|
|
37
|
+
const instance: StockOrderEntity = {
|
|
38
|
+
id,
|
|
39
|
+
status,
|
|
40
|
+
orderDate,
|
|
41
|
+
supplierId,
|
|
42
|
+
poNumber,
|
|
43
|
+
exchangeRate,
|
|
44
|
+
total,
|
|
45
|
+
supplierEmailSent,
|
|
46
|
+
paid,
|
|
47
|
+
weight,
|
|
48
|
+
dimensions,
|
|
49
|
+
supplierInvoice,
|
|
50
|
+
courierId,
|
|
51
|
+
deliveryMethod,
|
|
52
|
+
deliveryType,
|
|
53
|
+
courierQuote,
|
|
54
|
+
deliveryCost,
|
|
55
|
+
deliveryDuty,
|
|
56
|
+
deliveryPaid,
|
|
57
|
+
dutyPaid,
|
|
58
|
+
shipmentId,
|
|
59
|
+
deliveryDate,
|
|
60
|
+
};
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
[[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
|
+
# StockOrderItemEntity
|
|
2
|
+
|
|
3
|
+
DistItemsEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**orderId** | **number** | orderId | [optional] [default to undefined]
|
|
11
|
+
**itemId** | **number** | itemId | [optional] [default to undefined]
|
|
12
|
+
**note** | **string** | note | [optional] [default to undefined]
|
|
13
|
+
**quantity** | **number** | quantity | [optional] [default to undefined]
|
|
14
|
+
**price** | **number** | price | [optional] [default to undefined]
|
|
15
|
+
**received** | **number** | received | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { StockOrderItemEntity } from 'yellowgrid-api-ts';
|
|
21
|
+
|
|
22
|
+
const instance: StockOrderItemEntity = {
|
|
23
|
+
id,
|
|
24
|
+
orderId,
|
|
25
|
+
itemId,
|
|
26
|
+
note,
|
|
27
|
+
quantity,
|
|
28
|
+
price,
|
|
29
|
+
received,
|
|
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,37 @@
|
|
|
1
|
+
# StockOrderItemModel
|
|
2
|
+
|
|
3
|
+
Stock Order Item
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**orderId** | **number** | orderId | [optional] [default to undefined]
|
|
11
|
+
**itemId** | **number** | itemId | [optional] [default to undefined]
|
|
12
|
+
**note** | **string** | note | [optional] [default to undefined]
|
|
13
|
+
**quantity** | **number** | quantity | [optional] [default to undefined]
|
|
14
|
+
**price** | **number** | price | [optional] [default to undefined]
|
|
15
|
+
**received** | **number** | received | [optional] [default to undefined]
|
|
16
|
+
**sku** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**title** | **string** | | [optional] [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { StockOrderItemModel } from 'yellowgrid-api-ts';
|
|
23
|
+
|
|
24
|
+
const instance: StockOrderItemModel = {
|
|
25
|
+
id,
|
|
26
|
+
orderId,
|
|
27
|
+
itemId,
|
|
28
|
+
note,
|
|
29
|
+
quantity,
|
|
30
|
+
price,
|
|
31
|
+
received,
|
|
32
|
+
sku,
|
|
33
|
+
title,
|
|
34
|
+
};
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
[[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
|
+
# StockOrderItemRequestModel
|
|
2
|
+
|
|
3
|
+
Stock Order Item Request
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**sku** | **string** | SKU | [optional] [default to undefined]
|
|
10
|
+
**quantity** | **number** | Quantity | [optional] [default to undefined]
|
|
11
|
+
**price** | **number** | Price | [optional] [default to undefined]
|
|
12
|
+
**note** | **string** | Item Note | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { StockOrderItemRequestModel } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: StockOrderItemRequestModel = {
|
|
20
|
+
sku,
|
|
21
|
+
quantity,
|
|
22
|
+
price,
|
|
23
|
+
note,
|
|
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,49 @@
|
|
|
1
|
+
# StockOrderModel
|
|
2
|
+
|
|
3
|
+
Stock Order
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | ID | [optional] [default to undefined]
|
|
10
|
+
**reference** | **string** | Reference | [optional] [default to undefined]
|
|
11
|
+
**poNumber** | **string** | Purchase Order Number | [optional] [default to undefined]
|
|
12
|
+
**supplierId** | **number** | Supplier ID | [optional] [default to undefined]
|
|
13
|
+
**deliveryDate** | **string** | Delivery Due Date | [optional] [default to undefined]
|
|
14
|
+
**shipmentId** | **string** | Tracking ID | [optional] [default to undefined]
|
|
15
|
+
**deliveryMethod** | **string** | Delivery Method | [optional] [default to undefined]
|
|
16
|
+
**deliveryCost** | **number** | Delivery Cost | [optional] [default to undefined]
|
|
17
|
+
**exchangeRate** | **number** | Exchange Rate | [optional] [default to undefined]
|
|
18
|
+
**weight** | **number** | Weight | [optional] [default to undefined]
|
|
19
|
+
**dimensions** | **number** | dimensions | [optional] [default to undefined]
|
|
20
|
+
**paid** | **number** | Status | [optional] [default to undefined]
|
|
21
|
+
**totals** | [**OrderTotalModel**](OrderTotalModel.md) | | [optional] [default to undefined]
|
|
22
|
+
**items** | [**Array<StockOrderItemModel>**](StockOrderItemModel.md) | items | [optional] [default to undefined]
|
|
23
|
+
**deductions** | [**Array<StockOrderDeductionsEntity>**](StockOrderDeductionsEntity.md) | deductions | [optional] [default to undefined]
|
|
24
|
+
|
|
25
|
+
## Example
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
import { StockOrderModel } from 'yellowgrid-api-ts';
|
|
29
|
+
|
|
30
|
+
const instance: StockOrderModel = {
|
|
31
|
+
id,
|
|
32
|
+
reference,
|
|
33
|
+
poNumber,
|
|
34
|
+
supplierId,
|
|
35
|
+
deliveryDate,
|
|
36
|
+
shipmentId,
|
|
37
|
+
deliveryMethod,
|
|
38
|
+
deliveryCost,
|
|
39
|
+
exchangeRate,
|
|
40
|
+
weight,
|
|
41
|
+
dimensions,
|
|
42
|
+
paid,
|
|
43
|
+
totals,
|
|
44
|
+
items,
|
|
45
|
+
deductions,
|
|
46
|
+
};
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
[[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
|
+
# StockOrderProductEntity
|
|
2
|
+
|
|
3
|
+
DistPricesEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**manufacturerId** | **number** | manId | [optional] [default to undefined]
|
|
11
|
+
**sku** | **string** | sku | [optional] [default to undefined]
|
|
12
|
+
**title** | **string** | title | [optional] [default to undefined]
|
|
13
|
+
**price** | **number** | price | [optional] [default to undefined]
|
|
14
|
+
**carton** | **number** | carton | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { StockOrderProductEntity } from 'yellowgrid-api-ts';
|
|
20
|
+
|
|
21
|
+
const instance: StockOrderProductEntity = {
|
|
22
|
+
id,
|
|
23
|
+
manufacturerId,
|
|
24
|
+
sku,
|
|
25
|
+
title,
|
|
26
|
+
price,
|
|
27
|
+
carton,
|
|
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,25 @@
|
|
|
1
|
+
# StockOrderRequestModel
|
|
2
|
+
|
|
3
|
+
Stock Order Request
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**supplierId** | **number** | Supplier ID | [optional] [default to undefined]
|
|
10
|
+
**items** | [**Array<StockOrderItemRequestModel>**](StockOrderItemRequestModel.md) | Items | [optional] [default to undefined]
|
|
11
|
+
**deductions** | [**Array<StockOrderDeductionRequestModel>**](StockOrderDeductionRequestModel.md) | Deductions | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { StockOrderRequestModel } from 'yellowgrid-api-ts';
|
|
17
|
+
|
|
18
|
+
const instance: StockOrderRequestModel = {
|
|
19
|
+
supplierId,
|
|
20
|
+
items,
|
|
21
|
+
deductions,
|
|
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)
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# StockOrderSupplierEntity
|
|
2
|
+
|
|
3
|
+
DistManufacturerEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**company** | **string** | company | [optional] [default to undefined]
|
|
11
|
+
**name** | **string** | name | [optional] [default to undefined]
|
|
12
|
+
**address** | **string** | address | [optional] [default to undefined]
|
|
13
|
+
**email** | **string** | email | [optional] [default to undefined]
|
|
14
|
+
**cur** | **string** | cur | [optional] [default to undefined]
|
|
15
|
+
**tariff** | **string** | tariff | [optional] [default to undefined]
|
|
16
|
+
**xeroId** | **string** | xeroAccNo | [optional] [default to undefined]
|
|
17
|
+
**supplierId** | **number** | supplierId | [optional] [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { StockOrderSupplierEntity } from 'yellowgrid-api-ts';
|
|
23
|
+
|
|
24
|
+
const instance: StockOrderSupplierEntity = {
|
|
25
|
+
id,
|
|
26
|
+
company,
|
|
27
|
+
name,
|
|
28
|
+
address,
|
|
29
|
+
email,
|
|
30
|
+
cur,
|
|
31
|
+
tariff,
|
|
32
|
+
xeroId,
|
|
33
|
+
supplierId,
|
|
34
|
+
};
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
[[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,37 @@
|
|
|
1
|
+
# StockOrderSupplierModel
|
|
2
|
+
|
|
3
|
+
Stock Order Supplier
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**company** | **string** | company | [optional] [default to undefined]
|
|
11
|
+
**name** | **string** | name | [optional] [default to undefined]
|
|
12
|
+
**address** | **string** | address | [optional] [default to undefined]
|
|
13
|
+
**email** | **string** | email | [optional] [default to undefined]
|
|
14
|
+
**cur** | **string** | cur | [optional] [default to undefined]
|
|
15
|
+
**tariff** | **string** | tariff | [optional] [default to undefined]
|
|
16
|
+
**xeroId** | **string** | xeroAccNo | [optional] [default to undefined]
|
|
17
|
+
**supplierId** | **number** | supplierId | [optional] [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { StockOrderSupplierModel } from 'yellowgrid-api-ts';
|
|
23
|
+
|
|
24
|
+
const instance: StockOrderSupplierModel = {
|
|
25
|
+
id,
|
|
26
|
+
company,
|
|
27
|
+
name,
|
|
28
|
+
address,
|
|
29
|
+
email,
|
|
30
|
+
cur,
|
|
31
|
+
tariff,
|
|
32
|
+
xeroId,
|
|
33
|
+
supplierId,
|
|
34
|
+
};
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
[[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
|
+
# StockOrdersModel
|
|
2
|
+
|
|
3
|
+
Stock Orders
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**results** | [**Array<StockOrderModel>**](StockOrderModel.md) | Results | [optional] [default to undefined]
|
|
10
|
+
**page** | **number** | Page | [optional] [default to undefined]
|
|
11
|
+
**perPage** | **number** | Per Page | [optional] [default to undefined]
|
|
12
|
+
**totalResults** | **number** | Total Results | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { StockOrdersModel } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: StockOrdersModel = {
|
|
20
|
+
results,
|
|
21
|
+
page,
|
|
22
|
+
perPage,
|
|
23
|
+
totalResults,
|
|
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,49 @@
|
|
|
1
|
+
# StockProductModel
|
|
2
|
+
|
|
3
|
+
Stock Product
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**manufacturerId** | **number** | manId | [optional] [default to undefined]
|
|
11
|
+
**sku** | **string** | sku | [optional] [default to undefined]
|
|
12
|
+
**title** | **string** | title | [optional] [default to undefined]
|
|
13
|
+
**price** | **number** | price | [optional] [default to undefined]
|
|
14
|
+
**carton** | **number** | carton | [optional] [default to undefined]
|
|
15
|
+
**manufacturer** | [**StockOrderSupplierModel**](StockOrderSupplierModel.md) | | [optional] [default to undefined]
|
|
16
|
+
**attributeSet** | [**AttributeSetEnum**](AttributeSetEnum.md) | | [optional] [default to undefined]
|
|
17
|
+
**stock** | **number** | Current Quantity | [optional] [default to undefined]
|
|
18
|
+
**weight** | **number** | Weight (KG) | [optional] [default to undefined]
|
|
19
|
+
**ean** | **string** | EAN | [optional] [default to undefined]
|
|
20
|
+
**serialPrefix** | **string** | Serial Prefix | [optional] [default to undefined]
|
|
21
|
+
**tcxLabel** | **string** | 3CX Phone Label | [optional] [default to undefined]
|
|
22
|
+
**tcxTemplate** | [**TcxTemplateXmlEnum**](TcxTemplateXmlEnum.md) | | [optional] [default to undefined]
|
|
23
|
+
**salesPrices** | [**Array<StockProductPriceModel>**](StockProductPriceModel.md) | Prices | [optional] [default to undefined]
|
|
24
|
+
|
|
25
|
+
## Example
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
import { StockProductModel } from 'yellowgrid-api-ts';
|
|
29
|
+
|
|
30
|
+
const instance: StockProductModel = {
|
|
31
|
+
id,
|
|
32
|
+
manufacturerId,
|
|
33
|
+
sku,
|
|
34
|
+
title,
|
|
35
|
+
price,
|
|
36
|
+
carton,
|
|
37
|
+
manufacturer,
|
|
38
|
+
attributeSet,
|
|
39
|
+
stock,
|
|
40
|
+
weight,
|
|
41
|
+
ean,
|
|
42
|
+
serialPrefix,
|
|
43
|
+
tcxLabel,
|
|
44
|
+
tcxTemplate,
|
|
45
|
+
salesPrices,
|
|
46
|
+
};
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
[[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,23 @@
|
|
|
1
|
+
# StockProductPriceModel
|
|
2
|
+
|
|
3
|
+
Stock Product Price
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**priceList** | [**CustomerPriceListEnum**](CustomerPriceListEnum.md) | | [optional] [default to undefined]
|
|
10
|
+
**price** | **number** | Price (£) | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { StockProductPriceModel } from 'yellowgrid-api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: StockProductPriceModel = {
|
|
18
|
+
priceList,
|
|
19
|
+
price,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[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
|
+
# StockProductSummariesModel
|
|
2
|
+
|
|
3
|
+
Stock Products
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**results** | [**Array<StockProductSummaryModel>**](StockProductSummaryModel.md) | Results | [optional] [default to undefined]
|
|
10
|
+
**page** | **number** | Page | [optional] [default to undefined]
|
|
11
|
+
**perPage** | **number** | Per Page | [optional] [default to undefined]
|
|
12
|
+
**totalResults** | **number** | Total Results | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { StockProductSummariesModel } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: StockProductSummariesModel = {
|
|
20
|
+
results,
|
|
21
|
+
page,
|
|
22
|
+
perPage,
|
|
23
|
+
totalResults,
|
|
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,33 @@
|
|
|
1
|
+
# StockProductSummaryModel
|
|
2
|
+
|
|
3
|
+
Stock Product Summary
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**manufacturerId** | **number** | manId | [optional] [default to undefined]
|
|
11
|
+
**sku** | **string** | sku | [optional] [default to undefined]
|
|
12
|
+
**title** | **string** | title | [optional] [default to undefined]
|
|
13
|
+
**price** | **number** | price | [optional] [default to undefined]
|
|
14
|
+
**carton** | **number** | carton | [optional] [default to undefined]
|
|
15
|
+
**manufacturer** | [**StockOrderSupplierModel**](StockOrderSupplierModel.md) | | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { StockProductSummaryModel } from 'yellowgrid-api-ts';
|
|
21
|
+
|
|
22
|
+
const instance: StockProductSummaryModel = {
|
|
23
|
+
id,
|
|
24
|
+
manufacturerId,
|
|
25
|
+
sku,
|
|
26
|
+
title,
|
|
27
|
+
price,
|
|
28
|
+
carton,
|
|
29
|
+
manufacturer,
|
|
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,35 @@
|
|
|
1
|
+
# StockTransactionsEntity
|
|
2
|
+
|
|
3
|
+
StockTransactionsEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**sku** | **string** | sku | [optional] [default to undefined]
|
|
11
|
+
**initialStock** | **number** | initialStock | [optional] [default to undefined]
|
|
12
|
+
**action** | **string** | action | [optional] [default to undefined]
|
|
13
|
+
**quantity** | **number** | quantity | [optional] [default to undefined]
|
|
14
|
+
**currentStock** | **number** | currentStock | [optional] [default to undefined]
|
|
15
|
+
**timestamp** | **string** | timestamp | [optional] [default to undefined]
|
|
16
|
+
**user** | **number** | user | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { StockTransactionsEntity } from 'yellowgrid-api-ts';
|
|
22
|
+
|
|
23
|
+
const instance: StockTransactionsEntity = {
|
|
24
|
+
id,
|
|
25
|
+
sku,
|
|
26
|
+
initialStock,
|
|
27
|
+
action,
|
|
28
|
+
quantity,
|
|
29
|
+
currentStock,
|
|
30
|
+
timestamp,
|
|
31
|
+
user,
|
|
32
|
+
};
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|