@sanoma-ai/connector-github 0.5.2 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -10,14 +10,14 @@ npm install @sanoma-ai/connector-github
10
10
 
11
11
  Each resource type has two operations, both effect `read` and idempotent, with the id as the policy's `target`; a repository and a deploy key are writable, so they have the change operations too, which only apply calls:
12
12
 
13
- | Type | Operations | Identity | Binding id |
14
- | ----------------------- | -------------------------------------------------------------------------------------------- | -------------------------- | ------------------------------ |
15
- | `repository` | `github.repository.read`, `.import`, and `.plan`, `.create`, `.update`, `.delete` | `name` | `node_id` |
16
- | `branch_protection` | `github.branch_protection.read`, `github.branch_protection.import` | `repository_id:pattern` | `id` (its node id, `BPR_…`) |
17
- | `team_membership` | `github.team_membership.read`, `github.team_membership.import` | `team_id:username` | `id` (`team_id:username`) |
18
- | `repository_deploy_key` | `github.repository_deploy_key.read`, `.import`, and `.plan`, `.create`, `.update`, `.delete` | none: found by its binding | `id` (`<repository>:<key id>`) |
13
+ | Type | Operations | Identity | Binding id |
14
+ | ----------------------- | -------------------------------------------------------------------------------------------- | ------------------------------------------------------- | -------------------------------------- |
15
+ | `repository` | `github.repository.read`, `.import`, and `.plan`, `.create`, `.update`, `.delete` | `owner/name` | `node_id` |
16
+ | `branch_protection` | `github.branch_protection.read`, `github.branch_protection.import` | `repository_id:pattern` (the repository's `owner/name`) | `id` (its node id, `BPR_…`) |
17
+ | `team_membership` | `github.team_membership.read`, `github.team_membership.import` | `owner/team_id:username` | `id` (`<owner>/<team_id>:<username>`) |
18
+ | `repository_deploy_key` | `github.repository_deploy_key.read`, `.import`, and `.plan`, `.create`, `.update`, `.delete` | none: found by its binding | `id` (`<owner>/<repository>:<key id>`) |
19
19
 
20
- `import` takes `{ id }`, an identity or a binding id (what the [lockfile](https://github.com/Sanoma-AI/sanoma/blob/main/packages/workflows/README.md#bindings) keeps, which a rename does not change), and returns the object's `state`. The provider imports a repository by its name and a rule by `repository:pattern`, so the driver resolves a node id (`R_…`, `BPR_…`) to those first, with one GraphQL `node(id)` query, and refuses one in a repository of another owner than `GITHUB_OWNER` (default: the token's user); a node id GitHub does not know is gone. The fake finds an object by its binding id too, with no query; `read` takes a state an earlier call returned (`{ id, state, handle }`), or just `{ id }`, and returns its fresh `state`, or `gone: true` when it no longer exists. See [Resources](https://github.com/Sanoma-AI/sanoma/blob/main/packages/workflows/README.md#resources).
20
+ `import` takes `{ id }`, an identity or a binding id (what the [lockfile](https://github.com/Sanoma-AI/sanoma/blob/main/packages/workflows/README.md#bindings) keeps, which a rename does not change), and returns the object's `state`. Which organization or user owns a repository is a fact about it, so it is in the resource, never in the environment: a repository and a team membership have an `owner` field, which a data file declares, and every name of a repository the connector shows is `<owner>/<name>`, GitHub's `full_name` (a repository's identity, a rule's repository, a deploy key's repository and binding id). The provider takes the owner as its configuration and a name without it, so the driver configures it, on each call, for the owner the call names: by its declaration's `owner` (or its repository's), its state's, or its id's `<owner>/`. A node id (a repository's `R_kgD…` or legacy one, a rule's `BPR_…`) is resolved first, with one GraphQL `node(id)` query, to its owner and the name the provider imports by (a repository's name, a rule's `repository:pattern`), unless the call's state names the owner (the provider then reads by that state); a node id GitHub does not know is gone. Write the owner as GitHub does (`Sanoma-AI`): a state's owner is GitHub's, and drift compares it as declared. A call that names no owner is refused, as is one that names two (a declaration's `owner` against its binding's: a repository moves owner at GitHub, not here): nothing is read under the token's own user by default. Calls for a second owner work: the provider is configured for each owner in turn, a call for one waiting for those running for the other. The fake finds an object by its binding id too, with no query; `read` takes a state an earlier call returned (`{ id, state, handle }`), or just `{ id }`, and returns its fresh `state`, or `gone: true` when it no longer exists. See [Resources](https://github.com/Sanoma-AI/sanoma/blob/main/packages/workflows/README.md#resources).
21
21
 
22
22
  A deploy key is an SSH key that may fetch one repository (read-only unless `read_only: false`), what going live gives the company's host to clone the private repository with ([Cloning a private repository](https://github.com/Sanoma-AI/sanoma/blob/main/packages/sanoma/README.md#cloning-a-private-repository)). GitHub changes no field of one, so a change to any is a replace (`update` deletes the old key and makes a new one), and GitHub reads `key` back without its comment, so declare it as `<type> <base64>`.
23
23
 
@@ -28,7 +28,12 @@ A data file declares resources with the constructors in `@sanoma-ai/connector-gi
28
28
  ```ts
29
29
  import { github } from "@sanoma-ai/connector-github/resources";
30
30
 
31
- export const site = github.repository({ name: "website", delete_branch_on_merge: true, has_wiki: false });
31
+ export const site = github.repository({
32
+ owner: "acme",
33
+ name: "website",
34
+ delete_branch_on_merge: true,
35
+ has_wiki: false,
36
+ });
32
37
  export const siteMain = github.branch_protection({ repository_id: site, pattern: "main", enforce_admins: true });
33
38
  export const siteKey = github.repository_deploy_key({
34
39
  repository: site,
@@ -38,9 +43,9 @@ export const siteKey = github.repository_deploy_key({
38
43
  });
39
44
  ```
40
45
 
41
- A branch protection rule names its repository by the declared repository itself (`repository_id: site`), which stands for its name: the rule is `website:main`; a deploy key's `repository` the same way. Only those take a resource, and only a repository; see [Data files](https://github.com/Sanoma-AI/sanoma/blob/main/packages/workflows/README.md#data-files).
46
+ A branch protection rule names its repository by the declared repository itself (`repository_id: site`), which stands for its identity, `acme/website`: the rule is `acme/website:main`, and takes its owner from the repository; a deploy key's `repository` the same way, so a data file states the owner once per repository. Only those take a resource, and only a repository; see [Data files](https://github.com/Sanoma-AI/sanoma/blob/main/packages/workflows/README.md#data-files).
42
47
 
43
- The fields are the provider's attributes, by their names. A list block of at most one item (`pages`, `security_and_analysis`, `template`) is one object. Only declared fields are compared for drift; sets (`topics`, and five lists in a branch protection rule) are compared in any order.
48
+ The fields are the provider's attributes, by their names, and `owner` (required) on a repository and a team membership. A list block of at most one item (`pages`, `security_and_analysis`, `template`) is one object. Only declared fields are compared for drift; sets (`topics`, and five lists in a branch protection rule) are compared in any order.
44
49
 
45
50
  The logo is GitHub's mark from [Octicons](https://primer.style/octicons/) (`mark-github`, MIT), there only to identify the service an operation calls.
46
51
 
@@ -87,18 +92,17 @@ export default defineConfig({ workflows, connectors: [github], policy });
87
92
 
88
93
  `./driver` (`githubDriver`; `githubDriver({ bridge })` reads through a bridge of your own) and `./fake` (`fakeGithub`) are internal entries, for tests.
89
94
 
90
- Without `bridge`, it reads through the process's `defaultBridge()` from `@sanoma-ai/bridge`, started on the first call with the binary `startBridge` finds; `bridge` is any `ProviderClient` (a `Bridge` from `startBridge()`, or `stateBridge` in tests). It configures the provider on the first call with `{ owner, token }` from the environment, and again when either changes (closing it first: the bridge refuses a second config), when the provider has exited, or when the bridge has forgotten it (`ensureConfigured`). `read` without a state (or with one that has no `id`) imports, which reads the object too. States leave the driver in the resource's shape, with sensitive attributes set to `null`; the provider's private data and state version travel in the opaque `handle`.
95
+ Without `bridge`, it reads through the process's `defaultBridge()` from `@sanoma-ai/bridge`, started on the first call with the binary `startBridge` finds; `bridge` is any `ProviderClient` (a `Bridge` from `startBridge()`, or `stateBridge` in tests). It configures the provider on the first call with `{ owner, token }`, the owner the call names and the token from the environment, and again when either changes (closing it first: the bridge refuses a second config), when the provider has exited, or when the bridge has forgotten it (`ensureConfigured`). `read` without a state (or with one that has no `id`) imports, which reads the object too. States leave the driver in the resource's shape, with sensitive attributes set to `null`; the provider's private data and state version travel in the opaque `handle`.
91
96
 
92
97
  ### Environment
93
98
 
94
99
  Read on every call, never when the config loads:
95
100
 
96
- | Variable | What it is |
97
- | -------------- | ------------------------------------------------------------------------------------------------------------- |
98
- | `GITHUB_TOKEN` | A GitHub token that can read the repositories, rules and teams named. |
99
- | `GITHUB_OWNER` | Optional: the organization or user whose repositories the data files describe. Default: the token's own user. |
101
+ | Variable | What it is |
102
+ | -------------- | --------------------------------------------------------------------- |
103
+ | `GITHUB_TOKEN` | A GitHub token that can read the repositories, rules and teams named. |
100
104
 
101
- When the token is unset, a call fails, not retryable, naming it; the worker starts regardless, and the app's connector page shows and sets both. The bridge passes the token and the owner to the provider through its config only, never through the provider's environment. The default bridge's binary comes with `@sanoma-ai/bridge` or from `SANOMA_BRIDGE_BIN` (see [the bridge](https://www.npmjs.com/package/@sanoma-ai/bridge#the-binary)), not a credential of the connector.
105
+ When the token is unset, a call fails, not retryable, naming it; the worker starts regardless, and the app's connector page shows and sets it. The bridge passes the token and the owner to the provider through its config only, never through the provider's environment. The default bridge's binary comes with `@sanoma-ai/bridge` or from `SANOMA_BRIDGE_BIN` (see [the bridge](https://www.npmjs.com/package/@sanoma-ai/bridge#the-binary)), not a credential of the connector.
102
106
 
103
107
  ### Errors and retries
104
108
 
@@ -106,7 +110,7 @@ The bridge's errors become `DriverError`s whose `vendorCode` is the bridge's cod
106
110
 
107
111
  ## Testing
108
112
 
109
- `@sanoma-ai/connector-github/fake` is GitHub as it was when the replies in `@sanoma-ai/bridge`'s `testdata/replies` were recorded (the `Sanoma-AI/sanoma` and `Sanoma-AI/provider-bridge` repositories; `provider-bridge:main` has no branch protection), served through the real driver over a `stateBridge` of them (`tfFake`). It needs no token and reaches nothing.
113
+ `@sanoma-ai/connector-github/fake` is GitHub as it was when the replies in `@sanoma-ai/bridge`'s `testdata/replies` were recorded (the `Sanoma-AI/sanoma` and `Sanoma-AI/provider-bridge` repositories; `provider-bridge:main` has no branch protection), served through the real driver over a `stateBridge` of them (`tfFake`). It needs no token and reaches nothing. Its calls name owners as the driver's do (`Sanoma-AI/sanoma`), but it holds its objects by the provider's import ids (`sanoma`, `sanoma:main`), what `put`, `override` and `remove` take, and not by owner: a repository's `owner` is its `full_name`'s, else the call's.
110
114
 
111
115
  ```ts
112
116
  import { withSetup } from "@sanoma-ai/workflows";
@@ -1,139 +1,324 @@
1
+ import { z } from "zod";
1
2
  /**
2
3
  * GitHub, through the `integrations/github` OpenTofu provider: the generated resource types,
3
4
  * what their schema does not say (how each is found), and who GitHub is. The connector, the
4
5
  * data-file constructors, the driver and the fake all come from this one record.
5
6
  */
6
7
  export declare const githubTf: import("@sanoma-ai/bridge/connector").TfConnector<"github", {
7
- repository: import("zod").ZodObject<{
8
- allow_auto_merge: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
9
- allow_forking: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
10
- allow_merge_commit: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
11
- allow_rebase_merge: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
12
- allow_squash_merge: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
13
- allow_update_branch: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
14
- archive_on_destroy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
15
- archived: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
16
- auto_init: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
17
- default_branch: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
18
- delete_branch_on_merge: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
19
- description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
20
- etag: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
21
- fork: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
22
- full_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
23
- git_clone_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
24
- gitignore_template: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
25
- has_discussions: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
26
- has_downloads: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
27
- has_issues: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
28
- has_projects: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
29
- has_wiki: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
30
- homepage_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
31
- html_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
32
- http_clone_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
33
- id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
34
- ignore_vulnerability_alerts_during_read: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
35
- is_template: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
36
- license_template: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37
- merge_commit_message: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
38
- merge_commit_title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
39
- name: import("zod").ZodString;
40
- node_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
41
- primary_language: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
42
- private: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
43
- repo_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
44
- source_owner: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
45
- source_repo: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
46
- squash_merge_commit_message: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
47
- squash_merge_commit_title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
48
- ssh_clone_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
49
- svn_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
50
- topics: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
51
- visibility: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
52
- vulnerability_alerts: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
53
- web_commit_signoff_required: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
54
- pages: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
55
- build_type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
56
- cname: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
57
- custom_404: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
58
- html_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
59
- status: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
60
- url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
61
- source: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
62
- branch: import("zod").ZodString;
63
- path: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
64
- }, import("zod/v4/core").$strip>>>;
65
- }, import("zod/v4/core").$strip>>>;
66
- security_and_analysis: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
67
- advanced_security: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
68
- status: import("zod").ZodString;
69
- }, import("zod/v4/core").$strip>>>;
70
- code_security: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
71
- status: import("zod").ZodString;
72
- }, import("zod/v4/core").$strip>>>;
73
- secret_scanning: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
74
- status: import("zod").ZodString;
75
- }, import("zod/v4/core").$strip>>>;
76
- secret_scanning_ai_detection: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
77
- status: import("zod").ZodString;
78
- }, import("zod/v4/core").$strip>>>;
79
- secret_scanning_non_provider_patterns: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
80
- status: import("zod").ZodString;
81
- }, import("zod/v4/core").$strip>>>;
82
- secret_scanning_push_protection: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
83
- status: import("zod").ZodString;
84
- }, import("zod/v4/core").$strip>>>;
85
- }, import("zod/v4/core").$strip>>>;
86
- template: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
87
- include_all_branches: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
88
- owner: import("zod").ZodString;
89
- repository: import("zod").ZodString;
90
- }, import("zod/v4/core").$strip>>>;
91
- }, import("zod/v4/core").$strip>;
92
- branch_protection: import("zod").ZodObject<{
93
- allows_deletions: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
94
- allows_force_pushes: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
95
- enforce_admins: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
96
- force_push_bypassers: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
97
- id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
98
- lock_branch: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
99
- pattern: import("zod").ZodString;
100
- repository_id: import("zod").ZodString;
101
- require_conversation_resolution: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
102
- require_signed_commits: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
103
- required_linear_history: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
104
- required_pull_request_reviews: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
105
- dismiss_stale_reviews: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
106
- dismissal_restrictions: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
107
- pull_request_bypassers: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
108
- require_code_owner_reviews: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
109
- require_last_push_approval: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
110
- required_approving_review_count: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
111
- restrict_dismissals: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
112
- }, import("zod/v4/core").$strip>>>>;
113
- required_status_checks: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
114
- contexts: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
115
- strict: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
116
- }, import("zod/v4/core").$strip>>>>;
117
- restrict_pushes: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
118
- blocks_creations: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
119
- push_allowances: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
120
- }, import("zod/v4/core").$strip>>>>;
121
- }, import("zod/v4/core").$strip>;
122
- team_membership: import("zod").ZodObject<{
123
- etag: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
124
- id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
125
- role: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
126
- team_id: import("zod").ZodString;
127
- username: import("zod").ZodString;
128
- }, import("zod/v4/core").$strip>;
129
- repository_deploy_key: import("zod").ZodObject<{
130
- etag: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
131
- id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
132
- key: import("zod").ZodString;
133
- read_only: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
134
- repository: import("zod").ZodString;
135
- title: import("zod").ZodString;
136
- }, import("zod/v4/core").$strip>;
8
+ repository: z.ZodObject<{
9
+ allow_auto_merge: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
+ allow_forking: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
11
+ allow_merge_commit: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
12
+ allow_rebase_merge: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
+ allow_squash_merge: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
+ allow_update_branch: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ archive_on_destroy: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
+ archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17
+ auto_init: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
+ default_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ delete_branch_on_merge: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
20
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ etag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ fork: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ git_clone_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ gitignore_template: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ has_discussions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
+ has_downloads: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28
+ has_issues: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29
+ has_projects: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
30
+ has_wiki: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
31
+ homepage_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ html_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ http_clone_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ ignore_vulnerability_alerts_during_read: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
36
+ is_template: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
+ license_template: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ merge_commit_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ merge_commit_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ name: z.ZodString;
41
+ node_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ primary_language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ private: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
44
+ repo_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ source_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ source_repo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ squash_merge_commit_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ squash_merge_commit_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ ssh_clone_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ svn_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ topics: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
52
+ visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ vulnerability_alerts: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
54
+ web_commit_signoff_required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
55
+ pages: z.ZodOptional<z.ZodNullable<z.ZodObject<{
56
+ build_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ custom_404: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
59
+ html_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
63
+ branch: z.ZodString;
64
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ }, z.core.$strip>>>;
66
+ }, z.core.$strip>>>;
67
+ security_and_analysis: z.ZodOptional<z.ZodNullable<z.ZodObject<{
68
+ advanced_security: z.ZodOptional<z.ZodNullable<z.ZodObject<{
69
+ status: z.ZodString;
70
+ }, z.core.$strip>>>;
71
+ code_security: z.ZodOptional<z.ZodNullable<z.ZodObject<{
72
+ status: z.ZodString;
73
+ }, z.core.$strip>>>;
74
+ secret_scanning: z.ZodOptional<z.ZodNullable<z.ZodObject<{
75
+ status: z.ZodString;
76
+ }, z.core.$strip>>>;
77
+ secret_scanning_ai_detection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
78
+ status: z.ZodString;
79
+ }, z.core.$strip>>>;
80
+ secret_scanning_non_provider_patterns: z.ZodOptional<z.ZodNullable<z.ZodObject<{
81
+ status: z.ZodString;
82
+ }, z.core.$strip>>>;
83
+ secret_scanning_push_protection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
84
+ status: z.ZodString;
85
+ }, z.core.$strip>>>;
86
+ }, z.core.$strip>>>;
87
+ template: z.ZodOptional<z.ZodNullable<z.ZodObject<{
88
+ include_all_branches: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
89
+ owner: z.ZodString;
90
+ repository: z.ZodString;
91
+ }, z.core.$strip>>>;
92
+ }, z.core.$strip> & (z.ZodObject<{
93
+ etag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95
+ role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
96
+ team_id: z.ZodString;
97
+ username: z.ZodString;
98
+ owner: z.ZodString;
99
+ }, z.core.$strip> | z.ZodObject<{
100
+ allow_auto_merge: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
101
+ allow_forking: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
102
+ allow_merge_commit: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
103
+ allow_rebase_merge: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
104
+ allow_squash_merge: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
105
+ allow_update_branch: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
106
+ archive_on_destroy: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
107
+ archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
108
+ auto_init: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
109
+ default_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
110
+ delete_branch_on_merge: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
111
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
112
+ etag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
113
+ fork: z.ZodOptional<z.ZodNullable<z.ZodString>>;
114
+ full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
115
+ git_clone_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
116
+ gitignore_template: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117
+ has_discussions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
118
+ has_downloads: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
119
+ has_issues: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
120
+ has_projects: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
121
+ has_wiki: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
122
+ homepage_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
123
+ html_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
+ http_clone_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
+ ignore_vulnerability_alerts_during_read: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
127
+ is_template: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
128
+ license_template: z.ZodOptional<z.ZodNullable<z.ZodString>>;
129
+ merge_commit_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
130
+ merge_commit_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
131
+ name: z.ZodString;
132
+ node_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
+ primary_language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
134
+ private: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
135
+ repo_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
136
+ source_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
137
+ source_repo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
138
+ squash_merge_commit_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
139
+ squash_merge_commit_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
140
+ ssh_clone_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
141
+ svn_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
142
+ topics: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
143
+ visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
144
+ vulnerability_alerts: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
145
+ web_commit_signoff_required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
146
+ pages: z.ZodOptional<z.ZodNullable<z.ZodObject<{
147
+ build_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
148
+ cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
149
+ custom_404: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
150
+ html_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
152
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
153
+ source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
154
+ branch: z.ZodString;
155
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
156
+ }, z.core.$strip>>>;
157
+ }, z.core.$strip>>>;
158
+ security_and_analysis: z.ZodOptional<z.ZodNullable<z.ZodObject<{
159
+ advanced_security: z.ZodOptional<z.ZodNullable<z.ZodObject<{
160
+ status: z.ZodString;
161
+ }, z.core.$strip>>>;
162
+ code_security: z.ZodOptional<z.ZodNullable<z.ZodObject<{
163
+ status: z.ZodString;
164
+ }, z.core.$strip>>>;
165
+ secret_scanning: z.ZodOptional<z.ZodNullable<z.ZodObject<{
166
+ status: z.ZodString;
167
+ }, z.core.$strip>>>;
168
+ secret_scanning_ai_detection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
169
+ status: z.ZodString;
170
+ }, z.core.$strip>>>;
171
+ secret_scanning_non_provider_patterns: z.ZodOptional<z.ZodNullable<z.ZodObject<{
172
+ status: z.ZodString;
173
+ }, z.core.$strip>>>;
174
+ secret_scanning_push_protection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
175
+ status: z.ZodString;
176
+ }, z.core.$strip>>>;
177
+ }, z.core.$strip>>>;
178
+ template: z.ZodOptional<z.ZodNullable<z.ZodObject<{
179
+ include_all_branches: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
180
+ owner: z.ZodString;
181
+ repository: z.ZodString;
182
+ }, z.core.$strip>>>;
183
+ owner: z.ZodString;
184
+ }, z.core.$strip>);
185
+ branch_protection: z.ZodObject<{
186
+ allows_deletions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
187
+ allows_force_pushes: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
188
+ enforce_admins: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
189
+ force_push_bypassers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
190
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
191
+ lock_branch: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
192
+ pattern: z.ZodString;
193
+ repository_id: z.ZodString;
194
+ require_conversation_resolution: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
195
+ require_signed_commits: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
196
+ required_linear_history: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
197
+ required_pull_request_reviews: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
198
+ dismiss_stale_reviews: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
199
+ dismissal_restrictions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
200
+ pull_request_bypassers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
201
+ require_code_owner_reviews: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
202
+ require_last_push_approval: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
203
+ required_approving_review_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
204
+ restrict_dismissals: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
205
+ }, z.core.$strip>>>>;
206
+ required_status_checks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
207
+ contexts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
208
+ strict: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
209
+ }, z.core.$strip>>>>;
210
+ restrict_pushes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
211
+ blocks_creations: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
212
+ push_allowances: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
213
+ }, z.core.$strip>>>>;
214
+ }, z.core.$strip>;
215
+ team_membership: z.ZodObject<{
216
+ etag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
217
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
218
+ role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
219
+ team_id: z.ZodString;
220
+ username: z.ZodString;
221
+ }, z.core.$strip> & (z.ZodObject<{
222
+ etag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
223
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
224
+ role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
225
+ team_id: z.ZodString;
226
+ username: z.ZodString;
227
+ owner: z.ZodString;
228
+ }, z.core.$strip> | z.ZodObject<{
229
+ allow_auto_merge: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
230
+ allow_forking: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
231
+ allow_merge_commit: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
232
+ allow_rebase_merge: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
233
+ allow_squash_merge: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
234
+ allow_update_branch: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
235
+ archive_on_destroy: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
236
+ archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
237
+ auto_init: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
238
+ default_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
239
+ delete_branch_on_merge: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
240
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
241
+ etag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
242
+ fork: z.ZodOptional<z.ZodNullable<z.ZodString>>;
243
+ full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
244
+ git_clone_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
245
+ gitignore_template: z.ZodOptional<z.ZodNullable<z.ZodString>>;
246
+ has_discussions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
247
+ has_downloads: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
248
+ has_issues: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
249
+ has_projects: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
250
+ has_wiki: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
251
+ homepage_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
252
+ html_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
253
+ http_clone_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
254
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
255
+ ignore_vulnerability_alerts_during_read: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
256
+ is_template: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
257
+ license_template: z.ZodOptional<z.ZodNullable<z.ZodString>>;
258
+ merge_commit_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
+ merge_commit_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
260
+ name: z.ZodString;
261
+ node_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
262
+ primary_language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
263
+ private: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
264
+ repo_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
265
+ source_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
266
+ source_repo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
267
+ squash_merge_commit_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
268
+ squash_merge_commit_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
269
+ ssh_clone_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
270
+ svn_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
271
+ topics: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
272
+ visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
273
+ vulnerability_alerts: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
274
+ web_commit_signoff_required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
275
+ pages: z.ZodOptional<z.ZodNullable<z.ZodObject<{
276
+ build_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
277
+ cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
278
+ custom_404: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
279
+ html_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
280
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
281
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
282
+ source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
283
+ branch: z.ZodString;
284
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
285
+ }, z.core.$strip>>>;
286
+ }, z.core.$strip>>>;
287
+ security_and_analysis: z.ZodOptional<z.ZodNullable<z.ZodObject<{
288
+ advanced_security: z.ZodOptional<z.ZodNullable<z.ZodObject<{
289
+ status: z.ZodString;
290
+ }, z.core.$strip>>>;
291
+ code_security: z.ZodOptional<z.ZodNullable<z.ZodObject<{
292
+ status: z.ZodString;
293
+ }, z.core.$strip>>>;
294
+ secret_scanning: z.ZodOptional<z.ZodNullable<z.ZodObject<{
295
+ status: z.ZodString;
296
+ }, z.core.$strip>>>;
297
+ secret_scanning_ai_detection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
298
+ status: z.ZodString;
299
+ }, z.core.$strip>>>;
300
+ secret_scanning_non_provider_patterns: z.ZodOptional<z.ZodNullable<z.ZodObject<{
301
+ status: z.ZodString;
302
+ }, z.core.$strip>>>;
303
+ secret_scanning_push_protection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
304
+ status: z.ZodString;
305
+ }, z.core.$strip>>>;
306
+ }, z.core.$strip>>>;
307
+ template: z.ZodOptional<z.ZodNullable<z.ZodObject<{
308
+ include_all_branches: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
309
+ owner: z.ZodString;
310
+ repository: z.ZodString;
311
+ }, z.core.$strip>>>;
312
+ owner: z.ZodString;
313
+ }, z.core.$strip>);
314
+ repository_deploy_key: z.ZodObject<{
315
+ etag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
316
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
317
+ key: z.ZodString;
318
+ read_only: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
319
+ repository: z.ZodString;
320
+ title: z.ZodString;
321
+ }, z.core.$strip>;
137
322
  }, {
138
323
  readonly branch_protection: {
139
324
  readonly repository_id: {