@stigmer/protos 3.2.3 → 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/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/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/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
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file ai/stigmer/platform/cursoraccount/v1/cursor_account.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_ai_stigmer_platform_cursoraccount_v1_cursor_account: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* CursorAccount is one managed Cursor team: the platform-operator resource
|
|
10
|
+
* that replaces the single STIGMER_PROXY_CURSOR_API_KEY env var as the
|
|
11
|
+
* source of Cursor credentials for the cursor harness.
|
|
12
|
+
*
|
|
13
|
+
* One document = one Cursor team. It carries two credential classes with
|
|
14
|
+
* strictly different capabilities (verified empirically 2026-07-22, see the
|
|
15
|
+
* harness-cost-parity T04 probe note):
|
|
16
|
+
*
|
|
17
|
+
* - the team ADMIN key ("Team API Keys" dashboard tab) — works ONLY
|
|
18
|
+
* against the Cursor Admin API (roster, spend, usage events). It can
|
|
19
|
+
* NEVER run executions; Cursor rejects it on execution surfaces.
|
|
20
|
+
* - MEMBER keys (user-scoped API keys, one per team member) — the keys
|
|
21
|
+
* the proxy injects into execution traffic. Each is validated and
|
|
22
|
+
* bound to its owning team member via Cursor's /v1/me at save time.
|
|
23
|
+
*
|
|
24
|
+
* Consequently an account with no enabled member keys is visible but NOT
|
|
25
|
+
* routable — no execution traffic can be sent under it.
|
|
26
|
+
*
|
|
27
|
+
* Org assignment: each Stigmer organization resolves to exactly ONE
|
|
28
|
+
* account (an explicit entry in org_ids, else the single account marked
|
|
29
|
+
* is_platform_default). Load spreading happens WITHIN an account across
|
|
30
|
+
* its member keys, never across accounts — this keeps billing attribution
|
|
31
|
+
* and provider reconciliation per-team.
|
|
32
|
+
*
|
|
33
|
+
* Secrets at rest: admin_api_key and CursorMemberKey.api_key are encrypted
|
|
34
|
+
* (AES-256-GCM, "enc:v1:" prefix) before persistence and replaced with
|
|
35
|
+
* "***REDACTED***" on every read surface. Sending the redaction marker
|
|
36
|
+
* back on update means "keep the stored value" (the ChannelApp secret
|
|
37
|
+
* round-trip convention).
|
|
38
|
+
*
|
|
39
|
+
* @generated from message ai.stigmer.platform.cursoraccount.v1.CursorAccount
|
|
40
|
+
*/
|
|
41
|
+
export type CursorAccount = Message<"ai.stigmer.platform.cursoraccount.v1.CursorAccount"> & {
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier (UUID). Server-assigned on create; required on
|
|
44
|
+
* update.
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: string account_id = 1;
|
|
47
|
+
*/
|
|
48
|
+
accountId: string;
|
|
49
|
+
/**
|
|
50
|
+
* Human-readable name shown in the operator console (e.g. the Cursor
|
|
51
|
+
* team name, "scenar.ai team").
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: string display_name = 2;
|
|
54
|
+
*/
|
|
55
|
+
displayName: string;
|
|
56
|
+
/**
|
|
57
|
+
* Team Admin API key. Used exclusively for Admin API calls (roster,
|
|
58
|
+
* spend); never injected into execution traffic. Validated at save time
|
|
59
|
+
* by a live GET /teams/members call.
|
|
60
|
+
*
|
|
61
|
+
* Write: plaintext on create/rotate, or "***REDACTED***" to keep the
|
|
62
|
+
* stored value. Read: always "***REDACTED***".
|
|
63
|
+
*
|
|
64
|
+
* @generated from field: string admin_api_key = 3;
|
|
65
|
+
*/
|
|
66
|
+
adminApiKey: string;
|
|
67
|
+
/**
|
|
68
|
+
* Whether this account participates in key selection. Disabled accounts
|
|
69
|
+
* stop receiving NEW sessions immediately; sessions already pinned to
|
|
70
|
+
* one of its keys keep working (the hard kill switch is revoking the
|
|
71
|
+
* key in the Cursor dashboard).
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: bool enabled = 4;
|
|
74
|
+
*/
|
|
75
|
+
enabled: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Marks the account that serves orgs with no explicit assignment.
|
|
78
|
+
* At most one account may be the platform default (index-enforced).
|
|
79
|
+
*
|
|
80
|
+
* @generated from field: bool is_platform_default = 5;
|
|
81
|
+
*/
|
|
82
|
+
isPlatformDefault: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Stigmer organization ids explicitly served by this account. An org
|
|
85
|
+
* may appear in at most one account across the collection
|
|
86
|
+
* (unique-multikey-index-enforced).
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: repeated string org_ids = 6;
|
|
89
|
+
*/
|
|
90
|
+
orgIds: string[];
|
|
91
|
+
/**
|
|
92
|
+
* Execution-capable member keys. Selection picks among enabled entries
|
|
93
|
+
* (least-recently-used for new sessions, then sticky per session).
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: repeated ai.stigmer.platform.cursoraccount.v1.CursorMemberKey member_keys = 7;
|
|
96
|
+
*/
|
|
97
|
+
memberKeys: CursorMemberKey[];
|
|
98
|
+
/**
|
|
99
|
+
* Operator identity that created the account.
|
|
100
|
+
*
|
|
101
|
+
* @generated from field: string created_by = 8;
|
|
102
|
+
*/
|
|
103
|
+
createdBy: string;
|
|
104
|
+
/**
|
|
105
|
+
* @generated from field: google.protobuf.Timestamp created_at = 9;
|
|
106
|
+
*/
|
|
107
|
+
createdAt?: Timestamp;
|
|
108
|
+
/**
|
|
109
|
+
* Operator identity of the latest mutation (account fields or keys).
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: string updated_by = 10;
|
|
112
|
+
*/
|
|
113
|
+
updatedBy: string;
|
|
114
|
+
/**
|
|
115
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 11;
|
|
116
|
+
*/
|
|
117
|
+
updatedAt?: Timestamp;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* Describes the message ai.stigmer.platform.cursoraccount.v1.CursorAccount.
|
|
121
|
+
* Use `create(CursorAccountSchema)` to create a new message.
|
|
122
|
+
*/
|
|
123
|
+
export declare const CursorAccountSchema: GenMessage<CursorAccount>;
|
|
124
|
+
/**
|
|
125
|
+
* CursorMemberKey is one execution-capable, user-scoped Cursor API key
|
|
126
|
+
* held by a CursorAccount.
|
|
127
|
+
*
|
|
128
|
+
* Identity binding is server-owned: at save time the key is presented to
|
|
129
|
+
* Cursor's GET /v1/me, which returns the owning member's email and user
|
|
130
|
+
* id — a team admin key pasted here fails that call with Cursor's own
|
|
131
|
+
* explanatory 401. There is no manual "which member is this" mapping to
|
|
132
|
+
* drift.
|
|
133
|
+
*
|
|
134
|
+
* @generated from message ai.stigmer.platform.cursoraccount.v1.CursorMemberKey
|
|
135
|
+
*/
|
|
136
|
+
export type CursorMemberKey = Message<"ai.stigmer.platform.cursoraccount.v1.CursorMemberKey"> & {
|
|
137
|
+
/**
|
|
138
|
+
* Unique identifier (UUID) of this key entry. Server-assigned. Stable
|
|
139
|
+
* across enable/disable; referenced by session pins and usage
|
|
140
|
+
* attribution (the key material itself never leaves the proxy).
|
|
141
|
+
*
|
|
142
|
+
* @generated from field: string key_id = 1;
|
|
143
|
+
*/
|
|
144
|
+
keyId: string;
|
|
145
|
+
/**
|
|
146
|
+
* The user-scoped API key. Write: plaintext on add, "***REDACTED***"
|
|
147
|
+
* never accepted here (rotation = remove + add, so the /v1/me binding
|
|
148
|
+
* can never go stale). Read: always "***REDACTED***".
|
|
149
|
+
*
|
|
150
|
+
* @generated from field: string api_key = 2;
|
|
151
|
+
*/
|
|
152
|
+
apiKey: string;
|
|
153
|
+
/**
|
|
154
|
+
* Optional operator label (e.g. "zane — stigmer-prod").
|
|
155
|
+
*
|
|
156
|
+
* @generated from field: string label = 3;
|
|
157
|
+
*/
|
|
158
|
+
label: string;
|
|
159
|
+
/**
|
|
160
|
+
* Email of the Cursor team member that owns this key.
|
|
161
|
+
*
|
|
162
|
+
* @generated from field: string bound_email = 4;
|
|
163
|
+
*/
|
|
164
|
+
boundEmail: string;
|
|
165
|
+
/**
|
|
166
|
+
* Cursor numeric user id of the owning member, as a string.
|
|
167
|
+
*
|
|
168
|
+
* @generated from field: string bound_user_id = 5;
|
|
169
|
+
*/
|
|
170
|
+
boundUserId: string;
|
|
171
|
+
/**
|
|
172
|
+
* Cursor-side name of the key (apiKeyName from /v1/me), for
|
|
173
|
+
* cross-referencing in the Cursor dashboard.
|
|
174
|
+
*
|
|
175
|
+
* @generated from field: string cursor_key_name = 6;
|
|
176
|
+
*/
|
|
177
|
+
cursorKeyName: string;
|
|
178
|
+
/**
|
|
179
|
+
* Whether this key participates in selection for NEW sessions.
|
|
180
|
+
* Sessions already pinned to it keep using it (conversation continuity
|
|
181
|
+
* and end-of-session agent disposal both require the original key).
|
|
182
|
+
*
|
|
183
|
+
* @generated from field: bool enabled = 7;
|
|
184
|
+
*/
|
|
185
|
+
enabled: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Operator identity that added the key.
|
|
188
|
+
*
|
|
189
|
+
* @generated from field: string added_by = 8;
|
|
190
|
+
*/
|
|
191
|
+
addedBy: string;
|
|
192
|
+
/**
|
|
193
|
+
* @generated from field: google.protobuf.Timestamp added_at = 9;
|
|
194
|
+
*/
|
|
195
|
+
addedAt?: Timestamp;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* Describes the message ai.stigmer.platform.cursoraccount.v1.CursorMemberKey.
|
|
199
|
+
* Use `create(CursorMemberKeySchema)` to create a new message.
|
|
200
|
+
*/
|
|
201
|
+
export declare const CursorMemberKeySchema: GenMessage<CursorMemberKey>;
|
|
202
|
+
/**
|
|
203
|
+
* CursorTeamMember is one roster entry from the Admin API
|
|
204
|
+
* (GET /teams/members), captured by the periodic sync.
|
|
205
|
+
*
|
|
206
|
+
* @generated from message ai.stigmer.platform.cursoraccount.v1.CursorTeamMember
|
|
207
|
+
*/
|
|
208
|
+
export type CursorTeamMember = Message<"ai.stigmer.platform.cursoraccount.v1.CursorTeamMember"> & {
|
|
209
|
+
/**
|
|
210
|
+
* Cursor user id (e.g. "user_..." or numeric, as returned).
|
|
211
|
+
*
|
|
212
|
+
* @generated from field: string user_id = 1;
|
|
213
|
+
*/
|
|
214
|
+
userId: string;
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: string email = 2;
|
|
217
|
+
*/
|
|
218
|
+
email: string;
|
|
219
|
+
/**
|
|
220
|
+
* @generated from field: string name = 3;
|
|
221
|
+
*/
|
|
222
|
+
name: string;
|
|
223
|
+
/**
|
|
224
|
+
* Cursor-reported role: "owner", "member", or "removed". Removed
|
|
225
|
+
* members remain in the roster response; a stored member key whose
|
|
226
|
+
* owner shows as removed is flagged for the operator and excluded
|
|
227
|
+
* from selection.
|
|
228
|
+
*
|
|
229
|
+
* @generated from field: string role = 4;
|
|
230
|
+
*/
|
|
231
|
+
role: string;
|
|
232
|
+
};
|
|
233
|
+
/**
|
|
234
|
+
* Describes the message ai.stigmer.platform.cursoraccount.v1.CursorTeamMember.
|
|
235
|
+
* Use `create(CursorTeamMemberSchema)` to create a new message.
|
|
236
|
+
*/
|
|
237
|
+
export declare const CursorTeamMemberSchema: GenMessage<CursorTeamMember>;
|
|
238
|
+
/**
|
|
239
|
+
* CursorMemberSpend is one member's spend for the current billing cycle
|
|
240
|
+
* from the Admin API (POST /teams/spend).
|
|
241
|
+
*
|
|
242
|
+
* Money follows the platform integer-micro convention: Cursor reports
|
|
243
|
+
* (possibly fractional) cents; the sync converts cents x 10,000 to
|
|
244
|
+
* micro-USD. Cursor's response schema has drifted from its docs
|
|
245
|
+
* (overallSpendCents absent, includedSpendCents undocumented) — the sync
|
|
246
|
+
* parses defensively and omits fields Cursor omits.
|
|
247
|
+
*
|
|
248
|
+
* @generated from message ai.stigmer.platform.cursoraccount.v1.CursorMemberSpend
|
|
249
|
+
*/
|
|
250
|
+
export type CursorMemberSpend = Message<"ai.stigmer.platform.cursoraccount.v1.CursorMemberSpend"> & {
|
|
251
|
+
/**
|
|
252
|
+
* @generated from field: string user_id = 1;
|
|
253
|
+
*/
|
|
254
|
+
userId: string;
|
|
255
|
+
/**
|
|
256
|
+
* @generated from field: string email = 2;
|
|
257
|
+
*/
|
|
258
|
+
email: string;
|
|
259
|
+
/**
|
|
260
|
+
* Spend covered by the plan's included quota this cycle, micro-USD.
|
|
261
|
+
*
|
|
262
|
+
* @generated from field: int64 included_spend_usd_micros = 3;
|
|
263
|
+
*/
|
|
264
|
+
includedSpendUsdMicros: bigint;
|
|
265
|
+
/**
|
|
266
|
+
* On-demand overage spend this cycle, micro-USD (Cursor "spendCents").
|
|
267
|
+
*
|
|
268
|
+
* @generated from field: int64 overage_spend_usd_micros = 4;
|
|
269
|
+
*/
|
|
270
|
+
overageSpendUsdMicros: bigint;
|
|
271
|
+
/**
|
|
272
|
+
* Fraction of the member's usage allowance consumed (0..1 as reported
|
|
273
|
+
* by Cursor's totalPercentUsed; 0 when Cursor omits it — tiered teams
|
|
274
|
+
* only).
|
|
275
|
+
*
|
|
276
|
+
* @generated from field: double total_percent_used = 5;
|
|
277
|
+
*/
|
|
278
|
+
totalPercentUsed: number;
|
|
279
|
+
};
|
|
280
|
+
/**
|
|
281
|
+
* Describes the message ai.stigmer.platform.cursoraccount.v1.CursorMemberSpend.
|
|
282
|
+
* Use `create(CursorMemberSpendSchema)` to create a new message.
|
|
283
|
+
*/
|
|
284
|
+
export declare const CursorMemberSpendSchema: GenMessage<CursorMemberSpend>;
|
|
285
|
+
/**
|
|
286
|
+
* CursorAccountSyncSnapshot is the roster + spend state of one account as
|
|
287
|
+
* of one sync run. Append-only: each sync inserts a new snapshot, so the
|
|
288
|
+
* collection is a spend-over-time history; read surfaces use the latest.
|
|
289
|
+
*
|
|
290
|
+
* @generated from message ai.stigmer.platform.cursoraccount.v1.CursorAccountSyncSnapshot
|
|
291
|
+
*/
|
|
292
|
+
export type CursorAccountSyncSnapshot = Message<"ai.stigmer.platform.cursoraccount.v1.CursorAccountSyncSnapshot"> & {
|
|
293
|
+
/**
|
|
294
|
+
* Account this snapshot belongs to.
|
|
295
|
+
*
|
|
296
|
+
* @generated from field: string account_id = 1;
|
|
297
|
+
*/
|
|
298
|
+
accountId: string;
|
|
299
|
+
/**
|
|
300
|
+
* @generated from field: google.protobuf.Timestamp synced_at = 2;
|
|
301
|
+
*/
|
|
302
|
+
syncedAt?: Timestamp;
|
|
303
|
+
/**
|
|
304
|
+
* @generated from field: repeated ai.stigmer.platform.cursoraccount.v1.CursorTeamMember members = 3;
|
|
305
|
+
*/
|
|
306
|
+
members: CursorTeamMember[];
|
|
307
|
+
/**
|
|
308
|
+
* @generated from field: repeated ai.stigmer.platform.cursoraccount.v1.CursorMemberSpend spend = 4;
|
|
309
|
+
*/
|
|
310
|
+
spend: CursorMemberSpend[];
|
|
311
|
+
/**
|
|
312
|
+
* Start of the Cursor billing cycle the spend figures cover
|
|
313
|
+
* (subscriptionCycleStart).
|
|
314
|
+
*
|
|
315
|
+
* @generated from field: google.protobuf.Timestamp cycle_start = 5;
|
|
316
|
+
*/
|
|
317
|
+
cycleStart?: Timestamp;
|
|
318
|
+
/**
|
|
319
|
+
* Non-empty when the sync partially failed (e.g. spend endpoint
|
|
320
|
+
* errored while roster succeeded). The snapshot still records what was
|
|
321
|
+
* fetched; the console surfaces the message.
|
|
322
|
+
*
|
|
323
|
+
* @generated from field: string sync_error = 6;
|
|
324
|
+
*/
|
|
325
|
+
syncError: string;
|
|
326
|
+
};
|
|
327
|
+
/**
|
|
328
|
+
* Describes the message ai.stigmer.platform.cursoraccount.v1.CursorAccountSyncSnapshot.
|
|
329
|
+
* Use `create(CursorAccountSyncSnapshotSchema)` to create a new message.
|
|
330
|
+
*/
|
|
331
|
+
export declare const CursorAccountSyncSnapshotSchema: GenMessage<CursorAccountSyncSnapshot>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file ai/stigmer/platform/cursoraccount/v1/cursor_account.proto (package ai.stigmer.platform.cursoraccount.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
|
|
6
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file ai/stigmer/platform/cursoraccount/v1/cursor_account.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_ai_stigmer_platform_cursoraccount_v1_cursor_account = /*@__PURE__*/ fileDesc("CjlhaS9zdGlnbWVyL3BsYXRmb3JtL2N1cnNvcmFjY291bnQvdjEvY3Vyc29yX2FjY291bnQucHJvdG8SJGFpLnN0aWdtZXIucGxhdGZvcm0uY3Vyc29yYWNjb3VudC52MSKJAwoNQ3Vyc29yQWNjb3VudBISCgphY2NvdW50X2lkGAEgASgJEiEKDGRpc3BsYXlfbmFtZRgCIAEoCUILukgIyAEBcgMYgAESHwoNYWRtaW5fYXBpX2tleRgDIAEoCUIIukgFcgMYgAISDwoHZW5hYmxlZBgEIAEoCBIbChNpc19wbGF0Zm9ybV9kZWZhdWx0GAUgASgIEh4KB29yZ19pZHMYBiADKAlCDbpICpIBByIFcgMYgAESSgoLbWVtYmVyX2tleXMYByADKAsyNS5haS5zdGlnbWVyLnBsYXRmb3JtLmN1cnNvcmFjY291bnQudjEuQ3Vyc29yTWVtYmVyS2V5EhIKCmNyZWF0ZWRfYnkYCCABKAkSLgoKY3JlYXRlZF9hdBgJIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASEgoKdXBkYXRlZF9ieRgKIAEoCRIuCgp1cGRhdGVkX2F0GAsgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCLrAQoPQ3Vyc29yTWVtYmVyS2V5Eg4KBmtleV9pZBgBIAEoCRIZCgdhcGlfa2V5GAIgASgJQgi6SAVyAxiAAhIXCgVsYWJlbBgDIAEoCUIIukgFcgMYgAESEwoLYm91bmRfZW1haWwYBCABKAkSFQoNYm91bmRfdXNlcl9pZBgFIAEoCRIXCg9jdXJzb3Jfa2V5X25hbWUYBiABKAkSDwoHZW5hYmxlZBgHIAEoCBIQCghhZGRlZF9ieRgIIAEoCRIsCghhZGRlZF9hdBgJIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiTgoQQ3Vyc29yVGVhbU1lbWJlchIPCgd1c2VyX2lkGAEgASgJEg0KBWVtYWlsGAIgASgJEgwKBG5hbWUYAyABKAkSDAoEcm9sZRgEIAEoCSKmAQoRQ3Vyc29yTWVtYmVyU3BlbmQSDwoHdXNlcl9pZBgBIAEoCRINCgVlbWFpbBgCIAEoCRIqChlpbmNsdWRlZF9zcGVuZF91c2RfbWljcm9zGAMgASgDQge6SAQiAigAEikKGG92ZXJhZ2Vfc3BlbmRfdXNkX21pY3JvcxgEIAEoA0IHukgEIgIoABIaChJ0b3RhbF9wZXJjZW50X3VzZWQYBSABKAEitAIKGUN1cnNvckFjY291bnRTeW5jU25hcHNob3QSEgoKYWNjb3VudF9pZBgBIAEoCRItCglzeW5jZWRfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEkcKB21lbWJlcnMYAyADKAsyNi5haS5zdGlnbWVyLnBsYXRmb3JtLmN1cnNvcmFjY291bnQudjEuQ3Vyc29yVGVhbU1lbWJlchJGCgVzcGVuZBgEIAMoCzI3LmFpLnN0aWdtZXIucGxhdGZvcm0uY3Vyc29yYWNjb3VudC52MS5DdXJzb3JNZW1iZXJTcGVuZBIvCgtjeWNsZV9zdGFydBgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASEgoKc3luY19lcnJvchgGIAEoCWIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_timestamp]);
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message ai.stigmer.platform.cursoraccount.v1.CursorAccount.
|
|
13
|
+
* Use `create(CursorAccountSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export const CursorAccountSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_cursoraccount_v1_cursor_account, 0);
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message ai.stigmer.platform.cursoraccount.v1.CursorMemberKey.
|
|
18
|
+
* Use `create(CursorMemberKeySchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export const CursorMemberKeySchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_cursoraccount_v1_cursor_account, 1);
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message ai.stigmer.platform.cursoraccount.v1.CursorTeamMember.
|
|
23
|
+
* Use `create(CursorTeamMemberSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const CursorTeamMemberSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_cursoraccount_v1_cursor_account, 2);
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message ai.stigmer.platform.cursoraccount.v1.CursorMemberSpend.
|
|
28
|
+
* Use `create(CursorMemberSpendSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export const CursorMemberSpendSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_cursoraccount_v1_cursor_account, 3);
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message ai.stigmer.platform.cursoraccount.v1.CursorAccountSyncSnapshot.
|
|
33
|
+
* Use `create(CursorAccountSyncSnapshotSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export const CursorAccountSyncSnapshotSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_cursoraccount_v1_cursor_account, 4);
|
|
36
|
+
//# sourceMappingURL=cursor_account_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cursor_account_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/platform/cursoraccount/v1/cursor_account_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,+IAA+I;AAC/I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAExF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,wDAAwD,GAAY,aAAa,CAC5F,QAAQ,CAAC,ssDAAssD,EAAE,CAAC,0BAA0B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AA4HjxD;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,wDAAwD,EAAE,CAAC,CAAC,CAAC;AAoF3E;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAgC,aAAa,CAC7E,WAAW,CAAC,wDAAwD,EAAE,CAAC,CAAC,CAAC;AAqC3E;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,wDAAwD,EAAE,CAAC,CAAC,CAAC;AAiD3E;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,wDAAwD,EAAE,CAAC,CAAC,CAAC;AAkD3E;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,wDAAwD,EAAE,CAAC,CAAC,CAAC"}
|