@apollo-deploy/schemas 0.4.4
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/README.md +450 -0
- package/dist/definitions/admin-users/domain.schema.d.ts +27 -0
- package/dist/definitions/admin-users/domain.schema.d.ts.map +1 -0
- package/dist/definitions/admin-users/domain.schema.js +24 -0
- package/dist/definitions/admin-users/domain.schema.js.map +1 -0
- package/dist/definitions/admin-users/index.d.ts +4 -0
- package/dist/definitions/admin-users/index.d.ts.map +1 -0
- package/dist/definitions/admin-users/index.js +7 -0
- package/dist/definitions/admin-users/index.js.map +1 -0
- package/dist/definitions/admin-users/request.schema.d.ts +55 -0
- package/dist/definitions/admin-users/request.schema.d.ts.map +1 -0
- package/dist/definitions/admin-users/request.schema.js +44 -0
- package/dist/definitions/admin-users/request.schema.js.map +1 -0
- package/dist/definitions/admin-users/response.schema.d.ts +100 -0
- package/dist/definitions/admin-users/response.schema.d.ts.map +1 -0
- package/dist/definitions/admin-users/response.schema.js +60 -0
- package/dist/definitions/admin-users/response.schema.js.map +1 -0
- package/dist/definitions/analytics/domain.schema.d.ts +160 -0
- package/dist/definitions/analytics/domain.schema.d.ts.map +1 -0
- package/dist/definitions/analytics/domain.schema.js +223 -0
- package/dist/definitions/analytics/domain.schema.js.map +1 -0
- package/dist/definitions/analytics/index.d.ts +56 -0
- package/dist/definitions/analytics/index.d.ts.map +1 -0
- package/dist/definitions/analytics/index.js +30 -0
- package/dist/definitions/analytics/index.js.map +1 -0
- package/dist/definitions/analytics/request.schema.d.ts +167 -0
- package/dist/definitions/analytics/request.schema.d.ts.map +1 -0
- package/dist/definitions/analytics/request.schema.js +326 -0
- package/dist/definitions/analytics/request.schema.js.map +1 -0
- package/dist/definitions/analytics/response.schema.d.ts +190 -0
- package/dist/definitions/analytics/response.schema.d.ts.map +1 -0
- package/dist/definitions/analytics/response.schema.js +158 -0
- package/dist/definitions/analytics/response.schema.js.map +1 -0
- package/dist/definitions/approvals/domain.schema.d.ts +495 -0
- package/dist/definitions/approvals/domain.schema.d.ts.map +1 -0
- package/dist/definitions/approvals/domain.schema.js +316 -0
- package/dist/definitions/approvals/domain.schema.js.map +1 -0
- package/dist/definitions/approvals/index.d.ts +9 -0
- package/dist/definitions/approvals/index.d.ts.map +1 -0
- package/dist/definitions/approvals/index.js +9 -0
- package/dist/definitions/approvals/index.js.map +1 -0
- package/dist/definitions/approvals/request.schema.d.ts +502 -0
- package/dist/definitions/approvals/request.schema.d.ts.map +1 -0
- package/dist/definitions/approvals/request.schema.js +208 -0
- package/dist/definitions/approvals/request.schema.js.map +1 -0
- package/dist/definitions/approvals/response.schema.d.ts +1067 -0
- package/dist/definitions/approvals/response.schema.d.ts.map +1 -0
- package/dist/definitions/approvals/response.schema.js +77 -0
- package/dist/definitions/approvals/response.schema.js.map +1 -0
- package/dist/definitions/apps/domain.schema.d.ts +58 -0
- package/dist/definitions/apps/domain.schema.d.ts.map +1 -0
- package/dist/definitions/apps/domain.schema.js +50 -0
- package/dist/definitions/apps/domain.schema.js.map +1 -0
- package/dist/definitions/apps/index.d.ts +10 -0
- package/dist/definitions/apps/index.d.ts.map +1 -0
- package/dist/definitions/apps/index.js +14 -0
- package/dist/definitions/apps/index.js.map +1 -0
- package/dist/definitions/apps/request.schema.d.ts +191 -0
- package/dist/definitions/apps/request.schema.d.ts.map +1 -0
- package/dist/definitions/apps/request.schema.js +215 -0
- package/dist/definitions/apps/request.schema.js.map +1 -0
- package/dist/definitions/apps/response.schema.d.ts +288 -0
- package/dist/definitions/apps/response.schema.d.ts.map +1 -0
- package/dist/definitions/apps/response.schema.js +127 -0
- package/dist/definitions/apps/response.schema.js.map +1 -0
- package/dist/definitions/artifacts/domain.schema.d.ts +563 -0
- package/dist/definitions/artifacts/domain.schema.d.ts.map +1 -0
- package/dist/definitions/artifacts/domain.schema.js +287 -0
- package/dist/definitions/artifacts/domain.schema.js.map +1 -0
- package/dist/definitions/artifacts/index.d.ts +9 -0
- package/dist/definitions/artifacts/index.d.ts.map +1 -0
- package/dist/definitions/artifacts/index.js +20 -0
- package/dist/definitions/artifacts/index.js.map +1 -0
- package/dist/definitions/artifacts/request.schema.d.ts +999 -0
- package/dist/definitions/artifacts/request.schema.d.ts.map +1 -0
- package/dist/definitions/artifacts/request.schema.js +302 -0
- package/dist/definitions/artifacts/request.schema.js.map +1 -0
- package/dist/definitions/artifacts/response.schema.d.ts +2740 -0
- package/dist/definitions/artifacts/response.schema.d.ts.map +1 -0
- package/dist/definitions/artifacts/response.schema.js +475 -0
- package/dist/definitions/artifacts/response.schema.js.map +1 -0
- package/dist/definitions/audit-log/domain.schema.d.ts +519 -0
- package/dist/definitions/audit-log/domain.schema.d.ts.map +1 -0
- package/dist/definitions/audit-log/domain.schema.js +250 -0
- package/dist/definitions/audit-log/domain.schema.js.map +1 -0
- package/dist/definitions/audit-log/index.d.ts +9 -0
- package/dist/definitions/audit-log/index.d.ts.map +1 -0
- package/dist/definitions/audit-log/index.js +12 -0
- package/dist/definitions/audit-log/index.js.map +1 -0
- package/dist/definitions/audit-log/request.schema.d.ts +695 -0
- package/dist/definitions/audit-log/request.schema.d.ts.map +1 -0
- package/dist/definitions/audit-log/request.schema.js +114 -0
- package/dist/definitions/audit-log/request.schema.js.map +1 -0
- package/dist/definitions/audit-log/response.schema.d.ts +730 -0
- package/dist/definitions/audit-log/response.schema.d.ts.map +1 -0
- package/dist/definitions/audit-log/response.schema.js +143 -0
- package/dist/definitions/audit-log/response.schema.js.map +1 -0
- package/dist/definitions/auth/domain.schema.d.ts +141 -0
- package/dist/definitions/auth/domain.schema.d.ts.map +1 -0
- package/dist/definitions/auth/domain.schema.js +116 -0
- package/dist/definitions/auth/domain.schema.js.map +1 -0
- package/dist/definitions/auth/index.d.ts +4 -0
- package/dist/definitions/auth/index.d.ts.map +1 -0
- package/dist/definitions/auth/index.js +7 -0
- package/dist/definitions/auth/index.js.map +1 -0
- package/dist/definitions/auth/request.schema.d.ts +133 -0
- package/dist/definitions/auth/request.schema.d.ts.map +1 -0
- package/dist/definitions/auth/request.schema.js +173 -0
- package/dist/definitions/auth/request.schema.js.map +1 -0
- package/dist/definitions/auth/response.schema.d.ts +289 -0
- package/dist/definitions/auth/response.schema.d.ts.map +1 -0
- package/dist/definitions/auth/response.schema.js +194 -0
- package/dist/definitions/auth/response.schema.js.map +1 -0
- package/dist/definitions/billing/domain.schema.d.ts +523 -0
- package/dist/definitions/billing/domain.schema.d.ts.map +1 -0
- package/dist/definitions/billing/domain.schema.js +299 -0
- package/dist/definitions/billing/domain.schema.js.map +1 -0
- package/dist/definitions/billing/index.d.ts +9 -0
- package/dist/definitions/billing/index.d.ts.map +1 -0
- package/dist/definitions/billing/index.js +12 -0
- package/dist/definitions/billing/index.js.map +1 -0
- package/dist/definitions/billing/request.schema.d.ts +98 -0
- package/dist/definitions/billing/request.schema.d.ts.map +1 -0
- package/dist/definitions/billing/request.schema.js +112 -0
- package/dist/definitions/billing/request.schema.js.map +1 -0
- package/dist/definitions/billing/response.schema.d.ts +443 -0
- package/dist/definitions/billing/response.schema.d.ts.map +1 -0
- package/dist/definitions/billing/response.schema.js +190 -0
- package/dist/definitions/billing/response.schema.js.map +1 -0
- package/dist/definitions/common.d.ts +227 -0
- package/dist/definitions/common.d.ts.map +1 -0
- package/dist/definitions/common.js +205 -0
- package/dist/definitions/common.js.map +1 -0
- package/dist/definitions/credentials/domain.schema.d.ts +68 -0
- package/dist/definitions/credentials/domain.schema.d.ts.map +1 -0
- package/dist/definitions/credentials/domain.schema.js +56 -0
- package/dist/definitions/credentials/domain.schema.js.map +1 -0
- package/dist/definitions/credentials/index.d.ts +9 -0
- package/dist/definitions/credentials/index.d.ts.map +1 -0
- package/dist/definitions/credentials/index.js +12 -0
- package/dist/definitions/credentials/index.js.map +1 -0
- package/dist/definitions/credentials/request.schema.d.ts +101 -0
- package/dist/definitions/credentials/request.schema.d.ts.map +1 -0
- package/dist/definitions/credentials/request.schema.js +95 -0
- package/dist/definitions/credentials/request.schema.js.map +1 -0
- package/dist/definitions/credentials/response.schema.d.ts +98 -0
- package/dist/definitions/credentials/response.schema.d.ts.map +1 -0
- package/dist/definitions/credentials/response.schema.js +30 -0
- package/dist/definitions/credentials/response.schema.js.map +1 -0
- package/dist/definitions/index.d.ts +191 -0
- package/dist/definitions/index.d.ts.map +1 -0
- package/dist/definitions/index.js +233 -0
- package/dist/definitions/index.js.map +1 -0
- package/dist/definitions/integrations/domain.schema.d.ts +122 -0
- package/dist/definitions/integrations/domain.schema.d.ts.map +1 -0
- package/dist/definitions/integrations/domain.schema.js +85 -0
- package/dist/definitions/integrations/domain.schema.js.map +1 -0
- package/dist/definitions/integrations/index.d.ts +12 -0
- package/dist/definitions/integrations/index.d.ts.map +1 -0
- package/dist/definitions/integrations/index.js +18 -0
- package/dist/definitions/integrations/index.js.map +1 -0
- package/dist/definitions/integrations/marketplace-request.schema.d.ts +142 -0
- package/dist/definitions/integrations/marketplace-request.schema.d.ts.map +1 -0
- package/dist/definitions/integrations/marketplace-request.schema.js +121 -0
- package/dist/definitions/integrations/marketplace-request.schema.js.map +1 -0
- package/dist/definitions/integrations/marketplace-response.schema.d.ts +415 -0
- package/dist/definitions/integrations/marketplace-response.schema.d.ts.map +1 -0
- package/dist/definitions/integrations/marketplace-response.schema.js +121 -0
- package/dist/definitions/integrations/marketplace-response.schema.js.map +1 -0
- package/dist/definitions/integrations/marketplace.schema.d.ts +328 -0
- package/dist/definitions/integrations/marketplace.schema.d.ts.map +1 -0
- package/dist/definitions/integrations/marketplace.schema.js +164 -0
- package/dist/definitions/integrations/marketplace.schema.js.map +1 -0
- package/dist/definitions/integrations/request.schema.d.ts +141 -0
- package/dist/definitions/integrations/request.schema.d.ts.map +1 -0
- package/dist/definitions/integrations/request.schema.js +135 -0
- package/dist/definitions/integrations/request.schema.js.map +1 -0
- package/dist/definitions/integrations/response.schema.d.ts +142 -0
- package/dist/definitions/integrations/response.schema.d.ts.map +1 -0
- package/dist/definitions/integrations/response.schema.js +55 -0
- package/dist/definitions/integrations/response.schema.js.map +1 -0
- package/dist/definitions/orgs/domain.schema.d.ts +75 -0
- package/dist/definitions/orgs/domain.schema.d.ts.map +1 -0
- package/dist/definitions/orgs/domain.schema.js +62 -0
- package/dist/definitions/orgs/domain.schema.js.map +1 -0
- package/dist/definitions/orgs/index.d.ts +9 -0
- package/dist/definitions/orgs/index.d.ts.map +1 -0
- package/dist/definitions/orgs/index.js +12 -0
- package/dist/definitions/orgs/index.js.map +1 -0
- package/dist/definitions/orgs/request.schema.d.ts +151 -0
- package/dist/definitions/orgs/request.schema.d.ts.map +1 -0
- package/dist/definitions/orgs/request.schema.js +139 -0
- package/dist/definitions/orgs/request.schema.js.map +1 -0
- package/dist/definitions/orgs/response.schema.d.ts +161 -0
- package/dist/definitions/orgs/response.schema.d.ts.map +1 -0
- package/dist/definitions/orgs/response.schema.js +64 -0
- package/dist/definitions/orgs/response.schema.js.map +1 -0
- package/dist/definitions/policies/domain.schema.d.ts +421 -0
- package/dist/definitions/policies/domain.schema.d.ts.map +1 -0
- package/dist/definitions/policies/domain.schema.js +341 -0
- package/dist/definitions/policies/domain.schema.js.map +1 -0
- package/dist/definitions/policies/index.d.ts +9 -0
- package/dist/definitions/policies/index.d.ts.map +1 -0
- package/dist/definitions/policies/index.js +20 -0
- package/dist/definitions/policies/index.js.map +1 -0
- package/dist/definitions/policies/request.schema.d.ts +272 -0
- package/dist/definitions/policies/request.schema.d.ts.map +1 -0
- package/dist/definitions/policies/request.schema.js +261 -0
- package/dist/definitions/policies/request.schema.js.map +1 -0
- package/dist/definitions/policies/response.schema.d.ts +529 -0
- package/dist/definitions/policies/response.schema.d.ts.map +1 -0
- package/dist/definitions/policies/response.schema.js +300 -0
- package/dist/definitions/policies/response.schema.js.map +1 -0
- package/dist/definitions/products/domain.schema.d.ts +339 -0
- package/dist/definitions/products/domain.schema.d.ts.map +1 -0
- package/dist/definitions/products/domain.schema.js +156 -0
- package/dist/definitions/products/domain.schema.js.map +1 -0
- package/dist/definitions/products/index.d.ts +9 -0
- package/dist/definitions/products/index.d.ts.map +1 -0
- package/dist/definitions/products/index.js +12 -0
- package/dist/definitions/products/index.js.map +1 -0
- package/dist/definitions/products/request.schema.d.ts +431 -0
- package/dist/definitions/products/request.schema.d.ts.map +1 -0
- package/dist/definitions/products/request.schema.js +274 -0
- package/dist/definitions/products/request.schema.js.map +1 -0
- package/dist/definitions/products/response.schema.d.ts +483 -0
- package/dist/definitions/products/response.schema.d.ts.map +1 -0
- package/dist/definitions/products/response.schema.js +172 -0
- package/dist/definitions/products/response.schema.js.map +1 -0
- package/dist/definitions/release-risk/domain.schema.d.ts +127 -0
- package/dist/definitions/release-risk/domain.schema.d.ts.map +1 -0
- package/dist/definitions/release-risk/domain.schema.js +179 -0
- package/dist/definitions/release-risk/domain.schema.js.map +1 -0
- package/dist/definitions/release-risk/index.d.ts +15 -0
- package/dist/definitions/release-risk/index.d.ts.map +1 -0
- package/dist/definitions/release-risk/index.js +18 -0
- package/dist/definitions/release-risk/index.js.map +1 -0
- package/dist/definitions/release-risk/request.schema.d.ts +119 -0
- package/dist/definitions/release-risk/request.schema.d.ts.map +1 -0
- package/dist/definitions/release-risk/request.schema.js +136 -0
- package/dist/definitions/release-risk/request.schema.js.map +1 -0
- package/dist/definitions/release-risk/response.schema.d.ts +283 -0
- package/dist/definitions/release-risk/response.schema.d.ts.map +1 -0
- package/dist/definitions/release-risk/response.schema.js +192 -0
- package/dist/definitions/release-risk/response.schema.js.map +1 -0
- package/dist/definitions/releases/domain.schema.d.ts +559 -0
- package/dist/definitions/releases/domain.schema.d.ts.map +1 -0
- package/dist/definitions/releases/domain.schema.js +221 -0
- package/dist/definitions/releases/domain.schema.js.map +1 -0
- package/dist/definitions/releases/index.d.ts +9 -0
- package/dist/definitions/releases/index.d.ts.map +1 -0
- package/dist/definitions/releases/index.js +12 -0
- package/dist/definitions/releases/index.js.map +1 -0
- package/dist/definitions/releases/request.schema.d.ts +312 -0
- package/dist/definitions/releases/request.schema.d.ts.map +1 -0
- package/dist/definitions/releases/request.schema.js +176 -0
- package/dist/definitions/releases/request.schema.js.map +1 -0
- package/dist/definitions/releases/response.schema.d.ts +394 -0
- package/dist/definitions/releases/response.schema.d.ts.map +1 -0
- package/dist/definitions/releases/response.schema.js +43 -0
- package/dist/definitions/releases/response.schema.js.map +1 -0
- package/dist/definitions/service-accounts/domain.schema.d.ts +111 -0
- package/dist/definitions/service-accounts/domain.schema.d.ts.map +1 -0
- package/dist/definitions/service-accounts/domain.schema.js +63 -0
- package/dist/definitions/service-accounts/domain.schema.js.map +1 -0
- package/dist/definitions/service-accounts/index.d.ts +9 -0
- package/dist/definitions/service-accounts/index.d.ts.map +1 -0
- package/dist/definitions/service-accounts/index.js +12 -0
- package/dist/definitions/service-accounts/index.js.map +1 -0
- package/dist/definitions/service-accounts/request.schema.d.ts +115 -0
- package/dist/definitions/service-accounts/request.schema.d.ts.map +1 -0
- package/dist/definitions/service-accounts/request.schema.js +119 -0
- package/dist/definitions/service-accounts/request.schema.js.map +1 -0
- package/dist/definitions/service-accounts/response.schema.d.ts +126 -0
- package/dist/definitions/service-accounts/response.schema.d.ts.map +1 -0
- package/dist/definitions/service-accounts/response.schema.js +78 -0
- package/dist/definitions/service-accounts/response.schema.js.map +1 -0
- package/dist/definitions/sessions/domain.schema.d.ts +55 -0
- package/dist/definitions/sessions/domain.schema.d.ts.map +1 -0
- package/dist/definitions/sessions/domain.schema.js +53 -0
- package/dist/definitions/sessions/domain.schema.js.map +1 -0
- package/dist/definitions/sessions/index.d.ts +9 -0
- package/dist/definitions/sessions/index.d.ts.map +1 -0
- package/dist/definitions/sessions/index.js +12 -0
- package/dist/definitions/sessions/index.js.map +1 -0
- package/dist/definitions/sessions/request.schema.d.ts +17 -0
- package/dist/definitions/sessions/request.schema.d.ts.map +1 -0
- package/dist/definitions/sessions/request.schema.js +16 -0
- package/dist/definitions/sessions/request.schema.js.map +1 -0
- package/dist/definitions/sessions/response.schema.d.ts +82 -0
- package/dist/definitions/sessions/response.schema.d.ts.map +1 -0
- package/dist/definitions/sessions/response.schema.js +52 -0
- package/dist/definitions/sessions/response.schema.js.map +1 -0
- package/dist/definitions/settings/domain.schema.d.ts +60 -0
- package/dist/definitions/settings/domain.schema.d.ts.map +1 -0
- package/dist/definitions/settings/domain.schema.js +30 -0
- package/dist/definitions/settings/domain.schema.js.map +1 -0
- package/dist/definitions/settings/index.d.ts +7 -0
- package/dist/definitions/settings/index.d.ts.map +1 -0
- package/dist/definitions/settings/index.js +7 -0
- package/dist/definitions/settings/index.js.map +1 -0
- package/dist/definitions/settings/request.schema.d.ts +28 -0
- package/dist/definitions/settings/request.schema.d.ts.map +1 -0
- package/dist/definitions/settings/request.schema.js +43 -0
- package/dist/definitions/settings/request.schema.js.map +1 -0
- package/dist/definitions/settings/response.schema.d.ts +92 -0
- package/dist/definitions/settings/response.schema.d.ts.map +1 -0
- package/dist/definitions/settings/response.schema.js +56 -0
- package/dist/definitions/settings/response.schema.js.map +1 -0
- package/dist/definitions/share-links/domain.schema.d.ts +123 -0
- package/dist/definitions/share-links/domain.schema.d.ts.map +1 -0
- package/dist/definitions/share-links/domain.schema.js +117 -0
- package/dist/definitions/share-links/domain.schema.js.map +1 -0
- package/dist/definitions/share-links/index.d.ts +9 -0
- package/dist/definitions/share-links/index.d.ts.map +1 -0
- package/dist/definitions/share-links/index.js +12 -0
- package/dist/definitions/share-links/index.js.map +1 -0
- package/dist/definitions/share-links/request.schema.d.ts +229 -0
- package/dist/definitions/share-links/request.schema.d.ts.map +1 -0
- package/dist/definitions/share-links/request.schema.js +373 -0
- package/dist/definitions/share-links/request.schema.js.map +1 -0
- package/dist/definitions/share-links/response.schema.d.ts +295 -0
- package/dist/definitions/share-links/response.schema.d.ts.map +1 -0
- package/dist/definitions/share-links/response.schema.js +185 -0
- package/dist/definitions/share-links/response.schema.js.map +1 -0
- package/dist/definitions/stores/domain.schema.d.ts +126 -0
- package/dist/definitions/stores/domain.schema.d.ts.map +1 -0
- package/dist/definitions/stores/domain.schema.js +86 -0
- package/dist/definitions/stores/domain.schema.js.map +1 -0
- package/dist/definitions/stores/index.d.ts +9 -0
- package/dist/definitions/stores/index.d.ts.map +1 -0
- package/dist/definitions/stores/index.js +12 -0
- package/dist/definitions/stores/index.js.map +1 -0
- package/dist/definitions/stores/request.schema.d.ts +131 -0
- package/dist/definitions/stores/request.schema.d.ts.map +1 -0
- package/dist/definitions/stores/request.schema.js +106 -0
- package/dist/definitions/stores/request.schema.js.map +1 -0
- package/dist/definitions/stores/response.schema.d.ts +192 -0
- package/dist/definitions/stores/response.schema.d.ts.map +1 -0
- package/dist/definitions/stores/response.schema.js +90 -0
- package/dist/definitions/stores/response.schema.js.map +1 -0
- package/dist/definitions/teams/domain.schema.d.ts +37 -0
- package/dist/definitions/teams/domain.schema.d.ts.map +1 -0
- package/dist/definitions/teams/domain.schema.js +33 -0
- package/dist/definitions/teams/domain.schema.js.map +1 -0
- package/dist/definitions/teams/index.d.ts +9 -0
- package/dist/definitions/teams/index.d.ts.map +1 -0
- package/dist/definitions/teams/index.js +12 -0
- package/dist/definitions/teams/index.js.map +1 -0
- package/dist/definitions/teams/request.schema.d.ts +88 -0
- package/dist/definitions/teams/request.schema.d.ts.map +1 -0
- package/dist/definitions/teams/request.schema.js +93 -0
- package/dist/definitions/teams/request.schema.js.map +1 -0
- package/dist/definitions/teams/response.schema.d.ts +83 -0
- package/dist/definitions/teams/response.schema.d.ts.map +1 -0
- package/dist/definitions/teams/response.schema.js +34 -0
- package/dist/definitions/teams/response.schema.js.map +1 -0
- package/dist/definitions/waitlist/index.d.ts +56 -0
- package/dist/definitions/waitlist/index.d.ts.map +1 -0
- package/dist/definitions/waitlist/index.js +114 -0
- package/dist/definitions/waitlist/index.js.map +1 -0
- package/dist/definitions/webhooks/domain.schema.d.ts +144 -0
- package/dist/definitions/webhooks/domain.schema.d.ts.map +1 -0
- package/dist/definitions/webhooks/domain.schema.js +90 -0
- package/dist/definitions/webhooks/domain.schema.js.map +1 -0
- package/dist/definitions/webhooks/index.d.ts +10 -0
- package/dist/definitions/webhooks/index.d.ts.map +1 -0
- package/dist/definitions/webhooks/index.js +13 -0
- package/dist/definitions/webhooks/index.js.map +1 -0
- package/dist/definitions/webhooks/request.schema.d.ts +95 -0
- package/dist/definitions/webhooks/request.schema.d.ts.map +1 -0
- package/dist/definitions/webhooks/request.schema.js +69 -0
- package/dist/definitions/webhooks/request.schema.js.map +1 -0
- package/dist/definitions/webhooks/response.schema.d.ts +255 -0
- package/dist/definitions/webhooks/response.schema.d.ts.map +1 -0
- package/dist/definitions/webhooks/response.schema.js +60 -0
- package/dist/definitions/webhooks/response.schema.js.map +1 -0
- package/dist/definitions/workflows/domain.schema.d.ts +225 -0
- package/dist/definitions/workflows/domain.schema.d.ts.map +1 -0
- package/dist/definitions/workflows/domain.schema.js +112 -0
- package/dist/definitions/workflows/domain.schema.js.map +1 -0
- package/dist/definitions/workflows/index.d.ts +9 -0
- package/dist/definitions/workflows/index.d.ts.map +1 -0
- package/dist/definitions/workflows/index.js +9 -0
- package/dist/definitions/workflows/index.js.map +1 -0
- package/dist/definitions/workflows/request.schema.d.ts +112 -0
- package/dist/definitions/workflows/request.schema.d.ts.map +1 -0
- package/dist/definitions/workflows/request.schema.js +89 -0
- package/dist/definitions/workflows/request.schema.js.map +1 -0
- package/dist/definitions/workflows/response.schema.d.ts +241 -0
- package/dist/definitions/workflows/response.schema.d.ts.map +1 -0
- package/dist/definitions/workflows/response.schema.js +44 -0
- package/dist/definitions/workflows/response.schema.js.map +1 -0
- package/dist/generators/generate-schemas.d.ts +10 -0
- package/dist/generators/generate-schemas.d.ts.map +1 -0
- package/dist/generators/generate-schemas.js +151 -0
- package/dist/generators/generate-schemas.js.map +1 -0
- package/dist/generators/index.d.ts +8 -0
- package/dist/generators/index.d.ts.map +1 -0
- package/dist/generators/index.js +8 -0
- package/dist/generators/index.js.map +1 -0
- package/dist/generators/zod-to-json-schema.d.ts +64 -0
- package/dist/generators/zod-to-json-schema.d.ts.map +1 -0
- package/dist/generators/zod-to-json-schema.js +307 -0
- package/dist/generators/zod-to-json-schema.js.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -0
- package/dist/settings/domain.schema.d.ts +2 -0
- package/dist/settings/domain.schema.d.ts.map +1 -0
- package/dist/settings/domain.schema.js +2 -0
- package/dist/settings/domain.schema.js.map +1 -0
- package/dist/settings/index.d.ts +2 -0
- package/dist/settings/index.d.ts.map +1 -0
- package/dist/settings/index.js +2 -0
- package/dist/settings/index.js.map +1 -0
- package/dist/settings/request.schema.d.ts +2 -0
- package/dist/settings/request.schema.d.ts.map +1 -0
- package/dist/settings/request.schema.js +2 -0
- package/dist/settings/request.schema.js.map +1 -0
- package/dist/settings/response.schema.d.ts +2 -0
- package/dist/settings/response.schema.d.ts.map +1 -0
- package/dist/settings/response.schema.js +2 -0
- package/dist/settings/response.schema.js.map +1 -0
- package/package.json +135 -0
|
@@ -0,0 +1,1067 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Approvals Domain - Response Schemas
|
|
3
|
+
*/
|
|
4
|
+
import { z } from 'zod';
|
|
5
|
+
export declare const ApprovalRequestWithDetailsResponseSchema: z.ZodObject<{
|
|
6
|
+
id: z.ZodString;
|
|
7
|
+
orgId: z.ZodString;
|
|
8
|
+
resourceType: z.ZodEnum<{
|
|
9
|
+
release: "release";
|
|
10
|
+
}>;
|
|
11
|
+
resourceId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
12
|
+
actionType: z.ZodEnum<{
|
|
13
|
+
"release.submit": "release.submit";
|
|
14
|
+
"release.rollback": "release.rollback";
|
|
15
|
+
"release.stage_transition": "release.stage_transition";
|
|
16
|
+
}>;
|
|
17
|
+
reason: z.ZodString;
|
|
18
|
+
requirementsJson: z.ZodObject<{
|
|
19
|
+
quorum: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
21
|
+
admin: "admin";
|
|
22
|
+
user: "user";
|
|
23
|
+
}>>>;
|
|
24
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
25
|
+
key: z.ZodString;
|
|
26
|
+
quorum: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
28
|
+
admin: "admin";
|
|
29
|
+
user: "user";
|
|
30
|
+
}>>>;
|
|
31
|
+
groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
32
|
+
key: z.ZodString;
|
|
33
|
+
quorum: z.ZodNumber;
|
|
34
|
+
requiredRoles: z.ZodArray<z.ZodEnum<{
|
|
35
|
+
admin: "admin";
|
|
36
|
+
user: "user";
|
|
37
|
+
}>>;
|
|
38
|
+
}, z.core.$strict>>>;
|
|
39
|
+
}, z.core.$strict>>>;
|
|
40
|
+
constraints: z.ZodOptional<z.ZodObject<{
|
|
41
|
+
distinctApprovers: z.ZodDefault<z.ZodBoolean>;
|
|
42
|
+
noSameTeam: z.ZodDefault<z.ZodBoolean>;
|
|
43
|
+
}, z.core.$strict>>;
|
|
44
|
+
rejectionMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
45
|
+
terminal: "terminal";
|
|
46
|
+
advisory: "advisory";
|
|
47
|
+
}>>>;
|
|
48
|
+
advisoryRejectEffect: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
49
|
+
block_until_override: "block_until_override";
|
|
50
|
+
non_blocking: "non_blocking";
|
|
51
|
+
}>>>;
|
|
52
|
+
override: z.ZodOptional<z.ZodObject<{
|
|
53
|
+
allowedRoles: z.ZodArray<z.ZodEnum<{
|
|
54
|
+
admin: "admin";
|
|
55
|
+
owner: "owner";
|
|
56
|
+
}>>;
|
|
57
|
+
requiredReasonMinLen: z.ZodNumber;
|
|
58
|
+
}, z.core.$strict>>;
|
|
59
|
+
}, z.core.$strict>;
|
|
60
|
+
riskLevel: z.ZodEnum<{
|
|
61
|
+
low: "low";
|
|
62
|
+
medium: "medium";
|
|
63
|
+
high: "high";
|
|
64
|
+
critical: "critical";
|
|
65
|
+
}>;
|
|
66
|
+
templateId: z.ZodNullable<z.ZodString>;
|
|
67
|
+
refreshOfRequestId: z.ZodNullable<z.ZodString>;
|
|
68
|
+
supersededByRequestId: z.ZodNullable<z.ZodString>;
|
|
69
|
+
archivedReason: z.ZodNullable<z.ZodString>;
|
|
70
|
+
snapshotHash: z.ZodString;
|
|
71
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
72
|
+
status: z.ZodEnum<{
|
|
73
|
+
pending: "pending";
|
|
74
|
+
approved: "approved";
|
|
75
|
+
rejected: "rejected";
|
|
76
|
+
canceled: "canceled";
|
|
77
|
+
expired: "expired";
|
|
78
|
+
}>;
|
|
79
|
+
createdBy: z.ZodString;
|
|
80
|
+
createdAt: z.ZodString;
|
|
81
|
+
computedAt: z.ZodString;
|
|
82
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
83
|
+
decisions: z.ZodArray<z.ZodObject<{
|
|
84
|
+
id: z.ZodString;
|
|
85
|
+
approvalRequestId: z.ZodString;
|
|
86
|
+
orgId: z.ZodString;
|
|
87
|
+
actorUserId: z.ZodString;
|
|
88
|
+
decision: z.ZodEnum<{
|
|
89
|
+
approve: "approve";
|
|
90
|
+
reject: "reject";
|
|
91
|
+
}>;
|
|
92
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
93
|
+
reasonCode: z.ZodNullable<z.ZodEnum<{
|
|
94
|
+
policy_violation: "policy_violation";
|
|
95
|
+
security_risk: "security_risk";
|
|
96
|
+
compliance_requirement: "compliance_requirement";
|
|
97
|
+
active_incident: "active_incident";
|
|
98
|
+
failed_automated_checks: "failed_automated_checks";
|
|
99
|
+
insufficient_evidence: "insufficient_evidence";
|
|
100
|
+
missing_rollback_plan: "missing_rollback_plan";
|
|
101
|
+
change_window_closed: "change_window_closed";
|
|
102
|
+
dependency_instability: "dependency_instability";
|
|
103
|
+
capacity_risk: "capacity_risk";
|
|
104
|
+
cost_risk: "cost_risk";
|
|
105
|
+
business_hold: "business_hold";
|
|
106
|
+
duplicate_request: "duplicate_request";
|
|
107
|
+
superseded_change: "superseded_change";
|
|
108
|
+
requester_canceled: "requester_canceled";
|
|
109
|
+
scope_changed: "scope_changed";
|
|
110
|
+
temporary_access: "temporary_access";
|
|
111
|
+
other: "other";
|
|
112
|
+
}>>;
|
|
113
|
+
links: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
114
|
+
stepKey: z.ZodNullable<z.ZodString>;
|
|
115
|
+
actorTeamIds: z.ZodArray<z.ZodString>;
|
|
116
|
+
createdAt: z.ZodString;
|
|
117
|
+
}, z.core.$strip>>;
|
|
118
|
+
override: z.ZodNullable<z.ZodObject<{
|
|
119
|
+
id: z.ZodString;
|
|
120
|
+
approvalRequestId: z.ZodString;
|
|
121
|
+
orgId: z.ZodString;
|
|
122
|
+
actorUserId: z.ZodString;
|
|
123
|
+
reason: z.ZodString;
|
|
124
|
+
reasonCode: z.ZodNullable<z.ZodEnum<{
|
|
125
|
+
policy_violation: "policy_violation";
|
|
126
|
+
security_risk: "security_risk";
|
|
127
|
+
compliance_requirement: "compliance_requirement";
|
|
128
|
+
active_incident: "active_incident";
|
|
129
|
+
failed_automated_checks: "failed_automated_checks";
|
|
130
|
+
insufficient_evidence: "insufficient_evidence";
|
|
131
|
+
missing_rollback_plan: "missing_rollback_plan";
|
|
132
|
+
change_window_closed: "change_window_closed";
|
|
133
|
+
dependency_instability: "dependency_instability";
|
|
134
|
+
capacity_risk: "capacity_risk";
|
|
135
|
+
cost_risk: "cost_risk";
|
|
136
|
+
business_hold: "business_hold";
|
|
137
|
+
duplicate_request: "duplicate_request";
|
|
138
|
+
superseded_change: "superseded_change";
|
|
139
|
+
requester_canceled: "requester_canceled";
|
|
140
|
+
scope_changed: "scope_changed";
|
|
141
|
+
temporary_access: "temporary_access";
|
|
142
|
+
other: "other";
|
|
143
|
+
}>>;
|
|
144
|
+
links: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
145
|
+
createdAt: z.ZodString;
|
|
146
|
+
}, z.core.$strip>>;
|
|
147
|
+
timeline: z.ZodArray<z.ZodObject<{
|
|
148
|
+
id: z.ZodString;
|
|
149
|
+
approvalRequestId: z.ZodString;
|
|
150
|
+
orgId: z.ZodString;
|
|
151
|
+
eventType: z.ZodEnum<{
|
|
152
|
+
"approval.request.created": "approval.request.created";
|
|
153
|
+
"approval.decision.recorded": "approval.decision.recorded";
|
|
154
|
+
"approval.request.approved": "approval.request.approved";
|
|
155
|
+
"approval.request.rejected": "approval.request.rejected";
|
|
156
|
+
"approval.request.canceled": "approval.request.canceled";
|
|
157
|
+
"approval.request.archived": "approval.request.archived";
|
|
158
|
+
"approval.request.expired": "approval.request.expired";
|
|
159
|
+
"approval.request.refreshed": "approval.request.refreshed";
|
|
160
|
+
"approval.request.superseded": "approval.request.superseded";
|
|
161
|
+
"approval.request.reminder.sent": "approval.request.reminder.sent";
|
|
162
|
+
"approval.request.escalation.sent": "approval.request.escalation.sent";
|
|
163
|
+
"approval.grant.created": "approval.grant.created";
|
|
164
|
+
"approval.grant.revoked": "approval.grant.revoked";
|
|
165
|
+
"approval.grant.extended": "approval.grant.extended";
|
|
166
|
+
}>;
|
|
167
|
+
actorUserId: z.ZodNullable<z.ZodString>;
|
|
168
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
169
|
+
createdAt: z.ZodString;
|
|
170
|
+
}, z.core.$strict>>;
|
|
171
|
+
}, z.core.$strip>;
|
|
172
|
+
export declare const CreateApprovalRequestResponseSchema: z.ZodObject<{
|
|
173
|
+
request: z.ZodObject<{
|
|
174
|
+
id: z.ZodString;
|
|
175
|
+
orgId: z.ZodString;
|
|
176
|
+
resourceType: z.ZodEnum<{
|
|
177
|
+
release: "release";
|
|
178
|
+
}>;
|
|
179
|
+
resourceId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
180
|
+
actionType: z.ZodEnum<{
|
|
181
|
+
"release.submit": "release.submit";
|
|
182
|
+
"release.rollback": "release.rollback";
|
|
183
|
+
"release.stage_transition": "release.stage_transition";
|
|
184
|
+
}>;
|
|
185
|
+
reason: z.ZodString;
|
|
186
|
+
requirementsJson: z.ZodObject<{
|
|
187
|
+
quorum: z.ZodOptional<z.ZodNumber>;
|
|
188
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
189
|
+
admin: "admin";
|
|
190
|
+
user: "user";
|
|
191
|
+
}>>>;
|
|
192
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
193
|
+
key: z.ZodString;
|
|
194
|
+
quorum: z.ZodOptional<z.ZodNumber>;
|
|
195
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
196
|
+
admin: "admin";
|
|
197
|
+
user: "user";
|
|
198
|
+
}>>>;
|
|
199
|
+
groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
200
|
+
key: z.ZodString;
|
|
201
|
+
quorum: z.ZodNumber;
|
|
202
|
+
requiredRoles: z.ZodArray<z.ZodEnum<{
|
|
203
|
+
admin: "admin";
|
|
204
|
+
user: "user";
|
|
205
|
+
}>>;
|
|
206
|
+
}, z.core.$strict>>>;
|
|
207
|
+
}, z.core.$strict>>>;
|
|
208
|
+
constraints: z.ZodOptional<z.ZodObject<{
|
|
209
|
+
distinctApprovers: z.ZodDefault<z.ZodBoolean>;
|
|
210
|
+
noSameTeam: z.ZodDefault<z.ZodBoolean>;
|
|
211
|
+
}, z.core.$strict>>;
|
|
212
|
+
rejectionMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
213
|
+
terminal: "terminal";
|
|
214
|
+
advisory: "advisory";
|
|
215
|
+
}>>>;
|
|
216
|
+
advisoryRejectEffect: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
217
|
+
block_until_override: "block_until_override";
|
|
218
|
+
non_blocking: "non_blocking";
|
|
219
|
+
}>>>;
|
|
220
|
+
override: z.ZodOptional<z.ZodObject<{
|
|
221
|
+
allowedRoles: z.ZodArray<z.ZodEnum<{
|
|
222
|
+
admin: "admin";
|
|
223
|
+
owner: "owner";
|
|
224
|
+
}>>;
|
|
225
|
+
requiredReasonMinLen: z.ZodNumber;
|
|
226
|
+
}, z.core.$strict>>;
|
|
227
|
+
}, z.core.$strict>;
|
|
228
|
+
riskLevel: z.ZodEnum<{
|
|
229
|
+
low: "low";
|
|
230
|
+
medium: "medium";
|
|
231
|
+
high: "high";
|
|
232
|
+
critical: "critical";
|
|
233
|
+
}>;
|
|
234
|
+
templateId: z.ZodNullable<z.ZodString>;
|
|
235
|
+
refreshOfRequestId: z.ZodNullable<z.ZodString>;
|
|
236
|
+
supersededByRequestId: z.ZodNullable<z.ZodString>;
|
|
237
|
+
archivedReason: z.ZodNullable<z.ZodString>;
|
|
238
|
+
snapshotHash: z.ZodString;
|
|
239
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
240
|
+
status: z.ZodEnum<{
|
|
241
|
+
pending: "pending";
|
|
242
|
+
approved: "approved";
|
|
243
|
+
rejected: "rejected";
|
|
244
|
+
canceled: "canceled";
|
|
245
|
+
expired: "expired";
|
|
246
|
+
}>;
|
|
247
|
+
createdBy: z.ZodString;
|
|
248
|
+
createdAt: z.ZodString;
|
|
249
|
+
computedAt: z.ZodString;
|
|
250
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
251
|
+
}, z.core.$strip>;
|
|
252
|
+
}, z.core.$strip>;
|
|
253
|
+
export declare const RecordApprovalDecisionResponseSchema: z.ZodObject<{
|
|
254
|
+
request: z.ZodObject<{
|
|
255
|
+
id: z.ZodString;
|
|
256
|
+
orgId: z.ZodString;
|
|
257
|
+
resourceType: z.ZodEnum<{
|
|
258
|
+
release: "release";
|
|
259
|
+
}>;
|
|
260
|
+
resourceId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
261
|
+
actionType: z.ZodEnum<{
|
|
262
|
+
"release.submit": "release.submit";
|
|
263
|
+
"release.rollback": "release.rollback";
|
|
264
|
+
"release.stage_transition": "release.stage_transition";
|
|
265
|
+
}>;
|
|
266
|
+
reason: z.ZodString;
|
|
267
|
+
requirementsJson: z.ZodObject<{
|
|
268
|
+
quorum: z.ZodOptional<z.ZodNumber>;
|
|
269
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
270
|
+
admin: "admin";
|
|
271
|
+
user: "user";
|
|
272
|
+
}>>>;
|
|
273
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
274
|
+
key: z.ZodString;
|
|
275
|
+
quorum: z.ZodOptional<z.ZodNumber>;
|
|
276
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
277
|
+
admin: "admin";
|
|
278
|
+
user: "user";
|
|
279
|
+
}>>>;
|
|
280
|
+
groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
281
|
+
key: z.ZodString;
|
|
282
|
+
quorum: z.ZodNumber;
|
|
283
|
+
requiredRoles: z.ZodArray<z.ZodEnum<{
|
|
284
|
+
admin: "admin";
|
|
285
|
+
user: "user";
|
|
286
|
+
}>>;
|
|
287
|
+
}, z.core.$strict>>>;
|
|
288
|
+
}, z.core.$strict>>>;
|
|
289
|
+
constraints: z.ZodOptional<z.ZodObject<{
|
|
290
|
+
distinctApprovers: z.ZodDefault<z.ZodBoolean>;
|
|
291
|
+
noSameTeam: z.ZodDefault<z.ZodBoolean>;
|
|
292
|
+
}, z.core.$strict>>;
|
|
293
|
+
rejectionMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
294
|
+
terminal: "terminal";
|
|
295
|
+
advisory: "advisory";
|
|
296
|
+
}>>>;
|
|
297
|
+
advisoryRejectEffect: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
298
|
+
block_until_override: "block_until_override";
|
|
299
|
+
non_blocking: "non_blocking";
|
|
300
|
+
}>>>;
|
|
301
|
+
override: z.ZodOptional<z.ZodObject<{
|
|
302
|
+
allowedRoles: z.ZodArray<z.ZodEnum<{
|
|
303
|
+
admin: "admin";
|
|
304
|
+
owner: "owner";
|
|
305
|
+
}>>;
|
|
306
|
+
requiredReasonMinLen: z.ZodNumber;
|
|
307
|
+
}, z.core.$strict>>;
|
|
308
|
+
}, z.core.$strict>;
|
|
309
|
+
riskLevel: z.ZodEnum<{
|
|
310
|
+
low: "low";
|
|
311
|
+
medium: "medium";
|
|
312
|
+
high: "high";
|
|
313
|
+
critical: "critical";
|
|
314
|
+
}>;
|
|
315
|
+
templateId: z.ZodNullable<z.ZodString>;
|
|
316
|
+
refreshOfRequestId: z.ZodNullable<z.ZodString>;
|
|
317
|
+
supersededByRequestId: z.ZodNullable<z.ZodString>;
|
|
318
|
+
archivedReason: z.ZodNullable<z.ZodString>;
|
|
319
|
+
snapshotHash: z.ZodString;
|
|
320
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
321
|
+
status: z.ZodEnum<{
|
|
322
|
+
pending: "pending";
|
|
323
|
+
approved: "approved";
|
|
324
|
+
rejected: "rejected";
|
|
325
|
+
canceled: "canceled";
|
|
326
|
+
expired: "expired";
|
|
327
|
+
}>;
|
|
328
|
+
createdBy: z.ZodString;
|
|
329
|
+
createdAt: z.ZodString;
|
|
330
|
+
computedAt: z.ZodString;
|
|
331
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
332
|
+
}, z.core.$strip>;
|
|
333
|
+
}, z.core.$strip>;
|
|
334
|
+
export declare const ApprovalListResponseSchema: z.ZodObject<{
|
|
335
|
+
data: z.ZodArray<z.ZodObject<{
|
|
336
|
+
id: z.ZodString;
|
|
337
|
+
orgId: z.ZodString;
|
|
338
|
+
resourceType: z.ZodEnum<{
|
|
339
|
+
release: "release";
|
|
340
|
+
}>;
|
|
341
|
+
resourceId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
342
|
+
actionType: z.ZodEnum<{
|
|
343
|
+
"release.submit": "release.submit";
|
|
344
|
+
"release.rollback": "release.rollback";
|
|
345
|
+
"release.stage_transition": "release.stage_transition";
|
|
346
|
+
}>;
|
|
347
|
+
reason: z.ZodString;
|
|
348
|
+
requirementsJson: z.ZodObject<{
|
|
349
|
+
quorum: z.ZodOptional<z.ZodNumber>;
|
|
350
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
351
|
+
admin: "admin";
|
|
352
|
+
user: "user";
|
|
353
|
+
}>>>;
|
|
354
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
355
|
+
key: z.ZodString;
|
|
356
|
+
quorum: z.ZodOptional<z.ZodNumber>;
|
|
357
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
358
|
+
admin: "admin";
|
|
359
|
+
user: "user";
|
|
360
|
+
}>>>;
|
|
361
|
+
groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
362
|
+
key: z.ZodString;
|
|
363
|
+
quorum: z.ZodNumber;
|
|
364
|
+
requiredRoles: z.ZodArray<z.ZodEnum<{
|
|
365
|
+
admin: "admin";
|
|
366
|
+
user: "user";
|
|
367
|
+
}>>;
|
|
368
|
+
}, z.core.$strict>>>;
|
|
369
|
+
}, z.core.$strict>>>;
|
|
370
|
+
constraints: z.ZodOptional<z.ZodObject<{
|
|
371
|
+
distinctApprovers: z.ZodDefault<z.ZodBoolean>;
|
|
372
|
+
noSameTeam: z.ZodDefault<z.ZodBoolean>;
|
|
373
|
+
}, z.core.$strict>>;
|
|
374
|
+
rejectionMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
375
|
+
terminal: "terminal";
|
|
376
|
+
advisory: "advisory";
|
|
377
|
+
}>>>;
|
|
378
|
+
advisoryRejectEffect: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
379
|
+
block_until_override: "block_until_override";
|
|
380
|
+
non_blocking: "non_blocking";
|
|
381
|
+
}>>>;
|
|
382
|
+
override: z.ZodOptional<z.ZodObject<{
|
|
383
|
+
allowedRoles: z.ZodArray<z.ZodEnum<{
|
|
384
|
+
admin: "admin";
|
|
385
|
+
owner: "owner";
|
|
386
|
+
}>>;
|
|
387
|
+
requiredReasonMinLen: z.ZodNumber;
|
|
388
|
+
}, z.core.$strict>>;
|
|
389
|
+
}, z.core.$strict>;
|
|
390
|
+
riskLevel: z.ZodEnum<{
|
|
391
|
+
low: "low";
|
|
392
|
+
medium: "medium";
|
|
393
|
+
high: "high";
|
|
394
|
+
critical: "critical";
|
|
395
|
+
}>;
|
|
396
|
+
templateId: z.ZodNullable<z.ZodString>;
|
|
397
|
+
refreshOfRequestId: z.ZodNullable<z.ZodString>;
|
|
398
|
+
supersededByRequestId: z.ZodNullable<z.ZodString>;
|
|
399
|
+
archivedReason: z.ZodNullable<z.ZodString>;
|
|
400
|
+
snapshotHash: z.ZodString;
|
|
401
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
402
|
+
status: z.ZodEnum<{
|
|
403
|
+
pending: "pending";
|
|
404
|
+
approved: "approved";
|
|
405
|
+
rejected: "rejected";
|
|
406
|
+
canceled: "canceled";
|
|
407
|
+
expired: "expired";
|
|
408
|
+
}>;
|
|
409
|
+
createdBy: z.ZodString;
|
|
410
|
+
createdAt: z.ZodString;
|
|
411
|
+
computedAt: z.ZodString;
|
|
412
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
413
|
+
}, z.core.$strip>>;
|
|
414
|
+
page: z.ZodObject<{
|
|
415
|
+
size: z.ZodNumber;
|
|
416
|
+
totalPages: z.ZodNumber;
|
|
417
|
+
hasMore: z.ZodBoolean;
|
|
418
|
+
}, z.core.$strip>;
|
|
419
|
+
}, z.core.$strip>;
|
|
420
|
+
export declare const ApprovalRequestsListResponseSchema: z.ZodObject<{
|
|
421
|
+
data: z.ZodArray<z.ZodObject<{
|
|
422
|
+
id: z.ZodString;
|
|
423
|
+
orgId: z.ZodString;
|
|
424
|
+
resourceType: z.ZodEnum<{
|
|
425
|
+
release: "release";
|
|
426
|
+
}>;
|
|
427
|
+
resourceId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
428
|
+
actionType: z.ZodEnum<{
|
|
429
|
+
"release.submit": "release.submit";
|
|
430
|
+
"release.rollback": "release.rollback";
|
|
431
|
+
"release.stage_transition": "release.stage_transition";
|
|
432
|
+
}>;
|
|
433
|
+
reason: z.ZodString;
|
|
434
|
+
requirementsJson: z.ZodObject<{
|
|
435
|
+
quorum: z.ZodOptional<z.ZodNumber>;
|
|
436
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
437
|
+
admin: "admin";
|
|
438
|
+
user: "user";
|
|
439
|
+
}>>>;
|
|
440
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
441
|
+
key: z.ZodString;
|
|
442
|
+
quorum: z.ZodOptional<z.ZodNumber>;
|
|
443
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
444
|
+
admin: "admin";
|
|
445
|
+
user: "user";
|
|
446
|
+
}>>>;
|
|
447
|
+
groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
448
|
+
key: z.ZodString;
|
|
449
|
+
quorum: z.ZodNumber;
|
|
450
|
+
requiredRoles: z.ZodArray<z.ZodEnum<{
|
|
451
|
+
admin: "admin";
|
|
452
|
+
user: "user";
|
|
453
|
+
}>>;
|
|
454
|
+
}, z.core.$strict>>>;
|
|
455
|
+
}, z.core.$strict>>>;
|
|
456
|
+
constraints: z.ZodOptional<z.ZodObject<{
|
|
457
|
+
distinctApprovers: z.ZodDefault<z.ZodBoolean>;
|
|
458
|
+
noSameTeam: z.ZodDefault<z.ZodBoolean>;
|
|
459
|
+
}, z.core.$strict>>;
|
|
460
|
+
rejectionMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
461
|
+
terminal: "terminal";
|
|
462
|
+
advisory: "advisory";
|
|
463
|
+
}>>>;
|
|
464
|
+
advisoryRejectEffect: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
465
|
+
block_until_override: "block_until_override";
|
|
466
|
+
non_blocking: "non_blocking";
|
|
467
|
+
}>>>;
|
|
468
|
+
override: z.ZodOptional<z.ZodObject<{
|
|
469
|
+
allowedRoles: z.ZodArray<z.ZodEnum<{
|
|
470
|
+
admin: "admin";
|
|
471
|
+
owner: "owner";
|
|
472
|
+
}>>;
|
|
473
|
+
requiredReasonMinLen: z.ZodNumber;
|
|
474
|
+
}, z.core.$strict>>;
|
|
475
|
+
}, z.core.$strict>;
|
|
476
|
+
riskLevel: z.ZodEnum<{
|
|
477
|
+
low: "low";
|
|
478
|
+
medium: "medium";
|
|
479
|
+
high: "high";
|
|
480
|
+
critical: "critical";
|
|
481
|
+
}>;
|
|
482
|
+
templateId: z.ZodNullable<z.ZodString>;
|
|
483
|
+
refreshOfRequestId: z.ZodNullable<z.ZodString>;
|
|
484
|
+
supersededByRequestId: z.ZodNullable<z.ZodString>;
|
|
485
|
+
archivedReason: z.ZodNullable<z.ZodString>;
|
|
486
|
+
snapshotHash: z.ZodString;
|
|
487
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
488
|
+
status: z.ZodEnum<{
|
|
489
|
+
pending: "pending";
|
|
490
|
+
approved: "approved";
|
|
491
|
+
rejected: "rejected";
|
|
492
|
+
canceled: "canceled";
|
|
493
|
+
expired: "expired";
|
|
494
|
+
}>;
|
|
495
|
+
createdBy: z.ZodString;
|
|
496
|
+
createdAt: z.ZodString;
|
|
497
|
+
computedAt: z.ZodString;
|
|
498
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
499
|
+
}, z.core.$strip>>;
|
|
500
|
+
page: z.ZodObject<{
|
|
501
|
+
size: z.ZodNumber;
|
|
502
|
+
totalPages: z.ZodNumber;
|
|
503
|
+
hasMore: z.ZodBoolean;
|
|
504
|
+
}, z.core.$strip>;
|
|
505
|
+
}, z.core.$strip>;
|
|
506
|
+
export declare const ApproverUserSchema: z.ZodObject<{
|
|
507
|
+
id: z.ZodString;
|
|
508
|
+
name: z.ZodString;
|
|
509
|
+
email: z.ZodString;
|
|
510
|
+
role: z.ZodEnum<{
|
|
511
|
+
admin: "admin";
|
|
512
|
+
user: "user";
|
|
513
|
+
}>;
|
|
514
|
+
}, z.core.$strict>;
|
|
515
|
+
export declare const ListApproversResponseSchema: z.ZodObject<{
|
|
516
|
+
data: z.ZodArray<z.ZodObject<{
|
|
517
|
+
id: z.ZodString;
|
|
518
|
+
name: z.ZodString;
|
|
519
|
+
email: z.ZodString;
|
|
520
|
+
role: z.ZodEnum<{
|
|
521
|
+
admin: "admin";
|
|
522
|
+
user: "user";
|
|
523
|
+
}>;
|
|
524
|
+
}, z.core.$strict>>;
|
|
525
|
+
}, z.core.$strict>;
|
|
526
|
+
export declare const ApprovalGrantWithUserResponseSchema: z.ZodObject<{
|
|
527
|
+
id: z.ZodString;
|
|
528
|
+
orgId: z.ZodString;
|
|
529
|
+
userId: z.ZodString;
|
|
530
|
+
resourceType: z.ZodEnum<{
|
|
531
|
+
release: "release";
|
|
532
|
+
}>;
|
|
533
|
+
resourceId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
534
|
+
actionType: z.ZodNullable<z.ZodEnum<{
|
|
535
|
+
"release.submit": "release.submit";
|
|
536
|
+
"release.rollback": "release.rollback";
|
|
537
|
+
"release.stage_transition": "release.stage_transition";
|
|
538
|
+
}>>;
|
|
539
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
540
|
+
createdBy: z.ZodString;
|
|
541
|
+
createdAt: z.ZodString;
|
|
542
|
+
updatedAt: z.ZodString;
|
|
543
|
+
updatedBy: z.ZodNullable<z.ZodString>;
|
|
544
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
545
|
+
archivedBy: z.ZodNullable<z.ZodString>;
|
|
546
|
+
archivedReason: z.ZodNullable<z.ZodEnum<{
|
|
547
|
+
expired: "expired";
|
|
548
|
+
revoked: "revoked";
|
|
549
|
+
superseded: "superseded";
|
|
550
|
+
}>>;
|
|
551
|
+
user: z.ZodObject<{
|
|
552
|
+
id: z.ZodString;
|
|
553
|
+
name: z.ZodString;
|
|
554
|
+
email: z.ZodString;
|
|
555
|
+
role: z.ZodEnum<{
|
|
556
|
+
admin: "admin";
|
|
557
|
+
user: "user";
|
|
558
|
+
}>;
|
|
559
|
+
}, z.core.$strict>;
|
|
560
|
+
}, z.core.$strict>;
|
|
561
|
+
export declare const CreateApproverGrantResponseSchema: z.ZodObject<{
|
|
562
|
+
approver: z.ZodObject<{
|
|
563
|
+
id: z.ZodString;
|
|
564
|
+
name: z.ZodString;
|
|
565
|
+
email: z.ZodString;
|
|
566
|
+
role: z.ZodEnum<{
|
|
567
|
+
admin: "admin";
|
|
568
|
+
user: "user";
|
|
569
|
+
}>;
|
|
570
|
+
}, z.core.$strict>;
|
|
571
|
+
grant: z.ZodObject<{
|
|
572
|
+
id: z.ZodString;
|
|
573
|
+
orgId: z.ZodString;
|
|
574
|
+
userId: z.ZodString;
|
|
575
|
+
resourceType: z.ZodEnum<{
|
|
576
|
+
release: "release";
|
|
577
|
+
}>;
|
|
578
|
+
resourceId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
579
|
+
actionType: z.ZodNullable<z.ZodEnum<{
|
|
580
|
+
"release.submit": "release.submit";
|
|
581
|
+
"release.rollback": "release.rollback";
|
|
582
|
+
"release.stage_transition": "release.stage_transition";
|
|
583
|
+
}>>;
|
|
584
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
585
|
+
createdBy: z.ZodString;
|
|
586
|
+
createdAt: z.ZodString;
|
|
587
|
+
updatedAt: z.ZodString;
|
|
588
|
+
updatedBy: z.ZodNullable<z.ZodString>;
|
|
589
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
590
|
+
archivedBy: z.ZodNullable<z.ZodString>;
|
|
591
|
+
archivedReason: z.ZodNullable<z.ZodEnum<{
|
|
592
|
+
expired: "expired";
|
|
593
|
+
revoked: "revoked";
|
|
594
|
+
superseded: "superseded";
|
|
595
|
+
}>>;
|
|
596
|
+
user: z.ZodObject<{
|
|
597
|
+
id: z.ZodString;
|
|
598
|
+
name: z.ZodString;
|
|
599
|
+
email: z.ZodString;
|
|
600
|
+
role: z.ZodEnum<{
|
|
601
|
+
admin: "admin";
|
|
602
|
+
user: "user";
|
|
603
|
+
}>;
|
|
604
|
+
}, z.core.$strict>;
|
|
605
|
+
}, z.core.$strict>;
|
|
606
|
+
}, z.core.$strict>;
|
|
607
|
+
export declare const ListApprovalGrantsResponseSchema: z.ZodObject<{
|
|
608
|
+
data: z.ZodArray<z.ZodObject<{
|
|
609
|
+
id: z.ZodString;
|
|
610
|
+
orgId: z.ZodString;
|
|
611
|
+
userId: z.ZodString;
|
|
612
|
+
resourceType: z.ZodEnum<{
|
|
613
|
+
release: "release";
|
|
614
|
+
}>;
|
|
615
|
+
resourceId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
616
|
+
actionType: z.ZodNullable<z.ZodEnum<{
|
|
617
|
+
"release.submit": "release.submit";
|
|
618
|
+
"release.rollback": "release.rollback";
|
|
619
|
+
"release.stage_transition": "release.stage_transition";
|
|
620
|
+
}>>;
|
|
621
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
622
|
+
createdBy: z.ZodString;
|
|
623
|
+
createdAt: z.ZodString;
|
|
624
|
+
updatedAt: z.ZodString;
|
|
625
|
+
updatedBy: z.ZodNullable<z.ZodString>;
|
|
626
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
627
|
+
archivedBy: z.ZodNullable<z.ZodString>;
|
|
628
|
+
archivedReason: z.ZodNullable<z.ZodEnum<{
|
|
629
|
+
expired: "expired";
|
|
630
|
+
revoked: "revoked";
|
|
631
|
+
superseded: "superseded";
|
|
632
|
+
}>>;
|
|
633
|
+
user: z.ZodObject<{
|
|
634
|
+
id: z.ZodString;
|
|
635
|
+
name: z.ZodString;
|
|
636
|
+
email: z.ZodString;
|
|
637
|
+
role: z.ZodEnum<{
|
|
638
|
+
admin: "admin";
|
|
639
|
+
user: "user";
|
|
640
|
+
}>;
|
|
641
|
+
}, z.core.$strict>;
|
|
642
|
+
}, z.core.$strict>>;
|
|
643
|
+
page: z.ZodObject<{
|
|
644
|
+
size: z.ZodNumber;
|
|
645
|
+
totalPages: z.ZodNumber;
|
|
646
|
+
hasMore: z.ZodBoolean;
|
|
647
|
+
}, z.core.$strip>;
|
|
648
|
+
}, z.core.$strip>;
|
|
649
|
+
export declare const RevokeApprovalGrantResponseSchema: z.ZodObject<{
|
|
650
|
+
grant: z.ZodObject<{
|
|
651
|
+
id: z.ZodString;
|
|
652
|
+
orgId: z.ZodString;
|
|
653
|
+
userId: z.ZodString;
|
|
654
|
+
resourceType: z.ZodEnum<{
|
|
655
|
+
release: "release";
|
|
656
|
+
}>;
|
|
657
|
+
resourceId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
658
|
+
actionType: z.ZodNullable<z.ZodEnum<{
|
|
659
|
+
"release.submit": "release.submit";
|
|
660
|
+
"release.rollback": "release.rollback";
|
|
661
|
+
"release.stage_transition": "release.stage_transition";
|
|
662
|
+
}>>;
|
|
663
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
664
|
+
createdBy: z.ZodString;
|
|
665
|
+
createdAt: z.ZodString;
|
|
666
|
+
updatedAt: z.ZodString;
|
|
667
|
+
updatedBy: z.ZodNullable<z.ZodString>;
|
|
668
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
669
|
+
archivedBy: z.ZodNullable<z.ZodString>;
|
|
670
|
+
archivedReason: z.ZodNullable<z.ZodEnum<{
|
|
671
|
+
expired: "expired";
|
|
672
|
+
revoked: "revoked";
|
|
673
|
+
superseded: "superseded";
|
|
674
|
+
}>>;
|
|
675
|
+
user: z.ZodObject<{
|
|
676
|
+
id: z.ZodString;
|
|
677
|
+
name: z.ZodString;
|
|
678
|
+
email: z.ZodString;
|
|
679
|
+
role: z.ZodEnum<{
|
|
680
|
+
admin: "admin";
|
|
681
|
+
user: "user";
|
|
682
|
+
}>;
|
|
683
|
+
}, z.core.$strict>;
|
|
684
|
+
}, z.core.$strict>;
|
|
685
|
+
}, z.core.$strict>;
|
|
686
|
+
export declare const ExtendApprovalGrantResponseSchema: z.ZodObject<{
|
|
687
|
+
grant: z.ZodObject<{
|
|
688
|
+
id: z.ZodString;
|
|
689
|
+
orgId: z.ZodString;
|
|
690
|
+
userId: z.ZodString;
|
|
691
|
+
resourceType: z.ZodEnum<{
|
|
692
|
+
release: "release";
|
|
693
|
+
}>;
|
|
694
|
+
resourceId: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
695
|
+
actionType: z.ZodNullable<z.ZodEnum<{
|
|
696
|
+
"release.submit": "release.submit";
|
|
697
|
+
"release.rollback": "release.rollback";
|
|
698
|
+
"release.stage_transition": "release.stage_transition";
|
|
699
|
+
}>>;
|
|
700
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
701
|
+
createdBy: z.ZodString;
|
|
702
|
+
createdAt: z.ZodString;
|
|
703
|
+
updatedAt: z.ZodString;
|
|
704
|
+
updatedBy: z.ZodNullable<z.ZodString>;
|
|
705
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
706
|
+
archivedBy: z.ZodNullable<z.ZodString>;
|
|
707
|
+
archivedReason: z.ZodNullable<z.ZodEnum<{
|
|
708
|
+
expired: "expired";
|
|
709
|
+
revoked: "revoked";
|
|
710
|
+
superseded: "superseded";
|
|
711
|
+
}>>;
|
|
712
|
+
user: z.ZodObject<{
|
|
713
|
+
id: z.ZodString;
|
|
714
|
+
name: z.ZodString;
|
|
715
|
+
email: z.ZodString;
|
|
716
|
+
role: z.ZodEnum<{
|
|
717
|
+
admin: "admin";
|
|
718
|
+
user: "user";
|
|
719
|
+
}>;
|
|
720
|
+
}, z.core.$strict>;
|
|
721
|
+
}, z.core.$strict>;
|
|
722
|
+
}, z.core.$strict>;
|
|
723
|
+
export declare const ListApprovalTemplatesResponseSchema: z.ZodObject<{
|
|
724
|
+
data: z.ZodArray<z.ZodObject<{
|
|
725
|
+
id: z.ZodString;
|
|
726
|
+
orgId: z.ZodNullable<z.ZodString>;
|
|
727
|
+
scope: z.ZodEnum<{
|
|
728
|
+
system: "system";
|
|
729
|
+
organization: "organization";
|
|
730
|
+
}>;
|
|
731
|
+
name: z.ZodString;
|
|
732
|
+
description: z.ZodNullable<z.ZodString>;
|
|
733
|
+
actionType: z.ZodEnum<{
|
|
734
|
+
"release.submit": "release.submit";
|
|
735
|
+
"release.rollback": "release.rollback";
|
|
736
|
+
"release.stage_transition": "release.stage_transition";
|
|
737
|
+
}>;
|
|
738
|
+
riskLevel: z.ZodEnum<{
|
|
739
|
+
low: "low";
|
|
740
|
+
medium: "medium";
|
|
741
|
+
high: "high";
|
|
742
|
+
critical: "critical";
|
|
743
|
+
}>;
|
|
744
|
+
requirementsJson: z.ZodObject<{
|
|
745
|
+
quorum: z.ZodOptional<z.ZodNumber>;
|
|
746
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
747
|
+
admin: "admin";
|
|
748
|
+
user: "user";
|
|
749
|
+
}>>>;
|
|
750
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
751
|
+
key: z.ZodString;
|
|
752
|
+
quorum: z.ZodOptional<z.ZodNumber>;
|
|
753
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
754
|
+
admin: "admin";
|
|
755
|
+
user: "user";
|
|
756
|
+
}>>>;
|
|
757
|
+
groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
758
|
+
key: z.ZodString;
|
|
759
|
+
quorum: z.ZodNumber;
|
|
760
|
+
requiredRoles: z.ZodArray<z.ZodEnum<{
|
|
761
|
+
admin: "admin";
|
|
762
|
+
user: "user";
|
|
763
|
+
}>>;
|
|
764
|
+
}, z.core.$strict>>>;
|
|
765
|
+
}, z.core.$strict>>>;
|
|
766
|
+
constraints: z.ZodOptional<z.ZodObject<{
|
|
767
|
+
distinctApprovers: z.ZodDefault<z.ZodBoolean>;
|
|
768
|
+
noSameTeam: z.ZodDefault<z.ZodBoolean>;
|
|
769
|
+
}, z.core.$strict>>;
|
|
770
|
+
rejectionMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
771
|
+
terminal: "terminal";
|
|
772
|
+
advisory: "advisory";
|
|
773
|
+
}>>>;
|
|
774
|
+
advisoryRejectEffect: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
775
|
+
block_until_override: "block_until_override";
|
|
776
|
+
non_blocking: "non_blocking";
|
|
777
|
+
}>>>;
|
|
778
|
+
override: z.ZodOptional<z.ZodObject<{
|
|
779
|
+
allowedRoles: z.ZodArray<z.ZodEnum<{
|
|
780
|
+
admin: "admin";
|
|
781
|
+
owner: "owner";
|
|
782
|
+
}>>;
|
|
783
|
+
requiredReasonMinLen: z.ZodNumber;
|
|
784
|
+
}, z.core.$strict>>;
|
|
785
|
+
}, z.core.$strict>;
|
|
786
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
787
|
+
createdBy: z.ZodNullable<z.ZodString>;
|
|
788
|
+
createdAt: z.ZodString;
|
|
789
|
+
updatedAt: z.ZodString;
|
|
790
|
+
}, z.core.$strict>>;
|
|
791
|
+
page: z.ZodObject<{
|
|
792
|
+
size: z.ZodNumber;
|
|
793
|
+
totalPages: z.ZodNumber;
|
|
794
|
+
hasMore: z.ZodBoolean;
|
|
795
|
+
}, z.core.$strip>;
|
|
796
|
+
}, z.core.$strip>;
|
|
797
|
+
export declare const CreateApprovalTemplateResponseSchema: z.ZodObject<{
|
|
798
|
+
template: z.ZodObject<{
|
|
799
|
+
id: z.ZodString;
|
|
800
|
+
orgId: z.ZodNullable<z.ZodString>;
|
|
801
|
+
scope: z.ZodEnum<{
|
|
802
|
+
system: "system";
|
|
803
|
+
organization: "organization";
|
|
804
|
+
}>;
|
|
805
|
+
name: z.ZodString;
|
|
806
|
+
description: z.ZodNullable<z.ZodString>;
|
|
807
|
+
actionType: z.ZodEnum<{
|
|
808
|
+
"release.submit": "release.submit";
|
|
809
|
+
"release.rollback": "release.rollback";
|
|
810
|
+
"release.stage_transition": "release.stage_transition";
|
|
811
|
+
}>;
|
|
812
|
+
riskLevel: z.ZodEnum<{
|
|
813
|
+
low: "low";
|
|
814
|
+
medium: "medium";
|
|
815
|
+
high: "high";
|
|
816
|
+
critical: "critical";
|
|
817
|
+
}>;
|
|
818
|
+
requirementsJson: z.ZodObject<{
|
|
819
|
+
quorum: z.ZodOptional<z.ZodNumber>;
|
|
820
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
821
|
+
admin: "admin";
|
|
822
|
+
user: "user";
|
|
823
|
+
}>>>;
|
|
824
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
825
|
+
key: z.ZodString;
|
|
826
|
+
quorum: z.ZodOptional<z.ZodNumber>;
|
|
827
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
828
|
+
admin: "admin";
|
|
829
|
+
user: "user";
|
|
830
|
+
}>>>;
|
|
831
|
+
groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
832
|
+
key: z.ZodString;
|
|
833
|
+
quorum: z.ZodNumber;
|
|
834
|
+
requiredRoles: z.ZodArray<z.ZodEnum<{
|
|
835
|
+
admin: "admin";
|
|
836
|
+
user: "user";
|
|
837
|
+
}>>;
|
|
838
|
+
}, z.core.$strict>>>;
|
|
839
|
+
}, z.core.$strict>>>;
|
|
840
|
+
constraints: z.ZodOptional<z.ZodObject<{
|
|
841
|
+
distinctApprovers: z.ZodDefault<z.ZodBoolean>;
|
|
842
|
+
noSameTeam: z.ZodDefault<z.ZodBoolean>;
|
|
843
|
+
}, z.core.$strict>>;
|
|
844
|
+
rejectionMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
845
|
+
terminal: "terminal";
|
|
846
|
+
advisory: "advisory";
|
|
847
|
+
}>>>;
|
|
848
|
+
advisoryRejectEffect: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
849
|
+
block_until_override: "block_until_override";
|
|
850
|
+
non_blocking: "non_blocking";
|
|
851
|
+
}>>>;
|
|
852
|
+
override: z.ZodOptional<z.ZodObject<{
|
|
853
|
+
allowedRoles: z.ZodArray<z.ZodEnum<{
|
|
854
|
+
admin: "admin";
|
|
855
|
+
owner: "owner";
|
|
856
|
+
}>>;
|
|
857
|
+
requiredReasonMinLen: z.ZodNumber;
|
|
858
|
+
}, z.core.$strict>>;
|
|
859
|
+
}, z.core.$strict>;
|
|
860
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
861
|
+
createdBy: z.ZodNullable<z.ZodString>;
|
|
862
|
+
createdAt: z.ZodString;
|
|
863
|
+
updatedAt: z.ZodString;
|
|
864
|
+
}, z.core.$strict>;
|
|
865
|
+
}, z.core.$strict>;
|
|
866
|
+
export declare const UpdateApprovalTemplateResponseSchema: z.ZodObject<{
|
|
867
|
+
template: z.ZodObject<{
|
|
868
|
+
id: z.ZodString;
|
|
869
|
+
orgId: z.ZodNullable<z.ZodString>;
|
|
870
|
+
scope: z.ZodEnum<{
|
|
871
|
+
system: "system";
|
|
872
|
+
organization: "organization";
|
|
873
|
+
}>;
|
|
874
|
+
name: z.ZodString;
|
|
875
|
+
description: z.ZodNullable<z.ZodString>;
|
|
876
|
+
actionType: z.ZodEnum<{
|
|
877
|
+
"release.submit": "release.submit";
|
|
878
|
+
"release.rollback": "release.rollback";
|
|
879
|
+
"release.stage_transition": "release.stage_transition";
|
|
880
|
+
}>;
|
|
881
|
+
riskLevel: z.ZodEnum<{
|
|
882
|
+
low: "low";
|
|
883
|
+
medium: "medium";
|
|
884
|
+
high: "high";
|
|
885
|
+
critical: "critical";
|
|
886
|
+
}>;
|
|
887
|
+
requirementsJson: z.ZodObject<{
|
|
888
|
+
quorum: z.ZodOptional<z.ZodNumber>;
|
|
889
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
890
|
+
admin: "admin";
|
|
891
|
+
user: "user";
|
|
892
|
+
}>>>;
|
|
893
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
894
|
+
key: z.ZodString;
|
|
895
|
+
quorum: z.ZodOptional<z.ZodNumber>;
|
|
896
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
897
|
+
admin: "admin";
|
|
898
|
+
user: "user";
|
|
899
|
+
}>>>;
|
|
900
|
+
groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
901
|
+
key: z.ZodString;
|
|
902
|
+
quorum: z.ZodNumber;
|
|
903
|
+
requiredRoles: z.ZodArray<z.ZodEnum<{
|
|
904
|
+
admin: "admin";
|
|
905
|
+
user: "user";
|
|
906
|
+
}>>;
|
|
907
|
+
}, z.core.$strict>>>;
|
|
908
|
+
}, z.core.$strict>>>;
|
|
909
|
+
constraints: z.ZodOptional<z.ZodObject<{
|
|
910
|
+
distinctApprovers: z.ZodDefault<z.ZodBoolean>;
|
|
911
|
+
noSameTeam: z.ZodDefault<z.ZodBoolean>;
|
|
912
|
+
}, z.core.$strict>>;
|
|
913
|
+
rejectionMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
914
|
+
terminal: "terminal";
|
|
915
|
+
advisory: "advisory";
|
|
916
|
+
}>>>;
|
|
917
|
+
advisoryRejectEffect: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
918
|
+
block_until_override: "block_until_override";
|
|
919
|
+
non_blocking: "non_blocking";
|
|
920
|
+
}>>>;
|
|
921
|
+
override: z.ZodOptional<z.ZodObject<{
|
|
922
|
+
allowedRoles: z.ZodArray<z.ZodEnum<{
|
|
923
|
+
admin: "admin";
|
|
924
|
+
owner: "owner";
|
|
925
|
+
}>>;
|
|
926
|
+
requiredReasonMinLen: z.ZodNumber;
|
|
927
|
+
}, z.core.$strict>>;
|
|
928
|
+
}, z.core.$strict>;
|
|
929
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
930
|
+
createdBy: z.ZodNullable<z.ZodString>;
|
|
931
|
+
createdAt: z.ZodString;
|
|
932
|
+
updatedAt: z.ZodString;
|
|
933
|
+
}, z.core.$strict>;
|
|
934
|
+
}, z.core.$strict>;
|
|
935
|
+
export declare const ArchiveApprovalTemplateResponseSchema: z.ZodObject<{
|
|
936
|
+
template: z.ZodObject<{
|
|
937
|
+
id: z.ZodString;
|
|
938
|
+
orgId: z.ZodNullable<z.ZodString>;
|
|
939
|
+
scope: z.ZodEnum<{
|
|
940
|
+
system: "system";
|
|
941
|
+
organization: "organization";
|
|
942
|
+
}>;
|
|
943
|
+
name: z.ZodString;
|
|
944
|
+
description: z.ZodNullable<z.ZodString>;
|
|
945
|
+
actionType: z.ZodEnum<{
|
|
946
|
+
"release.submit": "release.submit";
|
|
947
|
+
"release.rollback": "release.rollback";
|
|
948
|
+
"release.stage_transition": "release.stage_transition";
|
|
949
|
+
}>;
|
|
950
|
+
riskLevel: z.ZodEnum<{
|
|
951
|
+
low: "low";
|
|
952
|
+
medium: "medium";
|
|
953
|
+
high: "high";
|
|
954
|
+
critical: "critical";
|
|
955
|
+
}>;
|
|
956
|
+
requirementsJson: z.ZodObject<{
|
|
957
|
+
quorum: z.ZodOptional<z.ZodNumber>;
|
|
958
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
959
|
+
admin: "admin";
|
|
960
|
+
user: "user";
|
|
961
|
+
}>>>;
|
|
962
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
963
|
+
key: z.ZodString;
|
|
964
|
+
quorum: z.ZodOptional<z.ZodNumber>;
|
|
965
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
966
|
+
admin: "admin";
|
|
967
|
+
user: "user";
|
|
968
|
+
}>>>;
|
|
969
|
+
groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
970
|
+
key: z.ZodString;
|
|
971
|
+
quorum: z.ZodNumber;
|
|
972
|
+
requiredRoles: z.ZodArray<z.ZodEnum<{
|
|
973
|
+
admin: "admin";
|
|
974
|
+
user: "user";
|
|
975
|
+
}>>;
|
|
976
|
+
}, z.core.$strict>>>;
|
|
977
|
+
}, z.core.$strict>>>;
|
|
978
|
+
constraints: z.ZodOptional<z.ZodObject<{
|
|
979
|
+
distinctApprovers: z.ZodDefault<z.ZodBoolean>;
|
|
980
|
+
noSameTeam: z.ZodDefault<z.ZodBoolean>;
|
|
981
|
+
}, z.core.$strict>>;
|
|
982
|
+
rejectionMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
983
|
+
terminal: "terminal";
|
|
984
|
+
advisory: "advisory";
|
|
985
|
+
}>>>;
|
|
986
|
+
advisoryRejectEffect: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
987
|
+
block_until_override: "block_until_override";
|
|
988
|
+
non_blocking: "non_blocking";
|
|
989
|
+
}>>>;
|
|
990
|
+
override: z.ZodOptional<z.ZodObject<{
|
|
991
|
+
allowedRoles: z.ZodArray<z.ZodEnum<{
|
|
992
|
+
admin: "admin";
|
|
993
|
+
owner: "owner";
|
|
994
|
+
}>>;
|
|
995
|
+
requiredReasonMinLen: z.ZodNumber;
|
|
996
|
+
}, z.core.$strict>>;
|
|
997
|
+
}, z.core.$strict>;
|
|
998
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
999
|
+
createdBy: z.ZodNullable<z.ZodString>;
|
|
1000
|
+
createdAt: z.ZodString;
|
|
1001
|
+
updatedAt: z.ZodString;
|
|
1002
|
+
}, z.core.$strict>;
|
|
1003
|
+
}, z.core.$strict>;
|
|
1004
|
+
export declare const ListApprovalTemplateDefaultsResponseSchema: z.ZodObject<{
|
|
1005
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1006
|
+
id: z.ZodString;
|
|
1007
|
+
orgId: z.ZodString;
|
|
1008
|
+
actionType: z.ZodEnum<{
|
|
1009
|
+
"release.submit": "release.submit";
|
|
1010
|
+
"release.rollback": "release.rollback";
|
|
1011
|
+
"release.stage_transition": "release.stage_transition";
|
|
1012
|
+
}>;
|
|
1013
|
+
riskLevel: z.ZodEnum<{
|
|
1014
|
+
low: "low";
|
|
1015
|
+
medium: "medium";
|
|
1016
|
+
high: "high";
|
|
1017
|
+
critical: "critical";
|
|
1018
|
+
}>;
|
|
1019
|
+
templateId: z.ZodString;
|
|
1020
|
+
createdAt: z.ZodString;
|
|
1021
|
+
updatedAt: z.ZodString;
|
|
1022
|
+
}, z.core.$strict>>;
|
|
1023
|
+
page: z.ZodObject<{
|
|
1024
|
+
size: z.ZodNumber;
|
|
1025
|
+
totalPages: z.ZodNumber;
|
|
1026
|
+
hasMore: z.ZodBoolean;
|
|
1027
|
+
}, z.core.$strip>;
|
|
1028
|
+
}, z.core.$strip>;
|
|
1029
|
+
export declare const UpsertApprovalTemplateDefaultResponseSchema: z.ZodObject<{
|
|
1030
|
+
defaultTemplate: z.ZodObject<{
|
|
1031
|
+
id: z.ZodString;
|
|
1032
|
+
orgId: z.ZodString;
|
|
1033
|
+
actionType: z.ZodEnum<{
|
|
1034
|
+
"release.submit": "release.submit";
|
|
1035
|
+
"release.rollback": "release.rollback";
|
|
1036
|
+
"release.stage_transition": "release.stage_transition";
|
|
1037
|
+
}>;
|
|
1038
|
+
riskLevel: z.ZodEnum<{
|
|
1039
|
+
low: "low";
|
|
1040
|
+
medium: "medium";
|
|
1041
|
+
high: "high";
|
|
1042
|
+
critical: "critical";
|
|
1043
|
+
}>;
|
|
1044
|
+
templateId: z.ZodString;
|
|
1045
|
+
createdAt: z.ZodString;
|
|
1046
|
+
updatedAt: z.ZodString;
|
|
1047
|
+
}, z.core.$strict>;
|
|
1048
|
+
}, z.core.$strict>;
|
|
1049
|
+
export type ApprovalRequestWithDetailsResponse = z.infer<typeof ApprovalRequestWithDetailsResponseSchema>;
|
|
1050
|
+
export type CreateApprovalRequestResponse = z.infer<typeof CreateApprovalRequestResponseSchema>;
|
|
1051
|
+
export type RecordApprovalDecisionResponse = z.infer<typeof RecordApprovalDecisionResponseSchema>;
|
|
1052
|
+
export type ApprovalListResponse = z.infer<typeof ApprovalListResponseSchema>;
|
|
1053
|
+
export type ApprovalRequestsListResponse = z.infer<typeof ApprovalRequestsListResponseSchema>;
|
|
1054
|
+
export type ApproverUser = z.infer<typeof ApproverUserSchema>;
|
|
1055
|
+
export type ListApproversResponse = z.infer<typeof ListApproversResponseSchema>;
|
|
1056
|
+
export type CreateApproverGrantResponse = z.infer<typeof CreateApproverGrantResponseSchema>;
|
|
1057
|
+
export type ApprovalGrantWithUserResponse = z.infer<typeof ApprovalGrantWithUserResponseSchema>;
|
|
1058
|
+
export type ListApprovalGrantsResponse = z.infer<typeof ListApprovalGrantsResponseSchema>;
|
|
1059
|
+
export type RevokeApprovalGrantResponse = z.infer<typeof RevokeApprovalGrantResponseSchema>;
|
|
1060
|
+
export type ExtendApprovalGrantResponse = z.infer<typeof ExtendApprovalGrantResponseSchema>;
|
|
1061
|
+
export type ListApprovalTemplatesResponse = z.infer<typeof ListApprovalTemplatesResponseSchema>;
|
|
1062
|
+
export type CreateApprovalTemplateResponse = z.infer<typeof CreateApprovalTemplateResponseSchema>;
|
|
1063
|
+
export type UpdateApprovalTemplateResponse = z.infer<typeof UpdateApprovalTemplateResponseSchema>;
|
|
1064
|
+
export type ArchiveApprovalTemplateResponse = z.infer<typeof ArchiveApprovalTemplateResponseSchema>;
|
|
1065
|
+
export type ListApprovalTemplateDefaultsResponse = z.infer<typeof ListApprovalTemplateDefaultsResponseSchema>;
|
|
1066
|
+
export type UpsertApprovalTemplateDefaultResponse = z.infer<typeof UpsertApprovalTemplateDefaultResponseSchema>;
|
|
1067
|
+
//# sourceMappingURL=response.schema.d.ts.map
|