@liquidmetal-ai/drizzle 0.9.2 → 0.11.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/CHANGELOG.md +12 -0
- package/dist/appify/build.d.ts +8 -1
- package/dist/appify/build.d.ts.map +1 -1
- package/dist/appify/build.js +69 -1
- package/dist/appify/build.test.js +156 -0
- package/dist/appify/validate.d.ts.map +1 -1
- package/dist/appify/validate.js +37 -0
- package/dist/appify/validate.test.js +38 -1
- package/dist/liquidmetal/v1alpha1/bucket_name_pb.d.ts +11 -11
- package/dist/liquidmetal/v1alpha1/bucket_name_pb.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/bucket_name_pb.js +1 -1
- package/dist/liquidmetal/v1alpha1/object_pb.d.ts +8 -0
- package/dist/liquidmetal/v1alpha1/object_pb.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/object_pb.js +1 -1
- package/dist/liquidmetal/v1alpha1/payments_pb.d.ts +461 -0
- package/dist/liquidmetal/v1alpha1/payments_pb.d.ts.map +1 -0
- package/dist/liquidmetal/v1alpha1/payments_pb.js +152 -0
- package/dist/liquidmetal/v1alpha1/rainbow_auth_pb.d.ts +315 -0
- package/dist/liquidmetal/v1alpha1/rainbow_auth_pb.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/rainbow_auth_pb.js +56 -1
- package/dist/liquidmetal/v1alpha1/riverjack_pb.d.ts +6 -0
- package/dist/liquidmetal/v1alpha1/riverjack_pb.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/riverjack_pb.js +1 -1
- package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts +374 -0
- package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/search_agent_pb.js +46 -1
- package/dist/liquidmetal/v1alpha1/stripe_seller_integration_pb.d.ts +468 -0
- package/dist/liquidmetal/v1alpha1/stripe_seller_integration_pb.d.ts.map +1 -0
- package/dist/liquidmetal/v1alpha1/stripe_seller_integration_pb.js +151 -0
- package/package.json +3 -3
- package/src/appify/build.test.ts +184 -0
- package/src/appify/build.ts +73 -1
- package/src/appify/validate.test.ts +40 -1
- package/src/appify/validate.ts +40 -0
- package/src/liquidmetal/v1alpha1/bucket_name_pb.ts +12 -12
- package/src/liquidmetal/v1alpha1/object_pb.ts +10 -1
- package/src/liquidmetal/v1alpha1/payments_pb.ts +546 -0
- package/src/liquidmetal/v1alpha1/rainbow_auth_pb.ts +362 -1
- package/src/liquidmetal/v1alpha1/riverjack_pb.ts +8 -1
- package/src/liquidmetal/v1alpha1/search_agent_pb.ts +432 -1
- package/src/liquidmetal/v1alpha1/stripe_seller_integration_pb.ts +545 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,461 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { StripeMode } from "./stripe_seller_integration_pb.js";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file liquidmetal/v1alpha1/payments.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_liquidmetal_v1alpha1_payments: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* SubscriptionProduct represents a Stripe subscription product for this application
|
|
11
|
+
*
|
|
12
|
+
* @generated from message liquidmetal.v1alpha1.SubscriptionProduct
|
|
13
|
+
*/
|
|
14
|
+
export type SubscriptionProduct = Message<"liquidmetal.v1alpha1.SubscriptionProduct"> & {
|
|
15
|
+
/**
|
|
16
|
+
* Stripe product ID
|
|
17
|
+
*
|
|
18
|
+
* @generated from field: string product_id = 1;
|
|
19
|
+
*/
|
|
20
|
+
productId: string;
|
|
21
|
+
/**
|
|
22
|
+
* Stripe price ID
|
|
23
|
+
*
|
|
24
|
+
* @generated from field: string price_id = 2;
|
|
25
|
+
*/
|
|
26
|
+
priceId: string;
|
|
27
|
+
/**
|
|
28
|
+
* Price amount in cents
|
|
29
|
+
*
|
|
30
|
+
* @generated from field: int64 unit_amount = 3;
|
|
31
|
+
*/
|
|
32
|
+
unitAmount: bigint;
|
|
33
|
+
/**
|
|
34
|
+
* Currency code (e.g., "usd")
|
|
35
|
+
*
|
|
36
|
+
* @generated from field: string currency = 4;
|
|
37
|
+
*/
|
|
38
|
+
currency: string;
|
|
39
|
+
/**
|
|
40
|
+
* Recurring interval
|
|
41
|
+
*
|
|
42
|
+
* @generated from field: liquidmetal.v1alpha1.RecurringInterval interval = 5;
|
|
43
|
+
*/
|
|
44
|
+
interval: RecurringInterval;
|
|
45
|
+
/**
|
|
46
|
+
* Number of intervals between billings (e.g., 3 for quarterly with interval=MONTH)
|
|
47
|
+
*
|
|
48
|
+
* @generated from field: int32 interval_count = 6;
|
|
49
|
+
*/
|
|
50
|
+
intervalCount: number;
|
|
51
|
+
/**
|
|
52
|
+
* When the product was created
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: google.protobuf.Timestamp created_at = 7;
|
|
55
|
+
*/
|
|
56
|
+
createdAt?: Timestamp;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Describes the message liquidmetal.v1alpha1.SubscriptionProduct.
|
|
60
|
+
* Use `create(SubscriptionProductSchema)` to create a new message.
|
|
61
|
+
*/
|
|
62
|
+
export declare const SubscriptionProductSchema: GenMessage<SubscriptionProduct>;
|
|
63
|
+
/**
|
|
64
|
+
* CreateSubscriptionProductRequest creates a subscription product
|
|
65
|
+
*
|
|
66
|
+
* @generated from message liquidmetal.v1alpha1.CreateSubscriptionProductRequest
|
|
67
|
+
*/
|
|
68
|
+
export type CreateSubscriptionProductRequest = Message<"liquidmetal.v1alpha1.CreateSubscriptionProductRequest"> & {
|
|
69
|
+
/**
|
|
70
|
+
* User making the request
|
|
71
|
+
*
|
|
72
|
+
* @generated from field: string user_id = 1;
|
|
73
|
+
*/
|
|
74
|
+
userId: string;
|
|
75
|
+
/**
|
|
76
|
+
* Organization ID
|
|
77
|
+
*
|
|
78
|
+
* @generated from field: string organization_id = 2;
|
|
79
|
+
*/
|
|
80
|
+
organizationId: string;
|
|
81
|
+
/**
|
|
82
|
+
* Application name (gets product name from manifest)
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: string application_name = 3;
|
|
85
|
+
*/
|
|
86
|
+
applicationName: string;
|
|
87
|
+
/**
|
|
88
|
+
* Price in cents
|
|
89
|
+
*
|
|
90
|
+
* @generated from field: int64 unit_amount = 4;
|
|
91
|
+
*/
|
|
92
|
+
unitAmount: bigint;
|
|
93
|
+
/**
|
|
94
|
+
* Currency code (default: "usd")
|
|
95
|
+
*
|
|
96
|
+
* @generated from field: string currency = 5;
|
|
97
|
+
*/
|
|
98
|
+
currency: string;
|
|
99
|
+
/**
|
|
100
|
+
* Recurring interval (default: MONTH)
|
|
101
|
+
*
|
|
102
|
+
* @generated from field: liquidmetal.v1alpha1.RecurringInterval interval = 6;
|
|
103
|
+
*/
|
|
104
|
+
interval: RecurringInterval;
|
|
105
|
+
/**
|
|
106
|
+
* Interval count (default: 1)
|
|
107
|
+
*
|
|
108
|
+
* @generated from field: int32 interval_count = 7;
|
|
109
|
+
*/
|
|
110
|
+
intervalCount: number;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Describes the message liquidmetal.v1alpha1.CreateSubscriptionProductRequest.
|
|
114
|
+
* Use `create(CreateSubscriptionProductRequestSchema)` to create a new message.
|
|
115
|
+
*/
|
|
116
|
+
export declare const CreateSubscriptionProductRequestSchema: GenMessage<CreateSubscriptionProductRequest>;
|
|
117
|
+
/**
|
|
118
|
+
* CreateSubscriptionProductResponse returns the created product
|
|
119
|
+
*
|
|
120
|
+
* @generated from message liquidmetal.v1alpha1.CreateSubscriptionProductResponse
|
|
121
|
+
*/
|
|
122
|
+
export type CreateSubscriptionProductResponse = Message<"liquidmetal.v1alpha1.CreateSubscriptionProductResponse"> & {
|
|
123
|
+
/**
|
|
124
|
+
* @generated from field: liquidmetal.v1alpha1.SubscriptionProduct product = 1;
|
|
125
|
+
*/
|
|
126
|
+
product?: SubscriptionProduct;
|
|
127
|
+
/**
|
|
128
|
+
* The Stripe mode this product was created in (test or live)
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: liquidmetal.v1alpha1.StripeMode mode = 2;
|
|
131
|
+
*/
|
|
132
|
+
mode: StripeMode;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* Describes the message liquidmetal.v1alpha1.CreateSubscriptionProductResponse.
|
|
136
|
+
* Use `create(CreateSubscriptionProductResponseSchema)` to create a new message.
|
|
137
|
+
*/
|
|
138
|
+
export declare const CreateSubscriptionProductResponseSchema: GenMessage<CreateSubscriptionProductResponse>;
|
|
139
|
+
/**
|
|
140
|
+
* GetSubscriptionProductRequest retrieves subscription product
|
|
141
|
+
*
|
|
142
|
+
* @generated from message liquidmetal.v1alpha1.GetSubscriptionProductRequest
|
|
143
|
+
*/
|
|
144
|
+
export type GetSubscriptionProductRequest = Message<"liquidmetal.v1alpha1.GetSubscriptionProductRequest"> & {
|
|
145
|
+
/**
|
|
146
|
+
* User making the request
|
|
147
|
+
*
|
|
148
|
+
* @generated from field: string user_id = 1;
|
|
149
|
+
*/
|
|
150
|
+
userId: string;
|
|
151
|
+
/**
|
|
152
|
+
* Organization ID
|
|
153
|
+
*
|
|
154
|
+
* @generated from field: string organization_id = 2;
|
|
155
|
+
*/
|
|
156
|
+
organizationId: string;
|
|
157
|
+
/**
|
|
158
|
+
* Application name
|
|
159
|
+
*
|
|
160
|
+
* @generated from field: string application_name = 3;
|
|
161
|
+
*/
|
|
162
|
+
applicationName: string;
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* Describes the message liquidmetal.v1alpha1.GetSubscriptionProductRequest.
|
|
166
|
+
* Use `create(GetSubscriptionProductRequestSchema)` to create a new message.
|
|
167
|
+
*/
|
|
168
|
+
export declare const GetSubscriptionProductRequestSchema: GenMessage<GetSubscriptionProductRequest>;
|
|
169
|
+
/**
|
|
170
|
+
* GetSubscriptionProductResponse returns the product
|
|
171
|
+
*
|
|
172
|
+
* @generated from message liquidmetal.v1alpha1.GetSubscriptionProductResponse
|
|
173
|
+
*/
|
|
174
|
+
export type GetSubscriptionProductResponse = Message<"liquidmetal.v1alpha1.GetSubscriptionProductResponse"> & {
|
|
175
|
+
/**
|
|
176
|
+
* @generated from field: liquidmetal.v1alpha1.SubscriptionProduct product = 1;
|
|
177
|
+
*/
|
|
178
|
+
product?: SubscriptionProduct;
|
|
179
|
+
/**
|
|
180
|
+
* The Stripe mode for this product (test or live)
|
|
181
|
+
*
|
|
182
|
+
* @generated from field: liquidmetal.v1alpha1.StripeMode mode = 2;
|
|
183
|
+
*/
|
|
184
|
+
mode: StripeMode;
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* Describes the message liquidmetal.v1alpha1.GetSubscriptionProductResponse.
|
|
188
|
+
* Use `create(GetSubscriptionProductResponseSchema)` to create a new message.
|
|
189
|
+
*/
|
|
190
|
+
export declare const GetSubscriptionProductResponseSchema: GenMessage<GetSubscriptionProductResponse>;
|
|
191
|
+
/**
|
|
192
|
+
* UpdateSubscriptionProductRequest updates a subscription product
|
|
193
|
+
*
|
|
194
|
+
* @generated from message liquidmetal.v1alpha1.UpdateSubscriptionProductRequest
|
|
195
|
+
*/
|
|
196
|
+
export type UpdateSubscriptionProductRequest = Message<"liquidmetal.v1alpha1.UpdateSubscriptionProductRequest"> & {
|
|
197
|
+
/**
|
|
198
|
+
* User making the request
|
|
199
|
+
*
|
|
200
|
+
* @generated from field: string user_id = 1;
|
|
201
|
+
*/
|
|
202
|
+
userId: string;
|
|
203
|
+
/**
|
|
204
|
+
* Organization ID
|
|
205
|
+
*
|
|
206
|
+
* @generated from field: string organization_id = 2;
|
|
207
|
+
*/
|
|
208
|
+
organizationId: string;
|
|
209
|
+
/**
|
|
210
|
+
* Application name
|
|
211
|
+
*
|
|
212
|
+
* @generated from field: string application_name = 3;
|
|
213
|
+
*/
|
|
214
|
+
applicationName: string;
|
|
215
|
+
/**
|
|
216
|
+
* New price in cents
|
|
217
|
+
*
|
|
218
|
+
* @generated from field: int64 unit_amount = 4;
|
|
219
|
+
*/
|
|
220
|
+
unitAmount: bigint;
|
|
221
|
+
/**
|
|
222
|
+
* Currency code (default: "usd")
|
|
223
|
+
*
|
|
224
|
+
* @generated from field: string currency = 5;
|
|
225
|
+
*/
|
|
226
|
+
currency: string;
|
|
227
|
+
/**
|
|
228
|
+
* Recurring interval (default: MONTH)
|
|
229
|
+
*
|
|
230
|
+
* @generated from field: liquidmetal.v1alpha1.RecurringInterval interval = 6;
|
|
231
|
+
*/
|
|
232
|
+
interval: RecurringInterval;
|
|
233
|
+
/**
|
|
234
|
+
* Interval count (default: 1)
|
|
235
|
+
*
|
|
236
|
+
* @generated from field: int32 interval_count = 7;
|
|
237
|
+
*/
|
|
238
|
+
intervalCount: number;
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* Describes the message liquidmetal.v1alpha1.UpdateSubscriptionProductRequest.
|
|
242
|
+
* Use `create(UpdateSubscriptionProductRequestSchema)` to create a new message.
|
|
243
|
+
*/
|
|
244
|
+
export declare const UpdateSubscriptionProductRequestSchema: GenMessage<UpdateSubscriptionProductRequest>;
|
|
245
|
+
/**
|
|
246
|
+
* UpdateSubscriptionProductResponse returns the updated product
|
|
247
|
+
*
|
|
248
|
+
* @generated from message liquidmetal.v1alpha1.UpdateSubscriptionProductResponse
|
|
249
|
+
*/
|
|
250
|
+
export type UpdateSubscriptionProductResponse = Message<"liquidmetal.v1alpha1.UpdateSubscriptionProductResponse"> & {
|
|
251
|
+
/**
|
|
252
|
+
* @generated from field: liquidmetal.v1alpha1.SubscriptionProduct product = 1;
|
|
253
|
+
*/
|
|
254
|
+
product?: SubscriptionProduct;
|
|
255
|
+
/**
|
|
256
|
+
* The Stripe mode this product was updated in (test or live)
|
|
257
|
+
*
|
|
258
|
+
* @generated from field: liquidmetal.v1alpha1.StripeMode mode = 2;
|
|
259
|
+
*/
|
|
260
|
+
mode: StripeMode;
|
|
261
|
+
};
|
|
262
|
+
/**
|
|
263
|
+
* Describes the message liquidmetal.v1alpha1.UpdateSubscriptionProductResponse.
|
|
264
|
+
* Use `create(UpdateSubscriptionProductResponseSchema)` to create a new message.
|
|
265
|
+
*/
|
|
266
|
+
export declare const UpdateSubscriptionProductResponseSchema: GenMessage<UpdateSubscriptionProductResponse>;
|
|
267
|
+
/**
|
|
268
|
+
* HandleWebhookRequest contains the raw Stripe webhook event data.
|
|
269
|
+
*
|
|
270
|
+
* @generated from message liquidmetal.v1alpha1.HandleWebhookRequest
|
|
271
|
+
*/
|
|
272
|
+
export type HandleWebhookRequest = Message<"liquidmetal.v1alpha1.HandleWebhookRequest"> & {
|
|
273
|
+
/**
|
|
274
|
+
* Raw webhook payload as received from Stripe
|
|
275
|
+
*
|
|
276
|
+
* @generated from field: bytes payload = 1;
|
|
277
|
+
*/
|
|
278
|
+
payload: Uint8Array;
|
|
279
|
+
/**
|
|
280
|
+
* Stripe webhook signature header (stripe-signature)
|
|
281
|
+
*
|
|
282
|
+
* @generated from field: string signature = 2;
|
|
283
|
+
*/
|
|
284
|
+
signature: string;
|
|
285
|
+
};
|
|
286
|
+
/**
|
|
287
|
+
* Describes the message liquidmetal.v1alpha1.HandleWebhookRequest.
|
|
288
|
+
* Use `create(HandleWebhookRequestSchema)` to create a new message.
|
|
289
|
+
*/
|
|
290
|
+
export declare const HandleWebhookRequestSchema: GenMessage<HandleWebhookRequest>;
|
|
291
|
+
/**
|
|
292
|
+
* HandleWebhookResponse confirms webhook processing.
|
|
293
|
+
*
|
|
294
|
+
* @generated from message liquidmetal.v1alpha1.HandleWebhookResponse
|
|
295
|
+
*/
|
|
296
|
+
export type HandleWebhookResponse = Message<"liquidmetal.v1alpha1.HandleWebhookResponse"> & {
|
|
297
|
+
/**
|
|
298
|
+
* Whether the webhook was processed successfully
|
|
299
|
+
*
|
|
300
|
+
* @generated from field: bool success = 1;
|
|
301
|
+
*/
|
|
302
|
+
success: boolean;
|
|
303
|
+
/**
|
|
304
|
+
* Stripe event ID that was processed
|
|
305
|
+
*
|
|
306
|
+
* @generated from field: string event_id = 2;
|
|
307
|
+
*/
|
|
308
|
+
eventId: string;
|
|
309
|
+
/**
|
|
310
|
+
* Event type that was processed
|
|
311
|
+
*
|
|
312
|
+
* @generated from field: liquidmetal.v1alpha1.StripeEventType event_type = 3;
|
|
313
|
+
*/
|
|
314
|
+
eventType: StripeEventType;
|
|
315
|
+
/**
|
|
316
|
+
* Optional error message if processing failed
|
|
317
|
+
*
|
|
318
|
+
* @generated from field: optional string error_message = 4;
|
|
319
|
+
*/
|
|
320
|
+
errorMessage?: string;
|
|
321
|
+
/**
|
|
322
|
+
* When the event was processed
|
|
323
|
+
*
|
|
324
|
+
* @generated from field: google.protobuf.Timestamp processed_at = 5;
|
|
325
|
+
*/
|
|
326
|
+
processedAt?: Timestamp;
|
|
327
|
+
};
|
|
328
|
+
/**
|
|
329
|
+
* Describes the message liquidmetal.v1alpha1.HandleWebhookResponse.
|
|
330
|
+
* Use `create(HandleWebhookResponseSchema)` to create a new message.
|
|
331
|
+
*/
|
|
332
|
+
export declare const HandleWebhookResponseSchema: GenMessage<HandleWebhookResponse>;
|
|
333
|
+
/**
|
|
334
|
+
* StripeEventType enumerates the Stripe webhook event types we handle.
|
|
335
|
+
*
|
|
336
|
+
* @generated from enum liquidmetal.v1alpha1.StripeEventType
|
|
337
|
+
*/
|
|
338
|
+
export declare enum StripeEventType {
|
|
339
|
+
/**
|
|
340
|
+
* @generated from enum value: STRIPE_EVENT_TYPE_UNSPECIFIED = 0;
|
|
341
|
+
*/
|
|
342
|
+
UNSPECIFIED = 0,
|
|
343
|
+
/**
|
|
344
|
+
* Checkout and payment events
|
|
345
|
+
*
|
|
346
|
+
* @generated from enum value: STRIPE_EVENT_TYPE_CHECKOUT_SESSION_COMPLETED = 1;
|
|
347
|
+
*/
|
|
348
|
+
CHECKOUT_SESSION_COMPLETED = 1,
|
|
349
|
+
/**
|
|
350
|
+
* @generated from enum value: STRIPE_EVENT_TYPE_PAYMENT_INTENT_SUCCEEDED = 2;
|
|
351
|
+
*/
|
|
352
|
+
PAYMENT_INTENT_SUCCEEDED = 2,
|
|
353
|
+
/**
|
|
354
|
+
* @generated from enum value: STRIPE_EVENT_TYPE_PAYMENT_INTENT_PAYMENT_FAILED = 3;
|
|
355
|
+
*/
|
|
356
|
+
PAYMENT_INTENT_PAYMENT_FAILED = 3,
|
|
357
|
+
/**
|
|
358
|
+
* Subscription lifecycle events
|
|
359
|
+
*
|
|
360
|
+
* @generated from enum value: STRIPE_EVENT_TYPE_CUSTOMER_SUBSCRIPTION_CREATED = 4;
|
|
361
|
+
*/
|
|
362
|
+
CUSTOMER_SUBSCRIPTION_CREATED = 4,
|
|
363
|
+
/**
|
|
364
|
+
* @generated from enum value: STRIPE_EVENT_TYPE_CUSTOMER_SUBSCRIPTION_UPDATED = 5;
|
|
365
|
+
*/
|
|
366
|
+
CUSTOMER_SUBSCRIPTION_UPDATED = 5,
|
|
367
|
+
/**
|
|
368
|
+
* @generated from enum value: STRIPE_EVENT_TYPE_CUSTOMER_SUBSCRIPTION_DELETED = 6;
|
|
369
|
+
*/
|
|
370
|
+
CUSTOMER_SUBSCRIPTION_DELETED = 6,
|
|
371
|
+
/**
|
|
372
|
+
* Connected account events
|
|
373
|
+
*
|
|
374
|
+
* @generated from enum value: STRIPE_EVENT_TYPE_ACCOUNT_UPDATED = 7;
|
|
375
|
+
*/
|
|
376
|
+
ACCOUNT_UPDATED = 7,
|
|
377
|
+
/**
|
|
378
|
+
* @generated from enum value: STRIPE_EVENT_TYPE_ACCOUNT_APPLICATION_AUTHORIZED = 8;
|
|
379
|
+
*/
|
|
380
|
+
ACCOUNT_APPLICATION_AUTHORIZED = 8,
|
|
381
|
+
/**
|
|
382
|
+
* @generated from enum value: STRIPE_EVENT_TYPE_ACCOUNT_APPLICATION_DEAUTHORIZED = 9;
|
|
383
|
+
*/
|
|
384
|
+
ACCOUNT_APPLICATION_DEAUTHORIZED = 9
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* Describes the enum liquidmetal.v1alpha1.StripeEventType.
|
|
388
|
+
*/
|
|
389
|
+
export declare const StripeEventTypeSchema: GenEnum<StripeEventType>;
|
|
390
|
+
/**
|
|
391
|
+
* RecurringInterval specifies the billing frequency for subscription products
|
|
392
|
+
*
|
|
393
|
+
* @generated from enum liquidmetal.v1alpha1.RecurringInterval
|
|
394
|
+
*/
|
|
395
|
+
export declare enum RecurringInterval {
|
|
396
|
+
/**
|
|
397
|
+
* @generated from enum value: RECURRING_INTERVAL_UNSPECIFIED = 0;
|
|
398
|
+
*/
|
|
399
|
+
UNSPECIFIED = 0,
|
|
400
|
+
/**
|
|
401
|
+
* @generated from enum value: RECURRING_INTERVAL_DAY = 1;
|
|
402
|
+
*/
|
|
403
|
+
DAY = 1,
|
|
404
|
+
/**
|
|
405
|
+
* @generated from enum value: RECURRING_INTERVAL_WEEK = 2;
|
|
406
|
+
*/
|
|
407
|
+
WEEK = 2,
|
|
408
|
+
/**
|
|
409
|
+
* @generated from enum value: RECURRING_INTERVAL_MONTH = 3;
|
|
410
|
+
*/
|
|
411
|
+
MONTH = 3,
|
|
412
|
+
/**
|
|
413
|
+
* @generated from enum value: RECURRING_INTERVAL_YEAR = 4;
|
|
414
|
+
*/
|
|
415
|
+
YEAR = 4
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* Describes the enum liquidmetal.v1alpha1.RecurringInterval.
|
|
419
|
+
*/
|
|
420
|
+
export declare const RecurringIntervalSchema: GenEnum<RecurringInterval>;
|
|
421
|
+
/**
|
|
422
|
+
* PaymentsService provides Stripe webhook handling and subscription product management.
|
|
423
|
+
* Webhook events should be sent to the HTTP endpoint POST /webhook
|
|
424
|
+
*
|
|
425
|
+
* @generated from service liquidmetal.v1alpha1.PaymentsService
|
|
426
|
+
*/
|
|
427
|
+
export declare const PaymentsService: GenService<{
|
|
428
|
+
/**
|
|
429
|
+
* CreateSubscriptionProduct creates a recurring subscription product for this application.
|
|
430
|
+
* The product is created on the seller's Stripe Connect account.
|
|
431
|
+
*
|
|
432
|
+
* @generated from rpc liquidmetal.v1alpha1.PaymentsService.CreateSubscriptionProduct
|
|
433
|
+
*/
|
|
434
|
+
createSubscriptionProduct: {
|
|
435
|
+
methodKind: "unary";
|
|
436
|
+
input: typeof CreateSubscriptionProductRequestSchema;
|
|
437
|
+
output: typeof CreateSubscriptionProductResponseSchema;
|
|
438
|
+
};
|
|
439
|
+
/**
|
|
440
|
+
* GetSubscriptionProduct retrieves the subscription product for this application.
|
|
441
|
+
*
|
|
442
|
+
* @generated from rpc liquidmetal.v1alpha1.PaymentsService.GetSubscriptionProduct
|
|
443
|
+
*/
|
|
444
|
+
getSubscriptionProduct: {
|
|
445
|
+
methodKind: "unary";
|
|
446
|
+
input: typeof GetSubscriptionProductRequestSchema;
|
|
447
|
+
output: typeof GetSubscriptionProductResponseSchema;
|
|
448
|
+
};
|
|
449
|
+
/**
|
|
450
|
+
* UpdateSubscriptionProduct updates the subscription product pricing/interval.
|
|
451
|
+
* Creates a new price on the existing product and archives the old price.
|
|
452
|
+
*
|
|
453
|
+
* @generated from rpc liquidmetal.v1alpha1.PaymentsService.UpdateSubscriptionProduct
|
|
454
|
+
*/
|
|
455
|
+
updateSubscriptionProduct: {
|
|
456
|
+
methodKind: "unary";
|
|
457
|
+
input: typeof UpdateSubscriptionProductRequestSchema;
|
|
458
|
+
output: typeof UpdateSubscriptionProductResponseSchema;
|
|
459
|
+
};
|
|
460
|
+
}>;
|
|
461
|
+
//# sourceMappingURL=payments_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payments_pb.d.ts","sourceRoot":"","sources":["../../../src/liquidmetal/v1alpha1/payments_pb.ts"],"names":[],"mappings":"AAIA,OAAO,K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,IAAI;IAE5B;;OAEG;IACH,6BAA6B,IAAI;IAEjC;;;;OAIG;IACH,6BAA6B,IAAI;IAEjC;;OAEG;IACH,6BAA6B,IAAI;IAEjC;;OAEG;IACH,6BAA6B,IAAI;IAEjC;;;;OAIG;IACH,eAAe,IAAI;IAEnB;;OAEG;IACH,8BAA8B,IAAI;IAElC;;OAEG;IACH,gCAAgC,IAAI;CACrC;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,OAAO,CAAC,eAAe,CACV,CAAC;AAElD;;;;GAIG;AACH,oBAAY,iBAAiB;IAC3B;;OAEG;IACH,WAAW,IAAI;IAEf;;OAEG;IACH,GAAG,IAAI;IAEP;;OAEG;IACH,IAAI,IAAI;IAER;;OAEG;IACH,KAAK,IAAI;IAET;;OAEG;IACH,IAAI,IAAI;CACT;AAED;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,OAAO,CAAC,iBAAiB,CACd,CAAC;AAElD;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,UAAU,CAAC;IACvC;;;;;OAKG;IACH,yBAAyB,EAAE;QACzB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,sCAAsC,CAAC;QACrD,MAAM,EAAE,OAAO,uCAAuC,CAAC;KACxD,CAAC;IACF;;;;OAIG;IACH,sBAAsB,EAAE;QACtB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,mCAAmC,CAAC;QAClD,MAAM,EAAE,OAAO,oCAAoC,CAAC;KACrD,CAAC;IACF;;;;;OAKG;IACH,yBAAyB,EAAE;QACzB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,sCAAsC,CAAC;QACrD,MAAM,EAAE,OAAO,uCAAuC,CAAC;KACxD,CAAC;CACH,CACmD,CAAC"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file liquidmetal/v1alpha1/payments.proto (package liquidmetal.v1alpha1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
6
|
+
import { file_liquidmetal_v1alpha1_stripe_seller_integration } from "./stripe_seller_integration_pb.js";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file liquidmetal/v1alpha1/payments.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_liquidmetal_v1alpha1_payments = /*@__PURE__*/ fileDesc("CiNsaXF1aWRtZXRhbC92MWFscGhhMS9wYXltZW50cy5wcm90bxIUbGlxdWlkbWV0YWwudjFhbHBoYTEi5QEKE1N1YnNjcmlwdGlvblByb2R1Y3QSEgoKcHJvZHVjdF9pZBgBIAEoCRIQCghwcmljZV9pZBgCIAEoCRITCgt1bml0X2Ftb3VudBgDIAEoAxIQCghjdXJyZW5jeRgEIAEoCRI5CghpbnRlcnZhbBgFIAEoDjInLmxpcXVpZG1ldGFsLnYxYWxwaGExLlJlY3VycmluZ0ludGVydmFsEhYKDmludGVydmFsX2NvdW50GAYgASgFEi4KCmNyZWF0ZWRfYXQYByABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIuABCiBDcmVhdGVTdWJzY3JpcHRpb25Qcm9kdWN0UmVxdWVzdBIPCgd1c2VyX2lkGAEgASgJEhcKD29yZ2FuaXphdGlvbl9pZBgCIAEoCRIYChBhcHBsaWNhdGlvbl9uYW1lGAMgASgJEhMKC3VuaXRfYW1vdW50GAQgASgDEhAKCGN1cnJlbmN5GAUgASgJEjkKCGludGVydmFsGAYgASgOMicubGlxdWlkbWV0YWwudjFhbHBoYTEuUmVjdXJyaW5nSW50ZXJ2YWwSFgoOaW50ZXJ2YWxfY291bnQYByABKAUijwEKIUNyZWF0ZVN1YnNjcmlwdGlvblByb2R1Y3RSZXNwb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al_v1alpha1_stripe_seller_integration]);
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message liquidmetal.v1alpha1.SubscriptionProduct.
|
|
13
|
+
* Use `create(SubscriptionProductSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export const SubscriptionProductSchema = /*@__PURE__*/ messageDesc(file_liquidmetal_v1alpha1_payments, 0);
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message liquidmetal.v1alpha1.CreateSubscriptionProductRequest.
|
|
18
|
+
* Use `create(CreateSubscriptionProductRequestSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export const CreateSubscriptionProductRequestSchema = /*@__PURE__*/ messageDesc(file_liquidmetal_v1alpha1_payments, 1);
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message liquidmetal.v1alpha1.CreateSubscriptionProductResponse.
|
|
23
|
+
* Use `create(CreateSubscriptionProductResponseSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const CreateSubscriptionProductResponseSchema = /*@__PURE__*/ messageDesc(file_liquidmetal_v1alpha1_payments, 2);
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message liquidmetal.v1alpha1.GetSubscriptionProductRequest.
|
|
28
|
+
* Use `create(GetSubscriptionProductRequestSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export const GetSubscriptionProductRequestSchema = /*@__PURE__*/ messageDesc(file_liquidmetal_v1alpha1_payments, 3);
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message liquidmetal.v1alpha1.GetSubscriptionProductResponse.
|
|
33
|
+
* Use `create(GetSubscriptionProductResponseSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export const GetSubscriptionProductResponseSchema = /*@__PURE__*/ messageDesc(file_liquidmetal_v1alpha1_payments, 4);
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message liquidmetal.v1alpha1.UpdateSubscriptionProductRequest.
|
|
38
|
+
* Use `create(UpdateSubscriptionProductRequestSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const UpdateSubscriptionProductRequestSchema = /*@__PURE__*/ messageDesc(file_liquidmetal_v1alpha1_payments, 5);
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message liquidmetal.v1alpha1.UpdateSubscriptionProductResponse.
|
|
43
|
+
* Use `create(UpdateSubscriptionProductResponseSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const UpdateSubscriptionProductResponseSchema = /*@__PURE__*/ messageDesc(file_liquidmetal_v1alpha1_payments, 6);
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message liquidmetal.v1alpha1.HandleWebhookRequest.
|
|
48
|
+
* Use `create(HandleWebhookRequestSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export const HandleWebhookRequestSchema = /*@__PURE__*/ messageDesc(file_liquidmetal_v1alpha1_payments, 7);
|
|
51
|
+
/**
|
|
52
|
+
* Describes the message liquidmetal.v1alpha1.HandleWebhookResponse.
|
|
53
|
+
* Use `create(HandleWebhookResponseSchema)` to create a new message.
|
|
54
|
+
*/
|
|
55
|
+
export const HandleWebhookResponseSchema = /*@__PURE__*/ messageDesc(file_liquidmetal_v1alpha1_payments, 8);
|
|
56
|
+
/**
|
|
57
|
+
* StripeEventType enumerates the Stripe webhook event types we handle.
|
|
58
|
+
*
|
|
59
|
+
* @generated from enum liquidmetal.v1alpha1.StripeEventType
|
|
60
|
+
*/
|
|
61
|
+
export var StripeEventType;
|
|
62
|
+
(function (StripeEventType) {
|
|
63
|
+
/**
|
|
64
|
+
* @generated from enum value: STRIPE_EVENT_TYPE_UNSPECIFIED = 0;
|
|
65
|
+
*/
|
|
66
|
+
StripeEventType[StripeEventType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
67
|
+
/**
|
|
68
|
+
* Checkout and payment events
|
|
69
|
+
*
|
|
70
|
+
* @generated from enum value: STRIPE_EVENT_TYPE_CHECKOUT_SESSION_COMPLETED = 1;
|
|
71
|
+
*/
|
|
72
|
+
StripeEventType[StripeEventType["CHECKOUT_SESSION_COMPLETED"] = 1] = "CHECKOUT_SESSION_COMPLETED";
|
|
73
|
+
/**
|
|
74
|
+
* @generated from enum value: STRIPE_EVENT_TYPE_PAYMENT_INTENT_SUCCEEDED = 2;
|
|
75
|
+
*/
|
|
76
|
+
StripeEventType[StripeEventType["PAYMENT_INTENT_SUCCEEDED"] = 2] = "PAYMENT_INTENT_SUCCEEDED";
|
|
77
|
+
/**
|
|
78
|
+
* @generated from enum value: STRIPE_EVENT_TYPE_PAYMENT_INTENT_PAYMENT_FAILED = 3;
|
|
79
|
+
*/
|
|
80
|
+
StripeEventType[StripeEventType["PAYMENT_INTENT_PAYMENT_FAILED"] = 3] = "PAYMENT_INTENT_PAYMENT_FAILED";
|
|
81
|
+
/**
|
|
82
|
+
* Subscription lifecycle events
|
|
83
|
+
*
|
|
84
|
+
* @generated from enum value: STRIPE_EVENT_TYPE_CUSTOMER_SUBSCRIPTION_CREATED = 4;
|
|
85
|
+
*/
|
|
86
|
+
StripeEventType[StripeEventType["CUSTOMER_SUBSCRIPTION_CREATED"] = 4] = "CUSTOMER_SUBSCRIPTION_CREATED";
|
|
87
|
+
/**
|
|
88
|
+
* @generated from enum value: STRIPE_EVENT_TYPE_CUSTOMER_SUBSCRIPTION_UPDATED = 5;
|
|
89
|
+
*/
|
|
90
|
+
StripeEventType[StripeEventType["CUSTOMER_SUBSCRIPTION_UPDATED"] = 5] = "CUSTOMER_SUBSCRIPTION_UPDATED";
|
|
91
|
+
/**
|
|
92
|
+
* @generated from enum value: STRIPE_EVENT_TYPE_CUSTOMER_SUBSCRIPTION_DELETED = 6;
|
|
93
|
+
*/
|
|
94
|
+
StripeEventType[StripeEventType["CUSTOMER_SUBSCRIPTION_DELETED"] = 6] = "CUSTOMER_SUBSCRIPTION_DELETED";
|
|
95
|
+
/**
|
|
96
|
+
* Connected account events
|
|
97
|
+
*
|
|
98
|
+
* @generated from enum value: STRIPE_EVENT_TYPE_ACCOUNT_UPDATED = 7;
|
|
99
|
+
*/
|
|
100
|
+
StripeEventType[StripeEventType["ACCOUNT_UPDATED"] = 7] = "ACCOUNT_UPDATED";
|
|
101
|
+
/**
|
|
102
|
+
* @generated from enum value: STRIPE_EVENT_TYPE_ACCOUNT_APPLICATION_AUTHORIZED = 8;
|
|
103
|
+
*/
|
|
104
|
+
StripeEventType[StripeEventType["ACCOUNT_APPLICATION_AUTHORIZED"] = 8] = "ACCOUNT_APPLICATION_AUTHORIZED";
|
|
105
|
+
/**
|
|
106
|
+
* @generated from enum value: STRIPE_EVENT_TYPE_ACCOUNT_APPLICATION_DEAUTHORIZED = 9;
|
|
107
|
+
*/
|
|
108
|
+
StripeEventType[StripeEventType["ACCOUNT_APPLICATION_DEAUTHORIZED"] = 9] = "ACCOUNT_APPLICATION_DEAUTHORIZED";
|
|
109
|
+
})(StripeEventType || (StripeEventType = {}));
|
|
110
|
+
/**
|
|
111
|
+
* Describes the enum liquidmetal.v1alpha1.StripeEventType.
|
|
112
|
+
*/
|
|
113
|
+
export const StripeEventTypeSchema = /*@__PURE__*/ enumDesc(file_liquidmetal_v1alpha1_payments, 0);
|
|
114
|
+
/**
|
|
115
|
+
* RecurringInterval specifies the billing frequency for subscription products
|
|
116
|
+
*
|
|
117
|
+
* @generated from enum liquidmetal.v1alpha1.RecurringInterval
|
|
118
|
+
*/
|
|
119
|
+
export var RecurringInterval;
|
|
120
|
+
(function (RecurringInterval) {
|
|
121
|
+
/**
|
|
122
|
+
* @generated from enum value: RECURRING_INTERVAL_UNSPECIFIED = 0;
|
|
123
|
+
*/
|
|
124
|
+
RecurringInterval[RecurringInterval["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
125
|
+
/**
|
|
126
|
+
* @generated from enum value: RECURRING_INTERVAL_DAY = 1;
|
|
127
|
+
*/
|
|
128
|
+
RecurringInterval[RecurringInterval["DAY"] = 1] = "DAY";
|
|
129
|
+
/**
|
|
130
|
+
* @generated from enum value: RECURRING_INTERVAL_WEEK = 2;
|
|
131
|
+
*/
|
|
132
|
+
RecurringInterval[RecurringInterval["WEEK"] = 2] = "WEEK";
|
|
133
|
+
/**
|
|
134
|
+
* @generated from enum value: RECURRING_INTERVAL_MONTH = 3;
|
|
135
|
+
*/
|
|
136
|
+
RecurringInterval[RecurringInterval["MONTH"] = 3] = "MONTH";
|
|
137
|
+
/**
|
|
138
|
+
* @generated from enum value: RECURRING_INTERVAL_YEAR = 4;
|
|
139
|
+
*/
|
|
140
|
+
RecurringInterval[RecurringInterval["YEAR"] = 4] = "YEAR";
|
|
141
|
+
})(RecurringInterval || (RecurringInterval = {}));
|
|
142
|
+
/**
|
|
143
|
+
* Describes the enum liquidmetal.v1alpha1.RecurringInterval.
|
|
144
|
+
*/
|
|
145
|
+
export const RecurringIntervalSchema = /*@__PURE__*/ enumDesc(file_liquidmetal_v1alpha1_payments, 1);
|
|
146
|
+
/**
|
|
147
|
+
* PaymentsService provides Stripe webhook handling and subscription product management.
|
|
148
|
+
* Webhook events should be sent to the HTTP endpoint POST /webhook
|
|
149
|
+
*
|
|
150
|
+
* @generated from service liquidmetal.v1alpha1.PaymentsService
|
|
151
|
+
*/
|
|
152
|
+
export const PaymentsService = /*@__PURE__*/ serviceDesc(file_liquidmetal_v1alpha1_payments, 0);
|