@xemahq/scm-connector-api-client 0.1.3 → 0.2.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.
@@ -5,12 +5,12 @@
5
5
  * SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
6
6
  * OpenAPI spec version: 0.1.0
7
7
  */
8
- import type { BindingSnapshotResponseDtoDataEnvelope, SnapshotRefreshResponseDtoDataEnvelope } from '../../models';
8
+ import type { BindingSnapshotResponseDtoDataArrayEnvelope, BindingSnapshotResponseDtoDataEnvelope, SnapshotRefreshResponseDtoDataEnvelope } from '../../models';
9
9
  export declare const getSnapshotControllerListProjectSnapshotsUrl: () => string;
10
10
  /**
11
11
  * @summary Get all latest READY snapshots for the project
12
12
  */
13
- export declare const snapshotControllerListProjectSnapshots: (options?: RequestInit) => Promise<BindingSnapshotResponseDtoDataEnvelope>;
13
+ export declare const snapshotControllerListProjectSnapshots: (options?: RequestInit) => Promise<BindingSnapshotResponseDtoDataArrayEnvelope>;
14
14
  export declare const getSnapshotControllerGetBindingSnapshotUrl: (slug: string) => string;
15
15
  /**
16
16
  * @summary Get the latest snapshot for a specific binding
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval v8.15.0 🍺
3
+ * Do not edit manually.
4
+ * SCM Connector API
5
+ * SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { BindingSnapshotResponseDto } from './bindingSnapshotResponseDto.js';
9
+ export interface BindingSnapshotResponseDtoDataArrayEnvelope {
10
+ data: BindingSnapshotResponseDto[];
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -8,6 +8,7 @@ export * from './bindingHealthDto';
8
8
  export * from './bindingSnapshotResponseDto';
9
9
  export * from './bindingSnapshotResponseDtoCodebaseMetadata';
10
10
  export * from './bindingSnapshotResponseDtoCustomTaxonomy';
11
+ export * from './bindingSnapshotResponseDtoDataArrayEnvelope';
11
12
  export * from './bindingSnapshotResponseDtoDataEnvelope';
12
13
  export * from './bindingSnapshotResponseDtoL1ModuleMap';
13
14
  export * from './bindingSnapshotResponseDtoL2FileTopology';
@@ -25,6 +25,7 @@ __exportStar(require("./bindingHealthDto"), exports);
25
25
  __exportStar(require("./bindingSnapshotResponseDto"), exports);
26
26
  __exportStar(require("./bindingSnapshotResponseDtoCodebaseMetadata"), exports);
27
27
  __exportStar(require("./bindingSnapshotResponseDtoCustomTaxonomy"), exports);
28
+ __exportStar(require("./bindingSnapshotResponseDtoDataArrayEnvelope"), exports);
28
29
  __exportStar(require("./bindingSnapshotResponseDtoDataEnvelope"), exports);
29
30
  __exportStar(require("./bindingSnapshotResponseDtoL1ModuleMap"), exports);
30
31
  __exportStar(require("./bindingSnapshotResponseDtoL2FileTopology"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/scm-connector-api-client",
3
- "version": "0.1.3",
3
+ "version": "0.2.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [