@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
@@ -364,7 +364,39 @@ export declare enum ApiResourceKind {
364
364
  *
365
365
  * @generated from enum value: project = 60;
366
366
  */
367
- project = 60
367
+ project = 60,
368
+ /**
369
+ * Catalog entry naming a bundle of entitlements and the terms that buy it.
370
+ *
371
+ * Platform-level: a plan belongs to no organization, so it carries no
372
+ * authorization scope and no owner. Immutable once created; a change of
373
+ * terms is a new Plan and the old one retires.
374
+ *
375
+ * @generated from enum value: plan = 70;
376
+ */
377
+ plan = 70,
378
+ /**
379
+ * An organization's binding to a Plan; at most one active per organization.
380
+ *
381
+ * System-created: the payment system drives its lifecycle, so it has no
382
+ * owner and grants no roles. Its reads and writes authorize on the
383
+ * organization through the billing permissions.
384
+ *
385
+ * @generated from enum value: subscription = 71;
386
+ */
387
+ subscription = 71,
388
+ /**
389
+ * A signed grant of entitlements to a self-hosting customer for a term.
390
+ *
391
+ * Platform-level: issued by the cloud's operators and verified offline by
392
+ * the Enterprise server, so the customer is a value inside the license
393
+ * (which may or may not name a cloud organization) and the kind has no
394
+ * authorization scope and no owner. Claims are immutable once signed; a
395
+ * renewal is a new License.
396
+ *
397
+ * @generated from enum value: license = 72;
398
+ */
399
+ license = 72
368
400
  }
369
401
  /**
370
402
  * Describes the enum ai.stigmer.commons.apiresource.apiresourcekind.ApiResourceKind.
@@ -8,7 +8,7 @@ import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
8
8
  /**
9
9
  * Describes the file ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind.proto.
10
10
  */
11
- export const file_ai_stigmer_commons_apiresource_apiresourcekind_api_resource_kind = /*@__PURE__*/ fileDesc("CkZhaS9zdGlnbWVyL2NvbW1vbnMvYXBpcmVzb3VyY2UvYXBpcmVzb3VyY2VraW5kL2FwaV9yZXNvdXJjZV9raW5kLnByb3RvEi5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuYXBpcmVzb3VyY2VraW5kIswDChNBcGlSZXNvdXJjZUtpbmRNZXRhEk8KBWdyb3VwGAEgASgOMkAuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLmFwaXJlc291cmNla2luZC5BcGlSZXNvdXJjZUdyb3VwElMKB3ZlcnNpb24YAiABKA4yQi5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuYXBpcmVzb3VyY2VraW5kLkFwaVJlc291cmNlVmVyc2lvbhIMCgRuYW1lGAMgASgJEhQKDGRpc3BsYXlfbmFtZRgEIAEoCRIRCglpZF9wcmVmaXgYBSABKAkSFAoMaXNfdmVyc2lvbmVkGAYgASgIEhoKEm5vdF9zZWFyY2hfaW5kZXhlZBgHIAEoCBJKCgR0aWVyGAggASgOMjwuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLmFwaXJlc291cmNla2luZC5SZXNvdXJjZVRpZXISWgoNYXV0aG9yaXphdGlvbhgJIAEoCzJDLmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5hcGlyZXNvdXJjZWtpbmQuQXV0aG9yaXphdGlvbkNvbmZpZypCChJBcGlSZXNvdXJjZVZlcnNpb24SJAogYXBpX3Jlc291cmNlX3ZlcnNp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rMQgBEAEaBlBsdWdpbiIGUGx1Z2luKgNwbGcwAUABShIIAhABKggIARABGAEgAToCAQQSOAoHcHJvamVjdBA8Giuq/ysnCAMQARoHUHJvamVjdCIHUHJvamVjdCoDcHJqQAFKCAgCEAE6AgEEIgQIMRAxKglkYXRhc3RvcmU6hQEKCWtpbmRfbWV0YRIhLmdvb2dsZS5wcm90b2J1Zi5FbnVtVmFsdWVPcHRpb25zGPW/BSABKAsyQy5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuYXBpcmVzb3VyY2VraW5kLkFwaVJlc291cmNlS2luZE1ldGFSCGtpbmRNZXRhQhtCGUFwaVJlc291cmNlS2luZE91dGVyQ2xhc3NiBnByb3RvMw", [file_ai_stigmer_commons_apiresource_apiresourcekind_api_resource_group, file_ai_stigmer_commons_apiresource_apiresourcekind_authorization_config, file_google_protobuf_descriptor]);
11
+ export const file_ai_stigmer_commons_apiresource_apiresourcekind_api_resource_kind = /*@__PURE__*/ fileDesc("CkZhaS9zdGlnbWVyL2NvbW1vbnMvYXBpcmVzb3VyY2UvYXBpcmVzb3VyY2VraW5kL2FwaV9yZXNvdXJjZV9raW5kLnByb3RvEi5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuYXBpcmVzb3VyY2VraW5kIswDChNBcGlSZXNvdXJjZUtpbmRNZXRhEk8KBWdyb3VwGAEgASgOMkAuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLmFwaXJlc291cmNla2luZC5BcGlSZXNvdXJjZUdyb3VwElMKB3ZlcnNpb24YAiABKA4yQi5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuYXBpcmVzb3VyY2VraW5kLkFwaVJlc291cmNlVmVyc2lvbhIMCgRuYW1lGAMgASgJEhQKDGRpc3BsYXlfbmFtZRgEIAEoCRIRCglpZF9wcmVmaXgYBSABKAkSFAoMaXNfdmVyc2lvbmVkGAYgASgIEhoKEm5vdF9zZWFyY2h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V4dCIRRXhlY3V0aW9uIENvbnRleHQqBGVjdHhAAUoECAQQARI9CghzY2hlZHVsZRA4Gi+q/ysrCAEQARoIU2NoZWR1bGUiCFNjaGVkdWxlKgNzY2g4AUABSggIAhABOgIBBBJtCgZtZW1vcnkQORphqv8rXQgBEAEaBk1lbW9yeSIGTWVtb3J5KgNtZW04AUABSj4IAhAEIjgKEGlkZW50aXR5X2FjY291bnQSB3N1YmplY3QaG3N1YmplY3RfaWRlbnRpdHlfYWNjb3VudF9pZBJBCgZwbHVnaW4QOho1qv8rMQgBEAEaBlBsdWdpbiIGUGx1Z2luKgNwbGcwAUABShIIAhABKggIARABGAEgAToCAQQSOAoHcHJvamVjdBA8Giuq/ysnCAMQARoHUHJvamVjdCIHUHJvamVjdCoDcHJqQAFKCAgCEAE6AgEEEi0KBHBsYW4QRhojqv8rHwgEEAEaBFBsYW4iBFBsYW4qA3BsbjgBQAJKBAgFEAQSRQoMc3Vic2NyaXB0aW9uEEcaM6r/Ky8IBBABGgxTdWJzY3JpcHRpb24iDFN1YnNjcmlwdGlvbioDc3ViOAFAAkoECAIQBBI2CgdsaWNlbnNlEEgaKar/KyUIBBABGgdMaWNlbnNlIgdMaWNlbnNlKgNsaWM4AUACSgQIBRAEIgQIMRAxKglkYXRhc3RvcmU6hQEKCWtpbmRfbWV0YRIhLmdvb2dsZS5wcm90b2J1Zi5FbnVtVmFsdWVPcHRpb25zGPW/BSABKAsyQy5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuYXBpcmVzb3VyY2VraW5kLkFwaVJlc291cmNlS2luZE1ldGFSCGtpbmRNZXRhQhtCGUFwaVJlc291cmNlS2luZE91dGVyQ2xhc3NiBnByb3RvMw", [file_ai_stigmer_commons_apiresource_apiresourcekind_api_resource_group, file_ai_stigmer_commons_apiresource_apiresourcekind_authorization_config, file_google_protobuf_descriptor]);
12
12
  /**
13
13
  * Describes the message ai.stigmer.commons.apiresource.apiresourcekind.ApiResourceKindMeta.
14
14
  * Use `create(ApiResourceKindMetaSchema)` to create a new message.
@@ -310,6 +310,38 @@ export var ApiResourceKind;
310
310
  * @generated from enum value: project = 60;
311
311
  */
312
312
  ApiResourceKind[ApiResourceKind["project"] = 60] = "project";
313
+ /**
314
+ * Catalog entry naming a bundle of entitlements and the terms that buy it.
315
+ *
316
+ * Platform-level: a plan belongs to no organization, so it carries no
317
+ * authorization scope and no owner. Immutable once created; a change of
318
+ * terms is a new Plan and the old one retires.
319
+ *
320
+ * @generated from enum value: plan = 70;
321
+ */
322
+ ApiResourceKind[ApiResourceKind["plan"] = 70] = "plan";
323
+ /**
324
+ * An organization's binding to a Plan; at most one active per organization.
325
+ *
326
+ * System-created: the payment system drives its lifecycle, so it has no
327
+ * owner and grants no roles. Its reads and writes authorize on the
328
+ * organization through the billing permissions.
329
+ *
330
+ * @generated from enum value: subscription = 71;
331
+ */
332
+ ApiResourceKind[ApiResourceKind["subscription"] = 71] = "subscription";
333
+ /**
334
+ * A signed grant of entitlements to a self-hosting customer for a term.
335
+ *
336
+ * Platform-level: issued by the cloud's operators and verified offline by
337
+ * the Enterprise server, so the customer is a value inside the license
338
+ * (which may or may not name a cloud organization) and the kind has no
339
+ * authorization scope and no owner. Claims are immutable once signed; a
340
+ * renewal is a new License.
341
+ *
342
+ * @generated from enum value: license = 72;
343
+ */
344
+ ApiResourceKind[ApiResourceKind["license"] = 72] = "license";
313
345
  })(ApiResourceKind || (ApiResourceKind = {}));
314
346
  /**
315
347
  * Describes the enum ai.stigmer.commons.apiresource.apiresourcekind.ApiResourceKind.
@@ -1 +1 @@
1
- {"version":3,"file":"api_resource_kind_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sKAAsK;AACtK,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAExF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AA;IAEX;;;;OAIG;IACH,4DAAY,CAAA;AACd,CAAC,EA7NW,eAAe,KAAf,eAAe,QA6N1B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAA6B,aAAa,CAC1E,QAAQ,CAAC,qEAAqE,EAAE,CAAC,CAAC,CAAC;AAErF;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAwD,aAAa,CACzF,OAAO,CAAC,qEAAqE,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"api_resource_kind_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sKAAsK;AACtK,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAExF,OAAO,EAAE,sEAAsE,EAAE,MAAM,4BAA4B,CAAC;AAEpH,OAAO,EAAE,wEAAwE,EAAE,MAAM,8BAA8B,CAAC;AAExH,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AAGzE;;GAEG;AACH,MAAM,CAAC,MAAM,qEAAqE,GAAY,aAAa,CACzG,QAAQ,CAAC,gnJAAgnJ,EAAE,CAAC,sEAAsE,EAAE,wEAAwE,EAAE,+BAA+B,CAAC,CAAC,CAAC;AAwElzJ;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,qEAAqE,EAAE,CAAC,CAAC,CAAC;AAExF;;;;GAIG;AACH,MAAM,CAAN,IAAY,kBAcX;AAdD,WAAY,kBAAkB;IAC5B;;;;OAIG;IACH,mHAAoC,CAAA;IAEpC;;;;OAIG;IACH,uDAAM,CAAA;AACR,CAAC,EAdW,kBAAkB,KAAlB,kBAAkB,QAc7B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAgC,aAAa,CAChF,QAAQ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;;;OAIG;IACH,4DAAY,CAAA;IAEZ;;;;OAIG;IACH,wDAAU,CAAA;IAEV;;;;OAIG;IACH,kEAAe,CAAA;IAEf;;;;OAIG;IACH,0EAAmB,CAAA;IAEnB;;;;OAIG;IACH,oEAAgB,CAAA;IAEhB;;;;OAIG;IACH,wEAAkB,CAAA;IAElB;;;;;OAKG;IACH,oEAAgB,CAAA;IAEhB;;;;OAIG;IACH,8DAAa,CAAA;IAEb;;;;OAIG;IACH,gFAAsB,CAAA;IAEtB;;;;OAIG;IACH,kFAAuB,CAAA;IAEvB;;;;OAIG;IACH,oEAAgB,CAAA;IAEhB;;;;OAIG;IACH,8DAAa,CAAA;IAEb;;;;OAIG;IACH,gFAAsB,CAAA;IAEtB;;;;OAIG;IACH,8DAAa,CAAA;IAEb;;;;OAIG;IACH,0DAAW,CAAA;IAEX;;;;;;;OAOG;IACH,0DAAW,CAAA;IAEX;;;;OAIG;IACH,4DAAY,CAAA;IAEZ;;;;;;;;OAQG;IACH,sDAAS,CAAA;IAET;;;;;;;;OAQG;IACH,sEAAiB,CAAA;IAEjB;;;;;;;;;;OAUG;IACH,4DAAY,CAAA;AACd,CAAC,EAhQW,eAAe,KAAf,eAAe,QAgQ1B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAA6B,aAAa,CAC1E,QAAQ,CAAC,qEAAqE,EAAE,CAAC,CAAC,CAAC;AAErF;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAwD,aAAa,CACzF,OAAO,CAAC,qEAAqE,EAAE,CAAC,CAAC,CAAC"}
@@ -261,7 +261,27 @@ export declare enum IamPermission {
261
261
  *
262
262
  * @generated from enum value: can_create_plugin = 40;
263
263
  */
264
- can_create_plugin = 40
264
+ can_create_plugin = 40,
265
+ /**
266
+ * Platform-level permission to create and retire Plans, the catalog the
267
+ * cloud sells subscriptions and licenses against. A human operator
268
+ * action on the static platform target, kept distinct from
269
+ * can_execute_billing_ops (the machine account's pipeline) the way
270
+ * can_manage_model_pricing is, so an audit line names what happened.
271
+ *
272
+ * @generated from enum value: can_manage_plans = 41;
273
+ */
274
+ can_manage_plans = 41,
275
+ /**
276
+ * Platform-level permission to issue and read Licenses: the signed
277
+ * grants of entitlements to self-hosting customers. Every License RPC
278
+ * checks it on the static platform target. Distinct from
279
+ * can_manage_plans because issuing a license to a named customer is a
280
+ * different act, and a different audit line, from editing the catalog.
281
+ *
282
+ * @generated from enum value: can_issue_license = 42;
283
+ */
284
+ can_issue_license = 42
265
285
  }
266
286
  /**
267
287
  * Describes the enum ai.stigmer.iam.v1.IamPermission.
@@ -5,7 +5,7 @@ import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv1";
5
5
  /**
6
6
  * Describes the file ai/stigmer/iam/v1/enum.proto.
7
7
  */
8
- export const file_ai_stigmer_iam_v1_enum = /*@__PURE__*/ fileDesc("ChxhaS9zdGlnbWVyL2lhbS92MS9lbnVtLnByb3RvEhFhaS5zdGlnbWVyLmlhbS52MSrpBwoNSWFtUGVybWlzc2lvbhIPCgt1bnNwZWNpZmllZBAAEgwKCGNhbl92aWV3EAESDAoIY2FuX2VkaXQQAhIOCgpjYW5fZGVsZXRlEAMSFAoQY2FuX2dyYW50X2FjY2VzcxAEEhMKD2Nhbl92aWV3X2FjY2VzcxAFEhQKEGNhbl9jcmVhdGVfYWdlbnQQBhIXChNjYW5fY3JlYXRlX3dvcmtmbG93EAcSFgoSY2FuX2NyZWF0ZV9zZXNzaW9uEAgSFAoQY2FuX2NyZWF0ZV9za2lsbBAJEhYKEmNhbl9jcmVhdGVfcHJvamVjdBAKEhIKDmNhbl9jcmVhdGVfaWRwEAsSGgoWY2FuX2NyZWF0ZV9lbnZpcm9ubWVudBAMEh8KG2Nhbl9jcmVhdGVfaWRlbnRpdHlfYWNjb3VudBAVEhgKFGNhbl9jcmVhdGVfb2F1dGhfYXBwEBcSHgoaY2FuX2NyZWF0ZV9wbGF0Zm9ybV9jbGllbnQQGBIbChdjYW5fY3JlYXRlX2V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vZGVsX3ByaWNpbmcQIBIeChpjYW5fbWFuYWdlX2N1cnNvcl9hY2NvdW50cxAjEhMKD2Nhbl9wYXJ0aWNpcGF0ZRAkEh0KGWNhbl93cml0ZV9yZXNlcnZlZF9sYWJlbHMQJRIeChpjYW5fdmlld19wcm92aWRlcl9zdGFuZGluZxAmEh0KGWNhbl9zZXRfcHVibGljX3Zpc2liaWxpdHkQJxIVChFjYW5fY3JlYXRlX3BsdWdpbhAoEhQKEGNhbl9tYW5hZ2VfcGxhbnMQKRIVChFjYW5faXNzdWVfbGljZW5zZRAqIgQIIRAhIgQIIhAiKg9jYW5fdXNlX3JlY29yZHMqFGNhbl9jcmVhdGVfZGF0YXN0b3JlKmIKB0lhbVJvbGUSGAoUaWFtX3JvbGVfdW5zcGVjaWZpZWQQABIJCgVvd25lchABEgkKBWFkbWluEAISCgoGbWVtYmVyEAMSCgoGdmlld2VyEAQSDwoLcGFydGljaXBhbnQQBWIGcHJvdG8z");
9
9
  /**
10
10
  * IamPermission defines the permissions checked by the authorization
11
11
  * interceptor before an RPC handler executes.
@@ -266,6 +266,26 @@ export var IamPermission;
266
266
  * @generated from enum value: can_create_plugin = 40;
267
267
  */
268
268
  IamPermission[IamPermission["can_create_plugin"] = 40] = "can_create_plugin";
269
+ /**
270
+ * Platform-level permission to create and retire Plans, the catalog the
271
+ * cloud sells subscriptions and licenses against. A human operator
272
+ * action on the static platform target, kept distinct from
273
+ * can_execute_billing_ops (the machine account's pipeline) the way
274
+ * can_manage_model_pricing is, so an audit line names what happened.
275
+ *
276
+ * @generated from enum value: can_manage_plans = 41;
277
+ */
278
+ IamPermission[IamPermission["can_manage_plans"] = 41] = "can_manage_plans";
279
+ /**
280
+ * Platform-level permission to issue and read Licenses: the signed
281
+ * grants of entitlements to self-hosting customers. Every License RPC
282
+ * checks it on the static platform target. Distinct from
283
+ * can_manage_plans because issuing a license to a named customer is a
284
+ * different act, and a different audit line, from editing the catalog.
285
+ *
286
+ * @generated from enum value: can_issue_license = 42;
287
+ */
288
+ IamPermission[IamPermission["can_issue_license"] = 42] = "can_issue_license";
269
289
  })(IamPermission || (IamPermission = {}));
270
290
  /**
271
291
  * Describes the enum ai.stigmer.iam.v1.IamPermission.
@@ -1 +1 @@
1
- {"version":3,"file":"enum_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/iam/v1/enum_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,+FAA+F;AAC/F,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAY,aAAa,CAC/D,QAAQ,CAAC,8gDAA8gD,CAAC,CAAC;AAE3hD;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAN,IAAY,aA0RX;AA1RD,WAAY,aAAa;IACvB;;OAEG;IACH,+DAAe,CAAA;IAEf;;;;OAIG;IACH,yDAAY,CAAA;IAEZ;;OAEG;IACH,yDAAY,CAAA;IAEZ;;OAEG;IACH,6DAAc,CAAA;IAEd;;;;OAIG;IACH,yEAAoB,CAAA;IAEpB;;OAEG;IACH,uEAAmB,CAAA;IAEnB;;;;OAIG;IACH,yEAAoB,CAAA;IAEpB;;OAEG;IACH,+EAAuB,CAAA;IAEvB;;OAEG;IACH,6EAAsB,CAAA;IAEtB;;OAEG;IACH,yEAAoB,CAAA;IAEpB;;OAEG;IACH,8EAAuB,CAAA;IAEvB;;OAEG;IACH,sEAAmB,CAAA;IAEnB;;OAEG;IACH,sFAA2B,CAAA;IAE3B;;OAEG;IACH,gGAAgC,CAAA;IAEhC;;OAEG;IACH,kFAAyB,CAAA;IAEzB;;OAEG;IACH,8FAA+B,CAAA;IAE/B;;;;OAIG;IACH,wFAA4B,CAAA;IAE5B;;OAEG;IACH,gFAAwB,CAAA;IAExB;;;;OAIG;IACH,gEAAgB,CAAA;IAEhB;;;;OAIG;IACH,0EAAqB,CAAA;IAErB;;;;OAIG;IACH,4EAA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142 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file ai/stigmer/platform/v1/entitlement.proto.
5
+ */
6
+ export declare const file_ai_stigmer_platform_v1_entitlement: GenFile;
7
+ /**
8
+ * What the platform permits a tenant: a set of limits and a set of features.
9
+ *
10
+ * An entitlement is what the platform permits; a subscription and a license
11
+ * are the two instruments that grant it. The cloud derives an organization's
12
+ * entitlements from its subscription's plan and the Enterprise server reads
13
+ * them from the signed claims of its license, so this message lives under
14
+ * platform, where both editions can import it, and never under billing,
15
+ * which only the cloud composes. Entitlements are derived on read and never
16
+ * stored as truth; there is no Entitlement resource kind.
17
+ *
18
+ * @generated from message ai.stigmer.platform.v1.Entitlements
19
+ */
20
+ export type Entitlements = Message<"ai.stigmer.platform.v1.Entitlements"> & {
21
+ /**
22
+ * The numeric limits in force. A limit that is absent is unlimited.
23
+ *
24
+ * @generated from field: ai.stigmer.platform.v1.EntitlementLimits limits = 1;
25
+ */
26
+ limits?: EntitlementLimits;
27
+ /**
28
+ * The features unlocked, each named once. A feature not listed is not
29
+ * unlocked; a gate switches over the closed vocabulary and treats every
30
+ * unknown value as locked.
31
+ *
32
+ * @generated from field: repeated ai.stigmer.platform.v1.Feature features = 2;
33
+ */
34
+ features: Feature[];
35
+ };
36
+ /**
37
+ * Describes the message ai.stigmer.platform.v1.Entitlements.
38
+ * Use `create(EntitlementsSchema)` to create a new message.
39
+ */
40
+ export declare const EntitlementsSchema: GenMessage<Entitlements>;
41
+ /**
42
+ * The numeric limits an entitlement carries.
43
+ *
44
+ * Every field has explicit presence: absent means "no limit", and zero is
45
+ * refused because a limit of nothing is never what an operator meant. The
46
+ * comment on each limit names the instrument that reads it.
47
+ *
48
+ * @generated from message ai.stigmer.platform.v1.EntitlementLimits
49
+ */
50
+ export type EntitlementLimits = Message<"ai.stigmer.platform.v1.EntitlementLimits"> & {
51
+ /**
52
+ * The most organizations the tenant may hold at once. Read by a license
53
+ * (an Enterprise deployment counts its organizations against it) and by
54
+ * a subscription (a Business plan counts the managed organizations it
55
+ * includes).
56
+ *
57
+ * @generated from field: optional int32 max_organizations = 1;
58
+ */
59
+ maxOrganizations?: number;
60
+ /**
61
+ * The most identity accounts the tenant may hold at once. Read by both
62
+ * instruments.
63
+ *
64
+ * @generated from field: optional int32 max_users = 2;
65
+ */
66
+ maxUsers?: number;
67
+ /**
68
+ * The platform-managed organizations a subscription includes before the
69
+ * per-organization fee applies. Read by a subscription only: an
70
+ * integrator's plan includes this many managed organizations, and the
71
+ * organizations resolve their own entitlements through the integrator's.
72
+ * A license ignores it.
73
+ *
74
+ * @generated from field: optional int32 included_managed_organizations = 3;
75
+ */
76
+ includedManagedOrganizations?: number;
77
+ };
78
+ /**
79
+ * Describes the message ai.stigmer.platform.v1.EntitlementLimits.
80
+ * Use `create(EntitlementLimitsSchema)` to create a new message.
81
+ */
82
+ export declare const EntitlementLimitsSchema: GenMessage<EntitlementLimits>;
83
+ /**
84
+ * A capability an entitlement can unlock.
85
+ *
86
+ * The vocabulary is closed and grows one value at a time, each landing with
87
+ * the gate that reads it: an enum value is a wire identifier that can never
88
+ * be removed, so a feature is named here only once something in the
89
+ * platform can be gated on it. Values are added, never renamed or reused.
90
+ *
91
+ * @generated from enum ai.stigmer.platform.v1.Feature
92
+ */
93
+ export declare enum Feature {
94
+ /**
95
+ * @generated from enum value: feature_unspecified = 0;
96
+ */
97
+ feature_unspecified = 0,
98
+ /**
99
+ * Enforcing sign-in through a registered identity provider, so members
100
+ * cannot use another login. The identity-provider kind is Enterprise and
101
+ * Cloud; this feature is what a plan or license turns on for it.
102
+ *
103
+ * @generated from enum value: sso_enforcement = 1;
104
+ */
105
+ sso_enforcement = 1,
106
+ /**
107
+ * Creating PlatformClient credentials so the tenant's own product can
108
+ * mint Stigmer tokens for its users.
109
+ *
110
+ * @generated from enum value: platform_client = 2;
111
+ */
112
+ platform_client = 2,
113
+ /**
114
+ * Bringing the tenant's own LLM provider keys instead of the platform's
115
+ * metered proxy credentials.
116
+ *
117
+ * @generated from enum value: byo_provider_keys = 3;
118
+ */
119
+ byo_provider_keys = 3,
120
+ /**
121
+ * Delivering agents over messaging channels (Slack, WhatsApp) through a
122
+ * channel runtime. The channel kinds themselves are open source; this
123
+ * feature tiers the hosted runtime inside Cloud plans and licenses. It
124
+ * is not an edition gate: the open-source server stores channels freely.
125
+ *
126
+ * @generated from enum value: channels = 4;
127
+ */
128
+ channels = 4,
129
+ /**
130
+ * Sharing an agent with individuals and guests through hosted share
131
+ * links. The agent-share kind itself is open source; this feature tiers
132
+ * the hosted sharing lane inside Cloud plans and licenses. It is not an
133
+ * edition gate: the open-source server stores shares freely.
134
+ *
135
+ * @generated from enum value: sharing = 5;
136
+ */
137
+ sharing = 5
138
+ }
139
+ /**
140
+ * Describes the enum ai.stigmer.platform.v1.Feature.
141
+ */
142
+ export declare const FeatureSchema: GenEnum<Feature>;
@@ -0,0 +1,81 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
2
+ // @generated from file ai/stigmer/platform/v1/entitlement.proto (package ai.stigmer.platform.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb.js";
6
+ /**
7
+ * Describes the file ai/stigmer/platform/v1/entitlement.proto.
8
+ */
9
+ export const file_ai_stigmer_platform_v1_entitlement = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL3BsYXRmb3JtL3YxL2VudGl0bGVtZW50LnByb3RvEhZhaS5zdGlnbWVyLnBsYXRmb3JtLnYxIo8BCgxFbnRpdGxlbWVudHMSOQoGbGltaXRzGAEgASgLMikuYWkuc3RpZ21lci5wbGF0Zm9ybS52MS5FbnRpdGxlbWVudExpbWl0cxJECghmZWF0dXJlcxgCIAMoDjIfLmFpLnN0aWdtZXIucGxhdGZvcm0udjEuRmVhdHVyZUIRukgOkgELGAEiB4IBBBABIAAi2gEKEUVudGl0bGVtZW50TGltaXRzEicKEW1heF9vcmdhbml6YXRpb25zGAEgASgFQge6SAQaAiAASACIAQESHwoJbWF4X3VzZXJzGAIgASgFQge6SAQaAiAASAGIAQESNAoeaW5jbHVkZWRfbWFuYWdlZF9vcmdhbml6YXRpb25zGAMgASgFQge6SAQaAiAASAKIAQFCFAoSX21heF9vcmdhbml6YXRpb25zQgwKCl9tYXhfdXNlcnNCIQofX2luY2x1ZGVkX21hbmFnZWRfb3JnYW5pemF0aW9ucyp+CgdGZWF0dXJlEhcKE2ZlYXR1cmVfdW5zcGVjaWZpZWQQABITCg9zc29fZW5mb3JjZW1lbnQQARITCg9wbGF0Zm9ybV9jbGllbnQQAhIVChFieW9fcHJvdmlkZXJfa2V5cxADEgwKCGNoYW5uZWxzEAQSCwoHc2hhcmluZxAFQhJCEEVudGl0bGVtZW50UHJvdG9iBnByb3RvMw", [file_buf_validate_validate]);
10
+ /**
11
+ * Describes the message ai.stigmer.platform.v1.Entitlements.
12
+ * Use `create(EntitlementsSchema)` to create a new message.
13
+ */
14
+ export const EntitlementsSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_entitlement, 0);
15
+ /**
16
+ * Describes the message ai.stigmer.platform.v1.EntitlementLimits.
17
+ * Use `create(EntitlementLimitsSchema)` to create a new message.
18
+ */
19
+ export const EntitlementLimitsSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_entitlement, 1);
20
+ /**
21
+ * A capability an entitlement can unlock.
22
+ *
23
+ * The vocabulary is closed and grows one value at a time, each landing with
24
+ * the gate that reads it: an enum value is a wire identifier that can never
25
+ * be removed, so a feature is named here only once something in the
26
+ * platform can be gated on it. Values are added, never renamed or reused.
27
+ *
28
+ * @generated from enum ai.stigmer.platform.v1.Feature
29
+ */
30
+ export var Feature;
31
+ (function (Feature) {
32
+ /**
33
+ * @generated from enum value: feature_unspecified = 0;
34
+ */
35
+ Feature[Feature["feature_unspecified"] = 0] = "feature_unspecified";
36
+ /**
37
+ * Enforcing sign-in through a registered identity provider, so members
38
+ * cannot use another login. The identity-provider kind is Enterprise and
39
+ * Cloud; this feature is what a plan or license turns on for it.
40
+ *
41
+ * @generated from enum value: sso_enforcement = 1;
42
+ */
43
+ Feature[Feature["sso_enforcement"] = 1] = "sso_enforcement";
44
+ /**
45
+ * Creating PlatformClient credentials so the tenant's own product can
46
+ * mint Stigmer tokens for its users.
47
+ *
48
+ * @generated from enum value: platform_client = 2;
49
+ */
50
+ Feature[Feature["platform_client"] = 2] = "platform_client";
51
+ /**
52
+ * Bringing the tenant's own LLM provider keys instead of the platform's
53
+ * metered proxy credentials.
54
+ *
55
+ * @generated from enum value: byo_provider_keys = 3;
56
+ */
57
+ Feature[Feature["byo_provider_keys"] = 3] = "byo_provider_keys";
58
+ /**
59
+ * Delivering agents over messaging channels (Slack, WhatsApp) through a
60
+ * channel runtime. The channel kinds themselves are open source; this
61
+ * feature tiers the hosted runtime inside Cloud plans and licenses. It
62
+ * is not an edition gate: the open-source server stores channels freely.
63
+ *
64
+ * @generated from enum value: channels = 4;
65
+ */
66
+ Feature[Feature["channels"] = 4] = "channels";
67
+ /**
68
+ * Sharing an agent with individuals and guests through hosted share
69
+ * links. The agent-share kind itself is open source; this feature tiers
70
+ * the hosted sharing lane inside Cloud plans and licenses. It is not an
71
+ * edition gate: the open-source server stores shares freely.
72
+ *
73
+ * @generated from enum value: sharing = 5;
74
+ */
75
+ Feature[Feature["sharing"] = 5] = "sharing";
76
+ })(Feature || (Feature = {}));
77
+ /**
78
+ * Describes the enum ai.stigmer.platform.v1.Feature.
79
+ */
80
+ export const FeatureSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_platform_v1_entitlement, 0);
81
+ //# sourceMappingURL=entitlement_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entitlement_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/platform/v1/entitlement_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,gHAAgH;AAChH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,oxBAAoxB,EAAE,CAAC,0BAA0B,CAAC,CAAC,CAAC;AAiC/zB;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AA0C1D;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAE1D;;;;;;;;;GASG;AACH,MAAM,CAAN,IAAY,OAkDX;AAlDD,WAAY,OAAO;IACjB;;OAEG;IACH,mEAAuB,CAAA;IAEvB;;;;;;OAMG;IACH,2DAAmB,CAAA;IAEnB;;;;;OAKG;IACH,2DAAmB,CAAA;IAEnB;;;;;OAKG;IACH,+DAAqB,CAAA;IAErB;;;;;;;OAOG;IACH,6CAAY,CAAA;IAEZ;;;;;;;OAOG;IACH,2CAAW,CAAA;AACb,CAAC,EAlDW,OAAO,KAAP,OAAO,QAkDlB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAqB,aAAa,CAC1D,QAAQ,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,206 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { Entitlements } from "./entitlement_pb.js";
3
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
4
+ import type { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file ai/stigmer/platform/v1/license.proto.
7
+ */
8
+ export declare const file_ai_stigmer_platform_v1_license: GenFile;
9
+ /**
10
+ * The signed part of a license: what the ticket carries and what a server
11
+ * verifies offline.
12
+ *
13
+ * A license is issued where it is sold (the cloud's License kind under
14
+ * billing) and verified where it is used (an Enterprise deployment, with no
15
+ * call home), so the claims are platform vocabulary both sides import. The
16
+ * ticket is a compact JWS: `alg` is `EdDSA` (Ed25519), the protected header
17
+ * carries the `kid` of the signing key, and the payload is the proto JSON of
18
+ * this message. Claims are immutable once signed; a renewal is a new license
19
+ * with new claims.
20
+ *
21
+ * @generated from message ai.stigmer.platform.v1.LicenseClaims
22
+ */
23
+ export type LicenseClaims = Message<"ai.stigmer.platform.v1.LicenseClaims"> & {
24
+ /**
25
+ * The License resource this ticket was issued from (its metadata.id).
26
+ *
27
+ * @generated from field: string license_id = 1;
28
+ */
29
+ licenseId: string;
30
+ /**
31
+ * Who the license was issued to.
32
+ *
33
+ * @generated from field: ai.stigmer.platform.v1.LicenseCustomer customer = 2;
34
+ */
35
+ customer?: LicenseCustomer;
36
+ /**
37
+ * Whether the term is a trial or a paid license.
38
+ *
39
+ * @generated from field: ai.stigmer.platform.v1.LicenseTerm term = 3;
40
+ */
41
+ term: LicenseTerm;
42
+ /**
43
+ * What the license permits for its term.
44
+ *
45
+ * @generated from field: ai.stigmer.platform.v1.Entitlements entitlements = 4;
46
+ */
47
+ entitlements?: Entitlements;
48
+ /**
49
+ * When the ticket was signed.
50
+ *
51
+ * @generated from field: google.protobuf.Timestamp issued_at = 5;
52
+ */
53
+ issuedAt?: Timestamp;
54
+ /**
55
+ * When the term ends. After this instant the license is expired, and the
56
+ * server it unlocks enters its grace period.
57
+ *
58
+ * @generated from field: google.protobuf.Timestamp expires_at = 6;
59
+ */
60
+ expiresAt?: Timestamp;
61
+ /**
62
+ * The end of the grace period after expiry, during which the server keeps
63
+ * serving and reports the license as expired. The issuer decides the
64
+ * grace; the verifier reads it.
65
+ *
66
+ * @generated from field: google.protobuf.Timestamp grace_until = 7;
67
+ */
68
+ graceUntil?: Timestamp;
69
+ };
70
+ /**
71
+ * Describes the message ai.stigmer.platform.v1.LicenseClaims.
72
+ * Use `create(LicenseClaimsSchema)` to create a new message.
73
+ */
74
+ export declare const LicenseClaimsSchema: GenMessage<LicenseClaims>;
75
+ /**
76
+ * The customer a license is issued to, carried as a value inside the license.
77
+ *
78
+ * A self-hosting customer need not hold a cloud organization, so the license
79
+ * names its customer directly and links to an organization only when one
80
+ * exists. The customer is never a resource the license depends on: deleting
81
+ * an organization does not touch a license issued to its company.
82
+ *
83
+ * @generated from message ai.stigmer.platform.v1.LicenseCustomer
84
+ */
85
+ export type LicenseCustomer = Message<"ai.stigmer.platform.v1.LicenseCustomer"> & {
86
+ /**
87
+ * Identifier the issuer minted for this customer, stable across every
88
+ * license issued to them.
89
+ *
90
+ * @generated from field: string id = 1;
91
+ */
92
+ id: string;
93
+ /**
94
+ * The customer's name as the licensed server shows it ("licensed to Acme").
95
+ *
96
+ * @generated from field: string display_name = 2;
97
+ */
98
+ displayName: string;
99
+ /**
100
+ * The address renewal and expiry notices go to. Every license has one: a
101
+ * term that ends must be able to warn someone before it does.
102
+ *
103
+ * @generated from field: string contact_email = 3;
104
+ */
105
+ contactEmail: string;
106
+ /**
107
+ * The cloud organization this customer also holds, as its slug (the same
108
+ * value a resource's metadata.org carries). Empty when the customer has
109
+ * none.
110
+ *
111
+ * @generated from field: string organization = 4;
112
+ */
113
+ organization: string;
114
+ };
115
+ /**
116
+ * Describes the message ai.stigmer.platform.v1.LicenseCustomer.
117
+ * Use `create(LicenseCustomerSchema)` to create a new message.
118
+ */
119
+ export declare const LicenseCustomerSchema: GenMessage<LicenseCustomer>;
120
+ /**
121
+ * The commercial nature of a license's term.
122
+ *
123
+ * @generated from enum ai.stigmer.platform.v1.LicenseTerm
124
+ */
125
+ export declare enum LicenseTerm {
126
+ /**
127
+ * @generated from enum value: license_term_unspecified = 0;
128
+ */
129
+ license_term_unspecified = 0,
130
+ /**
131
+ * A time-limited evaluation with fixed modest limits.
132
+ *
133
+ * @generated from enum value: trial = 1;
134
+ */
135
+ trial = 1,
136
+ /**
137
+ * A paid license for its full term.
138
+ *
139
+ * @generated from enum value: paid = 2;
140
+ */
141
+ paid = 2
142
+ }
143
+ /**
144
+ * Describes the enum ai.stigmer.platform.v1.LicenseTerm.
145
+ */
146
+ export declare const LicenseTermSchema: GenEnum<LicenseTerm>;
147
+ /**
148
+ * What a running server reports about the license it holds.
149
+ *
150
+ * Every edition answers the question; the states describe the ticket the
151
+ * server was configured with, checked against the clock at the moment of
152
+ * the read.
153
+ *
154
+ * @generated from enum ai.stigmer.platform.v1.LicenseState
155
+ */
156
+ export declare enum LicenseState {
157
+ /**
158
+ * @generated from enum value: license_state_unspecified = 0;
159
+ */
160
+ license_state_unspecified = 0,
161
+ /**
162
+ * No license is configured. The open-source and Cloud editions always
163
+ * answer this: neither holds a key.
164
+ *
165
+ * @generated from enum value: absent = 1;
166
+ */
167
+ absent = 1,
168
+ /**
169
+ * The ticket verified and its term has not ended.
170
+ *
171
+ * @generated from enum value: valid = 2;
172
+ */
173
+ valid = 2,
174
+ /**
175
+ * The ticket verified and its term ends soon enough that the server
176
+ * warns about it.
177
+ *
178
+ * @generated from enum value: expiring = 3;
179
+ */
180
+ expiring = 3,
181
+ /**
182
+ * The term has ended and the server is inside the grace period the
183
+ * claims carry.
184
+ *
185
+ * @generated from enum value: grace = 4;
186
+ */
187
+ grace = 4,
188
+ /**
189
+ * The term and its grace period have both ended.
190
+ *
191
+ * @generated from enum value: expired = 5;
192
+ */
193
+ expired = 5,
194
+ /**
195
+ * A ticket is configured but did not verify: a signature that does not
196
+ * match a known key, a payload that does not parse, or claims that fail
197
+ * validation. Its claims are not trusted and not reported.
198
+ *
199
+ * @generated from enum value: invalid = 6;
200
+ */
201
+ invalid = 6
202
+ }
203
+ /**
204
+ * Describes the enum ai.stigmer.platform.v1.LicenseState.
205
+ */
206
+ export declare const LicenseStateSchema: GenEnum<LicenseState>;