@stigmer/protos 3.1.17 → 3.2.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/ai/stigmer/agentic/agentchannel/v1/command_connect.d.ts +37 -6
- package/ai/stigmer/agentic/agentchannel/v1/command_connect.js +37 -6
- package/ai/stigmer/agentic/agentchannel/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/command_pb.d.ts +37 -6
- package/ai/stigmer/agentic/agentchannel/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.d.ts +40 -0
- package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.js +6 -1
- package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/io_pb.d.ts +22 -3
- package/ai/stigmer/agentic/agentchannel/v1/io_pb.js +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/spec_pb.d.ts +100 -2
- package/ai/stigmer/agentic/agentchannel/v1/spec_pb.js +6 -1
- package/ai/stigmer/agentic/agentchannel/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/status_pb.d.ts +87 -0
- package/ai/stigmer/agentic/agentchannel/v1/status_pb.js +6 -1
- package/ai/stigmer/agentic/agentchannel/v1/status_pb.js.map +1 -1
- package/ai/stigmer/agentic/channelapp/v1/api_pb.d.ts +68 -0
- package/ai/stigmer/agentic/channelapp/v1/api_pb.js +18 -0
- package/ai/stigmer/agentic/channelapp/v1/api_pb.js.map +1 -0
- package/ai/stigmer/agentic/channelapp/v1/command_connect.d.ts +93 -0
- package/ai/stigmer/agentic/channelapp/v1/command_connect.js +101 -0
- package/ai/stigmer/agentic/channelapp/v1/command_connect.js.map +1 -0
- package/ai/stigmer/agentic/channelapp/v1/command_pb.d.ts +93 -0
- package/ai/stigmer/agentic/channelapp/v1/command_pb.js +25 -0
- package/ai/stigmer/agentic/channelapp/v1/command_pb.js.map +1 -0
- package/ai/stigmer/agentic/channelapp/v1/io_pb.d.ts +44 -0
- package/ai/stigmer/agentic/channelapp/v1/io_pb.js +21 -0
- package/ai/stigmer/agentic/channelapp/v1/io_pb.js.map +1 -0
- package/ai/stigmer/agentic/channelapp/v1/query_connect.d.ts +70 -0
- package/ai/stigmer/agentic/channelapp/v1/query_connect.js +79 -0
- package/ai/stigmer/agentic/channelapp/v1/query_connect.js.map +1 -0
- package/ai/stigmer/agentic/channelapp/v1/query_pb.d.ts +72 -0
- package/ai/stigmer/agentic/channelapp/v1/query_pb.js +27 -0
- package/ai/stigmer/agentic/channelapp/v1/query_pb.js.map +1 -0
- package/ai/stigmer/agentic/channelapp/v1/spec_pb.d.ts +165 -0
- package/ai/stigmer/agentic/channelapp/v1/spec_pb.js +25 -0
- package/ai/stigmer/agentic/channelapp/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/agentic/session/v1/io_pb.d.ts +30 -0
- package/ai/stigmer/agentic/session/v1/io_pb.js +7 -2
- package/ai/stigmer/agentic/session/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/query_connect.d.ts +22 -0
- package/ai/stigmer/agentic/session/v1/query_connect.js +23 -1
- package/ai/stigmer/agentic/session/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/query_pb.d.ts +22 -1
- package/ai/stigmer/agentic/session/v1/query_pb.js +1 -1
- package/ai/stigmer/agentic/session/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +6 -2
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +7 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +8 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
- package/ai/stigmer/iam/v1/enum_pb.d.ts +9 -1
- package/ai/stigmer/iam/v1/enum_pb.js +9 -1
- package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
- package/google/rpc/error_details_pb.d.ts +580 -0
- package/google/rpc/error_details_pb.js +90 -0
- package/google/rpc/error_details_pb.js.map +1 -0
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
|
7
7
|
/**
|
|
8
8
|
* Describes the file ai/stigmer/agentic/agentchannel/v1/status.proto.
|
|
9
9
|
*/
|
|
10
|
-
export const file_ai_stigmer_agentic_agentchannel_v1_status = /*@__PURE__*/ fileDesc("
|
|
10
|
+
export const file_ai_stigmer_agentic_agentchannel_v1_status = /*@__PURE__*/ fileDesc("Ci9haS9zdGlnbWVyL2FnZW50aWMvYWdlbnRjaGFubmVsL3YxL3N0YXR1cy5wcm90bxIiYWkuc3RpZ21lci5hZ2VudGljLmFnZW50Y2hhbm5lbC52MSL5AgoSQWdlbnRDaGFubmVsU3RhdHVzElMKDWluc3RhbGxfc3RhdGUYASABKA4yPC5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRjaGFubmVsLnYxLkFnZW50Q2hhbm5lbEluc3RhbGxTdGF0ZRJHCgVzbGFjaxgCIAEoCzI2LmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGNoYW5uZWwudjEuU2xhY2tJbnN0YWxsU3RhdHVzSAASTQoId2hhdHNhcHAYBCABKAsyOS5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRjaGFubmVsLnYxLldoYXRzQXBwSW5zdGFsbFN0YXR1c0gAEiIKGmNyZWRlbnRpYWxzX2Vudmlyb25tZW50X2lkGAMgASgJEj8KBWF1ZGl0GGMgASgLMjAuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlQXVkaXRCEQoPcHJvdmlkZXJfc3RhdHVzItABChJTbGFja0luc3RhbGxTdGF0dXMSDwoHdGVhbV9pZBgBIAEoCRIRCgl0ZWFtX25hbWUYAiABKAkSEwoLYm90X3VzZXJfaWQYAyABKAkSFgoOZ3JhbnRlZF9zY29wZXMYBCADKAkSHwoXaW5zdGFsbGVyX3NsYWNrX3VzZXJfaWQYBSABKAkSMAoMaW5zdGFsbGVkX2F0GAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIWCg5jaGFubmVsX2FwcF9pZBgHIAEoCSKvAQoVV2hhdHNBcHBJbnN0YWxsU3RhdHVzEhcKD3Bob25lX251bWJlcl9pZBgBIAEoCRIcChRkaXNwbGF5X3Bob25lX251bWJlchgCIAEoCRIVCg12ZXJpZmllZF9uYW1lGAMgASgJEhYKDmNoYW5uZWxfYXBwX2lkGAQgASgJEjAKDGluc3RhbGxlZF9hdBgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAqeAoYQWdlbnRDaGFubmVsSW5zdGFsbFN0YXRlEisKJ2FnZW50X2NoYW5uZWxfaW5zdGFsbF9zdGF0ZV91bnNwZWNpZmllZBAAEhMKD3BlbmRpbmdfaW5zdGFsbBABEg0KCWluc3RhbGxlZBACEgsKB3Jldm9rZWQQA2IGcHJvdG8z", [file_ai_stigmer_commons_apiresource_status, file_google_protobuf_timestamp]);
|
|
11
11
|
/**
|
|
12
12
|
* Describes the message ai.stigmer.agentic.agentchannel.v1.AgentChannelStatus.
|
|
13
13
|
* Use `create(AgentChannelStatusSchema)` to create a new message.
|
|
@@ -18,6 +18,11 @@ export const AgentChannelStatusSchema = /*@__PURE__*/ messageDesc(file_ai_stigme
|
|
|
18
18
|
* Use `create(SlackInstallStatusSchema)` to create a new message.
|
|
19
19
|
*/
|
|
20
20
|
export const SlackInstallStatusSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_status, 1);
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message ai.stigmer.agentic.agentchannel.v1.WhatsAppInstallStatus.
|
|
23
|
+
* Use `create(WhatsAppInstallStatusSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const WhatsAppInstallStatusSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_status, 2);
|
|
21
26
|
/**
|
|
22
27
|
* AgentChannelInstallState tracks the provider install lifecycle.
|
|
23
28
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentchannel/v1/status_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,mIAAmI;AACnI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAY,aAAa,CAClF,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"status_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentchannel/v1/status_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,mIAAmI;AACnI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAY,aAAa,CAClF,QAAQ,CAAC,kyCAAkyC,EAAE,CAAC,0CAA0C,EAAE,8BAA8B,CAAC,CAAC,CAAC;AAyE73C;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,8CAA8C,EAAE,CAAC,CAAC,CAAC;AA4EjE;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,8CAA8C,EAAE,CAAC,CAAC,CAAC;AAiEjE;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAsC,aAAa,CACzF,WAAW,CAAC,8CAA8C,EAAE,CAAC,CAAC,CAAC;AAEjE;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,wBAgCX;AAhCD,WAAY,wBAAwB;IAClC;;;;OAIG;IACH,6IAA2C,CAAA;IAE3C;;;;;OAKG;IACH,6FAAmB,CAAA;IAEnB;;;;;OAKG;IACH,iFAAa,CAAA;IAEb;;;;;;OAMG;IACH,6EAAW,CAAA;AACb,CAAC,EAhCW,wBAAwB,KAAxB,wBAAwB,QAgCnC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAsC,aAAa,CAC5F,QAAQ,CAAC,8CAA8C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { ChannelAppSpec } from "./spec_pb.js";
|
|
3
|
+
import type { ApiResourceMetadata } from "../../../commons/apiresource/metadata_pb.js";
|
|
4
|
+
import type { ApiResourceAuditStatus } from "../../../commons/apiresource/status_pb.js";
|
|
5
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file ai/stigmer/agentic/channelapp/v1/api.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_ai_stigmer_agentic_channelapp_v1_api: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* ChannelApp registers your own messaging-platform app (e.g. a Slack app) for serving agent channels.
|
|
12
|
+
*
|
|
13
|
+
* By default, agent channels install through the platform's shared
|
|
14
|
+
* Stigmer app. A ChannelApp lets an organization bring its own provider
|
|
15
|
+
* app instead: the bot carries the app's own name and icon, and because
|
|
16
|
+
* each provider app is a distinct bot identity, multiple agents can
|
|
17
|
+
* serve the same workspace side by side. One ChannelApp can be
|
|
18
|
+
* referenced by many AgentChannel connections via spec.app_ref.
|
|
19
|
+
*
|
|
20
|
+
* @internal
|
|
21
|
+
* T04 item 2 (channel strategy tasks/T03_4). Structural sibling of
|
|
22
|
+
* OAuthApp (kind 22) — an org-owned credential holder with encrypted
|
|
23
|
+
* inline secrets — but a different trust surface: OAuthApp models
|
|
24
|
+
* user-authorization OAuth (authorize/token/userinfo URLs); a ChannelApp
|
|
25
|
+
* carries webhook signing secrets and install credentials, so it is a
|
|
26
|
+
* separate kind in the agentic group, never a reuse. Provider variance
|
|
27
|
+
* is a oneof (the AgentChannelSpec.provider_config idiom); WhatsApp
|
|
28
|
+
* (T05) extends the oneof, touching zero kinds.
|
|
29
|
+
*
|
|
30
|
+
* @generated from message ai.stigmer.agentic.channelapp.v1.ChannelApp
|
|
31
|
+
*/
|
|
32
|
+
export type ChannelApp = Message<"ai.stigmer.agentic.channelapp.v1.ChannelApp"> & {
|
|
33
|
+
/**
|
|
34
|
+
* API version for this resource type.
|
|
35
|
+
*
|
|
36
|
+
* @generated from field: string api_version = 1;
|
|
37
|
+
*/
|
|
38
|
+
apiVersion: string;
|
|
39
|
+
/**
|
|
40
|
+
* Resource kind identifier.
|
|
41
|
+
*
|
|
42
|
+
* @generated from field: string kind = 2;
|
|
43
|
+
*/
|
|
44
|
+
kind: string;
|
|
45
|
+
/**
|
|
46
|
+
* Resource metadata including name, organization, and labels.
|
|
47
|
+
*
|
|
48
|
+
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceMetadata metadata = 3;
|
|
49
|
+
*/
|
|
50
|
+
metadata?: ApiResourceMetadata;
|
|
51
|
+
/**
|
|
52
|
+
* Provider app credentials and configuration (desired state).
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: ai.stigmer.agentic.channelapp.v1.ChannelAppSpec spec = 4;
|
|
55
|
+
*/
|
|
56
|
+
spec?: ChannelAppSpec;
|
|
57
|
+
/**
|
|
58
|
+
* System-managed state including audit trail.
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceAuditStatus status = 5;
|
|
61
|
+
*/
|
|
62
|
+
status?: ApiResourceAuditStatus;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message ai.stigmer.agentic.channelapp.v1.ChannelApp.
|
|
66
|
+
* Use `create(ChannelAppSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export declare const ChannelAppSchema: GenMessage<ChannelApp>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file ai/stigmer/agentic/channelapp/v1/api.proto (package ai.stigmer.agentic.channelapp.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_agentic_channelapp_v1_spec } from "./spec_pb.js";
|
|
6
|
+
import { file_ai_stigmer_commons_apiresource_metadata } from "../../../commons/apiresource/metadata_pb.js";
|
|
7
|
+
import { file_ai_stigmer_commons_apiresource_status } from "../../../commons/apiresource/status_pb.js";
|
|
8
|
+
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file ai/stigmer/agentic/channelapp/v1/api.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_ai_stigmer_agentic_channelapp_v1_api = /*@__PURE__*/ fileDesc("CiphaS9zdGlnbWVyL2FnZW50aWMvY2hhbm5lbGFwcC92MS9hcGkucHJvdG8SIGFpLnN0aWdtZXIuYWdlbnRpYy5jaGFubmVsYXBwLnYxIrcCCgpDaGFubmVsQXBwEjEKC2FwaV92ZXJzaW9uGAEgASgJQhy6SBlyFwoVYWdlbnRpYy5zdGlnbWVyLmFpL3YxEh8KBGtpbmQYAiABKAlCEbpIDnIMCgpDaGFubmVsQXBwEk0KCG1ldGFkYXRhGAMgASgLMjMuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlTWV0YWRhdGFCBrpIA8gBARI+CgRzcGVjGAQgASgLMjAuYWkuc3RpZ21lci5hZ2VudGljLmNoYW5uZWxhcHAudjEuQ2hhbm5lbEFwcFNwZWMSRgoGc3RhdHVzGAUgASgLMjYuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlQXVkaXRTdGF0dXNiBnByb3RvMw", [file_ai_stigmer_agentic_channelapp_v1_spec, file_ai_stigmer_commons_apiresource_metadata, file_ai_stigmer_commons_apiresource_status, file_buf_validate_validate]);
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message ai.stigmer.agentic.channelapp.v1.ChannelApp.
|
|
15
|
+
* Use `create(ChannelAppSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const ChannelAppSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_channelapp_v1_api, 0);
|
|
18
|
+
//# sourceMappingURL=api_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/channelapp/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4HAA4H;AAC5H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,0CAA0C,EAAE,MAAM,cAAc,CAAC;AAE1E,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAE3G,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAY,aAAa,CAC7E,QAAQ,CAAC,whBAAwhB,EAAE,CAAC,0CAA0C,EAAE,4CAA4C,EAAE,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AA6DzsB;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA2B,aAAa,CACnE,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ChannelAppCommandController handles write operations for channel apps.
|
|
3
|
+
*
|
|
4
|
+
* @internal
|
|
5
|
+
* ChannelApps hold provider secrets (client_secret, signing_secret) and
|
|
6
|
+
* are always org-private. There is no updateVisibility RPC — public
|
|
7
|
+
* visibility is intentionally unsupported to prevent credential leakage
|
|
8
|
+
* (the OAuthApp posture).
|
|
9
|
+
*
|
|
10
|
+
* @generated from service ai.stigmer.agentic.channelapp.v1.ChannelAppCommandController
|
|
11
|
+
*/
|
|
12
|
+
export declare const ChannelAppCommandController: {
|
|
13
|
+
readonly typeName: "ai.stigmer.agentic.channelapp.v1.ChannelAppCommandController";
|
|
14
|
+
readonly methods: {
|
|
15
|
+
/**
|
|
16
|
+
* Create or update a channel app.
|
|
17
|
+
*
|
|
18
|
+
* If the resource does not exist, creates a new channel app.
|
|
19
|
+
* If the resource exists, updates the existing channel app. Sending
|
|
20
|
+
* the redaction marker for a secret field preserves the stored value.
|
|
21
|
+
*
|
|
22
|
+
* @internal
|
|
23
|
+
* The authorization and state-operation are determined depending on
|
|
24
|
+
* whether the channel app is going to be created or updated, resolved
|
|
25
|
+
* as part of request execution.
|
|
26
|
+
*
|
|
27
|
+
* @generated from rpc ai.stigmer.agentic.channelapp.v1.ChannelAppCommandController.apply
|
|
28
|
+
*/
|
|
29
|
+
readonly apply: {
|
|
30
|
+
readonly name: "apply";
|
|
31
|
+
readonly I: any;
|
|
32
|
+
readonly O: any;
|
|
33
|
+
readonly kind: any;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Create a channel app.
|
|
37
|
+
*
|
|
38
|
+
* The creator's organization owns the channel app. The creator is
|
|
39
|
+
* granted the owner role automatically.
|
|
40
|
+
*
|
|
41
|
+
* @internal
|
|
42
|
+
* Authorization: requires can_create_channel_app permission in the
|
|
43
|
+
* organization (admin-gated like can_create_oauth_app — the resource
|
|
44
|
+
* holds org-wide webhook credentials).
|
|
45
|
+
*
|
|
46
|
+
* @generated from rpc ai.stigmer.agentic.channelapp.v1.ChannelAppCommandController.create
|
|
47
|
+
*/
|
|
48
|
+
readonly create: {
|
|
49
|
+
readonly name: "create";
|
|
50
|
+
readonly I: any;
|
|
51
|
+
readonly O: any;
|
|
52
|
+
readonly kind: any;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Update an existing channel app.
|
|
56
|
+
*
|
|
57
|
+
* Sending the redaction marker for a secret field preserves the
|
|
58
|
+
* stored value; the provider arm is immutable.
|
|
59
|
+
*
|
|
60
|
+
* @internal
|
|
61
|
+
* Authorization: requires can_edit permission on the channel_app
|
|
62
|
+
* resource.
|
|
63
|
+
*
|
|
64
|
+
* @generated from rpc ai.stigmer.agentic.channelapp.v1.ChannelAppCommandController.update
|
|
65
|
+
*/
|
|
66
|
+
readonly update: {
|
|
67
|
+
readonly name: "update";
|
|
68
|
+
readonly I: any;
|
|
69
|
+
readonly O: any;
|
|
70
|
+
readonly kind: any;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Delete a channel app.
|
|
74
|
+
*
|
|
75
|
+
* Deletion is blocked while any AgentChannel references this app via
|
|
76
|
+
* spec.app_ref — disconnect or delete those channels first.
|
|
77
|
+
*
|
|
78
|
+
* @internal
|
|
79
|
+
* Authorization: requires can_delete permission on the channel_app
|
|
80
|
+
* resource. The referencing-channels block mirrors OAuthApp's
|
|
81
|
+
* referencing-mcp-servers check and fails with FAILED_PRECONDITION
|
|
82
|
+
* naming a referencing channel.
|
|
83
|
+
*
|
|
84
|
+
* @generated from rpc ai.stigmer.agentic.channelapp.v1.ChannelAppCommandController.delete
|
|
85
|
+
*/
|
|
86
|
+
readonly delete: {
|
|
87
|
+
readonly name: "delete";
|
|
88
|
+
readonly I: any;
|
|
89
|
+
readonly O: any;
|
|
90
|
+
readonly kind: any;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file ai/stigmer/agentic/channelapp/v1/command.proto (package ai.stigmer.agentic.channelapp.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { ChannelApp } from "./api_pbjs";
|
|
6
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
|
+
import { ApiResourceDeleteInput } from "../../../commons/apiresource/io_pbjs";
|
|
8
|
+
/**
|
|
9
|
+
* ChannelAppCommandController handles write operations for channel apps.
|
|
10
|
+
*
|
|
11
|
+
* @internal
|
|
12
|
+
* ChannelApps hold provider secrets (client_secret, signing_secret) and
|
|
13
|
+
* are always org-private. There is no updateVisibility RPC — public
|
|
14
|
+
* visibility is intentionally unsupported to prevent credential leakage
|
|
15
|
+
* (the OAuthApp posture).
|
|
16
|
+
*
|
|
17
|
+
* @generated from service ai.stigmer.agentic.channelapp.v1.ChannelAppCommandController
|
|
18
|
+
*/
|
|
19
|
+
export const ChannelAppCommandController = {
|
|
20
|
+
typeName: "ai.stigmer.agentic.channelapp.v1.ChannelAppCommandController",
|
|
21
|
+
methods: {
|
|
22
|
+
/**
|
|
23
|
+
* Create or update a channel app.
|
|
24
|
+
*
|
|
25
|
+
* If the resource does not exist, creates a new channel app.
|
|
26
|
+
* If the resource exists, updates the existing channel app. Sending
|
|
27
|
+
* the redaction marker for a secret field preserves the stored value.
|
|
28
|
+
*
|
|
29
|
+
* @internal
|
|
30
|
+
* The authorization and state-operation are determined depending on
|
|
31
|
+
* whether the channel app is going to be created or updated, resolved
|
|
32
|
+
* as part of request execution.
|
|
33
|
+
*
|
|
34
|
+
* @generated from rpc ai.stigmer.agentic.channelapp.v1.ChannelAppCommandController.apply
|
|
35
|
+
*/
|
|
36
|
+
apply: {
|
|
37
|
+
name: "apply",
|
|
38
|
+
I: ChannelApp,
|
|
39
|
+
O: ChannelApp,
|
|
40
|
+
kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* Create a channel app.
|
|
44
|
+
*
|
|
45
|
+
* The creator's organization owns the channel app. The creator is
|
|
46
|
+
* granted the owner role automatically.
|
|
47
|
+
*
|
|
48
|
+
* @internal
|
|
49
|
+
* Authorization: requires can_create_channel_app permission in the
|
|
50
|
+
* organization (admin-gated like can_create_oauth_app — the resource
|
|
51
|
+
* holds org-wide webhook credentials).
|
|
52
|
+
*
|
|
53
|
+
* @generated from rpc ai.stigmer.agentic.channelapp.v1.ChannelAppCommandController.create
|
|
54
|
+
*/
|
|
55
|
+
create: {
|
|
56
|
+
name: "create",
|
|
57
|
+
I: ChannelApp,
|
|
58
|
+
O: ChannelApp,
|
|
59
|
+
kind: MethodKind.Unary,
|
|
60
|
+
},
|
|
61
|
+
/**
|
|
62
|
+
* Update an existing channel app.
|
|
63
|
+
*
|
|
64
|
+
* Sending the redaction marker for a secret field preserves the
|
|
65
|
+
* stored value; the provider arm is immutable.
|
|
66
|
+
*
|
|
67
|
+
* @internal
|
|
68
|
+
* Authorization: requires can_edit permission on the channel_app
|
|
69
|
+
* resource.
|
|
70
|
+
*
|
|
71
|
+
* @generated from rpc ai.stigmer.agentic.channelapp.v1.ChannelAppCommandController.update
|
|
72
|
+
*/
|
|
73
|
+
update: {
|
|
74
|
+
name: "update",
|
|
75
|
+
I: ChannelApp,
|
|
76
|
+
O: ChannelApp,
|
|
77
|
+
kind: MethodKind.Unary,
|
|
78
|
+
},
|
|
79
|
+
/**
|
|
80
|
+
* Delete a channel app.
|
|
81
|
+
*
|
|
82
|
+
* Deletion is blocked while any AgentChannel references this app via
|
|
83
|
+
* spec.app_ref — disconnect or delete those channels first.
|
|
84
|
+
*
|
|
85
|
+
* @internal
|
|
86
|
+
* Authorization: requires can_delete permission on the channel_app
|
|
87
|
+
* resource. The referencing-channels block mirrors OAuthApp's
|
|
88
|
+
* referencing-mcp-servers check and fails with FAILED_PRECONDITION
|
|
89
|
+
* naming a referencing channel.
|
|
90
|
+
*
|
|
91
|
+
* @generated from rpc ai.stigmer.agentic.channelapp.v1.ChannelAppCommandController.delete
|
|
92
|
+
*/
|
|
93
|
+
delete: {
|
|
94
|
+
name: "delete",
|
|
95
|
+
I: ApiResourceDeleteInput,
|
|
96
|
+
O: ChannelApp,
|
|
97
|
+
kind: MethodKind.Unary,
|
|
98
|
+
},
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
//# sourceMappingURL=command_connect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/channelapp/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,gIAAgI;AAChI,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,QAAQ,EAAE,8DAA8D;IACxE,OAAO,EAAE;QACP;;;;;;;;;;;;;WAaG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,UAAU;YACb,CAAC,EAAE,UAAU;YACb,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;WAYG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,UAAU;YACb,CAAC,EAAE,UAAU;YACb,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;WAWG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,UAAU;YACb,CAAC,EAAE,UAAU;YACb,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;WAaG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,UAAU;YACb,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { ChannelAppSchema } from "./api_pb.js";
|
|
3
|
+
import type { ApiResourceDeleteInputSchema } from "../../../commons/apiresource/io_pb.js";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file ai/stigmer/agentic/channelapp/v1/command.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_ai_stigmer_agentic_channelapp_v1_command: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* ChannelAppCommandController handles write operations for channel apps.
|
|
10
|
+
*
|
|
11
|
+
* @internal
|
|
12
|
+
* ChannelApps hold provider secrets (client_secret, signing_secret) and
|
|
13
|
+
* are always org-private. There is no updateVisibility RPC — public
|
|
14
|
+
* visibility is intentionally unsupported to prevent credential leakage
|
|
15
|
+
* (the OAuthApp posture).
|
|
16
|
+
*
|
|
17
|
+
* @generated from service ai.stigmer.agentic.channelapp.v1.ChannelAppCommandController
|
|
18
|
+
*/
|
|
19
|
+
export declare const ChannelAppCommandController: GenService<{
|
|
20
|
+
/**
|
|
21
|
+
* Create or update a channel app.
|
|
22
|
+
*
|
|
23
|
+
* If the resource does not exist, creates a new channel app.
|
|
24
|
+
* If the resource exists, updates the existing channel app. Sending
|
|
25
|
+
* the redaction marker for a secret field preserves the stored value.
|
|
26
|
+
*
|
|
27
|
+
* @internal
|
|
28
|
+
* The authorization and state-operation are determined depending on
|
|
29
|
+
* whether the channel app is going to be created or updated, resolved
|
|
30
|
+
* as part of request execution.
|
|
31
|
+
*
|
|
32
|
+
* @generated from rpc ai.stigmer.agentic.channelapp.v1.ChannelAppCommandController.apply
|
|
33
|
+
*/
|
|
34
|
+
apply: {
|
|
35
|
+
methodKind: "unary";
|
|
36
|
+
input: typeof ChannelAppSchema;
|
|
37
|
+
output: typeof ChannelAppSchema;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Create a channel app.
|
|
41
|
+
*
|
|
42
|
+
* The creator's organization owns the channel app. The creator is
|
|
43
|
+
* granted the owner role automatically.
|
|
44
|
+
*
|
|
45
|
+
* @internal
|
|
46
|
+
* Authorization: requires can_create_channel_app permission in the
|
|
47
|
+
* organization (admin-gated like can_create_oauth_app — the resource
|
|
48
|
+
* holds org-wide webhook credentials).
|
|
49
|
+
*
|
|
50
|
+
* @generated from rpc ai.stigmer.agentic.channelapp.v1.ChannelAppCommandController.create
|
|
51
|
+
*/
|
|
52
|
+
create: {
|
|
53
|
+
methodKind: "unary";
|
|
54
|
+
input: typeof ChannelAppSchema;
|
|
55
|
+
output: typeof ChannelAppSchema;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Update an existing channel app.
|
|
59
|
+
*
|
|
60
|
+
* Sending the redaction marker for a secret field preserves the
|
|
61
|
+
* stored value; the provider arm is immutable.
|
|
62
|
+
*
|
|
63
|
+
* @internal
|
|
64
|
+
* Authorization: requires can_edit permission on the channel_app
|
|
65
|
+
* resource.
|
|
66
|
+
*
|
|
67
|
+
* @generated from rpc ai.stigmer.agentic.channelapp.v1.ChannelAppCommandController.update
|
|
68
|
+
*/
|
|
69
|
+
update: {
|
|
70
|
+
methodKind: "unary";
|
|
71
|
+
input: typeof ChannelAppSchema;
|
|
72
|
+
output: typeof ChannelAppSchema;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Delete a channel app.
|
|
76
|
+
*
|
|
77
|
+
* Deletion is blocked while any AgentChannel references this app via
|
|
78
|
+
* spec.app_ref — disconnect or delete those channels first.
|
|
79
|
+
*
|
|
80
|
+
* @internal
|
|
81
|
+
* Authorization: requires can_delete permission on the channel_app
|
|
82
|
+
* resource. The referencing-channels block mirrors OAuthApp's
|
|
83
|
+
* referencing-mcp-servers check and fails with FAILED_PRECONDITION
|
|
84
|
+
* naming a referencing channel.
|
|
85
|
+
*
|
|
86
|
+
* @generated from rpc ai.stigmer.agentic.channelapp.v1.ChannelAppCommandController.delete
|
|
87
|
+
*/
|
|
88
|
+
delete: {
|
|
89
|
+
methodKind: "unary";
|
|
90
|
+
input: typeof ApiResourceDeleteInputSchema;
|
|
91
|
+
output: typeof ChannelAppSchema;
|
|
92
|
+
};
|
|
93
|
+
}>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file ai/stigmer/agentic/channelapp/v1/command.proto (package ai.stigmer.agentic.channelapp.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_agentic_channelapp_v1_api } from "./api_pb.js";
|
|
6
|
+
import { file_ai_stigmer_commons_apiresource_io } from "../../../commons/apiresource/io_pb.js";
|
|
7
|
+
import { file_ai_stigmer_commons_apiresource_rpc_service_options } from "../../../commons/apiresource/rpc_service_options_pb.js";
|
|
8
|
+
import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb.js";
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file ai/stigmer/agentic/channelapp/v1/command.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_ai_stigmer_agentic_channelapp_v1_command = /*@__PURE__*/ fileDesc("Ci5haS9zdGlnbWVyL2FnZW50aWMvY2hhbm5lbGFwcC92MS9jb21tYW5kLnByb3RvEiBhaS5zdGlnbWVyLmFnZW50aWMuY2hhbm5lbGFwcC52MTKOBQobQ2hhbm5lbEFwcENvbW1hbmRDb250cm9sbGVyEmMKBWFwcGx5EiwuYWkuc3RpZ21lci5hZ2VudGljLmNoYW5uZWxhcHAudjEuQ2hhbm5lbEFwcBosLmFpLnN0aWdtZXIuYWdlbnRpYy5jaGFubmVsYXBwLnYxLkNoYW5uZWxBcHAStQEKBmNyZWF0ZRIsLmFpLnN0aWdtZXIuYWdlbnRpYy5jaGFubmVsYXBwLnYxLkNoYW5uZWxBcHAaLC5haS5zdGlnbWVyLmFnZW50aWMuY2hhbm5lbGFwcC52MS5DaGFubmVsQXBwIk/CuBhLCB8QHiIMbWV0YWRhdGEub3JnKjd1bmF1dGhvcml6ZWQgdG8gY3JlYXRlIGNoYW5uZWwgYXBwIGluIHRoaXMgb3JnYW5pemF0aW9uEp8BCgZ1cGRhdGUSLC5haS5zdGlnbWVyLmFnZW50aWMuY2hhbm5lbGFwcC52MS5DaGFubmVsQXBwGiwuYWkuc3RpZ21lci5hZ2VudGljLmNoYW5uZWxhcHAudjEuQ2hhbm5lbEFwcCI5wrgYNQgCEDAiC21ldGFkYXRhLmlkKiJ1bmF1dGhvcml6ZWQgdG8gdXBkYXRlIGNoYW5uZWwgYXBwEqkBCgZkZWxldGUSNi5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VEZWxldGVJbnB1dBosLmFpLnN0aWdtZXIuYWdlbnRpYy5jaGFubmVsYXBwLnYxLkNoYW5uZWxBcHAiOcK4GDUIAxAwIgtyZXNvdXJjZV9pZCoidW5hdXRob3JpemVkIHRvIGRlbGV0ZSBjaGFubmVsIGFwcBoEoP8rMGIGcHJvdG8z", [file_ai_stigmer_agentic_channelapp_v1_api, file_ai_stigmer_commons_apiresource_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
|
|
13
|
+
/**
|
|
14
|
+
* ChannelAppCommandController handles write operations for channel apps.
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
* ChannelApps hold provider secrets (client_secret, signing_secret) and
|
|
18
|
+
* are always org-private. There is no updateVisibility RPC — public
|
|
19
|
+
* visibility is intentionally unsupported to prevent credential leakage
|
|
20
|
+
* (the OAuthApp posture).
|
|
21
|
+
*
|
|
22
|
+
* @generated from service ai.stigmer.agentic.channelapp.v1.ChannelAppCommandController
|
|
23
|
+
*/
|
|
24
|
+
export const ChannelAppCommandController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_agentic_channelapp_v1_command, 0);
|
|
25
|
+
//# sourceMappingURL=command_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/channelapp/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,gIAAgI;AAChI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,yCAAyC,EAAE,MAAM,aAAa,CAAC;AAExE,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAY,aAAa,CACjF,QAAQ,CAAC,s+BAAs+B,EAAE,CAAC,yCAAyC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE7qC;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,2BAA2B,GA0EnC,aAAa,CAChB,WAAW,CAAC,6CAA6C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { ChannelApp } from "./api_pb.js";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file ai/stigmer/agentic/channelapp/v1/io.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_ai_stigmer_agentic_channelapp_v1_io: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* ChannelApps contains a list of channel app resources.
|
|
10
|
+
*
|
|
11
|
+
* @generated from message ai.stigmer.agentic.channelapp.v1.ChannelApps
|
|
12
|
+
*/
|
|
13
|
+
export type ChannelApps = Message<"ai.stigmer.agentic.channelapp.v1.ChannelApps"> & {
|
|
14
|
+
/**
|
|
15
|
+
* Channel app entries.
|
|
16
|
+
*
|
|
17
|
+
* @generated from field: repeated ai.stigmer.agentic.channelapp.v1.ChannelApp entries = 1;
|
|
18
|
+
*/
|
|
19
|
+
entries: ChannelApp[];
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message ai.stigmer.agentic.channelapp.v1.ChannelApps.
|
|
23
|
+
* Use `create(ChannelAppsSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export declare const ChannelAppsSchema: GenMessage<ChannelApps>;
|
|
26
|
+
/**
|
|
27
|
+
* ListChannelAppsByOrgInput specifies the organization whose channel
|
|
28
|
+
* apps should be returned.
|
|
29
|
+
*
|
|
30
|
+
* @generated from message ai.stigmer.agentic.channelapp.v1.ListChannelAppsByOrgInput
|
|
31
|
+
*/
|
|
32
|
+
export type ListChannelAppsByOrgInput = Message<"ai.stigmer.agentic.channelapp.v1.ListChannelAppsByOrgInput"> & {
|
|
33
|
+
/**
|
|
34
|
+
* Organization slug to list channel apps for.
|
|
35
|
+
*
|
|
36
|
+
* @generated from field: string org = 1;
|
|
37
|
+
*/
|
|
38
|
+
org: string;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message ai.stigmer.agentic.channelapp.v1.ListChannelAppsByOrgInput.
|
|
42
|
+
* Use `create(ListChannelAppsByOrgInputSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export declare const ListChannelAppsByOrgInputSchema: GenMessage<ListChannelAppsByOrgInput>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file ai/stigmer/agentic/channelapp/v1/io.proto (package ai.stigmer.agentic.channelapp.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_agentic_channelapp_v1_api } from "./api_pb.js";
|
|
6
|
+
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file ai/stigmer/agentic/channelapp/v1/io.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_ai_stigmer_agentic_channelapp_v1_io = /*@__PURE__*/ fileDesc("CilhaS9zdGlnbWVyL2FnZW50aWMvY2hhbm5lbGFwcC92MS9pby5wcm90bxIgYWkuc3RpZ21lci5hZ2VudGljLmNoYW5uZWxhcHAudjEiTAoLQ2hhbm5lbEFwcHMSPQoHZW50cmllcxgBIAMoCzIsLmFpLnN0aWdtZXIuYWdlbnRpYy5jaGFubmVsYXBwLnYxLkNoYW5uZWxBcHAiMQoZTGlzdENoYW5uZWxBcHBzQnlPcmdJbnB1dBIUCgNvcmcYASABKAlCB7pIBHICEAFiBnByb3RvMw", [file_ai_stigmer_agentic_channelapp_v1_api, file_buf_validate_validate]);
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message ai.stigmer.agentic.channelapp.v1.ChannelApps.
|
|
13
|
+
* Use `create(ChannelAppsSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export const ChannelAppsSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_channelapp_v1_io, 0);
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message ai.stigmer.agentic.channelapp.v1.ListChannelAppsByOrgInput.
|
|
18
|
+
* Use `create(ListChannelAppsByOrgInputSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export const ListChannelAppsByOrgInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_channelapp_v1_io, 1);
|
|
21
|
+
//# sourceMappingURL=io_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/channelapp/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,2HAA2H;AAC3H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,yCAAyC,EAAE,MAAM,aAAa,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,gSAAgS,EAAE,CAAC,yCAAyC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAgBtX;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AAiB3D;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ChannelAppQueryController handles read operations for channel apps.
|
|
3
|
+
*
|
|
4
|
+
* @internal
|
|
5
|
+
* Every response passes through secret redaction — client_secret and
|
|
6
|
+
* signing_secret are replaced with the redaction marker. Runtime
|
|
7
|
+
* consumers that need the real values (installer, webhook receiver)
|
|
8
|
+
* read the repo directly, the documented OAuthAppResolutionService
|
|
9
|
+
* exception.
|
|
10
|
+
*
|
|
11
|
+
* @generated from service ai.stigmer.agentic.channelapp.v1.ChannelAppQueryController
|
|
12
|
+
*/
|
|
13
|
+
export declare const ChannelAppQueryController: {
|
|
14
|
+
readonly typeName: "ai.stigmer.agentic.channelapp.v1.ChannelAppQueryController";
|
|
15
|
+
readonly methods: {
|
|
16
|
+
/**
|
|
17
|
+
* Get a channel app by its unique identifier.
|
|
18
|
+
*
|
|
19
|
+
* Secret fields are redacted in the response.
|
|
20
|
+
*
|
|
21
|
+
* @internal
|
|
22
|
+
* Authorization: requires can_view permission on the channel_app
|
|
23
|
+
* resource.
|
|
24
|
+
*
|
|
25
|
+
* @generated from rpc ai.stigmer.agentic.channelapp.v1.ChannelAppQueryController.get
|
|
26
|
+
*/
|
|
27
|
+
readonly get: {
|
|
28
|
+
readonly name: "get";
|
|
29
|
+
readonly I: any;
|
|
30
|
+
readonly O: any;
|
|
31
|
+
readonly kind: any;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Get a channel app by its organization-scoped reference (org/slug).
|
|
35
|
+
*
|
|
36
|
+
* Secret fields are redacted in the response.
|
|
37
|
+
*
|
|
38
|
+
* @internal
|
|
39
|
+
* Custom authorization in handler — checks both direct resource access
|
|
40
|
+
* and organization-level visibility permissions (the OAuthApp pattern).
|
|
41
|
+
*
|
|
42
|
+
* @generated from rpc ai.stigmer.agentic.channelapp.v1.ChannelAppQueryController.getByReference
|
|
43
|
+
*/
|
|
44
|
+
readonly getByReference: {
|
|
45
|
+
readonly name: "getByReference";
|
|
46
|
+
readonly I: any;
|
|
47
|
+
readonly O: any;
|
|
48
|
+
readonly kind: any;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* List all channel apps belonging to an organization.
|
|
52
|
+
*
|
|
53
|
+
* Returns every ChannelApp whose metadata.org matches the input org,
|
|
54
|
+
* with secret fields redacted. Typically a small set, so results are
|
|
55
|
+
* not paginated.
|
|
56
|
+
*
|
|
57
|
+
* @internal
|
|
58
|
+
* Authorization: requires can_view permission on the organization
|
|
59
|
+
* resource.
|
|
60
|
+
*
|
|
61
|
+
* @generated from rpc ai.stigmer.agentic.channelapp.v1.ChannelAppQueryController.listByOrg
|
|
62
|
+
*/
|
|
63
|
+
readonly listByOrg: {
|
|
64
|
+
readonly name: "listByOrg";
|
|
65
|
+
readonly I: any;
|
|
66
|
+
readonly O: any;
|
|
67
|
+
readonly kind: any;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|