@vm0/cli 9.206.0 → 9.206.2
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.
- package/{chunk-QMWTDWXH.js → chunk-K77B6SNH.js} +459 -192
- package/{chunk-QMWTDWXH.js.map → chunk-K77B6SNH.js.map} +1 -1
- package/{deel.generated-32HAHF2K.js → deel.generated-SOMLVMQV.js} +2 -2
- package/deel.generated-SOMLVMQV.js.map +1 -0
- package/index.js +9 -9
- package/package.json +1 -1
- package/zero.js +22 -30
- package/zero.js.map +1 -1
- package/deel.generated-32HAHF2K.js.map +0 -1
|
@@ -98,6 +98,7 @@ var deelFirewall = {
|
|
|
98
98
|
{
|
|
99
99
|
name: "auth:write",
|
|
100
100
|
rules: [
|
|
101
|
+
"POST /rest/v2/magic-link",
|
|
101
102
|
"POST /rest/v2/managers/magic-links"
|
|
102
103
|
]
|
|
103
104
|
},
|
|
@@ -642,7 +643,6 @@ var deelFirewall = {
|
|
|
642
643
|
"GET /rest/v2/immigration/workers/cases/{case_id}",
|
|
643
644
|
"GET /rest/v2/immigration/workers/{worker_id}/cases/{case_id}/required-document",
|
|
644
645
|
"GET /rest/v2/immigration/workers/{worker_id}/onboarding-case",
|
|
645
|
-
"POST /rest/v2/magic-link",
|
|
646
646
|
"GET /rest/v2/payouts/auto-withdrawal-setting",
|
|
647
647
|
"GET /rest/v2/payouts/balances",
|
|
648
648
|
"GET /rest/v2/payouts/contractors/methods",
|
|
@@ -694,4 +694,4 @@ var deelFirewall = {
|
|
|
694
694
|
export {
|
|
695
695
|
deelFirewall
|
|
696
696
|
};
|
|
697
|
-
//# sourceMappingURL=deel.generated-
|
|
697
|
+
//# sourceMappingURL=deel.generated-SOMLVMQV.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../packages/connectors/src/firewalls/deel.generated.ts"],"sourcesContent":["// Auto-generated from Deel's official OpenAPI specs.\n// Source: https://developer.deel.com/openapi.json\n// Regenerate: cd turbo && pnpm -F @vm0/firewalls-generator generate:deel\n//\n// DO NOT EDIT THIS FILE MANUALLY.\n\nimport type { FirewallConfig } from \"../firewall-types\";\n\nexport const deelFirewall = {\n name: \"deel\",\n description: \"Deel API\",\n placeholders: {\n DEEL_TOKEN: \"CoffeeSafeLocalCoffeeSafeLocalCoffeeSafeLocalCoffeeSafe\",\n },\n apis: [\n {\n base: \"https://api.letsdeel.com\",\n auth: {\n headers: {\n Authorization: \"Bearer ${{ secrets.DEEL_TOKEN }}\",\n },\n },\n permissions: [\n {\n name: \"accounting:read\",\n rules: [\n \"GET /rest/v2/ic/workers/invoices/{invoice_id}/pdf\",\n \"GET /rest/v2/invoices\",\n \"GET /rest/v2/invoices/deel\",\n \"GET /rest/v2/invoices/{id}/download\",\n \"GET /rest/v2/invoices/{invoice_id}\",\n \"GET /rest/v2/payments\",\n \"GET /rest/v2/payments/{payment_id}/breakdown\",\n \"GET /rest/v2/refund-statements\",\n \"GET /rest/v2/refund-statements/{refund_statement_id}/breakdown\",\n ],\n },\n {\n name: \"adjustments:read\",\n rules: [\n \"GET /rest/v2/adjustments/categories\",\n \"GET /rest/v2/adjustments/{id}\",\n \"GET /rest/v2/contracts/{contract_id}/adjustments\",\n ],\n },\n {\n name: \"adjustments:write\",\n rules: [\n \"POST /rest/v2/adjustments\",\n \"PATCH /rest/v2/adjustments/{id}\",\n \"DELETE /rest/v2/adjustments/{id}\",\n ],\n },\n {\n name: \"admin:worker\",\n rules: [\n \"POST /rest/v2/workers/session\",\n \"DELETE /rest/v2/workers/{worker_id}/session\",\n ],\n },\n {\n name: \"ats:read\",\n rules: [\n \"GET /rest/v2/ats/application-sources\",\n \"GET /rest/v2/ats/applications\",\n \"GET /rest/v2/ats/applications/{application_id}\",\n \"GET /rest/v2/ats/attachments/{attachable_type_slug}/{attachable_id}/{attachment_type_slug}\",\n \"GET /rest/v2/ats/candidates\",\n \"GET /rest/v2/ats/departments\",\n \"GET /rest/v2/ats/email-templates\",\n \"GET /rest/v2/ats/employment-types\",\n \"GET /rest/v2/ats/hiring-members\",\n \"GET /rest/v2/ats/interviews\",\n \"GET /rest/v2/ats/job-boards/{job_board_id}/job-postings\",\n \"GET /rest/v2/ats/job-postings\",\n \"GET /rest/v2/ats/job-postings/{job_posting_id}\",\n \"GET /rest/v2/ats/jobs\",\n \"GET /rest/v2/ats/locations\",\n \"GET /rest/v2/ats/offers\",\n \"GET /rest/v2/ats/openings\",\n \"GET /rest/v2/ats/reasons\",\n \"GET /rest/v2/ats/tags\",\n ],\n },\n {\n name: \"ats:write\",\n rules: [\n \"POST /rest/v2/ats/applications\",\n \"POST /rest/v2/ats/applications/{application_id}/interview-plan-stages\",\n \"POST /rest/v2/ats/applications/{application_id}/notes\",\n \"POST /rest/v2/ats/candidates\",\n \"POST /rest/v2/ats/candidates/{candidate_id}/tags\",\n \"POST /rest/v2/ats/jobs\",\n \"POST /rest/v2/ats/upsertions/bulk-tags\",\n ],\n },\n {\n name: \"auth:write\",\n rules: [\n \"POST /rest/v2/magic-link\",\n \"POST /rest/v2/managers/magic-links\",\n ],\n },\n {\n name: \"benefits:read\",\n rules: [\n \"GET /rest/v2/benefits/legal-entities/{id}/401k/plans\",\n \"GET /rest/v2/benefits/legal-entities/{legal_entity_id}/contracts/{contract_id}/plans/{plan_id}\",\n \"GET /rest/v2/benefits/legal-entities/{legal_entity_id}/paystubs\",\n \"GET /rest/v2/eor/benefits\",\n \"GET /rest/v2/eor/worker/benefits\",\n ],\n },\n {\n name: \"benefits:write\",\n rules: [\n \"POST /rest/v2/benefits/legal-entities/{id}/401k/plans/clean-up\",\n \"POST /rest/v2/benefits/legal-entities/{id}/benefits/401k/activate\",\n \"POST /rest/v2/benefits/legal-entities/{legal_entity_id}/401k/plans\",\n \"PUT /rest/v2/benefits/legal-entities/{legal_entity_id}/401k/plans/{plan_id}\",\n \"POST /rest/v2/benefits/legal-entities/{legal_entity_id}/contracts/{contract_id}/plans/{plan_id}\",\n ],\n },\n {\n name: \"candidates:write\",\n rules: [\n \"POST /rest/v2/candidates\",\n ],\n },\n {\n name: \"contracts:read\",\n rules: [\n \"GET /rest/v2/contract-templates\",\n \"GET /rest/v2/contracts\",\n \"GET /rest/v2/contracts/custom_fields\",\n \"GET /rest/v2/contracts/custom_fields/{id}\",\n \"GET /rest/v2/contracts/termination-reasons\",\n \"GET /rest/v2/contracts/{contract_id}\",\n \"GET /rest/v2/contracts/{contract_id}/amendments\",\n \"GET /rest/v2/contracts/{contract_id}/invite\",\n \"GET /rest/v2/contracts/{contract_id}/payment_cycles\",\n \"GET /rest/v2/contracts/{contract_id}/preview\",\n \"GET /rest/v2/contracts/{contract_id}/tasks\",\n \"GET /rest/v2/employee-info/contract-types/{type}/countries/{country}\",\n \"GET /rest/v2/eor/additional-costs/{country}\",\n \"GET /rest/v2/eor/contracts/amendments/data-points/configuration\",\n \"GET /rest/v2/eor/contracts/{contract_id}/amendments\",\n \"GET /rest/v2/eor/contracts/{contract_id}/amendments/validation/settings\",\n \"GET /rest/v2/eor/contracts/{contract_id}/amendments/{amendment_id}\",\n \"GET /rest/v2/eor/contracts/{contract_id}/amendments/{amendment_id}/effective-date-limitations\",\n \"GET /rest/v2/eor/contracts/{contract_id}/amendments/{amendment_id}/pdf\",\n \"GET /rest/v2/eor/contracts/{contract_id}/details\",\n \"GET /rest/v2/eor/contracts/{contract_id}/documents/{type}\",\n \"GET /rest/v2/eor/contracts/{contract_id}/hrx-documents\",\n \"GET /rest/v2/eor/contracts/{contract_id}/hrx-documents/{document_id}\",\n \"GET /rest/v2/eor/contracts/{contract_id}/offboarding\",\n \"GET /rest/v2/eor/contracts/{contract_id}/offboarding/attachments/{attachment_id}\",\n \"GET /rest/v2/eor/contracts/{contract_id}/offboarding/required-information\",\n \"GET /rest/v2/eor/contracts/{contract_id}/offboarding/restricted-dates\",\n \"GET /rest/v2/eor/contracts/{contract_id}/offboarding/time-offs\",\n \"GET /rest/v2/eor/contracts/{contract_id}/project-assignment\",\n \"GET /rest/v2/eor/contracts/{contract_id}/project-assignment/checkin\",\n \"GET /rest/v2/eor/start-date\",\n \"GET /rest/v2/eor/validations/{country_code}\",\n \"GET /rest/v2/eor/{contract_id}/benefits\",\n \"GET /rest/v2/eor/{oid}/terminations/{terminationId}\",\n ],\n },\n {\n name: \"contracts:write\",\n rules: [\n \"POST /rest/v2/contracts\",\n \"POST /rest/v2/contracts/gp\",\n \"PATCH /rest/v2/contracts/{contract_id}\",\n \"POST /rest/v2/contracts/{contract_id}/amendments\",\n \"POST /rest/v2/contracts/{contract_id}/cost-centers\",\n \"PUT /rest/v2/contracts/{contract_id}/custom_fields\",\n \"DELETE /rest/v2/contracts/{contract_id}/custom_fields/{id}\",\n \"POST /rest/v2/contracts/{contract_id}/documents\",\n \"POST /rest/v2/contracts/{contract_id}/invitations\",\n \"DELETE /rest/v2/contracts/{contract_id}/invitations\",\n \"POST /rest/v2/contracts/{contract_id}/signatures\",\n \"POST /rest/v2/contracts/{contract_id}/tasks\",\n \"POST /rest/v2/contracts/{contract_id}/tasks/many/reviews\",\n \"DELETE /rest/v2/contracts/{contract_id}/tasks/{task_id}\",\n \"POST /rest/v2/contracts/{contract_id}/tasks/{task_id}/reviews\",\n \"POST /rest/v2/contracts/{contract_id}/terminations\",\n \"DELETE /rest/v2/contracts/{contract_id}/terminations\",\n \"POST /rest/v2/eor\",\n \"PATCH /rest/v2/eor/contract/{contract_id}\",\n \"POST /rest/v2/eor/contract/{oid}/cancel\",\n \"PATCH /rest/v2/eor/contract/{oid}/delay-onboarding\",\n \"POST /rest/v2/eor/contracts/{contract_id}/amendments\",\n \"POST /rest/v2/eor/contracts/{contract_id}/amendments/validate\",\n \"PATCH /rest/v2/eor/contracts/{contract_id}/amendments/{amendment_id}\",\n \"DELETE /rest/v2/eor/contracts/{contract_id}/amendments/{amendment_id}\",\n \"POST /rest/v2/eor/contracts/{contract_id}/amendments/{amendment_id}/accept\",\n \"POST /rest/v2/eor/contracts/{contract_id}/amendments/{amendment_id}/confirm\",\n \"POST /rest/v2/eor/contracts/{contract_id}/documents/{type}/sign\",\n \"PATCH /rest/v2/eor/contracts/{contract_id}/employee-information\",\n \"POST /rest/v2/eor/contracts/{contract_id}/offboarding/resignation\",\n \"POST /rest/v2/eor/contracts/{contract_id}/offboarding/resignations/review-pto\",\n \"POST /rest/v2/eor/contracts/{contract_id}/offboarding/review-client-sign-offs\",\n \"POST /rest/v2/eor/contracts/{contract_id}/offboarding/termination\",\n \"POST /rest/v2/eor/contracts/{contract_id}/project-assignment/accept\",\n \"POST /rest/v2/eor/contracts/{contract_id}/project-assignment/checkin\",\n \"POST /rest/v2/eor/job-scopes/validate\",\n \"POST /rest/v2/eor/{oid}/terminations/regular\",\n \"POST /rest/v2/eor/{oid}/terminations/resignation\",\n \"POST /rest/v2/equity/exercise\",\n \"PATCH /rest/v2/equity/exercise/{public_id}\",\n \"PATCH /rest/v2/gp/contracts/{contract_id}/job-title\",\n ],\n },\n {\n name: \"equities:write\",\n rules: [\n \"POST /rest/v2/equities-tokens/tax-events\",\n ],\n },\n {\n name: \"forms:read\",\n rules: [\n \"POST /rest/v2/forms/eor/create-contract/definitions\",\n \"GET /rest/v2/forms/eor/create-contract/{country_code}\",\n \"GET /rest/v2/forms/eor/worker-additional-fields/{country_code}\",\n \"GET /rest/v2/forms/gp/worker-additional-fields/{country_code}\",\n ],\n },\n {\n name: \"global-payroll:read\",\n rules: [\n \"GET /rest/v2/cycles/{cycle_id}/payroll-report\",\n \"GET /rest/v2/gp/legal-entities/{legal_entity_id}/reports\",\n \"GET /rest/v2/gp/reports/{id}/gross_to_net\",\n \"GET /rest/v2/gp/reports/{id}/gross_to_net/csv\",\n ],\n },\n {\n name: \"global-payroll:write\",\n rules: [\n \"POST /rest/v2/gp/workers/{worker_id}/terminations\",\n ],\n },\n {\n name: \"groups:read\",\n rules: [\n \"GET /rest/v2/groups\",\n ],\n },\n {\n name: \"groups:write\",\n rules: [\n \"POST /rest/v2/groups\",\n \"PATCH /rest/v2/groups/{id}\",\n \"DELETE /rest/v2/groups/{id}\",\n \"POST /rest/v2/groups/{id}/clone\",\n ],\n },\n {\n name: \"immigration:read\",\n rules: [\n \"GET /rest/v2/immigration/client/cases\",\n \"GET /rest/v2/immigration/client/cases/{id}\",\n \"GET /rest/v2/immigration/documents/{id}\",\n \"GET /rest/v2/immigration/visa-requirement/business\",\n \"GET /rest/v2/immigration/visa-types/{country_code}\",\n ],\n },\n {\n name: \"immigration:write\",\n rules: [\n \"POST /rest/v2/immigration/client/cases\",\n ],\n },\n {\n name: \"invoice-adjustments:read\",\n rules: [\n \"GET /rest/v2/contracts/{contract_id}/ic-invoicing-taxes\",\n \"GET /rest/v2/contracts/{contract_id}/invoice-adjustments\",\n \"GET /rest/v2/invoice-adjustments\",\n \"GET /rest/v2/invoice-adjustments/{id}\",\n ],\n },\n {\n name: \"invoice-adjustments:write\",\n rules: [\n \"POST /rest/v2/contracts/{contract_id}/ic-invoicing-taxes\",\n \"PATCH /rest/v2/contracts/{contract_id}/ic-invoicing-taxes\",\n \"DELETE /rest/v2/contracts/{contract_id}/ic-invoicing-taxes/{tax_type}\",\n \"POST /rest/v2/invoice-adjustments\",\n \"PATCH /rest/v2/invoice-adjustments/{id}\",\n \"DELETE /rest/v2/invoice-adjustments/{id}\",\n \"POST /rest/v2/invoice-adjustments/{id}/reviews\",\n ],\n },\n {\n name: \"it-assets:read\",\n rules: [\n \"GET /rest/v2/it/assets\",\n \"GET /rest/v2/it/assets/{asset_id}\",\n ],\n },\n {\n name: \"it-orders:read\",\n rules: [\n \"GET /rest/v2/it/orders\",\n \"GET /rest/v2/it/orders/{order_id}\",\n ],\n },\n {\n name: \"it-policies:read\",\n rules: [\n \"GET /rest/v2/it/policies\",\n ],\n },\n {\n name: \"knowledge-hub:read\",\n rules: [\n \"GET /rest/v2/knowledge-hub/country-guide/{country_code}\",\n ],\n },\n {\n name: \"legal-entity:read\",\n rules: [\n \"GET /rest/v2/industries\",\n \"GET /rest/v2/legal-entities/{legal_entity_id}/cost-centers\",\n \"GET /rest/v2/legal-entities/{legal_entity_id}/payroll-events\",\n \"GET /rest/v2/lookups\",\n ],\n },\n {\n name: \"legal-entity:write\",\n rules: [\n \"POST /rest/v2/legal-entities\",\n \"PATCH /rest/v2/legal-entities/{id}\",\n \"DELETE /rest/v2/legal-entities/{id}\",\n \"POST /rest/v2/legal-entities/{legal_entity_id}/cost-centers/synchronize\",\n ],\n },\n {\n name: \"lookups:read\",\n rules: [\n \"GET /rest/v2/lookups/countries\",\n \"GET /rest/v2/lookups/currencies\",\n \"GET /rest/v2/lookups/job-titles\",\n \"GET /rest/v2/lookups/seniorities\",\n \"GET /rest/v2/lookups/time-off-types\",\n ],\n },\n {\n name: \"milestones:read\",\n rules: [\n \"GET /rest/v2/contracts/{contract_id}/milestones\",\n \"GET /rest/v2/contracts/{contract_id}/milestones/{milestone_id}\",\n ],\n },\n {\n name: \"milestones:write\",\n rules: [\n \"POST /rest/v2/contracts/{contract_id}/milestones\",\n \"DELETE /rest/v2/contracts/{contract_id}/milestones/{milestone_id}\",\n ],\n },\n {\n name: \"off-cycle-payments:read\",\n rules: [\n \"GET /rest/v2/contracts/{contract_id}/off-cycle-payments\",\n \"GET /rest/v2/contracts/{contract_id}/off-cycle-payments/{id}\",\n ],\n },\n {\n name: \"off-cycle-payments:write\",\n rules: [\n \"POST /rest/v2/contracts/{contract_id}/off-cycle-payments\",\n ],\n },\n {\n name: \"organizations:read\",\n rules: [\n \"GET /rest/v2/benefits/legal-entities/{id}\",\n \"GET /rest/v2/benefits/legal-entities/{id}/pay-stub\",\n \"GET /rest/v2/benefits/legal-entities/{id}/year-to-date-pay\",\n \"GET /rest/v2/departments\",\n \"GET /rest/v2/eor/job-scopes\",\n \"GET /rest/v2/hris/organization-structures/teams/{team_id}/custom-fields\",\n \"PATCH /rest/v2/hris/organization-structures/teams/{team_id}/custom-fields\",\n \"GET /rest/v2/hris/organization_structures\",\n \"GET /rest/v2/hris/organization_structures/external/{external_id}\",\n \"GET /rest/v2/hris/organization_structures/{hrisOrgStr_id}\",\n \"GET /rest/v2/hris/organization_structures/{hris_org_structure_id}\",\n \"GET /rest/v2/hris/worker_relations/types\",\n \"GET /rest/v2/legal-entities\",\n \"GET /rest/v2/managers\",\n \"GET /rest/v2/organizations\",\n \"GET /rest/v2/roles\",\n \"GET /rest/v2/teams\",\n \"GET /rest/v2/working-locations\",\n ],\n },\n {\n name: \"organizations:write\",\n rules: [\n \"POST /rest/v2/hris/organization_structures\",\n \"PATCH /rest/v2/hris/organization_structures/external/{external_id}\",\n \"DELETE /rest/v2/hris/organization_structures/external/{external_id}\",\n \"PATCH /rest/v2/hris/organization_structures/{hrisOrgStr_id}\",\n \"DELETE /rest/v2/hris/organization_structures/{hrisOrgStr_id}\",\n \"PATCH /rest/v2/hris/organization_structures/{hris_org_structure_id}\",\n \"DELETE /rest/v2/hris/organization_structures/{hris_org_structure_id}\",\n \"POST /rest/v2/hris/worker_relations/types\",\n \"PATCH /rest/v2/hris/worker_relations/types/external/{externalId}\",\n \"DELETE /rest/v2/hris/worker_relations/types/external/{externalId}\",\n \"PATCH /rest/v2/hris/worker_relations/types/{typeId}\",\n \"DELETE /rest/v2/hris/worker_relations/types/{type_id}\",\n \"POST /rest/v2/managers\",\n \"POST /rest/v2/organizations/children\",\n \"POST /rest/v2/roles\",\n \"PATCH /rest/v2/roles/{roleId}\",\n ],\n },\n {\n name: \"payslips:read\",\n rules: [\n \"GET /rest/v2/eor/workers/{worker_id}/payslips\",\n \"GET /rest/v2/eor/workers/{worker_id}/payslips/{payslip_id}/download\",\n \"GET /rest/v2/gp/workers/{id}/payslips\",\n \"GET /rest/v2/gp/workers/{id}/payslips/{payslip_id}/download\",\n \"GET /rest/v2/reports/payroll/cycles/{cycle_id}/gross-to-net\",\n ],\n },\n {\n name: \"people:read\",\n rules: [\n \"GET /rest/v2/benefits/legal-entities/{id}/employees/{employee_id}\",\n \"GET /rest/v2/gp/workers/{worker_id}/banks\",\n \"GET /rest/v2/gp/workers/{worker_id}/banks/guide\",\n \"GET /rest/v2/offboarding/tracker\",\n \"GET /rest/v2/offboarding/tracker/hris_profile/{oid}\",\n \"GET /rest/v2/offboarding/tracker/{id}\",\n \"GET /rest/v2/onboarding/tracker\",\n \"GET /rest/v2/onboarding/tracker/hris_profile/{hris_profile_id}\",\n \"GET /rest/v2/onboarding/tracker/{tracker_id}\",\n \"GET /rest/v2/people\",\n \"GET /rest/v2/people/custom_fields\",\n \"GET /rest/v2/people/custom_fields/{id}\",\n \"GET /rest/v2/people/external/{worker_id}/personal\",\n \"GET /rest/v2/people/me\",\n \"GET /rest/v2/people/{hris_profile_id}\",\n \"GET /rest/v2/people/{worker_id}/custom_fields\",\n \"GET /rest/v2/people/{worker_id}/personal\",\n ],\n },\n {\n name: \"people:write\",\n rules: [\n \"POST /rest/v2/eor/worker\",\n \"POST /rest/v2/gp/workers/contracts/{contract_id}/additional-information\",\n \"PATCH /rest/v2/gp/workers/contracts/{contract_id}/additional-information\",\n \"PATCH /rest/v2/gp/workers/{worker_id}/address\",\n \"POST /rest/v2/gp/workers/{worker_id}/banks\",\n \"PATCH /rest/v2/gp/workers/{worker_id}/banks/{bank_id}\",\n \"PATCH /rest/v2/gp/workers/{worker_id}/compensation\",\n \"PATCH /rest/v2/gp/workers/{worker_id}/employee-information\",\n \"PATCH /rest/v2/gp/workers/{worker_id}/pto-policy\",\n \"POST /rest/v2/people\",\n \"PATCH /rest/v2/people/external/{worker_id}/personal\",\n \"PUT /rest/v2/people/{id}/department\",\n \"PUT /rest/v2/people/{id}/working-location\",\n \"PUT /rest/v2/people/{worker_id}/custom_fields\",\n \"DELETE /rest/v2/people/{worker_id}/custom_fields/{id}\",\n \"PATCH /rest/v2/people/{worker_id}/personal\",\n \"POST /rest/v2/pwac\",\n ],\n },\n {\n name: \"profile:read\",\n rules: [\n \"GET /rest/v2/hris/positions/profile/{hrisProfileId}\",\n \"GET /rest/v2/hris/positions/profile/{hris_profile_id}\",\n \"GET /rest/v2/hris/worker_relations/profile/external/{profile_id}\",\n \"GET /rest/v2/hris/worker_relations/profile/{hrisProfileOid}\",\n ],\n },\n {\n name: \"profile:write\",\n rules: [\n \"POST /rest/v2/hris/positions/apply_changes\",\n \"POST /rest/v2/hris/worker_relations/profile\",\n \"POST /rest/v2/hris/worker_relations/profile/external\",\n \"DELETE /rest/v2/hris/worker_relations/profile/external/{profileId}\",\n \"PUT /rest/v2/hris/worker_relations/profile/external/{profileId}/child\",\n \"PUT /rest/v2/hris/worker_relations/profile/external/{profile_id}/parent\",\n \"DELETE /rest/v2/hris/worker_relations/profile/{hrisProfileOid}\",\n \"PUT /rest/v2/hris/worker_relations/profile/{hrisProfileOid}/parent\",\n \"PUT /rest/v2/hris/worker_relations/profile/{hris_profile_oid}/child\",\n \"PATCH /rest/v2/profiles\",\n ],\n },\n {\n name: \"screenings:read\",\n rules: [\n \"GET /rest/v2/screenings/aml/{entity_type}/{entity_id}\",\n \"GET /rest/v2/screenings/kyc/details\",\n \"GET /rest/v2/screenings/verification-method\",\n ],\n },\n {\n name: \"screenings:write\",\n rules: [\n \"POST /rest/v2/veriff/session\",\n ],\n },\n {\n name: \"tasks:read\",\n rules: [\n \"GET /rest/v2/organizations/tasks\",\n ],\n },\n {\n name: \"tasks:write\",\n rules: [\n \"PATCH /rest/v2/tasks/{task_id}\",\n ],\n },\n {\n name: \"time-off:read\",\n rules: [\n \"GET /rest/v2/time_offs\",\n \"GET /rest/v2/time_offs/dailies\",\n \"GET /rest/v2/time_offs/policy-validation-templates\",\n \"GET /rest/v2/time_offs/profile/{hris_profile_id}\",\n \"GET /rest/v2/time_offs/profile/{hris_profile_id}/entitlements\",\n \"GET /rest/v2/time_offs/profile/{hris_profile_id}/policies\",\n \"GET /rest/v2/time_offs/time-off-events\",\n \"POST /rest/v2/time_offs/validate\",\n ],\n },\n {\n name: \"time-off:write\",\n rules: [\n \"POST /rest/v2/time_offs\",\n \"POST /rest/v2/time_offs/global-payroll/sync\",\n \"POST /rest/v2/time_offs/review\",\n \"PATCH /rest/v2/time_offs/{time_off_id}\",\n \"DELETE /rest/v2/time_offs/{time_off_id}\",\n ],\n },\n {\n name: \"time-tracking:read\",\n rules: [\n \"GET /rest/v2/time-tracking/timesheets/{timesheet_id}\",\n \"GET /rest/v2/time_tracking/shift_rates\",\n \"GET /rest/v2/time_tracking/shift_rates/{external_id}\",\n \"GET /rest/v2/time_tracking/shifts\",\n \"GET /rest/v2/time_tracking/shifts/{external_id}\",\n ],\n },\n {\n name: \"time-tracking:write\",\n rules: [\n \"POST /rest/v2/time-tracking/timesheets/upload-url\",\n \"POST /rest/v2/time-tracking/timesheets/{timesheet_id}/review\",\n \"POST /rest/v2/time_tracking/shift_rates\",\n \"PATCH /rest/v2/time_tracking/shift_rates/{external_id}\",\n \"DELETE /rest/v2/time_tracking/shift_rates/{external_id}\",\n \"POST /rest/v2/time_tracking/shifts\",\n \"POST /rest/v2/time_tracking/shifts/bulk-delete\",\n \"POST /rest/v2/time_tracking/shifts/raw\",\n \"PATCH /rest/v2/time_tracking/shifts/{external_id}\",\n \"DELETE /rest/v2/time_tracking/shifts/{external_id}\",\n ],\n },\n {\n name: \"timesheets:read\",\n rules: [\n \"GET /rest/v2/contracts/{contract_id}/timesheets\",\n \"GET /rest/v2/contracts/{contract_id}/timesheets/presets\",\n \"GET /rest/v2/timesheets\",\n \"GET /rest/v2/timesheets/presets/{id}\",\n \"GET /rest/v2/timesheets/root-presets\",\n \"GET /rest/v2/timesheets/root-presets/{id}\",\n \"GET /rest/v2/timesheets/{id}\",\n ],\n },\n {\n name: \"timesheets:write\",\n rules: [\n \"POST /rest/v2/timesheets\",\n \"POST /rest/v2/timesheets/presets\",\n \"PATCH /rest/v2/timesheets/presets/{id}\",\n \"DELETE /rest/v2/timesheets/presets/{id}\",\n \"POST /rest/v2/timesheets/root-presets\",\n \"PATCH /rest/v2/timesheets/{id}\",\n \"DELETE /rest/v2/timesheets/{id}\",\n \"POST /rest/v2/timesheets/{id}/reviews\",\n ],\n },\n {\n name: \"treasury-vendorbill:write\",\n rules: [\n \"POST /rest/v2/accounts-payable/vendor-bills\",\n \"POST /rest/v2/accounts-payable/vendor-bills/{vendor_bill_id}/attachments\",\n ],\n },\n {\n name: \"webhooks:read\",\n rules: [\n \"GET /rest/v2/webhooks\",\n \"GET /rest/v2/webhooks/events/types\",\n \"GET /rest/v2/webhooks/{id}\",\n ],\n },\n {\n name: \"webhooks:write\",\n rules: [\n \"POST /rest/v2/webhooks\",\n \"PATCH /rest/v2/webhooks/{id}\",\n \"DELETE /rest/v2/webhooks/{id}\",\n ],\n },\n {\n name: \"worker:read\",\n rules: [\n \"GET /rest/v2/daas/payslips\",\n \"GET /rest/v2/engage/learning/actionable-journeys\",\n \"GET /rest/v2/eor/workers/banks-guide/country/{country}/currency/{currency}\",\n \"GET /rest/v2/eor/workers/banks/guide\",\n \"GET /rest/v2/eor/workers/compliance-documents\",\n \"GET /rest/v2/eor/workers/compliance-documents/{document_id}/download\",\n \"GET /rest/v2/eor/workers/compliance-documents/{document_id}/templates/download\",\n \"GET /rest/v2/eor/workers/contracts/{contract_id}/employee-agreement/download\",\n \"GET /rest/v2/eor/workers/contracts/{contract_id}/hr-documents\",\n \"GET /rest/v2/eor/workers/contracts/{contract_id}/offboarding/resignation-letter\",\n \"GET /rest/v2/eor/workers/contracts/{contract_id}/offer-letter\",\n \"GET /rest/v2/eor/workers/resignations\",\n \"GET /rest/v2/eor/workers/tax-documents\",\n \"GET /rest/v2/escalations/workers/me/hrx\",\n \"GET /rest/v2/ic/workers/invoices/{invoice_id}\",\n \"GET /rest/v2/ic/workers/transactions\",\n \"GET /rest/v2/immigration/workers/cases\",\n \"GET /rest/v2/immigration/workers/cases/{case_id}\",\n \"GET /rest/v2/immigration/workers/{worker_id}/cases/{case_id}/required-document\",\n \"GET /rest/v2/immigration/workers/{worker_id}/onboarding-case\",\n \"GET /rest/v2/payouts/auto-withdrawal-setting\",\n \"GET /rest/v2/payouts/balances\",\n \"GET /rest/v2/payouts/contractors/methods\",\n \"GET /rest/v2/payouts/contractors/methods/bank_transfers/requirements\",\n \"GET /rest/v2/payouts/contractors/methods/bank_transfers/supported_routes\",\n \"GET /rest/v2/payouts/employees/methods\",\n \"GET /rest/v2/workers/compliance-documents\",\n \"GET /rest/v2/workers/contracts/{contract_id}/pdf\",\n ],\n },\n {\n name: \"worker:write\",\n rules: [\n \"PATCH /rest/v2/daas/banks/{bank_id}\",\n \"POST /rest/v2/eor/contracts/{contract_id}/amendments/{amendment_id}/sign\",\n \"POST /rest/v2/eor/contracts/{contract_id}/offboarding/review-employee-sign-offs\",\n \"POST /rest/v2/eor/mailboxes/change-password\",\n \"POST /rest/v2/eor/workers/banks\",\n \"POST /rest/v2/eor/workers/compliance-documents/{document_id}\",\n \"POST /rest/v2/eor/workers/compliance-documents/{document_id}/acknowledgement\",\n \"POST /rest/v2/eor/workers/contracts/{contract_id}/additional-information\",\n \"PATCH /rest/v2/eor/workers/contracts/{contract_id}/additional-information\",\n \"POST /rest/v2/eor/workers/contracts/{contract_id}/offboarding\",\n \"POST /rest/v2/eor/workers/contracts/{contract_id}/offboarding/resignation-letter/sign\",\n \"POST /rest/v2/eor/workers/contracts/{contract_id}/project-assignment/acknowledge\",\n \"POST /rest/v2/eor/workers/contracts/{contract_id}/signatures\",\n \"POST /rest/v2/immigration/workers/{worker_id}/cases/{case_id}/required-document/{document_request_id}\",\n \"POST /rest/v2/onboarding/workers/individual\",\n \"POST /rest/v2/onboarding/workers/legal-entity\",\n \"PATCH /rest/v2/payouts/auto-withdrawal-setting\",\n \"POST /rest/v2/payouts/contractors/methods\",\n \"PUT /rest/v2/payouts/contractors/methods/{id}\",\n \"POST /rest/v2/payouts/contractors/settings/auto_withdraw\",\n \"POST /rest/v2/payouts/employees/methods\",\n \"POST /rest/v2/payouts/employees/methods/bank_transfers/requirements\",\n \"DELETE /rest/v2/payouts/employees/methods/{id}\",\n \"POST /rest/v2/payouts/withdrawals\",\n \"POST /rest/v2/screenings/kyc/external\",\n \"POST /rest/v2/screenings/manual-verification\",\n \"POST /rest/v2/workers/amendments/{amendment_id}/sign\",\n \"POST /rest/v2/workers/contracts/{contract_id}/reject\",\n \"POST /rest/v2/workers/contracts/{contract_id}/signatures\",\n ],\n },\n ],\n },\n ],\n} as const satisfies FirewallConfig;\n"],"mappings":";;;;;;;;AAAA;AAQO,IAAM,eAAe;AAAA,EAC1B,MAAM;AAAA,EACN,aAAa;AAAA,EACb,cAAc;AAAA,IACZ,YAAY;AAAA,EACd;AAAA,EACA,MAAM;AAAA,IACJ;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,SAAS;AAAA,UACP,eAAe;AAAA,QACjB;AAAA,MACF;AAAA,MACA,aAAa;AAAA,QACX;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
|
package/index.js
CHANGED
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
uo,
|
|
75
75
|
volumeConfigSchema,
|
|
76
76
|
withErrorHandler
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-K77B6SNH.js";
|
|
78
78
|
import {
|
|
79
79
|
external_exports
|
|
80
80
|
} from "./chunk-A7UBSZER.js";
|
|
@@ -411,7 +411,7 @@ function getConfigPath() {
|
|
|
411
411
|
return join(os.homedir(), ".vm0", "config.json");
|
|
412
412
|
}
|
|
413
413
|
var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
|
|
414
|
-
console.log(source_default.bold(`VM0 CLI v${"9.206.
|
|
414
|
+
console.log(source_default.bold(`VM0 CLI v${"9.206.2"}`));
|
|
415
415
|
console.log();
|
|
416
416
|
const config = await loadConfig();
|
|
417
417
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -1113,7 +1113,7 @@ var composeCommand = new Command().name("compose").description("Create or update
|
|
|
1113
1113
|
options.autoUpdate = false;
|
|
1114
1114
|
}
|
|
1115
1115
|
if (options.autoUpdate !== false) {
|
|
1116
|
-
await startSilentUpgrade("9.206.
|
|
1116
|
+
await startSilentUpgrade("9.206.2");
|
|
1117
1117
|
}
|
|
1118
1118
|
try {
|
|
1119
1119
|
const { config, agentName, agent, basePath } = await loadAndValidateConfig(resolvedConfigFile);
|
|
@@ -1210,7 +1210,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
|
|
|
1210
1210
|
withErrorHandler(
|
|
1211
1211
|
async (identifier, prompt, options) => {
|
|
1212
1212
|
if (options.autoUpdate !== false) {
|
|
1213
|
-
await startSilentUpgrade("9.206.
|
|
1213
|
+
await startSilentUpgrade("9.206.2");
|
|
1214
1214
|
}
|
|
1215
1215
|
const { name, version } = parseIdentifier(identifier);
|
|
1216
1216
|
let composeId;
|
|
@@ -3016,13 +3016,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
3016
3016
|
if (latestVersion === null) {
|
|
3017
3017
|
throw new Error("Could not check for updates. Please try again later.");
|
|
3018
3018
|
}
|
|
3019
|
-
if (latestVersion === "9.206.
|
|
3020
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.206.
|
|
3019
|
+
if (latestVersion === "9.206.2") {
|
|
3020
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.206.2"})`));
|
|
3021
3021
|
return;
|
|
3022
3022
|
}
|
|
3023
3023
|
console.log(
|
|
3024
3024
|
source_default.yellow(
|
|
3025
|
-
`Current version: ${"9.206.
|
|
3025
|
+
`Current version: ${"9.206.2"} -> Latest version: ${latestVersion}`
|
|
3026
3026
|
)
|
|
3027
3027
|
);
|
|
3028
3028
|
console.log();
|
|
@@ -3049,7 +3049,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
3049
3049
|
const success = await performUpgrade(packageManager);
|
|
3050
3050
|
if (success) {
|
|
3051
3051
|
console.log(
|
|
3052
|
-
source_default.green(`\u2713 Upgraded from ${"9.206.
|
|
3052
|
+
source_default.green(`\u2713 Upgraded from ${"9.206.2"} to ${latestVersion}`)
|
|
3053
3053
|
);
|
|
3054
3054
|
return;
|
|
3055
3055
|
}
|
|
@@ -3116,7 +3116,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
|
|
|
3116
3116
|
|
|
3117
3117
|
// src/index.ts
|
|
3118
3118
|
var program = new Command();
|
|
3119
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.206.
|
|
3119
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.206.2");
|
|
3120
3120
|
program.addCommand(authCommand);
|
|
3121
3121
|
program.addCommand(infoCommand);
|
|
3122
3122
|
program.addCommand(composeCommand);
|
package/package.json
CHANGED
package/zero.js
CHANGED
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
callZeroBanking,
|
|
16
16
|
callZeroMaps,
|
|
17
17
|
checkDirectoryStatus,
|
|
18
|
+
clearGoal,
|
|
18
19
|
collectLogItems,
|
|
19
20
|
completeGithubFileUpload,
|
|
20
21
|
completeGoal,
|
|
@@ -131,6 +132,7 @@ import {
|
|
|
131
132
|
parseEvent,
|
|
132
133
|
parsePositiveLogCount,
|
|
133
134
|
parseTime,
|
|
135
|
+
pauseGoal,
|
|
134
136
|
prepareHostedSite,
|
|
135
137
|
promptConfirm,
|
|
136
138
|
promptPassword,
|
|
@@ -175,7 +177,7 @@ import {
|
|
|
175
177
|
uploadWebFile,
|
|
176
178
|
upsertZeroOrgModelProvider,
|
|
177
179
|
withErrorHandler
|
|
178
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-K77B6SNH.js";
|
|
179
181
|
import {
|
|
180
182
|
CONNECTOR_TYPES,
|
|
181
183
|
CONNECTOR_TYPE_KEYS,
|
|
@@ -6097,7 +6099,7 @@ var GENERATED_RUNTIME_FIREWALL_LOADERS = {
|
|
|
6097
6099
|
return (await import("./db9.generated-YJ56MEGP.js")).db9Firewall;
|
|
6098
6100
|
},
|
|
6099
6101
|
"deel": async () => {
|
|
6100
|
-
return (await import("./deel.generated-
|
|
6102
|
+
return (await import("./deel.generated-SOMLVMQV.js")).deelFirewall;
|
|
6101
6103
|
},
|
|
6102
6104
|
"deepseek": async () => {
|
|
6103
6105
|
return (await import("./deepseek.generated-MALCPZKS.js")).deepseekFirewall;
|
|
@@ -10005,9 +10007,6 @@ function formatGmailMatchSummary(config) {
|
|
|
10005
10007
|
parts.push(...textMatcherParts(field, matcher));
|
|
10006
10008
|
}
|
|
10007
10009
|
}
|
|
10008
|
-
if (match.snippet || match.labels || match.hasAttachment !== void 0) {
|
|
10009
|
-
parts.push("custom match rules");
|
|
10010
|
-
}
|
|
10011
10010
|
return parts.length > 0 ? parts.join("; ") : "all inbound messages";
|
|
10012
10011
|
}
|
|
10013
10012
|
function formatWorkflowTriggerEntry(trigger) {
|
|
@@ -10667,36 +10666,19 @@ init_esm_shims();
|
|
|
10667
10666
|
function printJson(value) {
|
|
10668
10667
|
console.log(JSON.stringify(value));
|
|
10669
10668
|
}
|
|
10670
|
-
function parseTokenBudget(value) {
|
|
10671
|
-
const parsed = Number(value);
|
|
10672
|
-
if (!Number.isInteger(parsed) || parsed <= 0) {
|
|
10673
|
-
throw new InvalidArgumentError("--token-budget must be a positive integer");
|
|
10674
|
-
}
|
|
10675
|
-
return parsed;
|
|
10676
|
-
}
|
|
10677
10669
|
var createCommand5 = new Command().name("create").description(
|
|
10678
10670
|
"Create a persistent goal for the current thread. Create a goal ONLY when the user explicitly asks for a persistent, autonomous, cross-turn task; do not infer a goal from an ordinary one-off request."
|
|
10679
10671
|
).requiredOption(
|
|
10680
10672
|
"--objective <text>",
|
|
10681
10673
|
"Goal objective. Set a goal ONLY on an explicit user request for autonomous cross-turn work; never infer one from a one-off request."
|
|
10682
|
-
).
|
|
10674
|
+
).action(
|
|
10683
10675
|
withErrorHandler(async (options) => {
|
|
10684
|
-
printJson(
|
|
10685
|
-
await createGoal({
|
|
10686
|
-
objective: options.objective,
|
|
10687
|
-
...options.tokenBudget ? { tokenBudget: options.tokenBudget } : {}
|
|
10688
|
-
})
|
|
10689
|
-
);
|
|
10676
|
+
printJson(await createGoal({ objective: options.objective }));
|
|
10690
10677
|
})
|
|
10691
10678
|
);
|
|
10692
|
-
var editCommand3 = new Command().name("edit").description("Edit the current thread goal
|
|
10679
|
+
var editCommand3 = new Command().name("edit").description("Edit the current thread goal objective").requiredOption("--objective <text>", "New goal objective").action(
|
|
10693
10680
|
withErrorHandler(async (options) => {
|
|
10694
|
-
printJson(
|
|
10695
|
-
await editGoal({
|
|
10696
|
-
...options.objective !== void 0 ? { objective: options.objective } : {},
|
|
10697
|
-
...options.tokenBudget !== void 0 ? { tokenBudget: options.tokenBudget } : {}
|
|
10698
|
-
})
|
|
10699
|
-
);
|
|
10681
|
+
printJson(await editGoal({ objective: options.objective }));
|
|
10700
10682
|
})
|
|
10701
10683
|
);
|
|
10702
10684
|
var getCommand = new Command().name("get").description("Get the current thread goal").action(
|
|
@@ -10709,17 +10691,27 @@ var completeCommand = new Command().name("complete").description("Mark the curre
|
|
|
10709
10691
|
printJson(await completeGoal());
|
|
10710
10692
|
})
|
|
10711
10693
|
);
|
|
10712
|
-
var blockCommand = new Command().name("block").description("
|
|
10694
|
+
var blockCommand = new Command().name("block").description("Mark the current thread goal blocked").action(
|
|
10713
10695
|
withErrorHandler(async () => {
|
|
10714
10696
|
printJson(await blockGoal());
|
|
10715
10697
|
})
|
|
10716
10698
|
);
|
|
10699
|
+
var pauseCommand = new Command().name("pause").description("Pause the current thread goal").action(
|
|
10700
|
+
withErrorHandler(async () => {
|
|
10701
|
+
printJson(await pauseGoal());
|
|
10702
|
+
})
|
|
10703
|
+
);
|
|
10717
10704
|
var resumeCommand = new Command().name("resume").description("Resume continuation for the current thread goal").action(
|
|
10718
10705
|
withErrorHandler(async () => {
|
|
10719
10706
|
printJson(await resumeGoal());
|
|
10720
10707
|
})
|
|
10721
10708
|
);
|
|
10722
|
-
var
|
|
10709
|
+
var clearCommand = new Command().name("clear").description("Clear the current thread goal").action(
|
|
10710
|
+
withErrorHandler(async () => {
|
|
10711
|
+
printJson(await clearGoal());
|
|
10712
|
+
})
|
|
10713
|
+
);
|
|
10714
|
+
var zeroGoalCommand = new Command().name("goal").description("Manage the current thread goal").addCommand(createCommand5).addCommand(editCommand3).addCommand(getCommand).addCommand(completeCommand).addCommand(blockCommand).addCommand(pauseCommand).addCommand(resumeCommand).addCommand(clearCommand);
|
|
10723
10715
|
|
|
10724
10716
|
// src/commands/zero/logs/index.ts
|
|
10725
10717
|
init_esm_shims();
|
|
@@ -15663,7 +15655,7 @@ var zeroResourceCommand = new Command().name("resource").description("Pull regis
|
|
|
15663
15655
|
var COMMAND_CAPABILITY_MAP = {
|
|
15664
15656
|
agent: "agent:read",
|
|
15665
15657
|
workflow: "agent:read",
|
|
15666
|
-
goal: ["goal:read", "goal:write"],
|
|
15658
|
+
goal: ["goal:read", "goal:agent-result:write", "goal:user-control:write"],
|
|
15667
15659
|
connector: "connector:read",
|
|
15668
15660
|
// "schedule" is deliberately absent: the rename stub stays out of
|
|
15669
15661
|
// token-scoped (agent) help but remains invokable and visible to humans.
|
|
@@ -15782,7 +15774,7 @@ function registerZeroCommands(prog, commands) {
|
|
|
15782
15774
|
var program = new Command();
|
|
15783
15775
|
program.name("zero").description(
|
|
15784
15776
|
"Zero CLI \u2014 interact with the zero platform from inside the sandbox"
|
|
15785
|
-
).version("9.206.
|
|
15777
|
+
).version("9.206.2").addHelpText("after", () => {
|
|
15786
15778
|
return buildZeroHelpText();
|
|
15787
15779
|
});
|
|
15788
15780
|
if (process.argv[1]?.endsWith("zero.js") || process.argv[1]?.endsWith("zero.ts") || process.argv[1]?.endsWith("zero")) {
|