@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.
- package/package.json +55 -0
- package/src/analytics/v1/analytics_connect.d.ts +116 -0
- package/src/analytics/v1/analytics_connect.js +116 -0
- package/src/analytics/v1/analytics_pb.d.ts +850 -0
- package/src/analytics/v1/analytics_pb.js +250 -0
- package/src/billing/v1/billing_connect.d.ts +269 -0
- package/src/billing/v1/billing_connect.js +269 -0
- package/src/billing/v1/billing_pb.d.ts +2144 -0
- package/src/billing/v1/billing_pb.js +519 -0
- package/src/configs/v1/configs_connect.d.ts +111 -0
- package/src/configs/v1/configs_connect.js +111 -0
- package/src/configs/v1/configs_pb.d.ts +832 -0
- package/src/configs/v1/configs_pb.js +192 -0
- package/src/experiments/v1/experiments_connect.d.ts +162 -0
- package/src/experiments/v1/experiments_connect.js +162 -0
- package/src/experiments/v1/experiments_pb.d.ts +1086 -0
- package/src/experiments/v1/experiments_pb.js +284 -0
- package/src/expressions/v1/expressions_pb.d.ts +139 -0
- package/src/expressions/v1/expressions_pb.js +27 -0
- package/src/hooks/v1/hooks_connect.d.ts +106 -0
- package/src/hooks/v1/hooks_connect.js +106 -0
- package/src/hooks/v1/hooks_pb.d.ts +689 -0
- package/src/hooks/v1/hooks_pb.js +159 -0
- package/src/identity/v1/identity_connect.d.ts +738 -0
- package/src/identity/v1/identity_connect.js +738 -0
- package/src/identity/v1/identity_pb.d.ts +4612 -0
- package/src/identity/v1/identity_pb.js +1277 -0
- package/src/models/v1/models_connect.d.ts +104 -0
- package/src/models/v1/models_connect.js +104 -0
- package/src/models/v1/models_pb.d.ts +908 -0
- package/src/models/v1/models_pb.js +187 -0
- package/src/notifications/v1/notifications_connect.d.ts +182 -0
- package/src/notifications/v1/notifications_connect.js +182 -0
- package/src/notifications/v1/notifications_pb.d.ts +1173 -0
- package/src/notifications/v1/notifications_pb.js +302 -0
- package/src/operations/v1/operations_connect.d.ts +222 -0
- package/src/operations/v1/operations_connect.js +222 -0
- package/src/operations/v1/operations_pb.d.ts +1502 -0
- package/src/operations/v1/operations_pb.js +355 -0
- package/src/queue/v1/queue_connect.d.ts +89 -0
- package/src/queue/v1/queue_connect.js +89 -0
- package/src/queue/v1/queue_pb.d.ts +519 -0
- package/src/queue/v1/queue_pb.js +152 -0
- package/src/records/v1/records_connect.d.ts +451 -0
- package/src/records/v1/records_connect.js +451 -0
- package/src/records/v1/records_pb.d.ts +3099 -0
- package/src/records/v1/records_pb.js +798 -0
- package/src/schedules/v1/schedules_connect.d.ts +98 -0
- package/src/schedules/v1/schedules_connect.js +98 -0
- package/src/schedules/v1/schedules_pb.d.ts +622 -0
- package/src/schedules/v1/schedules_pb.js +159 -0
- package/src/segments/v1/segments_connect.d.ts +135 -0
- package/src/segments/v1/segments_connect.js +135 -0
- package/src/segments/v1/segments_pb.d.ts +800 -0
- package/src/segments/v1/segments_pb.js +216 -0
- package/src/settings/v1/settings_connect.d.ts +614 -0
- package/src/settings/v1/settings_connect.js +614 -0
- package/src/settings/v1/settings_pb.d.ts +4396 -0
- package/src/settings/v1/settings_pb.js +1085 -0
- package/src/storage/v1/storage_connect.d.ts +144 -0
- package/src/storage/v1/storage_connect.js +144 -0
- package/src/storage/v1/storage_pb.d.ts +930 -0
- package/src/storage/v1/storage_pb.js +239 -0
- package/src/workers/v1/workers_connect.d.ts +42 -0
- package/src/workers/v1/workers_connect.js +42 -0
- package/src/workers/v1/workers_pb.d.ts +220 -0
- package/src/workers/v1/workers_pb.js +56 -0
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1 with parameter "import_extension=js"
|
|
2
|
+
// @generated from file billing/v1/billing.proto (package billing.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { AssignCustomPackageRequest, AssignCustomPackageResponse, AssignPlanRequest, AssignPlanResponse, CancelSubscriptionRequest, CancelSubscriptionResponse, CreateBillingPlanRequest, CreateBillingPlanResponse, CreateBillingPortalSessionRequest, CreateBillingPortalSessionResponse, CreateBillingSubscriptionRequest, CreateBillingSubscriptionResponse, CreateCheckoutSessionRequest, CreateCheckoutSessionResponse, CreateCustomPackageRequest, CreateCustomPackageResponse, DeleteBillingPlanRequest, DeleteBillingPlanResponse, DeleteCustomPackageRequest, DeleteCustomPackageResponse, DismissUsageAlertRequest, DismissUsageAlertResponse, GetBillingCustomPackageRequest, GetBillingCustomPackageResponse, GetBillingPlanRequest, GetBillingPlanResponse, GetDefaultFreePlanRequest, GetDefaultFreePlanResponse, GetSubscriptionRequest, GetSubscriptionResponse, GetTenantBillingStatusRequest, GetTenantBillingStatusResponse, GetUsageSummaryRequest, GetUsageSummaryResponse, ListBillingPlansRequest, ListBillingPlansResponse, ListCustomPackagesRequest, ListCustomPackagesResponse, ListStripeProductsRequest, ListStripeProductsResponse, ListUsageAlertsRequest, ListUsageAlertsResponse, ReactivateSubscriptionRequest, ReactivateSubscriptionResponse, SelfServiceSignupRequest, SelfServiceSignupResponse, UpdateBillingPlanRequest, UpdateBillingPlanResponse, UpdateBillingSubscriptionRequest, UpdateBillingSubscriptionResponse, UpdateCustomPackageRequest, UpdateCustomPackageResponse } from "./billing_pbjs";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service billing.v1.BillingService
|
|
11
|
+
*/
|
|
12
|
+
export const BillingService = {
|
|
13
|
+
typeName: "billing.v1.BillingService",
|
|
14
|
+
methods: {
|
|
15
|
+
/**
|
|
16
|
+
* Plans.
|
|
17
|
+
*
|
|
18
|
+
* @generated from rpc billing.v1.BillingService.ListBillingPlans
|
|
19
|
+
*/
|
|
20
|
+
listBillingPlans: {
|
|
21
|
+
name: "ListBillingPlans",
|
|
22
|
+
I: ListBillingPlansRequest,
|
|
23
|
+
O: ListBillingPlansResponse,
|
|
24
|
+
kind: MethodKind.Unary,
|
|
25
|
+
},
|
|
26
|
+
/**
|
|
27
|
+
* @generated from rpc billing.v1.BillingService.GetBillingPlan
|
|
28
|
+
*/
|
|
29
|
+
getBillingPlan: {
|
|
30
|
+
name: "GetBillingPlan",
|
|
31
|
+
I: GetBillingPlanRequest,
|
|
32
|
+
O: GetBillingPlanResponse,
|
|
33
|
+
kind: MethodKind.Unary,
|
|
34
|
+
},
|
|
35
|
+
/**
|
|
36
|
+
* @generated from rpc billing.v1.BillingService.GetDefaultFreePlan
|
|
37
|
+
*/
|
|
38
|
+
getDefaultFreePlan: {
|
|
39
|
+
name: "GetDefaultFreePlan",
|
|
40
|
+
I: GetDefaultFreePlanRequest,
|
|
41
|
+
O: GetDefaultFreePlanResponse,
|
|
42
|
+
kind: MethodKind.Unary,
|
|
43
|
+
},
|
|
44
|
+
/**
|
|
45
|
+
* @generated from rpc billing.v1.BillingService.CreateBillingPlan
|
|
46
|
+
*/
|
|
47
|
+
createBillingPlan: {
|
|
48
|
+
name: "CreateBillingPlan",
|
|
49
|
+
I: CreateBillingPlanRequest,
|
|
50
|
+
O: CreateBillingPlanResponse,
|
|
51
|
+
kind: MethodKind.Unary,
|
|
52
|
+
},
|
|
53
|
+
/**
|
|
54
|
+
* @generated from rpc billing.v1.BillingService.UpdateBillingPlan
|
|
55
|
+
*/
|
|
56
|
+
updateBillingPlan: {
|
|
57
|
+
name: "UpdateBillingPlan",
|
|
58
|
+
I: UpdateBillingPlanRequest,
|
|
59
|
+
O: UpdateBillingPlanResponse,
|
|
60
|
+
kind: MethodKind.Unary,
|
|
61
|
+
},
|
|
62
|
+
/**
|
|
63
|
+
* @generated from rpc billing.v1.BillingService.DeleteBillingPlan
|
|
64
|
+
*/
|
|
65
|
+
deleteBillingPlan: {
|
|
66
|
+
name: "DeleteBillingPlan",
|
|
67
|
+
I: DeleteBillingPlanRequest,
|
|
68
|
+
O: DeleteBillingPlanResponse,
|
|
69
|
+
kind: MethodKind.Unary,
|
|
70
|
+
},
|
|
71
|
+
/**
|
|
72
|
+
* Subscriptions.
|
|
73
|
+
*
|
|
74
|
+
* @generated from rpc billing.v1.BillingService.GetSubscription
|
|
75
|
+
*/
|
|
76
|
+
getSubscription: {
|
|
77
|
+
name: "GetSubscription",
|
|
78
|
+
I: GetSubscriptionRequest,
|
|
79
|
+
O: GetSubscriptionResponse,
|
|
80
|
+
kind: MethodKind.Unary,
|
|
81
|
+
},
|
|
82
|
+
/**
|
|
83
|
+
* @generated from rpc billing.v1.BillingService.CreateCheckoutSession
|
|
84
|
+
*/
|
|
85
|
+
createCheckoutSession: {
|
|
86
|
+
name: "CreateCheckoutSession",
|
|
87
|
+
I: CreateCheckoutSessionRequest,
|
|
88
|
+
O: CreateCheckoutSessionResponse,
|
|
89
|
+
kind: MethodKind.Unary,
|
|
90
|
+
},
|
|
91
|
+
/**
|
|
92
|
+
* @generated from rpc billing.v1.BillingService.CreateBillingPortalSession
|
|
93
|
+
*/
|
|
94
|
+
createBillingPortalSession: {
|
|
95
|
+
name: "CreateBillingPortalSession",
|
|
96
|
+
I: CreateBillingPortalSessionRequest,
|
|
97
|
+
O: CreateBillingPortalSessionResponse,
|
|
98
|
+
kind: MethodKind.Unary,
|
|
99
|
+
},
|
|
100
|
+
/**
|
|
101
|
+
* @generated from rpc billing.v1.BillingService.CancelSubscription
|
|
102
|
+
*/
|
|
103
|
+
cancelSubscription: {
|
|
104
|
+
name: "CancelSubscription",
|
|
105
|
+
I: CancelSubscriptionRequest,
|
|
106
|
+
O: CancelSubscriptionResponse,
|
|
107
|
+
kind: MethodKind.Unary,
|
|
108
|
+
},
|
|
109
|
+
/**
|
|
110
|
+
* @generated from rpc billing.v1.BillingService.ReactivateSubscription
|
|
111
|
+
*/
|
|
112
|
+
reactivateSubscription: {
|
|
113
|
+
name: "ReactivateSubscription",
|
|
114
|
+
I: ReactivateSubscriptionRequest,
|
|
115
|
+
O: ReactivateSubscriptionResponse,
|
|
116
|
+
kind: MethodKind.Unary,
|
|
117
|
+
},
|
|
118
|
+
/**
|
|
119
|
+
* Usage.
|
|
120
|
+
*
|
|
121
|
+
* @generated from rpc billing.v1.BillingService.GetUsageSummary
|
|
122
|
+
*/
|
|
123
|
+
getUsageSummary: {
|
|
124
|
+
name: "GetUsageSummary",
|
|
125
|
+
I: GetUsageSummaryRequest,
|
|
126
|
+
O: GetUsageSummaryResponse,
|
|
127
|
+
kind: MethodKind.Unary,
|
|
128
|
+
},
|
|
129
|
+
/**
|
|
130
|
+
* @generated from rpc billing.v1.BillingService.ListUsageAlerts
|
|
131
|
+
*/
|
|
132
|
+
listUsageAlerts: {
|
|
133
|
+
name: "ListUsageAlerts",
|
|
134
|
+
I: ListUsageAlertsRequest,
|
|
135
|
+
O: ListUsageAlertsResponse,
|
|
136
|
+
kind: MethodKind.Unary,
|
|
137
|
+
},
|
|
138
|
+
/**
|
|
139
|
+
* @generated from rpc billing.v1.BillingService.DismissUsageAlert
|
|
140
|
+
*/
|
|
141
|
+
dismissUsageAlert: {
|
|
142
|
+
name: "DismissUsageAlert",
|
|
143
|
+
I: DismissUsageAlertRequest,
|
|
144
|
+
O: DismissUsageAlertResponse,
|
|
145
|
+
kind: MethodKind.Unary,
|
|
146
|
+
},
|
|
147
|
+
/**
|
|
148
|
+
* Custom Packages.
|
|
149
|
+
*
|
|
150
|
+
* @generated from rpc billing.v1.BillingService.CreateCustomPackage
|
|
151
|
+
*/
|
|
152
|
+
createCustomPackage: {
|
|
153
|
+
name: "CreateCustomPackage",
|
|
154
|
+
I: CreateCustomPackageRequest,
|
|
155
|
+
O: CreateCustomPackageResponse,
|
|
156
|
+
kind: MethodKind.Unary,
|
|
157
|
+
},
|
|
158
|
+
/**
|
|
159
|
+
* @generated from rpc billing.v1.BillingService.UpdateCustomPackage
|
|
160
|
+
*/
|
|
161
|
+
updateCustomPackage: {
|
|
162
|
+
name: "UpdateCustomPackage",
|
|
163
|
+
I: UpdateCustomPackageRequest,
|
|
164
|
+
O: UpdateCustomPackageResponse,
|
|
165
|
+
kind: MethodKind.Unary,
|
|
166
|
+
},
|
|
167
|
+
/**
|
|
168
|
+
* @generated from rpc billing.v1.BillingService.DeleteCustomPackage
|
|
169
|
+
*/
|
|
170
|
+
deleteCustomPackage: {
|
|
171
|
+
name: "DeleteCustomPackage",
|
|
172
|
+
I: DeleteCustomPackageRequest,
|
|
173
|
+
O: DeleteCustomPackageResponse,
|
|
174
|
+
kind: MethodKind.Unary,
|
|
175
|
+
},
|
|
176
|
+
/**
|
|
177
|
+
* @generated from rpc billing.v1.BillingService.ListCustomPackages
|
|
178
|
+
*/
|
|
179
|
+
listCustomPackages: {
|
|
180
|
+
name: "ListCustomPackages",
|
|
181
|
+
I: ListCustomPackagesRequest,
|
|
182
|
+
O: ListCustomPackagesResponse,
|
|
183
|
+
kind: MethodKind.Unary,
|
|
184
|
+
},
|
|
185
|
+
/**
|
|
186
|
+
* @generated from rpc billing.v1.BillingService.AssignCustomPackage
|
|
187
|
+
*/
|
|
188
|
+
assignCustomPackage: {
|
|
189
|
+
name: "AssignCustomPackage",
|
|
190
|
+
I: AssignCustomPackageRequest,
|
|
191
|
+
O: AssignCustomPackageResponse,
|
|
192
|
+
kind: MethodKind.Unary,
|
|
193
|
+
},
|
|
194
|
+
/**
|
|
195
|
+
* @generated from rpc billing.v1.BillingService.AssignPlan
|
|
196
|
+
*/
|
|
197
|
+
assignPlan: {
|
|
198
|
+
name: "AssignPlan",
|
|
199
|
+
I: AssignPlanRequest,
|
|
200
|
+
O: AssignPlanResponse,
|
|
201
|
+
kind: MethodKind.Unary,
|
|
202
|
+
},
|
|
203
|
+
/**
|
|
204
|
+
* Subscriptions (direct).
|
|
205
|
+
*
|
|
206
|
+
* @generated from rpc billing.v1.BillingService.CreateBillingSubscription
|
|
207
|
+
*/
|
|
208
|
+
createBillingSubscription: {
|
|
209
|
+
name: "CreateBillingSubscription",
|
|
210
|
+
I: CreateBillingSubscriptionRequest,
|
|
211
|
+
O: CreateBillingSubscriptionResponse,
|
|
212
|
+
kind: MethodKind.Unary,
|
|
213
|
+
},
|
|
214
|
+
/**
|
|
215
|
+
* @generated from rpc billing.v1.BillingService.UpdateBillingSubscription
|
|
216
|
+
*/
|
|
217
|
+
updateBillingSubscription: {
|
|
218
|
+
name: "UpdateBillingSubscription",
|
|
219
|
+
I: UpdateBillingSubscriptionRequest,
|
|
220
|
+
O: UpdateBillingSubscriptionResponse,
|
|
221
|
+
kind: MethodKind.Unary,
|
|
222
|
+
},
|
|
223
|
+
/**
|
|
224
|
+
* Custom Packages (get).
|
|
225
|
+
*
|
|
226
|
+
* @generated from rpc billing.v1.BillingService.GetBillingCustomPackage
|
|
227
|
+
*/
|
|
228
|
+
getBillingCustomPackage: {
|
|
229
|
+
name: "GetBillingCustomPackage",
|
|
230
|
+
I: GetBillingCustomPackageRequest,
|
|
231
|
+
O: GetBillingCustomPackageResponse,
|
|
232
|
+
kind: MethodKind.Unary,
|
|
233
|
+
},
|
|
234
|
+
/**
|
|
235
|
+
* Tenant billing overview (platform admin).
|
|
236
|
+
*
|
|
237
|
+
* @generated from rpc billing.v1.BillingService.GetTenantBillingStatus
|
|
238
|
+
*/
|
|
239
|
+
getTenantBillingStatus: {
|
|
240
|
+
name: "GetTenantBillingStatus",
|
|
241
|
+
I: GetTenantBillingStatusRequest,
|
|
242
|
+
O: GetTenantBillingStatusResponse,
|
|
243
|
+
kind: MethodKind.Unary,
|
|
244
|
+
},
|
|
245
|
+
/**
|
|
246
|
+
* Stripe integration (platform admin).
|
|
247
|
+
*
|
|
248
|
+
* @generated from rpc billing.v1.BillingService.ListStripeProducts
|
|
249
|
+
*/
|
|
250
|
+
listStripeProducts: {
|
|
251
|
+
name: "ListStripeProducts",
|
|
252
|
+
I: ListStripeProductsRequest,
|
|
253
|
+
O: ListStripeProductsResponse,
|
|
254
|
+
kind: MethodKind.Unary,
|
|
255
|
+
},
|
|
256
|
+
/**
|
|
257
|
+
* Signup.
|
|
258
|
+
*
|
|
259
|
+
* @generated from rpc billing.v1.BillingService.SelfServiceSignup
|
|
260
|
+
*/
|
|
261
|
+
selfServiceSignup: {
|
|
262
|
+
name: "SelfServiceSignup",
|
|
263
|
+
I: SelfServiceSignupRequest,
|
|
264
|
+
O: SelfServiceSignupResponse,
|
|
265
|
+
kind: MethodKind.Unary,
|
|
266
|
+
},
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
|