@stigmer/protos 0.3.3 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/ai/stigmer/agentic/agentexecution/v1/command_connect.js +2 -2
  2. package/ai/stigmer/agentic/agentexecution/v1/command_connect.js.map +1 -1
  3. package/ai/stigmer/agentic/agentexecution/v1/command_pb.d.ts +2 -2
  4. package/ai/stigmer/agentic/agentexecution/v1/command_pb.js +1 -1
  5. package/ai/stigmer/agentic/agentexecution/v1/command_pb.js.map +1 -1
  6. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +38 -0
  7. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +41 -2
  8. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -1
  9. package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +167 -58
  10. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js +44 -24
  11. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js.map +1 -1
  12. package/ai/stigmer/agentic/agentexecution/v1/message_pb.d.ts +0 -10
  13. package/ai/stigmer/agentic/agentexecution/v1/message_pb.js +1 -2
  14. package/ai/stigmer/agentic/agentexecution/v1/message_pb.js.map +1 -1
  15. package/ai/stigmer/agentic/agentexecution/v1/query_connect.d.ts +14 -1
  16. package/ai/stigmer/agentic/agentexecution/v1/query_connect.js +15 -2
  17. package/ai/stigmer/agentic/agentexecution/v1/query_connect.js.map +1 -1
  18. package/ai/stigmer/agentic/agentexecution/v1/query_pb.d.ts +14 -2
  19. package/ai/stigmer/agentic/agentexecution/v1/query_pb.js +1 -1
  20. package/ai/stigmer/agentic/agentexecution/v1/query_pb.js.map +1 -1
  21. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.d.ts +701 -262
  22. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js +271 -9
  23. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js.map +1 -1
  24. package/ai/stigmer/billing/v1/billing_account_pb.d.ts +245 -0
  25. package/ai/stigmer/billing/v1/billing_account_pb.js +31 -0
  26. package/ai/stigmer/billing/v1/billing_account_pb.js.map +1 -0
  27. package/ai/stigmer/billing/v1/command_connect.d.ts +135 -0
  28. package/ai/stigmer/billing/v1/command_connect.js +144 -0
  29. package/ai/stigmer/billing/v1/command_connect.js.map +1 -0
  30. package/ai/stigmer/billing/v1/command_pb.d.ts +132 -0
  31. package/ai/stigmer/billing/v1/command_pb.js +23 -0
  32. package/ai/stigmer/billing/v1/command_pb.js.map +1 -0
  33. package/ai/stigmer/billing/v1/credit_pb.d.ts +492 -0
  34. package/ai/stigmer/billing/v1/credit_pb.js +47 -0
  35. package/ai/stigmer/billing/v1/credit_pb.js.map +1 -0
  36. package/ai/stigmer/billing/v1/enum_pb.d.ts +318 -0
  37. package/ai/stigmer/billing/v1/enum_pb.js +329 -0
  38. package/ai/stigmer/billing/v1/enum_pb.js.map +1 -0
  39. package/ai/stigmer/billing/v1/io_pb.d.ts +801 -0
  40. package/ai/stigmer/billing/v1/io_pb.js +130 -0
  41. package/ai/stigmer/billing/v1/io_pb.js.map +1 -0
  42. package/ai/stigmer/billing/v1/policy_pb.d.ts +138 -0
  43. package/ai/stigmer/billing/v1/policy_pb.js +20 -0
  44. package/ai/stigmer/billing/v1/policy_pb.js.map +1 -0
  45. package/ai/stigmer/billing/v1/query_connect.d.ts +68 -0
  46. package/ai/stigmer/billing/v1/query_connect.js +76 -0
  47. package/ai/stigmer/billing/v1/query_connect.js.map +1 -0
  48. package/ai/stigmer/billing/v1/query_pb.d.ts +67 -0
  49. package/ai/stigmer/billing/v1/query_pb.js +20 -0
  50. package/ai/stigmer/billing/v1/query_pb.js.map +1 -0
  51. package/ai/stigmer/iam/identityaccount/v1/command_connect.d.ts +9 -9
  52. package/ai/stigmer/iam/identityaccount/v1/command_connect.js +12 -12
  53. package/ai/stigmer/iam/identityaccount/v1/command_connect.js.map +1 -1
  54. package/ai/stigmer/iam/identityaccount/v1/command_pb.d.ts +11 -11
  55. package/ai/stigmer/iam/identityaccount/v1/command_pb.js +1 -1
  56. package/ai/stigmer/iam/identityaccount/v1/command_pb.js.map +1 -1
  57. package/ai/stigmer/iam/v1/enum_pb.d.ts +18 -1
  58. package/ai/stigmer/iam/v1/enum_pb.js +18 -1
  59. package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
  60. package/package.json +1 -1
@@ -0,0 +1,492 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { AutoRechargeEventStatus, CreditGrantKind, CreditPurchaseStatus, LedgerEntryType, ReservationStatus } from "./enum_pb.js";
3
+ import type { BillingUsageRating } from "./policy_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/v1/credit.proto.
8
+ */
9
+ export declare const file_ai_stigmer_billing_v1_credit: GenFile;
10
+ /**
11
+ * CreditLedgerEntry is an immutable, append-only record of a balance-affecting event.
12
+ *
13
+ * Every credit or debit produces exactly one ledger entry. Entries are never
14
+ * updated or deleted. The balance_after_micros field creates a verifiable
15
+ * chain — each entry's balance equals the previous entry's balance plus this
16
+ * entry's amount_micros.
17
+ *
18
+ * @generated from message ai.stigmer.billing.v1.CreditLedgerEntry
19
+ */
20
+ export type CreditLedgerEntry = Message<"ai.stigmer.billing.v1.CreditLedgerEntry"> & {
21
+ /**
22
+ * Unique identifier for this ledger entry.
23
+ *
24
+ * @generated from field: string entry_id = 1;
25
+ */
26
+ entryId: string;
27
+ /**
28
+ * Organization that owns this entry.
29
+ *
30
+ * @generated from field: string org_id = 2;
31
+ */
32
+ orgId: string;
33
+ /**
34
+ * Classification of the balance change.
35
+ *
36
+ * @generated from field: ai.stigmer.billing.v1.LedgerEntryType type = 3;
37
+ */
38
+ type: LedgerEntryType;
39
+ /**
40
+ * Amount in micro-USD. Positive for credits, negative for debits.
41
+ *
42
+ * @generated from field: int64 amount_micros = 4;
43
+ */
44
+ amountMicros: bigint;
45
+ /**
46
+ * Running balance after this entry was applied.
47
+ *
48
+ * @generated from field: int64 balance_after_micros = 5;
49
+ */
50
+ balanceAfterMicros: bigint;
51
+ /**
52
+ * Client-supplied deduplication key. Prevents double-processing
53
+ * of webhook retries, usage reports, and admin adjustments.
54
+ *
55
+ * @generated from field: string idempotency_key = 6;
56
+ */
57
+ idempotencyKey: string;
58
+ /**
59
+ * Billing policy rating details. Present only for usage_debit entries.
60
+ *
61
+ * @generated from field: ai.stigmer.billing.v1.BillingUsageRating rating = 7;
62
+ */
63
+ rating?: BillingUsageRating;
64
+ /**
65
+ * Contextual source information linking this entry to its origin.
66
+ *
67
+ * @generated from field: ai.stigmer.billing.v1.CreditLedgerSource source = 8;
68
+ */
69
+ source?: CreditLedgerSource;
70
+ /**
71
+ * @generated from field: google.protobuf.Timestamp created_at = 9;
72
+ */
73
+ createdAt?: Timestamp;
74
+ };
75
+ /**
76
+ * Describes the message ai.stigmer.billing.v1.CreditLedgerEntry.
77
+ * Use `create(CreditLedgerEntrySchema)` to create a new message.
78
+ */
79
+ export declare const CreditLedgerEntrySchema: GenMessage<CreditLedgerEntry>;
80
+ /**
81
+ * CreditLedgerSource identifies the origin of a ledger entry for audit
82
+ * and drill-down purposes.
83
+ *
84
+ * Fields are populated based on the entry type:
85
+ * - usage_debit: execution_id, session_id, agent_id, llm_call_sequence
86
+ * - purchase_credit / auto_recharge_credit: purchase_id
87
+ * - adjustment_credit / adjustment_debit: adjusted_by, description
88
+ * - reservation_hold / reservation_release: execution_id, reservation_id
89
+ *
90
+ * @generated from message ai.stigmer.billing.v1.CreditLedgerSource
91
+ */
92
+ export type CreditLedgerSource = Message<"ai.stigmer.billing.v1.CreditLedgerSource"> & {
93
+ /**
94
+ * Agent execution that generated this debit.
95
+ *
96
+ * @generated from field: string execution_id = 1;
97
+ */
98
+ executionId: string;
99
+ /**
100
+ * Session containing the execution.
101
+ *
102
+ * @generated from field: string session_id = 2;
103
+ */
104
+ sessionId: string;
105
+ /**
106
+ * Agent that was executing.
107
+ *
108
+ * @generated from field: string agent_id = 3;
109
+ */
110
+ agentId: string;
111
+ /**
112
+ * Sequence number of the LLM call within the execution (1-based).
113
+ *
114
+ * @generated from field: int32 llm_call_sequence = 4;
115
+ */
116
+ llmCallSequence: number;
117
+ /**
118
+ * Credit purchase that funded this credit.
119
+ *
120
+ * @generated from field: string purchase_id = 5;
121
+ */
122
+ purchaseId: string;
123
+ /**
124
+ * Credit grant being consumed or created.
125
+ *
126
+ * @generated from field: string grant_id = 6;
127
+ */
128
+ grantId: string;
129
+ /**
130
+ * Reservation associated with this hold or release.
131
+ *
132
+ * @generated from field: string reservation_id = 7;
133
+ */
134
+ reservationId: string;
135
+ /**
136
+ * Identity account of the admin who made a manual adjustment.
137
+ *
138
+ * @generated from field: string adjusted_by = 8;
139
+ */
140
+ adjustedBy: string;
141
+ /**
142
+ * Human-readable reason for the entry.
143
+ *
144
+ * @generated from field: string description = 9;
145
+ */
146
+ description: string;
147
+ };
148
+ /**
149
+ * Describes the message ai.stigmer.billing.v1.CreditLedgerSource.
150
+ * Use `create(CreditLedgerSourceSchema)` to create a new message.
151
+ */
152
+ export declare const CreditLedgerSourceSchema: GenMessage<CreditLedgerSource>;
153
+ /**
154
+ * CreditGrant tracks a discrete bucket of credits with its own expiry
155
+ * and consumption state.
156
+ *
157
+ * Burn order: promotional grants are consumed before purchased grants.
158
+ * Within the same kind, grants expiring soonest are consumed first.
159
+ * The priority field provides explicit ordering when expiry dates are equal.
160
+ *
161
+ * @generated from message ai.stigmer.billing.v1.CreditGrant
162
+ */
163
+ export type CreditGrant = Message<"ai.stigmer.billing.v1.CreditGrant"> & {
164
+ /**
165
+ * Unique identifier for this grant.
166
+ *
167
+ * @generated from field: string grant_id = 1;
168
+ */
169
+ grantId: string;
170
+ /**
171
+ * Organization that owns this grant.
172
+ *
173
+ * @generated from field: string org_id = 2;
174
+ */
175
+ orgId: string;
176
+ /**
177
+ * How these credits were acquired.
178
+ *
179
+ * @generated from field: ai.stigmer.billing.v1.CreditGrantKind kind = 3;
180
+ */
181
+ kind: CreditGrantKind;
182
+ /**
183
+ * Original amount when the grant was created.
184
+ *
185
+ * @generated from field: int64 original_amount_micros = 4;
186
+ */
187
+ originalAmountMicros: bigint;
188
+ /**
189
+ * Remaining unconsumed amount. Decremented as usage debits consume credits.
190
+ *
191
+ * @generated from field: int64 remaining_amount_micros = 5;
192
+ */
193
+ remainingAmountMicros: bigint;
194
+ /**
195
+ * When this grant expires. Null for non-expiring grants (enterprise contracts).
196
+ *
197
+ * @generated from field: google.protobuf.Timestamp expires_at = 6;
198
+ */
199
+ expiresAt?: Timestamp;
200
+ /**
201
+ * Explicit burn order. Lower values are consumed first.
202
+ * Promotional grants default to 0; purchased grants default to 100.
203
+ *
204
+ * @generated from field: int32 priority = 7;
205
+ */
206
+ priority: number;
207
+ /**
208
+ * @generated from field: google.protobuf.Timestamp created_at = 8;
209
+ */
210
+ createdAt?: Timestamp;
211
+ };
212
+ /**
213
+ * Describes the message ai.stigmer.billing.v1.CreditGrant.
214
+ * Use `create(CreditGrantSchema)` to create a new message.
215
+ */
216
+ export declare const CreditGrantSchema: GenMessage<CreditGrant>;
217
+ /**
218
+ * CreditPack defines a purchasable credit bundle in the self-serve catalog.
219
+ *
220
+ * Packs are static catalog entries, not user-created resources.
221
+ * Launch catalog: Starter ($10/1,000 credits), Growth ($50/5,000), Team ($200/20,000).
222
+ *
223
+ * @generated from message ai.stigmer.billing.v1.CreditPack
224
+ */
225
+ export type CreditPack = Message<"ai.stigmer.billing.v1.CreditPack"> & {
226
+ /**
227
+ * Identifier for this pack (e.g., "starter", "growth", "team").
228
+ *
229
+ * @generated from field: string pack_id = 1;
230
+ */
231
+ packId: string;
232
+ /**
233
+ * Display name shown in the UI.
234
+ *
235
+ * @generated from field: string display_name = 2;
236
+ */
237
+ displayName: string;
238
+ /**
239
+ * Price in micro-USD that the customer pays.
240
+ *
241
+ * @generated from field: int64 price_micros = 3;
242
+ */
243
+ priceMicros: bigint;
244
+ /**
245
+ * Credits granted in micro-USD upon purchase.
246
+ * At launch, credits_micros equals price_micros (1 credit = $0.01, no volume bonus).
247
+ *
248
+ * @generated from field: int64 credits_micros = 4;
249
+ */
250
+ creditsMicros: bigint;
251
+ /**
252
+ * Whether this pack is currently available for purchase.
253
+ *
254
+ * @generated from field: bool active = 5;
255
+ */
256
+ active: boolean;
257
+ };
258
+ /**
259
+ * Describes the message ai.stigmer.billing.v1.CreditPack.
260
+ * Use `create(CreditPackSchema)` to create a new message.
261
+ */
262
+ export declare const CreditPackSchema: GenMessage<CreditPack>;
263
+ /**
264
+ * ExecutionReservation tracks credits held for an active agent execution.
265
+ *
266
+ * Created at execution start (AuthorizeExecution), consumed incrementally
267
+ * by per-LLM-call debits (via proxy-observed usage metering), and settled
268
+ * at execution end (FinalizeExecution) to release any unused hold.
269
+ *
270
+ * @generated from message ai.stigmer.billing.v1.ExecutionReservation
271
+ */
272
+ export type ExecutionReservation = Message<"ai.stigmer.billing.v1.ExecutionReservation"> & {
273
+ /**
274
+ * Unique identifier for this reservation.
275
+ *
276
+ * @generated from field: string reservation_id = 1;
277
+ */
278
+ reservationId: string;
279
+ /**
280
+ * Organization that owns this reservation.
281
+ *
282
+ * @generated from field: string org_id = 2;
283
+ */
284
+ orgId: string;
285
+ /**
286
+ * Agent execution this reservation is for.
287
+ *
288
+ * @generated from field: string execution_id = 3;
289
+ */
290
+ executionId: string;
291
+ /**
292
+ * Total micro-USD reserved at execution start.
293
+ *
294
+ * @generated from field: int64 reserved_micros = 4;
295
+ */
296
+ reservedMicros: bigint;
297
+ /**
298
+ * Micro-USD consumed so far by usage debits against this reservation.
299
+ *
300
+ * @generated from field: int64 consumed_micros = 5;
301
+ */
302
+ consumedMicros: bigint;
303
+ /**
304
+ * Current lifecycle state.
305
+ *
306
+ * @generated from field: ai.stigmer.billing.v1.ReservationStatus status = 6;
307
+ */
308
+ status: ReservationStatus;
309
+ /**
310
+ * @generated from field: google.protobuf.Timestamp created_at = 7;
311
+ */
312
+ createdAt?: Timestamp;
313
+ /**
314
+ * Safety timeout: reservation auto-expires if not finalized.
315
+ *
316
+ * @generated from field: google.protobuf.Timestamp expires_at = 8;
317
+ */
318
+ expiresAt?: Timestamp;
319
+ };
320
+ /**
321
+ * Describes the message ai.stigmer.billing.v1.ExecutionReservation.
322
+ * Use `create(ExecutionReservationSchema)` to create a new message.
323
+ */
324
+ export declare const ExecutionReservationSchema: GenMessage<ExecutionReservation>;
325
+ /**
326
+ * CreditPurchase tracks a credit pack purchase through Stripe Checkout.
327
+ *
328
+ * Created with status PENDING when the Checkout Session is initiated.
329
+ * Transitions to COMPLETED when the webhook confirms payment and credits
330
+ * are provisioned, or to FAILED/EXPIRED if payment does not succeed.
331
+ *
332
+ * The checkout_session_id is set after the Stripe API call returns,
333
+ * and payment_intent_id is populated by the webhook handler.
334
+ *
335
+ * @generated from message ai.stigmer.billing.v1.CreditPurchase
336
+ */
337
+ export type CreditPurchase = Message<"ai.stigmer.billing.v1.CreditPurchase"> & {
338
+ /**
339
+ * Unique identifier for this purchase.
340
+ *
341
+ * @generated from field: string purchase_id = 1;
342
+ */
343
+ purchaseId: string;
344
+ /**
345
+ * Organization purchasing credits.
346
+ *
347
+ * @generated from field: string org_id = 2;
348
+ */
349
+ orgId: string;
350
+ /**
351
+ * Credit pack being purchased (e.g., "starter", "growth", "team").
352
+ *
353
+ * @generated from field: string pack_id = 3;
354
+ */
355
+ packId: string;
356
+ /**
357
+ * Price paid in micro-USD.
358
+ *
359
+ * @generated from field: int64 amount_paid_micros = 4;
360
+ */
361
+ amountPaidMicros: bigint;
362
+ /**
363
+ * Credits to be provisioned in micro-USD upon successful payment.
364
+ *
365
+ * @generated from field: int64 credits_granted_micros = 5;
366
+ */
367
+ creditsGrantedMicros: bigint;
368
+ /**
369
+ * Current lifecycle status.
370
+ *
371
+ * @generated from field: ai.stigmer.billing.v1.CreditPurchaseStatus status = 6;
372
+ */
373
+ status: CreditPurchaseStatus;
374
+ /**
375
+ * Stripe Customer ID used for this purchase.
376
+ *
377
+ * @generated from field: string stripe_customer_id = 7;
378
+ */
379
+ stripeCustomerId: string;
380
+ /**
381
+ * Stripe Checkout Session ID. Set after session creation.
382
+ *
383
+ * @generated from field: string checkout_session_id = 8;
384
+ */
385
+ checkoutSessionId: string;
386
+ /**
387
+ * Stripe PaymentIntent ID. Set by webhook on payment completion.
388
+ *
389
+ * @generated from field: string payment_intent_id = 9;
390
+ */
391
+ paymentIntentId: string;
392
+ /**
393
+ * @generated from field: google.protobuf.Timestamp created_at = 10;
394
+ */
395
+ createdAt?: Timestamp;
396
+ /**
397
+ * @generated from field: google.protobuf.Timestamp updated_at = 11;
398
+ */
399
+ updatedAt?: Timestamp;
400
+ };
401
+ /**
402
+ * Describes the message ai.stigmer.billing.v1.CreditPurchase.
403
+ * Use `create(CreditPurchaseSchema)` to create a new message.
404
+ */
405
+ export declare const CreditPurchaseSchema: GenMessage<CreditPurchase>;
406
+ /**
407
+ * AutoRechargeEvent tracks a single automatic recharge attempt through
408
+ * its lifecycle: claim → PaymentIntent creation → payment confirmation
409
+ * → credit provisioning.
410
+ *
411
+ * Created with status PENDING when the billing system detects a balance
412
+ * drop below the org's threshold and successfully claims a monthly cap
413
+ * slot. Transitions to SUCCEEDED when the payment_intent.succeeded
414
+ * webhook provisions credits, or to FAILED if payment fails.
415
+ *
416
+ * The monthly cap slot (BillingAccount.auto_recharge.current_month_charged_micros)
417
+ * is claimed atomically before this document is created, and released
418
+ * (decremented) if the event transitions to FAILED.
419
+ *
420
+ * @generated from message ai.stigmer.billing.v1.AutoRechargeEvent
421
+ */
422
+ export type AutoRechargeEvent = Message<"ai.stigmer.billing.v1.AutoRechargeEvent"> & {
423
+ /**
424
+ * Unique identifier for this recharge event.
425
+ *
426
+ * @generated from field: string event_id = 1;
427
+ */
428
+ eventId: string;
429
+ /**
430
+ * Organization being recharged.
431
+ *
432
+ * @generated from field: string org_id = 2;
433
+ */
434
+ orgId: string;
435
+ /**
436
+ * Amount charged to the payment method in micro-USD.
437
+ *
438
+ * @generated from field: int64 amount_micros = 3;
439
+ */
440
+ amountMicros: bigint;
441
+ /**
442
+ * Credits to provision upon successful payment in micro-USD.
443
+ * Equal to amount_micros at launch (no volume bonus on recharges).
444
+ *
445
+ * @generated from field: int64 credits_micros = 4;
446
+ */
447
+ creditsMicros: bigint;
448
+ /**
449
+ * Stripe PaymentIntent ID. Set after PaymentIntent creation succeeds.
450
+ *
451
+ * @generated from field: string payment_intent_id = 5;
452
+ */
453
+ paymentIntentId: string;
454
+ /**
455
+ * Current lifecycle status.
456
+ *
457
+ * @generated from field: ai.stigmer.billing.v1.AutoRechargeEventStatus status = 6;
458
+ */
459
+ status: AutoRechargeEventStatus;
460
+ /**
461
+ * Reason for failure, if status is FAILED.
462
+ *
463
+ * @generated from field: string failure_reason = 7;
464
+ */
465
+ failureReason: string;
466
+ /**
467
+ * Deduplication key for the ledger entry provisioning credits.
468
+ * Format: "auto_recharge_{event_id}".
469
+ *
470
+ * @generated from field: string idempotency_key = 8;
471
+ */
472
+ idempotencyKey: string;
473
+ /**
474
+ * Stripe Customer ID used for this charge.
475
+ *
476
+ * @generated from field: string stripe_customer_id = 9;
477
+ */
478
+ stripeCustomerId: string;
479
+ /**
480
+ * @generated from field: google.protobuf.Timestamp created_at = 10;
481
+ */
482
+ createdAt?: Timestamp;
483
+ /**
484
+ * @generated from field: google.protobuf.Timestamp completed_at = 11;
485
+ */
486
+ completedAt?: Timestamp;
487
+ };
488
+ /**
489
+ * Describes the message ai.stigmer.billing.v1.AutoRechargeEvent.
490
+ * Use `create(AutoRechargeEventSchema)` to create a new message.
491
+ */
492
+ export declare const AutoRechargeEventSchema: GenMessage<AutoRechargeEvent>;
@@ -0,0 +1,47 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
2
+ // @generated from file ai/stigmer/billing/v1/credit.proto (package ai.stigmer.billing.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_billing_v1_enum } from "./enum_pb.js";
6
+ import { file_ai_stigmer_billing_v1_policy } from "./policy_pb.js";
7
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
8
+ /**
9
+ * Describes the file ai/stigmer/billing/v1/credit.proto.
10
+ */
11
+ export const file_ai_stigmer_billing_v1_credit = /*@__PURE__*/ fileDesc("CiJhaS9zdGlnbWVyL2JpbGxpbmcvdjEvY3JlZGl0LnByb3RvEhVhaS5zdGlnbWVyLmJpbGxpbmcudjEi3wIKEUNyZWRpdExlZGdlckVudHJ5EhAKCGVudHJ5X2lkGAEgASgJEg4KBm9yZ19pZBgCIAEoCRI0CgR0eXBlGAMgASgOMiYuYWkuc3RpZ21lci5iaWxsaW5nLnYxLkxlZGdlckVudHJ5VHlwZRIVCg1hbW91bnRfbWljcm9zGAQgASgDEhwKFGJhbGFuY2VfYWZ0ZXJfbWljcm9zGAUgASgDEhcKD2lkZW1wb3RlbmN5X2tleRgGIAEoCRI5CgZyYXRpbmcYByABKAsyKS5haS5zdGlnbWVyLmJpbGxpbmcudjEuQmlsbGluZ1VzYWdlUmF0aW5nEjkKBnNvdXJjZRgIIAEoCzIpLmFpLnN0aWdtZXIuYmlsbGluZy52MS5DcmVkaXRMZWRnZXJTb3VyY2USLgoKY3JlYXRlZF9hdBgJIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAi1AEKEkNyZWRpdExlZGdlclNvdXJjZRIUCgxleGVjdXRpb25faWQYASABKAkSEgoKc2Vzc2lvbl9pZBgCIAEoCRIQCghhZ2VudF9pZBgDIAEoCRIZChFsbG1fY2FsbF9zZXF1ZW5jZRgEIAEoBRITCgtwdXJjaGFzZV9pZBgFIAEoCRIQCghncmFudF9pZBgGIAEoCRIWCg5yZXNlcnZhdGlvbl9pZBgHIAEoCRITCgthZGp1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RfcGFpZF9taWNyb3MYBCABKAMSHgoWY3JlZGl0c19ncmFudGVkX21pY3JvcxgFIAEoAxI7CgZzdGF0dXMYBiABKA4yKy5haS5zdGlnbWVyLmJpbGxpbmcudjEuQ3JlZGl0UHVyY2hhc2VTdGF0dXMSGgoSc3RyaXBlX2N1c3RvbWVyX2lkGAcgASgJEhsKE2NoZWNrb3V0X3Nlc3Npb25faWQYCCABKAkSGQoRcGF5bWVudF9pbnRlbnRfaWQYCSABKAkSLgoKY3JlYXRlZF9hdBgKIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKdXBkYXRlZF9hdBgLIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAi7gIKEUF1dG9SZWNoYXJnZUV2ZW50EhAKCGV2ZW50X2lkGAEgASgJEg4KBm9yZ19pZBgCIAEoCRIVCg1hbW91bnRfbWljcm9zGAMgASgDEhYKDmNyZWRpdHNfbWljcm9zGAQgASgDEhkKEXBheW1lbnRfaW50ZW50X2lkGAUgASgJEj4KBnN0YXR1cxgGIAEoDjIuLmFpLnN0aWdtZXIuYmlsbGluZy52MS5BdXRvUmVjaGFyZ2VFdmVudFN0YXR1cxIWCg5mYWlsdXJlX3JlYXNvbhgHIAEoCRIXCg9pZGVtcG90ZW5jeV9rZXkYCCABKAkSGgoSc3RyaXBlX2N1c3RvbWVyX2lkGAkgASgJEi4KCmNyZWF0ZWRfYXQYCiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjAKDGNvbXBsZXRlZF9hdBgLIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBiBnByb3RvMw", [file_ai_stigmer_billing_v1_enum, file_ai_stigmer_billing_v1_policy, file_google_protobuf_timestamp]);
12
+ /**
13
+ * Describes the message ai.stigmer.billing.v1.CreditLedgerEntry.
14
+ * Use `create(CreditLedgerEntrySchema)` to create a new message.
15
+ */
16
+ export const CreditLedgerEntrySchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_billing_v1_credit, 0);
17
+ /**
18
+ * Describes the message ai.stigmer.billing.v1.CreditLedgerSource.
19
+ * Use `create(CreditLedgerSourceSchema)` to create a new message.
20
+ */
21
+ export const CreditLedgerSourceSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_billing_v1_credit, 1);
22
+ /**
23
+ * Describes the message ai.stigmer.billing.v1.CreditGrant.
24
+ * Use `create(CreditGrantSchema)` to create a new message.
25
+ */
26
+ export const CreditGrantSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_billing_v1_credit, 2);
27
+ /**
28
+ * Describes the message ai.stigmer.billing.v1.CreditPack.
29
+ * Use `create(CreditPackSchema)` to create a new message.
30
+ */
31
+ export const CreditPackSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_billing_v1_credit, 3);
32
+ /**
33
+ * Describes the message ai.stigmer.billing.v1.ExecutionReservation.
34
+ * Use `create(ExecutionReservationSchema)` to create a new message.
35
+ */
36
+ export const ExecutionReservationSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_billing_v1_credit, 4);
37
+ /**
38
+ * Describes the message ai.stigmer.billing.v1.CreditPurchase.
39
+ * Use `create(CreditPurchaseSchema)` to create a new message.
40
+ */
41
+ export const CreditPurchaseSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_billing_v1_credit, 5);
42
+ /**
43
+ * Describes the message ai.stigmer.billing.v1.AutoRechargeEvent.
44
+ * Use `create(AutoRechargeEventSchema)` to create a new message.
45
+ */
46
+ export const AutoRechargeEventSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_billing_v1_credit, 6);
47
+ //# sourceMappingURL=credit_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credit_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/billing/v1/credit_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,yGAAyG;AACzG,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,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