@stigmer/protos 0.0.72 → 0.0.74

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.
Files changed (178) hide show
  1. package/ai/stigmer/agentic/agent/v1/command_pb.js +2 -2
  2. package/ai/stigmer/agentic/agent/v1/command_pb.js.map +1 -1
  3. package/ai/stigmer/agentic/agent/v1/query_pb.js +2 -2
  4. package/ai/stigmer/agentic/agent/v1/query_pb.js.map +1 -1
  5. package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +8 -6
  6. package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
  7. package/ai/stigmer/agentic/agentexecution/v1/command_pb.js +2 -2
  8. package/ai/stigmer/agentic/agentexecution/v1/command_pb.js.map +1 -1
  9. package/ai/stigmer/agentic/agentexecution/v1/message_pb.d.ts +4 -3
  10. package/ai/stigmer/agentic/agentexecution/v1/message_pb.js.map +1 -1
  11. package/ai/stigmer/agentic/agentexecution/v1/query_connect.d.ts +2 -8
  12. package/ai/stigmer/agentic/agentexecution/v1/query_connect.js +2 -8
  13. package/ai/stigmer/agentic/agentexecution/v1/query_connect.js.map +1 -1
  14. package/ai/stigmer/agentic/agentexecution/v1/query_pb.d.ts +2 -8
  15. package/ai/stigmer/agentic/agentexecution/v1/query_pb.js +2 -2
  16. package/ai/stigmer/agentic/agentexecution/v1/query_pb.js.map +1 -1
  17. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +1 -1
  18. package/ai/stigmer/agentic/agentinstance/v1/command_pb.js +2 -2
  19. package/ai/stigmer/agentic/agentinstance/v1/command_pb.js.map +1 -1
  20. package/ai/stigmer/agentic/agentinstance/v1/query_pb.js +2 -2
  21. package/ai/stigmer/agentic/agentinstance/v1/query_pb.js.map +1 -1
  22. package/ai/stigmer/agentic/environment/v1/command_pb.js +2 -2
  23. package/ai/stigmer/agentic/environment/v1/command_pb.js.map +1 -1
  24. package/ai/stigmer/agentic/environment/v1/query_pb.js +2 -2
  25. package/ai/stigmer/agentic/environment/v1/query_pb.js.map +1 -1
  26. package/ai/stigmer/agentic/executioncontext/v1/command_pb.js +2 -2
  27. package/ai/stigmer/agentic/executioncontext/v1/command_pb.js.map +1 -1
  28. package/ai/stigmer/agentic/executioncontext/v1/query_pb.js +2 -2
  29. package/ai/stigmer/agentic/executioncontext/v1/query_pb.js.map +1 -1
  30. package/ai/stigmer/agentic/mcpserver/v1/command_connect.d.ts +16 -36
  31. package/ai/stigmer/agentic/mcpserver/v1/command_connect.js +17 -37
  32. package/ai/stigmer/agentic/mcpserver/v1/command_connect.js.map +1 -1
  33. package/ai/stigmer/agentic/mcpserver/v1/command_pb.d.ts +17 -36
  34. package/ai/stigmer/agentic/mcpserver/v1/command_pb.js +2 -2
  35. package/ai/stigmer/agentic/mcpserver/v1/command_pb.js.map +1 -1
  36. package/ai/stigmer/agentic/mcpserver/v1/io_pb.d.ts +20 -48
  37. package/ai/stigmer/agentic/mcpserver/v1/io_pb.js +4 -10
  38. package/ai/stigmer/agentic/mcpserver/v1/io_pb.js.map +1 -1
  39. package/ai/stigmer/agentic/mcpserver/v1/query_pb.js +2 -2
  40. package/ai/stigmer/agentic/mcpserver/v1/query_pb.js.map +1 -1
  41. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +100 -15
  42. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js +7 -1
  43. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
  44. package/ai/stigmer/agentic/mcpserver/v1/status_pb.d.ts +26 -60
  45. package/ai/stigmer/agentic/mcpserver/v1/status_pb.js +2 -45
  46. package/ai/stigmer/agentic/mcpserver/v1/status_pb.js.map +1 -1
  47. package/ai/stigmer/agentic/session/v1/command_pb.js +2 -2
  48. package/ai/stigmer/agentic/session/v1/command_pb.js.map +1 -1
  49. package/ai/stigmer/agentic/session/v1/query_pb.js +2 -2
  50. package/ai/stigmer/agentic/session/v1/query_pb.js.map +1 -1
  51. package/ai/stigmer/agentic/skill/v1/command_pb.js +2 -2
  52. package/ai/stigmer/agentic/skill/v1/command_pb.js.map +1 -1
  53. package/ai/stigmer/agentic/skill/v1/query_pb.js +2 -2
  54. package/ai/stigmer/agentic/skill/v1/query_pb.js.map +1 -1
  55. package/ai/stigmer/agentic/workflow/v1/command_pb.js +2 -2
  56. package/ai/stigmer/agentic/workflow/v1/command_pb.js.map +1 -1
  57. package/ai/stigmer/agentic/workflow/v1/query_pb.js +2 -2
  58. package/ai/stigmer/agentic/workflow/v1/query_pb.js.map +1 -1
  59. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js +2 -2
  60. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js.map +1 -1
  61. package/ai/stigmer/agentic/workflowexecution/v1/query_pb.js +2 -2
  62. package/ai/stigmer/agentic/workflowexecution/v1/query_pb.js.map +1 -1
  63. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js +2 -2
  64. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js.map +1 -1
  65. package/ai/stigmer/agentic/workflowinstance/v1/query_pb.js +2 -2
  66. package/ai/stigmer/agentic/workflowinstance/v1/query_pb.js.map +1 -1
  67. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +6 -0
  68. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +7 -1
  69. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  70. package/ai/stigmer/commons/apiresource/apiresourcekind/authorization_config_pb.d.ts +28 -0
  71. package/ai/stigmer/commons/apiresource/apiresourcekind/authorization_config_pb.js +2 -1
  72. package/ai/stigmer/commons/apiresource/apiresourcekind/authorization_config_pb.js.map +1 -1
  73. package/ai/stigmer/{iam/iampolicy/v1/rpcauthorization/io_pb.d.ts → commons/rpc/authorization_config_pb.d.ts} +9 -9
  74. package/ai/stigmer/commons/rpc/authorization_config_pb.js +16 -0
  75. package/ai/stigmer/commons/rpc/authorization_config_pb.js.map +1 -0
  76. package/ai/stigmer/{iam/iampolicy/v1/rpcauthorization → commons/rpc}/method_options_pb.d.ts +4 -4
  77. package/ai/stigmer/commons/rpc/method_options_pb.js +29 -0
  78. package/ai/stigmer/commons/rpc/method_options_pb.js.map +1 -0
  79. package/ai/stigmer/iam/apikey/v1/command_pb.js +2 -2
  80. package/ai/stigmer/iam/apikey/v1/command_pb.js.map +1 -1
  81. package/ai/stigmer/iam/apikey/v1/query_pb.js +2 -2
  82. package/ai/stigmer/iam/apikey/v1/query_pb.js.map +1 -1
  83. package/ai/stigmer/iam/iampolicy/v1/command_connect.d.ts +33 -0
  84. package/ai/stigmer/iam/iampolicy/v1/command_connect.js +33 -0
  85. package/ai/stigmer/iam/iampolicy/v1/command_connect.js.map +1 -1
  86. package/ai/stigmer/iam/iampolicy/v1/command_pb.d.ts +33 -0
  87. package/ai/stigmer/iam/iampolicy/v1/command_pb.js +3 -2
  88. package/ai/stigmer/iam/iampolicy/v1/command_pb.js.map +1 -1
  89. package/ai/stigmer/iam/iampolicy/v1/query_connect.d.ts +66 -0
  90. package/ai/stigmer/iam/iampolicy/v1/query_connect.js +66 -0
  91. package/ai/stigmer/iam/iampolicy/v1/query_connect.js.map +1 -1
  92. package/ai/stigmer/iam/iampolicy/v1/query_pb.d.ts +64 -1
  93. package/ai/stigmer/iam/iampolicy/v1/query_pb.js +2 -2
  94. package/ai/stigmer/iam/iampolicy/v1/query_pb.js.map +1 -1
  95. package/ai/stigmer/iam/iampolicy/v1/spec_pb.d.ts +1 -1
  96. package/ai/stigmer/iam/identityaccount/v1/command_connect.d.ts +61 -1
  97. package/ai/stigmer/iam/identityaccount/v1/command_connect.js +61 -1
  98. package/ai/stigmer/iam/identityaccount/v1/command_connect.js.map +1 -1
  99. package/ai/stigmer/iam/identityaccount/v1/command_pb.d.ts +59 -2
  100. package/ai/stigmer/iam/identityaccount/v1/command_pb.js +2 -2
  101. package/ai/stigmer/iam/identityaccount/v1/command_pb.js.map +1 -1
  102. package/ai/stigmer/iam/identityaccount/v1/enum_pb.d.ts +1 -1
  103. package/ai/stigmer/iam/identityaccount/v1/enum_pb.js +1 -1
  104. package/ai/stigmer/iam/identityaccount/v1/io_pb.d.ts +219 -0
  105. package/ai/stigmer/iam/identityaccount/v1/io_pb.js +22 -1
  106. package/ai/stigmer/iam/identityaccount/v1/io_pb.js.map +1 -1
  107. package/ai/stigmer/iam/identityaccount/v1/query_connect.d.ts +26 -2
  108. package/ai/stigmer/iam/identityaccount/v1/query_connect.js +26 -2
  109. package/ai/stigmer/iam/identityaccount/v1/query_connect.js.map +1 -1
  110. package/ai/stigmer/iam/identityaccount/v1/query_pb.d.ts +26 -3
  111. package/ai/stigmer/iam/identityaccount/v1/query_pb.js +2 -2
  112. package/ai/stigmer/iam/identityaccount/v1/query_pb.js.map +1 -1
  113. package/ai/stigmer/iam/identityaccount/v1/spec_pb.d.ts +9 -7
  114. package/ai/stigmer/iam/identityaccount/v1/spec_pb.js.map +1 -1
  115. package/ai/stigmer/iam/identityprovider/v1/command_pb.js +2 -2
  116. package/ai/stigmer/iam/identityprovider/v1/command_pb.js.map +1 -1
  117. package/ai/stigmer/iam/identityprovider/v1/io_pb.d.ts +88 -0
  118. package/ai/stigmer/iam/identityprovider/v1/io_pb.js +16 -1
  119. package/ai/stigmer/iam/identityprovider/v1/io_pb.js.map +1 -1
  120. package/ai/stigmer/iam/identityprovider/v1/query_connect.d.ts +39 -0
  121. package/ai/stigmer/iam/identityprovider/v1/query_connect.js +39 -0
  122. package/ai/stigmer/iam/identityprovider/v1/query_connect.js.map +1 -1
  123. package/ai/stigmer/iam/identityprovider/v1/query_pb.d.ts +38 -0
  124. package/ai/stigmer/iam/identityprovider/v1/query_pb.js +3 -2
  125. package/ai/stigmer/iam/identityprovider/v1/query_pb.js.map +1 -1
  126. package/ai/stigmer/iam/identityprovider/v1/spec_pb.d.ts +60 -7
  127. package/ai/stigmer/iam/identityprovider/v1/spec_pb.js +1 -1
  128. package/ai/stigmer/iam/identityprovider/v1/spec_pb.js.map +1 -1
  129. package/ai/stigmer/iam/invitation/v1/api_pb.d.ts +132 -0
  130. package/ai/stigmer/iam/invitation/v1/api_pb.js +30 -0
  131. package/ai/stigmer/iam/invitation/v1/api_pb.js.map +1 -0
  132. package/ai/stigmer/iam/invitation/v1/command_connect.d.ts +79 -0
  133. package/ai/stigmer/iam/invitation/v1/command_connect.js +85 -0
  134. package/ai/stigmer/iam/invitation/v1/command_connect.js.map +1 -0
  135. package/ai/stigmer/iam/invitation/v1/command_pb.d.ts +80 -0
  136. package/ai/stigmer/iam/invitation/v1/command_pb.js +19 -0
  137. package/ai/stigmer/iam/invitation/v1/command_pb.js.map +1 -0
  138. package/ai/stigmer/iam/invitation/v1/enum_pb.d.ts +49 -0
  139. package/ai/stigmer/iam/invitation/v1/enum_pb.js +54 -0
  140. package/ai/stigmer/iam/invitation/v1/enum_pb.js.map +1 -0
  141. package/ai/stigmer/iam/invitation/v1/io_pb.d.ts +173 -0
  142. package/ai/stigmer/iam/invitation/v1/io_pb.js +43 -0
  143. package/ai/stigmer/iam/invitation/v1/io_pb.js.map +1 -0
  144. package/ai/stigmer/iam/invitation/v1/query_connect.d.ts +68 -0
  145. package/ai/stigmer/iam/invitation/v1/query_connect.js +74 -0
  146. package/ai/stigmer/iam/invitation/v1/query_connect.js.map +1 -0
  147. package/ai/stigmer/iam/invitation/v1/query_pb.d.ts +69 -0
  148. package/ai/stigmer/iam/invitation/v1/query_pb.js +19 -0
  149. package/ai/stigmer/iam/invitation/v1/query_pb.js.map +1 -0
  150. package/ai/stigmer/iam/invitation/v1/spec_pb.d.ts +77 -0
  151. package/ai/stigmer/iam/invitation/v1/spec_pb.js +17 -0
  152. package/ai/stigmer/iam/invitation/v1/spec_pb.js.map +1 -0
  153. package/ai/stigmer/iam/v1/enum_pb.d.ts +183 -0
  154. package/ai/stigmer/iam/v1/enum_pb.js +189 -0
  155. package/ai/stigmer/iam/v1/enum_pb.js.map +1 -0
  156. package/ai/stigmer/platform/github/v1/service_pb.js +2 -2
  157. package/ai/stigmer/platform/github/v1/service_pb.js.map +1 -1
  158. package/ai/stigmer/search/v1/io_pb.d.ts +15 -0
  159. package/ai/stigmer/search/v1/io_pb.js +1 -1
  160. package/ai/stigmer/search/v1/io_pb.js.map +1 -1
  161. package/ai/stigmer/search/v1/query_pb.js +2 -2
  162. package/ai/stigmer/search/v1/query_pb.js.map +1 -1
  163. package/ai/stigmer/tenancy/organization/v1/command_pb.js +2 -2
  164. package/ai/stigmer/tenancy/organization/v1/command_pb.js.map +1 -1
  165. package/ai/stigmer/tenancy/organization/v1/query_pb.js +2 -2
  166. package/ai/stigmer/tenancy/organization/v1/query_pb.js.map +1 -1
  167. package/ai/stigmer/tenancy/project/v1/command_pb.js +2 -2
  168. package/ai/stigmer/tenancy/project/v1/command_pb.js.map +1 -1
  169. package/ai/stigmer/tenancy/project/v1/query_pb.js +2 -2
  170. package/ai/stigmer/tenancy/project/v1/query_pb.js.map +1 -1
  171. package/package.json +1 -1
  172. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.d.ts +0 -198
  173. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.js +0 -203
  174. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.js.map +0 -1
  175. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/io_pb.js +0 -16
  176. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/io_pb.js.map +0 -1
  177. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/method_options_pb.js +0 -29
  178. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/method_options_pb.js.map +0 -1
@@ -0,0 +1,54 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
2
+ // @generated from file ai/stigmer/iam/invitation/v1/enum.proto (package ai.stigmer.iam.invitation.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv1";
5
+ /**
6
+ * Describes the file ai/stigmer/iam/invitation/v1/enum.proto.
7
+ */
8
+ export const file_ai_stigmer_iam_invitation_v1_enum = /*@__PURE__*/ fileDesc("CidhaS9zdGlnbWVyL2lhbS9pbnZpdGF0aW9uL3YxL2VudW0ucHJvdG8SHGFpLnN0aWdtZXIuaWFtLmludml0YXRpb24udjEqbQoPSW52aXRhdGlvblN0YXRlEiAKHGludml0YXRpb25fc3RhdGVfdW5zcGVjaWZpZWQQABIKCgZhY3RpdmUQARILCgdleHBpcmVkEAISCwoHcmV2b2tlZBADEhIKDmZ1bGx5X3JlZGVlbWVkEARiBnByb3RvMw");
9
+ /**
10
+ * InvitationState tracks the lifecycle of an invitation link.
11
+ *
12
+ * State transitions:
13
+ * active -> expired (system: past expires_at)
14
+ * active -> revoked (admin: explicit revocation)
15
+ * active -> fully_redeemed (system: redemption_count >= max_redemptions)
16
+ *
17
+ * @generated from enum ai.stigmer.iam.invitation.v1.InvitationState
18
+ */
19
+ export var InvitationState;
20
+ (function (InvitationState) {
21
+ /**
22
+ * @generated from enum value: invitation_state_unspecified = 0;
23
+ */
24
+ InvitationState[InvitationState["invitation_state_unspecified"] = 0] = "invitation_state_unspecified";
25
+ /**
26
+ * The invitation is valid and can be redeemed.
27
+ *
28
+ * @generated from enum value: active = 1;
29
+ */
30
+ InvitationState[InvitationState["active"] = 1] = "active";
31
+ /**
32
+ * The invitation has passed its expires_at timestamp.
33
+ *
34
+ * @generated from enum value: expired = 2;
35
+ */
36
+ InvitationState[InvitationState["expired"] = 2] = "expired";
37
+ /**
38
+ * An org admin explicitly revoked the invitation.
39
+ *
40
+ * @generated from enum value: revoked = 3;
41
+ */
42
+ InvitationState[InvitationState["revoked"] = 3] = "revoked";
43
+ /**
44
+ * The invitation reached its max_redemptions limit.
45
+ *
46
+ * @generated from enum value: fully_redeemed = 4;
47
+ */
48
+ InvitationState[InvitationState["fully_redeemed"] = 4] = "fully_redeemed";
49
+ })(InvitationState || (InvitationState = {}));
50
+ /**
51
+ * Describes the enum ai.stigmer.iam.invitation.v1.InvitationState.
52
+ */
53
+ export const InvitationStateSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_iam_invitation_v1_enum, 0);
54
+ //# sourceMappingURL=enum_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enum_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/invitation/v1/enum_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,qHAAqH;AACrH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAY,aAAa,CAC1E,QAAQ,CAAC,gQAAgQ,CAAC,CAAC;AAE7Q;;;;;;;;;GASG;AACH,MAAM,CAAN,IAAY,eAiCX;AAjCD,WAAY,eAAe;IACzB;;OAEG;IACH,qGAAgC,CAAA;IAEhC;;;;OAIG;IACH,yDAAU,CAAA;IAEV;;;;OAIG;IACH,2DAAW,CAAA;IAEX;;;;OAIG;IACH,2DAAW,CAAA;IAEX;;;;OAIG;IACH,yEAAkB,CAAA;AACpB,CAAC,EAjCW,eAAe,KAAf,eAAe,QAiC1B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAA6B,aAAa,CAC1E,QAAQ,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,173 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { Invitation } from "./api_pb";
3
+ import type { IamRole } from "../../v1/enum_pb";
4
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
5
+ import type { Message } from "@bufbuild/protobuf";
6
+ /**
7
+ * Describes the file ai/stigmer/iam/invitation/v1/io.proto.
8
+ */
9
+ export declare const file_ai_stigmer_iam_invitation_v1_io: GenFile;
10
+ /**
11
+ * InvitationId identifies an invitation by its unique identifier.
12
+ *
13
+ * @generated from message ai.stigmer.iam.invitation.v1.InvitationId
14
+ */
15
+ export type InvitationId = Message<"ai.stigmer.iam.invitation.v1.InvitationId"> & {
16
+ /**
17
+ * Unique identifier of the invitation resource.
18
+ *
19
+ * @generated from field: string value = 1;
20
+ */
21
+ value: string;
22
+ };
23
+ /**
24
+ * Describes the message ai.stigmer.iam.invitation.v1.InvitationId.
25
+ * Use `create(InvitationIdSchema)` to create a new message.
26
+ */
27
+ export declare const InvitationIdSchema: GenMessage<InvitationId>;
28
+ /**
29
+ * Invitations contains a list of invitation resources.
30
+ *
31
+ * @generated from message ai.stigmer.iam.invitation.v1.Invitations
32
+ */
33
+ export type Invitations = Message<"ai.stigmer.iam.invitation.v1.Invitations"> & {
34
+ /**
35
+ * Invitation entries.
36
+ *
37
+ * @generated from field: repeated ai.stigmer.iam.invitation.v1.Invitation entries = 1;
38
+ */
39
+ entries: Invitation[];
40
+ };
41
+ /**
42
+ * Describes the message ai.stigmer.iam.invitation.v1.Invitations.
43
+ * Use `create(InvitationsSchema)` to create a new message.
44
+ */
45
+ export declare const InvitationsSchema: GenMessage<Invitations>;
46
+ /**
47
+ * ListInvitationsByOrgInput specifies the organization whose invitations
48
+ * should be returned.
49
+ *
50
+ * @generated from message ai.stigmer.iam.invitation.v1.ListInvitationsByOrgInput
51
+ */
52
+ export type ListInvitationsByOrgInput = Message<"ai.stigmer.iam.invitation.v1.ListInvitationsByOrgInput"> & {
53
+ /**
54
+ * Organization slug to list invitations for.
55
+ *
56
+ * @generated from field: string org = 1;
57
+ */
58
+ org: string;
59
+ };
60
+ /**
61
+ * Describes the message ai.stigmer.iam.invitation.v1.ListInvitationsByOrgInput.
62
+ * Use `create(ListInvitationsByOrgInputSchema)` to create a new message.
63
+ */
64
+ export declare const ListInvitationsByOrgInputSchema: GenMessage<ListInvitationsByOrgInput>;
65
+ /**
66
+ * InvitationTokenInput identifies an invitation by its shareable token.
67
+ *
68
+ * @generated from message ai.stigmer.iam.invitation.v1.InvitationTokenInput
69
+ */
70
+ export type InvitationTokenInput = Message<"ai.stigmer.iam.invitation.v1.InvitationTokenInput"> & {
71
+ /**
72
+ * The cryptographically random token from the invite URL.
73
+ *
74
+ * @generated from field: string token = 1;
75
+ */
76
+ token: string;
77
+ };
78
+ /**
79
+ * Describes the message ai.stigmer.iam.invitation.v1.InvitationTokenInput.
80
+ * Use `create(InvitationTokenInputSchema)` to create a new message.
81
+ */
82
+ export declare const InvitationTokenInputSchema: GenMessage<InvitationTokenInput>;
83
+ /**
84
+ * RedeemInvitationInput is the request to redeem an invitation.
85
+ * The redeemer's identity is resolved from the authentication header.
86
+ *
87
+ * @generated from message ai.stigmer.iam.invitation.v1.RedeemInvitationInput
88
+ */
89
+ export type RedeemInvitationInput = Message<"ai.stigmer.iam.invitation.v1.RedeemInvitationInput"> & {
90
+ /**
91
+ * The cryptographically random token from the invite URL.
92
+ *
93
+ * @generated from field: string token = 1;
94
+ */
95
+ token: string;
96
+ };
97
+ /**
98
+ * Describes the message ai.stigmer.iam.invitation.v1.RedeemInvitationInput.
99
+ * Use `create(RedeemInvitationInputSchema)` to create a new message.
100
+ */
101
+ export declare const RedeemInvitationInputSchema: GenMessage<RedeemInvitationInput>;
102
+ /**
103
+ * InvitationPreview is a safe projection of an invitation for unauthenticated
104
+ * users viewing an invite link.
105
+ *
106
+ * This message is returned by the getByToken query, which requires no
107
+ * authentication. It intentionally omits sensitive fields (token value,
108
+ * redemption history) and includes only the information needed to render
109
+ * the "You've been invited to join [org]" page.
110
+ *
111
+ * Information disclosure is acceptable here because the token is already
112
+ * a shared secret — knowing the org name is necessary to render the
113
+ * invitation acceptance page.
114
+ *
115
+ * @generated from message ai.stigmer.iam.invitation.v1.InvitationPreview
116
+ */
117
+ export type InvitationPreview = Message<"ai.stigmer.iam.invitation.v1.InvitationPreview"> & {
118
+ /**
119
+ * Display name of the organization.
120
+ *
121
+ * @generated from field: string organization_name = 1;
122
+ */
123
+ organizationName: string;
124
+ /**
125
+ * URL-friendly identifier of the organization.
126
+ *
127
+ * @generated from field: string organization_slug = 2;
128
+ */
129
+ organizationSlug: string;
130
+ /**
131
+ * URL to the organization's logo image.
132
+ *
133
+ * @generated from field: string organization_logo_url = 3;
134
+ */
135
+ organizationLogoUrl: string;
136
+ /**
137
+ * The role that will be granted upon redemption.
138
+ *
139
+ * @generated from field: ai.stigmer.iam.v1.IamRole role = 4;
140
+ */
141
+ role: IamRole;
142
+ /**
143
+ * When this invitation expires.
144
+ *
145
+ * @generated from field: google.protobuf.Timestamp expires_at = 5;
146
+ */
147
+ expiresAt?: Timestamp;
148
+ /**
149
+ * Human-readable label describing the invitation's purpose.
150
+ *
151
+ * @generated from field: string label = 6;
152
+ */
153
+ label: string;
154
+ /**
155
+ * Whether this invitation can currently be redeemed.
156
+ * False if expired, revoked, or fully redeemed.
157
+ *
158
+ * @generated from field: bool is_valid = 7;
159
+ */
160
+ isValid: boolean;
161
+ /**
162
+ * Human-readable reason when is_valid is false.
163
+ * Empty when the invitation is valid.
164
+ *
165
+ * @generated from field: string invalid_reason = 8;
166
+ */
167
+ invalidReason: string;
168
+ };
169
+ /**
170
+ * Describes the message ai.stigmer.iam.invitation.v1.InvitationPreview.
171
+ * Use `create(InvitationPreviewSchema)` to create a new message.
172
+ */
173
+ export declare const InvitationPreviewSchema: GenMessage<InvitationPreview>;
@@ -0,0 +1,43 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
2
+ // @generated from file ai/stigmer/iam/invitation/v1/io.proto (package ai.stigmer.iam.invitation.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_iam_invitation_v1_api } from "./api_pb";
6
+ import { file_ai_stigmer_iam_v1_enum } from "../../v1/enum_pb";
7
+ import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb";
8
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
9
+ /**
10
+ * Describes the file ai/stigmer/iam/invitation/v1/io.proto.
11
+ */
12
+ export const file_ai_stigmer_iam_invitation_v1_io = /*@__PURE__*/ fileDesc("CiVhaS9zdGlnbWVyL2lhbS9pbnZpdGF0aW9uL3YxL2lvLnByb3RvEhxhaS5zdGlnbWVyLmlhbS5pbnZpdGF0aW9uLnYxIiUKDEludml0YXRpb25JZBIVCgV2YWx1ZRgBIAEoCUIGukgDyAEBIkgKC0ludml0YXRpb25zEjkKB2VudHJpZXMYASADKAsyKC5haS5zdGlnbWVyLmlhbS5pbnZpdGF0aW9uLnYxLkludml0YXRpb24iMQoZTGlzdEludml0YXRpb25zQnlPcmdJbnB1dBIUCgNvcmcYASABKAlCB7pIBHICEAEiLgoUSW52aXRhdGlvblRva2VuSW5wdXQSFgoFdG9rZW4YASABKAlCB7pIBHICEAEiLwoVUmVkZWVtSW52aXRhdGlvbklucHV0EhYKBXRva2VuGAEgASgJQge6SARyAhABIvsBChFJbnZpdGF0aW9uUHJldmlldxIZChFvcmdhbml6YXRpb25fbmFtZRgBIAEoCRIZChFvcmdhbml6YXRpb25fc2x1ZxgCIAEoCRIdChVvcmdhbml6YXRpb25fbG9nb191cmwYAyABKAkSKAoEcm9sZRgEIAEoDjIaLmFpLnN0aWdtZXIuaWFtLnYxLklhbVJvbGUSLgoKZXhwaXJlc19hdBgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASDQoFbGFiZWwYBiABKAkSEAoIaXNfdmFsaWQYByABKAgSFgoOaW52YWxpZF9yZWFzb24YCCABKAliBnByb3RvMw", [file_ai_stigmer_iam_invitation_v1_api, file_ai_stigmer_iam_v1_enum, file_buf_validate_validate, file_google_protobuf_timestamp]);
13
+ /**
14
+ * Describes the message ai.stigmer.iam.invitation.v1.InvitationId.
15
+ * Use `create(InvitationIdSchema)` to create a new message.
16
+ */
17
+ export const InvitationIdSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_iam_invitation_v1_io, 0);
18
+ /**
19
+ * Describes the message ai.stigmer.iam.invitation.v1.Invitations.
20
+ * Use `create(InvitationsSchema)` to create a new message.
21
+ */
22
+ export const InvitationsSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_iam_invitation_v1_io, 1);
23
+ /**
24
+ * Describes the message ai.stigmer.iam.invitation.v1.ListInvitationsByOrgInput.
25
+ * Use `create(ListInvitationsByOrgInputSchema)` to create a new message.
26
+ */
27
+ export const ListInvitationsByOrgInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_iam_invitation_v1_io, 2);
28
+ /**
29
+ * Describes the message ai.stigmer.iam.invitation.v1.InvitationTokenInput.
30
+ * Use `create(InvitationTokenInputSchema)` to create a new message.
31
+ */
32
+ export const InvitationTokenInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_iam_invitation_v1_io, 3);
33
+ /**
34
+ * Describes the message ai.stigmer.iam.invitation.v1.RedeemInvitationInput.
35
+ * Use `create(RedeemInvitationInputSchema)` to create a new message.
36
+ */
37
+ export const RedeemInvitationInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_iam_invitation_v1_io, 4);
38
+ /**
39
+ * Describes the message ai.stigmer.iam.invitation.v1.InvitationPreview.
40
+ * Use `create(InvitationPreviewSchema)` to create a new message.
41
+ */
42
+ export const InvitationPreviewSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_iam_invitation_v1_io, 5);
43
+ //# sourceMappingURL=io_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/invitation/v1/io_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,mHAAmH;AACnH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,qCAAqC,EAAE,MAAM,UAAU,CAAC;AAEjE,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAErF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAY,aAAa,CACxE,QAAQ,CAAC,wxBAAwxB,EAAE,CAAC,qCAAqC,EAAE,2BAA2B,EAAE,0BAA0B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AAgBv6B;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,oCAAoC,EAAE,CAAC,CAAC,CAAC;AAgBvD;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,oCAAoC,EAAE,CAAC,CAAC,CAAC;AAiBvD;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,oCAAoC,EAAE,CAAC,CAAC,CAAC;AAgBvD;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,oCAAoC,EAAE,CAAC,CAAC,CAAC;AAiBvD;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAsC,aAAa,CACzF,WAAW,CAAC,oCAAoC,EAAE,CAAC,CAAC,CAAC;AA6EvD;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,oCAAoC,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,68 @@
1
+ /**
2
+ * InvitationQueryController handles read operations for invitations.
3
+ *
4
+ * @generated from service ai.stigmer.iam.invitation.v1.InvitationQueryController
5
+ */
6
+ export declare const InvitationQueryController: {
7
+ readonly typeName: "ai.stigmer.iam.invitation.v1.InvitationQueryController";
8
+ readonly methods: {
9
+ /**
10
+ * Get an invitation by its unique identifier.
11
+ *
12
+ * @internal
13
+ * Authorization: Requires can_view permission on the invitation resource.
14
+ *
15
+ * @generated from rpc ai.stigmer.iam.invitation.v1.InvitationQueryController.get
16
+ */
17
+ readonly get: {
18
+ readonly name: "get";
19
+ readonly I: any;
20
+ readonly O: any;
21
+ readonly kind: any;
22
+ };
23
+ /**
24
+ * List all invitations belonging to an organization.
25
+ *
26
+ * Returns invitations ordered by creation time (newest first).
27
+ *
28
+ * @internal
29
+ * Authorization: Requires can_view_access permission on the organization.
30
+ * This is intentionally stricter than can_view — only users who can
31
+ * manage org access (admins and owners) should see invitation links.
32
+ *
33
+ * @generated from rpc ai.stigmer.iam.invitation.v1.InvitationQueryController.listByOrg
34
+ */
35
+ readonly listByOrg: {
36
+ readonly name: "listByOrg";
37
+ readonly I: any;
38
+ readonly O: any;
39
+ readonly kind: any;
40
+ };
41
+ /**
42
+ * Get a preview of an invitation by its shareable token.
43
+ *
44
+ * Returns a safe projection (InvitationPreview) containing only the
45
+ * information needed to render the invite acceptance page: organization
46
+ * name, logo, the role being offered, and whether the invitation is
47
+ * still valid.
48
+ *
49
+ * This endpoint is called by the web app's invite page before the user
50
+ * has authenticated, so it requires no authorization. The response
51
+ * intentionally omits the token value, redemption history, and internal
52
+ * invitation metadata.
53
+ *
54
+ * @internal
55
+ * Authorization: none — unauthenticated, public endpoint for rendering
56
+ * the invite acceptance page. Uses is_skip_authorization following the
57
+ * getSsoProvider precedent.
58
+ *
59
+ * @generated from rpc ai.stigmer.iam.invitation.v1.InvitationQueryController.getByToken
60
+ */
61
+ readonly getByToken: {
62
+ readonly name: "getByToken";
63
+ readonly I: any;
64
+ readonly O: any;
65
+ readonly kind: any;
66
+ };
67
+ };
68
+ };
@@ -0,0 +1,74 @@
1
+ // @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts"
2
+ // @generated from file ai/stigmer/iam/invitation/v1/query.proto (package ai.stigmer.iam.invitation.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { MethodKind } from "@bufbuild/protobuf";
6
+ /**
7
+ * InvitationQueryController handles read operations for invitations.
8
+ *
9
+ * @generated from service ai.stigmer.iam.invitation.v1.InvitationQueryController
10
+ */
11
+ export const InvitationQueryController = {
12
+ typeName: "ai.stigmer.iam.invitation.v1.InvitationQueryController",
13
+ methods: {
14
+ /**
15
+ * Get an invitation by its unique identifier.
16
+ *
17
+ * @internal
18
+ * Authorization: Requires can_view permission on the invitation resource.
19
+ *
20
+ * @generated from rpc ai.stigmer.iam.invitation.v1.InvitationQueryController.get
21
+ */
22
+ get: {
23
+ name: "get",
24
+ I: InvitationId,
25
+ O: Invitation,
26
+ kind: MethodKind.Unary,
27
+ },
28
+ /**
29
+ * List all invitations belonging to an organization.
30
+ *
31
+ * Returns invitations ordered by creation time (newest first).
32
+ *
33
+ * @internal
34
+ * Authorization: Requires can_view_access permission on the organization.
35
+ * This is intentionally stricter than can_view — only users who can
36
+ * manage org access (admins and owners) should see invitation links.
37
+ *
38
+ * @generated from rpc ai.stigmer.iam.invitation.v1.InvitationQueryController.listByOrg
39
+ */
40
+ listByOrg: {
41
+ name: "listByOrg",
42
+ I: ListInvitationsByOrgInput,
43
+ O: Invitations,
44
+ kind: MethodKind.Unary,
45
+ },
46
+ /**
47
+ * Get a preview of an invitation by its shareable token.
48
+ *
49
+ * Returns a safe projection (InvitationPreview) containing only the
50
+ * information needed to render the invite acceptance page: organization
51
+ * name, logo, the role being offered, and whether the invitation is
52
+ * still valid.
53
+ *
54
+ * This endpoint is called by the web app's invite page before the user
55
+ * has authenticated, so it requires no authorization. The response
56
+ * intentionally omits the token value, redemption history, and internal
57
+ * invitation metadata.
58
+ *
59
+ * @internal
60
+ * Authorization: none — unauthenticated, public endpoint for rendering
61
+ * the invite acceptance page. Uses is_skip_authorization following the
62
+ * getSsoProvider precedent.
63
+ *
64
+ * @generated from rpc ai.stigmer.iam.invitation.v1.InvitationQueryController.getByToken
65
+ */
66
+ getByToken: {
67
+ name: "getByToken",
68
+ I: InvitationTokenInput,
69
+ O: InvitationPreview,
70
+ kind: MethodKind.Unary,
71
+ },
72
+ }
73
+ };
74
+ //# sourceMappingURL=query_connect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/invitation/v1/query_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,sHAAsH;AACtH,oBAAoB;AACpB,cAAc;AAId,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,QAAQ,EAAE,wDAAwD;IAClE,OAAO,EAAE;QACP;;;;;;;WAOG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,YAAY;YACf,CAAC,EAAE,UAAU;YACb,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;WAWG;QACH,SAAS,EAAE;YACT,IAAI,EAAE,WAAW;YACjB,CAAC,EAAE,yBAAyB;YAC5B,CAAC,EAAE,WAAW;YACd,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;WAmBG;QACH,UAAU,EAAE;YACV,IAAI,EAAE,YAAY;YAClB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,iBAAiB;YACpB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -0,0 +1,69 @@
1
+ import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
2
+ import type { InvitationSchema } from "./api_pb";
3
+ import type { InvitationIdSchema, InvitationPreviewSchema, InvitationsSchema, InvitationTokenInputSchema, ListInvitationsByOrgInputSchema } from "./io_pb";
4
+ /**
5
+ * Describes the file ai/stigmer/iam/invitation/v1/query.proto.
6
+ */
7
+ export declare const file_ai_stigmer_iam_invitation_v1_query: GenFile;
8
+ /**
9
+ * InvitationQueryController handles read operations for invitations.
10
+ *
11
+ * @generated from service ai.stigmer.iam.invitation.v1.InvitationQueryController
12
+ */
13
+ export declare const InvitationQueryController: GenService<{
14
+ /**
15
+ * Get an invitation by its unique identifier.
16
+ *
17
+ * @internal
18
+ * Authorization: Requires can_view permission on the invitation resource.
19
+ *
20
+ * @generated from rpc ai.stigmer.iam.invitation.v1.InvitationQueryController.get
21
+ */
22
+ get: {
23
+ methodKind: "unary";
24
+ input: typeof InvitationIdSchema;
25
+ output: typeof InvitationSchema;
26
+ };
27
+ /**
28
+ * List all invitations belonging to an organization.
29
+ *
30
+ * Returns invitations ordered by creation time (newest first).
31
+ *
32
+ * @internal
33
+ * Authorization: Requires can_view_access permission on the organization.
34
+ * This is intentionally stricter than can_view — only users who can
35
+ * manage org access (admins and owners) should see invitation links.
36
+ *
37
+ * @generated from rpc ai.stigmer.iam.invitation.v1.InvitationQueryController.listByOrg
38
+ */
39
+ listByOrg: {
40
+ methodKind: "unary";
41
+ input: typeof ListInvitationsByOrgInputSchema;
42
+ output: typeof InvitationsSchema;
43
+ };
44
+ /**
45
+ * Get a preview of an invitation by its shareable token.
46
+ *
47
+ * Returns a safe projection (InvitationPreview) containing only the
48
+ * information needed to render the invite acceptance page: organization
49
+ * name, logo, the role being offered, and whether the invitation is
50
+ * still valid.
51
+ *
52
+ * This endpoint is called by the web app's invite page before the user
53
+ * has authenticated, so it requires no authorization. The response
54
+ * intentionally omits the token value, redemption history, and internal
55
+ * invitation metadata.
56
+ *
57
+ * @internal
58
+ * Authorization: none — unauthenticated, public endpoint for rendering
59
+ * the invite acceptance page. Uses is_skip_authorization following the
60
+ * getSsoProvider precedent.
61
+ *
62
+ * @generated from rpc ai.stigmer.iam.invitation.v1.InvitationQueryController.getByToken
63
+ */
64
+ getByToken: {
65
+ methodKind: "unary";
66
+ input: typeof InvitationTokenInputSchema;
67
+ output: typeof InvitationPreviewSchema;
68
+ };
69
+ }>;
@@ -0,0 +1,19 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
2
+ // @generated from file ai/stigmer/iam/invitation/v1/query.proto (package ai.stigmer.iam.invitation.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_commons_apiresource_rpc_service_options } from "../../../commons/apiresource/rpc_service_options_pb";
6
+ import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb";
7
+ import { file_ai_stigmer_iam_invitation_v1_api } from "./api_pb";
8
+ import { file_ai_stigmer_iam_invitation_v1_io } from "./io_pb";
9
+ /**
10
+ * Describes the file ai/stigmer/iam/invitation/v1/query.proto.
11
+ */
12
+ export const file_ai_stigmer_iam_invitation_v1_query = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2lhbS9pbnZpdGF0aW9uL3YxL3F1ZXJ5LnByb3RvEhxhaS5zdGlnbWVyLmlhbS5pbnZpdGF0aW9uLnYxMuIDChlJbnZpdGF0aW9uUXVlcnlDb250cm9sbGVyEo0BCgNnZXQSKi5haS5zdGlnbWVyLmlhbS5pbnZpdGF0aW9uLnYxLkludml0YXRpb25JZBooLmFpLnN0aWdtZXIuaWFtLmludml0YXRpb24udjEuSW52aXRhdGlvbiIwwrgYLAgBEBQiBXZhbHVlKh91bmF1dGhvcml6ZWQgdG8gdmlldyBpbnZpdGF0aW9uErUBCglsaXN0QnlPcmcSNy5haS5zdGlnbWVyLmlhbS5pbnZpdGF0aW9uLnYxLkxpc3RJbnZpdGF0aW9uc0J5T3JnSW5wdXQaKS5haS5zdGlnbWVyLmlhbS5pbnZpdGF0aW9uLnYxLkludml0YXRpb25zIkTCuBhACAUQHiIDb3JnKjV1bmF1dGhvcml6ZWQgdG8gbGlzdCBpbnZpdGF0aW9ucyBpbiB0aGlzIG9yZ2FuaXphdGlvbhJ3CgpnZXRCeVRva2VuEjIuYWkuc3RpZ21lci5pYW0uaW52aXRhdGlvbi52MS5JbnZpdGF0aW9uVG9rZW5JbnB1dBovLmFpLnN0aWdtZXIuaWFtLmludml0YXRpb24udjEuSW52aXRhdGlvblByZXZpZXciBNC4GAEaBKD/KxRiBnByb3RvMw", [file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options, file_ai_stigmer_iam_invitation_v1_api, file_ai_stigmer_iam_invitation_v1_io]);
13
+ /**
14
+ * InvitationQueryController handles read operations for invitations.
15
+ *
16
+ * @generated from service ai.stigmer.iam.invitation.v1.InvitationQueryController
17
+ */
18
+ export const InvitationQueryController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_iam_invitation_v1_query, 0);
19
+ //# sourceMappingURL=query_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/invitation/v1/query_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,sHAAsH;AACtH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,uDAAuD,EAAE,MAAM,qDAAqD,CAAC;AAC9H,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AAEpG,OAAO,EAAE,qCAAqC,EAAE,MAAM,UAAU,CAAC;AAEjE,OAAO,EAAE,oCAAoC,EAAE,MAAM,SAAS,CAAC;AAE/D;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,ovBAAovB,EAAE,CAAC,uDAAuD,EAAE,0CAA0C,EAAE,qCAAqC,EAAE,oCAAoC,CAAC,CAAC,CAAC;AAEr7B;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAwDjC,aAAa,CAChB,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,77 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { IamRole } from "../../v1/enum_pb";
3
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
4
+ import type { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file ai/stigmer/iam/invitation/v1/spec.proto.
7
+ */
8
+ export declare const file_ai_stigmer_iam_invitation_v1_spec: GenFile;
9
+ /**
10
+ * InvitationSpec defines the user-provided configuration for an invitation.
11
+ *
12
+ * An invitation is a shareable link that grants a specific role to anyone
13
+ * who redeems it. Invitations can be multi-use (persistent org invite link)
14
+ * or single-use (targeted invitation for a specific person).
15
+ *
16
+ * Example YAML (persistent org invite link):
17
+ * apiVersion: iam.stigmer.ai/v1
18
+ * kind: Invitation
19
+ * metadata:
20
+ * name: engineering-team-link
21
+ * org: acme
22
+ * spec:
23
+ * role: viewer
24
+ * max_redemptions: 0
25
+ * expires_at: "2026-05-06T00:00:00Z"
26
+ * label: "Engineering team invite"
27
+ *
28
+ * Example YAML (single-use targeted invite):
29
+ * apiVersion: iam.stigmer.ai/v1
30
+ * kind: Invitation
31
+ * metadata:
32
+ * name: contractor-invite
33
+ * org: acme
34
+ * spec:
35
+ * role: member
36
+ * max_redemptions: 1
37
+ * expires_at: "2026-04-13T00:00:00Z"
38
+ * label: "Contractor onboarding"
39
+ *
40
+ * @generated from message ai.stigmer.iam.invitation.v1.InvitationSpec
41
+ */
42
+ export type InvitationSpec = Message<"ai.stigmer.iam.invitation.v1.InvitationSpec"> & {
43
+ /**
44
+ * The role granted to the identity account upon redemption.
45
+ * Must be a role listed in the organization's grantable_roles.
46
+ *
47
+ * @generated from field: ai.stigmer.iam.v1.IamRole role = 1;
48
+ */
49
+ role: IamRole;
50
+ /**
51
+ * Maximum number of times this invitation can be redeemed.
52
+ * 0 means unlimited (use for persistent org invite links).
53
+ * 1 means single-use (use for targeted invitations).
54
+ *
55
+ * @generated from field: int32 max_redemptions = 2;
56
+ */
57
+ maxRedemptions: number;
58
+ /**
59
+ * When this invitation expires. Required.
60
+ * The backend enforces a maximum expiration window (configurable per org).
61
+ *
62
+ * @generated from field: google.protobuf.Timestamp expires_at = 3;
63
+ */
64
+ expiresAt?: Timestamp;
65
+ /**
66
+ * Human-readable label for organizational purposes.
67
+ * Helps admins distinguish between multiple active invitations.
68
+ *
69
+ * @generated from field: string label = 4;
70
+ */
71
+ label: string;
72
+ };
73
+ /**
74
+ * Describes the message ai.stigmer.iam.invitation.v1.InvitationSpec.
75
+ * Use `create(InvitationSpecSchema)` to create a new message.
76
+ */
77
+ export declare const InvitationSpecSchema: GenMessage<InvitationSpec>;
@@ -0,0 +1,17 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
2
+ // @generated from file ai/stigmer/iam/invitation/v1/spec.proto (package ai.stigmer.iam.invitation.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_iam_v1_enum } from "../../v1/enum_pb";
6
+ import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb";
7
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
8
+ /**
9
+ * Describes the file ai/stigmer/iam/invitation/v1/spec.proto.
10
+ */
11
+ export const file_ai_stigmer_iam_invitation_v1_spec = /*@__PURE__*/ fileDesc("CidhaS9zdGlnbWVyL2lhbS9pbnZpdGF0aW9uL3YxL3NwZWMucHJvdG8SHGFpLnN0aWdtZXIuaWFtLmludml0YXRpb24udjEirAEKDkludml0YXRpb25TcGVjEjAKBHJvbGUYASABKA4yGi5haS5zdGlnbWVyLmlhbS52MS5JYW1Sb2xlQga6SAPIAQESFwoPbWF4X3JlZGVtcHRpb25zGAIgASgFEjYKCmV4cGlyZXNfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQga6SAPIAQESFwoFbGFiZWwYBCABKAlCCLpIBXIDGMgBYgZwcm90bzM", [file_ai_stigmer_iam_v1_enum, file_buf_validate_validate, file_google_protobuf_timestamp]);
12
+ /**
13
+ * Describes the message ai.stigmer.iam.invitation.v1.InvitationSpec.
14
+ * Use `create(InvitationSpecSchema)` to create a new message.
15
+ */
16
+ export const InvitationSpecSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_iam_invitation_v1_spec, 0);
17
+ //# sourceMappingURL=spec_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/invitation/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,qHAAqH;AACrH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAErF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAY,aAAa,CAC1E,QAAQ,CAAC,qVAAqV,EAAE,CAAC,2BAA2B,EAAE,0BAA0B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AAsE7b;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAC"}