@dsptch-work/api-client 0.39.0 → 0.40.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.
@@ -4679,6 +4679,31 @@ export class PwaTrades {
4679
4679
  }
4680
4680
  }
4681
4681
  export class JobWageDeterminationRateRules {
4682
+ /**
4683
+ * Shift job wage determination rule genesis
4684
+ *
4685
+ * Move the valid-time family's lower bound to the required effective_date, a calendar
4686
+ * day in the package timezone. An earlier bound extends its first version; a later
4687
+ * bound can remove earlier versions. The new bound must precede any standing ending.
4688
+ * Conditional: send the rule family's ETag as If-Match. Changes affect PWA obligations.
4689
+ *
4690
+ *
4691
+ * **Required scope:**
4692
+ *
4693
+ * `jobs.pwa.wage_determinations.rate_rules.genesis:update`
4694
+ *
4695
+ */
4696
+ static shiftJobWageDeterminationRateRuleGenesis(options) {
4697
+ return (options.client ?? client).patch({
4698
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
4699
+ url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/genesis',
4700
+ ...options,
4701
+ headers: {
4702
+ 'Content-Type': 'application/json',
4703
+ ...options.headers
4704
+ }
4705
+ });
4706
+ }
4682
4707
  /**
4683
4708
  * List rate rule version history
4684
4709
  *
@@ -4709,6 +4734,118 @@ export class JobWageDeterminationRateRules {
4709
4734
  ...options
4710
4735
  });
4711
4736
  }
4737
+ /**
4738
+ * Cancel job wage determination rule scheduled changes
4739
+ *
4740
+ * Cancel every version after the baseline selected now, preserving and extending
4741
+ * that baseline through the removed coverage. A wholly future family's first version
4742
+ * remains its baseline. Returns nothing_to_cancel when there is no later version.
4743
+ * Conditional: send the rule family's ETag as If-Match. Changes affect PWA obligations.
4744
+ *
4745
+ *
4746
+ * **Required scope:**
4747
+ *
4748
+ * `jobs.pwa.wage_determinations.rate_rules.scheduled_changes:delete`
4749
+ *
4750
+ */
4751
+ static cancelJobWageDeterminationRateRuleScheduledChanges(options) {
4752
+ return (options.client ?? client).delete({
4753
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
4754
+ url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/scheduled_changes',
4755
+ ...options
4756
+ });
4757
+ }
4758
+ /**
4759
+ * List job wage determination rule scheduled changes
4760
+ *
4761
+ * List every version after the baseline selected now, oldest boundary first. This
4762
+ * paginated timeline is the exact cancellation set. A wholly future family's first
4763
+ * version remains its baseline. Entries carry pay_rates_rule_id and empty corrections.
4764
+ * The operation rejects as_of coordinates because it ranges over the valid-time axis.
4765
+ *
4766
+ *
4767
+ * **Required scope:**
4768
+ *
4769
+ * `jobs.pwa.wage_determinations.rate_rules.scheduled_changes:read`
4770
+ *
4771
+ */
4772
+ static listJobWageDeterminationRateRuleScheduledChanges(options) {
4773
+ return (options.client ?? client).get({
4774
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
4775
+ url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/scheduled_changes',
4776
+ ...options
4777
+ });
4778
+ }
4779
+ /**
4780
+ * Schedule job wage determination rule change
4781
+ *
4782
+ * Apply a recipe from the required effective_date forward, at midnight in the
4783
+ * package timezone. Each omitted recipe half carries from the version containing that
4784
+ * date. Returns 201 for a newly added segment or 200 when editing an existing segment.
4785
+ * Conditional: send the rule family's ETag as If-Match. Changes affect PWA obligations.
4786
+ *
4787
+ *
4788
+ * **Required scope:**
4789
+ *
4790
+ * `jobs.pwa.wage_determinations.rate_rules.scheduled_changes:create`
4791
+ *
4792
+ */
4793
+ static scheduleJobWageDeterminationRateRuleChange(options) {
4794
+ return (options.client ?? client).post({
4795
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
4796
+ url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/scheduled_changes',
4797
+ ...options,
4798
+ headers: {
4799
+ 'Content-Type': 'application/json',
4800
+ ...options.headers
4801
+ }
4802
+ });
4803
+ }
4804
+ /**
4805
+ * Cancel job wage determination rule termination
4806
+ *
4807
+ * Remove the family's standing finite upper bound and restore open-ended coverage.
4808
+ * Returns nothing_to_cancel when the family has no ending.
4809
+ * Conditional: send the rule family's ETag as If-Match. Changes affect PWA obligations.
4810
+ *
4811
+ *
4812
+ * **Required scope:**
4813
+ *
4814
+ * `jobs.pwa.wage_determinations.rate_rules.scheduled_terminations:delete`
4815
+ *
4816
+ */
4817
+ static cancelJobWageDeterminationRateRuleScheduledTermination(options) {
4818
+ return (options.client ?? client).delete({
4819
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
4820
+ url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/scheduled_termination',
4821
+ ...options
4822
+ });
4823
+ }
4824
+ /**
4825
+ * Schedule job wage determination rule termination
4826
+ *
4827
+ * End the family's valid-time coverage at the required effective_date, a calendar
4828
+ * day in the package timezone. The date must follow genesis; an existing ending must
4829
+ * be canceled first. Earlier versions remain in history.
4830
+ * Conditional: send the rule family's ETag as If-Match. Changes affect PWA obligations.
4831
+ *
4832
+ *
4833
+ * **Required scope:**
4834
+ *
4835
+ * `jobs.pwa.wage_determinations.rate_rules.scheduled_terminations:create`
4836
+ *
4837
+ */
4838
+ static scheduleJobWageDeterminationRateRuleTermination(options) {
4839
+ return (options.client ?? client).post({
4840
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
4841
+ url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/scheduled_termination',
4842
+ ...options,
4843
+ headers: {
4844
+ 'Content-Type': 'application/json',
4845
+ ...options.headers
4846
+ }
4847
+ });
4848
+ }
4712
4849
  /**
4713
4850
  * List rate rules
4714
4851
  *
@@ -4760,6 +4897,27 @@ export class JobWageDeterminationRateRules {
4760
4897
  }
4761
4898
  });
4762
4899
  }
4900
+ /**
4901
+ * Delete job wage determination rate rule family
4902
+ *
4903
+ * Erase the rule's entire valid-time family, including historical and scheduled
4904
+ * versions. Use a scheduled termination to end coverage while preserving history.
4905
+ * This response has no family validator because the family no longer exists.
4906
+ * Conditional: send the rule family's ETag as If-Match. Changes affect PWA obligations.
4907
+ *
4908
+ *
4909
+ * **Required scope:**
4910
+ *
4911
+ * `jobs.pwa.wage_determinations.rate_rules:delete`
4912
+ *
4913
+ */
4914
+ static deleteJobWageDeterminationRateRule(options) {
4915
+ return (options.client ?? client).delete({
4916
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
4917
+ url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{id}',
4918
+ ...options
4919
+ });
4920
+ }
4763
4921
  /**
4764
4922
  * Show rate rule
4765
4923
  *
@@ -4775,6 +4933,31 @@ export class JobWageDeterminationRateRules {
4775
4933
  ...options
4776
4934
  });
4777
4935
  }
4936
+ /**
4937
+ * Update job wage determination rate rule
4938
+ *
4939
+ * Update the recipe from effective_from forward, defaulting to the selected
4940
+ * version's start. Omitted halves carry from the version containing that date.
4941
+ * A beginless version requires effective_from. Dates use the package timezone.
4942
+ * Conditional: send the rule family's ETag as If-Match. Changes affect PWA obligations.
4943
+ *
4944
+ *
4945
+ * **Required scope:**
4946
+ *
4947
+ * `jobs.pwa.wage_determinations.rate_rules:update`
4948
+ *
4949
+ */
4950
+ static updateJobWageDeterminationRateRule(options) {
4951
+ return (options.client ?? client).patch({
4952
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
4953
+ url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{id}',
4954
+ ...options,
4955
+ headers: {
4956
+ 'Content-Type': 'application/json',
4957
+ ...options.headers
4958
+ }
4959
+ });
4960
+ }
4778
4961
  }
4779
4962
  export class JobWageDeterminations {
4780
4963
  /**
@@ -7511,6 +7694,31 @@ export class ProjectDocuments {
7511
7694
  }
7512
7695
  }
7513
7696
  export class ProjectWageDeterminationRateRules {
7697
+ /**
7698
+ * Shift project wage determination rule genesis
7699
+ *
7700
+ * Move the valid-time family's lower bound to the required effective_date, a calendar
7701
+ * day in the package timezone. An earlier bound extends its first version; a later
7702
+ * bound can remove earlier versions. The new bound must precede any standing ending.
7703
+ * Conditional: send the rule family's ETag as If-Match. Changes affect PWA obligations.
7704
+ *
7705
+ *
7706
+ * **Required scope:**
7707
+ *
7708
+ * `projects.pwa.wage_determinations.rate_rules.genesis:update`
7709
+ *
7710
+ */
7711
+ static shiftProjectWageDeterminationRateRuleGenesis(options) {
7712
+ return (options.client ?? client).patch({
7713
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
7714
+ url: '/api/v1/projects/{project_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/genesis',
7715
+ ...options,
7716
+ headers: {
7717
+ 'Content-Type': 'application/json',
7718
+ ...options.headers
7719
+ }
7720
+ });
7721
+ }
7514
7722
  /**
7515
7723
  * List project wage determination rate rule history
7516
7724
  *
@@ -7541,6 +7749,118 @@ export class ProjectWageDeterminationRateRules {
7541
7749
  ...options
7542
7750
  });
7543
7751
  }
7752
+ /**
7753
+ * Cancel project wage determination rule scheduled changes
7754
+ *
7755
+ * Cancel every version after the baseline selected now, preserving and extending
7756
+ * that baseline through the removed coverage. A wholly future family's first version
7757
+ * remains its baseline. Returns nothing_to_cancel when there is no later version.
7758
+ * Conditional: send the rule family's ETag as If-Match. Changes affect PWA obligations.
7759
+ *
7760
+ *
7761
+ * **Required scope:**
7762
+ *
7763
+ * `projects.pwa.wage_determinations.rate_rules.scheduled_changes:delete`
7764
+ *
7765
+ */
7766
+ static cancelProjectWageDeterminationRateRuleScheduledChanges(options) {
7767
+ return (options.client ?? client).delete({
7768
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
7769
+ url: '/api/v1/projects/{project_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/scheduled_changes',
7770
+ ...options
7771
+ });
7772
+ }
7773
+ /**
7774
+ * List project wage determination rule scheduled changes
7775
+ *
7776
+ * List every version after the baseline selected now, oldest boundary first. This
7777
+ * paginated timeline is the exact cancellation set. A wholly future family's first
7778
+ * version remains its baseline. Entries carry pay_rates_rule_id and empty corrections.
7779
+ * The operation rejects as_of coordinates because it ranges over the valid-time axis.
7780
+ *
7781
+ *
7782
+ * **Required scope:**
7783
+ *
7784
+ * `projects.pwa.wage_determinations.rate_rules.scheduled_changes:read`
7785
+ *
7786
+ */
7787
+ static listProjectWageDeterminationRateRuleScheduledChanges(options) {
7788
+ return (options.client ?? client).get({
7789
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
7790
+ url: '/api/v1/projects/{project_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/scheduled_changes',
7791
+ ...options
7792
+ });
7793
+ }
7794
+ /**
7795
+ * Schedule project wage determination rule change
7796
+ *
7797
+ * Apply a recipe from the required effective_date forward, at midnight in the
7798
+ * package timezone. Each omitted recipe half carries from the version containing that
7799
+ * date. Returns 201 for a newly added segment or 200 when editing an existing segment.
7800
+ * Conditional: send the rule family's ETag as If-Match. Changes affect PWA obligations.
7801
+ *
7802
+ *
7803
+ * **Required scope:**
7804
+ *
7805
+ * `projects.pwa.wage_determinations.rate_rules.scheduled_changes:create`
7806
+ *
7807
+ */
7808
+ static scheduleProjectWageDeterminationRateRuleChange(options) {
7809
+ return (options.client ?? client).post({
7810
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
7811
+ url: '/api/v1/projects/{project_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/scheduled_changes',
7812
+ ...options,
7813
+ headers: {
7814
+ 'Content-Type': 'application/json',
7815
+ ...options.headers
7816
+ }
7817
+ });
7818
+ }
7819
+ /**
7820
+ * Cancel project wage determination rule termination
7821
+ *
7822
+ * Remove the family's standing finite upper bound and restore open-ended coverage.
7823
+ * Returns nothing_to_cancel when the family has no ending.
7824
+ * Conditional: send the rule family's ETag as If-Match. Changes affect PWA obligations.
7825
+ *
7826
+ *
7827
+ * **Required scope:**
7828
+ *
7829
+ * `projects.pwa.wage_determinations.rate_rules.scheduled_terminations:delete`
7830
+ *
7831
+ */
7832
+ static cancelProjectWageDeterminationRateRuleScheduledTermination(options) {
7833
+ return (options.client ?? client).delete({
7834
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
7835
+ url: '/api/v1/projects/{project_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/scheduled_termination',
7836
+ ...options
7837
+ });
7838
+ }
7839
+ /**
7840
+ * Schedule project wage determination rule termination
7841
+ *
7842
+ * End the family's valid-time coverage at the required effective_date, a calendar
7843
+ * day in the package timezone. The date must follow genesis; an existing ending must
7844
+ * be canceled first. Earlier versions remain in history.
7845
+ * Conditional: send the rule family's ETag as If-Match. Changes affect PWA obligations.
7846
+ *
7847
+ *
7848
+ * **Required scope:**
7849
+ *
7850
+ * `projects.pwa.wage_determinations.rate_rules.scheduled_terminations:create`
7851
+ *
7852
+ */
7853
+ static scheduleProjectWageDeterminationRateRuleTermination(options) {
7854
+ return (options.client ?? client).post({
7855
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
7856
+ url: '/api/v1/projects/{project_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/scheduled_termination',
7857
+ ...options,
7858
+ headers: {
7859
+ 'Content-Type': 'application/json',
7860
+ ...options.headers
7861
+ }
7862
+ });
7863
+ }
7544
7864
  /**
7545
7865
  * List project wage determination rate rules
7546
7866
  *
@@ -7582,6 +7902,27 @@ export class ProjectWageDeterminationRateRules {
7582
7902
  }
7583
7903
  });
7584
7904
  }
7905
+ /**
7906
+ * Delete project wage determination rate rule family
7907
+ *
7908
+ * Erase the rule's entire valid-time family, including historical and scheduled
7909
+ * versions. Use a scheduled termination to end coverage while preserving history.
7910
+ * This response has no family validator because the family no longer exists.
7911
+ * Conditional: send the rule family's ETag as If-Match. Changes affect PWA obligations.
7912
+ *
7913
+ *
7914
+ * **Required scope:**
7915
+ *
7916
+ * `projects.pwa.wage_determinations.rate_rules:delete`
7917
+ *
7918
+ */
7919
+ static deleteProjectWageDeterminationRateRule(options) {
7920
+ return (options.client ?? client).delete({
7921
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
7922
+ url: '/api/v1/projects/{project_id}/wage_determinations/{wage_determination_id}/rate_rules/{id}',
7923
+ ...options
7924
+ });
7925
+ }
7585
7926
  /**
7586
7927
  * Show project wage determination rate rule
7587
7928
  *
@@ -7597,6 +7938,31 @@ export class ProjectWageDeterminationRateRules {
7597
7938
  ...options
7598
7939
  });
7599
7940
  }
7941
+ /**
7942
+ * Update project wage determination rate rule
7943
+ *
7944
+ * Update the recipe from effective_from forward, defaulting to the selected
7945
+ * version's start. Omitted halves carry from the version containing that date.
7946
+ * A beginless version requires effective_from. Dates use the package timezone.
7947
+ * Conditional: send the rule family's ETag as If-Match. Changes affect PWA obligations.
7948
+ *
7949
+ *
7950
+ * **Required scope:**
7951
+ *
7952
+ * `projects.pwa.wage_determinations.rate_rules:update`
7953
+ *
7954
+ */
7955
+ static updateProjectWageDeterminationRateRule(options) {
7956
+ return (options.client ?? client).patch({
7957
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
7958
+ url: '/api/v1/projects/{project_id}/wage_determinations/{wage_determination_id}/rate_rules/{id}',
7959
+ ...options,
7960
+ headers: {
7961
+ 'Content-Type': 'application/json',
7962
+ ...options.headers
7963
+ }
7964
+ });
7965
+ }
7600
7966
  }
7601
7967
  export class ProjectSites {
7602
7968
  /**
@@ -8106,12 +8472,14 @@ export class Projects {
8106
8472
  * prevailing-wage lock-in / beginning-of-construction / placed-in-service dates)
8107
8473
  * and `asset_owner` apply only while `federal_pwa_mode` is not `none`, so sending
8108
8474
  * one of them on a project that tracks no federal PWA — even as null — returns
8109
- * 422. `parent_id` may name a project visible to the API key's policy, and
8110
- * `participating_company_ids` is the complete set of participating companies.
8111
- * Remove a participant's jobs before removing it from this set. Returns 201
8112
- * with the project; unknown or inaccessible parent or
8113
- * company IDs return 404, and invalid attributes or relationships return 422.
8114
- * Undeclared body keys return 400 before any project or relationship is saved.
8475
+ * 422. `parent_id` may name a project visible to the API key's policy,
8476
+ * `participating_company_ids` is the complete set of participating companies,
8477
+ * and `manager_user_ids` is the complete set of project managers (each a
8478
+ * manager of the owning company). Remove a participant's jobs before removing
8479
+ * it from this set. Returns 201 with the project; unknown or inaccessible
8480
+ * parent, company, or manager user IDs return 404, and invalid attributes or
8481
+ * relationships return 422. Undeclared body keys return 400 before any project
8482
+ * or relationship is saved.
8115
8483
  *
8116
8484
  *
8117
8485
  * **Required scope:**
@@ -8163,7 +8531,9 @@ export class Projects {
8163
8531
  * returns 422. `budget_currency` defaults to USD when blank. `parent_id` moves
8164
8532
  * or detaches the project; a project whose parent no longer lists its owner
8165
8533
  * still accepts updates that keep that parent. `participating_company_ids`
8166
- * replaces the complete set of participating companies. Remove a participant's
8534
+ * replaces the complete set of participating companies. `manager_user_ids`
8535
+ * replaces the complete set of project managers; omit the key to keep the
8536
+ * stored set, or send an empty array to clear it. Remove a participant's
8167
8537
  * jobs before removing it from this set. Only the owning company may update the
8168
8538
  * project. Undeclared body keys return 400 before any project or relationship changes.
8169
8539
  *
@@ -8185,6 +8555,113 @@ export class Projects {
8185
8555
  });
8186
8556
  }
8187
8557
  }
8558
+ export class PwaCompanyDetails {
8559
+ /**
8560
+ * List PWA company details
8561
+ *
8562
+ * Lists PWA contractor details for the key's company. A company has at most
8563
+ * one row; an empty list means none exists yet, not that the company is
8564
+ * missing. Ordered by `created_at`, `id` and keyset-paginated.
8565
+ *
8566
+ *
8567
+ * **Required scope:**
8568
+ *
8569
+ * `pwa.company_details:read`
8570
+ *
8571
+ */
8572
+ static listCompanyDetails(options) {
8573
+ return (options?.client ?? client).get({
8574
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
8575
+ url: '/api/v1/pwa/company_details',
8576
+ ...options
8577
+ });
8578
+ }
8579
+ /**
8580
+ * Create PWA company details
8581
+ *
8582
+ * Creates PWA contractor details for the key's company. The company is
8583
+ * taken from the API key; `company_id` in the body is refused. A second
8584
+ * create for the same company is `422` `taken`.
8585
+ *
8586
+ *
8587
+ * **Required scope:**
8588
+ *
8589
+ * `pwa.company_details:create`
8590
+ *
8591
+ */
8592
+ static createCompanyDetail(options) {
8593
+ return (options.client ?? client).post({
8594
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
8595
+ url: '/api/v1/pwa/company_details',
8596
+ ...options,
8597
+ headers: {
8598
+ 'Content-Type': 'application/json',
8599
+ ...options.headers
8600
+ }
8601
+ });
8602
+ }
8603
+ /**
8604
+ * Delete PWA company details
8605
+ *
8606
+ * Deletes the PWA contractor-details row. A missing or out-of-scope id
8607
+ * reads as not found. Delete removes the row; it does not archive.
8608
+ *
8609
+ *
8610
+ * **Required scope:**
8611
+ *
8612
+ * `pwa.company_details:delete`
8613
+ *
8614
+ */
8615
+ static deleteCompanyDetail(options) {
8616
+ return (options.client ?? client).delete({
8617
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
8618
+ url: '/api/v1/pwa/company_details/{id}',
8619
+ ...options
8620
+ });
8621
+ }
8622
+ /**
8623
+ * Get PWA company details
8624
+ *
8625
+ * Returns one PWA contractor-details row owned by the key's company. A
8626
+ * missing or out-of-scope id reads as not found.
8627
+ *
8628
+ *
8629
+ * **Required scope:**
8630
+ *
8631
+ * `pwa.company_details:read`
8632
+ *
8633
+ */
8634
+ static getCompanyDetail(options) {
8635
+ return (options.client ?? client).get({
8636
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
8637
+ url: '/api/v1/pwa/company_details/{id}',
8638
+ ...options
8639
+ });
8640
+ }
8641
+ /**
8642
+ * Update PWA company details
8643
+ *
8644
+ * Updates PWA contractor details owned by the key's company. `company_id`
8645
+ * is create-only and refused on PATCH.
8646
+ *
8647
+ *
8648
+ * **Required scope:**
8649
+ *
8650
+ * `pwa.company_details:update`
8651
+ *
8652
+ */
8653
+ static updateCompanyDetail(options) {
8654
+ return (options.client ?? client).patch({
8655
+ security: [{ name: 'X-Api-Key', type: 'apiKey' }],
8656
+ url: '/api/v1/pwa/company_details/{id}',
8657
+ ...options,
8658
+ headers: {
8659
+ 'Content-Type': 'application/json',
8660
+ ...options.headers
8661
+ }
8662
+ });
8663
+ }
8664
+ }
8188
8665
  export class Users {
8189
8666
  /**
8190
8667
  * Create PWA company user details
@@ -9496,7 +9973,7 @@ export class AttestationConfigs {
9496
9973
  /**
9497
9974
  * Delete attestation config
9498
9975
  *
9499
- * Retires a question on the addressed pay schedule at its current pay period end. Repeated retirement preserves the earliest cutoff. A question from another pay schedule returns 404.
9976
+ * Retires a question on the addressed pay schedule at its current pay period end, or immediately when no pay period is in progress. Repeated retirement preserves the earliest cutoff. A question from another pay schedule returns 404.
9500
9977
  *
9501
9978
  * **Required scope:**
9502
9979
  *