@xemahq/scm-connector-api-client 0.2.5 → 0.2.7

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.
@@ -19,6 +19,7 @@ export interface OrgRepositoryResponseDto {
19
19
  remoteFingerprint: string;
20
20
  defaultBranch: string;
21
21
  name: string;
22
+ /** @nullable */
22
23
  metadataJson?: OrgRepositoryResponseDtoMetadataJson;
23
24
  createdAt: string;
24
25
  }
@@ -3,6 +3,9 @@
3
3
  * SCM Connector API
4
4
  * OpenAPI spec version: 0.1.0
5
5
  */
6
+ /**
7
+ * @nullable
8
+ */
6
9
  export type OrgRepositoryResponseDtoMetadataJson = {
7
10
  [key: string]: unknown;
8
- };
11
+ } | null;
@@ -6,6 +6,7 @@
6
6
  export type OrgScmConfigControllerGetGitHubAppBootstrapParams = {
7
7
  /**
8
8
  * Relative path to restore after GitHub completes installation (stored in state)
9
+ * @pattern /^\//
9
10
  */
10
11
  returnPath?: string;
11
12
  /**
@@ -6,6 +6,7 @@
6
6
  export type OrgScmConfigControllerListGitHubAppRepositoriesParams = {
7
7
  /**
8
8
  * Restrict results to repositories belonging to a specific installation. Omit to union across every installation for this org.
9
+ * @pattern /^\d+$/
9
10
  */
10
11
  installationId?: string;
11
12
  };
@@ -11,6 +11,7 @@ export interface OrgScmConfigResponseDto {
11
11
  provider: OrgScmConfigResponseDtoProvider;
12
12
  defaultBranch: string;
13
13
  autoProvision: boolean;
14
+ /** @nullable */
14
15
  configJson?: OrgScmConfigResponseDtoConfigJson;
15
16
  createdAt: string;
16
17
  updatedAt: string;
@@ -3,6 +3,9 @@
3
3
  * SCM Connector API
4
4
  * OpenAPI spec version: 0.1.0
5
5
  */
6
+ /**
7
+ * @nullable
8
+ */
6
9
  export type OrgScmConfigResponseDtoConfigJson = {
7
10
  [key: string]: unknown;
8
- };
11
+ } | null;
@@ -4,7 +4,11 @@
4
4
  * OpenAPI spec version: 0.1.0
5
5
  */
6
6
  export interface PostChangeRequestCommentDto {
7
- /** Provider-native markdown body of the comment. */
7
+ /**
8
+ * Provider-native markdown body of the comment.
9
+ * @minLength 1
10
+ * @maxLength 65000
11
+ */
8
12
  body: string;
9
13
  /**
10
14
  * Repo-relative file path the comment anchors to (inline review comment). Omit for a top-level PR comment.
@@ -13,6 +17,7 @@ export interface PostChangeRequestCommentDto {
13
17
  path?: string | null;
14
18
  /**
15
19
  * Line number the comment anchors to. Requires `path`.
20
+ * @minimum 1
16
21
  * @nullable
17
22
  */
18
23
  line?: number | null;
@@ -9,6 +9,9 @@ export interface UpdateProjectRepositoryBindingDto {
9
9
  role?: UpdateProjectRepositoryBindingDtoRole;
10
10
  /** Target branch override */
11
11
  targetBranch?: string;
12
- /** Display order (0-based) */
12
+ /**
13
+ * Display order (0-based)
14
+ * @minimum 0
15
+ */
13
16
  displayOrder?: number;
14
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/scm-connector-api-client",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/xema-dev/xema-cultivars.git",
@@ -25,7 +25,7 @@
25
25
  "service": "scm-connector-api",
26
26
  "biome": "software-dev",
27
27
  "target": "server",
28
- "generator": "@xemahq/api-client-generator@0.14.1",
28
+ "generator": "@xemahq/api-client-generator@0.17.1",
29
29
  "source": "openapi.public.json"
30
30
  },
31
31
  "scripts": {