@stigmer/protos 3.16.1-dev.20260917224426 → 3.18.0-dev.20260918103812
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/stigmer/billing/license/v1/api_pb.d.ts +61 -0
- package/ai/stigmer/billing/license/v1/api_pb.js +18 -0
- package/ai/stigmer/billing/license/v1/api_pb.js.map +1 -0
- package/ai/stigmer/billing/license/v1/command_connect.d.ts +31 -0
- package/ai/stigmer/billing/license/v1/command_connect.js +38 -0
- package/ai/stigmer/billing/license/v1/command_connect.js.map +1 -0
- package/ai/stigmer/billing/license/v1/command_pb.d.ts +33 -0
- package/ai/stigmer/billing/license/v1/command_pb.js +24 -0
- package/ai/stigmer/billing/license/v1/command_pb.js.map +1 -0
- package/ai/stigmer/billing/license/v1/io_pb.d.ts +62 -0
- package/ai/stigmer/billing/license/v1/io_pb.js +26 -0
- package/ai/stigmer/billing/license/v1/io_pb.js.map +1 -0
- package/ai/stigmer/billing/license/v1/query_connect.d.ts +36 -0
- package/ai/stigmer/billing/license/v1/query_connect.js +44 -0
- package/ai/stigmer/billing/license/v1/query_connect.js.map +1 -0
- package/ai/stigmer/billing/license/v1/query_pb.d.ts +38 -0
- package/ai/stigmer/billing/license/v1/query_pb.js +23 -0
- package/ai/stigmer/billing/license/v1/query_pb.js.map +1 -0
- package/ai/stigmer/billing/license/v1/spec_pb.d.ts +73 -0
- package/ai/stigmer/billing/license/v1/spec_pb.js +18 -0
- package/ai/stigmer/billing/license/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/billing/license/v1/status_pb.d.ts +52 -0
- package/ai/stigmer/billing/license/v1/status_pb.js +16 -0
- package/ai/stigmer/billing/license/v1/status_pb.js.map +1 -0
- package/ai/stigmer/billing/plan/v1/api_pb.d.ts +63 -0
- package/ai/stigmer/billing/plan/v1/api_pb.js +18 -0
- package/ai/stigmer/billing/plan/v1/api_pb.js.map +1 -0
- package/ai/stigmer/billing/plan/v1/command_connect.d.ts +44 -0
- package/ai/stigmer/billing/plan/v1/command_connect.js +52 -0
- package/ai/stigmer/billing/plan/v1/command_connect.js.map +1 -0
- package/ai/stigmer/billing/plan/v1/command_pb.d.ts +46 -0
- package/ai/stigmer/billing/plan/v1/command_pb.js +23 -0
- package/ai/stigmer/billing/plan/v1/command_pb.js.map +1 -0
- package/ai/stigmer/billing/plan/v1/io_pb.d.ts +62 -0
- package/ai/stigmer/billing/plan/v1/io_pb.js +26 -0
- package/ai/stigmer/billing/plan/v1/io_pb.js.map +1 -0
- package/ai/stigmer/billing/plan/v1/query_connect.d.ts +43 -0
- package/ai/stigmer/billing/plan/v1/query_connect.js +51 -0
- package/ai/stigmer/billing/plan/v1/query_connect.js.map +1 -0
- package/ai/stigmer/billing/plan/v1/query_pb.d.ts +45 -0
- package/ai/stigmer/billing/plan/v1/query_pb.js +25 -0
- package/ai/stigmer/billing/plan/v1/query_pb.js.map +1 -0
- package/ai/stigmer/billing/plan/v1/spec_pb.d.ts +137 -0
- package/ai/stigmer/billing/plan/v1/spec_pb.js +55 -0
- package/ai/stigmer/billing/plan/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/billing/plan/v1/status_pb.d.ts +69 -0
- package/ai/stigmer/billing/plan/v1/status_pb.js +47 -0
- package/ai/stigmer/billing/plan/v1/status_pb.js.map +1 -0
- package/ai/stigmer/billing/subscription/v1/api_pb.d.ts +62 -0
- package/ai/stigmer/billing/subscription/v1/api_pb.js +18 -0
- package/ai/stigmer/billing/subscription/v1/api_pb.js.map +1 -0
- package/ai/stigmer/billing/subscription/v1/command_connect.d.ts +45 -0
- package/ai/stigmer/billing/subscription/v1/command_connect.js +53 -0
- package/ai/stigmer/billing/subscription/v1/command_connect.js.map +1 -0
- package/ai/stigmer/billing/subscription/v1/command_pb.d.ts +47 -0
- package/ai/stigmer/billing/subscription/v1/command_pb.js +25 -0
- package/ai/stigmer/billing/subscription/v1/command_pb.js.map +1 -0
- package/ai/stigmer/billing/subscription/v1/io_pb.d.ts +114 -0
- package/ai/stigmer/billing/subscription/v1/io_pb.js +36 -0
- package/ai/stigmer/billing/subscription/v1/io_pb.js.map +1 -0
- package/ai/stigmer/billing/subscription/v1/query_connect.d.ts +48 -0
- package/ai/stigmer/billing/subscription/v1/query_connect.js +56 -0
- package/ai/stigmer/billing/subscription/v1/query_connect.js.map +1 -0
- package/ai/stigmer/billing/subscription/v1/query_pb.d.ts +50 -0
- package/ai/stigmer/billing/subscription/v1/query_pb.js +24 -0
- package/ai/stigmer/billing/subscription/v1/query_pb.js.map +1 -0
- package/ai/stigmer/billing/subscription/v1/spec_pb.d.ts +30 -0
- package/ai/stigmer/billing/subscription/v1/spec_pb.js +15 -0
- package/ai/stigmer/billing/subscription/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/billing/subscription/v1/status_pb.d.ts +94 -0
- package/ai/stigmer/billing/subscription/v1/status_pb.js +56 -0
- package/ai/stigmer/billing/subscription/v1/status_pb.js.map +1 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_group_pb.d.ts +12 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_group_pb.js +12 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_group_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +33 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +33 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
- package/ai/stigmer/iam/v1/enum_pb.d.ts +21 -1
- package/ai/stigmer/iam/v1/enum_pb.js +21 -1
- package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/platform/v1/entitlement_pb.d.ts +142 -0
- package/ai/stigmer/platform/v1/entitlement_pb.js +81 -0
- package/ai/stigmer/platform/v1/entitlement_pb.js.map +1 -0
- package/ai/stigmer/platform/v1/license_pb.d.ts +206 -0
- package/ai/stigmer/platform/v1/license_pb.js +111 -0
- package/ai/stigmer/platform/v1/license_pb.js.map +1 -0
- package/ai/stigmer/platform/v1/server_info_connect.d.ts +28 -0
- package/ai/stigmer/platform/v1/server_info_connect.js +29 -1
- package/ai/stigmer/platform/v1/server_info_connect.js.map +1 -1
- package/ai/stigmer/platform/v1/server_info_pb.d.ts +84 -0
- package/ai/stigmer/platform/v1/server_info_pb.js +23 -7
- package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { LicenseSpec } from "./spec_pb.js";
|
|
3
|
+
import type { LicenseStatus } 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/license/v1/api.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_ai_stigmer_billing_license_v1_api: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* License is a signed grant of entitlements to a self-hosting customer for a
|
|
12
|
+
* term.
|
|
13
|
+
*
|
|
14
|
+
* A license is issued where it is sold, here, and verified where it is used:
|
|
15
|
+
* an Enterprise deployment checks the signed ticket offline against a key
|
|
16
|
+
* compiled into it, with no call home. The customer is a value inside the
|
|
17
|
+
* license, because a self-hosting customer need not hold a cloud
|
|
18
|
+
* organization. The claims are immutable once signed; a renewal is a new
|
|
19
|
+
* License. Licenses belong to the platform, not to any organization, so
|
|
20
|
+
* metadata.org is empty.
|
|
21
|
+
*
|
|
22
|
+
* @generated from message ai.stigmer.billing.license.v1.License
|
|
23
|
+
*/
|
|
24
|
+
export type License = Message<"ai.stigmer.billing.license.v1.License"> & {
|
|
25
|
+
/**
|
|
26
|
+
* API version for this resource type.
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: string api_version = 1;
|
|
29
|
+
*/
|
|
30
|
+
apiVersion: string;
|
|
31
|
+
/**
|
|
32
|
+
* Resource kind identifier.
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: string kind = 2;
|
|
35
|
+
*/
|
|
36
|
+
kind: string;
|
|
37
|
+
/**
|
|
38
|
+
* Standard resource metadata. A license has no organization: metadata.org
|
|
39
|
+
* is empty.
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceMetadata metadata = 3;
|
|
42
|
+
*/
|
|
43
|
+
metadata?: ApiResourceMetadata;
|
|
44
|
+
/**
|
|
45
|
+
* What the operator issues: the customer, the entitlements and the term.
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: ai.stigmer.billing.license.v1.LicenseSpec spec = 4;
|
|
48
|
+
*/
|
|
49
|
+
spec?: LicenseSpec;
|
|
50
|
+
/**
|
|
51
|
+
* System-managed state: audit and the signed ticket.
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: ai.stigmer.billing.license.v1.LicenseStatus status = 5;
|
|
54
|
+
*/
|
|
55
|
+
status?: LicenseStatus;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message ai.stigmer.billing.license.v1.License.
|
|
59
|
+
* Use `create(LicenseSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
export declare const LicenseSchema: GenMessage<License>;
|
|
@@ -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/license/v1/api.proto (package ai.stigmer.billing.license.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_billing_license_v1_spec } from "./spec_pb.js";
|
|
6
|
+
import { file_ai_stigmer_billing_license_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/license/v1/api.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_ai_stigmer_billing_license_v1_api = /*@__PURE__*/ fileDesc("CidhaS9zdGlnbWVyL2JpbGxpbmcvbGljZW5zZS92MS9hcGkucHJvdG8SHWFpLnN0aWdtZXIuYmlsbGluZy5saWNlbnNlLnYxIqECCgdMaWNlbnNlEjEKC2FwaV92ZXJzaW9uGAEgASgJQhy6SBlyFwoVYmlsbGluZy5zdGlnbWVyLmFpL3YxEhwKBGtpbmQYAiABKAlCDrpIC3IJCgdMaWNlbnNlEk0KCG1ldGFkYXRhGAMgASgLMjMuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlTWV0YWRhdGFCBrpIA8gBARI4CgRzcGVjGAQgASgLMiouYWkuc3RpZ21lci5iaWxsaW5nLmxpY2Vuc2UudjEuTGljZW5zZVNwZWMSPAoGc3RhdHVzGAUgASgLMiwuYWkuc3RpZ21lci5iaWxsaW5nLmxpY2Vuc2UudjEuTGljZW5zZVN0YXR1c2IGcHJvdG8z", [file_ai_stigmer_billing_license_v1_spec, file_ai_stigmer_billing_license_v1_status, file_ai_stigmer_commons_apiresource_metadata, file_buf_validate_validate]);
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message ai.stigmer.billing.license.v1.License.
|
|
15
|
+
* Use `create(LicenseSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const LicenseSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_billing_license_v1_api, 0);
|
|
18
|
+
//# sourceMappingURL=api_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/billing/license/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sHAAsH;AACtH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,uCAAuC,EAAE,MAAM,cAAc,CAAC;AAEvE,OAAO,EAAE,yCAAyC,EAAE,MAAM,gBAAgB,CAAC;AAE3E,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAC3G,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAY,aAAa,CAC1E,QAAQ,CAAC,kfAAkf,EAAE,CAAC,uCAAuC,EAAE,yCAAyC,EAAE,4CAA4C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAsD/pB;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAwB,aAAa,CAC7D,WAAW,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LicenseCommandController provides the write operations on licenses.
|
|
3
|
+
*
|
|
4
|
+
* Issuing is the one write: the claims are immutable once signed, so there
|
|
5
|
+
* is no update, and a renewal or a change of entitlements is a new License.
|
|
6
|
+
* Issuing is a platform operator act on the static platform target. A
|
|
7
|
+
* self-serve trial door, if one is offered, is a separate public entry the
|
|
8
|
+
* issuer adds beside this controller; it is not this RPC relaxed.
|
|
9
|
+
*
|
|
10
|
+
* @generated from service ai.stigmer.billing.license.v1.LicenseCommandController
|
|
11
|
+
*/
|
|
12
|
+
export declare const LicenseCommandController: {
|
|
13
|
+
readonly typeName: "ai.stigmer.billing.license.v1.LicenseCommandController";
|
|
14
|
+
readonly methods: {
|
|
15
|
+
/**
|
|
16
|
+
* Issue a license.
|
|
17
|
+
*
|
|
18
|
+
* Builds the signed claims from the spec, signs them, and returns the
|
|
19
|
+
* license with its ticket in the status. The spec is final: nothing about
|
|
20
|
+
* an issued license changes afterwards.
|
|
21
|
+
*
|
|
22
|
+
* @generated from rpc ai.stigmer.billing.license.v1.LicenseCommandController.create
|
|
23
|
+
*/
|
|
24
|
+
readonly create: {
|
|
25
|
+
readonly name: "create";
|
|
26
|
+
readonly I: any;
|
|
27
|
+
readonly O: any;
|
|
28
|
+
readonly kind: any;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file ai/stigmer/billing/license/v1/command.proto (package ai.stigmer.billing.license.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { License } from "./api_pbjs";
|
|
6
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
|
+
/**
|
|
8
|
+
* LicenseCommandController provides the write operations on licenses.
|
|
9
|
+
*
|
|
10
|
+
* Issuing is the one write: the claims are immutable once signed, so there
|
|
11
|
+
* is no update, and a renewal or a change of entitlements is a new License.
|
|
12
|
+
* Issuing is a platform operator act on the static platform target. A
|
|
13
|
+
* self-serve trial door, if one is offered, is a separate public entry the
|
|
14
|
+
* issuer adds beside this controller; it is not this RPC relaxed.
|
|
15
|
+
*
|
|
16
|
+
* @generated from service ai.stigmer.billing.license.v1.LicenseCommandController
|
|
17
|
+
*/
|
|
18
|
+
export const LicenseCommandController = {
|
|
19
|
+
typeName: "ai.stigmer.billing.license.v1.LicenseCommandController",
|
|
20
|
+
methods: {
|
|
21
|
+
/**
|
|
22
|
+
* Issue a license.
|
|
23
|
+
*
|
|
24
|
+
* Builds the signed claims from the spec, signs them, and returns the
|
|
25
|
+
* license with its ticket in the status. The spec is final: nothing about
|
|
26
|
+
* an issued license changes afterwards.
|
|
27
|
+
*
|
|
28
|
+
* @generated from rpc ai.stigmer.billing.license.v1.LicenseCommandController.create
|
|
29
|
+
*/
|
|
30
|
+
create: {
|
|
31
|
+
name: "create",
|
|
32
|
+
I: License,
|
|
33
|
+
O: License,
|
|
34
|
+
kind: MethodKind.Unary,
|
|
35
|
+
},
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=command_connect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/billing/license/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0HAA0H;AAC1H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,QAAQ,EAAE,wDAAwD;IAClE,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { LicenseSchema } from "./api_pb.js";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file ai/stigmer/billing/license/v1/command.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_ai_stigmer_billing_license_v1_command: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* LicenseCommandController provides the write operations on licenses.
|
|
9
|
+
*
|
|
10
|
+
* Issuing is the one write: the claims are immutable once signed, so there
|
|
11
|
+
* is no update, and a renewal or a change of entitlements is a new License.
|
|
12
|
+
* Issuing is a platform operator act on the static platform target. A
|
|
13
|
+
* self-serve trial door, if one is offered, is a separate public entry the
|
|
14
|
+
* issuer adds beside this controller; it is not this RPC relaxed.
|
|
15
|
+
*
|
|
16
|
+
* @generated from service ai.stigmer.billing.license.v1.LicenseCommandController
|
|
17
|
+
*/
|
|
18
|
+
export declare const LicenseCommandController: GenService<{
|
|
19
|
+
/**
|
|
20
|
+
* Issue a license.
|
|
21
|
+
*
|
|
22
|
+
* Builds the signed claims from the spec, signs them, and returns the
|
|
23
|
+
* license with its ticket in the status. The spec is final: nothing about
|
|
24
|
+
* an issued license changes afterwards.
|
|
25
|
+
*
|
|
26
|
+
* @generated from rpc ai.stigmer.billing.license.v1.LicenseCommandController.create
|
|
27
|
+
*/
|
|
28
|
+
create: {
|
|
29
|
+
methodKind: "unary";
|
|
30
|
+
input: typeof LicenseSchema;
|
|
31
|
+
output: typeof LicenseSchema;
|
|
32
|
+
};
|
|
33
|
+
}>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file ai/stigmer/billing/license/v1/command.proto (package ai.stigmer.billing.license.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_billing_license_v1_api } from "./api_pb.js";
|
|
6
|
+
import { file_ai_stigmer_commons_apiresource_rpc_service_options } from "../../../commons/apiresource/rpc_service_options_pb.js";
|
|
7
|
+
import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb.js";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file ai/stigmer/billing/license/v1/command.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_ai_stigmer_billing_license_v1_command = /*@__PURE__*/ fileDesc("CithaS9zdGlnbWVyL2JpbGxpbmcvbGljZW5zZS92MS9jb21tYW5kLnByb3RvEh1haS5zdGlnbWVyLmJpbGxpbmcubGljZW5zZS52MTK6AQoYTGljZW5zZUNvbW1hbmRDb250cm9sbGVyEpcBCgZjcmVhdGUSJi5haS5zdGlnbWVyLmJpbGxpbmcubGljZW5zZS52MS5MaWNlbnNlGiYuYWkuc3RpZ21lci5iaWxsaW5nLmxpY2Vuc2UudjEuTGljZW5zZSI9wrgYOQgqEB8qKm9ubHkgcGxhdGZvcm0gb3BlcmF0b3JzIGNhbiBpc3N1ZSBsaWNlbnNlczIHc3RpZ21lchoEoP8rSGIGcHJvdG8z", [file_ai_stigmer_billing_license_v1_api, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
|
|
12
|
+
/**
|
|
13
|
+
* LicenseCommandController provides the write operations on licenses.
|
|
14
|
+
*
|
|
15
|
+
* Issuing is the one write: the claims are immutable once signed, so there
|
|
16
|
+
* is no update, and a renewal or a change of entitlements is a new License.
|
|
17
|
+
* Issuing is a platform operator act on the static platform target. A
|
|
18
|
+
* self-serve trial door, if one is offered, is a separate public entry the
|
|
19
|
+
* issuer adds beside this controller; it is not this RPC relaxed.
|
|
20
|
+
*
|
|
21
|
+
* @generated from service ai.stigmer.billing.license.v1.LicenseCommandController
|
|
22
|
+
*/
|
|
23
|
+
export const LicenseCommandController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_billing_license_v1_command, 0);
|
|
24
|
+
//# sourceMappingURL=command_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/billing/license/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0HAA0H;AAC1H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,8WAA8W,EAAE,CAAC,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE1gB;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAehC,aAAa,CAChB,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { License } from "./api_pb.js";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file ai/stigmer/billing/license/v1/io.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_ai_stigmer_billing_license_v1_io: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* LicenseId identifies a license by its unique identifier.
|
|
10
|
+
*
|
|
11
|
+
* @generated from message ai.stigmer.billing.license.v1.LicenseId
|
|
12
|
+
*/
|
|
13
|
+
export type LicenseId = Message<"ai.stigmer.billing.license.v1.LicenseId"> & {
|
|
14
|
+
/**
|
|
15
|
+
* Unique identifier of the license resource.
|
|
16
|
+
*
|
|
17
|
+
* @generated from field: string value = 1;
|
|
18
|
+
*/
|
|
19
|
+
value: string;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message ai.stigmer.billing.license.v1.LicenseId.
|
|
23
|
+
* Use `create(LicenseIdSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export declare const LicenseIdSchema: GenMessage<LicenseId>;
|
|
26
|
+
/**
|
|
27
|
+
* Licenses contains a list of license resources.
|
|
28
|
+
*
|
|
29
|
+
* @generated from message ai.stigmer.billing.license.v1.Licenses
|
|
30
|
+
*/
|
|
31
|
+
export type Licenses = Message<"ai.stigmer.billing.license.v1.Licenses"> & {
|
|
32
|
+
/**
|
|
33
|
+
* License entries.
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: repeated ai.stigmer.billing.license.v1.License entries = 1;
|
|
36
|
+
*/
|
|
37
|
+
entries: License[];
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message ai.stigmer.billing.license.v1.Licenses.
|
|
41
|
+
* Use `create(LicensesSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export declare const LicensesSchema: GenMessage<Licenses>;
|
|
44
|
+
/**
|
|
45
|
+
* ListLicensesInput selects which licenses to list.
|
|
46
|
+
*
|
|
47
|
+
* @generated from message ai.stigmer.billing.license.v1.ListLicensesInput
|
|
48
|
+
*/
|
|
49
|
+
export type ListLicensesInput = Message<"ai.stigmer.billing.license.v1.ListLicensesInput"> & {
|
|
50
|
+
/**
|
|
51
|
+
* When set, only licenses issued to this customer (LicenseCustomer.id)
|
|
52
|
+
* are returned; every license otherwise.
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: string customer_id = 1;
|
|
55
|
+
*/
|
|
56
|
+
customerId: string;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Describes the message ai.stigmer.billing.license.v1.ListLicensesInput.
|
|
60
|
+
* Use `create(ListLicensesInputSchema)` to create a new message.
|
|
61
|
+
*/
|
|
62
|
+
export declare const ListLicensesInputSchema: GenMessage<ListLicensesInput>;
|
|
@@ -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/license/v1/io.proto (package ai.stigmer.billing.license.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_billing_license_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/license/v1/io.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_ai_stigmer_billing_license_v1_io = /*@__PURE__*/ fileDesc("CiZhaS9zdGlnbWVyL2JpbGxpbmcvbGljZW5zZS92MS9pby5wcm90bxIdYWkuc3RpZ21lci5iaWxsaW5nLmxpY2Vuc2UudjEiJQoJTGljZW5zZUlkEhgKBXZhbHVlGAEgASgJQgm6SAZyBBABGEAiQwoITGljZW5zZXMSNwoHZW50cmllcxgBIAMoCzImLmFpLnN0aWdtZXIuYmlsbGluZy5saWNlbnNlLnYxLkxpY2Vuc2UiKAoRTGlzdExpY2Vuc2VzSW5wdXQSEwoLY3VzdG9tZXJfaWQYASABKAliBnByb3RvMw", [file_ai_stigmer_billing_license_v1_api, file_buf_validate_validate]);
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message ai.stigmer.billing.license.v1.LicenseId.
|
|
13
|
+
* Use `create(LicenseIdSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export const LicenseIdSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_billing_license_v1_io, 0);
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message ai.stigmer.billing.license.v1.Licenses.
|
|
18
|
+
* Use `create(LicensesSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export const LicensesSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_billing_license_v1_io, 1);
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message ai.stigmer.billing.license.v1.ListLicensesInput.
|
|
23
|
+
* Use `create(ListLicensesInputSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const ListLicensesInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_billing_license_v1_io, 2);
|
|
26
|
+
//# sourceMappingURL=io_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/billing/license/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,qHAAqH;AACrH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,oTAAoT,EAAE,CAAC,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAgBvY;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAgBxD;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAyB,aAAa,CAC/D,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAiBxD;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LicenseQueryController provides the read operations on issued licenses.
|
|
3
|
+
*
|
|
4
|
+
* A license carries a customer's name and a ticket that unlocks a server, so
|
|
5
|
+
* every read is a platform operator act on the static platform target, with
|
|
6
|
+
* the same permission that issues.
|
|
7
|
+
*
|
|
8
|
+
* @generated from service ai.stigmer.billing.license.v1.LicenseQueryController
|
|
9
|
+
*/
|
|
10
|
+
export declare const LicenseQueryController: {
|
|
11
|
+
readonly typeName: "ai.stigmer.billing.license.v1.LicenseQueryController";
|
|
12
|
+
readonly methods: {
|
|
13
|
+
/**
|
|
14
|
+
* Get a license by its unique identifier.
|
|
15
|
+
*
|
|
16
|
+
* @generated from rpc ai.stigmer.billing.license.v1.LicenseQueryController.get
|
|
17
|
+
*/
|
|
18
|
+
readonly get: {
|
|
19
|
+
readonly name: "get";
|
|
20
|
+
readonly I: any;
|
|
21
|
+
readonly O: any;
|
|
22
|
+
readonly kind: any;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* List issued licenses, optionally for one customer.
|
|
26
|
+
*
|
|
27
|
+
* @generated from rpc ai.stigmer.billing.license.v1.LicenseQueryController.list
|
|
28
|
+
*/
|
|
29
|
+
readonly list: {
|
|
30
|
+
readonly name: "list";
|
|
31
|
+
readonly I: any;
|
|
32
|
+
readonly O: any;
|
|
33
|
+
readonly kind: any;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file ai/stigmer/billing/license/v1/query.proto (package ai.stigmer.billing.license.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { LicenseId, Licenses, ListLicensesInput } from "./io_pbjs";
|
|
6
|
+
import { License } from "./api_pbjs";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
/**
|
|
9
|
+
* LicenseQueryController provides the read operations on issued licenses.
|
|
10
|
+
*
|
|
11
|
+
* A license carries a customer's name and a ticket that unlocks a server, so
|
|
12
|
+
* every read is a platform operator act on the static platform target, with
|
|
13
|
+
* the same permission that issues.
|
|
14
|
+
*
|
|
15
|
+
* @generated from service ai.stigmer.billing.license.v1.LicenseQueryController
|
|
16
|
+
*/
|
|
17
|
+
export const LicenseQueryController = {
|
|
18
|
+
typeName: "ai.stigmer.billing.license.v1.LicenseQueryController",
|
|
19
|
+
methods: {
|
|
20
|
+
/**
|
|
21
|
+
* Get a license by its unique identifier.
|
|
22
|
+
*
|
|
23
|
+
* @generated from rpc ai.stigmer.billing.license.v1.LicenseQueryController.get
|
|
24
|
+
*/
|
|
25
|
+
get: {
|
|
26
|
+
name: "get",
|
|
27
|
+
I: LicenseId,
|
|
28
|
+
O: License,
|
|
29
|
+
kind: MethodKind.Unary,
|
|
30
|
+
},
|
|
31
|
+
/**
|
|
32
|
+
* List issued licenses, optionally for one customer.
|
|
33
|
+
*
|
|
34
|
+
* @generated from rpc ai.stigmer.billing.license.v1.LicenseQueryController.list
|
|
35
|
+
*/
|
|
36
|
+
list: {
|
|
37
|
+
name: "list",
|
|
38
|
+
I: ListLicensesInput,
|
|
39
|
+
O: Licenses,
|
|
40
|
+
kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=query_connect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/billing/license/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,wHAAwH;AACxH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,QAAQ,EAAE,sDAAsD;IAChE,OAAO,EAAE;QACP;;;;WAIG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,SAAS;YACZ,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,CAAC,EAAE,iBAAiB;YACpB,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { LicenseSchema } from "./api_pb.js";
|
|
3
|
+
import type { LicenseIdSchema, LicensesSchema, ListLicensesInputSchema } from "./io_pb.js";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file ai/stigmer/billing/license/v1/query.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_ai_stigmer_billing_license_v1_query: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* LicenseQueryController provides the read operations on issued licenses.
|
|
10
|
+
*
|
|
11
|
+
* A license carries a customer's name and a ticket that unlocks a server, so
|
|
12
|
+
* every read is a platform operator act on the static platform target, with
|
|
13
|
+
* the same permission that issues.
|
|
14
|
+
*
|
|
15
|
+
* @generated from service ai.stigmer.billing.license.v1.LicenseQueryController
|
|
16
|
+
*/
|
|
17
|
+
export declare const LicenseQueryController: GenService<{
|
|
18
|
+
/**
|
|
19
|
+
* Get a license by its unique identifier.
|
|
20
|
+
*
|
|
21
|
+
* @generated from rpc ai.stigmer.billing.license.v1.LicenseQueryController.get
|
|
22
|
+
*/
|
|
23
|
+
get: {
|
|
24
|
+
methodKind: "unary";
|
|
25
|
+
input: typeof LicenseIdSchema;
|
|
26
|
+
output: typeof LicenseSchema;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* List issued licenses, optionally for one customer.
|
|
30
|
+
*
|
|
31
|
+
* @generated from rpc ai.stigmer.billing.license.v1.LicenseQueryController.list
|
|
32
|
+
*/
|
|
33
|
+
list: {
|
|
34
|
+
methodKind: "unary";
|
|
35
|
+
input: typeof ListLicensesInputSchema;
|
|
36
|
+
output: typeof LicensesSchema;
|
|
37
|
+
};
|
|
38
|
+
}>;
|
|
@@ -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/license/v1/query.proto (package ai.stigmer.billing.license.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_billing_license_v1_api } from "./api_pb.js";
|
|
6
|
+
import { file_ai_stigmer_billing_license_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/license/v1/query.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_ai_stigmer_billing_license_v1_query = /*@__PURE__*/ fileDesc("CilhaS9zdGlnbWVyL2JpbGxpbmcvbGljZW5zZS92MS9xdWVyeS5wcm90bxIdYWkuc3RpZ21lci5iaWxsaW5nLmxpY2Vuc2UudjEy2AIKFkxpY2Vuc2VRdWVyeUNvbnRyb2xsZXISlQEKA2dldBIoLmFpLnN0aWdtZXIuYmlsbGluZy5saWNlbnNlLnYxLkxpY2Vuc2VJZBomLmFpLnN0aWdtZXIuYmlsbGluZy5saWNlbnNlLnYxLkxpY2Vuc2UiPMK4GDgIKhAfKilvbmx5IHBsYXRmb3JtIG9wZXJhdG9ycyBjYW4gdmlldyBsaWNlbnNlczIHc3RpZ21lchKfAQoEbGlzdBIwLmFpLnN0aWdtZXIuYmlsbGluZy5saWNlbnNlLnYxLkxpc3RMaWNlbnNlc0lucHV0GicuYWkuc3RpZ21lci5iaWxsaW5nLmxpY2Vuc2UudjEuTGljZW5zZXMiPMK4GDgIKhAfKilvbmx5IHBsYXRmb3JtIG9wZXJhdG9ycyBjYW4gdmlldyBsaWNlbnNlczIHc3RpZ21lchoEoP8rSGIGcHJvdG8z", [file_ai_stigmer_billing_license_v1_api, file_ai_stigmer_billing_license_v1_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
|
|
13
|
+
/**
|
|
14
|
+
* LicenseQueryController provides the read operations on issued licenses.
|
|
15
|
+
*
|
|
16
|
+
* A license carries a customer's name and a ticket that unlocks a server, so
|
|
17
|
+
* every read is a platform operator act on the static platform target, with
|
|
18
|
+
* the same permission that issues.
|
|
19
|
+
*
|
|
20
|
+
* @generated from service ai.stigmer.billing.license.v1.LicenseQueryController
|
|
21
|
+
*/
|
|
22
|
+
export const LicenseQueryController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_billing_license_v1_query, 0);
|
|
23
|
+
//# sourceMappingURL=query_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/billing/license/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,wHAAwH;AACxH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,aAAa,CAAC;AAErE,OAAO,EAAE,qCAAqC,EAAE,MAAM,YAAY,CAAC;AACnE,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,8jBAA8jB,EAAE,CAAC,sCAAsC,EAAE,qCAAqC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEjwB;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAqB9B,aAAa,CAChB,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { Entitlements } from "../../../platform/v1/entitlement_pb.js";
|
|
3
|
+
import type { LicenseCustomer, LicenseTerm } from "../../../platform/v1/license_pb.js";
|
|
4
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
5
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file ai/stigmer/billing/license/v1/spec.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_ai_stigmer_billing_license_v1_spec: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* LicenseSpec is what an operator issues: who the license is for, what it
|
|
12
|
+
* permits and for how long.
|
|
13
|
+
*
|
|
14
|
+
* The spec is the source of the signed claims: at issue, the issuer builds
|
|
15
|
+
* LicenseClaims from it, the license's id and the signing instant, signs
|
|
16
|
+
* them, and records the ticket in the status. The spec is final at create;
|
|
17
|
+
* a license that must say something else is a new License.
|
|
18
|
+
*
|
|
19
|
+
* @generated from message ai.stigmer.billing.license.v1.LicenseSpec
|
|
20
|
+
*/
|
|
21
|
+
export type LicenseSpec = Message<"ai.stigmer.billing.license.v1.LicenseSpec"> & {
|
|
22
|
+
/**
|
|
23
|
+
* Who the license is issued to.
|
|
24
|
+
*
|
|
25
|
+
* @generated from field: ai.stigmer.platform.v1.LicenseCustomer customer = 1;
|
|
26
|
+
*/
|
|
27
|
+
customer?: LicenseCustomer;
|
|
28
|
+
/**
|
|
29
|
+
* The id of the Plan the entitlements were copied from. Empty when the
|
|
30
|
+
* entitlements are bespoke to this customer.
|
|
31
|
+
*
|
|
32
|
+
* @generated from field: string plan_id = 2;
|
|
33
|
+
*/
|
|
34
|
+
planId: string;
|
|
35
|
+
/**
|
|
36
|
+
* What the license permits. Copied from the plan when plan_id is set, so
|
|
37
|
+
* the license reads whole without a lookup; written by hand otherwise.
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: ai.stigmer.platform.v1.Entitlements entitlements = 3;
|
|
40
|
+
*/
|
|
41
|
+
entitlements?: Entitlements;
|
|
42
|
+
/**
|
|
43
|
+
* Whether the term is a trial or a paid license.
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: ai.stigmer.platform.v1.LicenseTerm term = 4;
|
|
46
|
+
*/
|
|
47
|
+
term: LicenseTerm;
|
|
48
|
+
/**
|
|
49
|
+
* When the term ends.
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 5;
|
|
52
|
+
*/
|
|
53
|
+
expiresAt?: Timestamp;
|
|
54
|
+
/**
|
|
55
|
+
* The end of the grace period after expiry, during which the licensed
|
|
56
|
+
* server keeps serving and reports the license as expired.
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: google.protobuf.Timestamp grace_until = 6;
|
|
59
|
+
*/
|
|
60
|
+
graceUntil?: Timestamp;
|
|
61
|
+
/**
|
|
62
|
+
* Operator notes about this issuance (the order, the contact, the reason
|
|
63
|
+
* for a bespoke entitlement). Never signed, never shown to the customer.
|
|
64
|
+
*
|
|
65
|
+
* @generated from field: string notes = 7;
|
|
66
|
+
*/
|
|
67
|
+
notes: string;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Describes the message ai.stigmer.billing.license.v1.LicenseSpec.
|
|
71
|
+
* Use `create(LicenseSpecSchema)` to create a new message.
|
|
72
|
+
*/
|
|
73
|
+
export declare const LicenseSpecSchema: GenMessage<LicenseSpec>;
|
|
@@ -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/license/v1/spec.proto (package ai.stigmer.billing.license.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_platform_v1_entitlement } from "../../../platform/v1/entitlement_pb.js";
|
|
6
|
+
import { file_ai_stigmer_platform_v1_license } from "../../../platform/v1/license_pb.js";
|
|
7
|
+
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
|
|
8
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file ai/stigmer/billing/license/v1/spec.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_ai_stigmer_billing_license_v1_spec = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2JpbGxpbmcvbGljZW5zZS92MS9zcGVjLnByb3RvEh1haS5zdGlnbWVyLmJpbGxpbmcubGljZW5zZS52MSLuAwoLTGljZW5zZVNwZWMSQQoIY3VzdG9tZXIYASABKAsyJy5haS5zdGlnbWVyLnBsYXRmb3JtLnYxLkxpY2Vuc2VDdXN0b21lckIGukgDyAEBEg8KB3BsYW5faWQYAiABKAkSQgoMZW50aXRsZW1lbnRzGAMgASgLMiQuYWkuc3RpZ21lci5wbGF0Zm9ybS52MS5FbnRpdGxlbWVudHNCBrpIA8gBARJACgR0ZXJtGAQgASgOMiMuYWkuc3RpZ21lci5wbGF0Zm9ybS52MS5MaWNlbnNlVGVybUINukgKyAEBggEEEAEgABI2CgpleHBpcmVzX2F0GAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEIGukgDyAEBEjcKC2dyYWNlX3VudGlsGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEIGukgDyAEBEhcKBW5vdGVzGAcgASgJQgi6SAVyAxiAIDp7ukh4GnYKJGxpY2Vuc2Vfc3BlYy5ncmFjZV9ub3RfYmVmb3JlX2V4cGlyeRIpZ3JhY2VfdW50aWwgbXVzdCBub3QgYmUgYmVmb3JlIGV4cGlyZXNfYXQaI3RoaXMuZ3JhY2VfdW50aWwgPj0gdGhpcy5leHBpcmVzX2F0YgZwcm90bzM", [file_ai_stigmer_platform_v1_entitlement, file_ai_stigmer_platform_v1_license, file_buf_validate_validate, file_google_protobuf_timestamp]);
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message ai.stigmer.billing.license.v1.LicenseSpec.
|
|
15
|
+
* Use `create(LicenseSpecSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const LicenseSpecSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_billing_license_v1_spec, 0);
|
|
18
|
+
//# sourceMappingURL=spec_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/billing/license/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,uHAAuH;AACvH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,uCAAuC,EAAE,MAAM,wCAAwC,CAAC;AAEjG,OAAO,EAAE,mCAAmC,EAAE,MAAM,oCAAoC,CAAC;AACzF,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAExF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,qwBAAqwB,EAAE,CAAC,uCAAuC,EAAE,mCAAmC,EAAE,0BAA0B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AAoE95B;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { ApiResourceAudit } from "../../../commons/apiresource/status_pb.js";
|
|
3
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file ai/stigmer/billing/license/v1/status.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_ai_stigmer_billing_license_v1_status: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* LicenseStatus is the system-managed state of an issued license: its audit
|
|
11
|
+
* trail and the signed ticket the customer installs.
|
|
12
|
+
*
|
|
13
|
+
* This is the issuance record, kept by the cloud. What a licensed server
|
|
14
|
+
* reports about the ticket it holds is a different question, answered by
|
|
15
|
+
* PlatformQueryController.getLicenseStatus on that server.
|
|
16
|
+
*
|
|
17
|
+
* @generated from message ai.stigmer.billing.license.v1.LicenseStatus
|
|
18
|
+
*/
|
|
19
|
+
export type LicenseStatus = Message<"ai.stigmer.billing.license.v1.LicenseStatus"> & {
|
|
20
|
+
/**
|
|
21
|
+
* Standard audit information tracking creation and modification.
|
|
22
|
+
*
|
|
23
|
+
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceAudit audit = 99;
|
|
24
|
+
*/
|
|
25
|
+
audit?: ApiResourceAudit;
|
|
26
|
+
/**
|
|
27
|
+
* The `kid` of the key that signed the ticket, so the issuer can tell
|
|
28
|
+
* which licenses a rotated key still covers.
|
|
29
|
+
*
|
|
30
|
+
* @generated from field: string key_id = 1;
|
|
31
|
+
*/
|
|
32
|
+
keyId: string;
|
|
33
|
+
/**
|
|
34
|
+
* When the ticket was signed; the issued_at the claims carry.
|
|
35
|
+
*
|
|
36
|
+
* @generated from field: google.protobuf.Timestamp issued_at = 2;
|
|
37
|
+
*/
|
|
38
|
+
issuedAt?: Timestamp;
|
|
39
|
+
/**
|
|
40
|
+
* The signed ticket: a compact JWS whose payload is the proto JSON of the
|
|
41
|
+
* LicenseClaims built from the spec. The customer configures the licensed
|
|
42
|
+
* server with this value. Visible to platform operators only.
|
|
43
|
+
*
|
|
44
|
+
* @generated from field: string ticket = 3;
|
|
45
|
+
*/
|
|
46
|
+
ticket: string;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message ai.stigmer.billing.license.v1.LicenseStatus.
|
|
50
|
+
* Use `create(LicenseStatusSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export declare const LicenseStatusSchema: GenMessage<LicenseStatus>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file ai/stigmer/billing/license/v1/status.proto (package ai.stigmer.billing.license.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_commons_apiresource_status } from "../../../commons/apiresource/status_pb.js";
|
|
6
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file ai/stigmer/billing/license/v1/status.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_ai_stigmer_billing_license_v1_status = /*@__PURE__*/ fileDesc("CiphaS9zdGlnbWVyL2JpbGxpbmcvbGljZW5zZS92MS9zdGF0dXMucHJvdG8SHWFpLnN0aWdtZXIuYmlsbGluZy5saWNlbnNlLnYxIp8BCg1MaWNlbnNlU3RhdHVzEj8KBWF1ZGl0GGMgASgLMjAuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlQXVkaXQSDgoGa2V5X2lkGAEgASgJEi0KCWlzc3VlZF9hdBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASDgoGdGlja2V0GAMgASgJYgZwcm90bzM", [file_ai_stigmer_commons_apiresource_status, file_google_protobuf_timestamp]);
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message ai.stigmer.billing.license.v1.LicenseStatus.
|
|
13
|
+
* Use `create(LicenseStatusSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export const LicenseStatusSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_billing_license_v1_status, 0);
|
|
16
|
+
//# sourceMappingURL=status_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/billing/license/v1/status_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,yHAAyH;AACzH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAY,aAAa,CAC7E,QAAQ,CAAC,yUAAyU,EAAE,CAAC,0CAA0C,EAAE,8BAA8B,CAAC,CAAC,CAAC;AA6Cpa;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC"}
|