Skip to content

Commit cf52334

Browse files
committed
PETOSS-656
1 parent 6ec08cf commit cf52334

File tree

144 files changed

+1980
-175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+1980
-175
lines changed

Diff for: docs/v2/accounting/index.html

+969-77
Large diffs are not rendered by default.

Diff for: docs/v2/appstore/index.html

+7-2
Original file line numberDiff line numberDiff line change
@@ -1624,7 +1624,10 @@ <h2>Parameters</h2>
16241624
"schema" : {
16251625
"$ref" : "#/components/schemas/CreateUsageRecord"
16261626
},
1627-
"example" : "{ \"timestamp\": \"2022-01-21T13:01:00\", \"quantity\": 10 }"
1627+
"example" : {
1628+
"timestamp" : "2022-01-21T13:01:00",
1629+
"quantity" : 10
1630+
}
16281631
}
16291632
},
16301633
"required" : true
@@ -1833,7 +1836,9 @@ <h2>Parameters</h2>
18331836
"schema" : {
18341837
"$ref" : "#/components/schemas/UpdateUsageRecord"
18351838
},
1836-
"example" : "{ \"quantity\": 10 }"
1839+
"example" : {
1840+
"quantity" : 10
1841+
}
18371842
}
18381843
},
18391844
"required" : true

Diff for: docs/v2/assets/index.html

+34-4
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,6 @@
10301030
};
10311031
defs["BookDepreciationDetail"] = {
10321032
"title" : "",
1033-
"required" : [ "name" ],
10341033
"properties" : {
10351034
"currentCapitalGain" : {
10361035
"type" : "number",
@@ -1084,7 +1083,6 @@
10841083
};
10851084
defs["BookDepreciationSetting"] = {
10861085
"title" : "",
1087-
"required" : [ "name" ],
10881086
"properties" : {
10891087
"depreciationMethod" : {
10901088
"type" : "string",
@@ -1569,7 +1567,28 @@ <h2>Parameters</h2>
15691567
"schema" : {
15701568
"$ref" : "#/components/schemas/Asset"
15711569
},
1572-
"example" : "{ \"assetName\":\"Computer74863\", \"assetNumber\":\"123477544\", \"purchaseDate\":\"2020-01-01\", \"purchasePrice\":100.0, \"disposalPrice\":23.23, \"assetStatus\":\"Draft\", \"bookDepreciationSetting\":{ \"depreciationMethod\":\"StraightLine\", \"averagingMethod\":\"ActualDays\", \"depreciationRate\":0.5, \"depreciationCalculationMethod\":\"None\" }, \"bookDepreciationDetail\":{ \"currentCapitalGain\":5.32, \"currentGainLoss\":3.88, \"depreciationStartDate\":\"2020-01-02\", \"costLimit\":100.0, \"currentAccumDepreciationAmount\":2.25 }, \"AccountingBookValue\":99.5 }"
1570+
"example" : {
1571+
"assetName" : "Computer74863",
1572+
"assetNumber" : "123477544",
1573+
"purchaseDate" : "2020-01-01",
1574+
"purchasePrice" : 100.0,
1575+
"disposalPrice" : 23.23,
1576+
"assetStatus" : "Draft",
1577+
"bookDepreciationSetting" : {
1578+
"depreciationMethod" : "StraightLine",
1579+
"averagingMethod" : "ActualDays",
1580+
"depreciationRate" : 0.5,
1581+
"depreciationCalculationMethod" : "None"
1582+
},
1583+
"bookDepreciationDetail" : {
1584+
"currentCapitalGain" : 5.32,
1585+
"currentGainLoss" : 3.88,
1586+
"depreciationStartDate" : "2020-01-02",
1587+
"costLimit" : 100.0,
1588+
"currentAccumDepreciationAmount" : 2.25
1589+
},
1590+
"AccountingBookValue" : 99.5
1591+
}
15731592
}
15741593
},
15751594
"required" : true
@@ -1727,7 +1746,18 @@ <h2>Parameters</h2>
17271746
"schema" : {
17281747
"$ref" : "#/components/schemas/AssetType"
17291748
},
1730-
"example" : "{ \"assetTypeName\":\"Machinery11004\", \"fixedAssetAccountId\":\"3d8d063a-c148-4bb8-8b3c-a5e2ad3b1e82\", \"depreciationExpenseAccountId\":\"d1602f69-f900-4616-8d34-90af393fa368\", \"accumulatedDepreciationAccountId\":\"9195cadd-8645-41e6-9f67-7bcd421defe8\", \"bookDepreciationSetting\":{ \"depreciationMethod\":\"DiminishingValue100\", \"averagingMethod\":\"ActualDays\", \"depreciationRate\":0.05, \"depreciationCalculationMethod\":\"None\" } }"
1749+
"example" : {
1750+
"assetTypeName" : "Machinery11004",
1751+
"fixedAssetAccountId" : "3d8d063a-c148-4bb8-8b3c-a5e2ad3b1e82",
1752+
"depreciationExpenseAccountId" : "d1602f69-f900-4616-8d34-90af393fa368",
1753+
"accumulatedDepreciationAccountId" : "9195cadd-8645-41e6-9f67-7bcd421defe8",
1754+
"bookDepreciationSetting" : {
1755+
"depreciationMethod" : "DiminishingValue100",
1756+
"averagingMethod" : "ActualDays",
1757+
"depreciationRate" : 0.05,
1758+
"depreciationCalculationMethod" : "None"
1759+
}
1760+
}
17311761
}
17321762
},
17331763
"required" : true

Diff for: docs/v2/payroll_au/index.html

+29-2
Original file line numberDiff line numberDiff line change
@@ -4156,7 +4156,25 @@ <h2>Parameters</h2>
41564156
"schema" : {
41574157
"$ref" : "#/components/schemas/PayItem"
41584158
},
4159-
"example" : "{ \"EarningsRates\": [ { \"Name\": \"MyRate\", \"AccountCode\": \"400\", \"TypeOfUnits\": \"4.00\", \"IsExemptFromTax\": true, \"IsExemptFromSuper\": true, \"IsReportableAsW1\": false, \"AllowanceContributesToAnnualLeaveRate\": false, \"AllowanceContributesToOvertimeRate\": false, \"EarningsType\": \"ORDINARYTIMEEARNINGS\", \"EarningsRateID\": \"1fa4e226-b711-46ba-a8a7-4344c9c5fb87\", \"RateType\": \"MULTIPLE\", \"RatePerUnit\": \"10.0\", \"Multiplier\": 1.5, \"Amount\": 5, \"EmploymentTerminationPaymentType\": \"O\" } ] }"
4159+
"example" : {
4160+
"EarningsRates" : [ {
4161+
"Name" : "MyRate",
4162+
"AccountCode" : "400",
4163+
"TypeOfUnits" : "4.00",
4164+
"IsExemptFromTax" : true,
4165+
"IsExemptFromSuper" : true,
4166+
"IsReportableAsW1" : false,
4167+
"AllowanceContributesToAnnualLeaveRate" : false,
4168+
"AllowanceContributesToOvertimeRate" : false,
4169+
"EarningsType" : "ORDINARYTIMEEARNINGS",
4170+
"EarningsRateID" : "1fa4e226-b711-46ba-a8a7-4344c9c5fb87",
4171+
"RateType" : "MULTIPLE",
4172+
"RatePerUnit" : "10.0",
4173+
"Multiplier" : 1.5,
4174+
"Amount" : 5,
4175+
"EmploymentTerminationPaymentType" : "O"
4176+
} ]
4177+
}
41604178
}
41614179
},
41624180
"required" : true
@@ -8275,7 +8293,16 @@ <h2>Parameters</h2>
82758293
"$ref" : "#/components/schemas/PayslipLines"
82768294
}
82778295
},
8278-
"example" : "{ \"Payslip\": { \"EmployeeID\": \"cdfb8371-0b21-4b8a-8903-1024df6c391e\", \"DeductionLines\": [ { \"DeductionTypeID\": \"727af5e8-b347-4ae7-85fc-9b82266d0aec\", \"CalculationType\": \"FIXEDAMOUNT\", \"NumberOfUnits\": 10 } ] } }"
8296+
"example" : {
8297+
"Payslip" : {
8298+
"EmployeeID" : "cdfb8371-0b21-4b8a-8903-1024df6c391e",
8299+
"DeductionLines" : [ {
8300+
"DeductionTypeID" : "727af5e8-b347-4ae7-85fc-9b82266d0aec",
8301+
"CalculationType" : "FIXEDAMOUNT",
8302+
"NumberOfUnits" : 10
8303+
} ]
8304+
}
8305+
}
82798306
}
82808307
},
82818308
"required" : true

0 commit comments

Comments
 (0)