Skip to content

Commit 268df96

Browse files
committed
refactor: Update client to docs d.d. 2023-10-10
1 parent b399932 commit 268df96

7 files changed

+240
-1
lines changed

src/Picqer/Financials/Exact/AccountDocumentFolder.php

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
* @property string $CreatorFullName Name of creator
1616
* @property string $Description Document folder description
1717
* @property int $Division Division code
18+
* @property bool $IsRootConV2 IsRootConV2
1819
* @property string $Modified Last modified date
1920
* @property string $Modifier User ID of modifier
2021
* @property string $ModifierFullName Name of modifier
@@ -36,6 +37,7 @@ class AccountDocumentFolder extends Model
3637
'CreatorFullName',
3738
'Description',
3839
'Division',
40+
'IsRootConV2',
3941
'Modified',
4042
'Modifier',
4143
'ModifierFullName',
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<?php
2+
3+
namespace Picqer\Financials\Exact;
4+
5+
/**
6+
* Class AssemblyBillOfMaterialHeader.
7+
*
8+
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=InventoryAssemblyBillOfMaterialHeader
9+
*
10+
* @property string $ID Primary key, it is an item ID
11+
* @property int $AssembledLeadDays Main item assembly lead days
12+
* @property AssemblyBillOfMaterialMaterial[] $AssemblyBillOfMaterialMaterials Collection of materials
13+
* @property float $BatchQuantity Quantity of the material needed to produce the batch
14+
* @property string $Code Item code
15+
* @property float $CostPrice Cost price of the item
16+
* @property string $Created Creation date
17+
* @property string $Creator User ID of creator
18+
* @property string $CreatorFullName Name of creator
19+
* @property string $Description Description of the item
20+
* @property int $Division Division
21+
* @property string $Modified Last modified date
22+
* @property string $Modifier User ID of modifier
23+
* @property string $ModifierFullName Name of modifier
24+
* @property string $Notes Notes
25+
* @property bool $UpdateCostPrice Indicates if cost price is updated
26+
* @property int $UseExplosion Indicates if main item assemble at delivery is used
27+
*/
28+
class AssemblyBillOfMaterialHeader extends Model
29+
{
30+
use Query\Findable;
31+
use Persistance\Storable;
32+
33+
protected $fillable = [
34+
'ID',
35+
'AssembledLeadDays',
36+
'AssemblyBillOfMaterialMaterials',
37+
'BatchQuantity',
38+
'Code',
39+
'CostPrice',
40+
'Created',
41+
'Creator',
42+
'CreatorFullName',
43+
'Description',
44+
'Division',
45+
'Modified',
46+
'Modifier',
47+
'ModifierFullName',
48+
'Notes',
49+
'UpdateCostPrice',
50+
'UseExplosion',
51+
];
52+
53+
protected $url = 'inventory/AssemblyBillOfMaterialHeader';
54+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<?php
2+
3+
namespace Picqer\Financials\Exact;
4+
5+
/**
6+
* Class AssemblyBillOfMaterialMaterial.
7+
*
8+
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=InventoryAssemblyBillOfMaterialMaterials
9+
*
10+
* @property string $ID Primary key
11+
* @property string $AssembledItem Main item
12+
* @property string $AssembledItemCode Main item code
13+
* @property string $AssembledItemDescription Main item description
14+
* @property int $AssembledLeadDays Main item assembly lead days
15+
* @property float $BatchQuantity Main item batch quantity
16+
* @property string $Created Creation date
17+
* @property string $Creator User ID of the creator
18+
* @property int $Division Division
19+
* @property int $LineNumber Line number
20+
* @property string $Modified Last modified date
21+
* @property string $Modifier User ID of the modifier
22+
* @property string $PartItem Key of part item
23+
* @property string $PartItemCode Part item code
24+
* @property string $PartItemDescription Part item description
25+
* @property float $Quantity Quantity of the part item to produce main item
26+
* @property float $QuantityBatch Quantity of the part item to produce the batch
27+
* @property bool $UpdateCostPrice Indicates if cost price is updated
28+
* @property int $UseExplosion Indicates if main item assemble at delivery is used
29+
*/
30+
class AssemblyBillOfMaterialMaterial extends Model
31+
{
32+
use Query\Findable;
33+
use Persistance\Storable;
34+
35+
protected $fillable = [
36+
'ID',
37+
'AssembledItem',
38+
'AssembledItemCode',
39+
'AssembledItemDescription',
40+
'AssembledLeadDays',
41+
'BatchQuantity',
42+
'Created',
43+
'Creator',
44+
'Division',
45+
'LineNumber',
46+
'Modified',
47+
'Modifier',
48+
'PartItem',
49+
'PartItemCode',
50+
'PartItemDescription',
51+
'Quantity',
52+
'QuantityBatch',
53+
'UpdateCostPrice',
54+
'UseExplosion',
55+
];
56+
57+
protected $url = 'inventory/AssemblyBillOfMaterialMaterials';
58+
}

src/Picqer/Financials/Exact/ItemWarehousePlanningDetail.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* @property int $PlanningSourceLineNumber Line number of the PlanningSource if the PlanningSourceType supports line numbers
1919
* @property int $PlanningSourceNumber Human readable number of the PlanningSource - Examples: Shop order number '201600001' or Sales order number '2016020001'
2020
* @property string $PlanningSourceUrl REST API URL of this specific PlanningSource and PlanningSourceID (Assembly orders and warehouse transfers not supported over REST)
21-
* @property int $PlanningType Type of the PlanningSource - 120=GoodsDelivery, 124=WarehouseTransferDelivery, 130=GoodsReceipt, 134=WarehouseTransferReceipt, 140=ShopOrderStockReceipt, 147=ShopOrderByProductReceipt, 150=ShopOrderRequirement, 160=AssemblyOrderReceipt, 165=AssemblyOrderIssue, 200=Trade-in
21+
* @property int $PlanningType Type of the PlanningSource - 120=GoodsDelivery, 124=WarehouseTransferDelivery, 130=GoodsReceipt, 134=WarehouseTransferReceipt, 140=ShopOrderStockReceipt, 147=ShopOrderByProductReceipt, 150=ShopOrderRequirement, 160=AssemblyOrderReceipt, 161=DisassemblyReturnReceipt, 165=AssemblyOrderIssue, 166=DisassemblyReturnIssue, 200=Trade-in
2222
* @property string $PlanningTypeDescription Human readable description of the PlanningSourceType (translated to user's language) - Examples: 'Shop order stock receipt' or 'Goods delivery'
2323
* @property string $Warehouse ID of warehouse
2424
* @property string $WarehouseCode Code of warehouse
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?php
2+
3+
namespace Picqer\Financials\Exact;
4+
5+
/**
6+
* Class ProcessReturn.
7+
*
8+
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=FinancialProcessReturn
9+
*
10+
* @property string $Request Reference to request.
11+
* @property bool $Processed Indicates if the status change was processed
12+
* @property int $Status The status of the request : 5 - Rejected, 50 - Processed
13+
*/
14+
class ProcessReturn extends Model
15+
{
16+
use Query\Findable;
17+
use Persistance\Storable;
18+
19+
protected $primaryKey = 'Request';
20+
21+
protected $fillable = [
22+
'Request',
23+
'Processed',
24+
'Status',
25+
];
26+
27+
protected $url = 'financial/ProcessReturn';
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<?php
2+
3+
namespace Picqer\Financials\Exact;
4+
5+
/**
6+
* Class ProjectProgressReport.
7+
*
8+
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=ProjectProjectProgressReports
9+
*
10+
* @property string $ID Primary key
11+
* @property string $Created Creation date
12+
* @property string $Creator User ID of creator
13+
* @property string $CreatorFullName Name of creator
14+
* @property string $CustomField Custom field endpoint. Provided only for the Exact Online Premium users.
15+
* @property string $Description The description of the progress report
16+
* @property int $Division The code of the company that the record is stored in
17+
* @property float $EstimatedPercentageCompleted Estimate project completed in percentage
18+
* @property string $EstimatedProjectEndDate Estimated project completion date
19+
* @property string $Modified Last modified date
20+
* @property string $Modifier User ID of modifier
21+
* @property string $ModifierFullName Name of modifier
22+
* @property string $Project Project ID that is linked to the progress report
23+
* @property string $ProjectCode Project code that is linked to the progress report
24+
* @property string $ProjectDescription Project description that is linked to the progress report
25+
* @property string $ReferenceDate Reference date
26+
* @property string $Report Rich text of this progress report
27+
*/
28+
class ProjectProgressReport extends Model
29+
{
30+
use Query\Findable;
31+
32+
protected $fillable = [
33+
'ID',
34+
'Created',
35+
'Creator',
36+
'CreatorFullName',
37+
'CustomField',
38+
'Description',
39+
'Division',
40+
'EstimatedPercentageCompleted',
41+
'EstimatedProjectEndDate',
42+
'Modified',
43+
'Modifier',
44+
'ModifierFullName',
45+
'Project',
46+
'ProjectCode',
47+
'ProjectDescription',
48+
'ReferenceDate',
49+
'Report',
50+
];
51+
52+
protected $url = 'project/ProjectProgressReports';
53+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?php
2+
3+
namespace Picqer\Financials\Exact;
4+
5+
/**
6+
* Class VariableMutation.
7+
*
8+
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=PayrollVariableMutations
9+
*
10+
* @property string $ID Primary key
11+
* @property string $Description Description for the payroll component entry
12+
* @property int $EmployeeHID Numeric number of Employee
13+
* @property string $EmployeeID Employee ID
14+
* @property int $EntryFieldType Entry field types: 1 = Quantity, 2 = Amount, 3 = Percentage
15+
* @property string $Notes Notes for the payroll component entry
16+
* @property string $PayrollComponent Payroll component code
17+
* @property string $PayrollComponentID Payroll component ID
18+
* @property int $PayrollPeriod Payroll period
19+
* @property int $PayrollYear Payroll year
20+
* @property int $Type Type of the entry:1 = Days worked, 2 = Hours worked, 3 = Days ill, 4 = Hours ill, 5 = Days leave, 6 = Hours leave, 7 = Payroll component, 8 = Days care leave, 9 = Hours care leave, 10 = Days extended partner leave, 11 = Hours extended partner leave, 12 = Days Unpaid Leave, 13 = Hours Unpaid Leave, 14 = Days Paid Parental Leave, 15 = Hours Paid Parental Leave
21+
* @property float $Value Value of the entry
22+
*/
23+
class VariableMutation extends Model
24+
{
25+
use Query\Findable;
26+
use Persistance\Storable;
27+
28+
protected $fillable = [
29+
'ID',
30+
'Description',
31+
'EmployeeHID',
32+
'EmployeeID',
33+
'EntryFieldType',
34+
'Notes',
35+
'PayrollComponent',
36+
'PayrollComponentID',
37+
'PayrollPeriod',
38+
'PayrollYear',
39+
'Type',
40+
'Value',
41+
];
42+
43+
protected $url = 'payroll/VariableMutations';
44+
}

0 commit comments

Comments
 (0)