@fusebase/fusebase-gate-sdk 2.2.12-sdk.2 → 2.2.12-sdk.6

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.
@@ -0,0 +1,54 @@
1
+ /**
2
+ * AppApis API
3
+ *
4
+ * Generated from contract introspection
5
+ * Domain: app-apis
6
+ */
7
+ import type { Client } from "../runtime/transport";
8
+ import type { AppApiOperationContract, AppApiOperationListResponseContract, orgIdInPathRequired } from "../types";
9
+ export declare class AppApisApi {
10
+ private client;
11
+ constructor(client: Client);
12
+ /**
13
+ * Describe app API operation
14
+ * Returns one published app API operation for the requested app feature and operation id.
15
+ */
16
+ getAppApiOperation(params: {
17
+ path: {
18
+ orgId: orgIdInPathRequired;
19
+ appFeatureId: string;
20
+ operationId: string;
21
+ };
22
+ headers?: Record<string, string>;
23
+ }): Promise<AppApiOperationContract>;
24
+ /**
25
+ * List app API operations
26
+ * Returns published app API operations visible inside the organization. Optional filters narrow the result by app, feature, visibility, and limit.
27
+ */
28
+ listAppApiOperations(params: {
29
+ path: {
30
+ orgId: orgIdInPathRequired;
31
+ };
32
+ query?: {
33
+ appId?: string;
34
+ appFeatureId?: string;
35
+ visibility?: string;
36
+ limit?: number;
37
+ };
38
+ headers?: Record<string, string>;
39
+ }): Promise<AppApiOperationListResponseContract>;
40
+ /**
41
+ * Search app API operations
42
+ * Searches published app API operations by operation id and descriptive fields inside the organization.
43
+ */
44
+ searchAppApiOperations(params: {
45
+ path: {
46
+ orgId: orgIdInPathRequired;
47
+ };
48
+ query?: {
49
+ query?: string;
50
+ limit?: number;
51
+ };
52
+ headers?: Record<string, string>;
53
+ }): Promise<AppApiOperationListResponseContract>;
54
+ }
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /**
3
+ * AppApis API
4
+ *
5
+ * Generated from contract introspection
6
+ * Domain: app-apis
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.AppApisApi = void 0;
10
+ class AppApisApi {
11
+ constructor(client) {
12
+ this.client = client;
13
+ }
14
+ /**
15
+ * Describe app API operation
16
+ * Returns one published app API operation for the requested app feature and operation id.
17
+ */
18
+ async getAppApiOperation(params) {
19
+ return this.client.request({
20
+ method: "GET",
21
+ path: "/:orgId/app-features/:appFeatureId/app-apis/:operationId",
22
+ pathParams: params.path,
23
+ headers: params.headers,
24
+ opId: "getAppApiOperation",
25
+ expectedContentType: "application/json",
26
+ });
27
+ }
28
+ /**
29
+ * List app API operations
30
+ * Returns published app API operations visible inside the organization. Optional filters narrow the result by app, feature, visibility, and limit.
31
+ */
32
+ async listAppApiOperations(params) {
33
+ return this.client.request({
34
+ method: "GET",
35
+ path: "/:orgId/app-apis",
36
+ pathParams: params.path,
37
+ query: params.query,
38
+ headers: params.headers,
39
+ opId: "listAppApiOperations",
40
+ expectedContentType: "application/json",
41
+ });
42
+ }
43
+ /**
44
+ * Search app API operations
45
+ * Searches published app API operations by operation id and descriptive fields inside the organization.
46
+ */
47
+ async searchAppApiOperations(params) {
48
+ return this.client.request({
49
+ method: "GET",
50
+ path: "/:orgId/app-apis/search",
51
+ pathParams: params.path,
52
+ query: params.query,
53
+ headers: params.headers,
54
+ opId: "searchAppApiOperations",
55
+ expectedContentType: "application/json",
56
+ });
57
+ }
58
+ }
59
+ exports.AppApisApi = AppApisApi;
package/dist/index.d.ts CHANGED
@@ -6,6 +6,7 @@
6
6
  export * from "./runtime";
7
7
  export * from "./types";
8
8
  export { AccessApi } from "./apis/AccessApi";
9
+ export { AppApisApi } from "./apis/AppApisApi";
9
10
  export { BillingApi } from "./apis/BillingApi";
10
11
  export { EmailsApi } from "./apis/EmailsApi";
11
12
  export { FilesApi } from "./apis/FilesApi";
package/dist/index.js CHANGED
@@ -19,11 +19,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
19
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
20
  };
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
- exports.WorkspacesApi = exports.TokensApi = exports.SystemApi = exports.PortalsApi = exports.OrgUsersApi = exports.OrgGroupsApi = exports.NotesApi = exports.IsolatedStoresApi = exports.HealthApi = exports.FilesApi = exports.EmailsApi = exports.BillingApi = exports.AccessApi = void 0;
22
+ exports.WorkspacesApi = exports.TokensApi = exports.SystemApi = exports.PortalsApi = exports.OrgUsersApi = exports.OrgGroupsApi = exports.NotesApi = exports.IsolatedStoresApi = exports.HealthApi = exports.FilesApi = exports.EmailsApi = exports.BillingApi = exports.AppApisApi = exports.AccessApi = void 0;
23
23
  __exportStar(require("./runtime"), exports);
24
24
  __exportStar(require("./types"), exports);
25
25
  var AccessApi_1 = require("./apis/AccessApi");
26
26
  Object.defineProperty(exports, "AccessApi", { enumerable: true, get: function () { return AccessApi_1.AccessApi; } });
27
+ var AppApisApi_1 = require("./apis/AppApisApi");
28
+ Object.defineProperty(exports, "AppApisApi", { enumerable: true, get: function () { return AppApisApi_1.AppApisApi; } });
27
29
  var BillingApi_1 = require("./apis/BillingApi");
28
30
  Object.defineProperty(exports, "BillingApi", { enumerable: true, get: function () { return BillingApi_1.BillingApi; } });
29
31
  var EmailsApi_1 = require("./apis/EmailsApi");
@@ -0,0 +1,22 @@
1
+ export interface AppApiOperationContract {
2
+ id?: number;
3
+ orgId: string;
4
+ appId: string;
5
+ appFeatureId: string;
6
+ operationId: string;
7
+ method: string;
8
+ path: string;
9
+ title?: string | null;
10
+ summary?: string | null;
11
+ description?: string | null;
12
+ visibility?: string | null;
13
+ executionMode?: string | null;
14
+ tags: string[];
15
+ manifestVersion?: string | null;
16
+ publishedAt?: string | null;
17
+ createdAt: number;
18
+ updatedAt: number;
19
+ }
20
+ export interface AppApiOperationListResponseContract {
21
+ operations: AppApiOperationContract[];
22
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,6 +5,7 @@
5
5
  * Generated by SDK codegen
6
6
  */
7
7
  export type { AuthenticatedUserSummaryContract, MyOrgAccessResponseContract } from "./access/access";
8
+ export type { AppApiOperationContract, AppApiOperationListResponseContract } from "./app-api/app-api";
8
9
  export * from "./billing/billing";
9
10
  export type { OrgEmailSendRequestContract, OrgEmailSendResponseContract } from "./email/email";
10
11
  export * from "./file/file";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusebase/fusebase-gate-sdk",
3
- "version": "2.2.12-sdk.2",
3
+ "version": "2.2.12-sdk.6",
4
4
  "description": "TypeScript SDK for Fusebase Gate APIs - Generated from contract introspection",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -0,0 +1,9 @@
1
+ # Release Notes 2.2.12-sdk.6
2
+
3
+ - Current ref: `HEAD`
4
+ - Previous tag: `v2.2.12-sdk.6`
5
+ - Generated at: 2026-05-07T09:12:34.264Z
6
+
7
+ ## Included Drafts
8
+
9
+ - None
@@ -1,8 +1,8 @@
1
- # Release Notes 2.2.12-sdk.2
1
+ # Release Notes 2.2.12-sdk.6
2
2
 
3
3
  - Current ref: `HEAD`
4
- - Previous tag: `v2.2.12-sdk.2`
5
- - Generated at: 2026-04-30T19:03:37.870Z
4
+ - Previous tag: `v2.2.12-sdk.6`
5
+ - Generated at: 2026-05-07T09:12:34.264Z
6
6
 
7
7
  ## Included Drafts
8
8
 
@@ -1,9 +0,0 @@
1
- # Release Notes 2.2.12-sdk.2
2
-
3
- - Current ref: `HEAD`
4
- - Previous tag: `v2.2.12-sdk.2`
5
- - Generated at: 2026-04-30T19:03:37.870Z
6
-
7
- ## Included Drafts
8
-
9
- - None