@dsptch-work/api-client 0.24.0 → 0.25.0

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.
@@ -383,7 +383,7 @@ export type DirectUploadParameters = {
383
383
  /**
384
384
  * What the file is for, named as the endpoint that will attach it (for example `assets.vendors`). Required. It decides where the file is stored, and the signed ID this call returns is issued for that resource alone — it will not resolve at any other endpoint, so a vendor logo cannot be attached as an avatar, or an avatar as a logo.
385
385
  */
386
- resource: 'assets.items' | 'assets.items.documents' | 'assets.items.service_events' | 'assets.products' | 'assets.vendors' | 'compliance.checks' | 'internal.company_todos' | 'internal.job_todos' | 'internal.project_todos' | 'pay_periods.imports.aggregate_times' | 'pay_periods.imports.dsptch_cprs' | 'pay_periods.imports.time_entries' | 'payrolls.payroll_runs.imports.paystubs' | 'users';
386
+ resource: 'assets.items' | 'assets.items.documents' | 'assets.items.service_events' | 'assets.products' | 'assets.vendors' | 'compliance.checks' | 'internal.companies' | 'internal.company_todos' | 'internal.job_todos' | 'internal.project_todos' | 'pay_periods.imports.aggregate_times' | 'pay_periods.imports.dsptch_cprs' | 'pay_periods.imports.time_entries' | 'payrolls.payroll_runs.imports.paystubs' | 'users';
387
387
  /**
388
388
  * Metadata describing the file being registered, before its bytes are uploaded.
389
389
  */
@@ -1026,7 +1026,7 @@ export type ApprenticeshipOccupationUpdateParameters = {
1026
1026
  */
1027
1027
  export type ApprenticeshipProgramEmployerParameters = {
1028
1028
  /**
1029
- * ID of the company to authorize as an employer in this program; it need not be related to the sponsor, since a group program names unaffiliated contractors. Naming a company here grants its admins and managers read access to this program, the right to enroll their own workers in it, the right to curate its trade-to-occupation scope decisions, and a passing apprenticeship-program compliance check; it grants no access to that company's own data. Cannot be changed once the employer has apprentices. Required.
1029
+ * ID of the company to authorize as an employer. An API key may name only its own company. Required.
1030
1030
  */
1031
1031
  company_id: string;
1032
1032
  /**
@@ -1035,11 +1035,11 @@ export type ApprenticeshipProgramEmployerParameters = {
1035
1035
  require_timecard_allocation?: boolean;
1036
1036
  };
1037
1037
  /**
1038
- * Update an employer authorization in a program. Send only the fields to change; only the program's sponsor may manage this roster.
1038
+ * Update an employer authorization in a program. Send only the fields to change; only the program's sponsor may manage this roster, and an API key may change only the row naming its own company.
1039
1039
  */
1040
1040
  export type ApprenticeshipProgramEmployerUpdateParameters = {
1041
1041
  /**
1042
- * ID of the company authorized as an employer in this program. It cannot be changed once the employer has apprentices; omit to leave it unchanged.
1042
+ * ID of the company authorized as an employer. An API key may name only its own company; omit to leave it unchanged.
1043
1043
  */
1044
1044
  company_id?: string;
1045
1045
  /**
@@ -4518,26 +4518,38 @@ export type UserUpdateParameters = {
4518
4518
  */
4519
4519
  avatar_signed_id?: string | null;
4520
4520
  };
4521
- /**
4522
- * Request body for onboarding a worker into your company. In one call it creates the person (if new), their employment record, roles, group memberships, an optional invite, and optional compliance details. company_id, email, first_name, and last_name are required.
4523
- */
4524
- export type UserParameters = {
4521
+ export type UserParameters = ({
4522
+ /**
4523
+ * Work email address; the worker signs in and receives their invite here. Null when the worker has none. Required to send an invite unless a phone number is given.
4524
+ */
4525
+ email: string;
4526
+ } | {
4527
+ /**
4528
+ * Contact phone number. Null when the worker has none. Required to send an invite unless a work email is given.
4529
+ */
4530
+ phone_number: string;
4531
+ } | {
4532
+ /**
4533
+ * Non-stored field. If true, no invite is created and work email / phone are not required.
4534
+ */
4535
+ skip_invite: true;
4536
+ }) & {
4525
4537
  /**
4526
4538
  * Id of the company to onboard the worker into. Must be the company that owns the API key.
4527
4539
  */
4528
- company_id: string;
4540
+ company_id?: string;
4529
4541
  /**
4530
- * Work email address; the worker signs in and receives their invite here.
4542
+ * Work email address; the worker signs in and receives their invite here. Null when the worker has none. Required to send an invite unless a phone number is given.
4531
4543
  */
4532
- email: string;
4544
+ email?: string | null;
4533
4545
  /**
4534
4546
  * Personal (non-work) email address.
4535
4547
  */
4536
- personal_email?: string;
4548
+ personal_email?: string | null;
4537
4549
  /**
4538
- * Contact phone number.
4550
+ * Contact phone number. Null when the worker has none. Required to send an invite unless a work email is given.
4539
4551
  */
4540
- phone_number?: string;
4552
+ phone_number?: string | null;
4541
4553
  /**
4542
4554
  * Legal first name. Used for compliance and other exports.
4543
4555
  */
@@ -4599,7 +4611,7 @@ export type UserParameters = {
4599
4611
  */
4600
4612
  skip_notify?: boolean;
4601
4613
  /**
4602
- * Non-stored field. If true will not create an invite at all.
4614
+ * Non-stored field. If true, no invite is created and work email / phone are not required.
4603
4615
  */
4604
4616
  skip_invite?: boolean;
4605
4617
  type?: UserCompanyType;
@@ -8623,6 +8635,19 @@ export type PayRatesRulePackageParameters = {
8623
8635
  */
8624
8636
  description?: string | null;
8625
8637
  };
8638
+ /**
8639
+ * Request body for updating a pay-rate rule package. Send only the fields to change. `default`, `selectable`, and `scoped_to_job_id` are not writable on this operation.
8640
+ */
8641
+ export type PayRatesRulePackageUpdateParameters = {
8642
+ /**
8643
+ * Human-readable package name. Omit to leave it unchanged.
8644
+ */
8645
+ name?: string;
8646
+ /**
8647
+ * Free-form package description; omit to leave it unchanged, or send null to clear it.
8648
+ */
8649
+ description?: string | null;
8650
+ };
8626
8651
  /**
8627
8652
  * A page of a job's positions, with pagination metadata and navigation links.
8628
8653
  */
@@ -8655,11 +8680,11 @@ export type PositionParameters = {
8655
8680
  */
8656
8681
  end_time?: string | null;
8657
8682
  /**
8658
- * ID of the position function (role) to assign; null for none.
8683
+ * ID of the position function (role) to assign; null for none. Must be a global function or one of the job's company.
8659
8684
  */
8660
8685
  position_function_id?: string | null;
8661
8686
  /**
8662
- * ID of the per diem to apply; its rate and currency are copied onto the position.
8687
+ * ID of the per diem to apply; its rate and currency are copied onto the position. Must belong to the job's company.
8663
8688
  */
8664
8689
  per_diem_id?: string | null;
8665
8690
  /**
@@ -12691,6 +12716,33 @@ export type CreateAllocationResponses = {
12691
12716
  201: ApprenticeshipAllocationResponseObject;
12692
12717
  };
12693
12718
  export type CreateAllocationResponse = CreateAllocationResponses[keyof CreateAllocationResponses];
12719
+ export type DeleteAllocationData = {
12720
+ body?: never;
12721
+ path: {
12722
+ apprentice_id: string;
12723
+ id: string;
12724
+ };
12725
+ query?: never;
12726
+ url: '/api/v1/apprenticeship/apprentices/{apprentice_id}/allocations/{id}';
12727
+ };
12728
+ export type DeleteAllocationErrors = {
12729
+ /**
12730
+ * Forbidden
12731
+ */
12732
+ 403: Problem;
12733
+ /**
12734
+ * Not Found
12735
+ */
12736
+ 404: Problem;
12737
+ };
12738
+ export type DeleteAllocationError = DeleteAllocationErrors[keyof DeleteAllocationErrors];
12739
+ export type DeleteAllocationResponses = {
12740
+ /**
12741
+ * No Content
12742
+ */
12743
+ 204: void;
12744
+ };
12745
+ export type DeleteAllocationResponse = DeleteAllocationResponses[keyof DeleteAllocationResponses];
12694
12746
  export type GetAllocationData = {
12695
12747
  body?: never;
12696
12748
  path: {
@@ -12936,6 +12988,64 @@ export type CreateOccupationResponses = {
12936
12988
  201: ApprenticeshipOccupationResponseObject;
12937
12989
  };
12938
12990
  export type CreateOccupationResponse = CreateOccupationResponses[keyof CreateOccupationResponses];
12991
+ export type DeleteOccupationData = {
12992
+ body?: never;
12993
+ path: {
12994
+ program_id: string;
12995
+ id: string;
12996
+ };
12997
+ query?: never;
12998
+ url: '/api/v1/apprenticeship/programs/{program_id}/occupations/{id}';
12999
+ };
13000
+ export type DeleteOccupationErrors = {
13001
+ /**
13002
+ * Forbidden
13003
+ */
13004
+ 403: Problem;
13005
+ /**
13006
+ * Not Found
13007
+ */
13008
+ 404: Problem;
13009
+ /**
13010
+ * Unprocessable Content
13011
+ */
13012
+ 422: Problem;
13013
+ };
13014
+ export type DeleteOccupationError = DeleteOccupationErrors[keyof DeleteOccupationErrors];
13015
+ export type DeleteOccupationResponses = {
13016
+ /**
13017
+ * No Content
13018
+ */
13019
+ 204: void;
13020
+ };
13021
+ export type DeleteOccupationResponse = DeleteOccupationResponses[keyof DeleteOccupationResponses];
13022
+ export type GetOccupationData = {
13023
+ body?: never;
13024
+ path: {
13025
+ program_id: string;
13026
+ id: string;
13027
+ };
13028
+ query?: never;
13029
+ url: '/api/v1/apprenticeship/programs/{program_id}/occupations/{id}';
13030
+ };
13031
+ export type GetOccupationErrors = {
13032
+ /**
13033
+ * Forbidden
13034
+ */
13035
+ 403: Problem;
13036
+ /**
13037
+ * Not Found
13038
+ */
13039
+ 404: Problem;
13040
+ };
13041
+ export type GetOccupationError = GetOccupationErrors[keyof GetOccupationErrors];
13042
+ export type GetOccupationResponses = {
13043
+ /**
13044
+ * Success
13045
+ */
13046
+ 200: ApprenticeshipOccupationResponseObject;
13047
+ };
13048
+ export type GetOccupationResponse = GetOccupationResponses[keyof GetOccupationResponses];
12939
13049
  export type UpdateOccupationData = {
12940
13050
  body?: ApprenticeshipOccupationUpdateParameters;
12941
13051
  path: {
@@ -13028,7 +13138,11 @@ export type CreateEmployerData = {
13028
13138
  };
13029
13139
  export type CreateEmployerErrors = {
13030
13140
  /**
13031
- * Forbidden
13141
+ * Bad Request
13142
+ */
13143
+ 400: Problem;
13144
+ /**
13145
+ * Forbidden. Also returned when `company_id` names a company other than the API key's own.
13032
13146
  */
13033
13147
  403: Problem;
13034
13148
  /**
@@ -13082,7 +13196,11 @@ export type UpdateEmployerData = {
13082
13196
  };
13083
13197
  export type UpdateEmployerErrors = {
13084
13198
  /**
13085
- * Forbidden
13199
+ * Bad Request
13200
+ */
13201
+ 400: Problem;
13202
+ /**
13203
+ * Forbidden. Also returned when `company_id`, sent or stored, names a company other than the API key's own.
13086
13204
  */
13087
13205
  403: Problem;
13088
13206
  /**
@@ -13171,6 +13289,62 @@ export type CreateProgramResponses = {
13171
13289
  201: ApprenticeshipProgramResponseObject;
13172
13290
  };
13173
13291
  export type CreateProgramResponse = CreateProgramResponses[keyof CreateProgramResponses];
13292
+ export type DeleteProgramData = {
13293
+ body?: never;
13294
+ path: {
13295
+ id: string;
13296
+ };
13297
+ query?: never;
13298
+ url: '/api/v1/apprenticeship/programs/{id}';
13299
+ };
13300
+ export type DeleteProgramErrors = {
13301
+ /**
13302
+ * Forbidden
13303
+ */
13304
+ 403: Problem;
13305
+ /**
13306
+ * Not Found
13307
+ */
13308
+ 404: Problem;
13309
+ /**
13310
+ * Unprocessable Content
13311
+ */
13312
+ 422: Problem;
13313
+ };
13314
+ export type DeleteProgramError = DeleteProgramErrors[keyof DeleteProgramErrors];
13315
+ export type DeleteProgramResponses = {
13316
+ /**
13317
+ * No Content
13318
+ */
13319
+ 204: void;
13320
+ };
13321
+ export type DeleteProgramResponse = DeleteProgramResponses[keyof DeleteProgramResponses];
13322
+ export type GetProgramData = {
13323
+ body?: never;
13324
+ path: {
13325
+ id: string;
13326
+ };
13327
+ query?: never;
13328
+ url: '/api/v1/apprenticeship/programs/{id}';
13329
+ };
13330
+ export type GetProgramErrors = {
13331
+ /**
13332
+ * Forbidden
13333
+ */
13334
+ 403: Problem;
13335
+ /**
13336
+ * Not Found
13337
+ */
13338
+ 404: Problem;
13339
+ };
13340
+ export type GetProgramError = GetProgramErrors[keyof GetProgramErrors];
13341
+ export type GetProgramResponses = {
13342
+ /**
13343
+ * Success
13344
+ */
13345
+ 200: ApprenticeshipProgramResponseObject;
13346
+ };
13347
+ export type GetProgramResponse = GetProgramResponses[keyof GetProgramResponses];
13174
13348
  export type UpdateProgramData = {
13175
13349
  body?: ApprenticeshipProgramUpdateParameters;
13176
13350
  path: {
@@ -13402,6 +13576,64 @@ export type CreateWageScheduleResponses = {
13402
13576
  201: ApprenticeshipWageScheduleResponseObject;
13403
13577
  };
13404
13578
  export type CreateWageScheduleResponse = CreateWageScheduleResponses[keyof CreateWageScheduleResponses];
13579
+ export type DeleteWageScheduleData = {
13580
+ body?: never;
13581
+ path: {
13582
+ occupation_id: string;
13583
+ id: string;
13584
+ };
13585
+ query?: never;
13586
+ url: '/api/v1/apprenticeship/occupations/{occupation_id}/wage_schedules/{id}';
13587
+ };
13588
+ export type DeleteWageScheduleErrors = {
13589
+ /**
13590
+ * Forbidden
13591
+ */
13592
+ 403: Problem;
13593
+ /**
13594
+ * Not Found
13595
+ */
13596
+ 404: Problem;
13597
+ /**
13598
+ * Unprocessable Content
13599
+ */
13600
+ 422: Problem;
13601
+ };
13602
+ export type DeleteWageScheduleError = DeleteWageScheduleErrors[keyof DeleteWageScheduleErrors];
13603
+ export type DeleteWageScheduleResponses = {
13604
+ /**
13605
+ * No Content
13606
+ */
13607
+ 204: void;
13608
+ };
13609
+ export type DeleteWageScheduleResponse = DeleteWageScheduleResponses[keyof DeleteWageScheduleResponses];
13610
+ export type GetWageScheduleData = {
13611
+ body?: never;
13612
+ path: {
13613
+ occupation_id: string;
13614
+ id: string;
13615
+ };
13616
+ query?: never;
13617
+ url: '/api/v1/apprenticeship/occupations/{occupation_id}/wage_schedules/{id}';
13618
+ };
13619
+ export type GetWageScheduleErrors = {
13620
+ /**
13621
+ * Forbidden
13622
+ */
13623
+ 403: Problem;
13624
+ /**
13625
+ * Not Found
13626
+ */
13627
+ 404: Problem;
13628
+ };
13629
+ export type GetWageScheduleError = GetWageScheduleErrors[keyof GetWageScheduleErrors];
13630
+ export type GetWageScheduleResponses = {
13631
+ /**
13632
+ * Success
13633
+ */
13634
+ 200: ApprenticeshipWageScheduleResponseObject;
13635
+ };
13636
+ export type GetWageScheduleResponse = GetWageScheduleResponses[keyof GetWageScheduleResponses];
13405
13637
  export type UpdateWageScheduleData = {
13406
13638
  body?: ApprenticeshipWageScheduleUpdateParameters;
13407
13639
  path: {
@@ -18566,7 +18798,7 @@ export type ListJobsData = {
18566
18798
  */
18567
18799
  'filter[production_tracking_kind]'?: 'none' | 'feature' | 'quantity';
18568
18800
  /**
18569
- * Returns jobs whose name contains this substring (case-insensitive). Matches the name column only — not display ID, company, or site names.
18801
+ * Fuzzy-matches the job name (trigram word-similarity). Matches the name column only — not display ID, company, or site names.
18570
18802
  */
18571
18803
  'filter[name]'?: string;
18572
18804
  /**
@@ -20035,6 +20267,36 @@ export type CreatePayRateRulePackageResponses = {
20035
20267
  201: PayRatesRulePackageResponseObject;
20036
20268
  };
20037
20269
  export type CreatePayRateRulePackageResponse = CreatePayRateRulePackageResponses[keyof CreatePayRateRulePackageResponses];
20270
+ export type DeletePayRateRulePackageData = {
20271
+ body?: never;
20272
+ path: {
20273
+ id: string;
20274
+ };
20275
+ query?: never;
20276
+ url: '/api/v1/pay/rates/rule_packages/{id}';
20277
+ };
20278
+ export type DeletePayRateRulePackageErrors = {
20279
+ /**
20280
+ * Forbidden
20281
+ */
20282
+ 403: Problem;
20283
+ /**
20284
+ * Not Found
20285
+ */
20286
+ 404: Problem;
20287
+ /**
20288
+ * Unprocessable Content
20289
+ */
20290
+ 422: Problem;
20291
+ };
20292
+ export type DeletePayRateRulePackageError = DeletePayRateRulePackageErrors[keyof DeletePayRateRulePackageErrors];
20293
+ export type DeletePayRateRulePackageResponses = {
20294
+ /**
20295
+ * No Content
20296
+ */
20297
+ 204: void;
20298
+ };
20299
+ export type DeletePayRateRulePackageResponse = DeletePayRateRulePackageResponses[keyof DeletePayRateRulePackageResponses];
20038
20300
  export type GetPayRateRulePackageData = {
20039
20301
  body?: never;
20040
20302
  path: {
@@ -20061,6 +20323,40 @@ export type GetPayRateRulePackageResponses = {
20061
20323
  200: PayRatesRulePackageResponseObject;
20062
20324
  };
20063
20325
  export type GetPayRateRulePackageResponse = GetPayRateRulePackageResponses[keyof GetPayRateRulePackageResponses];
20326
+ export type UpdatePayRateRulePackageData = {
20327
+ body?: PayRatesRulePackageUpdateParameters;
20328
+ path: {
20329
+ id: string;
20330
+ };
20331
+ query?: never;
20332
+ url: '/api/v1/pay/rates/rule_packages/{id}';
20333
+ };
20334
+ export type UpdatePayRateRulePackageErrors = {
20335
+ /**
20336
+ * Bad Request
20337
+ */
20338
+ 400: Problem;
20339
+ /**
20340
+ * Forbidden
20341
+ */
20342
+ 403: Problem;
20343
+ /**
20344
+ * Not Found
20345
+ */
20346
+ 404: Problem;
20347
+ /**
20348
+ * Unprocessable Content
20349
+ */
20350
+ 422: Problem;
20351
+ };
20352
+ export type UpdatePayRateRulePackageError = UpdatePayRateRulePackageErrors[keyof UpdatePayRateRulePackageErrors];
20353
+ export type UpdatePayRateRulePackageResponses = {
20354
+ /**
20355
+ * Success
20356
+ */
20357
+ 200: PayRatesRulePackageResponseObject;
20358
+ };
20359
+ export type UpdatePayRateRulePackageResponse = UpdatePayRateRulePackageResponses[keyof UpdatePayRateRulePackageResponses];
20064
20360
  export type ListAggregateTimeImportsData = {
20065
20361
  body?: never;
20066
20362
  path: {
@@ -22735,6 +23031,10 @@ export type ListProjectsData = {
22735
23031
  * Return only projects whose external_id matches this value exactly.
22736
23032
  */
22737
23033
  'filter[external_id]'?: string;
23034
+ /**
23035
+ * Fuzzy-matches the project name (trigram word-similarity). Matches the name column only — not external_id.
23036
+ */
23037
+ 'filter[name]'?: string;
22738
23038
  'filter[created_at][gte]'?: string;
22739
23039
  'filter[created_at][lte]'?: string;
22740
23040
  'filter[updated_at][gte]'?: string;
@@ -22898,6 +23198,32 @@ export type CreateCompanyUserDetailResponses = {
22898
23198
  201: PwaCompanyUserDetailsResponseObject;
22899
23199
  };
22900
23200
  export type CreateCompanyUserDetailResponse = CreateCompanyUserDetailResponses[keyof CreateCompanyUserDetailResponses];
23201
+ export type DeleteCompanyUserDetailData = {
23202
+ body?: never;
23203
+ path: {
23204
+ id: string;
23205
+ };
23206
+ query?: never;
23207
+ url: '/api/v1/pwa/company_user_details/{id}';
23208
+ };
23209
+ export type DeleteCompanyUserDetailErrors = {
23210
+ /**
23211
+ * Forbidden
23212
+ */
23213
+ 403: Problem;
23214
+ /**
23215
+ * Not Found
23216
+ */
23217
+ 404: Problem;
23218
+ };
23219
+ export type DeleteCompanyUserDetailError = DeleteCompanyUserDetailErrors[keyof DeleteCompanyUserDetailErrors];
23220
+ export type DeleteCompanyUserDetailResponses = {
23221
+ /**
23222
+ * No Content
23223
+ */
23224
+ 204: void;
23225
+ };
23226
+ export type DeleteCompanyUserDetailResponse = DeleteCompanyUserDetailResponses[keyof DeleteCompanyUserDetailResponses];
22901
23227
  export type UpdateCompanyUserDetailData = {
22902
23228
  body: PwaCompanyUserDetailsUpdateParameters;
22903
23229
  path: {
@@ -23375,6 +23701,10 @@ export type CreatePositionErrors = {
23375
23701
  * Forbidden
23376
23702
  */
23377
23703
  403: Problem;
23704
+ /**
23705
+ * Not Found
23706
+ */
23707
+ 404: Problem;
23378
23708
  /**
23379
23709
  * Unprocessable Content
23380
23710
  */
@@ -23388,6 +23718,64 @@ export type CreatePositionResponses = {
23388
23718
  201: PositionResponseObject;
23389
23719
  };
23390
23720
  export type CreatePositionResponse = CreatePositionResponses[keyof CreatePositionResponses];
23721
+ export type DeletePositionData = {
23722
+ body?: never;
23723
+ path: {
23724
+ job_id: string;
23725
+ id: string;
23726
+ };
23727
+ query?: never;
23728
+ url: '/api/v1/jobs/{job_id}/positions/{id}';
23729
+ };
23730
+ export type DeletePositionErrors = {
23731
+ /**
23732
+ * Forbidden
23733
+ */
23734
+ 403: Problem;
23735
+ /**
23736
+ * Not Found
23737
+ */
23738
+ 404: Problem;
23739
+ /**
23740
+ * Unprocessable Content
23741
+ */
23742
+ 422: Problem;
23743
+ };
23744
+ export type DeletePositionError = DeletePositionErrors[keyof DeletePositionErrors];
23745
+ export type DeletePositionResponses = {
23746
+ /**
23747
+ * No Content
23748
+ */
23749
+ 204: void;
23750
+ };
23751
+ export type DeletePositionResponse = DeletePositionResponses[keyof DeletePositionResponses];
23752
+ export type GetPositionData = {
23753
+ body?: never;
23754
+ path: {
23755
+ job_id: string;
23756
+ id: string;
23757
+ };
23758
+ query?: never;
23759
+ url: '/api/v1/jobs/{job_id}/positions/{id}';
23760
+ };
23761
+ export type GetPositionErrors = {
23762
+ /**
23763
+ * Forbidden
23764
+ */
23765
+ 403: Problem;
23766
+ /**
23767
+ * Not Found
23768
+ */
23769
+ 404: Problem;
23770
+ };
23771
+ export type GetPositionError = GetPositionErrors[keyof GetPositionErrors];
23772
+ export type GetPositionResponses = {
23773
+ /**
23774
+ * Success
23775
+ */
23776
+ 200: PositionResponseObject;
23777
+ };
23778
+ export type GetPositionResponse = GetPositionResponses[keyof GetPositionResponses];
23391
23779
  export type UpdatePositionData = {
23392
23780
  body?: PositionParameters;
23393
23781
  path: {
@@ -24176,6 +24564,35 @@ export type DeleteTimeEntryResponses = {
24176
24564
  200: TimeEntryResponseObject;
24177
24565
  };
24178
24566
  export type DeleteTimeEntryResponse = DeleteTimeEntryResponses[keyof DeleteTimeEntryResponses];
24567
+ export type GetTimeEntryData = {
24568
+ body?: never;
24569
+ path: {
24570
+ /**
24571
+ * Unique identifier of the time entry.
24572
+ */
24573
+ id: string;
24574
+ };
24575
+ query?: never;
24576
+ url: '/api/v1/time_entries/{id}';
24577
+ };
24578
+ export type GetTimeEntryErrors = {
24579
+ /**
24580
+ * Forbidden
24581
+ */
24582
+ 403: Problem;
24583
+ /**
24584
+ * Not Found
24585
+ */
24586
+ 404: Problem;
24587
+ };
24588
+ export type GetTimeEntryError = GetTimeEntryErrors[keyof GetTimeEntryErrors];
24589
+ export type GetTimeEntryResponses = {
24590
+ /**
24591
+ * Success
24592
+ */
24593
+ 200: TimeEntryResponseObject;
24594
+ };
24595
+ export type GetTimeEntryResponse = GetTimeEntryResponses[keyof GetTimeEntryResponses];
24179
24596
  export type UpdateTimeEntryData = {
24180
24597
  body: TimeEntryUpdateParameters;
24181
24598
  path: {