@stigmer/protos 3.2.2 → 3.3.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.
- package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +41 -0
- package/ai/stigmer/agentic/agent/v1/spec_pb.js +8 -3
- package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/command_connect.d.ts +4 -2
- package/ai/stigmer/agentic/agentexecution/v1/command_connect.js +4 -2
- package/ai/stigmer/agentic/agentexecution/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/command_pb.d.ts +4 -2
- package/ai/stigmer/agentic/agentexecution/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +78 -1
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +92 -14
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +18 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.d.ts +17 -0
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/spec_pb.d.ts +21 -0
- package/ai/stigmer/agentic/agentinstance/v1/spec_pb.js +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/datastore/v1/api_pb.d.ts +64 -0
- package/ai/stigmer/agentic/datastore/v1/api_pb.js +18 -0
- package/ai/stigmer/agentic/datastore/v1/api_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/command_connect.d.ts +111 -0
- package/ai/stigmer/agentic/datastore/v1/command_connect.js +119 -0
- package/ai/stigmer/agentic/datastore/v1/command_connect.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/command_pb.d.ts +110 -0
- package/ai/stigmer/agentic/datastore/v1/command_pb.js +19 -0
- package/ai/stigmer/agentic/datastore/v1/command_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/io_pb.d.ts +64 -0
- package/ai/stigmer/agentic/datastore/v1/io_pb.js +22 -0
- package/ai/stigmer/agentic/datastore/v1/io_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/query_connect.d.ts +59 -0
- package/ai/stigmer/agentic/datastore/v1/query_connect.js +68 -0
- package/ai/stigmer/agentic/datastore/v1/query_connect.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/query_pb.d.ts +61 -0
- package/ai/stigmer/agentic/datastore/v1/query_pb.js +24 -0
- package/ai/stigmer/agentic/datastore/v1/query_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/record_command_connect.d.ts +75 -0
- package/ai/stigmer/agentic/datastore/v1/record_command_connect.js +82 -0
- package/ai/stigmer/agentic/datastore/v1/record_command_connect.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/record_command_pb.d.ts +75 -0
- package/ai/stigmer/agentic/datastore/v1/record_command_pb.js +32 -0
- package/ai/stigmer/agentic/datastore/v1/record_command_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/record_io_pb.d.ts +729 -0
- package/ai/stigmer/agentic/datastore/v1/record_io_pb.js +198 -0
- package/ai/stigmer/agentic/datastore/v1/record_io_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/record_query_connect.d.ts +69 -0
- package/ai/stigmer/agentic/datastore/v1/record_query_connect.js +76 -0
- package/ai/stigmer/agentic/datastore/v1/record_query_connect.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/record_query_pb.d.ts +70 -0
- package/ai/stigmer/agentic/datastore/v1/record_query_pb.js +38 -0
- package/ai/stigmer/agentic/datastore/v1/record_query_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/spec_pb.d.ts +680 -0
- package/ai/stigmer/agentic/datastore/v1/spec_pb.js +195 -0
- package/ai/stigmer/agentic/datastore/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/status_pb.d.ts +159 -0
- package/ai/stigmer/agentic/datastore/v1/status_pb.js +93 -0
- package/ai/stigmer/agentic/datastore/v1/status_pb.js.map +1 -0
- package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +18 -0
- package/ai/stigmer/agentic/session/v1/spec_pb.js +1 -1
- package/ai/stigmer/agentic/session/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/human_input_pb.d.ts +13 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/human_input_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/event_pb.d.ts +24 -1
- package/ai/stigmer/agentic/workflowexecution/v1/event_pb.js +2 -1
- package/ai/stigmer/agentic/workflowexecution/v1/event_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +10 -2
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
- package/ai/stigmer/billing/v1/command_connect.d.ts +43 -0
- package/ai/stigmer/billing/v1/command_connect.js +46 -1
- package/ai/stigmer/billing/v1/command_connect.js.map +1 -1
- package/ai/stigmer/billing/v1/command_pb.d.ts +43 -1
- package/ai/stigmer/billing/v1/command_pb.js +3 -1
- package/ai/stigmer/billing/v1/command_pb.js.map +1 -1
- package/ai/stigmer/billing/v1/io_pb.d.ts +274 -0
- package/ai/stigmer/billing/v1/io_pb.js +44 -2
- package/ai/stigmer/billing/v1/io_pb.js.map +1 -1
- package/ai/stigmer/billing/v1/model_pricing_baseline_pb.d.ts +369 -0
- package/ai/stigmer/billing/v1/model_pricing_baseline_pb.js +79 -0
- package/ai/stigmer/billing/v1/model_pricing_baseline_pb.js.map +1 -0
- package/ai/stigmer/billing/v1/pricing_override_pb.d.ts +272 -0
- package/ai/stigmer/billing/v1/pricing_override_pb.js +116 -0
- package/ai/stigmer/billing/v1/pricing_override_pb.js.map +1 -0
- package/ai/stigmer/billing/v1/query_connect.d.ts +31 -0
- package/ai/stigmer/billing/v1/query_connect.js +32 -1
- package/ai/stigmer/billing/v1/query_connect.js.map +1 -1
- package/ai/stigmer/billing/v1/query_pb.d.ts +30 -1
- package/ai/stigmer/billing/v1/query_pb.js +1 -1
- package/ai/stigmer/billing/v1/query_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +7 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +8 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/status_pb.d.ts +25 -0
- package/ai/stigmer/commons/apiresource/status_pb.js +1 -1
- package/ai/stigmer/commons/apiresource/status_pb.js.map +1 -1
- package/ai/stigmer/iam/v1/enum_pb.d.ts +44 -1
- package/ai/stigmer/iam/v1/enum_pb.js +44 -1
- package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/platform/cursoraccount/v1/command_connect.d.ts +102 -0
- package/ai/stigmer/platform/cursoraccount/v1/command_connect.js +110 -0
- package/ai/stigmer/platform/cursoraccount/v1/command_connect.js.map +1 -0
- package/ai/stigmer/platform/cursoraccount/v1/command_pb.d.ts +100 -0
- package/ai/stigmer/platform/cursoraccount/v1/command_pb.js +32 -0
- package/ai/stigmer/platform/cursoraccount/v1/command_pb.js.map +1 -0
- package/ai/stigmer/platform/cursoraccount/v1/cursor_account_pb.d.ts +331 -0
- package/ai/stigmer/platform/cursoraccount/v1/cursor_account_pb.js +36 -0
- package/ai/stigmer/platform/cursoraccount/v1/cursor_account_pb.js.map +1 -0
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.d.ts +332 -0
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.js +110 -0
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.js.map +1 -0
- package/ai/stigmer/platform/cursoraccount/v1/query_connect.d.ts +44 -0
- package/ai/stigmer/platform/cursoraccount/v1/query_connect.js +51 -0
- package/ai/stigmer/platform/cursoraccount/v1/query_connect.js.map +1 -0
- package/ai/stigmer/platform/cursoraccount/v1/query_pb.d.ts +45 -0
- package/ai/stigmer/platform/cursoraccount/v1/query_pb.js +25 -0
- package/ai/stigmer/platform/cursoraccount/v1/query_pb.js.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowexecution/v1/event_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4IAA4I;AAC5I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,8CAA8C,EAAE,MAAM,oCAAoC,CAAC;AAEpG,OAAO,EAAE,wCAAwC,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"event_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowexecution/v1/event_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4IAA4I;AAC5I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,8CAA8C,EAAE,MAAM,oCAAoC,CAAC;AAEpG,OAAO,EAAE,wCAAwC,EAAE,MAAM,8BAA8B,CAAC;AAExF,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAExF,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,kDAA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H,MAAM,CAAC,MAAM,uBAAuB,GAA+B,aAAa,CAC9E,QAAQ,CAAC,kDAAkD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -565,8 +565,16 @@ export type SubmitWorkflowTaskApprovalInput = Message<"ai.stigmer.agentic.workfl
|
|
|
565
565
|
* Identity of the reviewer submitting the decision.
|
|
566
566
|
*
|
|
567
567
|
* @internal
|
|
568
|
-
*
|
|
569
|
-
*
|
|
568
|
+
* Attribution contract:
|
|
569
|
+
* - Interactive clients (web console, CLI, SDKs) MUST leave this empty.
|
|
570
|
+
* The server attributes the decision from the authenticated caller —
|
|
571
|
+
* a client-supplied identity is spoofable and is overridden for human
|
|
572
|
+
* callers.
|
|
573
|
+
* - Machine-account callers MAY set it for delegated attribution, e.g.
|
|
574
|
+
* a channel broker submitting a decision on behalf of an external
|
|
575
|
+
* reviewer (Slack user) where the caller identity is the service
|
|
576
|
+
* account and this field is the only truthful source.
|
|
577
|
+
* Stored in the task output and the approval_resolved event for audit.
|
|
570
578
|
*
|
|
571
579
|
* @generated from field: string reviewer = 5;
|
|
572
580
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowexecution/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,yIAAyI;AACzI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,8CAA8C,EAAE,MAAM,oCAAoC,CAAC;AAEpG,OAAO,EAAE,gDAAgD,EAAE,MAAM,aAAa,CAAC;AAE/E,OAAO,EAAE,iDAAiD,EAAE,MAAM,cAAc,CAAC;AAEjF,OAAO,EAAE,kDAAkD,EAAE,MAAM,eAAe,CAAC;AACnF,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAExF,OAAO,EAAE,6BAA6B,EAAE,2BAA2B,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qB,GAAgC,aAAa,CAC7E,WAAW,CAAC,+CAA+C,EAAE,EAAE,CAAC,CAAC;AA8BnE;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,+CAA+C,EAAE,EAAE,CAAC,CAAC;AAEnE;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,kBAqCX;AArCD,WAAY,kBAAkB;IAC5B;;;;OAIG;IACH,yEAAe,CAAA;IAEf;;;;OAIG;IACH,uEAAc,CAAA;IAEd;;;;;;OAMG;IACH,mEAAY,CAAA;IAEZ;;;;OAIG;IACH,2DAAQ,CAAA;IAER;;;;OAIG;IACH,+DAAU,CAAA;AACZ,CAAC,EArCW,kBAAkB,KAAlB,kBAAkB,QAqC7B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAgC,aAAa,CAChF,QAAQ,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC;AAE/D;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,iBAyBX;AAzBD,WAAY,iBAAiB;IAC3B;;OAEG;IACH,uEAAe,CAAA;IAEf;;OAEG;IACH,iEAAY,CAAA;IAEZ;;OAEG;IACH,+DAAW,CAAA;IAEX;;OAEG;IACH,iEAAY,CAAA;IAEZ;;OAEG;IACH,iEAAY,CAAA;AACd,CAAC,EAzBW,iBAAiB,KAAjB,iBAAiB,QAyB5B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAA+B,aAAa,CAC9E,QAAQ,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -131,5 +131,48 @@ export declare const BillingCommandController: {
|
|
|
131
131
|
readonly O: any;
|
|
132
132
|
readonly kind: any;
|
|
133
133
|
};
|
|
134
|
+
/**
|
|
135
|
+
* Record a human decision on a PENDING_SIGNOFF pricing override from the
|
|
136
|
+
* pricing feedback loop. Approving makes the override ACTIVE (superseding
|
|
137
|
+
* any current ACTIVE override on the same pricing key) and recomposes the
|
|
138
|
+
* effective registry; rejecting archives it for audit.
|
|
139
|
+
*
|
|
140
|
+
* @generated from rpc ai.stigmer.billing.v1.BillingCommandController.decideModelPricingOverride
|
|
141
|
+
*/
|
|
142
|
+
readonly decideModelPricingOverride: {
|
|
143
|
+
readonly name: "decideModelPricingOverride";
|
|
144
|
+
readonly I: any;
|
|
145
|
+
readonly O: any;
|
|
146
|
+
readonly kind: any;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* Create or revise one model registry baseline entry (catalog + list
|
|
150
|
+
* prices). Append-only: an existing ACTIVE document for the same
|
|
151
|
+
* (model_id, provider, harness) key is superseded, never mutated. The
|
|
152
|
+
* effective registry is recomposed immediately, so the revision reaches
|
|
153
|
+
* billing and every published price surface atomically.
|
|
154
|
+
*
|
|
155
|
+
* @generated from rpc ai.stigmer.billing.v1.BillingCommandController.upsertModelPricingBaseline
|
|
156
|
+
*/
|
|
157
|
+
readonly upsertModelPricingBaseline: {
|
|
158
|
+
readonly name: "upsertModelPricingBaseline";
|
|
159
|
+
readonly I: any;
|
|
160
|
+
readonly O: any;
|
|
161
|
+
readonly kind: any;
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* Retire one model from the registry catalog. The next composition pass
|
|
165
|
+
* drops it from the effective registry and archives any ACTIVE pricing
|
|
166
|
+
* overrides that targeted it. Kept for audit; the key can be revived by
|
|
167
|
+
* a subsequent upsert.
|
|
168
|
+
*
|
|
169
|
+
* @generated from rpc ai.stigmer.billing.v1.BillingCommandController.retireModelPricingBaseline
|
|
170
|
+
*/
|
|
171
|
+
readonly retireModelPricingBaseline: {
|
|
172
|
+
readonly name: "retireModelPricingBaseline";
|
|
173
|
+
readonly I: any;
|
|
174
|
+
readonly O: any;
|
|
175
|
+
readonly kind: any;
|
|
176
|
+
};
|
|
134
177
|
};
|
|
135
178
|
};
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
// @generated from file ai/stigmer/billing/v1/command.proto (package ai.stigmer.billing.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { AdjustCreditsInput, AuthorizeExecutionInput, AuthorizeExecutionResponse, CreateBillingPortalSessionInput, CreateBillingPortalSessionResponse, CreateCreditCheckoutSessionInput, CreateCreditCheckoutSessionResponse, FinalizeExecutionInput, FinalizeExecutionResponse, GetOrCreateBillingAccountInput, RecordLlmCallUsageInput, RecordLlmCallUsageResponse, SetAutoRechargeConfigInput } from "./io_pbjs";
|
|
5
|
+
import { AdjustCreditsInput, AuthorizeExecutionInput, AuthorizeExecutionResponse, CreateBillingPortalSessionInput, CreateBillingPortalSessionResponse, CreateCreditCheckoutSessionInput, CreateCreditCheckoutSessionResponse, DecideModelPricingOverrideInput, FinalizeExecutionInput, FinalizeExecutionResponse, GetOrCreateBillingAccountInput, RecordLlmCallUsageInput, RecordLlmCallUsageResponse, RetireModelPricingBaselineInput, SetAutoRechargeConfigInput, UpsertModelPricingBaselineInput } from "./io_pbjs";
|
|
6
6
|
import { BillingAccount } from "./billing_account_pbjs";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { CreditLedgerEntry } from "./credit_pbjs";
|
|
9
|
+
import { ModelPricingOverride } from "./pricing_override_pbjs";
|
|
10
|
+
import { ModelPricingBaseline } from "./model_pricing_baseline_pbjs";
|
|
9
11
|
/**
|
|
10
12
|
* BillingCommandController handles write operations for the billing bounded context.
|
|
11
13
|
*
|
|
@@ -139,6 +141,49 @@ export const BillingCommandController = {
|
|
|
139
141
|
O: BillingAccount,
|
|
140
142
|
kind: MethodKind.Unary,
|
|
141
143
|
},
|
|
144
|
+
/**
|
|
145
|
+
* Record a human decision on a PENDING_SIGNOFF pricing override from the
|
|
146
|
+
* pricing feedback loop. Approving makes the override ACTIVE (superseding
|
|
147
|
+
* any current ACTIVE override on the same pricing key) and recomposes the
|
|
148
|
+
* effective registry; rejecting archives it for audit.
|
|
149
|
+
*
|
|
150
|
+
* @generated from rpc ai.stigmer.billing.v1.BillingCommandController.decideModelPricingOverride
|
|
151
|
+
*/
|
|
152
|
+
decideModelPricingOverride: {
|
|
153
|
+
name: "decideModelPricingOverride",
|
|
154
|
+
I: DecideModelPricingOverrideInput,
|
|
155
|
+
O: ModelPricingOverride,
|
|
156
|
+
kind: MethodKind.Unary,
|
|
157
|
+
},
|
|
158
|
+
/**
|
|
159
|
+
* Create or revise one model registry baseline entry (catalog + list
|
|
160
|
+
* prices). Append-only: an existing ACTIVE document for the same
|
|
161
|
+
* (model_id, provider, harness) key is superseded, never mutated. The
|
|
162
|
+
* effective registry is recomposed immediately, so the revision reaches
|
|
163
|
+
* billing and every published price surface atomically.
|
|
164
|
+
*
|
|
165
|
+
* @generated from rpc ai.stigmer.billing.v1.BillingCommandController.upsertModelPricingBaseline
|
|
166
|
+
*/
|
|
167
|
+
upsertModelPricingBaseline: {
|
|
168
|
+
name: "upsertModelPricingBaseline",
|
|
169
|
+
I: UpsertModelPricingBaselineInput,
|
|
170
|
+
O: ModelPricingBaseline,
|
|
171
|
+
kind: MethodKind.Unary,
|
|
172
|
+
},
|
|
173
|
+
/**
|
|
174
|
+
* Retire one model from the registry catalog. The next composition pass
|
|
175
|
+
* drops it from the effective registry and archives any ACTIVE pricing
|
|
176
|
+
* overrides that targeted it. Kept for audit; the key can be revived by
|
|
177
|
+
* a subsequent upsert.
|
|
178
|
+
*
|
|
179
|
+
* @generated from rpc ai.stigmer.billing.v1.BillingCommandController.retireModelPricingBaseline
|
|
180
|
+
*/
|
|
181
|
+
retireModelPricingBaseline: {
|
|
182
|
+
name: "retireModelPricingBaseline",
|
|
183
|
+
I: RetireModelPricingBaselineInput,
|
|
184
|
+
O: ModelPricingBaseline,
|
|
185
|
+
kind: MethodKind.Unary,
|
|
186
|
+
},
|
|
142
187
|
}
|
|
143
188
|
};
|
|
144
189
|
//# sourceMappingURL=command_connect.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../ai/stigmer/billing/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0GAA0G;AAC1G,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,+BAA+B,EAAE,kCAAkC,EAAE,gCAAgC,EAAE,mCAAmC,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,8BAA8B,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../ai/stigmer/billing/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0GAA0G;AAC1G,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,+BAA+B,EAAE,kCAAkC,EAAE,gCAAgC,EAAE,mCAAmC,EAAE,+BAA+B,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,8BAA8B,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,+BAA+B,EAAE,0BAA0B,EAAE,+BAA+B,EAAE,MAAM,WAAW,CAAC;AACvf,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,QAAQ,EAAE,gDAAgD;IAC1D,OAAO,EAAE;QACP;;;;;;;;;WASG;QACH,yBAAyB,EAAE;YACzB,IAAI,EAAE,2BAA2B;YACjC,CAAC,EAAE,8BAA8B;YACjC,CAAC,EA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4BAA4B;YAClC,CAAC,EAAE,+BAA+B;YAClC,CAAC,EAAE,oBAAoB;YACvB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;WAQG;QACH,0BAA0B,EAAE;YAC1B,IAAI,EAAE,4BAA4B;YAClC,CAAC,EAAE,+BAA+B;YAClC,CAAC,EAAE,oBAAoB;YACvB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;WAOG;QACH,0BAA0B,EAAE;YAC1B,IAAI,EAAE,4BAA4B;YAClC,CAAC,EAAE,+BAA+B;YAClC,CAAC,EAAE,oBAAoB;YACvB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { BillingAccountSchema } from "./billing_account_pb.js";
|
|
3
3
|
import type { CreditLedgerEntrySchema } from "./credit_pb.js";
|
|
4
|
-
import type { AdjustCreditsInputSchema, AuthorizeExecutionInputSchema, AuthorizeExecutionResponseSchema, CreateBillingPortalSessionInputSchema, CreateBillingPortalSessionResponseSchema, CreateCreditCheckoutSessionInputSchema, CreateCreditCheckoutSessionResponseSchema, FinalizeExecutionInputSchema, FinalizeExecutionResponseSchema, GetOrCreateBillingAccountInputSchema, RecordLlmCallUsageInputSchema, RecordLlmCallUsageResponseSchema, SetAutoRechargeConfigInputSchema } from "./io_pb.js";
|
|
4
|
+
import type { AdjustCreditsInputSchema, AuthorizeExecutionInputSchema, AuthorizeExecutionResponseSchema, CreateBillingPortalSessionInputSchema, CreateBillingPortalSessionResponseSchema, CreateCreditCheckoutSessionInputSchema, CreateCreditCheckoutSessionResponseSchema, DecideModelPricingOverrideInputSchema, FinalizeExecutionInputSchema, FinalizeExecutionResponseSchema, GetOrCreateBillingAccountInputSchema, RecordLlmCallUsageInputSchema, RecordLlmCallUsageResponseSchema, RetireModelPricingBaselineInputSchema, SetAutoRechargeConfigInputSchema, UpsertModelPricingBaselineInputSchema } from "./io_pb.js";
|
|
5
|
+
import type { ModelPricingBaselineSchema } from "./model_pricing_baseline_pb.js";
|
|
6
|
+
import type { ModelPricingOverrideSchema } from "./pricing_override_pb.js";
|
|
5
7
|
/**
|
|
6
8
|
* Describes the file ai/stigmer/billing/v1/command.proto.
|
|
7
9
|
*/
|
|
@@ -129,4 +131,44 @@ export declare const BillingCommandController: GenService<{
|
|
|
129
131
|
input: typeof SetAutoRechargeConfigInputSchema;
|
|
130
132
|
output: typeof BillingAccountSchema;
|
|
131
133
|
};
|
|
134
|
+
/**
|
|
135
|
+
* Record a human decision on a PENDING_SIGNOFF pricing override from the
|
|
136
|
+
* pricing feedback loop. Approving makes the override ACTIVE (superseding
|
|
137
|
+
* any current ACTIVE override on the same pricing key) and recomposes the
|
|
138
|
+
* effective registry; rejecting archives it for audit.
|
|
139
|
+
*
|
|
140
|
+
* @generated from rpc ai.stigmer.billing.v1.BillingCommandController.decideModelPricingOverride
|
|
141
|
+
*/
|
|
142
|
+
decideModelPricingOverride: {
|
|
143
|
+
methodKind: "unary";
|
|
144
|
+
input: typeof DecideModelPricingOverrideInputSchema;
|
|
145
|
+
output: typeof ModelPricingOverrideSchema;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* Create or revise one model registry baseline entry (catalog + list
|
|
149
|
+
* prices). Append-only: an existing ACTIVE document for the same
|
|
150
|
+
* (model_id, provider, harness) key is superseded, never mutated. The
|
|
151
|
+
* effective registry is recomposed immediately, so the revision reaches
|
|
152
|
+
* billing and every published price surface atomically.
|
|
153
|
+
*
|
|
154
|
+
* @generated from rpc ai.stigmer.billing.v1.BillingCommandController.upsertModelPricingBaseline
|
|
155
|
+
*/
|
|
156
|
+
upsertModelPricingBaseline: {
|
|
157
|
+
methodKind: "unary";
|
|
158
|
+
input: typeof UpsertModelPricingBaselineInputSchema;
|
|
159
|
+
output: typeof ModelPricingBaselineSchema;
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* Retire one model from the registry catalog. The next composition pass
|
|
163
|
+
* drops it from the effective registry and archives any ACTIVE pricing
|
|
164
|
+
* overrides that targeted it. Kept for audit; the key can be revived by
|
|
165
|
+
* a subsequent upsert.
|
|
166
|
+
*
|
|
167
|
+
* @generated from rpc ai.stigmer.billing.v1.BillingCommandController.retireModelPricingBaseline
|
|
168
|
+
*/
|
|
169
|
+
retireModelPricingBaseline: {
|
|
170
|
+
methodKind: "unary";
|
|
171
|
+
input: typeof RetireModelPricingBaselineInputSchema;
|
|
172
|
+
output: typeof ModelPricingBaselineSchema;
|
|
173
|
+
};
|
|
132
174
|
}>;
|
|
@@ -5,11 +5,13 @@ import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
|
5
5
|
import { file_ai_stigmer_billing_v1_billing_account } from "./billing_account_pb.js";
|
|
6
6
|
import { file_ai_stigmer_billing_v1_credit } from "./credit_pb.js";
|
|
7
7
|
import { file_ai_stigmer_billing_v1_io } from "./io_pb.js";
|
|
8
|
+
import { file_ai_stigmer_billing_v1_model_pricing_baseline } from "./model_pricing_baseline_pb.js";
|
|
9
|
+
import { file_ai_stigmer_billing_v1_pricing_override } from "./pricing_override_pb.js";
|
|
8
10
|
import { file_ai_stigmer_commons_rpc_method_options } from "../../commons/rpc/method_options_pb.js";
|
|
9
11
|
/**
|
|
10
12
|
* Describes the file ai/stigmer/billing/v1/command.proto.
|
|
11
13
|
*/
|
|
12
|
-
export const file_ai_stigmer_billing_v1_command = /*@__PURE__*/ fileDesc("
|
|
14
|
+
export const file_ai_stigmer_billing_v1_command = /*@__PURE__*/ fileDesc("CiNhaS9zdGlnbWVyL2JpbGxpbmcvdjEvY29tbWFuZC5wcm90bxIVYWkuc3RpZ21lci5iaWxsaW5nLnYxMssRChhCaWxsaW5nQ29tbWFuZENvbnRyb2xsZXISwQEKGWdldE9yQ3JlYXRlQmlsbGluZ0FjY291bnQSNS5haS5zdGlnbWVyLmJpbGxpb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N0aWdtZXIuYmlsbGluZy52MS5EZWNpZGVNb2RlbFByaWNpbmdPdmVycmlkZUlucHV0GisuYWkuc3RpZ21lci5iaWxsaW5nLnYxLk1vZGVsUHJpY2luZ092ZXJyaWRlIkfCuBhDCCAQHyo0b25seSBwbGF0Zm9ybSBvcGVyYXRvcnMgY2FuIGRlY2lkZSBwcmljaW5nIG92ZXJyaWRlczIHc3RpZ21lchLSAQoadXBzZXJ0TW9kZWxQcmljaW5nQmFzZWxpbmUSNi5haS5zdGlnbWVyLmJpbGxpbmcudjEuVXBzZXJ0TW9kZWxQcmljaW5nQmFzZWxpbmVJbnB1dBorLmFpLnN0aWdtZXIuYmlsbGluZy52MS5Nb2RlbFByaWNpbmdCYXNlbGluZSJPwrgYSwggEB8qPG9ubHkgcGxhdGZvcm0gb3BlcmF0b3JzIGNhbiBlZGl0IHRoZSBtb2RlbCByZWdpc3RyeSBiYXNlbGluZTIHc3RpZ21lchLSAQoacmV0aXJlTW9kZWxQcmljaW5nQmFzZWxpbmUSNi5haS5zdGlnbWVyLmJpbGxpbmcudjEuUmV0aXJlTW9kZWxQcmljaW5nQmFzZWxpbmVJbnB1dBorLmFpLnN0aWdtZXIuYmlsbGluZy52MS5Nb2RlbFByaWNpbmdCYXNlbGluZSJPwrgYSwggEB8qPG9ubHkgcGxhdGZvcm0gb3BlcmF0b3JzIGNhbiBlZGl0IHRoZSBtb2RlbCByZWdpc3RyeSBiYXNlbGluZTIHc3RpZ21lcmIGcHJvdG8z", [file_ai_stigmer_billing_v1_billing_account, file_ai_stigmer_billing_v1_credit, file_ai_stigmer_billing_v1_io, file_ai_stigmer_billing_v1_model_pricing_baseline, file_ai_stigmer_billing_v1_pricing_override, file_ai_stigmer_commons_rpc_method_options]);
|
|
13
15
|
/**
|
|
14
16
|
* BillingCommandController handles write operations for the billing bounded context.
|
|
15
17
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/billing/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0GAA0G;AAC1G,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,0CAA0C,EAAE,MAAM,yBAAyB,CAAC;AAErF,OAAO,EAAE,iCAAiC,EAAE,MAAM,gBAAgB,CAAC;AAEnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/billing/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0GAA0G;AAC1G,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,0CAA0C,EAAE,MAAM,yBAAyB,CAAC;AAErF,OAAO,EAAE,iCAAiC,EAAE,MAAM,gBAAgB,CAAC;AAEnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAC;AAE3D,OAAO,EAAE,iDAAiD,EAAE,MAAM,gCAAgC,CAAC;AAEnG,OAAO,EAAE,2CAA2C,EAAE,MAAM,0BAA0B,CAAC;AACvF,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AAEpG;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAY,aAAa,CACtE,QAAQ,CAAC,0hGAA0hG,EAAE,CAAC,0CAA0C,EAAE,iCAAiC,EAAE,6BAA6B,EAAE,iDAAiD,EAAE,2CAA2C,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEnyG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,wBAAwB,GA0JhC,aAAa,CAChB,WAAW,CAAC,kCAAkC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -2,6 +2,8 @@ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
|
2
2
|
import type { ProxyTiming, TokenUsage, UsageCompletionStatus } from "../../agentic/agentexecution/v1/usage_pb.js";
|
|
3
3
|
import type { CreditLedgerEntry } from "./credit_pb.js";
|
|
4
4
|
import type { LedgerEntryType, LedgerView } from "./enum_pb.js";
|
|
5
|
+
import type { ModelPricingBaseline } from "./model_pricing_baseline_pb.js";
|
|
6
|
+
import type { ModelPricingOverride } from "./pricing_override_pb.js";
|
|
5
7
|
import type { PageInfo } from "../../commons/rpc/pagination_pb.js";
|
|
6
8
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
9
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -738,6 +740,278 @@ export type CustomerModelPricingResponse = Message<"ai.stigmer.billing.v1.Custom
|
|
|
738
740
|
* Use `create(CustomerModelPricingResponseSchema)` to create a new message.
|
|
739
741
|
*/
|
|
740
742
|
export declare const CustomerModelPricingResponseSchema: GenMessage<CustomerModelPricingResponse>;
|
|
743
|
+
/**
|
|
744
|
+
* GetModelPricingGovernanceInput requests the platform pricing governance
|
|
745
|
+
* view: every model's baseline vs effective rates, active overrides with
|
|
746
|
+
* provenance, and pending sign-off proposals.
|
|
747
|
+
*
|
|
748
|
+
* @generated from message ai.stigmer.billing.v1.GetModelPricingGovernanceInput
|
|
749
|
+
*/
|
|
750
|
+
export type GetModelPricingGovernanceInput = Message<"ai.stigmer.billing.v1.GetModelPricingGovernanceInput"> & {};
|
|
751
|
+
/**
|
|
752
|
+
* Describes the message ai.stigmer.billing.v1.GetModelPricingGovernanceInput.
|
|
753
|
+
* Use `create(GetModelPricingGovernanceInputSchema)` to create a new message.
|
|
754
|
+
*/
|
|
755
|
+
export declare const GetModelPricingGovernanceInputSchema: GenMessage<GetModelPricingGovernanceInput>;
|
|
756
|
+
/**
|
|
757
|
+
* ModelPricingGovernanceResponse is the operator's view of the pricing
|
|
758
|
+
* feedback loop (DD-003): what the platform charges with today, where each
|
|
759
|
+
* rate came from, and what awaits a decision.
|
|
760
|
+
*
|
|
761
|
+
* @generated from message ai.stigmer.billing.v1.ModelPricingGovernanceResponse
|
|
762
|
+
*/
|
|
763
|
+
export type ModelPricingGovernanceResponse = Message<"ai.stigmer.billing.v1.ModelPricingGovernanceResponse"> & {
|
|
764
|
+
/**
|
|
765
|
+
* One entry per (model, variant) pricing key in the effective registry.
|
|
766
|
+
*
|
|
767
|
+
* @generated from field: repeated ai.stigmer.billing.v1.ModelPricingGovernanceEntry entries = 1;
|
|
768
|
+
*/
|
|
769
|
+
entries: ModelPricingGovernanceEntry[];
|
|
770
|
+
/**
|
|
771
|
+
* Overrides awaiting a human decision, oldest first.
|
|
772
|
+
*
|
|
773
|
+
* @generated from field: repeated ai.stigmer.billing.v1.ModelPricingOverride pending_overrides = 2;
|
|
774
|
+
*/
|
|
775
|
+
pendingOverrides: ModelPricingOverride[];
|
|
776
|
+
};
|
|
777
|
+
/**
|
|
778
|
+
* Describes the message ai.stigmer.billing.v1.ModelPricingGovernanceResponse.
|
|
779
|
+
* Use `create(ModelPricingGovernanceResponseSchema)` to create a new message.
|
|
780
|
+
*/
|
|
781
|
+
export declare const ModelPricingGovernanceResponseSchema: GenMessage<ModelPricingGovernanceResponse>;
|
|
782
|
+
/**
|
|
783
|
+
* ModelPricingGovernanceEntry shows one pricing key's baseline vs effective
|
|
784
|
+
* rates. Raw provider rates (pre-markup) — this is an operator surface, not
|
|
785
|
+
* a customer price list.
|
|
786
|
+
*
|
|
787
|
+
* @generated from message ai.stigmer.billing.v1.ModelPricingGovernanceEntry
|
|
788
|
+
*/
|
|
789
|
+
export type ModelPricingGovernanceEntry = Message<"ai.stigmer.billing.v1.ModelPricingGovernanceEntry"> & {
|
|
790
|
+
/**
|
|
791
|
+
* @generated from field: string model_id = 1;
|
|
792
|
+
*/
|
|
793
|
+
modelId: string;
|
|
794
|
+
/**
|
|
795
|
+
* @generated from field: string display_name = 2;
|
|
796
|
+
*/
|
|
797
|
+
displayName: string;
|
|
798
|
+
/**
|
|
799
|
+
* @generated from field: string provider = 3;
|
|
800
|
+
*/
|
|
801
|
+
provider: string;
|
|
802
|
+
/**
|
|
803
|
+
* @generated from field: string harness = 4;
|
|
804
|
+
*/
|
|
805
|
+
harness: string;
|
|
806
|
+
/**
|
|
807
|
+
* @generated from field: string cost_tier = 5;
|
|
808
|
+
*/
|
|
809
|
+
costTier: string;
|
|
810
|
+
/**
|
|
811
|
+
* Pricing variant ("" for base, "fast" for the speed variant).
|
|
812
|
+
*
|
|
813
|
+
* @generated from field: string variant = 6;
|
|
814
|
+
*/
|
|
815
|
+
variant: string;
|
|
816
|
+
/**
|
|
817
|
+
* Baseline rates from model-registry.json, micro-USD per million tokens.
|
|
818
|
+
*
|
|
819
|
+
* @generated from field: int64 baseline_input_micros_per_million = 7;
|
|
820
|
+
*/
|
|
821
|
+
baselineInputMicrosPerMillion: bigint;
|
|
822
|
+
/**
|
|
823
|
+
* @generated from field: int64 baseline_output_micros_per_million = 8;
|
|
824
|
+
*/
|
|
825
|
+
baselineOutputMicrosPerMillion: bigint;
|
|
826
|
+
/**
|
|
827
|
+
* @generated from field: int64 baseline_cache_write_micros_per_million = 9;
|
|
828
|
+
*/
|
|
829
|
+
baselineCacheWriteMicrosPerMillion: bigint;
|
|
830
|
+
/**
|
|
831
|
+
* @generated from field: int64 baseline_cache_read_micros_per_million = 10;
|
|
832
|
+
*/
|
|
833
|
+
baselineCacheReadMicrosPerMillion: bigint;
|
|
834
|
+
/**
|
|
835
|
+
* @generated from field: int64 baseline_cursor_token_rate_micros_per_million = 11;
|
|
836
|
+
*/
|
|
837
|
+
baselineCursorTokenRateMicrosPerMillion: bigint;
|
|
838
|
+
/**
|
|
839
|
+
* Effective rates (baseline with ACTIVE overrides composed), micro-USD
|
|
840
|
+
* per million tokens. Equal to the baseline when no override is active.
|
|
841
|
+
*
|
|
842
|
+
* @generated from field: int64 effective_input_micros_per_million = 12;
|
|
843
|
+
*/
|
|
844
|
+
effectiveInputMicrosPerMillion: bigint;
|
|
845
|
+
/**
|
|
846
|
+
* @generated from field: int64 effective_output_micros_per_million = 13;
|
|
847
|
+
*/
|
|
848
|
+
effectiveOutputMicrosPerMillion: bigint;
|
|
849
|
+
/**
|
|
850
|
+
* @generated from field: int64 effective_cache_write_micros_per_million = 14;
|
|
851
|
+
*/
|
|
852
|
+
effectiveCacheWriteMicrosPerMillion: bigint;
|
|
853
|
+
/**
|
|
854
|
+
* @generated from field: int64 effective_cache_read_micros_per_million = 15;
|
|
855
|
+
*/
|
|
856
|
+
effectiveCacheReadMicrosPerMillion: bigint;
|
|
857
|
+
/**
|
|
858
|
+
* @generated from field: int64 effective_cursor_token_rate_micros_per_million = 16;
|
|
859
|
+
*/
|
|
860
|
+
effectiveCursorTokenRateMicrosPerMillion: bigint;
|
|
861
|
+
/**
|
|
862
|
+
* ACTIVE overrides composed into this entry, with full provenance.
|
|
863
|
+
*
|
|
864
|
+
* @generated from field: repeated ai.stigmer.billing.v1.ModelPricingOverride active_overrides = 17;
|
|
865
|
+
*/
|
|
866
|
+
activeOverrides: ModelPricingOverride[];
|
|
867
|
+
/**
|
|
868
|
+
* Whether an external provider ledger can verify this entry's rates.
|
|
869
|
+
* False for OSS/self-hosted models and Cursor first-party models — those
|
|
870
|
+
* are manually governed by the registry baseline (DD-003 Decision 7).
|
|
871
|
+
*
|
|
872
|
+
* @generated from field: bool ledger_reconcilable = 18;
|
|
873
|
+
*/
|
|
874
|
+
ledgerReconcilable: boolean;
|
|
875
|
+
};
|
|
876
|
+
/**
|
|
877
|
+
* Describes the message ai.stigmer.billing.v1.ModelPricingGovernanceEntry.
|
|
878
|
+
* Use `create(ModelPricingGovernanceEntrySchema)` to create a new message.
|
|
879
|
+
*/
|
|
880
|
+
export declare const ModelPricingGovernanceEntrySchema: GenMessage<ModelPricingGovernanceEntry>;
|
|
881
|
+
/**
|
|
882
|
+
* DecideModelPricingOverrideInput records a human decision on a
|
|
883
|
+
* PENDING_SIGNOFF pricing override.
|
|
884
|
+
*
|
|
885
|
+
* @generated from message ai.stigmer.billing.v1.DecideModelPricingOverrideInput
|
|
886
|
+
*/
|
|
887
|
+
export type DecideModelPricingOverrideInput = Message<"ai.stigmer.billing.v1.DecideModelPricingOverrideInput"> & {
|
|
888
|
+
/**
|
|
889
|
+
* @generated from field: string override_id = 1;
|
|
890
|
+
*/
|
|
891
|
+
overrideId: string;
|
|
892
|
+
/**
|
|
893
|
+
* true approves (the override becomes ACTIVE and supersedes any current
|
|
894
|
+
* ACTIVE override on the same key); false rejects.
|
|
895
|
+
*
|
|
896
|
+
* @generated from field: bool approve = 2;
|
|
897
|
+
*/
|
|
898
|
+
approve: boolean;
|
|
899
|
+
/**
|
|
900
|
+
* Optional note recorded on the decision for the audit trail.
|
|
901
|
+
*
|
|
902
|
+
* @generated from field: string decision_note = 3;
|
|
903
|
+
*/
|
|
904
|
+
decisionNote: string;
|
|
905
|
+
};
|
|
906
|
+
/**
|
|
907
|
+
* Describes the message ai.stigmer.billing.v1.DecideModelPricingOverrideInput.
|
|
908
|
+
* Use `create(DecideModelPricingOverrideInputSchema)` to create a new message.
|
|
909
|
+
*/
|
|
910
|
+
export declare const DecideModelPricingOverrideInputSchema: GenMessage<DecideModelPricingOverrideInput>;
|
|
911
|
+
/**
|
|
912
|
+
* UpsertModelPricingBaselineInput creates or revises one model registry
|
|
913
|
+
* baseline entry.
|
|
914
|
+
*
|
|
915
|
+
* The (model_id, provider, harness) key identifies the entry: when an
|
|
916
|
+
* ACTIVE document already exists for the key it is superseded by this
|
|
917
|
+
* revision; otherwise a new catalog entry is created (which also revives a
|
|
918
|
+
* RETIRED key). Lifecycle fields on the embedded baseline (baseline_id,
|
|
919
|
+
* status, supersedes_baseline_id, decided_by/at, created_at) are
|
|
920
|
+
* server-owned and ignored; pricing effective_at is stamped server-side so
|
|
921
|
+
* baseline edits always win DD-003 Decision 6 staleness against older
|
|
922
|
+
* ledger-derived overrides.
|
|
923
|
+
*
|
|
924
|
+
* @generated from message ai.stigmer.billing.v1.UpsertModelPricingBaselineInput
|
|
925
|
+
*/
|
|
926
|
+
export type UpsertModelPricingBaselineInput = Message<"ai.stigmer.billing.v1.UpsertModelPricingBaselineInput"> & {
|
|
927
|
+
/**
|
|
928
|
+
* @generated from field: ai.stigmer.billing.v1.ModelPricingBaseline baseline = 1;
|
|
929
|
+
*/
|
|
930
|
+
baseline?: ModelPricingBaseline;
|
|
931
|
+
/**
|
|
932
|
+
* Optional operator note explaining the revision, recorded on the new
|
|
933
|
+
* document for the audit trail.
|
|
934
|
+
*
|
|
935
|
+
* @generated from field: string revision_note = 2;
|
|
936
|
+
*/
|
|
937
|
+
revisionNote: string;
|
|
938
|
+
};
|
|
939
|
+
/**
|
|
940
|
+
* Describes the message ai.stigmer.billing.v1.UpsertModelPricingBaselineInput.
|
|
941
|
+
* Use `create(UpsertModelPricingBaselineInputSchema)` to create a new message.
|
|
942
|
+
*/
|
|
943
|
+
export declare const UpsertModelPricingBaselineInputSchema: GenMessage<UpsertModelPricingBaselineInput>;
|
|
944
|
+
/**
|
|
945
|
+
* RetireModelPricingBaselineInput removes one model from the catalog.
|
|
946
|
+
*
|
|
947
|
+
* The ACTIVE document for the key transitions to RETIRED; the next
|
|
948
|
+
* composition pass drops the model from the effective registry and
|
|
949
|
+
* archives any ACTIVE pricing overrides that targeted it.
|
|
950
|
+
*
|
|
951
|
+
* @generated from message ai.stigmer.billing.v1.RetireModelPricingBaselineInput
|
|
952
|
+
*/
|
|
953
|
+
export type RetireModelPricingBaselineInput = Message<"ai.stigmer.billing.v1.RetireModelPricingBaselineInput"> & {
|
|
954
|
+
/**
|
|
955
|
+
* @generated from field: string model_id = 1;
|
|
956
|
+
*/
|
|
957
|
+
modelId: string;
|
|
958
|
+
/**
|
|
959
|
+
* @generated from field: string provider = 2;
|
|
960
|
+
*/
|
|
961
|
+
provider: string;
|
|
962
|
+
/**
|
|
963
|
+
* @generated from field: string harness = 3;
|
|
964
|
+
*/
|
|
965
|
+
harness: string;
|
|
966
|
+
/**
|
|
967
|
+
* Optional operator note explaining the retirement.
|
|
968
|
+
*
|
|
969
|
+
* @generated from field: string revision_note = 4;
|
|
970
|
+
*/
|
|
971
|
+
revisionNote: string;
|
|
972
|
+
};
|
|
973
|
+
/**
|
|
974
|
+
* Describes the message ai.stigmer.billing.v1.RetireModelPricingBaselineInput.
|
|
975
|
+
* Use `create(RetireModelPricingBaselineInputSchema)` to create a new message.
|
|
976
|
+
*/
|
|
977
|
+
export declare const RetireModelPricingBaselineInputSchema: GenMessage<RetireModelPricingBaselineInput>;
|
|
978
|
+
/**
|
|
979
|
+
* ListModelPricingBaselinesInput requests the baseline catalog.
|
|
980
|
+
*
|
|
981
|
+
* @generated from message ai.stigmer.billing.v1.ListModelPricingBaselinesInput
|
|
982
|
+
*/
|
|
983
|
+
export type ListModelPricingBaselinesInput = Message<"ai.stigmer.billing.v1.ListModelPricingBaselinesInput"> & {
|
|
984
|
+
/**
|
|
985
|
+
* When true, includes SUPERSEDED and RETIRED revisions (the full audit
|
|
986
|
+
* history). Default: ACTIVE documents only.
|
|
987
|
+
*
|
|
988
|
+
* @generated from field: bool include_history = 1;
|
|
989
|
+
*/
|
|
990
|
+
includeHistory: boolean;
|
|
991
|
+
};
|
|
992
|
+
/**
|
|
993
|
+
* Describes the message ai.stigmer.billing.v1.ListModelPricingBaselinesInput.
|
|
994
|
+
* Use `create(ListModelPricingBaselinesInputSchema)` to create a new message.
|
|
995
|
+
*/
|
|
996
|
+
export declare const ListModelPricingBaselinesInputSchema: GenMessage<ListModelPricingBaselinesInput>;
|
|
997
|
+
/**
|
|
998
|
+
* ModelPricingBaselinesResponse is the baseline catalog, ordered by
|
|
999
|
+
* harness, provider, then model id; historical revisions (when requested)
|
|
1000
|
+
* follow their key's ACTIVE document newest-first.
|
|
1001
|
+
*
|
|
1002
|
+
* @generated from message ai.stigmer.billing.v1.ModelPricingBaselinesResponse
|
|
1003
|
+
*/
|
|
1004
|
+
export type ModelPricingBaselinesResponse = Message<"ai.stigmer.billing.v1.ModelPricingBaselinesResponse"> & {
|
|
1005
|
+
/**
|
|
1006
|
+
* @generated from field: repeated ai.stigmer.billing.v1.ModelPricingBaseline baselines = 1;
|
|
1007
|
+
*/
|
|
1008
|
+
baselines: ModelPricingBaseline[];
|
|
1009
|
+
};
|
|
1010
|
+
/**
|
|
1011
|
+
* Describes the message ai.stigmer.billing.v1.ModelPricingBaselinesResponse.
|
|
1012
|
+
* Use `create(ModelPricingBaselinesResponseSchema)` to create a new message.
|
|
1013
|
+
*/
|
|
1014
|
+
export declare const ModelPricingBaselinesResponseSchema: GenMessage<ModelPricingBaselinesResponse>;
|
|
741
1015
|
/**
|
|
742
1016
|
* CustomerModelPricingEntry is the customer-facing price for one model.
|
|
743
1017
|
*
|