Skip to content

feat(types) - update opeanpi types#942

Merged
gabrielseco merged 2 commits intomainfrom
update-open-api-types
Apr 21, 2026
Merged

feat(types) - update opeanpi types#942
gabrielseco merged 2 commits intomainfrom
update-open-api-types

Conversation

@gabrielseco
Copy link
Copy Markdown
Collaborator

@gabrielseco gabrielseco commented Apr 20, 2026

Update openapi types to use the engagement form schema


Note

Low Risk
Changes are generated client/type additions (mostly additive) with no behavioral changes beyond exposing new endpoints; main risk is downstream compile/runtime impact from regenerated exports and new form-data request typing.

Overview
Regenerates the auto-generated TS client (sdk.gen.ts/index.ts) to expose new API capabilities.

Adds endpoints and types for engagement agreement details: fetch the country-specific JSON schema (getShowEngagementAgreementDetailsCountry, currently DEU) and get/upsert employment-level details (getShowEmploymentEngagementAgreementDetails, postUpdateEmploymentEngagementAgreementDetails).

Adds pay item listing support via getIndexPayItems/ListPayItemsResponse, and adds risk reserve proof-of-payment APIs: submit proof-of-payment documents (postSubmitRiskReserveProofOfPayment, form-data) and a Sandbox-only approval endpoint (postApproveRiskReserveProofOfPayment) plus associated request/response types. Also updates postBulkCreatePayItems docs to note only Global Payroll employments are supported.

Reviewed by Cursor Bugbot for commit ba910d1. Bugbot is set up for automated code reviews on this repo. Configure here.

@gabrielseco gabrielseco self-assigned this Apr 20, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 20, 2026

📦 Bundle Size Report

Metric Current Previous Change Status
Total (gzip) 208.32 kB 208.37 kB -57 B (-0.0%) 🟢
Total (raw) 559.53 kB 559.53 kB 0 B (0%) 🟢
CSS (gzip) 20.11 kB 20.11 kB 0 B (0%) 🟢
CSS (raw) 103.71 kB 103.71 kB 0 B (0%) 🟢

Size Limits

  • ✅ Total gzipped: 208.32 kB / 250 kB (83.3%)
  • ✅ Total raw: 559.53 kB / 600 kB (93.3%)
  • ✅ CSS gzipped: 20.11 kB / 25 kB (80.4%)

Largest Files (Top 5)

  1. chunk-72RFYT5Y.js - 13.83 kB (0 B (0%))
  2. index.css - 10.05 kB (0 B (0%))
  3. styles.css - 10.05 kB (0 B (0%))
  4. index.js - 6.05 kB (-5 B (-0.1%))
  5. chunk-TCFMKNS4.js - 5.93 kB (new)
View All Files (310 total)
File Size (gzip) Change
chunk-72RFYT5Y.js 13.83 kB 0 B (0%)
index.css 10.05 kB 0 B (0%)
styles.css 10.05 kB 0 B (0%)
index.js 6.05 kB -5 B (-0.1%)
chunk-TCFMKNS4.js 5.93 kB new
chunk-O5XQUEB5.js 5.82 kB new
chunk-D3QXDY3L.js 4.41 kB new
chunk-NCW6PLZK.js 4.23 kB new
chunk-5QHQT6DL.js 4.06 kB new
chunk-H3YBAOPR.js 3.46 kB new

✅ Bundle size check passed

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 20, 2026

📊 Coverage Report

⚪ Coverage unchanged

Metric Current Previous Change Status
Lines 89.92% 89.92% 0%
Statements 89.59% 89.59% 0%
Functions 87.47% 87.47% 0%
Branches 79.82% 79.82% 0%

Detailed Breakdown

Lines Coverage
  • Covered: 3585 / 3987
  • Coverage: 89.92%
  • Change: 0% (0 lines)
Statements Coverage
  • Covered: 3648 / 4072
  • Coverage: 89.59%
  • Change: 0% (0 statements)
Functions Coverage
  • Covered: 984 / 1125
  • Coverage: 87.47%
  • Change: 0% (0 functions)
Branches Coverage
  • Covered: 2227 / 2790
  • Coverage: 79.82%
  • Change: 0% (0 branches)

✅ Coverage check passed

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 20, 2026

Deploy preview for remote-flows ready!

✅ Preview
https://remote-flows-j6dewe8tp-remotecom.vercel.app

Built with commit ba910d1.
This pull request is being automatically deployed with vercel-action

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 20, 2026

Deploy preview for remote-flows-example-app ready!

✅ Preview
https://remote-flows-example-50i3jkajx-remotecom.vercel.app

Built with commit ba910d1.
This pull request is being automatically deployed with vercel-action

@gabrielseco gabrielseco merged commit 0df398e into main Apr 21, 2026
11 checks passed
@gabrielseco gabrielseco deleted the update-open-api-types branch April 21, 2026 07:15
@gabrielseco gabrielseco mentioned this pull request Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants