@eide/foir-proto-ts 0.1.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 (67) hide show
  1. package/package.json +55 -0
  2. package/src/analytics/v1/analytics_connect.d.ts +116 -0
  3. package/src/analytics/v1/analytics_connect.js +116 -0
  4. package/src/analytics/v1/analytics_pb.d.ts +850 -0
  5. package/src/analytics/v1/analytics_pb.js +250 -0
  6. package/src/billing/v1/billing_connect.d.ts +269 -0
  7. package/src/billing/v1/billing_connect.js +269 -0
  8. package/src/billing/v1/billing_pb.d.ts +2144 -0
  9. package/src/billing/v1/billing_pb.js +519 -0
  10. package/src/configs/v1/configs_connect.d.ts +111 -0
  11. package/src/configs/v1/configs_connect.js +111 -0
  12. package/src/configs/v1/configs_pb.d.ts +832 -0
  13. package/src/configs/v1/configs_pb.js +192 -0
  14. package/src/experiments/v1/experiments_connect.d.ts +162 -0
  15. package/src/experiments/v1/experiments_connect.js +162 -0
  16. package/src/experiments/v1/experiments_pb.d.ts +1086 -0
  17. package/src/experiments/v1/experiments_pb.js +284 -0
  18. package/src/expressions/v1/expressions_pb.d.ts +139 -0
  19. package/src/expressions/v1/expressions_pb.js +27 -0
  20. package/src/hooks/v1/hooks_connect.d.ts +106 -0
  21. package/src/hooks/v1/hooks_connect.js +106 -0
  22. package/src/hooks/v1/hooks_pb.d.ts +689 -0
  23. package/src/hooks/v1/hooks_pb.js +159 -0
  24. package/src/identity/v1/identity_connect.d.ts +738 -0
  25. package/src/identity/v1/identity_connect.js +738 -0
  26. package/src/identity/v1/identity_pb.d.ts +4612 -0
  27. package/src/identity/v1/identity_pb.js +1277 -0
  28. package/src/models/v1/models_connect.d.ts +104 -0
  29. package/src/models/v1/models_connect.js +104 -0
  30. package/src/models/v1/models_pb.d.ts +908 -0
  31. package/src/models/v1/models_pb.js +187 -0
  32. package/src/notifications/v1/notifications_connect.d.ts +182 -0
  33. package/src/notifications/v1/notifications_connect.js +182 -0
  34. package/src/notifications/v1/notifications_pb.d.ts +1173 -0
  35. package/src/notifications/v1/notifications_pb.js +302 -0
  36. package/src/operations/v1/operations_connect.d.ts +222 -0
  37. package/src/operations/v1/operations_connect.js +222 -0
  38. package/src/operations/v1/operations_pb.d.ts +1502 -0
  39. package/src/operations/v1/operations_pb.js +355 -0
  40. package/src/queue/v1/queue_connect.d.ts +89 -0
  41. package/src/queue/v1/queue_connect.js +89 -0
  42. package/src/queue/v1/queue_pb.d.ts +519 -0
  43. package/src/queue/v1/queue_pb.js +152 -0
  44. package/src/records/v1/records_connect.d.ts +451 -0
  45. package/src/records/v1/records_connect.js +451 -0
  46. package/src/records/v1/records_pb.d.ts +3099 -0
  47. package/src/records/v1/records_pb.js +798 -0
  48. package/src/schedules/v1/schedules_connect.d.ts +98 -0
  49. package/src/schedules/v1/schedules_connect.js +98 -0
  50. package/src/schedules/v1/schedules_pb.d.ts +622 -0
  51. package/src/schedules/v1/schedules_pb.js +159 -0
  52. package/src/segments/v1/segments_connect.d.ts +135 -0
  53. package/src/segments/v1/segments_connect.js +135 -0
  54. package/src/segments/v1/segments_pb.d.ts +800 -0
  55. package/src/segments/v1/segments_pb.js +216 -0
  56. package/src/settings/v1/settings_connect.d.ts +614 -0
  57. package/src/settings/v1/settings_connect.js +614 -0
  58. package/src/settings/v1/settings_pb.d.ts +4396 -0
  59. package/src/settings/v1/settings_pb.js +1085 -0
  60. package/src/storage/v1/storage_connect.d.ts +144 -0
  61. package/src/storage/v1/storage_connect.js +144 -0
  62. package/src/storage/v1/storage_pb.d.ts +930 -0
  63. package/src/storage/v1/storage_pb.js +239 -0
  64. package/src/workers/v1/workers_connect.d.ts +42 -0
  65. package/src/workers/v1/workers_connect.js +42 -0
  66. package/src/workers/v1/workers_pb.d.ts +220 -0
  67. package/src/workers/v1/workers_pb.js +56 -0
@@ -0,0 +1,2144 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "import_extension=js"
2
+ // @generated from file billing/v1/billing.proto (package billing.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
8
+
9
+ /**
10
+ * Describes the file billing/v1/billing.proto.
11
+ */
12
+ export declare const file_billing_v1_billing: GenFile;
13
+
14
+ /**
15
+ * @generated from message billing.v1.PlanLimit
16
+ */
17
+ export declare type PlanLimit = Message<"billing.v1.PlanLimit"> & {
18
+ /**
19
+ * @generated from field: string metric = 1;
20
+ */
21
+ metric: string;
22
+
23
+ /**
24
+ * @generated from field: int64 included = 2;
25
+ */
26
+ included: bigint;
27
+
28
+ /**
29
+ * @generated from field: int64 max = 3;
30
+ */
31
+ max: bigint;
32
+
33
+ /**
34
+ * @generated from field: int32 overage_price_cents = 4;
35
+ */
36
+ overagePriceCents: number;
37
+ };
38
+
39
+ /**
40
+ * Describes the message billing.v1.PlanLimit.
41
+ * Use `create(PlanLimitSchema)` to create a new message.
42
+ */
43
+ export declare const PlanLimitSchema: GenMessage<PlanLimit>;
44
+
45
+ /**
46
+ * @generated from message billing.v1.BillingPlan
47
+ */
48
+ export declare type BillingPlan = Message<"billing.v1.BillingPlan"> & {
49
+ /**
50
+ * @generated from field: string id = 1;
51
+ */
52
+ id: string;
53
+
54
+ /**
55
+ * @generated from field: string slug = 2;
56
+ */
57
+ slug: string;
58
+
59
+ /**
60
+ * @generated from field: string name = 3;
61
+ */
62
+ name: string;
63
+
64
+ /**
65
+ * @generated from field: optional string description = 4;
66
+ */
67
+ description?: string;
68
+
69
+ /**
70
+ * @generated from field: int32 price_cents = 5;
71
+ */
72
+ priceCents: number;
73
+
74
+ /**
75
+ * @generated from field: billing.v1.BillingInterval billing_interval = 6;
76
+ */
77
+ billingInterval: BillingInterval;
78
+
79
+ /**
80
+ * @generated from field: optional string currency = 7;
81
+ */
82
+ currency?: string;
83
+
84
+ /**
85
+ * @generated from field: bool is_active = 8;
86
+ */
87
+ isActive: boolean;
88
+
89
+ /**
90
+ * @generated from field: int32 sort_order = 9;
91
+ */
92
+ sortOrder: number;
93
+
94
+ /**
95
+ * @generated from field: repeated billing.v1.PlanLimit limits = 20;
96
+ */
97
+ limits: PlanLimit[];
98
+
99
+ /**
100
+ * @generated from field: repeated string features = 21;
101
+ */
102
+ features: string[];
103
+
104
+ /**
105
+ * @generated from field: map<string, bool> capabilities = 22;
106
+ */
107
+ capabilities: { [key: string]: boolean };
108
+
109
+ /**
110
+ * @generated from field: optional string stripe_product_id = 30;
111
+ */
112
+ stripeProductId?: string;
113
+
114
+ /**
115
+ * @generated from field: optional string stripe_price_id = 31;
116
+ */
117
+ stripePriceId?: string;
118
+
119
+ /**
120
+ * @generated from field: optional string tenant_id = 40;
121
+ */
122
+ tenantId?: string;
123
+
124
+ /**
125
+ * @generated from field: google.protobuf.Timestamp created_at = 50;
126
+ */
127
+ createdAt?: Timestamp;
128
+
129
+ /**
130
+ * @generated from field: google.protobuf.Timestamp updated_at = 51;
131
+ */
132
+ updatedAt?: Timestamp;
133
+ };
134
+
135
+ /**
136
+ * Describes the message billing.v1.BillingPlan.
137
+ * Use `create(BillingPlanSchema)` to create a new message.
138
+ */
139
+ export declare const BillingPlanSchema: GenMessage<BillingPlan>;
140
+
141
+ /**
142
+ * @generated from message billing.v1.Subscription
143
+ */
144
+ export declare type Subscription = Message<"billing.v1.Subscription"> & {
145
+ /**
146
+ * @generated from field: string id = 1;
147
+ */
148
+ id: string;
149
+
150
+ /**
151
+ * @generated from field: string tenant_id = 2;
152
+ */
153
+ tenantId: string;
154
+
155
+ /**
156
+ * Deprecated: populated from resolved plan for backward compat.
157
+ *
158
+ * @generated from field: string plan_slug = 3;
159
+ */
160
+ planSlug: string;
161
+
162
+ /**
163
+ * Deprecated: always empty.
164
+ *
165
+ * @generated from field: optional string custom_package_id = 4;
166
+ */
167
+ customPackageId?: string;
168
+
169
+ /**
170
+ * @generated from field: optional string stripe_subscription_id = 5;
171
+ */
172
+ stripeSubscriptionId?: string;
173
+
174
+ /**
175
+ * @generated from field: string stripe_customer_id = 6;
176
+ */
177
+ stripeCustomerId: string;
178
+
179
+ /**
180
+ * Status.
181
+ *
182
+ * @generated from field: billing.v1.SubscriptionStatus status = 20;
183
+ */
184
+ status: SubscriptionStatus;
185
+
186
+ /**
187
+ * Billing period.
188
+ *
189
+ * @generated from field: optional google.protobuf.Timestamp current_period_start = 30;
190
+ */
191
+ currentPeriodStart?: Timestamp;
192
+
193
+ /**
194
+ * @generated from field: optional google.protobuf.Timestamp current_period_end = 31;
195
+ */
196
+ currentPeriodEnd?: Timestamp;
197
+
198
+ /**
199
+ * Trial.
200
+ *
201
+ * @generated from field: optional google.protobuf.Timestamp trial_start = 35;
202
+ */
203
+ trialStart?: Timestamp;
204
+
205
+ /**
206
+ * @generated from field: optional google.protobuf.Timestamp trial_end = 36;
207
+ */
208
+ trialEnd?: Timestamp;
209
+
210
+ /**
211
+ * Cancellation.
212
+ *
213
+ * @generated from field: optional google.protobuf.Timestamp canceled_at = 40;
214
+ */
215
+ canceledAt?: Timestamp;
216
+
217
+ /**
218
+ * Timestamps.
219
+ *
220
+ * @generated from field: google.protobuf.Timestamp created_at = 50;
221
+ */
222
+ createdAt?: Timestamp;
223
+
224
+ /**
225
+ * @generated from field: google.protobuf.Timestamp updated_at = 51;
226
+ */
227
+ updatedAt?: Timestamp;
228
+
229
+ /**
230
+ * Unified plan reference.
231
+ *
232
+ * @generated from field: string plan_id = 60;
233
+ */
234
+ planId: string;
235
+ };
236
+
237
+ /**
238
+ * Describes the message billing.v1.Subscription.
239
+ * Use `create(SubscriptionSchema)` to create a new message.
240
+ */
241
+ export declare const SubscriptionSchema: GenMessage<Subscription>;
242
+
243
+ /**
244
+ * @generated from message billing.v1.CustomPackage
245
+ */
246
+ export declare type CustomPackage = Message<"billing.v1.CustomPackage"> & {
247
+ /**
248
+ * @generated from field: string id = 1;
249
+ */
250
+ id: string;
251
+
252
+ /**
253
+ * @generated from field: string tenant_id = 2;
254
+ */
255
+ tenantId: string;
256
+
257
+ /**
258
+ * @generated from field: optional string project_id = 3;
259
+ */
260
+ projectId?: string;
261
+
262
+ /**
263
+ * @generated from field: string name = 4;
264
+ */
265
+ name: string;
266
+
267
+ /**
268
+ * @generated from field: optional string description = 5;
269
+ */
270
+ description?: string;
271
+
272
+ /**
273
+ * @generated from field: optional int32 base_price_cents = 6;
274
+ */
275
+ basePriceCents?: number;
276
+
277
+ /**
278
+ * @generated from field: optional billing.v1.BillingInterval billing_interval = 7;
279
+ */
280
+ billingInterval?: BillingInterval;
281
+
282
+ /**
283
+ * @generated from field: optional string currency = 8;
284
+ */
285
+ currency?: string;
286
+
287
+ /**
288
+ * @generated from field: optional string base_plan_slug = 9;
289
+ */
290
+ basePlanSlug?: string;
291
+
292
+ /**
293
+ * @generated from field: bool is_active = 10;
294
+ */
295
+ isActive: boolean;
296
+
297
+ /**
298
+ * Limits.
299
+ *
300
+ * @generated from field: repeated billing.v1.CustomPackageLimit limits = 20;
301
+ */
302
+ limits: CustomPackageLimit[];
303
+
304
+ /**
305
+ * Timestamps.
306
+ *
307
+ * @generated from field: google.protobuf.Timestamp created_at = 50;
308
+ */
309
+ createdAt?: Timestamp;
310
+
311
+ /**
312
+ * @generated from field: google.protobuf.Timestamp updated_at = 51;
313
+ */
314
+ updatedAt?: Timestamp;
315
+ };
316
+
317
+ /**
318
+ * Describes the message billing.v1.CustomPackage.
319
+ * Use `create(CustomPackageSchema)` to create a new message.
320
+ */
321
+ export declare const CustomPackageSchema: GenMessage<CustomPackage>;
322
+
323
+ /**
324
+ * @generated from message billing.v1.CustomPackageLimit
325
+ */
326
+ export declare type CustomPackageLimit = Message<"billing.v1.CustomPackageLimit"> & {
327
+ /**
328
+ * @generated from field: string id = 1;
329
+ */
330
+ id: string;
331
+
332
+ /**
333
+ * @generated from field: string package_id = 2;
334
+ */
335
+ packageId: string;
336
+
337
+ /**
338
+ * @generated from field: string metric = 3;
339
+ */
340
+ metric: string;
341
+
342
+ /**
343
+ * @generated from field: optional int64 included_quantity = 4;
344
+ */
345
+ includedQuantity?: bigint;
346
+
347
+ /**
348
+ * @generated from field: optional int64 max_quantity = 5;
349
+ */
350
+ maxQuantity?: bigint;
351
+
352
+ /**
353
+ * @generated from field: optional int32 overage_price_cents = 6;
354
+ */
355
+ overagePriceCents?: number;
356
+ };
357
+
358
+ /**
359
+ * Describes the message billing.v1.CustomPackageLimit.
360
+ * Use `create(CustomPackageLimitSchema)` to create a new message.
361
+ */
362
+ export declare const CustomPackageLimitSchema: GenMessage<CustomPackageLimit>;
363
+
364
+ /**
365
+ * @generated from message billing.v1.UsageSummary
366
+ */
367
+ export declare type UsageSummary = Message<"billing.v1.UsageSummary"> & {
368
+ /**
369
+ * @generated from field: string id = 1;
370
+ */
371
+ id: string;
372
+
373
+ /**
374
+ * @generated from field: string tenant_id = 2;
375
+ */
376
+ tenantId: string;
377
+
378
+ /**
379
+ * @generated from field: optional string project_id = 3;
380
+ */
381
+ projectId?: string;
382
+
383
+ /**
384
+ * @generated from field: google.protobuf.Timestamp period_start = 4;
385
+ */
386
+ periodStart?: Timestamp;
387
+
388
+ /**
389
+ * @generated from field: google.protobuf.Timestamp period_end = 5;
390
+ */
391
+ periodEnd?: Timestamp;
392
+
393
+ /**
394
+ * @generated from field: int64 records_count = 6;
395
+ */
396
+ recordsCount: bigint;
397
+
398
+ /**
399
+ * @generated from field: int64 media_storage_bytes = 7;
400
+ */
401
+ mediaStorageBytes: bigint;
402
+
403
+ /**
404
+ * @generated from field: int64 media_transformations = 8;
405
+ */
406
+ mediaTransformations: bigint;
407
+
408
+ /**
409
+ * @generated from field: int32 active_users = 9;
410
+ */
411
+ activeUsers: number;
412
+
413
+ /**
414
+ * @generated from field: int32 projects_count = 10;
415
+ */
416
+ projectsCount: number;
417
+ };
418
+
419
+ /**
420
+ * Describes the message billing.v1.UsageSummary.
421
+ * Use `create(UsageSummarySchema)` to create a new message.
422
+ */
423
+ export declare const UsageSummarySchema: GenMessage<UsageSummary>;
424
+
425
+ /**
426
+ * @generated from message billing.v1.UsageAlert
427
+ */
428
+ export declare type UsageAlert = Message<"billing.v1.UsageAlert"> & {
429
+ /**
430
+ * @generated from field: string id = 1;
431
+ */
432
+ id: string;
433
+
434
+ /**
435
+ * @generated from field: string tenant_id = 2;
436
+ */
437
+ tenantId: string;
438
+
439
+ /**
440
+ * @generated from field: string metric = 3;
441
+ */
442
+ metric: string;
443
+
444
+ /**
445
+ * @generated from field: int32 threshold = 4;
446
+ */
447
+ threshold: number;
448
+
449
+ /**
450
+ * @generated from field: int64 current_usage = 5;
451
+ */
452
+ currentUsage: bigint;
453
+
454
+ /**
455
+ * @generated from field: int64 limit_value = 6;
456
+ */
457
+ limitValue: bigint;
458
+
459
+ /**
460
+ * @generated from field: int32 percent_used = 7;
461
+ */
462
+ percentUsed: number;
463
+
464
+ /**
465
+ * @generated from field: google.protobuf.Timestamp period_start = 8;
466
+ */
467
+ periodStart?: Timestamp;
468
+
469
+ /**
470
+ * @generated from field: optional google.protobuf.Timestamp dismissed_at = 9;
471
+ */
472
+ dismissedAt?: Timestamp;
473
+ };
474
+
475
+ /**
476
+ * Describes the message billing.v1.UsageAlert.
477
+ * Use `create(UsageAlertSchema)` to create a new message.
478
+ */
479
+ export declare const UsageAlertSchema: GenMessage<UsageAlert>;
480
+
481
+ /**
482
+ * @generated from message billing.v1.ListBillingPlansRequest
483
+ */
484
+ export declare type ListBillingPlansRequest = Message<"billing.v1.ListBillingPlansRequest"> & {
485
+ /**
486
+ * @generated from field: optional bool include_inactive = 1;
487
+ */
488
+ includeInactive?: boolean;
489
+
490
+ /**
491
+ * @generated from field: optional string tenant_id = 2;
492
+ */
493
+ tenantId?: string;
494
+ };
495
+
496
+ /**
497
+ * Describes the message billing.v1.ListBillingPlansRequest.
498
+ * Use `create(ListBillingPlansRequestSchema)` to create a new message.
499
+ */
500
+ export declare const ListBillingPlansRequestSchema: GenMessage<ListBillingPlansRequest>;
501
+
502
+ /**
503
+ * @generated from message billing.v1.ListBillingPlansResponse
504
+ */
505
+ export declare type ListBillingPlansResponse = Message<"billing.v1.ListBillingPlansResponse"> & {
506
+ /**
507
+ * @generated from field: repeated billing.v1.BillingPlan plans = 1;
508
+ */
509
+ plans: BillingPlan[];
510
+ };
511
+
512
+ /**
513
+ * Describes the message billing.v1.ListBillingPlansResponse.
514
+ * Use `create(ListBillingPlansResponseSchema)` to create a new message.
515
+ */
516
+ export declare const ListBillingPlansResponseSchema: GenMessage<ListBillingPlansResponse>;
517
+
518
+ /**
519
+ * @generated from message billing.v1.GetBillingPlanRequest
520
+ */
521
+ export declare type GetBillingPlanRequest = Message<"billing.v1.GetBillingPlanRequest"> & {
522
+ /**
523
+ * @generated from field: string slug = 1;
524
+ */
525
+ slug: string;
526
+ };
527
+
528
+ /**
529
+ * Describes the message billing.v1.GetBillingPlanRequest.
530
+ * Use `create(GetBillingPlanRequestSchema)` to create a new message.
531
+ */
532
+ export declare const GetBillingPlanRequestSchema: GenMessage<GetBillingPlanRequest>;
533
+
534
+ /**
535
+ * @generated from message billing.v1.GetBillingPlanResponse
536
+ */
537
+ export declare type GetBillingPlanResponse = Message<"billing.v1.GetBillingPlanResponse"> & {
538
+ /**
539
+ * @generated from field: billing.v1.BillingPlan plan = 1;
540
+ */
541
+ plan?: BillingPlan;
542
+ };
543
+
544
+ /**
545
+ * Describes the message billing.v1.GetBillingPlanResponse.
546
+ * Use `create(GetBillingPlanResponseSchema)` to create a new message.
547
+ */
548
+ export declare const GetBillingPlanResponseSchema: GenMessage<GetBillingPlanResponse>;
549
+
550
+ /**
551
+ * @generated from message billing.v1.GetDefaultFreePlanRequest
552
+ */
553
+ export declare type GetDefaultFreePlanRequest = Message<"billing.v1.GetDefaultFreePlanRequest"> & {
554
+ };
555
+
556
+ /**
557
+ * Describes the message billing.v1.GetDefaultFreePlanRequest.
558
+ * Use `create(GetDefaultFreePlanRequestSchema)` to create a new message.
559
+ */
560
+ export declare const GetDefaultFreePlanRequestSchema: GenMessage<GetDefaultFreePlanRequest>;
561
+
562
+ /**
563
+ * @generated from message billing.v1.GetDefaultFreePlanResponse
564
+ */
565
+ export declare type GetDefaultFreePlanResponse = Message<"billing.v1.GetDefaultFreePlanResponse"> & {
566
+ /**
567
+ * @generated from field: billing.v1.BillingPlan plan = 1;
568
+ */
569
+ plan?: BillingPlan;
570
+ };
571
+
572
+ /**
573
+ * Describes the message billing.v1.GetDefaultFreePlanResponse.
574
+ * Use `create(GetDefaultFreePlanResponseSchema)` to create a new message.
575
+ */
576
+ export declare const GetDefaultFreePlanResponseSchema: GenMessage<GetDefaultFreePlanResponse>;
577
+
578
+ /**
579
+ * @generated from message billing.v1.CreateBillingPlanRequest
580
+ */
581
+ export declare type CreateBillingPlanRequest = Message<"billing.v1.CreateBillingPlanRequest"> & {
582
+ /**
583
+ * @generated from field: string slug = 1;
584
+ */
585
+ slug: string;
586
+
587
+ /**
588
+ * @generated from field: string name = 2;
589
+ */
590
+ name: string;
591
+
592
+ /**
593
+ * @generated from field: optional string description = 3;
594
+ */
595
+ description?: string;
596
+
597
+ /**
598
+ * @generated from field: int32 price_cents = 4;
599
+ */
600
+ priceCents: number;
601
+
602
+ /**
603
+ * @generated from field: billing.v1.BillingInterval billing_interval = 5;
604
+ */
605
+ billingInterval: BillingInterval;
606
+
607
+ /**
608
+ * @generated from field: optional string currency = 6;
609
+ */
610
+ currency?: string;
611
+
612
+ /**
613
+ * @generated from field: bool is_active = 7;
614
+ */
615
+ isActive: boolean;
616
+
617
+ /**
618
+ * @generated from field: int32 sort_order = 8;
619
+ */
620
+ sortOrder: number;
621
+
622
+ /**
623
+ * @generated from field: repeated billing.v1.PlanLimit limits = 20;
624
+ */
625
+ limits: PlanLimit[];
626
+
627
+ /**
628
+ * @generated from field: repeated string features = 21;
629
+ */
630
+ features: string[];
631
+
632
+ /**
633
+ * @generated from field: map<string, bool> capabilities = 22;
634
+ */
635
+ capabilities: { [key: string]: boolean };
636
+
637
+ /**
638
+ * @generated from field: optional string stripe_product_id = 30;
639
+ */
640
+ stripeProductId?: string;
641
+
642
+ /**
643
+ * @generated from field: optional string stripe_price_id = 31;
644
+ */
645
+ stripePriceId?: string;
646
+
647
+ /**
648
+ * @generated from field: optional string tenant_id = 40;
649
+ */
650
+ tenantId?: string;
651
+ };
652
+
653
+ /**
654
+ * Describes the message billing.v1.CreateBillingPlanRequest.
655
+ * Use `create(CreateBillingPlanRequestSchema)` to create a new message.
656
+ */
657
+ export declare const CreateBillingPlanRequestSchema: GenMessage<CreateBillingPlanRequest>;
658
+
659
+ /**
660
+ * @generated from message billing.v1.CreateBillingPlanResponse
661
+ */
662
+ export declare type CreateBillingPlanResponse = Message<"billing.v1.CreateBillingPlanResponse"> & {
663
+ /**
664
+ * @generated from field: billing.v1.BillingPlan plan = 1;
665
+ */
666
+ plan?: BillingPlan;
667
+ };
668
+
669
+ /**
670
+ * Describes the message billing.v1.CreateBillingPlanResponse.
671
+ * Use `create(CreateBillingPlanResponseSchema)` to create a new message.
672
+ */
673
+ export declare const CreateBillingPlanResponseSchema: GenMessage<CreateBillingPlanResponse>;
674
+
675
+ /**
676
+ * @generated from message billing.v1.UpdateBillingPlanRequest
677
+ */
678
+ export declare type UpdateBillingPlanRequest = Message<"billing.v1.UpdateBillingPlanRequest"> & {
679
+ /**
680
+ * @generated from field: string id = 1;
681
+ */
682
+ id: string;
683
+
684
+ /**
685
+ * @generated from field: optional string slug = 2;
686
+ */
687
+ slug?: string;
688
+
689
+ /**
690
+ * @generated from field: optional string name = 3;
691
+ */
692
+ name?: string;
693
+
694
+ /**
695
+ * @generated from field: optional string description = 4;
696
+ */
697
+ description?: string;
698
+
699
+ /**
700
+ * @generated from field: optional int32 price_cents = 5;
701
+ */
702
+ priceCents?: number;
703
+
704
+ /**
705
+ * @generated from field: optional billing.v1.BillingInterval billing_interval = 6;
706
+ */
707
+ billingInterval?: BillingInterval;
708
+
709
+ /**
710
+ * @generated from field: optional string currency = 7;
711
+ */
712
+ currency?: string;
713
+
714
+ /**
715
+ * @generated from field: optional bool is_active = 8;
716
+ */
717
+ isActive?: boolean;
718
+
719
+ /**
720
+ * @generated from field: optional int32 sort_order = 9;
721
+ */
722
+ sortOrder?: number;
723
+
724
+ /**
725
+ * @generated from field: repeated billing.v1.PlanLimit limits = 20;
726
+ */
727
+ limits: PlanLimit[];
728
+
729
+ /**
730
+ * @generated from field: repeated string features = 21;
731
+ */
732
+ features: string[];
733
+
734
+ /**
735
+ * @generated from field: map<string, bool> capabilities = 22;
736
+ */
737
+ capabilities: { [key: string]: boolean };
738
+
739
+ /**
740
+ * @generated from field: optional string stripe_product_id = 30;
741
+ */
742
+ stripeProductId?: string;
743
+
744
+ /**
745
+ * @generated from field: optional string stripe_price_id = 31;
746
+ */
747
+ stripePriceId?: string;
748
+ };
749
+
750
+ /**
751
+ * Describes the message billing.v1.UpdateBillingPlanRequest.
752
+ * Use `create(UpdateBillingPlanRequestSchema)` to create a new message.
753
+ */
754
+ export declare const UpdateBillingPlanRequestSchema: GenMessage<UpdateBillingPlanRequest>;
755
+
756
+ /**
757
+ * @generated from message billing.v1.UpdateBillingPlanResponse
758
+ */
759
+ export declare type UpdateBillingPlanResponse = Message<"billing.v1.UpdateBillingPlanResponse"> & {
760
+ /**
761
+ * @generated from field: billing.v1.BillingPlan plan = 1;
762
+ */
763
+ plan?: BillingPlan;
764
+ };
765
+
766
+ /**
767
+ * Describes the message billing.v1.UpdateBillingPlanResponse.
768
+ * Use `create(UpdateBillingPlanResponseSchema)` to create a new message.
769
+ */
770
+ export declare const UpdateBillingPlanResponseSchema: GenMessage<UpdateBillingPlanResponse>;
771
+
772
+ /**
773
+ * @generated from message billing.v1.DeleteBillingPlanRequest
774
+ */
775
+ export declare type DeleteBillingPlanRequest = Message<"billing.v1.DeleteBillingPlanRequest"> & {
776
+ /**
777
+ * @generated from field: string id = 1;
778
+ */
779
+ id: string;
780
+ };
781
+
782
+ /**
783
+ * Describes the message billing.v1.DeleteBillingPlanRequest.
784
+ * Use `create(DeleteBillingPlanRequestSchema)` to create a new message.
785
+ */
786
+ export declare const DeleteBillingPlanRequestSchema: GenMessage<DeleteBillingPlanRequest>;
787
+
788
+ /**
789
+ * @generated from message billing.v1.DeleteBillingPlanResponse
790
+ */
791
+ export declare type DeleteBillingPlanResponse = Message<"billing.v1.DeleteBillingPlanResponse"> & {
792
+ /**
793
+ * @generated from field: bool success = 1;
794
+ */
795
+ success: boolean;
796
+ };
797
+
798
+ /**
799
+ * Describes the message billing.v1.DeleteBillingPlanResponse.
800
+ * Use `create(DeleteBillingPlanResponseSchema)` to create a new message.
801
+ */
802
+ export declare const DeleteBillingPlanResponseSchema: GenMessage<DeleteBillingPlanResponse>;
803
+
804
+ /**
805
+ * @generated from message billing.v1.GetSubscriptionRequest
806
+ */
807
+ export declare type GetSubscriptionRequest = Message<"billing.v1.GetSubscriptionRequest"> & {
808
+ /**
809
+ * @generated from field: optional string tenant_id = 1;
810
+ */
811
+ tenantId?: string;
812
+ };
813
+
814
+ /**
815
+ * Describes the message billing.v1.GetSubscriptionRequest.
816
+ * Use `create(GetSubscriptionRequestSchema)` to create a new message.
817
+ */
818
+ export declare const GetSubscriptionRequestSchema: GenMessage<GetSubscriptionRequest>;
819
+
820
+ /**
821
+ * @generated from message billing.v1.GetSubscriptionResponse
822
+ */
823
+ export declare type GetSubscriptionResponse = Message<"billing.v1.GetSubscriptionResponse"> & {
824
+ /**
825
+ * @generated from field: billing.v1.Subscription subscription = 1;
826
+ */
827
+ subscription?: Subscription;
828
+ };
829
+
830
+ /**
831
+ * Describes the message billing.v1.GetSubscriptionResponse.
832
+ * Use `create(GetSubscriptionResponseSchema)` to create a new message.
833
+ */
834
+ export declare const GetSubscriptionResponseSchema: GenMessage<GetSubscriptionResponse>;
835
+
836
+ /**
837
+ * @generated from message billing.v1.CreateCheckoutSessionRequest
838
+ */
839
+ export declare type CreateCheckoutSessionRequest = Message<"billing.v1.CreateCheckoutSessionRequest"> & {
840
+ /**
841
+ * @generated from field: string plan_slug = 1;
842
+ */
843
+ planSlug: string;
844
+
845
+ /**
846
+ * @generated from field: string success_url = 2;
847
+ */
848
+ successUrl: string;
849
+
850
+ /**
851
+ * @generated from field: string cancel_url = 3;
852
+ */
853
+ cancelUrl: string;
854
+ };
855
+
856
+ /**
857
+ * Describes the message billing.v1.CreateCheckoutSessionRequest.
858
+ * Use `create(CreateCheckoutSessionRequestSchema)` to create a new message.
859
+ */
860
+ export declare const CreateCheckoutSessionRequestSchema: GenMessage<CreateCheckoutSessionRequest>;
861
+
862
+ /**
863
+ * @generated from message billing.v1.CreateCheckoutSessionResponse
864
+ */
865
+ export declare type CreateCheckoutSessionResponse = Message<"billing.v1.CreateCheckoutSessionResponse"> & {
866
+ /**
867
+ * @generated from field: string session_url = 1;
868
+ */
869
+ sessionUrl: string;
870
+ };
871
+
872
+ /**
873
+ * Describes the message billing.v1.CreateCheckoutSessionResponse.
874
+ * Use `create(CreateCheckoutSessionResponseSchema)` to create a new message.
875
+ */
876
+ export declare const CreateCheckoutSessionResponseSchema: GenMessage<CreateCheckoutSessionResponse>;
877
+
878
+ /**
879
+ * @generated from message billing.v1.CreateBillingPortalSessionRequest
880
+ */
881
+ export declare type CreateBillingPortalSessionRequest = Message<"billing.v1.CreateBillingPortalSessionRequest"> & {
882
+ /**
883
+ * @generated from field: string return_url = 1;
884
+ */
885
+ returnUrl: string;
886
+ };
887
+
888
+ /**
889
+ * Describes the message billing.v1.CreateBillingPortalSessionRequest.
890
+ * Use `create(CreateBillingPortalSessionRequestSchema)` to create a new message.
891
+ */
892
+ export declare const CreateBillingPortalSessionRequestSchema: GenMessage<CreateBillingPortalSessionRequest>;
893
+
894
+ /**
895
+ * @generated from message billing.v1.CreateBillingPortalSessionResponse
896
+ */
897
+ export declare type CreateBillingPortalSessionResponse = Message<"billing.v1.CreateBillingPortalSessionResponse"> & {
898
+ /**
899
+ * @generated from field: string session_url = 1;
900
+ */
901
+ sessionUrl: string;
902
+ };
903
+
904
+ /**
905
+ * Describes the message billing.v1.CreateBillingPortalSessionResponse.
906
+ * Use `create(CreateBillingPortalSessionResponseSchema)` to create a new message.
907
+ */
908
+ export declare const CreateBillingPortalSessionResponseSchema: GenMessage<CreateBillingPortalSessionResponse>;
909
+
910
+ /**
911
+ * @generated from message billing.v1.CancelSubscriptionRequest
912
+ */
913
+ export declare type CancelSubscriptionRequest = Message<"billing.v1.CancelSubscriptionRequest"> & {
914
+ /**
915
+ * @generated from field: optional bool immediate = 1;
916
+ */
917
+ immediate?: boolean;
918
+ };
919
+
920
+ /**
921
+ * Describes the message billing.v1.CancelSubscriptionRequest.
922
+ * Use `create(CancelSubscriptionRequestSchema)` to create a new message.
923
+ */
924
+ export declare const CancelSubscriptionRequestSchema: GenMessage<CancelSubscriptionRequest>;
925
+
926
+ /**
927
+ * @generated from message billing.v1.CancelSubscriptionResponse
928
+ */
929
+ export declare type CancelSubscriptionResponse = Message<"billing.v1.CancelSubscriptionResponse"> & {
930
+ /**
931
+ * @generated from field: billing.v1.Subscription subscription = 1;
932
+ */
933
+ subscription?: Subscription;
934
+ };
935
+
936
+ /**
937
+ * Describes the message billing.v1.CancelSubscriptionResponse.
938
+ * Use `create(CancelSubscriptionResponseSchema)` to create a new message.
939
+ */
940
+ export declare const CancelSubscriptionResponseSchema: GenMessage<CancelSubscriptionResponse>;
941
+
942
+ /**
943
+ * @generated from message billing.v1.ReactivateSubscriptionRequest
944
+ */
945
+ export declare type ReactivateSubscriptionRequest = Message<"billing.v1.ReactivateSubscriptionRequest"> & {
946
+ };
947
+
948
+ /**
949
+ * Describes the message billing.v1.ReactivateSubscriptionRequest.
950
+ * Use `create(ReactivateSubscriptionRequestSchema)` to create a new message.
951
+ */
952
+ export declare const ReactivateSubscriptionRequestSchema: GenMessage<ReactivateSubscriptionRequest>;
953
+
954
+ /**
955
+ * @generated from message billing.v1.ReactivateSubscriptionResponse
956
+ */
957
+ export declare type ReactivateSubscriptionResponse = Message<"billing.v1.ReactivateSubscriptionResponse"> & {
958
+ /**
959
+ * @generated from field: billing.v1.Subscription subscription = 1;
960
+ */
961
+ subscription?: Subscription;
962
+ };
963
+
964
+ /**
965
+ * Describes the message billing.v1.ReactivateSubscriptionResponse.
966
+ * Use `create(ReactivateSubscriptionResponseSchema)` to create a new message.
967
+ */
968
+ export declare const ReactivateSubscriptionResponseSchema: GenMessage<ReactivateSubscriptionResponse>;
969
+
970
+ /**
971
+ * @generated from message billing.v1.GetUsageSummaryRequest
972
+ */
973
+ export declare type GetUsageSummaryRequest = Message<"billing.v1.GetUsageSummaryRequest"> & {
974
+ /**
975
+ * @generated from field: optional string project_id = 1;
976
+ */
977
+ projectId?: string;
978
+
979
+ /**
980
+ * @generated from field: optional string tenant_id = 2;
981
+ */
982
+ tenantId?: string;
983
+ };
984
+
985
+ /**
986
+ * Describes the message billing.v1.GetUsageSummaryRequest.
987
+ * Use `create(GetUsageSummaryRequestSchema)` to create a new message.
988
+ */
989
+ export declare const GetUsageSummaryRequestSchema: GenMessage<GetUsageSummaryRequest>;
990
+
991
+ /**
992
+ * @generated from message billing.v1.GetUsageSummaryResponse
993
+ */
994
+ export declare type GetUsageSummaryResponse = Message<"billing.v1.GetUsageSummaryResponse"> & {
995
+ /**
996
+ * @generated from field: billing.v1.UsageSummary usage = 1;
997
+ */
998
+ usage?: UsageSummary;
999
+ };
1000
+
1001
+ /**
1002
+ * Describes the message billing.v1.GetUsageSummaryResponse.
1003
+ * Use `create(GetUsageSummaryResponseSchema)` to create a new message.
1004
+ */
1005
+ export declare const GetUsageSummaryResponseSchema: GenMessage<GetUsageSummaryResponse>;
1006
+
1007
+ /**
1008
+ * @generated from message billing.v1.CreateCustomPackageInput
1009
+ */
1010
+ export declare type CreateCustomPackageInput = Message<"billing.v1.CreateCustomPackageInput"> & {
1011
+ /**
1012
+ * @generated from field: string name = 1;
1013
+ */
1014
+ name: string;
1015
+
1016
+ /**
1017
+ * @generated from field: optional string description = 2;
1018
+ */
1019
+ description?: string;
1020
+
1021
+ /**
1022
+ * @generated from field: optional int32 base_price_cents = 3;
1023
+ */
1024
+ basePriceCents?: number;
1025
+
1026
+ /**
1027
+ * @generated from field: optional billing.v1.BillingInterval billing_interval = 4;
1028
+ */
1029
+ billingInterval?: BillingInterval;
1030
+
1031
+ /**
1032
+ * @generated from field: optional string currency = 5;
1033
+ */
1034
+ currency?: string;
1035
+
1036
+ /**
1037
+ * @generated from field: optional string base_plan_slug = 6;
1038
+ */
1039
+ basePlanSlug?: string;
1040
+
1041
+ /**
1042
+ * @generated from field: optional string tenant_id = 7;
1043
+ */
1044
+ tenantId?: string;
1045
+
1046
+ /**
1047
+ * @generated from field: optional string project_id = 8;
1048
+ */
1049
+ projectId?: string;
1050
+
1051
+ /**
1052
+ * @generated from field: repeated billing.v1.CreateCustomPackageLimitInput limits = 9;
1053
+ */
1054
+ limits: CreateCustomPackageLimitInput[];
1055
+ };
1056
+
1057
+ /**
1058
+ * Describes the message billing.v1.CreateCustomPackageInput.
1059
+ * Use `create(CreateCustomPackageInputSchema)` to create a new message.
1060
+ */
1061
+ export declare const CreateCustomPackageInputSchema: GenMessage<CreateCustomPackageInput>;
1062
+
1063
+ /**
1064
+ * @generated from message billing.v1.CreateCustomPackageLimitInput
1065
+ */
1066
+ export declare type CreateCustomPackageLimitInput = Message<"billing.v1.CreateCustomPackageLimitInput"> & {
1067
+ /**
1068
+ * @generated from field: string metric = 1;
1069
+ */
1070
+ metric: string;
1071
+
1072
+ /**
1073
+ * @generated from field: optional int64 included_quantity = 2;
1074
+ */
1075
+ includedQuantity?: bigint;
1076
+
1077
+ /**
1078
+ * @generated from field: optional int64 max_quantity = 3;
1079
+ */
1080
+ maxQuantity?: bigint;
1081
+
1082
+ /**
1083
+ * @generated from field: optional int32 overage_price_cents = 4;
1084
+ */
1085
+ overagePriceCents?: number;
1086
+ };
1087
+
1088
+ /**
1089
+ * Describes the message billing.v1.CreateCustomPackageLimitInput.
1090
+ * Use `create(CreateCustomPackageLimitInputSchema)` to create a new message.
1091
+ */
1092
+ export declare const CreateCustomPackageLimitInputSchema: GenMessage<CreateCustomPackageLimitInput>;
1093
+
1094
+ /**
1095
+ * @generated from message billing.v1.CreateCustomPackageRequest
1096
+ */
1097
+ export declare type CreateCustomPackageRequest = Message<"billing.v1.CreateCustomPackageRequest"> & {
1098
+ /**
1099
+ * @generated from field: billing.v1.CreateCustomPackageInput input = 1;
1100
+ */
1101
+ input?: CreateCustomPackageInput;
1102
+ };
1103
+
1104
+ /**
1105
+ * Describes the message billing.v1.CreateCustomPackageRequest.
1106
+ * Use `create(CreateCustomPackageRequestSchema)` to create a new message.
1107
+ */
1108
+ export declare const CreateCustomPackageRequestSchema: GenMessage<CreateCustomPackageRequest>;
1109
+
1110
+ /**
1111
+ * @generated from message billing.v1.CreateCustomPackageResponse
1112
+ */
1113
+ export declare type CreateCustomPackageResponse = Message<"billing.v1.CreateCustomPackageResponse"> & {
1114
+ /**
1115
+ * @generated from field: billing.v1.CustomPackage package = 1;
1116
+ */
1117
+ package?: CustomPackage;
1118
+ };
1119
+
1120
+ /**
1121
+ * Describes the message billing.v1.CreateCustomPackageResponse.
1122
+ * Use `create(CreateCustomPackageResponseSchema)` to create a new message.
1123
+ */
1124
+ export declare const CreateCustomPackageResponseSchema: GenMessage<CreateCustomPackageResponse>;
1125
+
1126
+ /**
1127
+ * @generated from message billing.v1.UpdateCustomPackageInput
1128
+ */
1129
+ export declare type UpdateCustomPackageInput = Message<"billing.v1.UpdateCustomPackageInput"> & {
1130
+ /**
1131
+ * @generated from field: optional string name = 1;
1132
+ */
1133
+ name?: string;
1134
+
1135
+ /**
1136
+ * @generated from field: optional string description = 2;
1137
+ */
1138
+ description?: string;
1139
+
1140
+ /**
1141
+ * @generated from field: optional int32 base_price_cents = 3;
1142
+ */
1143
+ basePriceCents?: number;
1144
+
1145
+ /**
1146
+ * @generated from field: optional billing.v1.BillingInterval billing_interval = 4;
1147
+ */
1148
+ billingInterval?: BillingInterval;
1149
+
1150
+ /**
1151
+ * @generated from field: optional string currency = 5;
1152
+ */
1153
+ currency?: string;
1154
+
1155
+ /**
1156
+ * @generated from field: optional string base_plan_slug = 6;
1157
+ */
1158
+ basePlanSlug?: string;
1159
+
1160
+ /**
1161
+ * @generated from field: optional bool is_active = 7;
1162
+ */
1163
+ isActive?: boolean;
1164
+
1165
+ /**
1166
+ * @generated from field: repeated billing.v1.CreateCustomPackageLimitInput limits = 8;
1167
+ */
1168
+ limits: CreateCustomPackageLimitInput[];
1169
+ };
1170
+
1171
+ /**
1172
+ * Describes the message billing.v1.UpdateCustomPackageInput.
1173
+ * Use `create(UpdateCustomPackageInputSchema)` to create a new message.
1174
+ */
1175
+ export declare const UpdateCustomPackageInputSchema: GenMessage<UpdateCustomPackageInput>;
1176
+
1177
+ /**
1178
+ * @generated from message billing.v1.UpdateCustomPackageRequest
1179
+ */
1180
+ export declare type UpdateCustomPackageRequest = Message<"billing.v1.UpdateCustomPackageRequest"> & {
1181
+ /**
1182
+ * @generated from field: string id = 1;
1183
+ */
1184
+ id: string;
1185
+
1186
+ /**
1187
+ * @generated from field: billing.v1.UpdateCustomPackageInput input = 2;
1188
+ */
1189
+ input?: UpdateCustomPackageInput;
1190
+ };
1191
+
1192
+ /**
1193
+ * Describes the message billing.v1.UpdateCustomPackageRequest.
1194
+ * Use `create(UpdateCustomPackageRequestSchema)` to create a new message.
1195
+ */
1196
+ export declare const UpdateCustomPackageRequestSchema: GenMessage<UpdateCustomPackageRequest>;
1197
+
1198
+ /**
1199
+ * @generated from message billing.v1.UpdateCustomPackageResponse
1200
+ */
1201
+ export declare type UpdateCustomPackageResponse = Message<"billing.v1.UpdateCustomPackageResponse"> & {
1202
+ /**
1203
+ * @generated from field: billing.v1.CustomPackage package = 1;
1204
+ */
1205
+ package?: CustomPackage;
1206
+ };
1207
+
1208
+ /**
1209
+ * Describes the message billing.v1.UpdateCustomPackageResponse.
1210
+ * Use `create(UpdateCustomPackageResponseSchema)` to create a new message.
1211
+ */
1212
+ export declare const UpdateCustomPackageResponseSchema: GenMessage<UpdateCustomPackageResponse>;
1213
+
1214
+ /**
1215
+ * @generated from message billing.v1.DeleteCustomPackageRequest
1216
+ */
1217
+ export declare type DeleteCustomPackageRequest = Message<"billing.v1.DeleteCustomPackageRequest"> & {
1218
+ /**
1219
+ * @generated from field: string id = 1;
1220
+ */
1221
+ id: string;
1222
+ };
1223
+
1224
+ /**
1225
+ * Describes the message billing.v1.DeleteCustomPackageRequest.
1226
+ * Use `create(DeleteCustomPackageRequestSchema)` to create a new message.
1227
+ */
1228
+ export declare const DeleteCustomPackageRequestSchema: GenMessage<DeleteCustomPackageRequest>;
1229
+
1230
+ /**
1231
+ * @generated from message billing.v1.DeleteCustomPackageResponse
1232
+ */
1233
+ export declare type DeleteCustomPackageResponse = Message<"billing.v1.DeleteCustomPackageResponse"> & {
1234
+ /**
1235
+ * @generated from field: bool success = 1;
1236
+ */
1237
+ success: boolean;
1238
+ };
1239
+
1240
+ /**
1241
+ * Describes the message billing.v1.DeleteCustomPackageResponse.
1242
+ * Use `create(DeleteCustomPackageResponseSchema)` to create a new message.
1243
+ */
1244
+ export declare const DeleteCustomPackageResponseSchema: GenMessage<DeleteCustomPackageResponse>;
1245
+
1246
+ /**
1247
+ * @generated from message billing.v1.ListCustomPackagesRequest
1248
+ */
1249
+ export declare type ListCustomPackagesRequest = Message<"billing.v1.ListCustomPackagesRequest"> & {
1250
+ /**
1251
+ * @generated from field: optional string tenant_id = 1;
1252
+ */
1253
+ tenantId?: string;
1254
+ };
1255
+
1256
+ /**
1257
+ * Describes the message billing.v1.ListCustomPackagesRequest.
1258
+ * Use `create(ListCustomPackagesRequestSchema)` to create a new message.
1259
+ */
1260
+ export declare const ListCustomPackagesRequestSchema: GenMessage<ListCustomPackagesRequest>;
1261
+
1262
+ /**
1263
+ * @generated from message billing.v1.ListCustomPackagesResponse
1264
+ */
1265
+ export declare type ListCustomPackagesResponse = Message<"billing.v1.ListCustomPackagesResponse"> & {
1266
+ /**
1267
+ * @generated from field: repeated billing.v1.CustomPackage packages = 1;
1268
+ */
1269
+ packages: CustomPackage[];
1270
+ };
1271
+
1272
+ /**
1273
+ * Describes the message billing.v1.ListCustomPackagesResponse.
1274
+ * Use `create(ListCustomPackagesResponseSchema)` to create a new message.
1275
+ */
1276
+ export declare const ListCustomPackagesResponseSchema: GenMessage<ListCustomPackagesResponse>;
1277
+
1278
+ /**
1279
+ * @generated from message billing.v1.AssignPlanRequest
1280
+ */
1281
+ export declare type AssignPlanRequest = Message<"billing.v1.AssignPlanRequest"> & {
1282
+ /**
1283
+ * @generated from field: string tenant_id = 1;
1284
+ */
1285
+ tenantId: string;
1286
+
1287
+ /**
1288
+ * Deprecated: use plan_id instead.
1289
+ *
1290
+ * @generated from field: string plan_slug = 2;
1291
+ */
1292
+ planSlug: string;
1293
+
1294
+ /**
1295
+ * @generated from field: string plan_id = 3;
1296
+ */
1297
+ planId: string;
1298
+ };
1299
+
1300
+ /**
1301
+ * Describes the message billing.v1.AssignPlanRequest.
1302
+ * Use `create(AssignPlanRequestSchema)` to create a new message.
1303
+ */
1304
+ export declare const AssignPlanRequestSchema: GenMessage<AssignPlanRequest>;
1305
+
1306
+ /**
1307
+ * @generated from message billing.v1.AssignPlanResponse
1308
+ */
1309
+ export declare type AssignPlanResponse = Message<"billing.v1.AssignPlanResponse"> & {
1310
+ /**
1311
+ * @generated from field: billing.v1.Subscription subscription = 1;
1312
+ */
1313
+ subscription?: Subscription;
1314
+ };
1315
+
1316
+ /**
1317
+ * Describes the message billing.v1.AssignPlanResponse.
1318
+ * Use `create(AssignPlanResponseSchema)` to create a new message.
1319
+ */
1320
+ export declare const AssignPlanResponseSchema: GenMessage<AssignPlanResponse>;
1321
+
1322
+ /**
1323
+ * @generated from message billing.v1.AssignCustomPackageRequest
1324
+ */
1325
+ export declare type AssignCustomPackageRequest = Message<"billing.v1.AssignCustomPackageRequest"> & {
1326
+ /**
1327
+ * @generated from field: string tenant_id = 1;
1328
+ */
1329
+ tenantId: string;
1330
+
1331
+ /**
1332
+ * @generated from field: string package_id = 2;
1333
+ */
1334
+ packageId: string;
1335
+ };
1336
+
1337
+ /**
1338
+ * Describes the message billing.v1.AssignCustomPackageRequest.
1339
+ * Use `create(AssignCustomPackageRequestSchema)` to create a new message.
1340
+ */
1341
+ export declare const AssignCustomPackageRequestSchema: GenMessage<AssignCustomPackageRequest>;
1342
+
1343
+ /**
1344
+ * @generated from message billing.v1.AssignCustomPackageResponse
1345
+ */
1346
+ export declare type AssignCustomPackageResponse = Message<"billing.v1.AssignCustomPackageResponse"> & {
1347
+ /**
1348
+ * @generated from field: billing.v1.Subscription subscription = 1;
1349
+ */
1350
+ subscription?: Subscription;
1351
+ };
1352
+
1353
+ /**
1354
+ * Describes the message billing.v1.AssignCustomPackageResponse.
1355
+ * Use `create(AssignCustomPackageResponseSchema)` to create a new message.
1356
+ */
1357
+ export declare const AssignCustomPackageResponseSchema: GenMessage<AssignCustomPackageResponse>;
1358
+
1359
+ /**
1360
+ * @generated from message billing.v1.ListUsageAlertsRequest
1361
+ */
1362
+ export declare type ListUsageAlertsRequest = Message<"billing.v1.ListUsageAlertsRequest"> & {
1363
+ };
1364
+
1365
+ /**
1366
+ * Describes the message billing.v1.ListUsageAlertsRequest.
1367
+ * Use `create(ListUsageAlertsRequestSchema)` to create a new message.
1368
+ */
1369
+ export declare const ListUsageAlertsRequestSchema: GenMessage<ListUsageAlertsRequest>;
1370
+
1371
+ /**
1372
+ * @generated from message billing.v1.ListUsageAlertsResponse
1373
+ */
1374
+ export declare type ListUsageAlertsResponse = Message<"billing.v1.ListUsageAlertsResponse"> & {
1375
+ /**
1376
+ * @generated from field: repeated billing.v1.UsageAlert alerts = 1;
1377
+ */
1378
+ alerts: UsageAlert[];
1379
+ };
1380
+
1381
+ /**
1382
+ * Describes the message billing.v1.ListUsageAlertsResponse.
1383
+ * Use `create(ListUsageAlertsResponseSchema)` to create a new message.
1384
+ */
1385
+ export declare const ListUsageAlertsResponseSchema: GenMessage<ListUsageAlertsResponse>;
1386
+
1387
+ /**
1388
+ * @generated from message billing.v1.DismissUsageAlertRequest
1389
+ */
1390
+ export declare type DismissUsageAlertRequest = Message<"billing.v1.DismissUsageAlertRequest"> & {
1391
+ /**
1392
+ * @generated from field: string id = 1;
1393
+ */
1394
+ id: string;
1395
+ };
1396
+
1397
+ /**
1398
+ * Describes the message billing.v1.DismissUsageAlertRequest.
1399
+ * Use `create(DismissUsageAlertRequestSchema)` to create a new message.
1400
+ */
1401
+ export declare const DismissUsageAlertRequestSchema: GenMessage<DismissUsageAlertRequest>;
1402
+
1403
+ /**
1404
+ * @generated from message billing.v1.DismissUsageAlertResponse
1405
+ */
1406
+ export declare type DismissUsageAlertResponse = Message<"billing.v1.DismissUsageAlertResponse"> & {
1407
+ /**
1408
+ * @generated from field: bool success = 1;
1409
+ */
1410
+ success: boolean;
1411
+ };
1412
+
1413
+ /**
1414
+ * Describes the message billing.v1.DismissUsageAlertResponse.
1415
+ * Use `create(DismissUsageAlertResponseSchema)` to create a new message.
1416
+ */
1417
+ export declare const DismissUsageAlertResponseSchema: GenMessage<DismissUsageAlertResponse>;
1418
+
1419
+ /**
1420
+ * @generated from message billing.v1.SelfServiceSignupRequest
1421
+ */
1422
+ export declare type SelfServiceSignupRequest = Message<"billing.v1.SelfServiceSignupRequest"> & {
1423
+ /**
1424
+ * @generated from field: string email = 1;
1425
+ */
1426
+ email: string;
1427
+
1428
+ /**
1429
+ * @generated from field: string password = 2;
1430
+ */
1431
+ password: string;
1432
+
1433
+ /**
1434
+ * @generated from field: string tenant_name = 3;
1435
+ */
1436
+ tenantName: string;
1437
+
1438
+ /**
1439
+ * @generated from field: optional string plan_slug = 4;
1440
+ */
1441
+ planSlug?: string;
1442
+
1443
+ /**
1444
+ * @generated from field: optional string first_name = 5;
1445
+ */
1446
+ firstName?: string;
1447
+
1448
+ /**
1449
+ * @generated from field: optional string last_name = 6;
1450
+ */
1451
+ lastName?: string;
1452
+
1453
+ /**
1454
+ * @generated from field: optional string project_name = 7;
1455
+ */
1456
+ projectName?: string;
1457
+
1458
+ /**
1459
+ * @generated from field: optional bool create_session = 8;
1460
+ */
1461
+ createSession?: boolean;
1462
+ };
1463
+
1464
+ /**
1465
+ * Describes the message billing.v1.SelfServiceSignupRequest.
1466
+ * Use `create(SelfServiceSignupRequestSchema)` to create a new message.
1467
+ */
1468
+ export declare const SelfServiceSignupRequestSchema: GenMessage<SelfServiceSignupRequest>;
1469
+
1470
+ /**
1471
+ * @generated from message billing.v1.SignupUser
1472
+ */
1473
+ export declare type SignupUser = Message<"billing.v1.SignupUser"> & {
1474
+ /**
1475
+ * @generated from field: string id = 1;
1476
+ */
1477
+ id: string;
1478
+
1479
+ /**
1480
+ * @generated from field: string email = 2;
1481
+ */
1482
+ email: string;
1483
+
1484
+ /**
1485
+ * @generated from field: optional string first_name = 3;
1486
+ */
1487
+ firstName?: string;
1488
+
1489
+ /**
1490
+ * @generated from field: optional string last_name = 4;
1491
+ */
1492
+ lastName?: string;
1493
+ };
1494
+
1495
+ /**
1496
+ * Describes the message billing.v1.SignupUser.
1497
+ * Use `create(SignupUserSchema)` to create a new message.
1498
+ */
1499
+ export declare const SignupUserSchema: GenMessage<SignupUser>;
1500
+
1501
+ /**
1502
+ * @generated from message billing.v1.SignupTenant
1503
+ */
1504
+ export declare type SignupTenant = Message<"billing.v1.SignupTenant"> & {
1505
+ /**
1506
+ * @generated from field: string id = 1;
1507
+ */
1508
+ id: string;
1509
+
1510
+ /**
1511
+ * @generated from field: string name = 2;
1512
+ */
1513
+ name: string;
1514
+ };
1515
+
1516
+ /**
1517
+ * Describes the message billing.v1.SignupTenant.
1518
+ * Use `create(SignupTenantSchema)` to create a new message.
1519
+ */
1520
+ export declare const SignupTenantSchema: GenMessage<SignupTenant>;
1521
+
1522
+ /**
1523
+ * @generated from message billing.v1.SignupProject
1524
+ */
1525
+ export declare type SignupProject = Message<"billing.v1.SignupProject"> & {
1526
+ /**
1527
+ * @generated from field: string id = 1;
1528
+ */
1529
+ id: string;
1530
+
1531
+ /**
1532
+ * @generated from field: string name = 2;
1533
+ */
1534
+ name: string;
1535
+ };
1536
+
1537
+ /**
1538
+ * Describes the message billing.v1.SignupProject.
1539
+ * Use `create(SignupProjectSchema)` to create a new message.
1540
+ */
1541
+ export declare const SignupProjectSchema: GenMessage<SignupProject>;
1542
+
1543
+ /**
1544
+ * @generated from message billing.v1.SelfServiceSignupResponse
1545
+ */
1546
+ export declare type SelfServiceSignupResponse = Message<"billing.v1.SelfServiceSignupResponse"> & {
1547
+ /**
1548
+ * @generated from field: billing.v1.SignupUser user = 1;
1549
+ */
1550
+ user?: SignupUser;
1551
+
1552
+ /**
1553
+ * @generated from field: billing.v1.SignupTenant tenant = 2;
1554
+ */
1555
+ tenant?: SignupTenant;
1556
+
1557
+ /**
1558
+ * @generated from field: billing.v1.SignupProject project = 3;
1559
+ */
1560
+ project?: SignupProject;
1561
+
1562
+ /**
1563
+ * @generated from field: billing.v1.Subscription subscription = 4;
1564
+ */
1565
+ subscription?: Subscription;
1566
+ };
1567
+
1568
+ /**
1569
+ * Describes the message billing.v1.SelfServiceSignupResponse.
1570
+ * Use `create(SelfServiceSignupResponseSchema)` to create a new message.
1571
+ */
1572
+ export declare const SelfServiceSignupResponseSchema: GenMessage<SelfServiceSignupResponse>;
1573
+
1574
+ /**
1575
+ * @generated from message billing.v1.GetBillingCustomPackageRequest
1576
+ */
1577
+ export declare type GetBillingCustomPackageRequest = Message<"billing.v1.GetBillingCustomPackageRequest"> & {
1578
+ /**
1579
+ * @generated from field: string id = 1;
1580
+ */
1581
+ id: string;
1582
+ };
1583
+
1584
+ /**
1585
+ * Describes the message billing.v1.GetBillingCustomPackageRequest.
1586
+ * Use `create(GetBillingCustomPackageRequestSchema)` to create a new message.
1587
+ */
1588
+ export declare const GetBillingCustomPackageRequestSchema: GenMessage<GetBillingCustomPackageRequest>;
1589
+
1590
+ /**
1591
+ * @generated from message billing.v1.GetBillingCustomPackageResponse
1592
+ */
1593
+ export declare type GetBillingCustomPackageResponse = Message<"billing.v1.GetBillingCustomPackageResponse"> & {
1594
+ /**
1595
+ * @generated from field: billing.v1.CustomPackage package = 1;
1596
+ */
1597
+ package?: CustomPackage;
1598
+ };
1599
+
1600
+ /**
1601
+ * Describes the message billing.v1.GetBillingCustomPackageResponse.
1602
+ * Use `create(GetBillingCustomPackageResponseSchema)` to create a new message.
1603
+ */
1604
+ export declare const GetBillingCustomPackageResponseSchema: GenMessage<GetBillingCustomPackageResponse>;
1605
+
1606
+ /**
1607
+ * @generated from message billing.v1.TenantBillingStatusItem
1608
+ */
1609
+ export declare type TenantBillingStatusItem = Message<"billing.v1.TenantBillingStatusItem"> & {
1610
+ /**
1611
+ * @generated from field: string tenant_id = 1;
1612
+ */
1613
+ tenantId: string;
1614
+
1615
+ /**
1616
+ * @generated from field: string plan_name = 2;
1617
+ */
1618
+ planName: string;
1619
+
1620
+ /**
1621
+ * @generated from field: string status = 3;
1622
+ */
1623
+ status: string;
1624
+
1625
+ /**
1626
+ * @generated from field: int32 monthly_amount = 4;
1627
+ */
1628
+ monthlyAmount: number;
1629
+
1630
+ /**
1631
+ * @generated from field: int32 usage_percent = 5;
1632
+ */
1633
+ usagePercent: number;
1634
+ };
1635
+
1636
+ /**
1637
+ * Describes the message billing.v1.TenantBillingStatusItem.
1638
+ * Use `create(TenantBillingStatusItemSchema)` to create a new message.
1639
+ */
1640
+ export declare const TenantBillingStatusItemSchema: GenMessage<TenantBillingStatusItem>;
1641
+
1642
+ /**
1643
+ * @generated from message billing.v1.GetTenantBillingStatusRequest
1644
+ */
1645
+ export declare type GetTenantBillingStatusRequest = Message<"billing.v1.GetTenantBillingStatusRequest"> & {
1646
+ /**
1647
+ * @generated from field: int32 limit = 1;
1648
+ */
1649
+ limit: number;
1650
+
1651
+ /**
1652
+ * @generated from field: int32 offset = 2;
1653
+ */
1654
+ offset: number;
1655
+ };
1656
+
1657
+ /**
1658
+ * Describes the message billing.v1.GetTenantBillingStatusRequest.
1659
+ * Use `create(GetTenantBillingStatusRequestSchema)` to create a new message.
1660
+ */
1661
+ export declare const GetTenantBillingStatusRequestSchema: GenMessage<GetTenantBillingStatusRequest>;
1662
+
1663
+ /**
1664
+ * @generated from message billing.v1.GetTenantBillingStatusResponse
1665
+ */
1666
+ export declare type GetTenantBillingStatusResponse = Message<"billing.v1.GetTenantBillingStatusResponse"> & {
1667
+ /**
1668
+ * @generated from field: repeated billing.v1.TenantBillingStatusItem items = 1;
1669
+ */
1670
+ items: TenantBillingStatusItem[];
1671
+
1672
+ /**
1673
+ * @generated from field: int32 total = 2;
1674
+ */
1675
+ total: number;
1676
+ };
1677
+
1678
+ /**
1679
+ * Describes the message billing.v1.GetTenantBillingStatusResponse.
1680
+ * Use `create(GetTenantBillingStatusResponseSchema)` to create a new message.
1681
+ */
1682
+ export declare const GetTenantBillingStatusResponseSchema: GenMessage<GetTenantBillingStatusResponse>;
1683
+
1684
+ /**
1685
+ * @generated from message billing.v1.CreateBillingSubscriptionRequest
1686
+ */
1687
+ export declare type CreateBillingSubscriptionRequest = Message<"billing.v1.CreateBillingSubscriptionRequest"> & {
1688
+ /**
1689
+ * @generated from field: string plan_slug = 1;
1690
+ */
1691
+ planSlug: string;
1692
+ };
1693
+
1694
+ /**
1695
+ * Describes the message billing.v1.CreateBillingSubscriptionRequest.
1696
+ * Use `create(CreateBillingSubscriptionRequestSchema)` to create a new message.
1697
+ */
1698
+ export declare const CreateBillingSubscriptionRequestSchema: GenMessage<CreateBillingSubscriptionRequest>;
1699
+
1700
+ /**
1701
+ * @generated from message billing.v1.CreateBillingSubscriptionResponse
1702
+ */
1703
+ export declare type CreateBillingSubscriptionResponse = Message<"billing.v1.CreateBillingSubscriptionResponse"> & {
1704
+ /**
1705
+ * @generated from field: billing.v1.Subscription subscription = 1;
1706
+ */
1707
+ subscription?: Subscription;
1708
+ };
1709
+
1710
+ /**
1711
+ * Describes the message billing.v1.CreateBillingSubscriptionResponse.
1712
+ * Use `create(CreateBillingSubscriptionResponseSchema)` to create a new message.
1713
+ */
1714
+ export declare const CreateBillingSubscriptionResponseSchema: GenMessage<CreateBillingSubscriptionResponse>;
1715
+
1716
+ /**
1717
+ * @generated from message billing.v1.UpdateBillingSubscriptionRequest
1718
+ */
1719
+ export declare type UpdateBillingSubscriptionRequest = Message<"billing.v1.UpdateBillingSubscriptionRequest"> & {
1720
+ /**
1721
+ * @generated from field: string plan_slug = 1;
1722
+ */
1723
+ planSlug: string;
1724
+ };
1725
+
1726
+ /**
1727
+ * Describes the message billing.v1.UpdateBillingSubscriptionRequest.
1728
+ * Use `create(UpdateBillingSubscriptionRequestSchema)` to create a new message.
1729
+ */
1730
+ export declare const UpdateBillingSubscriptionRequestSchema: GenMessage<UpdateBillingSubscriptionRequest>;
1731
+
1732
+ /**
1733
+ * @generated from message billing.v1.UpdateBillingSubscriptionResponse
1734
+ */
1735
+ export declare type UpdateBillingSubscriptionResponse = Message<"billing.v1.UpdateBillingSubscriptionResponse"> & {
1736
+ /**
1737
+ * @generated from field: billing.v1.Subscription subscription = 1;
1738
+ */
1739
+ subscription?: Subscription;
1740
+ };
1741
+
1742
+ /**
1743
+ * Describes the message billing.v1.UpdateBillingSubscriptionResponse.
1744
+ * Use `create(UpdateBillingSubscriptionResponseSchema)` to create a new message.
1745
+ */
1746
+ export declare const UpdateBillingSubscriptionResponseSchema: GenMessage<UpdateBillingSubscriptionResponse>;
1747
+
1748
+ /**
1749
+ * @generated from message billing.v1.StripeProduct
1750
+ */
1751
+ export declare type StripeProduct = Message<"billing.v1.StripeProduct"> & {
1752
+ /**
1753
+ * @generated from field: string id = 1;
1754
+ */
1755
+ id: string;
1756
+
1757
+ /**
1758
+ * @generated from field: string name = 2;
1759
+ */
1760
+ name: string;
1761
+
1762
+ /**
1763
+ * @generated from field: optional string description = 3;
1764
+ */
1765
+ description?: string;
1766
+
1767
+ /**
1768
+ * @generated from field: bool active = 4;
1769
+ */
1770
+ active: boolean;
1771
+
1772
+ /**
1773
+ * @generated from field: repeated billing.v1.StripePrice prices = 5;
1774
+ */
1775
+ prices: StripePrice[];
1776
+ };
1777
+
1778
+ /**
1779
+ * Describes the message billing.v1.StripeProduct.
1780
+ * Use `create(StripeProductSchema)` to create a new message.
1781
+ */
1782
+ export declare const StripeProductSchema: GenMessage<StripeProduct>;
1783
+
1784
+ /**
1785
+ * @generated from message billing.v1.StripePrice
1786
+ */
1787
+ export declare type StripePrice = Message<"billing.v1.StripePrice"> & {
1788
+ /**
1789
+ * @generated from field: string id = 1;
1790
+ */
1791
+ id: string;
1792
+
1793
+ /**
1794
+ * @generated from field: int32 unit_amount = 2;
1795
+ */
1796
+ unitAmount: number;
1797
+
1798
+ /**
1799
+ * @generated from field: string currency = 3;
1800
+ */
1801
+ currency: string;
1802
+
1803
+ /**
1804
+ * @generated from field: optional string interval = 4;
1805
+ */
1806
+ interval?: string;
1807
+
1808
+ /**
1809
+ * @generated from field: bool active = 5;
1810
+ */
1811
+ active: boolean;
1812
+ };
1813
+
1814
+ /**
1815
+ * Describes the message billing.v1.StripePrice.
1816
+ * Use `create(StripePriceSchema)` to create a new message.
1817
+ */
1818
+ export declare const StripePriceSchema: GenMessage<StripePrice>;
1819
+
1820
+ /**
1821
+ * @generated from message billing.v1.ListStripeProductsRequest
1822
+ */
1823
+ export declare type ListStripeProductsRequest = Message<"billing.v1.ListStripeProductsRequest"> & {
1824
+ };
1825
+
1826
+ /**
1827
+ * Describes the message billing.v1.ListStripeProductsRequest.
1828
+ * Use `create(ListStripeProductsRequestSchema)` to create a new message.
1829
+ */
1830
+ export declare const ListStripeProductsRequestSchema: GenMessage<ListStripeProductsRequest>;
1831
+
1832
+ /**
1833
+ * @generated from message billing.v1.ListStripeProductsResponse
1834
+ */
1835
+ export declare type ListStripeProductsResponse = Message<"billing.v1.ListStripeProductsResponse"> & {
1836
+ /**
1837
+ * @generated from field: repeated billing.v1.StripeProduct products = 1;
1838
+ */
1839
+ products: StripeProduct[];
1840
+ };
1841
+
1842
+ /**
1843
+ * Describes the message billing.v1.ListStripeProductsResponse.
1844
+ * Use `create(ListStripeProductsResponseSchema)` to create a new message.
1845
+ */
1846
+ export declare const ListStripeProductsResponseSchema: GenMessage<ListStripeProductsResponse>;
1847
+
1848
+ /**
1849
+ * @generated from enum billing.v1.SubscriptionStatus
1850
+ */
1851
+ export enum SubscriptionStatus {
1852
+ /**
1853
+ * @generated from enum value: SUBSCRIPTION_STATUS_UNSPECIFIED = 0;
1854
+ */
1855
+ UNSPECIFIED = 0,
1856
+
1857
+ /**
1858
+ * @generated from enum value: SUBSCRIPTION_STATUS_ACTIVE = 1;
1859
+ */
1860
+ ACTIVE = 1,
1861
+
1862
+ /**
1863
+ * @generated from enum value: SUBSCRIPTION_STATUS_PAST_DUE = 2;
1864
+ */
1865
+ PAST_DUE = 2,
1866
+
1867
+ /**
1868
+ * @generated from enum value: SUBSCRIPTION_STATUS_CANCELED = 3;
1869
+ */
1870
+ CANCELED = 3,
1871
+
1872
+ /**
1873
+ * @generated from enum value: SUBSCRIPTION_STATUS_TRIALING = 4;
1874
+ */
1875
+ TRIALING = 4,
1876
+
1877
+ /**
1878
+ * @generated from enum value: SUBSCRIPTION_STATUS_INCOMPLETE = 5;
1879
+ */
1880
+ INCOMPLETE = 5,
1881
+ }
1882
+
1883
+ /**
1884
+ * Describes the enum billing.v1.SubscriptionStatus.
1885
+ */
1886
+ export declare const SubscriptionStatusSchema: GenEnum<SubscriptionStatus>;
1887
+
1888
+ /**
1889
+ * @generated from enum billing.v1.BillingInterval
1890
+ */
1891
+ export enum BillingInterval {
1892
+ /**
1893
+ * @generated from enum value: BILLING_INTERVAL_UNSPECIFIED = 0;
1894
+ */
1895
+ UNSPECIFIED = 0,
1896
+
1897
+ /**
1898
+ * @generated from enum value: BILLING_INTERVAL_MONTH = 1;
1899
+ */
1900
+ MONTH = 1,
1901
+
1902
+ /**
1903
+ * @generated from enum value: BILLING_INTERVAL_YEAR = 2;
1904
+ */
1905
+ YEAR = 2,
1906
+ }
1907
+
1908
+ /**
1909
+ * Describes the enum billing.v1.BillingInterval.
1910
+ */
1911
+ export declare const BillingIntervalSchema: GenEnum<BillingInterval>;
1912
+
1913
+ /**
1914
+ * @generated from service billing.v1.BillingService
1915
+ */
1916
+ export declare const BillingService: GenService<{
1917
+ /**
1918
+ * Plans.
1919
+ *
1920
+ * @generated from rpc billing.v1.BillingService.ListBillingPlans
1921
+ */
1922
+ listBillingPlans: {
1923
+ methodKind: "unary";
1924
+ input: typeof ListBillingPlansRequestSchema;
1925
+ output: typeof ListBillingPlansResponseSchema;
1926
+ },
1927
+ /**
1928
+ * @generated from rpc billing.v1.BillingService.GetBillingPlan
1929
+ */
1930
+ getBillingPlan: {
1931
+ methodKind: "unary";
1932
+ input: typeof GetBillingPlanRequestSchema;
1933
+ output: typeof GetBillingPlanResponseSchema;
1934
+ },
1935
+ /**
1936
+ * @generated from rpc billing.v1.BillingService.GetDefaultFreePlan
1937
+ */
1938
+ getDefaultFreePlan: {
1939
+ methodKind: "unary";
1940
+ input: typeof GetDefaultFreePlanRequestSchema;
1941
+ output: typeof GetDefaultFreePlanResponseSchema;
1942
+ },
1943
+ /**
1944
+ * @generated from rpc billing.v1.BillingService.CreateBillingPlan
1945
+ */
1946
+ createBillingPlan: {
1947
+ methodKind: "unary";
1948
+ input: typeof CreateBillingPlanRequestSchema;
1949
+ output: typeof CreateBillingPlanResponseSchema;
1950
+ },
1951
+ /**
1952
+ * @generated from rpc billing.v1.BillingService.UpdateBillingPlan
1953
+ */
1954
+ updateBillingPlan: {
1955
+ methodKind: "unary";
1956
+ input: typeof UpdateBillingPlanRequestSchema;
1957
+ output: typeof UpdateBillingPlanResponseSchema;
1958
+ },
1959
+ /**
1960
+ * @generated from rpc billing.v1.BillingService.DeleteBillingPlan
1961
+ */
1962
+ deleteBillingPlan: {
1963
+ methodKind: "unary";
1964
+ input: typeof DeleteBillingPlanRequestSchema;
1965
+ output: typeof DeleteBillingPlanResponseSchema;
1966
+ },
1967
+ /**
1968
+ * Subscriptions.
1969
+ *
1970
+ * @generated from rpc billing.v1.BillingService.GetSubscription
1971
+ */
1972
+ getSubscription: {
1973
+ methodKind: "unary";
1974
+ input: typeof GetSubscriptionRequestSchema;
1975
+ output: typeof GetSubscriptionResponseSchema;
1976
+ },
1977
+ /**
1978
+ * @generated from rpc billing.v1.BillingService.CreateCheckoutSession
1979
+ */
1980
+ createCheckoutSession: {
1981
+ methodKind: "unary";
1982
+ input: typeof CreateCheckoutSessionRequestSchema;
1983
+ output: typeof CreateCheckoutSessionResponseSchema;
1984
+ },
1985
+ /**
1986
+ * @generated from rpc billing.v1.BillingService.CreateBillingPortalSession
1987
+ */
1988
+ createBillingPortalSession: {
1989
+ methodKind: "unary";
1990
+ input: typeof CreateBillingPortalSessionRequestSchema;
1991
+ output: typeof CreateBillingPortalSessionResponseSchema;
1992
+ },
1993
+ /**
1994
+ * @generated from rpc billing.v1.BillingService.CancelSubscription
1995
+ */
1996
+ cancelSubscription: {
1997
+ methodKind: "unary";
1998
+ input: typeof CancelSubscriptionRequestSchema;
1999
+ output: typeof CancelSubscriptionResponseSchema;
2000
+ },
2001
+ /**
2002
+ * @generated from rpc billing.v1.BillingService.ReactivateSubscription
2003
+ */
2004
+ reactivateSubscription: {
2005
+ methodKind: "unary";
2006
+ input: typeof ReactivateSubscriptionRequestSchema;
2007
+ output: typeof ReactivateSubscriptionResponseSchema;
2008
+ },
2009
+ /**
2010
+ * Usage.
2011
+ *
2012
+ * @generated from rpc billing.v1.BillingService.GetUsageSummary
2013
+ */
2014
+ getUsageSummary: {
2015
+ methodKind: "unary";
2016
+ input: typeof GetUsageSummaryRequestSchema;
2017
+ output: typeof GetUsageSummaryResponseSchema;
2018
+ },
2019
+ /**
2020
+ * @generated from rpc billing.v1.BillingService.ListUsageAlerts
2021
+ */
2022
+ listUsageAlerts: {
2023
+ methodKind: "unary";
2024
+ input: typeof ListUsageAlertsRequestSchema;
2025
+ output: typeof ListUsageAlertsResponseSchema;
2026
+ },
2027
+ /**
2028
+ * @generated from rpc billing.v1.BillingService.DismissUsageAlert
2029
+ */
2030
+ dismissUsageAlert: {
2031
+ methodKind: "unary";
2032
+ input: typeof DismissUsageAlertRequestSchema;
2033
+ output: typeof DismissUsageAlertResponseSchema;
2034
+ },
2035
+ /**
2036
+ * Custom Packages.
2037
+ *
2038
+ * @generated from rpc billing.v1.BillingService.CreateCustomPackage
2039
+ */
2040
+ createCustomPackage: {
2041
+ methodKind: "unary";
2042
+ input: typeof CreateCustomPackageRequestSchema;
2043
+ output: typeof CreateCustomPackageResponseSchema;
2044
+ },
2045
+ /**
2046
+ * @generated from rpc billing.v1.BillingService.UpdateCustomPackage
2047
+ */
2048
+ updateCustomPackage: {
2049
+ methodKind: "unary";
2050
+ input: typeof UpdateCustomPackageRequestSchema;
2051
+ output: typeof UpdateCustomPackageResponseSchema;
2052
+ },
2053
+ /**
2054
+ * @generated from rpc billing.v1.BillingService.DeleteCustomPackage
2055
+ */
2056
+ deleteCustomPackage: {
2057
+ methodKind: "unary";
2058
+ input: typeof DeleteCustomPackageRequestSchema;
2059
+ output: typeof DeleteCustomPackageResponseSchema;
2060
+ },
2061
+ /**
2062
+ * @generated from rpc billing.v1.BillingService.ListCustomPackages
2063
+ */
2064
+ listCustomPackages: {
2065
+ methodKind: "unary";
2066
+ input: typeof ListCustomPackagesRequestSchema;
2067
+ output: typeof ListCustomPackagesResponseSchema;
2068
+ },
2069
+ /**
2070
+ * @generated from rpc billing.v1.BillingService.AssignCustomPackage
2071
+ */
2072
+ assignCustomPackage: {
2073
+ methodKind: "unary";
2074
+ input: typeof AssignCustomPackageRequestSchema;
2075
+ output: typeof AssignCustomPackageResponseSchema;
2076
+ },
2077
+ /**
2078
+ * @generated from rpc billing.v1.BillingService.AssignPlan
2079
+ */
2080
+ assignPlan: {
2081
+ methodKind: "unary";
2082
+ input: typeof AssignPlanRequestSchema;
2083
+ output: typeof AssignPlanResponseSchema;
2084
+ },
2085
+ /**
2086
+ * Subscriptions (direct).
2087
+ *
2088
+ * @generated from rpc billing.v1.BillingService.CreateBillingSubscription
2089
+ */
2090
+ createBillingSubscription: {
2091
+ methodKind: "unary";
2092
+ input: typeof CreateBillingSubscriptionRequestSchema;
2093
+ output: typeof CreateBillingSubscriptionResponseSchema;
2094
+ },
2095
+ /**
2096
+ * @generated from rpc billing.v1.BillingService.UpdateBillingSubscription
2097
+ */
2098
+ updateBillingSubscription: {
2099
+ methodKind: "unary";
2100
+ input: typeof UpdateBillingSubscriptionRequestSchema;
2101
+ output: typeof UpdateBillingSubscriptionResponseSchema;
2102
+ },
2103
+ /**
2104
+ * Custom Packages (get).
2105
+ *
2106
+ * @generated from rpc billing.v1.BillingService.GetBillingCustomPackage
2107
+ */
2108
+ getBillingCustomPackage: {
2109
+ methodKind: "unary";
2110
+ input: typeof GetBillingCustomPackageRequestSchema;
2111
+ output: typeof GetBillingCustomPackageResponseSchema;
2112
+ },
2113
+ /**
2114
+ * Tenant billing overview (platform admin).
2115
+ *
2116
+ * @generated from rpc billing.v1.BillingService.GetTenantBillingStatus
2117
+ */
2118
+ getTenantBillingStatus: {
2119
+ methodKind: "unary";
2120
+ input: typeof GetTenantBillingStatusRequestSchema;
2121
+ output: typeof GetTenantBillingStatusResponseSchema;
2122
+ },
2123
+ /**
2124
+ * Stripe integration (platform admin).
2125
+ *
2126
+ * @generated from rpc billing.v1.BillingService.ListStripeProducts
2127
+ */
2128
+ listStripeProducts: {
2129
+ methodKind: "unary";
2130
+ input: typeof ListStripeProductsRequestSchema;
2131
+ output: typeof ListStripeProductsResponseSchema;
2132
+ },
2133
+ /**
2134
+ * Signup.
2135
+ *
2136
+ * @generated from rpc billing.v1.BillingService.SelfServiceSignup
2137
+ */
2138
+ selfServiceSignup: {
2139
+ methodKind: "unary";
2140
+ input: typeof SelfServiceSignupRequestSchema;
2141
+ output: typeof SelfServiceSignupResponseSchema;
2142
+ },
2143
+ }>;
2144
+