Skip to content

Commit 79d9ebc

Browse files
authored
Merge pull request #31 from jolicode/feat/spec-update-20251103
Spec update 202501103
2 parents 41687d4 + 9635528 commit 79d9ebc

File tree

1 file changed

+80
-44
lines changed

1 file changed

+80
-44
lines changed

generated/harvest-openapi.yaml

Lines changed: 80 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,11 @@ components:
10521052
nullable: true
10531053
is_closed:
10541054
type: boolean
1055-
description: 'Whether the expense has been approved or not.'
1055+
description: 'Whether the expense has been approved or not. Deprecated, use approval_status instead.'
1056+
nullable: true
1057+
approval_status:
1058+
type: string
1059+
description: 'The approval status of the expense. Possible values: “unsubmitted”, “submitted”, or “approved”.'
10561060
nullable: true
10571061
is_locked:
10581062
type: boolean
@@ -1301,7 +1305,11 @@ components:
13011305
nullable: true
13021306
is_closed:
13031307
type: boolean
1304-
description: 'Whether or not the time entry has been approved via Timesheet Approval.'
1308+
description: 'Whether or not the time entry has been approved via Timesheet Approval. Deprecated, use approval_status instead.'
1309+
nullable: true
1310+
approval_status:
1311+
type: string
1312+
description: 'The approval status of the time entry. Possible values: “unsubmitted”, “submitted”, or “approved”.'
13051313
nullable: true
13061314
is_billed:
13071315
type: boolean
@@ -1538,11 +1546,6 @@ components:
15381546
description: 'Rate for projects billed by Project Hourly Rate.'
15391547
nullable: true
15401548
format: float
1541-
budget:
1542-
type: number
1543-
description: 'The budget in hours for the project when budgeting by time.'
1544-
nullable: true
1545-
format: float
15461549
budget_by:
15471550
type: string
15481551
description: 'The method by which the project is budgeted.'
@@ -1551,6 +1554,20 @@ components:
15511554
type: boolean
15521555
description: 'Option to have the budget reset every month.'
15531556
nullable: true
1557+
budget:
1558+
type: number
1559+
description: 'The budget in hours for the project when budgeting by time.'
1560+
nullable: true
1561+
format: float
1562+
cost_budget:
1563+
type: number
1564+
description: 'The monetary budget for the project when budgeting by money.'
1565+
nullable: true
1566+
format: float
1567+
cost_budget_include_expenses:
1568+
type: boolean
1569+
description: 'Option for budget of Total Project Fees projects to include tracked expenses.'
1570+
nullable: true
15541571
notify_when_over_budget:
15551572
type: boolean
15561573
description: 'Whether Project Managers should be notified when the project goes over budget.'
@@ -1569,15 +1586,6 @@ components:
15691586
type: boolean
15701587
description: 'Option to show project budget to all employees. Does not apply to Total Project Fee projects.'
15711588
nullable: true
1572-
cost_budget:
1573-
type: number
1574-
description: 'The monetary budget for the project when budgeting by money.'
1575-
nullable: true
1576-
format: float
1577-
cost_budget_include_expenses:
1578-
type: boolean
1579-
description: 'Option for budget of Total Project Fees projects to include tracked expenses.'
1580-
nullable: true
15811589
fee:
15821590
type: number
15831591
description: 'The amount you plan to invoice for the project. Only used by fixed-fee projects.'
@@ -5360,6 +5368,7 @@ paths:
53605368
total_cost: 33.35
53615369
units: 1.0
53625370
is_closed: false
5371+
approval_status: unsubmitted
53635372
is_locked: true
53645373
is_billed: true
53655374
locked_reason: 'Expense is invoiced.'
@@ -5405,6 +5414,7 @@ paths:
54055414
total_cost: 100.0
54065415
units: 1.0
54075416
is_closed: true
5417+
approval_status: approved
54085418
is_locked: true
54095419
is_billed: false
54105420
locked_reason: 'The project is locked for this time period.'
@@ -5484,6 +5494,13 @@ paths:
54845494
in: query
54855495
schema:
54865496
type: boolean
5497+
-
5498+
name: approval_status
5499+
description: 'Only return expenses with the given approval status. Possible values: “unsubmitted”, “submitted”, or “approved”.'
5500+
required: false
5501+
in: query
5502+
schema:
5503+
type: string
54875504
-
54885505
name: updated_since
54895506
description: 'Only return expenses that have been updated since the given date and time.'
@@ -5543,6 +5560,7 @@ paths:
55435560
total_cost: 13.59
55445561
units: 1.0
55455562
is_closed: false
5563+
approval_status: unsubmitted
55465564
is_locked: false
55475565
is_billed: false
55485566
locked_reason: null
@@ -5688,6 +5706,7 @@ paths:
56885706
total_cost: 33.35
56895707
units: 1.0
56905708
is_closed: false
5709+
approval_status: unsubmitted
56915710
is_locked: true
56925711
is_billed: true
56935712
locked_reason: 'Expense is invoiced.'
@@ -5764,6 +5783,7 @@ paths:
57645783
total_cost: 13.59
57655784
units: 1.0
57665785
is_closed: false
5786+
approval_status: unsubmitted
57675787
is_locked: false
57685788
is_billed: false
57695789
locked_reason: null
@@ -7616,11 +7636,6 @@ paths:
76167636
description: 'Rate for projects billed by Project Hourly Rate.'
76177637
nullable: true
76187638
format: float
7619-
budget:
7620-
type: number
7621-
description: 'The budget in hours for the project when budgeting by time.'
7622-
nullable: true
7623-
format: float
76247639
budget_by:
76257640
type: string
76267641
description: 'The method by which the project is budgeted. Options: project (Hours Per Project), project_cost (Total Project Fees), task (Hours Per Task), task_fees (Fees Per Task), person (Hours Per Person), none (No Budget).'
@@ -7629,6 +7644,20 @@ paths:
76297644
type: boolean
76307645
description: 'Option to have the budget reset every month. Defaults to false.'
76317646
nullable: true
7647+
budget:
7648+
type: number
7649+
description: 'The budget in hours for the project when budgeting by time.'
7650+
nullable: true
7651+
format: float
7652+
cost_budget:
7653+
type: number
7654+
description: 'The monetary budget for the project when budgeting by money.'
7655+
nullable: true
7656+
format: float
7657+
cost_budget_include_expenses:
7658+
type: boolean
7659+
description: 'Option for budget of Total Project Fees projects to include tracked expenses. Defaults to false.'
7660+
nullable: true
76327661
notify_when_over_budget:
76337662
type: boolean
76347663
description: 'Whether Project Managers should be notified when the project goes over budget. Defaults to false.'
@@ -7642,15 +7671,6 @@ paths:
76427671
type: boolean
76437672
description: 'Option to show project budget to all employees. Does not apply to Total Project Fee projects. Defaults to false.'
76447673
nullable: true
7645-
cost_budget:
7646-
type: number
7647-
description: 'The monetary budget for the project when budgeting by money.'
7648-
nullable: true
7649-
format: float
7650-
cost_budget_include_expenses:
7651-
type: boolean
7652-
description: 'Option for budget of Total Project Fees projects to include tracked expenses. Defaults to false.'
7653-
nullable: true
76547674
fee:
76557675
type: number
76567676
description: 'The amount you plan to invoice for the project. Only used by fixed-fee projects.'
@@ -7864,11 +7884,6 @@ paths:
78647884
description: 'Rate for projects billed by Project Hourly Rate.'
78657885
nullable: true
78667886
format: float
7867-
budget:
7868-
type: number
7869-
description: 'The budget in hours for the project when budgeting by time.'
7870-
nullable: true
7871-
format: float
78727887
budget_by:
78737888
type: string
78747889
description: 'The method by which the project is budgeted. Options: project (Hours Per Project), project_cost (Total Project Fees), task (Hours Per Task), task_fees (Fees Per Task), person (Hours Per Person), none (No Budget).'
@@ -7877,6 +7892,20 @@ paths:
78777892
type: boolean
78787893
description: 'Option to have the budget reset every month. Defaults to false.'
78797894
nullable: true
7895+
budget:
7896+
type: number
7897+
description: 'The budget in hours for the project when budgeting by time.'
7898+
nullable: true
7899+
format: float
7900+
cost_budget:
7901+
type: number
7902+
description: 'The monetary budget for the project when budgeting by money.'
7903+
nullable: true
7904+
format: float
7905+
cost_budget_include_expenses:
7906+
type: boolean
7907+
description: 'Option for budget of Total Project Fees projects to include tracked expenses. Defaults to false.'
7908+
nullable: true
78807909
notify_when_over_budget:
78817910
type: boolean
78827911
description: 'Whether Project Managers should be notified when the project goes over budget. Defaults to false.'
@@ -7890,15 +7919,6 @@ paths:
78907919
type: boolean
78917920
description: 'Option to show project budget to all employees. Does not apply to Total Project Fee projects. Defaults to false.'
78927921
nullable: true
7893-
cost_budget:
7894-
type: number
7895-
description: 'The monetary budget for the project when budgeting by money.'
7896-
nullable: true
7897-
format: float
7898-
cost_budget_include_expenses:
7899-
type: boolean
7900-
description: 'Option for budget of Total Project Fees projects to include tracked expenses. Defaults to false.'
7901-
nullable: true
79027922
fee:
79037923
type: number
79047924
description: 'The amount you plan to invoice for the project. Only used by fixed-fee projects.'
@@ -10479,6 +10499,7 @@ paths:
1047910499
is_locked: true
1048010500
locked_reason: 'Item Approved and Locked for this Time Period'
1048110501
is_closed: true
10502+
approval_status: approved
1048210503
is_billed: false
1048310504
timer_started_at: null
1048410505
started_time: '3:00pm'
@@ -10530,6 +10551,7 @@ paths:
1053010551
is_locked: true
1053110552
locked_reason: 'Item Invoiced and Approved and Locked for this Time Period'
1053210553
is_closed: true
10554+
approval_status: approved
1053310555
is_billed: true
1053410556
timer_started_at: null
1053510557
started_time: '1:00pm'
@@ -10583,6 +10605,7 @@ paths:
1058310605
is_locked: true
1058410606
locked_reason: 'Item Approved and Locked for this Time Period'
1058510607
is_closed: true
10608+
approval_status: approved
1058610609
is_billed: false
1058710610
timer_started_at: null
1058810611
started_time: '11:00am'
@@ -10634,6 +10657,7 @@ paths:
1063410657
is_locked: true
1063510658
locked_reason: 'Item Invoiced and Approved and Locked for this Time Period'
1063610659
is_closed: true
10660+
approval_status: approved
1063710661
is_billed: true
1063810662
timer_started_at: null
1063910663
started_time: '9:00am'
@@ -10714,6 +10738,13 @@ paths:
1071410738
in: query
1071510739
schema:
1071610740
type: boolean
10741+
-
10742+
name: approval_status
10743+
description: 'Only return time entries with the given approval status. Possible values: “unsubmitted”, “submitted”, or “approved”.'
10744+
required: false
10745+
in: query
10746+
schema:
10747+
type: string
1071710748
-
1071810749
name: updated_since
1071910750
description: 'Only return time entries that have been updated since the given date and time. Use the ISO 8601 Format.'
@@ -10806,6 +10837,7 @@ paths:
1080610837
is_locked: false
1080710838
locked_reason: null
1080810839
is_closed: false
10840+
approval_status: unsubmitted
1080910841
is_billed: false
1081010842
timer_started_at: null
1081110843
started_time: null
@@ -10975,6 +11007,7 @@ paths:
1097511007
is_locked: true
1097611008
locked_reason: 'Item Invoiced and Approved and Locked for this Time Period'
1097711009
is_closed: true
11010+
approval_status: approved
1097811011
is_billed: true
1097911012
timer_started_at: null
1098011013
started_time: '1:00pm'
@@ -11059,6 +11092,7 @@ paths:
1105911092
is_locked: false
1106011093
locked_reason: null
1106111094
is_closed: false
11095+
approval_status: unsubmitted
1106211096
is_billed: false
1106311097
timer_started_at: null
1106411098
started_time: null
@@ -11227,6 +11261,7 @@ paths:
1122711261
is_locked: false
1122811262
locked_reason: null
1122911263
is_closed: false
11264+
approval_status: unsubmitted
1123011265
is_billed: false
1123111266
timer_started_at: '2017-08-22T17:40:24Z'
1123211267
started_time: '11:40am'
@@ -11310,6 +11345,7 @@ paths:
1131011345
is_locked: false
1131111346
locked_reason: null
1131211347
is_closed: false
11348+
approval_status: unsubmitted
1131311349
is_billed: false
1131411350
timer_started_at: null
1131511351
started_time: '11:37am'

0 commit comments

Comments
 (0)