@spec0/sdk-public-platform 1.2.1 → 1.3.1
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/dist/generated/core/ApiError.d.ts +2 -2
- package/dist/generated/core/ApiError.d.ts.map +1 -1
- package/dist/generated/core/OpenAPI.d.ts +1 -1
- package/dist/generated/core/OpenAPI.d.ts.map +1 -1
- package/dist/generated/core/request.d.ts +5 -5
- package/dist/generated/core/request.d.ts.map +1 -1
- package/dist/generated/core/request.js +5 -5
- package/dist/generated/core/request.js.map +1 -1
- package/dist/generated/index.d.ts +42 -42
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +23 -23
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/models/PublicApiListItem.d.ts +1 -1
- package/dist/generated/models/PublicApiListItem.d.ts.map +1 -1
- package/dist/generated/models/PublicApiMetaV1.d.ts +1 -1
- package/dist/generated/models/PublicApiMetaV1.d.ts.map +1 -1
- package/dist/generated/models/PublicPublishRequestV1.d.ts +1 -1
- package/dist/generated/models/PublicPublishRequestV1.d.ts.map +1 -1
- package/dist/generated/models/VisibilityUpdateRequestV1.d.ts +1 -1
- package/dist/generated/models/VisibilityUpdateRequestV1.d.ts.map +1 -1
- package/dist/generated/services/PublicApisService.d.ts +9 -9
- package/dist/generated/services/PublicApisService.d.ts.map +1 -1
- package/dist/generated/services/PublicApisService.js +9 -9
- package/dist/generated/services/PublicApisService.js.map +1 -1
- package/dist/generated/services/PublicCiService.d.ts +2 -2
- package/dist/generated/services/PublicCiService.d.ts.map +1 -1
- package/dist/generated/services/PublicCiService.js +3 -3
- package/dist/generated/services/PublicCiService.js.map +1 -1
- package/dist/generated/services/PublicMocksService.d.ts +4 -4
- package/dist/generated/services/PublicMocksService.d.ts.map +1 -1
- package/dist/generated/services/PublicMocksService.js +5 -5
- package/dist/generated/services/PublicMocksService.js.map +1 -1
- package/dist/generated/services/PublicOrgsService.d.ts +2 -2
- package/dist/generated/services/PublicOrgsService.d.ts.map +1 -1
- package/dist/generated/services/PublicOrgsService.js +3 -3
- package/dist/generated/services/PublicOrgsService.js.map +1 -1
- package/dist/generated/services/PublicRegistryService.d.ts +4 -4
- package/dist/generated/services/PublicRegistryService.d.ts.map +1 -1
- package/dist/generated/services/PublicRegistryService.js +6 -6
- package/dist/generated/services/PublicRegistryService.js.map +1 -1
- package/dist/generated/services/PublicSpecsService.d.ts +4 -4
- package/dist/generated/services/PublicSpecsService.d.ts.map +1 -1
- package/dist/generated/services/PublicSpecsService.js +5 -5
- package/dist/generated/services/PublicSpecsService.js.map +1 -1
- package/dist/generated/services/PublicSpectralService.d.ts +4 -4
- package/dist/generated/services/PublicSpectralService.d.ts.map +1 -1
- package/dist/generated/services/PublicSpectralService.js +4 -4
- package/dist/generated/services/PublicSpectralService.js.map +1 -1
- package/dist/generated/services/PublicTeamsService.d.ts +3 -3
- package/dist/generated/services/PublicTeamsService.d.ts.map +1 -1
- package/dist/generated/services/PublicTeamsService.js +5 -5
- package/dist/generated/services/PublicTeamsService.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -1
- package/src/generated/core/ApiError.ts +2 -2
- package/src/generated/core/OpenAPI.ts +1 -1
- package/src/generated/core/request.ts +6 -6
- package/src/generated/index.ts +42 -42
- package/src/generated/models/PublicApiListItem.ts +1 -1
- package/src/generated/models/PublicApiMetaV1.ts +1 -1
- package/src/generated/models/PublicPublishRequestV1.ts +1 -1
- package/src/generated/models/VisibilityUpdateRequestV1.ts +1 -1
- package/src/generated/services/PublicApisService.ts +11 -11
- package/src/generated/services/PublicCiService.ts +4 -4
- package/src/generated/services/PublicMocksService.ts +6 -6
- package/src/generated/services/PublicOrgsService.ts +4 -4
- package/src/generated/services/PublicRegistryService.ts +6 -6
- package/src/generated/services/PublicSpecsService.ts +6 -6
- package/src/generated/services/PublicSpectralService.ts +6 -6
- package/src/generated/services/PublicTeamsService.ts +5 -5
- package/src/index.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicMocksService.js","sourceRoot":"","sources":["../../../src/generated/services/PublicMocksService.ts"],"names":[],"mappings":";;;AAQA,
|
|
1
|
+
{"version":3,"file":"PublicMocksService.js","sourceRoot":"","sources":["../../../src/generated/services/PublicMocksService.ts"],"names":[],"mappings":";;;AAQA,mDAA6C;AAC7C,mDAA0D;AAC1D,MAAa,kBAAkB;IAC7B;;;;OAIG;IACI,MAAM,CAAC,eAAe;QAC3B,OAAO,IAAA,oBAAS,EAAC,oBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,sBAAsB;YAC3B,MAAM,EAAE;gBACN,GAAG,EAAE,6CAA6C;gBAClD,GAAG,EAAE,yCAAyC;aAC/C;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;;;;OAOG;IACI,MAAM,CAAC,gBAAgB,CAAC,EAC7B,WAAW,GAGZ;QACC,OAAO,IAAA,oBAAS,EAAC,oBAAO,EAAE;YACxB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,sBAAsB;YAC3B,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACN,GAAG,EAAE,aAAa;gBAClB,GAAG,EAAE,6CAA6C;gBAClD,GAAG,EAAE,yCAAyC;gBAC9C,GAAG,EAAE,wDAAwD;aAC9D;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;;;;;OAQG;IACI,MAAM,CAAC,gBAAgB,CAAC,EAC7B,YAAY,GAGb;QACC,OAAO,IAAA,oBAAS,EAAC,oBAAO,EAAE;YACxB,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,qCAAqC;YAC1C,IAAI,EAAE;gBACJ,cAAc,EAAE,YAAY;aAC7B;YACD,MAAM,EAAE;gBACN,GAAG,EAAE,6CAA6C;gBAClD,GAAG,EAAE,yCAAyC;gBAC9C,GAAG,EAAE,wDAAwD;aAC9D;SACF,CAAC,CAAC;IACL,CAAC;CACF;AArED,gDAqEC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { OrgSummaryResponseV1 } from '../models/OrgSummaryResponseV1';
|
|
2
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
1
|
+
import type { OrgSummaryResponseV1 } from '../models/OrgSummaryResponseV1.js';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
3
3
|
export declare class PublicOrgsService {
|
|
4
4
|
/**
|
|
5
5
|
* Org-level resource counts and current plan
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicOrgsService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/PublicOrgsService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"PublicOrgsService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/PublicOrgsService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,iBAAiB;IAC5B;;;;;;;OAOG;WACW,aAAa,IAAI,iBAAiB,CAAC,oBAAoB,CAAC;CAUvE"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PublicOrgsService = void 0;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
4
|
+
const OpenAPI_js_1 = require("../core/OpenAPI.js");
|
|
5
|
+
const request_js_1 = require("../core/request.js");
|
|
6
6
|
class PublicOrgsService {
|
|
7
7
|
/**
|
|
8
8
|
* Org-level resource counts and current plan
|
|
@@ -13,7 +13,7 @@ class PublicOrgsService {
|
|
|
13
13
|
* @throws ApiError
|
|
14
14
|
*/
|
|
15
15
|
static getOrgSummary() {
|
|
16
|
-
return (0,
|
|
16
|
+
return (0, request_js_1.request)(OpenAPI_js_1.OpenAPI, {
|
|
17
17
|
method: 'GET',
|
|
18
18
|
url: '/api/v1/public/orgs/summary',
|
|
19
19
|
errors: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicOrgsService.js","sourceRoot":"","sources":["../../../src/generated/services/PublicOrgsService.ts"],"names":[],"mappings":";;;AAMA,
|
|
1
|
+
{"version":3,"file":"PublicOrgsService.js","sourceRoot":"","sources":["../../../src/generated/services/PublicOrgsService.ts"],"names":[],"mappings":";;;AAMA,mDAA6C;AAC7C,mDAA0D;AAC1D,MAAa,iBAAiB;IAC5B;;;;;;;OAOG;IACI,MAAM,CAAC,aAAa;QACzB,OAAO,IAAA,oBAAS,EAAC,oBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,6BAA6B;YAClC,MAAM,EAAE;gBACN,GAAG,EAAE,6CAA6C;gBAClD,GAAG,EAAE,yCAAyC;aAC/C;SACF,CAAC,CAAC;IACL,CAAC;CACF;AAnBD,8CAmBC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { AiSearchRequestV1 } from '../models/AiSearchRequestV1';
|
|
2
|
-
import type { AiSearchResponseV1 } from '../models/AiSearchResponseV1';
|
|
3
|
-
import type { SpecVersionListItemV1 } from '../models/SpecVersionListItemV1';
|
|
4
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
1
|
+
import type { AiSearchRequestV1 } from '../models/AiSearchRequestV1.js';
|
|
2
|
+
import type { AiSearchResponseV1 } from '../models/AiSearchResponseV1.js';
|
|
3
|
+
import type { SpecVersionListItemV1 } from '../models/SpecVersionListItemV1.js';
|
|
4
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
5
5
|
export declare class PublicRegistryService {
|
|
6
6
|
/**
|
|
7
7
|
* Fetch latest published spec
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicRegistryService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/PublicRegistryService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"PublicRegistryService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/PublicRegistryService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,qBAAqB;IAChC;;;;OAIG;WACW,mBAAmB,CAAC,EAChC,OAAO,EACP,OAAO,GACR,EAAE;QACD,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;KACjB,GAAG,iBAAiB,CAAC,MAAM,CAAC;IAe7B;;;;OAIG;WACW,sBAAsB,CAAC,EACnC,OAAO,EACP,OAAO,GACR,EAAE;QACD,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;KACjB,GAAG,iBAAiB,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAenD;;;;OAIG;WACW,kBAAkB,CAAC,EAC/B,OAAO,EACP,OAAO,EACP,GAAG,GACJ,EAAE;QACD,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;QAChB,GAAG,EAAE,MAAM,CAAC;KACb,GAAG,iBAAiB,CAAC,MAAM,CAAC;IAgB7B;;;;OAIG;WACW,gBAAgB,CAAC,EAC7B,WAAW,GACZ,EAAE;QACD,WAAW,EAAE,iBAAiB,CAAC;KAChC,GAAG,iBAAiB,CAAC,kBAAkB,CAAC;CAa1C"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PublicRegistryService = void 0;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
4
|
+
const OpenAPI_js_1 = require("../core/OpenAPI.js");
|
|
5
|
+
const request_js_1 = require("../core/request.js");
|
|
6
6
|
class PublicRegistryService {
|
|
7
7
|
/**
|
|
8
8
|
* Fetch latest published spec
|
|
@@ -10,7 +10,7 @@ class PublicRegistryService {
|
|
|
10
10
|
* @throws ApiError
|
|
11
11
|
*/
|
|
12
12
|
static getLatestPublicSpec({ orgSlug, apiName, }) {
|
|
13
|
-
return (0,
|
|
13
|
+
return (0, request_js_1.request)(OpenAPI_js_1.OpenAPI, {
|
|
14
14
|
method: 'GET',
|
|
15
15
|
url: '/api/v1/public/registry/{orgSlug}/{apiName}',
|
|
16
16
|
path: {
|
|
@@ -30,7 +30,7 @@ class PublicRegistryService {
|
|
|
30
30
|
* @throws ApiError
|
|
31
31
|
*/
|
|
32
32
|
static listPublicSpecVersions({ orgSlug, apiName, }) {
|
|
33
|
-
return (0,
|
|
33
|
+
return (0, request_js_1.request)(OpenAPI_js_1.OpenAPI, {
|
|
34
34
|
method: 'GET',
|
|
35
35
|
url: '/api/v1/public/registry/{orgSlug}/{apiName}/versions',
|
|
36
36
|
path: {
|
|
@@ -50,7 +50,7 @@ class PublicRegistryService {
|
|
|
50
50
|
* @throws ApiError
|
|
51
51
|
*/
|
|
52
52
|
static getPublicSpecByTag({ orgSlug, apiName, tag, }) {
|
|
53
|
-
return (0,
|
|
53
|
+
return (0, request_js_1.request)(OpenAPI_js_1.OpenAPI, {
|
|
54
54
|
method: 'GET',
|
|
55
55
|
url: '/api/v1/public/registry/{orgSlug}/{apiName}/versions/{tag}',
|
|
56
56
|
path: {
|
|
@@ -71,7 +71,7 @@ class PublicRegistryService {
|
|
|
71
71
|
* @throws ApiError
|
|
72
72
|
*/
|
|
73
73
|
static searchPublicApis({ requestBody, }) {
|
|
74
|
-
return (0,
|
|
74
|
+
return (0, request_js_1.request)(OpenAPI_js_1.OpenAPI, {
|
|
75
75
|
method: 'POST',
|
|
76
76
|
url: '/api/v1/public/registry/search',
|
|
77
77
|
body: requestBody,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicRegistryService.js","sourceRoot":"","sources":["../../../src/generated/services/PublicRegistryService.ts"],"names":[],"mappings":";;;AAQA,
|
|
1
|
+
{"version":3,"file":"PublicRegistryService.js","sourceRoot":"","sources":["../../../src/generated/services/PublicRegistryService.ts"],"names":[],"mappings":";;;AAQA,mDAA6C;AAC7C,mDAA0D;AAC1D,MAAa,qBAAqB;IAChC;;;;OAIG;IACI,MAAM,CAAC,mBAAmB,CAAC,EAChC,OAAO,EACP,OAAO,GAIR;QACC,OAAO,IAAA,oBAAS,EAAC,oBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,6CAA6C;YAClD,IAAI,EAAE;gBACJ,SAAS,EAAE,OAAO;gBAClB,SAAS,EAAE,OAAO;aACnB;YACD,MAAM,EAAE;gBACN,GAAG,EAAE,6CAA6C;gBAClD,GAAG,EAAE,yCAAyC;gBAC9C,GAAG,EAAE,wDAAwD;aAC9D;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;OAIG;IACI,MAAM,CAAC,sBAAsB,CAAC,EACnC,OAAO,EACP,OAAO,GAIR;QACC,OAAO,IAAA,oBAAS,EAAC,oBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,sDAAsD;YAC3D,IAAI,EAAE;gBACJ,SAAS,EAAE,OAAO;gBAClB,SAAS,EAAE,OAAO;aACnB;YACD,MAAM,EAAE;gBACN,GAAG,EAAE,6CAA6C;gBAClD,GAAG,EAAE,yCAAyC;gBAC9C,GAAG,EAAE,wDAAwD;aAC9D;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;OAIG;IACI,MAAM,CAAC,kBAAkB,CAAC,EAC/B,OAAO,EACP,OAAO,EACP,GAAG,GAKJ;QACC,OAAO,IAAA,oBAAS,EAAC,oBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,4DAA4D;YACjE,IAAI,EAAE;gBACJ,SAAS,EAAE,OAAO;gBAClB,SAAS,EAAE,OAAO;gBAClB,KAAK,EAAE,GAAG;aACX;YACD,MAAM,EAAE;gBACN,GAAG,EAAE,6CAA6C;gBAClD,GAAG,EAAE,yCAAyC;gBAC9C,GAAG,EAAE,wDAAwD;aAC9D;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;OAIG;IACI,MAAM,CAAC,gBAAgB,CAAC,EAC7B,WAAW,GAGZ;QACC,OAAO,IAAA,oBAAS,EAAC,oBAAO,EAAE;YACxB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,gCAAgC;YACrC,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACN,GAAG,EAAE,aAAa;gBAClB,GAAG,EAAE,6CAA6C;gBAClD,GAAG,EAAE,yCAAyC;aAC/C;SACF,CAAC,CAAC;IACL,CAAC;CACF;AAxGD,sDAwGC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { SpecDiffResponseV1 } from '../models/SpecDiffResponseV1';
|
|
2
|
-
import type { SyncStatusResponseV1 } from '../models/SyncStatusResponseV1';
|
|
3
|
-
import type { VersionDiffResponseV1 } from '../models/VersionDiffResponseV1';
|
|
4
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
1
|
+
import type { SpecDiffResponseV1 } from '../models/SpecDiffResponseV1.js';
|
|
2
|
+
import type { SyncStatusResponseV1 } from '../models/SyncStatusResponseV1.js';
|
|
3
|
+
import type { VersionDiffResponseV1 } from '../models/VersionDiffResponseV1.js';
|
|
4
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
5
5
|
export declare class PublicSpecsService {
|
|
6
6
|
/**
|
|
7
7
|
* Compare two arbitrary specs (multipart)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicSpecsService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/PublicSpecsService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"PublicSpecsService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/PublicSpecsService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,kBAAkB;IAC7B;;;;;OAKG;WACW,SAAS,CAAC,EACtB,QAAQ,GACT,EAAE;QACD,QAAQ,EAAE;YACR;;eAEG;YACH,IAAI,EAAE,IAAI,CAAC;YACX;;eAEG;YACH,QAAQ,EAAE,IAAI,CAAC;SAChB,CAAC;KACH,GAAG,iBAAiB,CAAC,kBAAkB,CAAC;IAazC;;;;OAIG;WACW,cAAc,CAAC,EAC3B,KAAK,EACL,OAAO,EACP,KAAK,GACN,EAAE;QACD,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;KACf,GAAG,iBAAiB,CAAC,qBAAqB,CAAC;IAiB5C;;;;;;;OAOG;WACW,aAAa,CAAC,EAC1B,MAAM,EACN,KAAK,EACL,IAAI,GACL,EAAE;QACD,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,GAAG,iBAAiB,CAAC,oBAAoB,CAAC;CAiB5C"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PublicSpecsService = void 0;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
4
|
+
const OpenAPI_js_1 = require("../core/OpenAPI.js");
|
|
5
|
+
const request_js_1 = require("../core/request.js");
|
|
6
6
|
class PublicSpecsService {
|
|
7
7
|
/**
|
|
8
8
|
* Compare two arbitrary specs (multipart)
|
|
@@ -11,7 +11,7 @@ class PublicSpecsService {
|
|
|
11
11
|
* @throws ApiError
|
|
12
12
|
*/
|
|
13
13
|
static diffSpecs({ formData, }) {
|
|
14
|
-
return (0,
|
|
14
|
+
return (0, request_js_1.request)(OpenAPI_js_1.OpenAPI, {
|
|
15
15
|
method: 'POST',
|
|
16
16
|
url: '/api/v1/public/specs/diff',
|
|
17
17
|
formData: formData,
|
|
@@ -29,7 +29,7 @@ class PublicSpecsService {
|
|
|
29
29
|
* @throws ApiError
|
|
30
30
|
*/
|
|
31
31
|
static getVersionDiff({ apiId, fromTag, toTag, }) {
|
|
32
|
-
return (0,
|
|
32
|
+
return (0, request_js_1.request)(OpenAPI_js_1.OpenAPI, {
|
|
33
33
|
method: 'GET',
|
|
34
34
|
url: '/api/v1/public/specs/version-diff',
|
|
35
35
|
query: {
|
|
@@ -54,7 +54,7 @@ class PublicSpecsService {
|
|
|
54
54
|
* @throws ApiError
|
|
55
55
|
*/
|
|
56
56
|
static getSyncStatus({ gitSha, apiId, name, }) {
|
|
57
|
-
return (0,
|
|
57
|
+
return (0, request_js_1.request)(OpenAPI_js_1.OpenAPI, {
|
|
58
58
|
method: 'GET',
|
|
59
59
|
url: '/api/v1/public/specs/sync-status',
|
|
60
60
|
query: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicSpecsService.js","sourceRoot":"","sources":["../../../src/generated/services/PublicSpecsService.ts"],"names":[],"mappings":";;;AAQA,
|
|
1
|
+
{"version":3,"file":"PublicSpecsService.js","sourceRoot":"","sources":["../../../src/generated/services/PublicSpecsService.ts"],"names":[],"mappings":";;;AAQA,mDAA6C;AAC7C,mDAA0D;AAC1D,MAAa,kBAAkB;IAC7B;;;;;OAKG;IACI,MAAM,CAAC,SAAS,CAAC,EACtB,QAAQ,GAYT;QACC,OAAO,IAAA,oBAAS,EAAC,oBAAO,EAAE;YACxB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,2BAA2B;YAChC,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,qBAAqB;YAChC,MAAM,EAAE;gBACN,GAAG,EAAE,6CAA6C;gBAClD,GAAG,EAAE,yCAAyC;gBAC9C,GAAG,EAAE,gDAAgD;aACtD;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;OAIG;IACI,MAAM,CAAC,cAAc,CAAC,EAC3B,KAAK,EACL,OAAO,EACP,KAAK,GAKN;QACC,OAAO,IAAA,oBAAS,EAAC,oBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mCAAmC;YACxC,KAAK,EAAE;gBACL,OAAO,EAAE,KAAK;gBACd,SAAS,EAAE,OAAO;gBAClB,OAAO,EAAE,KAAK;aACf;YACD,MAAM,EAAE;gBACN,GAAG,EAAE,6CAA6C;gBAClD,GAAG,EAAE,yCAAyC;gBAC9C,GAAG,EAAE,wDAAwD;gBAC7D,GAAG,EAAE,6BAA6B;aACnC;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;;;;OAOG;IACI,MAAM,CAAC,aAAa,CAAC,EAC1B,MAAM,EACN,KAAK,EACL,IAAI,GAKL;QACC,OAAO,IAAA,oBAAS,EAAC,oBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,kCAAkC;YACvC,KAAK,EAAE;gBACL,QAAQ,EAAE,MAAM;gBAChB,OAAO,EAAE,KAAK;gBACd,MAAM,EAAE,IAAI;aACb;YACD,MAAM,EAAE;gBACN,GAAG,EAAE,aAAa;gBAClB,GAAG,EAAE,6CAA6C;gBAClD,GAAG,EAAE,yCAAyC;gBAC9C,GAAG,EAAE,wDAAwD;aAC9D;SACF,CAAC,CAAC;IACL,CAAC;CACF;AAhGD,gDAgGC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { PutSpectralRulesetRequestV1 } from '../models/PutSpectralRulesetRequestV1';
|
|
2
|
-
import type { SpectralRulesetResponseV1 } from '../models/SpectralRulesetResponseV1';
|
|
3
|
-
import type { StatusResponseV1 } from '../models/StatusResponseV1';
|
|
4
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
1
|
+
import type { PutSpectralRulesetRequestV1 } from '../models/PutSpectralRulesetRequestV1.js';
|
|
2
|
+
import type { SpectralRulesetResponseV1 } from '../models/SpectralRulesetResponseV1.js';
|
|
3
|
+
import type { StatusResponseV1 } from '../models/StatusResponseV1.js';
|
|
4
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
5
5
|
export declare class PublicSpectralService {
|
|
6
6
|
/**
|
|
7
7
|
* Get the calling org's Spectral ruleset
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicSpectralService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/PublicSpectralService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"PublicSpectralService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/PublicSpectralService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AACxF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,qBAAqB;IAChC;;;;OAIG;WACW,kBAAkB,IAAI,iBAAiB,CAAC,yBAAyB,CAAC;IAUhF;;;;;OAKG;WACW,kBAAkB,CAAC,EAC/B,WAAW,GACZ,EAAE;QACD,WAAW,EAAE,2BAA2B,CAAC;KAC1C,GAAG,iBAAiB,CAAC,gBAAgB,CAAC;CAaxC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PublicSpectralService = void 0;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
4
|
+
const OpenAPI_js_1 = require("../core/OpenAPI.js");
|
|
5
|
+
const request_js_1 = require("../core/request.js");
|
|
6
6
|
class PublicSpectralService {
|
|
7
7
|
/**
|
|
8
8
|
* Get the calling org's Spectral ruleset
|
|
@@ -10,7 +10,7 @@ class PublicSpectralService {
|
|
|
10
10
|
* @throws ApiError
|
|
11
11
|
*/
|
|
12
12
|
static getSpectralRuleset() {
|
|
13
|
-
return (0,
|
|
13
|
+
return (0, request_js_1.request)(OpenAPI_js_1.OpenAPI, {
|
|
14
14
|
method: 'GET',
|
|
15
15
|
url: '/api/v1/public/spectral/ruleset',
|
|
16
16
|
errors: {
|
|
@@ -26,7 +26,7 @@ class PublicSpectralService {
|
|
|
26
26
|
* @throws ApiError
|
|
27
27
|
*/
|
|
28
28
|
static putSpectralRuleset({ requestBody, }) {
|
|
29
|
-
return (0,
|
|
29
|
+
return (0, request_js_1.request)(OpenAPI_js_1.OpenAPI, {
|
|
30
30
|
method: 'PUT',
|
|
31
31
|
url: '/api/v1/public/spectral/ruleset',
|
|
32
32
|
body: requestBody,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicSpectralService.js","sourceRoot":"","sources":["../../../src/generated/services/PublicSpectralService.ts"],"names":[],"mappings":";;;AAQA,
|
|
1
|
+
{"version":3,"file":"PublicSpectralService.js","sourceRoot":"","sources":["../../../src/generated/services/PublicSpectralService.ts"],"names":[],"mappings":";;;AAQA,mDAA6C;AAC7C,mDAA0D;AAC1D,MAAa,qBAAqB;IAChC;;;;OAIG;IACI,MAAM,CAAC,kBAAkB;QAC9B,OAAO,IAAA,oBAAS,EAAC,oBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,iCAAiC;YACtC,MAAM,EAAE;gBACN,GAAG,EAAE,6CAA6C;gBAClD,GAAG,EAAE,yCAAyC;aAC/C;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;;OAKG;IACI,MAAM,CAAC,kBAAkB,CAAC,EAC/B,WAAW,GAGZ;QACC,OAAO,IAAA,oBAAS,EAAC,oBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,iCAAiC;YACtC,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACN,GAAG,EAAE,6CAA6C;gBAClD,GAAG,EAAE,qDAAqD;gBAC1D,GAAG,EAAE,yCAAyC;aAC/C;SACF,CAAC,CAAC;IACL,CAAC;CACF;AAvCD,sDAuCC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { TeamCreateRequestV1 } from '../models/TeamCreateRequestV1';
|
|
2
|
-
import type { TeamV1 } from '../models/TeamV1';
|
|
3
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
1
|
+
import type { TeamCreateRequestV1 } from '../models/TeamCreateRequestV1.js';
|
|
2
|
+
import type { TeamV1 } from '../models/TeamV1.js';
|
|
3
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
4
4
|
export declare class PublicTeamsService {
|
|
5
5
|
/**
|
|
6
6
|
* List teams for the calling org
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicTeamsService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/PublicTeamsService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"PublicTeamsService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/PublicTeamsService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,kBAAkB;IAC7B;;;;OAIG;WACW,SAAS,IAAI,iBAAiB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAU3D;;;;;;;OAOG;WACW,UAAU,CAAC,EACvB,WAAW,GACZ,EAAE;QACD,WAAW,EAAE,mBAAmB,CAAC;KAClC,GAAG,iBAAiB,CAAC,MAAM,CAAC;IAa7B;;;;;;;;OAQG;WACW,UAAU,CAAC,EACvB,MAAM,GACP,EAAE;QACD,MAAM,EAAE,MAAM,CAAC;KAChB,GAAG,iBAAiB,CAAC,IAAI,CAAC;CAe5B"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PublicTeamsService = void 0;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
4
|
+
const OpenAPI_js_1 = require("../core/OpenAPI.js");
|
|
5
|
+
const request_js_1 = require("../core/request.js");
|
|
6
6
|
class PublicTeamsService {
|
|
7
7
|
/**
|
|
8
8
|
* List teams for the calling org
|
|
@@ -10,7 +10,7 @@ class PublicTeamsService {
|
|
|
10
10
|
* @throws ApiError
|
|
11
11
|
*/
|
|
12
12
|
static listTeams() {
|
|
13
|
-
return (0,
|
|
13
|
+
return (0, request_js_1.request)(OpenAPI_js_1.OpenAPI, {
|
|
14
14
|
method: 'GET',
|
|
15
15
|
url: '/api/v1/public/teams',
|
|
16
16
|
errors: {
|
|
@@ -28,7 +28,7 @@ class PublicTeamsService {
|
|
|
28
28
|
* @throws ApiError
|
|
29
29
|
*/
|
|
30
30
|
static createTeam({ requestBody, }) {
|
|
31
|
-
return (0,
|
|
31
|
+
return (0, request_js_1.request)(OpenAPI_js_1.OpenAPI, {
|
|
32
32
|
method: 'POST',
|
|
33
33
|
url: '/api/v1/public/teams',
|
|
34
34
|
body: requestBody,
|
|
@@ -50,7 +50,7 @@ class PublicTeamsService {
|
|
|
50
50
|
* @throws ApiError
|
|
51
51
|
*/
|
|
52
52
|
static deleteTeam({ teamId, }) {
|
|
53
|
-
return (0,
|
|
53
|
+
return (0, request_js_1.request)(OpenAPI_js_1.OpenAPI, {
|
|
54
54
|
method: 'DELETE',
|
|
55
55
|
url: '/api/v1/public/teams/{teamId}',
|
|
56
56
|
path: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicTeamsService.js","sourceRoot":"","sources":["../../../src/generated/services/PublicTeamsService.ts"],"names":[],"mappings":";;;AAOA,
|
|
1
|
+
{"version":3,"file":"PublicTeamsService.js","sourceRoot":"","sources":["../../../src/generated/services/PublicTeamsService.ts"],"names":[],"mappings":";;;AAOA,mDAA6C;AAC7C,mDAA0D;AAC1D,MAAa,kBAAkB;IAC7B;;;;OAIG;IACI,MAAM,CAAC,SAAS;QACrB,OAAO,IAAA,oBAAS,EAAC,oBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,sBAAsB;YAC3B,MAAM,EAAE;gBACN,GAAG,EAAE,6CAA6C;gBAClD,GAAG,EAAE,yCAAyC;aAC/C;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;;;;OAOG;IACI,MAAM,CAAC,UAAU,CAAC,EACvB,WAAW,GAGZ;QACC,OAAO,IAAA,oBAAS,EAAC,oBAAO,EAAE;YACxB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,sBAAsB;YAC3B,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACN,GAAG,EAAE,aAAa;gBAClB,GAAG,EAAE,6CAA6C;gBAClD,GAAG,EAAE,yCAAyC;aAC/C;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;;;;;OAQG;IACI,MAAM,CAAC,UAAU,CAAC,EACvB,MAAM,GAGP;QACC,OAAO,IAAA,oBAAS,EAAC,oBAAO,EAAE;YACxB,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,+BAA+B;YACpC,IAAI,EAAE;gBACJ,QAAQ,EAAE,MAAM;aACjB;YACD,MAAM,EAAE;gBACN,GAAG,EAAE,6CAA6C;gBAClD,GAAG,EAAE,yCAAyC;gBAC9C,GAAG,EAAE,wDAAwD;gBAC7D,GAAG,EAAE,uDAAuD;aAC7D;SACF,CAAC,CAAC;IACL,CAAC;CACF;AArED,gDAqEC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./generated";
|
|
1
|
+
export * from "./generated/index.js";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,sBAAsB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -15,5 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
// Generated entry — re-exports the openapi-typescript-codegen output.
|
|
18
|
-
__exportStar(require("./generated"), exports);
|
|
18
|
+
__exportStar(require("./generated/index.js"), exports);
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sEAAsE;AACtE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sEAAsE;AACtE,uDAAqC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spec0/sdk-public-platform",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "TypeScript SDK for Spec0's public API surface (https://app.spec0.io). Generated from the OpenAPI spec published at spec0/spec0-platform.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -30,6 +30,8 @@
|
|
|
30
30
|
"build": "tsc -p tsconfig.json",
|
|
31
31
|
"clean": "rm -rf dist src/generated",
|
|
32
32
|
"prepack": "npm run clean && npm run generate && npm run build",
|
|
33
|
+
"smoke": "node scripts/smoke.mjs",
|
|
34
|
+
"prepublishOnly": "npm run smoke",
|
|
33
35
|
"verify": "npm run generate && npm run build"
|
|
34
36
|
},
|
|
35
37
|
"devDependencies": {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
6
|
-
import type { ApiResult } from './ApiResult';
|
|
5
|
+
import type { ApiRequestOptions } from './ApiRequestOptions.js';
|
|
6
|
+
import type { ApiResult } from './ApiResult.js';
|
|
7
7
|
|
|
8
8
|
export class ApiError extends Error {
|
|
9
9
|
public readonly url: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
5
|
+
import type { ApiRequestOptions } from './ApiRequestOptions.js';
|
|
6
6
|
|
|
7
7
|
type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
|
|
8
8
|
type Headers = Record<string, string>;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
import { ApiError } from './ApiError';
|
|
6
|
-
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
7
|
-
import type { ApiResult } from './ApiResult';
|
|
8
|
-
import { CancelablePromise } from './CancelablePromise';
|
|
9
|
-
import type { OnCancel } from './CancelablePromise';
|
|
10
|
-
import type { OpenAPIConfig } from './OpenAPI';
|
|
5
|
+
import { ApiError } from './ApiError.js';
|
|
6
|
+
import type { ApiRequestOptions } from './ApiRequestOptions.js';
|
|
7
|
+
import type { ApiResult } from './ApiResult.js';
|
|
8
|
+
import { CancelablePromise } from './CancelablePromise.js';
|
|
9
|
+
import type { OnCancel } from './CancelablePromise.js';
|
|
10
|
+
import type { OpenAPIConfig } from './OpenAPI.js';
|
|
11
11
|
|
|
12
12
|
export const isDefined = <T>(value: T | null | undefined): value is Exclude<T, null | undefined> => {
|
|
13
13
|
return value !== undefined && value !== null;
|
package/src/generated/index.ts
CHANGED
|
@@ -2,47 +2,47 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
export { ApiError } from './core/ApiError';
|
|
6
|
-
export { CancelablePromise, CancelError } from './core/CancelablePromise';
|
|
7
|
-
export { OpenAPI } from './core/OpenAPI';
|
|
8
|
-
export type { OpenAPIConfig } from './core/OpenAPI';
|
|
5
|
+
export { ApiError } from './core/ApiError.js';
|
|
6
|
+
export { CancelablePromise, CancelError } from './core/CancelablePromise.js';
|
|
7
|
+
export { OpenAPI } from './core/OpenAPI.js';
|
|
8
|
+
export type { OpenAPIConfig } from './core/OpenAPI.js';
|
|
9
9
|
|
|
10
|
-
export type { AiSearchRequestV1 } from './models/AiSearchRequestV1';
|
|
11
|
-
export type { AiSearchResponseV1 } from './models/AiSearchResponseV1';
|
|
12
|
-
export type { ApiNamePath } from './models/ApiNamePath';
|
|
13
|
-
export type { ApiTeamListItemV1 } from './models/ApiTeamListItemV1';
|
|
14
|
-
export type { AuthError } from './models/AuthError';
|
|
15
|
-
export type { CiConfigResponseV1 } from './models/CiConfigResponseV1';
|
|
16
|
-
export type { CreateMockRequestV1 } from './models/CreateMockRequestV1';
|
|
17
|
-
export type { CreateMockResponseV1 } from './models/CreateMockResponseV1';
|
|
18
|
-
export type { MockItemV1 } from './models/MockItemV1';
|
|
19
|
-
export type { OrgSlugPath } from './models/OrgSlugPath';
|
|
20
|
-
export type { OrgSummaryResponseV1 } from './models/OrgSummaryResponseV1';
|
|
21
|
-
export type { Problem } from './models/Problem';
|
|
22
|
-
export type { PublicApiIdPath } from './models/PublicApiIdPath';
|
|
23
|
-
export type { PublicApiListItem } from './models/PublicApiListItem';
|
|
24
|
-
export type { PublicApiMetaV1 } from './models/PublicApiMetaV1';
|
|
25
|
-
export type { PublicPublishRequestV1 } from './models/PublicPublishRequestV1';
|
|
26
|
-
export type { PublicPublishResponseV1 } from './models/PublicPublishResponseV1';
|
|
27
|
-
export type { PutSpectralRulesetRequestV1 } from './models/PutSpectralRulesetRequestV1';
|
|
28
|
-
export type { SpecDiffResponseV1 } from './models/SpecDiffResponseV1';
|
|
29
|
-
export type { SpectralRulesetResponseV1 } from './models/SpectralRulesetResponseV1';
|
|
30
|
-
export type { SpecVersionListItemV1 } from './models/SpecVersionListItemV1';
|
|
31
|
-
export type { StatusResponseV1 } from './models/StatusResponseV1';
|
|
32
|
-
export type { SyncStatusResponseV1 } from './models/SyncStatusResponseV1';
|
|
33
|
-
export type { TeamCreateRequestV1 } from './models/TeamCreateRequestV1';
|
|
34
|
-
export type { TeamPublishRequestV1 } from './models/TeamPublishRequestV1';
|
|
35
|
-
export type { TeamPublishResponseV1 } from './models/TeamPublishResponseV1';
|
|
36
|
-
export type { TeamV1 } from './models/TeamV1';
|
|
37
|
-
export type { VersionDiffResponseV1 } from './models/VersionDiffResponseV1';
|
|
38
|
-
export type { Visibility } from './models/Visibility';
|
|
39
|
-
export type { VisibilityUpdateRequestV1 } from './models/VisibilityUpdateRequestV1';
|
|
10
|
+
export type { AiSearchRequestV1 } from './models/AiSearchRequestV1.js';
|
|
11
|
+
export type { AiSearchResponseV1 } from './models/AiSearchResponseV1.js';
|
|
12
|
+
export type { ApiNamePath } from './models/ApiNamePath.js';
|
|
13
|
+
export type { ApiTeamListItemV1 } from './models/ApiTeamListItemV1.js';
|
|
14
|
+
export type { AuthError } from './models/AuthError.js';
|
|
15
|
+
export type { CiConfigResponseV1 } from './models/CiConfigResponseV1.js';
|
|
16
|
+
export type { CreateMockRequestV1 } from './models/CreateMockRequestV1.js';
|
|
17
|
+
export type { CreateMockResponseV1 } from './models/CreateMockResponseV1.js';
|
|
18
|
+
export type { MockItemV1 } from './models/MockItemV1.js';
|
|
19
|
+
export type { OrgSlugPath } from './models/OrgSlugPath.js';
|
|
20
|
+
export type { OrgSummaryResponseV1 } from './models/OrgSummaryResponseV1.js';
|
|
21
|
+
export type { Problem } from './models/Problem.js';
|
|
22
|
+
export type { PublicApiIdPath } from './models/PublicApiIdPath.js';
|
|
23
|
+
export type { PublicApiListItem } from './models/PublicApiListItem.js';
|
|
24
|
+
export type { PublicApiMetaV1 } from './models/PublicApiMetaV1.js';
|
|
25
|
+
export type { PublicPublishRequestV1 } from './models/PublicPublishRequestV1.js';
|
|
26
|
+
export type { PublicPublishResponseV1 } from './models/PublicPublishResponseV1.js';
|
|
27
|
+
export type { PutSpectralRulesetRequestV1 } from './models/PutSpectralRulesetRequestV1.js';
|
|
28
|
+
export type { SpecDiffResponseV1 } from './models/SpecDiffResponseV1.js';
|
|
29
|
+
export type { SpectralRulesetResponseV1 } from './models/SpectralRulesetResponseV1.js';
|
|
30
|
+
export type { SpecVersionListItemV1 } from './models/SpecVersionListItemV1.js';
|
|
31
|
+
export type { StatusResponseV1 } from './models/StatusResponseV1.js';
|
|
32
|
+
export type { SyncStatusResponseV1 } from './models/SyncStatusResponseV1.js';
|
|
33
|
+
export type { TeamCreateRequestV1 } from './models/TeamCreateRequestV1.js';
|
|
34
|
+
export type { TeamPublishRequestV1 } from './models/TeamPublishRequestV1.js';
|
|
35
|
+
export type { TeamPublishResponseV1 } from './models/TeamPublishResponseV1.js';
|
|
36
|
+
export type { TeamV1 } from './models/TeamV1.js';
|
|
37
|
+
export type { VersionDiffResponseV1 } from './models/VersionDiffResponseV1.js';
|
|
38
|
+
export type { Visibility } from './models/Visibility.js';
|
|
39
|
+
export type { VisibilityUpdateRequestV1 } from './models/VisibilityUpdateRequestV1.js';
|
|
40
40
|
|
|
41
|
-
export { PublicApisService } from './services/PublicApisService';
|
|
42
|
-
export { PublicCiService } from './services/PublicCiService';
|
|
43
|
-
export { PublicMocksService } from './services/PublicMocksService';
|
|
44
|
-
export { PublicOrgsService } from './services/PublicOrgsService';
|
|
45
|
-
export { PublicRegistryService } from './services/PublicRegistryService';
|
|
46
|
-
export { PublicSpecsService } from './services/PublicSpecsService';
|
|
47
|
-
export { PublicSpectralService } from './services/PublicSpectralService';
|
|
48
|
-
export { PublicTeamsService } from './services/PublicTeamsService';
|
|
41
|
+
export { PublicApisService } from './services/PublicApisService.js';
|
|
42
|
+
export { PublicCiService } from './services/PublicCiService.js';
|
|
43
|
+
export { PublicMocksService } from './services/PublicMocksService.js';
|
|
44
|
+
export { PublicOrgsService } from './services/PublicOrgsService.js';
|
|
45
|
+
export { PublicRegistryService } from './services/PublicRegistryService.js';
|
|
46
|
+
export { PublicSpecsService } from './services/PublicSpecsService.js';
|
|
47
|
+
export { PublicSpectralService } from './services/PublicSpectralService.js';
|
|
48
|
+
export { PublicTeamsService } from './services/PublicTeamsService.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
import type { Visibility } from './Visibility';
|
|
5
|
+
import type { Visibility } from './Visibility.js';
|
|
6
6
|
/**
|
|
7
7
|
* Provide exactly one of `version` or `versionBump`. `version` pins an explicit
|
|
8
8
|
* semver tag. `versionBump` asks the registry to compute the next version
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
import type { ApiTeamListItemV1 } from '../models/ApiTeamListItemV1';
|
|
6
|
-
import type { PublicApiListItem } from '../models/PublicApiListItem';
|
|
7
|
-
import type { PublicApiMetaV1 } from '../models/PublicApiMetaV1';
|
|
8
|
-
import type { PublicPublishRequestV1 } from '../models/PublicPublishRequestV1';
|
|
9
|
-
import type { PublicPublishResponseV1 } from '../models/PublicPublishResponseV1';
|
|
10
|
-
import type { TeamPublishRequestV1 } from '../models/TeamPublishRequestV1';
|
|
11
|
-
import type { TeamPublishResponseV1 } from '../models/TeamPublishResponseV1';
|
|
12
|
-
import type { VisibilityUpdateRequestV1 } from '../models/VisibilityUpdateRequestV1';
|
|
13
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
14
|
-
import { OpenAPI } from '../core/OpenAPI';
|
|
15
|
-
import { request as __request } from '../core/request';
|
|
5
|
+
import type { ApiTeamListItemV1 } from '../models/ApiTeamListItemV1.js';
|
|
6
|
+
import type { PublicApiListItem } from '../models/PublicApiListItem.js';
|
|
7
|
+
import type { PublicApiMetaV1 } from '../models/PublicApiMetaV1.js';
|
|
8
|
+
import type { PublicPublishRequestV1 } from '../models/PublicPublishRequestV1.js';
|
|
9
|
+
import type { PublicPublishResponseV1 } from '../models/PublicPublishResponseV1.js';
|
|
10
|
+
import type { TeamPublishRequestV1 } from '../models/TeamPublishRequestV1.js';
|
|
11
|
+
import type { TeamPublishResponseV1 } from '../models/TeamPublishResponseV1.js';
|
|
12
|
+
import type { VisibilityUpdateRequestV1 } from '../models/VisibilityUpdateRequestV1.js';
|
|
13
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
14
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
15
|
+
import { request as __request } from '../core/request.js';
|
|
16
16
|
export class PublicApisService {
|
|
17
17
|
/**
|
|
18
18
|
* List public APIs for the calling org
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
import type { CiConfigResponseV1 } from '../models/CiConfigResponseV1';
|
|
6
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
7
|
-
import { OpenAPI } from '../core/OpenAPI';
|
|
8
|
-
import { request as __request } from '../core/request';
|
|
5
|
+
import type { CiConfigResponseV1 } from '../models/CiConfigResponseV1.js';
|
|
6
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
7
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
8
|
+
import { request as __request } from '../core/request.js';
|
|
9
9
|
export class PublicCiService {
|
|
10
10
|
/**
|
|
11
11
|
* Generate a GitHub Actions workflow for `spec0 publish`
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
import type { CreateMockRequestV1 } from '../models/CreateMockRequestV1';
|
|
6
|
-
import type { CreateMockResponseV1 } from '../models/CreateMockResponseV1';
|
|
7
|
-
import type { MockItemV1 } from '../models/MockItemV1';
|
|
8
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
9
|
-
import { OpenAPI } from '../core/OpenAPI';
|
|
10
|
-
import { request as __request } from '../core/request';
|
|
5
|
+
import type { CreateMockRequestV1 } from '../models/CreateMockRequestV1.js';
|
|
6
|
+
import type { CreateMockResponseV1 } from '../models/CreateMockResponseV1.js';
|
|
7
|
+
import type { MockItemV1 } from '../models/MockItemV1.js';
|
|
8
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
9
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
10
|
+
import { request as __request } from '../core/request.js';
|
|
11
11
|
export class PublicMocksService {
|
|
12
12
|
/**
|
|
13
13
|
* List mock servers for the calling org
|