Skip to content

Commit 86dbbf7

Browse files
committed
fixes date parse issues
1 parent 6f79084 commit 86dbbf7

3 files changed

Lines changed: 27 additions & 27 deletions

File tree

docs/accounting/AccountingApi.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6099,9 +6099,9 @@ api_instance = xero_client.<api_set>
60996099
xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
61006100
budget_id = '00000000-0000-0000-0000-000000000000' # String | Unique identifier for Budgets
61016101
opts = {
6102-
date_to: 2019-10-31, # Date | Filter by start date
6102+
date_to: Date.parse('2019-10-31'), # Date | Filter by start date
61036103

6104-
date_from: 2019-10-31 # Date | Filter by end date
6104+
date_from: Date.parse('2019-10-31') # Date | Filter by end date
61056105
}
61066106

61076107
begin
@@ -6172,9 +6172,9 @@ xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
61726172
opts = {
61736173
ids: &quot;00000000-0000-0000-0000-000000000000&quot;, # Array&lt;String&gt; | Filter by BudgetID. Allows you to retrieve a specific individual budget.
61746174

6175-
date_to: 2019-10-31, # Date | Filter by start date
6175+
date_to: Date.parse('2019-10-31'), # Date | Filter by start date
61766176

6177-
date_from: 2019-10-31 # Date | Filter by end date
6177+
date_from: Date.parse('2019-10-31') # Date | Filter by end date
61786178
}
61796179

61806180
begin
@@ -11188,13 +11188,13 @@ xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
1118811188
opts = {
1118911189
if_modified_since: DateTime.parse('2020-02-06T12:17:43.202-08:00'), # DateTime | Only records created or modified since this timestamp will be returned
1119011190

11191-
date_from: 2019-10-31, # Date | Filter for quotes after a particular date
11191+
date_from: Date.parse('2019-10-31'), # Date | Filter for quotes after a particular date
1119211192

11193-
date_to: 2019-10-31, # Date | Filter for quotes before a particular date
11193+
date_to: Date.parse('2019-10-31'), # Date | Filter for quotes before a particular date
1119411194

11195-
expiry_date_from: 2019-10-31, # Date | Filter for quotes expiring after a particular date
11195+
expiry_date_from: Date.parse('2019-10-31'), # Date | Filter for quotes expiring after a particular date
1119611196

11197-
expiry_date_to: 2019-10-31, # Date | Filter for quotes before a particular date
11197+
expiry_date_to: Date.parse('2019-10-31'), # Date | Filter for quotes before a particular date
1119811198

1119911199
contact_id: '00000000-0000-0000-0000-000000000000', # String | Filter for quotes belonging to a particular contact
1120011200

@@ -12088,11 +12088,11 @@ api_instance = xero_client.<api_set>
1208812088
xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
1208912089
contact_id = '00000000-0000-0000-0000-000000000000' # String | Unique identifier for a Contact
1209012090
opts = {
12091-
date: 2019-10-31, # Date | The date of the Aged Payables By Contact report
12091+
date: Date.parse('2019-10-31'), # Date | The date of the Aged Payables By Contact report
1209212092

12093-
from_date: 2019-10-31, # Date | filter by the from date of the report e.g. 2021-02-01
12093+
from_date: Date.parse('2019-10-31'), # Date | filter by the from date of the report e.g. 2021-02-01
1209412094

12095-
to_date: 2019-10-31 # Date | filter by the to date of the report e.g. 2021-02-28
12095+
to_date: Date.parse('2019-10-31') # Date | filter by the to date of the report e.g. 2021-02-28
1209612096
}
1209712097

1209812098
begin
@@ -12163,11 +12163,11 @@ api_instance = xero_client.<api_set>
1216312163
xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
1216412164
contact_id = '00000000-0000-0000-0000-000000000000' # String | Unique identifier for a Contact
1216512165
opts = {
12166-
date: 2019-10-31, # Date | The date of the Aged Receivables By Contact report
12166+
date: Date.parse('2019-10-31'), # Date | The date of the Aged Receivables By Contact report
1216712167

12168-
from_date: 2019-10-31, # Date | filter by the from date of the report e.g. 2021-02-01
12168+
from_date: Date.parse('2019-10-31'), # Date | filter by the from date of the report e.g. 2021-02-01
1216912169

12170-
to_date: 2019-10-31 # Date | filter by the to date of the report e.g. 2021-02-28
12170+
to_date: Date.parse('2019-10-31') # Date | filter by the to date of the report e.g. 2021-02-28
1217112171
}
1217212172

1217312173
begin
@@ -12237,7 +12237,7 @@ api_instance = xero_client.<api_set>
1223712237

1223812238
xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
1223912239
opts = {
12240-
date: 2019-11-01, # Date | The date of the Balance Sheet report
12240+
date: Date.parse('2019-11-01'), # Date | The date of the Balance Sheet report
1224112241

1224212242
periods: 3, # Integer | The number of periods for the Balance Sheet report
1224312243

@@ -12322,9 +12322,9 @@ api_instance = xero_client.<api_set>
1232212322

1232312323
xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
1232412324
opts = {
12325-
from_date: 2019-10-31, # Date | filter by the from date of the report e.g. 2021-02-01
12325+
from_date: Date.parse('2019-10-31'), # Date | filter by the from date of the report e.g. 2021-02-01
1232612326

12327-
to_date: 2019-10-31 # Date | filter by the to date of the report e.g. 2021-02-28
12327+
to_date: Date.parse('2019-10-31') # Date | filter by the to date of the report e.g. 2021-02-28
1232812328
}
1232912329

1233012330
begin
@@ -12392,7 +12392,7 @@ api_instance = xero_client.<api_set>
1239212392

1239312393
xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
1239412394
opts = {
12395-
date: 2019-03-31, # Date | The date for the Bank Summary report e.g. 2018-03-31
12395+
date: Date.parse('2019-03-31'), # Date | The date for the Bank Summary report e.g. 2018-03-31
1239612396

1239712397
periods: 2, # Integer | The number of periods to compare (integer between 1 and 12)
1239812398

@@ -12465,7 +12465,7 @@ api_instance = xero_client.<api_set>
1246512465

1246612466
xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
1246712467
opts = {
12468-
date: 2019-03-31 # Date | The date for the Bank Summary report e.g. 2018-03-31
12468+
date: Date.parse('2019-03-31') # Date | The date for the Bank Summary report e.g. 2018-03-31
1246912469
}
1247012470

1247112471
begin
@@ -12596,9 +12596,9 @@ api_instance = xero_client.<api_set>
1259612596

1259712597
xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
1259812598
opts = {
12599-
from_date: 2019-10-31, # Date | filter by the from date of the report e.g. 2021-02-01
12599+
from_date: Date.parse('2019-10-31'), # Date | filter by the from date of the report e.g. 2021-02-01
1260012600

12601-
to_date: 2019-10-31, # Date | filter by the to date of the report e.g. 2021-02-28
12601+
to_date: Date.parse('2019-10-31'), # Date | filter by the to date of the report e.g. 2021-02-28
1260212602

1260312603
periods: 3, # Integer | The number of periods to compare (integer between 1 and 12)
1260412604

@@ -12757,7 +12757,7 @@ api_instance = xero_client.<api_set>
1275712757

1275812758
xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
1275912759
opts = {
12760-
date: 2019-10-31, # Date | The date for the Trial Balance report e.g. 2018-03-31
12760+
date: Date.parse('2019-10-31'), # Date | The date for the Trial Balance report e.g. 2018-03-31
1276112761

1276212762
payments_only: true # Boolean | Return cash only basis for the Trial Balance report
1276312763
}

docs/payroll_nz/PayrollNzApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2127,9 +2127,9 @@ api_instance = xero_client.<api_set>
21272127
xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
21282128
employee_id = '4ff1e5cc-9835-40d5-bb18-09fdb118db9c' # String | Employee id for single object
21292129
opts = {
2130-
start_date: 2013-10-20, # Date | Filter by start date
2130+
start_date: Date.parse('2013-10-20'), # Date | Filter by start date
21312131

2132-
end_date: Johnson # Date | Filter by end date
2132+
end_date: Date.parse('Johnson') # Date | Filter by end date
21332133
}
21342134

21352135
begin

docs/payroll_uk/PayrollUkApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2389,9 +2389,9 @@ api_instance = xero_client.<api_set>
23892389
xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
23902390
employee_id = '00000000-0000-0000-0000-000000000000' # String | Employee id for single object
23912391
opts = {
2392-
start_date: 2013-10-20, # Date | Filter by start date
2392+
start_date: Date.parse('2013-10-20'), # Date | Filter by start date
23932393

2394-
end_date: 2013-10-20 # Date | Filter by end date
2394+
end_date: Date.parse('2013-10-20') # Date | Filter by end date
23952395
}
23962396

23972397
begin
@@ -2918,7 +2918,7 @@ employee_id = '4ff1e5cc-9835-40d5-bb18-09fdb118db9c' # String | Employee id for
29182918
opts = {
29192919
leave_type: 'sick', # String | Filter by the type of statutory leave
29202920

2921-
as_of_date: 2013-10-20 # Date | The date from which to calculate balance remaining. If not specified, current date UTC is used.
2921+
as_of_date: Date.parse('2013-10-20') # Date | The date from which to calculate balance remaining. If not specified, current date UTC is used.
29222922
}
29232923

29242924
begin

0 commit comments

Comments
 (0)