@stigmer/protos 3.16.0 → 3.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/ai/stigmer/billing/license/v1/api_pb.d.ts +61 -0
  2. package/ai/stigmer/billing/license/v1/api_pb.js +18 -0
  3. package/ai/stigmer/billing/license/v1/api_pb.js.map +1 -0
  4. package/ai/stigmer/billing/license/v1/command_connect.d.ts +31 -0
  5. package/ai/stigmer/billing/license/v1/command_connect.js +38 -0
  6. package/ai/stigmer/billing/license/v1/command_connect.js.map +1 -0
  7. package/ai/stigmer/billing/license/v1/command_pb.d.ts +33 -0
  8. package/ai/stigmer/billing/license/v1/command_pb.js +24 -0
  9. package/ai/stigmer/billing/license/v1/command_pb.js.map +1 -0
  10. package/ai/stigmer/billing/license/v1/io_pb.d.ts +62 -0
  11. package/ai/stigmer/billing/license/v1/io_pb.js +26 -0
  12. package/ai/stigmer/billing/license/v1/io_pb.js.map +1 -0
  13. package/ai/stigmer/billing/license/v1/query_connect.d.ts +36 -0
  14. package/ai/stigmer/billing/license/v1/query_connect.js +44 -0
  15. package/ai/stigmer/billing/license/v1/query_connect.js.map +1 -0
  16. package/ai/stigmer/billing/license/v1/query_pb.d.ts +38 -0
  17. package/ai/stigmer/billing/license/v1/query_pb.js +23 -0
  18. package/ai/stigmer/billing/license/v1/query_pb.js.map +1 -0
  19. package/ai/stigmer/billing/license/v1/spec_pb.d.ts +73 -0
  20. package/ai/stigmer/billing/license/v1/spec_pb.js +18 -0
  21. package/ai/stigmer/billing/license/v1/spec_pb.js.map +1 -0
  22. package/ai/stigmer/billing/license/v1/status_pb.d.ts +52 -0
  23. package/ai/stigmer/billing/license/v1/status_pb.js +16 -0
  24. package/ai/stigmer/billing/license/v1/status_pb.js.map +1 -0
  25. package/ai/stigmer/billing/plan/v1/api_pb.d.ts +63 -0
  26. package/ai/stigmer/billing/plan/v1/api_pb.js +18 -0
  27. package/ai/stigmer/billing/plan/v1/api_pb.js.map +1 -0
  28. package/ai/stigmer/billing/plan/v1/command_connect.d.ts +44 -0
  29. package/ai/stigmer/billing/plan/v1/command_connect.js +52 -0
  30. package/ai/stigmer/billing/plan/v1/command_connect.js.map +1 -0
  31. package/ai/stigmer/billing/plan/v1/command_pb.d.ts +46 -0
  32. package/ai/stigmer/billing/plan/v1/command_pb.js +23 -0
  33. package/ai/stigmer/billing/plan/v1/command_pb.js.map +1 -0
  34. package/ai/stigmer/billing/plan/v1/io_pb.d.ts +62 -0
  35. package/ai/stigmer/billing/plan/v1/io_pb.js +26 -0
  36. package/ai/stigmer/billing/plan/v1/io_pb.js.map +1 -0
  37. package/ai/stigmer/billing/plan/v1/query_connect.d.ts +43 -0
  38. package/ai/stigmer/billing/plan/v1/query_connect.js +51 -0
  39. package/ai/stigmer/billing/plan/v1/query_connect.js.map +1 -0
  40. package/ai/stigmer/billing/plan/v1/query_pb.d.ts +45 -0
  41. package/ai/stigmer/billing/plan/v1/query_pb.js +25 -0
  42. package/ai/stigmer/billing/plan/v1/query_pb.js.map +1 -0
  43. package/ai/stigmer/billing/plan/v1/spec_pb.d.ts +137 -0
  44. package/ai/stigmer/billing/plan/v1/spec_pb.js +55 -0
  45. package/ai/stigmer/billing/plan/v1/spec_pb.js.map +1 -0
  46. package/ai/stigmer/billing/plan/v1/status_pb.d.ts +69 -0
  47. package/ai/stigmer/billing/plan/v1/status_pb.js +47 -0
  48. package/ai/stigmer/billing/plan/v1/status_pb.js.map +1 -0
  49. package/ai/stigmer/billing/subscription/v1/api_pb.d.ts +62 -0
  50. package/ai/stigmer/billing/subscription/v1/api_pb.js +18 -0
  51. package/ai/stigmer/billing/subscription/v1/api_pb.js.map +1 -0
  52. package/ai/stigmer/billing/subscription/v1/command_connect.d.ts +45 -0
  53. package/ai/stigmer/billing/subscription/v1/command_connect.js +53 -0
  54. package/ai/stigmer/billing/subscription/v1/command_connect.js.map +1 -0
  55. package/ai/stigmer/billing/subscription/v1/command_pb.d.ts +47 -0
  56. package/ai/stigmer/billing/subscription/v1/command_pb.js +25 -0
  57. package/ai/stigmer/billing/subscription/v1/command_pb.js.map +1 -0
  58. package/ai/stigmer/billing/subscription/v1/io_pb.d.ts +114 -0
  59. package/ai/stigmer/billing/subscription/v1/io_pb.js +36 -0
  60. package/ai/stigmer/billing/subscription/v1/io_pb.js.map +1 -0
  61. package/ai/stigmer/billing/subscription/v1/query_connect.d.ts +48 -0
  62. package/ai/stigmer/billing/subscription/v1/query_connect.js +56 -0
  63. package/ai/stigmer/billing/subscription/v1/query_connect.js.map +1 -0
  64. package/ai/stigmer/billing/subscription/v1/query_pb.d.ts +50 -0
  65. package/ai/stigmer/billing/subscription/v1/query_pb.js +24 -0
  66. package/ai/stigmer/billing/subscription/v1/query_pb.js.map +1 -0
  67. package/ai/stigmer/billing/subscription/v1/spec_pb.d.ts +30 -0
  68. package/ai/stigmer/billing/subscription/v1/spec_pb.js +15 -0
  69. package/ai/stigmer/billing/subscription/v1/spec_pb.js.map +1 -0
  70. package/ai/stigmer/billing/subscription/v1/status_pb.d.ts +94 -0
  71. package/ai/stigmer/billing/subscription/v1/status_pb.js +56 -0
  72. package/ai/stigmer/billing/subscription/v1/status_pb.js.map +1 -0
  73. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_group_pb.d.ts +12 -1
  74. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_group_pb.js +12 -1
  75. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_group_pb.js.map +1 -1
  76. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +33 -1
  77. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +33 -1
  78. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  79. package/ai/stigmer/iam/v1/enum_pb.d.ts +21 -1
  80. package/ai/stigmer/iam/v1/enum_pb.js +21 -1
  81. package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
  82. package/ai/stigmer/platform/v1/entitlement_pb.d.ts +142 -0
  83. package/ai/stigmer/platform/v1/entitlement_pb.js +81 -0
  84. package/ai/stigmer/platform/v1/entitlement_pb.js.map +1 -0
  85. package/ai/stigmer/platform/v1/license_pb.d.ts +206 -0
  86. package/ai/stigmer/platform/v1/license_pb.js +111 -0
  87. package/ai/stigmer/platform/v1/license_pb.js.map +1 -0
  88. package/ai/stigmer/platform/v1/server_info_connect.d.ts +28 -0
  89. package/ai/stigmer/platform/v1/server_info_connect.js +29 -1
  90. package/ai/stigmer/platform/v1/server_info_connect.js.map +1 -1
  91. package/ai/stigmer/platform/v1/server_info_pb.d.ts +84 -0
  92. package/ai/stigmer/platform/v1/server_info_pb.js +23 -7
  93. package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -1
  94. package/package.json +1 -1
@@ -0,0 +1,63 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { PlanSpec } from "./spec_pb.js";
3
+ import type { PlanStatus } from "./status_pb.js";
4
+ import type { ApiResourceMetadata } from "../../../commons/apiresource/metadata_pb.js";
5
+ import type { Message } from "@bufbuild/protobuf";
6
+ /**
7
+ * Describes the file ai/stigmer/billing/plan/v1/api.proto.
8
+ */
9
+ export declare const file_ai_stigmer_billing_plan_v1_api: GenFile;
10
+ /**
11
+ * Plan is a catalog entry naming a bundle of entitlements and the terms that
12
+ * buy it.
13
+ *
14
+ * A plan is bought through one of two instruments: a Subscription (an
15
+ * organization on Stigmer Cloud) or a License (a self-hosting customer). The
16
+ * entitlements it names are the platform's vocabulary; the terms are the
17
+ * cloud's. A plan is immutable once created: a change of terms is a new Plan,
18
+ * and the old one retires so existing subscriptions can still show what they
19
+ * bought. Plans belong to the platform, not to any organization, so
20
+ * metadata.org is empty. No plan ships in the contract; the catalog's rows
21
+ * are seeded by the cloud.
22
+ *
23
+ * @generated from message ai.stigmer.billing.plan.v1.Plan
24
+ */
25
+ export type Plan = Message<"ai.stigmer.billing.plan.v1.Plan"> & {
26
+ /**
27
+ * API version for this resource type.
28
+ *
29
+ * @generated from field: string api_version = 1;
30
+ */
31
+ apiVersion: string;
32
+ /**
33
+ * Resource kind identifier.
34
+ *
35
+ * @generated from field: string kind = 2;
36
+ */
37
+ kind: string;
38
+ /**
39
+ * Standard resource metadata. A plan has no organization: metadata.org is
40
+ * empty, and the slug is the plan's stable handle ("team", "business").
41
+ *
42
+ * @generated from field: ai.stigmer.commons.apiresource.ApiResourceMetadata metadata = 3;
43
+ */
44
+ metadata?: ApiResourceMetadata;
45
+ /**
46
+ * Operator-provided plan definition: the instrument, the entitlements and
47
+ * the terms.
48
+ *
49
+ * @generated from field: ai.stigmer.billing.plan.v1.PlanSpec spec = 4;
50
+ */
51
+ spec?: PlanSpec;
52
+ /**
53
+ * System-managed state: audit and lifecycle.
54
+ *
55
+ * @generated from field: ai.stigmer.billing.plan.v1.PlanStatus status = 5;
56
+ */
57
+ status?: PlanStatus;
58
+ };
59
+ /**
60
+ * Describes the message ai.stigmer.billing.plan.v1.Plan.
61
+ * Use `create(PlanSchema)` to create a new message.
62
+ */
63
+ export declare const PlanSchema: GenMessage<Plan>;
@@ -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/billing/plan/v1/api.proto (package ai.stigmer.billing.plan.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_billing_plan_v1_spec } from "./spec_pb.js";
6
+ import { file_ai_stigmer_billing_plan_v1_status } from "./status_pb.js";
7
+ import { file_ai_stigmer_commons_apiresource_metadata } from "../../../commons/apiresource/metadata_pb.js";
8
+ import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
9
+ /**
10
+ * Describes the file ai/stigmer/billing/plan/v1/api.proto.
11
+ */
12
+ export const file_ai_stigmer_billing_plan_v1_api = /*@__PURE__*/ fileDesc("CiRhaS9zdGlnbWVyL2JpbGxpbmcvcGxhbi92MS9hcGkucHJvdG8SGmFpLnN0aWdtZXIuYmlsbGluZy5wbGFuLnYxIo8CCgRQbGFuEjEKC2FwaV92ZXJzaW9uGAEgASgJQhy6SBlyFwoVYmlsbGluZy5zdGlnbWVyLmFpL3YxEhkKBGtpbmQYAiABKAlCC7pICHIGCgRQbGFuEk0KCG1ldGFkYXRhGAMgASgLMjMuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlTWV0YWRhdGFCBrpIA8gBARIyCgRzcGVjGAQgASgLMiQuYWkuc3RpZ21lci5iaWxsaW5nLnBsYW4udjEuUGxhblNwZWMSNgoGc3RhdHVzGAUgASgLMiYuYWkuc3RpZ21lci5iaWxsaW5nLnBsYW4udjEuUGxhblN0YXR1c2IGcHJvdG8z", [file_ai_stigmer_billing_plan_v1_spec, file_ai_stigmer_billing_plan_v1_status, file_ai_stigmer_commons_apiresource_metadata, file_buf_validate_validate]);
13
+ /**
14
+ * Describes the message ai.stigmer.billing.plan.v1.Plan.
15
+ * Use `create(PlanSchema)` to create a new message.
16
+ */
17
+ export const PlanSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_billing_plan_v1_api, 0);
18
+ //# sourceMappingURL=api_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/billing/plan/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,gHAAgH;AAChH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,oCAAoC,EAAE,MAAM,cAAc,CAAC;AAEpE,OAAO,EAAE,sCAAsC,EAAE,MAAM,gBAAgB,CAAC;AAExE,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAC3G,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAY,aAAa,CACvE,QAAQ,CAAC,kdAAkd,EAAE,CAAC,oCAAoC,EAAE,sCAAsC,EAAE,4CAA4C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAwDznB;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAqB,aAAa,CACvD,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * PlanCommandController provides the write operations on the plan catalog.
3
+ *
4
+ * A plan is immutable once created, so there is no update: a change of terms
5
+ * is a new Plan and a retire on the old one. Both operations are platform
6
+ * operator acts on the static platform target.
7
+ *
8
+ * @generated from service ai.stigmer.billing.plan.v1.PlanCommandController
9
+ */
10
+ export declare const PlanCommandController: {
11
+ readonly typeName: "ai.stigmer.billing.plan.v1.PlanCommandController";
12
+ readonly methods: {
13
+ /**
14
+ * Create a plan.
15
+ *
16
+ * The plan's slug is its stable handle and must be unique across the
17
+ * catalog. The spec is final at create: to change any term, create a new
18
+ * Plan and retire this one.
19
+ *
20
+ * @generated from rpc ai.stigmer.billing.plan.v1.PlanCommandController.create
21
+ */
22
+ readonly create: {
23
+ readonly name: "create";
24
+ readonly I: any;
25
+ readonly O: any;
26
+ readonly kind: any;
27
+ };
28
+ /**
29
+ * Retire a plan so it can no longer be bought.
30
+ *
31
+ * Existing subscriptions and licenses on the plan keep it; the plan stays
32
+ * readable so they can show their terms. Retiring an already retired plan
33
+ * changes nothing.
34
+ *
35
+ * @generated from rpc ai.stigmer.billing.plan.v1.PlanCommandController.retire
36
+ */
37
+ readonly retire: {
38
+ readonly name: "retire";
39
+ readonly I: any;
40
+ readonly O: any;
41
+ readonly kind: any;
42
+ };
43
+ };
44
+ };
@@ -0,0 +1,52 @@
1
+ // @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts,import_extension=js"
2
+ // @generated from file ai/stigmer/billing/plan/v1/command.proto (package ai.stigmer.billing.plan.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { Plan } from "./api_pbjs";
6
+ import { MethodKind } from "@bufbuild/protobuf";
7
+ import { PlanId } from "./io_pbjs";
8
+ /**
9
+ * PlanCommandController provides the write operations on the plan catalog.
10
+ *
11
+ * A plan is immutable once created, so there is no update: a change of terms
12
+ * is a new Plan and a retire on the old one. Both operations are platform
13
+ * operator acts on the static platform target.
14
+ *
15
+ * @generated from service ai.stigmer.billing.plan.v1.PlanCommandController
16
+ */
17
+ export const PlanCommandController = {
18
+ typeName: "ai.stigmer.billing.plan.v1.PlanCommandController",
19
+ methods: {
20
+ /**
21
+ * Create a plan.
22
+ *
23
+ * The plan's slug is its stable handle and must be unique across the
24
+ * catalog. The spec is final at create: to change any term, create a new
25
+ * Plan and retire this one.
26
+ *
27
+ * @generated from rpc ai.stigmer.billing.plan.v1.PlanCommandController.create
28
+ */
29
+ create: {
30
+ name: "create",
31
+ I: Plan,
32
+ O: Plan,
33
+ kind: MethodKind.Unary,
34
+ },
35
+ /**
36
+ * Retire a plan so it can no longer be bought.
37
+ *
38
+ * Existing subscriptions and licenses on the plan keep it; the plan stays
39
+ * readable so they can show their terms. Retiring an already retired plan
40
+ * changes nothing.
41
+ *
42
+ * @generated from rpc ai.stigmer.billing.plan.v1.PlanCommandController.retire
43
+ */
44
+ retire: {
45
+ name: "retire",
46
+ I: PlanId,
47
+ O: Plan,
48
+ kind: MethodKind.Unary,
49
+ },
50
+ }
51
+ };
52
+ //# sourceMappingURL=command_connect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/billing/plan/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,oHAAoH;AACpH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,QAAQ,EAAE,kDAAkD;IAC5D,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,IAAI;YACP,CAAC,EAAE,IAAI;YACP,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;WAQG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,MAAM;YACT,CAAC,EAAE,IAAI;YACP,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -0,0 +1,46 @@
1
+ import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
2
+ import type { PlanSchema } from "./api_pb.js";
3
+ import type { PlanIdSchema } from "./io_pb.js";
4
+ /**
5
+ * Describes the file ai/stigmer/billing/plan/v1/command.proto.
6
+ */
7
+ export declare const file_ai_stigmer_billing_plan_v1_command: GenFile;
8
+ /**
9
+ * PlanCommandController provides the write operations on the plan catalog.
10
+ *
11
+ * A plan is immutable once created, so there is no update: a change of terms
12
+ * is a new Plan and a retire on the old one. Both operations are platform
13
+ * operator acts on the static platform target.
14
+ *
15
+ * @generated from service ai.stigmer.billing.plan.v1.PlanCommandController
16
+ */
17
+ export declare const PlanCommandController: GenService<{
18
+ /**
19
+ * Create a plan.
20
+ *
21
+ * The plan's slug is its stable handle and must be unique across the
22
+ * catalog. The spec is final at create: to change any term, create a new
23
+ * Plan and retire this one.
24
+ *
25
+ * @generated from rpc ai.stigmer.billing.plan.v1.PlanCommandController.create
26
+ */
27
+ create: {
28
+ methodKind: "unary";
29
+ input: typeof PlanSchema;
30
+ output: typeof PlanSchema;
31
+ };
32
+ /**
33
+ * Retire a plan so it can no longer be bought.
34
+ *
35
+ * Existing subscriptions and licenses on the plan keep it; the plan stays
36
+ * readable so they can show their terms. Retiring an already retired plan
37
+ * changes nothing.
38
+ *
39
+ * @generated from rpc ai.stigmer.billing.plan.v1.PlanCommandController.retire
40
+ */
41
+ retire: {
42
+ methodKind: "unary";
43
+ input: typeof PlanIdSchema;
44
+ output: typeof PlanSchema;
45
+ };
46
+ }>;
@@ -0,0 +1,23 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
2
+ // @generated from file ai/stigmer/billing/plan/v1/command.proto (package ai.stigmer.billing.plan.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_billing_plan_v1_api } from "./api_pb.js";
6
+ import { file_ai_stigmer_billing_plan_v1_io } from "./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/billing/plan/v1/command.proto.
11
+ */
12
+ export const file_ai_stigmer_billing_plan_v1_command = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2JpbGxpbmcvcGxhbi92MS9jb21tYW5kLnByb3RvEhphaS5zdGlnbWVyLmJpbGxpbmcucGxhbi52MTK3AgoVUGxhbkNvbW1hbmRDb250cm9sbGVyEokBCgZjcmVhdGUSIC5haS5zdGlnbWVyLmJpbGxpbmcucGxhbi52MS5QbGFuGiAuYWkuc3RpZ21lci5iaWxsaW5nLnBsYW4udjEuUGxhbiI7wrgYNwgpEB8qKG9ubHkgcGxhdGZvcm0gb3BlcmF0b3JzIGNhbiBtYW5hZ2UgcGxhbnMyB3N0aWdtZXISiwEKBnJldGlyZRIiLmFpLnN0aWdtZXIuYmlsbGluZy5wbGFuLnYxLlBsYW5JZBogLmFpLnN0aWdtZXIuYmlsbGluZy5wbGFuLnYxLlBsYW4iO8K4GDcIKRAfKihvbmx5IHBsYXRmb3JtIG9wZXJhdG9ycyBjYW4gbWFuYWdlIHBsYW5zMgdzdGlnbWVyGgSg/ytGYgZwcm90bzM", [file_ai_stigmer_billing_plan_v1_api, file_ai_stigmer_billing_plan_v1_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
13
+ /**
14
+ * PlanCommandController provides the write operations on the plan catalog.
15
+ *
16
+ * A plan is immutable once created, so there is no update: a change of terms
17
+ * is a new Plan and a retire on the old one. Both operations are platform
18
+ * operator acts on the static platform target.
19
+ *
20
+ * @generated from service ai.stigmer.billing.plan.v1.PlanCommandController
21
+ */
22
+ export const PlanCommandController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_billing_plan_v1_command, 0);
23
+ //# sourceMappingURL=command_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/billing/plan/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,oHAAoH;AACpH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,mCAAmC,EAAE,MAAM,aAAa,CAAC;AAElE,OAAO,EAAE,kCAAkC,EAAE,MAAM,YAAY,CAAC;AAChE,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,6gBAA6gB,EAAE,CAAC,mCAAmC,EAAE,kCAAkC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE1sB;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,qBAAqB,GA6B7B,aAAa,CAChB,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,62 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { Plan } from "./api_pb.js";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file ai/stigmer/billing/plan/v1/io.proto.
6
+ */
7
+ export declare const file_ai_stigmer_billing_plan_v1_io: GenFile;
8
+ /**
9
+ * PlanId identifies a plan by its unique identifier.
10
+ *
11
+ * @generated from message ai.stigmer.billing.plan.v1.PlanId
12
+ */
13
+ export type PlanId = Message<"ai.stigmer.billing.plan.v1.PlanId"> & {
14
+ /**
15
+ * Unique identifier of the plan resource.
16
+ *
17
+ * @generated from field: string value = 1;
18
+ */
19
+ value: string;
20
+ };
21
+ /**
22
+ * Describes the message ai.stigmer.billing.plan.v1.PlanId.
23
+ * Use `create(PlanIdSchema)` to create a new message.
24
+ */
25
+ export declare const PlanIdSchema: GenMessage<PlanId>;
26
+ /**
27
+ * Plans contains a list of plan resources.
28
+ *
29
+ * @generated from message ai.stigmer.billing.plan.v1.Plans
30
+ */
31
+ export type Plans = Message<"ai.stigmer.billing.plan.v1.Plans"> & {
32
+ /**
33
+ * Plan entries.
34
+ *
35
+ * @generated from field: repeated ai.stigmer.billing.plan.v1.Plan entries = 1;
36
+ */
37
+ entries: Plan[];
38
+ };
39
+ /**
40
+ * Describes the message ai.stigmer.billing.plan.v1.Plans.
41
+ * Use `create(PlansSchema)` to create a new message.
42
+ */
43
+ export declare const PlansSchema: GenMessage<Plans>;
44
+ /**
45
+ * ListPlansInput selects which plans to list.
46
+ *
47
+ * @generated from message ai.stigmer.billing.plan.v1.ListPlansInput
48
+ */
49
+ export type ListPlansInput = Message<"ai.stigmer.billing.plan.v1.ListPlansInput"> & {
50
+ /**
51
+ * When true, retired plans are included beside the active ones; by
52
+ * default only plans that can still be bought are returned.
53
+ *
54
+ * @generated from field: bool include_retired = 1;
55
+ */
56
+ includeRetired: boolean;
57
+ };
58
+ /**
59
+ * Describes the message ai.stigmer.billing.plan.v1.ListPlansInput.
60
+ * Use `create(ListPlansInputSchema)` to create a new message.
61
+ */
62
+ export declare const ListPlansInputSchema: GenMessage<ListPlansInput>;
@@ -0,0 +1,26 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
2
+ // @generated from file ai/stigmer/billing/plan/v1/io.proto (package ai.stigmer.billing.plan.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_billing_plan_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/billing/plan/v1/io.proto.
9
+ */
10
+ export const file_ai_stigmer_billing_plan_v1_io = /*@__PURE__*/ fileDesc("CiNhaS9zdGlnbWVyL2JpbGxpbmcvcGxhbi92MS9pby5wcm90bxIaYWkuc3RpZ21lci5iaWxsaW5nLnBsYW4udjEiIgoGUGxhbklkEhgKBXZhbHVlGAEgASgJQgm6SAZyBBABGEAiOgoFUGxhbnMSMQoHZW50cmllcxgBIAMoCzIgLmFpLnN0aWdtZXIuYmlsbGluZy5wbGFuLnYxLlBsYW4iKQoOTGlzdFBsYW5zSW5wdXQSFwoPaW5jbHVkZV9yZXRpcmVkGAEgASgIYgZwcm90bzM", [file_ai_stigmer_billing_plan_v1_api, file_buf_validate_validate]);
11
+ /**
12
+ * Describes the message ai.stigmer.billing.plan.v1.PlanId.
13
+ * Use `create(PlanIdSchema)` to create a new message.
14
+ */
15
+ export const PlanIdSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_billing_plan_v1_io, 0);
16
+ /**
17
+ * Describes the message ai.stigmer.billing.plan.v1.Plans.
18
+ * Use `create(PlansSchema)` to create a new message.
19
+ */
20
+ export const PlansSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_billing_plan_v1_io, 1);
21
+ /**
22
+ * Describes the message ai.stigmer.billing.plan.v1.ListPlansInput.
23
+ * Use `create(ListPlansInputSchema)` to create a new message.
24
+ */
25
+ export const ListPlansInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_billing_plan_v1_io, 2);
26
+ //# sourceMappingURL=io_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/billing/plan/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,+GAA+G;AAC/G,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,mCAAmC,EAAE,MAAM,aAAa,CAAC;AAClE,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAY,aAAa,CACtE,QAAQ,CAAC,6RAA6R,EAAE,CAAC,mCAAmC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAgB7W;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAuB,aAAa,CAC3D,WAAW,CAAC,kCAAkC,EAAE,CAAC,CAAC,CAAC;AAgBrD;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAsB,aAAa,CACzD,WAAW,CAAC,kCAAkC,EAAE,CAAC,CAAC,CAAC;AAiBrD;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,kCAAkC,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * PlanQueryController provides the read operations on the plan catalog.
3
+ *
4
+ * The catalog is readable by every signed-in caller: the console shows it
5
+ * when an organization chooses a plan, and a retired plan stays readable so
6
+ * an existing subscription can show what it bought. It is not public: a
7
+ * public list would put every seeded row, Enterprise tiers and retired terms
8
+ * included, in front of anyone.
9
+ *
10
+ * @generated from service ai.stigmer.billing.plan.v1.PlanQueryController
11
+ */
12
+ export declare const PlanQueryController: {
13
+ readonly typeName: "ai.stigmer.billing.plan.v1.PlanQueryController";
14
+ readonly methods: {
15
+ /**
16
+ * Get a plan by its unique identifier.
17
+ *
18
+ * Any signed-in caller may read any plan, retired plans included.
19
+ *
20
+ * @generated from rpc ai.stigmer.billing.plan.v1.PlanQueryController.get
21
+ */
22
+ readonly get: {
23
+ readonly name: "get";
24
+ readonly I: any;
25
+ readonly O: any;
26
+ readonly kind: any;
27
+ };
28
+ /**
29
+ * List the plans in the catalog.
30
+ *
31
+ * Returns the active plans; set include_retired to see retired ones too.
32
+ * Any signed-in caller may list.
33
+ *
34
+ * @generated from rpc ai.stigmer.billing.plan.v1.PlanQueryController.list
35
+ */
36
+ readonly list: {
37
+ readonly name: "list";
38
+ readonly I: any;
39
+ readonly O: any;
40
+ readonly kind: any;
41
+ };
42
+ };
43
+ };
@@ -0,0 +1,51 @@
1
+ // @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts,import_extension=js"
2
+ // @generated from file ai/stigmer/billing/plan/v1/query.proto (package ai.stigmer.billing.plan.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { ListPlansInput, PlanId, Plans } from "./io_pbjs";
6
+ import { Plan } from "./api_pbjs";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+ /**
9
+ * PlanQueryController provides the read operations on the plan catalog.
10
+ *
11
+ * The catalog is readable by every signed-in caller: the console shows it
12
+ * when an organization chooses a plan, and a retired plan stays readable so
13
+ * an existing subscription can show what it bought. It is not public: a
14
+ * public list would put every seeded row, Enterprise tiers and retired terms
15
+ * included, in front of anyone.
16
+ *
17
+ * @generated from service ai.stigmer.billing.plan.v1.PlanQueryController
18
+ */
19
+ export const PlanQueryController = {
20
+ typeName: "ai.stigmer.billing.plan.v1.PlanQueryController",
21
+ methods: {
22
+ /**
23
+ * Get a plan by its unique identifier.
24
+ *
25
+ * Any signed-in caller may read any plan, retired plans included.
26
+ *
27
+ * @generated from rpc ai.stigmer.billing.plan.v1.PlanQueryController.get
28
+ */
29
+ get: {
30
+ name: "get",
31
+ I: PlanId,
32
+ O: Plan,
33
+ kind: MethodKind.Unary,
34
+ },
35
+ /**
36
+ * List the plans in the catalog.
37
+ *
38
+ * Returns the active plans; set include_retired to see retired ones too.
39
+ * Any signed-in caller may list.
40
+ *
41
+ * @generated from rpc ai.stigmer.billing.plan.v1.PlanQueryController.list
42
+ */
43
+ list: {
44
+ name: "list",
45
+ I: ListPlansInput,
46
+ O: Plans,
47
+ kind: MethodKind.Unary,
48
+ },
49
+ }
50
+ };
51
+ //# sourceMappingURL=query_connect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/billing/plan/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,kHAAkH;AAClH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,QAAQ,EAAE,gDAAgD;IAC1D,OAAO,EAAE;QACP;;;;;;WAMG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,MAAM;YACT,CAAC,EAAE,IAAI;YACP,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;WAOG;QACH,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,CAAC,EAAE,cAAc;YACjB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -0,0 +1,45 @@
1
+ import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
2
+ import type { PlanSchema } from "./api_pb.js";
3
+ import type { ListPlansInputSchema, PlanIdSchema, PlansSchema } from "./io_pb.js";
4
+ /**
5
+ * Describes the file ai/stigmer/billing/plan/v1/query.proto.
6
+ */
7
+ export declare const file_ai_stigmer_billing_plan_v1_query: GenFile;
8
+ /**
9
+ * PlanQueryController provides the read operations on the plan catalog.
10
+ *
11
+ * The catalog is readable by every signed-in caller: the console shows it
12
+ * when an organization chooses a plan, and a retired plan stays readable so
13
+ * an existing subscription can show what it bought. It is not public: a
14
+ * public list would put every seeded row, Enterprise tiers and retired terms
15
+ * included, in front of anyone.
16
+ *
17
+ * @generated from service ai.stigmer.billing.plan.v1.PlanQueryController
18
+ */
19
+ export declare const PlanQueryController: GenService<{
20
+ /**
21
+ * Get a plan by its unique identifier.
22
+ *
23
+ * Any signed-in caller may read any plan, retired plans included.
24
+ *
25
+ * @generated from rpc ai.stigmer.billing.plan.v1.PlanQueryController.get
26
+ */
27
+ get: {
28
+ methodKind: "unary";
29
+ input: typeof PlanIdSchema;
30
+ output: typeof PlanSchema;
31
+ };
32
+ /**
33
+ * List the plans in the catalog.
34
+ *
35
+ * Returns the active plans; set include_retired to see retired ones too.
36
+ * Any signed-in caller may list.
37
+ *
38
+ * @generated from rpc ai.stigmer.billing.plan.v1.PlanQueryController.list
39
+ */
40
+ list: {
41
+ methodKind: "unary";
42
+ input: typeof ListPlansInputSchema;
43
+ output: typeof PlansSchema;
44
+ };
45
+ }>;
@@ -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/billing/plan/v1/query.proto (package ai.stigmer.billing.plan.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_billing_plan_v1_api } from "./api_pb.js";
6
+ import { file_ai_stigmer_billing_plan_v1_io } from "./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/billing/plan/v1/query.proto.
11
+ */
12
+ export const file_ai_stigmer_billing_plan_v1_query = /*@__PURE__*/ fileDesc("CiZhaS9zdGlnbWVyL2JpbGxpbmcvcGxhbi92MS9xdWVyeS5wcm90bxIaYWkuc3RpZ21lci5iaWxsaW5nLnBsYW4udjEyywEKE1BsYW5RdWVyeUNvbnRyb2xsZXISUQoDZ2V0EiIuYWkuc3RpZ21lci5iaWxsaW5nLnBsYW4udjEuUGxhbklkGiAuYWkuc3RpZ21lci5iaWxsaW5nLnBsYW4udjEuUGxhbiIE0LgYARJbCgRsaXN0EiouYWkuc3RpZ21lci5iaWxsaW5nLnBsYW4udjEuTGlzdFBsYW5zSW5wdXQaIS5haS5zdGlnbWVyLmJpbGxpbmcucGxhbi52MS5QbGFucyIE0LgYARoEoP8rRmIGcHJvdG8z", [file_ai_stigmer_billing_plan_v1_api, file_ai_stigmer_billing_plan_v1_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
13
+ /**
14
+ * PlanQueryController provides the read operations on the plan catalog.
15
+ *
16
+ * The catalog is readable by every signed-in caller: the console shows it
17
+ * when an organization chooses a plan, and a retired plan stays readable so
18
+ * an existing subscription can show what it bought. It is not public: a
19
+ * public list would put every seeded row, Enterprise tiers and retired terms
20
+ * included, in front of anyone.
21
+ *
22
+ * @generated from service ai.stigmer.billing.plan.v1.PlanQueryController
23
+ */
24
+ export const PlanQueryController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_billing_plan_v1_query, 0);
25
+ //# sourceMappingURL=query_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/billing/plan/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,kHAAkH;AAClH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,mCAAmC,EAAE,MAAM,aAAa,CAAC;AAElE,OAAO,EAAE,kCAAkC,EAAE,MAAM,YAAY,CAAC;AAChE,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,0XAA0X,EAAE,CAAC,mCAAmC,EAAE,kCAAkC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEvjB;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,mBAAmB,GA0B3B,aAAa,CAChB,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC"}