@frogbotai/piece-stripe 0.31.0 → 0.33.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/README.md +21 -21
- package/dist/actions.d.ts +58 -324
- package/dist/actions.d.ts.map +1 -1
- package/dist/actions.js +8 -29
- package/dist/actions.js.map +1 -1
- package/dist/client.d.ts +1 -7
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +16 -3
- package/dist/client.js.map +1 -1
- package/dist/define.d.ts +29 -71
- package/dist/define.d.ts.map +1 -1
- package/dist/define.js +1 -1
- package/dist/define.js.map +1 -1
- package/dist/index.d.ts +76 -527
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/triggers.d.ts +52 -364
- package/dist/triggers.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { z } from 'zod';
|
|
2
|
-
export declare const stripeActions: readonly ["createCustomer", "createInvoice", "searchCustomers", "searchSubscriptions", "getCustomer", "updateCustomer", "createPaymentIntent", "createProduct", "createPrice", "createSubscription", "cancelSubscription", "getInvoice", "getPayout", "createRefund", "createPaymentLink", "deactivatePaymentLink", "getPaymentIntent", "findInvoice", "
|
|
2
|
+
export declare const stripeActions: readonly ["createCustomer", "createInvoice", "searchCustomers", "searchSubscriptions", "getCustomer", "updateCustomer", "createPaymentIntent", "createProduct", "createPrice", "createSubscription", "cancelSubscription", "getInvoice", "getPayout", "createRefund", "createPaymentLink", "deactivatePaymentLink", "getPaymentIntent", "findInvoice", "customApiCall"];
|
|
3
3
|
export declare const stripeTriggers: ("paymentSucceeded" | "customerCreated" | "paymentFailed" | "subscriptionCreated" | "chargeSucceeded" | "invoiceCreated" | "invoicePaymentFailed" | "subscriptionCanceled" | "refundCreated" | "disputeCreated" | "paymentLinkCreated" | "subscriptionUpdated" | "checkoutCompleted")[];
|
|
4
4
|
export declare const stripeScopes: readonly [];
|
|
5
5
|
export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
@@ -16,13 +16,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
16
16
|
auth: unknown;
|
|
17
17
|
}) => {
|
|
18
18
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
19
|
-
|
|
20
|
-
status: number;
|
|
21
|
-
headers: {
|
|
22
|
-
[k: string]: string;
|
|
23
|
-
};
|
|
24
|
-
body: import("./client.js").StripeResponse;
|
|
25
|
-
}>;
|
|
19
|
+
authorize(url: URL, headers: Headers): void;
|
|
26
20
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
27
21
|
value: string;
|
|
28
22
|
label: string;
|
|
@@ -42,13 +36,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
42
36
|
phone: z.ZodOptional<z.ZodString>;
|
|
43
37
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
44
38
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
45
|
-
|
|
46
|
-
status: number;
|
|
47
|
-
headers: {
|
|
48
|
-
[k: string]: string;
|
|
49
|
-
};
|
|
50
|
-
body: import("./client.js").StripeResponse;
|
|
51
|
-
}>;
|
|
39
|
+
authorize(url: URL, headers: Headers): void;
|
|
52
40
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
53
41
|
value: string;
|
|
54
42
|
label: string;
|
|
@@ -63,13 +51,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
63
51
|
daysUntilDue: z.ZodOptional<z.ZodNumber>;
|
|
64
52
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
65
53
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
66
|
-
|
|
67
|
-
status: number;
|
|
68
|
-
headers: {
|
|
69
|
-
[k: string]: string;
|
|
70
|
-
};
|
|
71
|
-
body: import("./client.js").StripeResponse;
|
|
72
|
-
}>;
|
|
54
|
+
authorize(url: URL, headers: Headers): void;
|
|
73
55
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
74
56
|
value: string;
|
|
75
57
|
label: string;
|
|
@@ -82,13 +64,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
82
64
|
email: z.ZodString;
|
|
83
65
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
84
66
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
85
|
-
|
|
86
|
-
status: number;
|
|
87
|
-
headers: {
|
|
88
|
-
[k: string]: string;
|
|
89
|
-
};
|
|
90
|
-
body: import("./client.js").StripeResponse;
|
|
91
|
-
}>;
|
|
67
|
+
authorize(url: URL, headers: Headers): void;
|
|
92
68
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
93
69
|
value: string;
|
|
94
70
|
label: string;
|
|
@@ -116,13 +92,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
116
92
|
includeCustomerDetails: z.ZodDefault<z.ZodBoolean>;
|
|
117
93
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
118
94
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
119
|
-
|
|
120
|
-
status: number;
|
|
121
|
-
headers: {
|
|
122
|
-
[k: string]: string;
|
|
123
|
-
};
|
|
124
|
-
body: import("./client.js").StripeResponse;
|
|
125
|
-
}>;
|
|
95
|
+
authorize(url: URL, headers: Headers): void;
|
|
126
96
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
127
97
|
value: string;
|
|
128
98
|
label: string;
|
|
@@ -135,13 +105,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
135
105
|
customerId: z.ZodString;
|
|
136
106
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
137
107
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
138
|
-
|
|
139
|
-
status: number;
|
|
140
|
-
headers: {
|
|
141
|
-
[k: string]: string;
|
|
142
|
-
};
|
|
143
|
-
body: import("./client.js").StripeResponse;
|
|
144
|
-
}>;
|
|
108
|
+
authorize(url: URL, headers: Headers): void;
|
|
145
109
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
146
110
|
value: string;
|
|
147
111
|
label: string;
|
|
@@ -163,13 +127,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
163
127
|
phone: z.ZodOptional<z.ZodString>;
|
|
164
128
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
165
129
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
166
|
-
|
|
167
|
-
status: number;
|
|
168
|
-
headers: {
|
|
169
|
-
[k: string]: string;
|
|
170
|
-
};
|
|
171
|
-
body: import("./client.js").StripeResponse;
|
|
172
|
-
}>;
|
|
130
|
+
authorize(url: URL, headers: Headers): void;
|
|
173
131
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
174
132
|
value: string;
|
|
175
133
|
label: string;
|
|
@@ -189,13 +147,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
189
147
|
receiptEmail: z.ZodOptional<z.ZodString>;
|
|
190
148
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
191
149
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
192
|
-
|
|
193
|
-
status: number;
|
|
194
|
-
headers: {
|
|
195
|
-
[k: string]: string;
|
|
196
|
-
};
|
|
197
|
-
body: import("./client.js").StripeResponse;
|
|
198
|
-
}>;
|
|
150
|
+
authorize(url: URL, headers: Headers): void;
|
|
199
151
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
200
152
|
value: string;
|
|
201
153
|
label: string;
|
|
@@ -213,13 +165,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
213
165
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
214
166
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
215
167
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
216
|
-
|
|
217
|
-
status: number;
|
|
218
|
-
headers: {
|
|
219
|
-
[k: string]: string;
|
|
220
|
-
};
|
|
221
|
-
body: import("./client.js").StripeResponse;
|
|
222
|
-
}>;
|
|
168
|
+
authorize(url: URL, headers: Headers): void;
|
|
223
169
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
224
170
|
value: string;
|
|
225
171
|
label: string;
|
|
@@ -242,13 +188,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
242
188
|
recurringIntervalCount: z.ZodOptional<z.ZodNumber>;
|
|
243
189
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
244
190
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
245
|
-
|
|
246
|
-
status: number;
|
|
247
|
-
headers: {
|
|
248
|
-
[k: string]: string;
|
|
249
|
-
};
|
|
250
|
-
body: import("./client.js").StripeResponse;
|
|
251
|
-
}>;
|
|
191
|
+
authorize(url: URL, headers: Headers): void;
|
|
252
192
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
253
193
|
value: string;
|
|
254
194
|
label: string;
|
|
@@ -273,13 +213,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
273
213
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
274
214
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
275
215
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
276
|
-
|
|
277
|
-
status: number;
|
|
278
|
-
headers: {
|
|
279
|
-
[k: string]: string;
|
|
280
|
-
};
|
|
281
|
-
body: import("./client.js").StripeResponse;
|
|
282
|
-
}>;
|
|
216
|
+
authorize(url: URL, headers: Headers): void;
|
|
283
217
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
284
218
|
value: string;
|
|
285
219
|
label: string;
|
|
@@ -293,13 +227,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
293
227
|
cancelAtPeriodEnd: z.ZodDefault<z.ZodBoolean>;
|
|
294
228
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
295
229
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
296
|
-
|
|
297
|
-
status: number;
|
|
298
|
-
headers: {
|
|
299
|
-
[k: string]: string;
|
|
300
|
-
};
|
|
301
|
-
body: import("./client.js").StripeResponse;
|
|
302
|
-
}>;
|
|
230
|
+
authorize(url: URL, headers: Headers): void;
|
|
303
231
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
304
232
|
value: string;
|
|
305
233
|
label: string;
|
|
@@ -312,13 +240,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
312
240
|
invoiceId: z.ZodString;
|
|
313
241
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
314
242
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
315
|
-
|
|
316
|
-
status: number;
|
|
317
|
-
headers: {
|
|
318
|
-
[k: string]: string;
|
|
319
|
-
};
|
|
320
|
-
body: import("./client.js").StripeResponse;
|
|
321
|
-
}>;
|
|
243
|
+
authorize(url: URL, headers: Headers): void;
|
|
322
244
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
323
245
|
value: string;
|
|
324
246
|
label: string;
|
|
@@ -331,13 +253,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
331
253
|
payoutId: z.ZodString;
|
|
332
254
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
333
255
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
334
|
-
|
|
335
|
-
status: number;
|
|
336
|
-
headers: {
|
|
337
|
-
[k: string]: string;
|
|
338
|
-
};
|
|
339
|
-
body: import("./client.js").StripeResponse;
|
|
340
|
-
}>;
|
|
256
|
+
authorize(url: URL, headers: Headers): void;
|
|
341
257
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
342
258
|
value: string;
|
|
343
259
|
label: string;
|
|
@@ -357,13 +273,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
357
273
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
358
274
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
359
275
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
360
|
-
|
|
361
|
-
status: number;
|
|
362
|
-
headers: {
|
|
363
|
-
[k: string]: string;
|
|
364
|
-
};
|
|
365
|
-
body: import("./client.js").StripeResponse;
|
|
366
|
-
}>;
|
|
276
|
+
authorize(url: URL, headers: Headers): void;
|
|
367
277
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
368
278
|
value: string;
|
|
369
279
|
label: string;
|
|
@@ -378,8 +288,8 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
378
288
|
quantity: z.ZodNumber;
|
|
379
289
|
}, z.core.$strip>>;
|
|
380
290
|
afterCompletion: z.ZodOptional<z.ZodEnum<{
|
|
381
|
-
hosted_confirmation: "hosted_confirmation";
|
|
382
291
|
redirect: "redirect";
|
|
292
|
+
hosted_confirmation: "hosted_confirmation";
|
|
383
293
|
}>>;
|
|
384
294
|
redirectUrl: z.ZodOptional<z.ZodString>;
|
|
385
295
|
allowPromotionCodes: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -390,13 +300,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
390
300
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
391
301
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
392
302
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
393
|
-
|
|
394
|
-
status: number;
|
|
395
|
-
headers: {
|
|
396
|
-
[k: string]: string;
|
|
397
|
-
};
|
|
398
|
-
body: import("./client.js").StripeResponse;
|
|
399
|
-
}>;
|
|
303
|
+
authorize(url: URL, headers: Headers): void;
|
|
400
304
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
401
305
|
value: string;
|
|
402
306
|
label: string;
|
|
@@ -409,13 +313,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
409
313
|
paymentLinkId: z.ZodString;
|
|
410
314
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
411
315
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
412
|
-
|
|
413
|
-
status: number;
|
|
414
|
-
headers: {
|
|
415
|
-
[k: string]: string;
|
|
416
|
-
};
|
|
417
|
-
body: import("./client.js").StripeResponse;
|
|
418
|
-
}>;
|
|
316
|
+
authorize(url: URL, headers: Headers): void;
|
|
419
317
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
420
318
|
value: string;
|
|
421
319
|
label: string;
|
|
@@ -428,13 +326,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
428
326
|
paymentIntentId: z.ZodString;
|
|
429
327
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
430
328
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
431
|
-
|
|
432
|
-
status: number;
|
|
433
|
-
headers: {
|
|
434
|
-
[k: string]: string;
|
|
435
|
-
};
|
|
436
|
-
body: import("./client.js").StripeResponse;
|
|
437
|
-
}>;
|
|
329
|
+
authorize(url: URL, headers: Headers): void;
|
|
438
330
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
439
331
|
value: string;
|
|
440
332
|
label: string;
|
|
@@ -447,13 +339,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
447
339
|
invoiceId: z.ZodString;
|
|
448
340
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
449
341
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
450
|
-
|
|
451
|
-
status: number;
|
|
452
|
-
headers: {
|
|
453
|
-
[k: string]: string;
|
|
454
|
-
};
|
|
455
|
-
body: import("./client.js").StripeResponse;
|
|
456
|
-
}>;
|
|
342
|
+
authorize(url: URL, headers: Headers): void;
|
|
457
343
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
458
344
|
value: string;
|
|
459
345
|
label: string;
|
|
@@ -462,41 +348,16 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
462
348
|
unsubscribe(webhookId: string): Promise<void>;
|
|
463
349
|
}, Record<string, z.core.util.JSONType>> & {
|
|
464
350
|
slug: "findInvoice";
|
|
465
|
-
}) |
|
|
466
|
-
method: z.ZodEnum<{
|
|
467
|
-
DELETE: "DELETE";
|
|
468
|
-
GET: "GET";
|
|
469
|
-
POST: "POST";
|
|
470
|
-
}>;
|
|
471
|
-
path: z.ZodString;
|
|
472
|
-
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
473
|
-
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
474
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
475
|
-
status: z.ZodNumber;
|
|
476
|
-
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
477
|
-
body: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
478
|
-
}, z.core.$strip>, Record<string, never>, {
|
|
351
|
+
}) | import("frogbot/pieces").CustomApiCallAction<Record<string, never>, {
|
|
479
352
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
480
|
-
|
|
481
|
-
status: number;
|
|
482
|
-
headers: {
|
|
483
|
-
[k: string]: string;
|
|
484
|
-
};
|
|
485
|
-
body: import("./client.js").StripeResponse;
|
|
486
|
-
}>;
|
|
353
|
+
authorize(url: URL, headers: Headers): void;
|
|
487
354
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
488
355
|
value: string;
|
|
489
356
|
label: string;
|
|
490
357
|
}[]>;
|
|
491
358
|
subscribe(event: string, webhookUrl: string): Promise<import("./client.js").StripeResponse>;
|
|
492
359
|
unsubscribe(webhookId: string): Promise<void>;
|
|
493
|
-
}
|
|
494
|
-
status: number;
|
|
495
|
-
headers: Record<string, string>;
|
|
496
|
-
body: Record<string, z.core.util.JSONType>;
|
|
497
|
-
}> & {
|
|
498
|
-
slug: "sendRequest";
|
|
499
|
-
}))[];
|
|
360
|
+
}>)[];
|
|
500
361
|
triggers: (({
|
|
501
362
|
slug: string;
|
|
502
363
|
label?: string;
|
|
@@ -508,13 +369,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
508
369
|
type: "webhook";
|
|
509
370
|
onEnable(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
510
371
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
511
|
-
|
|
512
|
-
status: number;
|
|
513
|
-
headers: {
|
|
514
|
-
[k: string]: string;
|
|
515
|
-
};
|
|
516
|
-
body: import("./client.js").StripeResponse;
|
|
517
|
-
}>;
|
|
372
|
+
authorize(url: URL, headers: Headers): void;
|
|
518
373
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
519
374
|
value: string;
|
|
520
375
|
label: string;
|
|
@@ -529,13 +384,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
529
384
|
}>;
|
|
530
385
|
onDisable(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
531
386
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
532
|
-
|
|
533
|
-
status: number;
|
|
534
|
-
headers: {
|
|
535
|
-
[k: string]: string;
|
|
536
|
-
};
|
|
537
|
-
body: import("./client.js").StripeResponse;
|
|
538
|
-
}>;
|
|
387
|
+
authorize(url: URL, headers: Headers): void;
|
|
539
388
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
540
389
|
value: string;
|
|
541
390
|
label: string;
|
|
@@ -552,13 +401,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
552
401
|
schedule: string;
|
|
553
402
|
run(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
554
403
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
555
|
-
|
|
556
|
-
status: number;
|
|
557
|
-
headers: {
|
|
558
|
-
[k: string]: string;
|
|
559
|
-
};
|
|
560
|
-
body: import("./client.js").StripeResponse;
|
|
561
|
-
}>;
|
|
404
|
+
authorize(url: URL, headers: Headers): void;
|
|
562
405
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
563
406
|
value: string;
|
|
564
407
|
label: string;
|
|
@@ -578,13 +421,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
578
421
|
} | undefined;
|
|
579
422
|
run(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
580
423
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
581
|
-
|
|
582
|
-
status: number;
|
|
583
|
-
headers: {
|
|
584
|
-
[k: string]: string;
|
|
585
|
-
};
|
|
586
|
-
body: import("./client.js").StripeResponse;
|
|
587
|
-
}>;
|
|
424
|
+
authorize(url: URL, headers: Headers): void;
|
|
588
425
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
589
426
|
value: string;
|
|
590
427
|
label: string;
|
|
@@ -610,13 +447,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
610
447
|
type: "webhook";
|
|
611
448
|
onEnable(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
612
449
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
613
|
-
|
|
614
|
-
status: number;
|
|
615
|
-
headers: {
|
|
616
|
-
[k: string]: string;
|
|
617
|
-
};
|
|
618
|
-
body: import("./client.js").StripeResponse;
|
|
619
|
-
}>;
|
|
450
|
+
authorize(url: URL, headers: Headers): void;
|
|
620
451
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
621
452
|
value: string;
|
|
622
453
|
label: string;
|
|
@@ -631,13 +462,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
631
462
|
}>;
|
|
632
463
|
onDisable(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
633
464
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
634
|
-
|
|
635
|
-
status: number;
|
|
636
|
-
headers: {
|
|
637
|
-
[k: string]: string;
|
|
638
|
-
};
|
|
639
|
-
body: import("./client.js").StripeResponse;
|
|
640
|
-
}>;
|
|
465
|
+
authorize(url: URL, headers: Headers): void;
|
|
641
466
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
642
467
|
value: string;
|
|
643
468
|
label: string;
|
|
@@ -654,13 +479,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
654
479
|
schedule: string;
|
|
655
480
|
run(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
656
481
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
657
|
-
|
|
658
|
-
status: number;
|
|
659
|
-
headers: {
|
|
660
|
-
[k: string]: string;
|
|
661
|
-
};
|
|
662
|
-
body: import("./client.js").StripeResponse;
|
|
663
|
-
}>;
|
|
482
|
+
authorize(url: URL, headers: Headers): void;
|
|
664
483
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
665
484
|
value: string;
|
|
666
485
|
label: string;
|
|
@@ -680,13 +499,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
680
499
|
} | undefined;
|
|
681
500
|
run(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
682
501
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
683
|
-
|
|
684
|
-
status: number;
|
|
685
|
-
headers: {
|
|
686
|
-
[k: string]: string;
|
|
687
|
-
};
|
|
688
|
-
body: import("./client.js").StripeResponse;
|
|
689
|
-
}>;
|
|
502
|
+
authorize(url: URL, headers: Headers): void;
|
|
690
503
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
691
504
|
value: string;
|
|
692
505
|
label: string;
|
|
@@ -712,13 +525,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
712
525
|
type: "webhook";
|
|
713
526
|
onEnable(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
714
527
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
715
|
-
|
|
716
|
-
status: number;
|
|
717
|
-
headers: {
|
|
718
|
-
[k: string]: string;
|
|
719
|
-
};
|
|
720
|
-
body: import("./client.js").StripeResponse;
|
|
721
|
-
}>;
|
|
528
|
+
authorize(url: URL, headers: Headers): void;
|
|
722
529
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
723
530
|
value: string;
|
|
724
531
|
label: string;
|
|
@@ -733,13 +540,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
733
540
|
}>;
|
|
734
541
|
onDisable(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
735
542
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
736
|
-
|
|
737
|
-
status: number;
|
|
738
|
-
headers: {
|
|
739
|
-
[k: string]: string;
|
|
740
|
-
};
|
|
741
|
-
body: import("./client.js").StripeResponse;
|
|
742
|
-
}>;
|
|
543
|
+
authorize(url: URL, headers: Headers): void;
|
|
743
544
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
744
545
|
value: string;
|
|
745
546
|
label: string;
|
|
@@ -756,13 +557,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
756
557
|
schedule: string;
|
|
757
558
|
run(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
758
559
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
759
|
-
|
|
760
|
-
status: number;
|
|
761
|
-
headers: {
|
|
762
|
-
[k: string]: string;
|
|
763
|
-
};
|
|
764
|
-
body: import("./client.js").StripeResponse;
|
|
765
|
-
}>;
|
|
560
|
+
authorize(url: URL, headers: Headers): void;
|
|
766
561
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
767
562
|
value: string;
|
|
768
563
|
label: string;
|
|
@@ -782,13 +577,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
782
577
|
} | undefined;
|
|
783
578
|
run(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
784
579
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
785
|
-
|
|
786
|
-
status: number;
|
|
787
|
-
headers: {
|
|
788
|
-
[k: string]: string;
|
|
789
|
-
};
|
|
790
|
-
body: import("./client.js").StripeResponse;
|
|
791
|
-
}>;
|
|
580
|
+
authorize(url: URL, headers: Headers): void;
|
|
792
581
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
793
582
|
value: string;
|
|
794
583
|
label: string;
|
|
@@ -814,13 +603,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
814
603
|
type: "webhook";
|
|
815
604
|
onEnable(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
816
605
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
817
|
-
|
|
818
|
-
status: number;
|
|
819
|
-
headers: {
|
|
820
|
-
[k: string]: string;
|
|
821
|
-
};
|
|
822
|
-
body: import("./client.js").StripeResponse;
|
|
823
|
-
}>;
|
|
606
|
+
authorize(url: URL, headers: Headers): void;
|
|
824
607
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
825
608
|
value: string;
|
|
826
609
|
label: string;
|
|
@@ -835,13 +618,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
835
618
|
}>;
|
|
836
619
|
onDisable(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
837
620
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
838
|
-
|
|
839
|
-
status: number;
|
|
840
|
-
headers: {
|
|
841
|
-
[k: string]: string;
|
|
842
|
-
};
|
|
843
|
-
body: import("./client.js").StripeResponse;
|
|
844
|
-
}>;
|
|
621
|
+
authorize(url: URL, headers: Headers): void;
|
|
845
622
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
846
623
|
value: string;
|
|
847
624
|
label: string;
|
|
@@ -858,13 +635,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
858
635
|
schedule: string;
|
|
859
636
|
run(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
860
637
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
861
|
-
|
|
862
|
-
status: number;
|
|
863
|
-
headers: {
|
|
864
|
-
[k: string]: string;
|
|
865
|
-
};
|
|
866
|
-
body: import("./client.js").StripeResponse;
|
|
867
|
-
}>;
|
|
638
|
+
authorize(url: URL, headers: Headers): void;
|
|
868
639
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
869
640
|
value: string;
|
|
870
641
|
label: string;
|
|
@@ -884,13 +655,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
884
655
|
} | undefined;
|
|
885
656
|
run(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
886
657
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
887
|
-
|
|
888
|
-
status: number;
|
|
889
|
-
headers: {
|
|
890
|
-
[k: string]: string;
|
|
891
|
-
};
|
|
892
|
-
body: import("./client.js").StripeResponse;
|
|
893
|
-
}>;
|
|
658
|
+
authorize(url: URL, headers: Headers): void;
|
|
894
659
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
895
660
|
value: string;
|
|
896
661
|
label: string;
|
|
@@ -916,13 +681,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
916
681
|
type: "webhook";
|
|
917
682
|
onEnable(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
918
683
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
919
|
-
|
|
920
|
-
status: number;
|
|
921
|
-
headers: {
|
|
922
|
-
[k: string]: string;
|
|
923
|
-
};
|
|
924
|
-
body: import("./client.js").StripeResponse;
|
|
925
|
-
}>;
|
|
684
|
+
authorize(url: URL, headers: Headers): void;
|
|
926
685
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
927
686
|
value: string;
|
|
928
687
|
label: string;
|
|
@@ -937,13 +696,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
937
696
|
}>;
|
|
938
697
|
onDisable(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
939
698
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
940
|
-
|
|
941
|
-
status: number;
|
|
942
|
-
headers: {
|
|
943
|
-
[k: string]: string;
|
|
944
|
-
};
|
|
945
|
-
body: import("./client.js").StripeResponse;
|
|
946
|
-
}>;
|
|
699
|
+
authorize(url: URL, headers: Headers): void;
|
|
947
700
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
948
701
|
value: string;
|
|
949
702
|
label: string;
|
|
@@ -960,13 +713,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
960
713
|
schedule: string;
|
|
961
714
|
run(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
962
715
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
963
|
-
|
|
964
|
-
status: number;
|
|
965
|
-
headers: {
|
|
966
|
-
[k: string]: string;
|
|
967
|
-
};
|
|
968
|
-
body: import("./client.js").StripeResponse;
|
|
969
|
-
}>;
|
|
716
|
+
authorize(url: URL, headers: Headers): void;
|
|
970
717
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
971
718
|
value: string;
|
|
972
719
|
label: string;
|
|
@@ -986,13 +733,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
986
733
|
} | undefined;
|
|
987
734
|
run(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
988
735
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
989
|
-
|
|
990
|
-
status: number;
|
|
991
|
-
headers: {
|
|
992
|
-
[k: string]: string;
|
|
993
|
-
};
|
|
994
|
-
body: import("./client.js").StripeResponse;
|
|
995
|
-
}>;
|
|
736
|
+
authorize(url: URL, headers: Headers): void;
|
|
996
737
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
997
738
|
value: string;
|
|
998
739
|
label: string;
|
|
@@ -1032,13 +773,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1032
773
|
subscriptionId?: string | undefined;
|
|
1033
774
|
}, Record<string, never>, {
|
|
1034
775
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1035
|
-
|
|
1036
|
-
status: number;
|
|
1037
|
-
headers: {
|
|
1038
|
-
[k: string]: string;
|
|
1039
|
-
};
|
|
1040
|
-
body: import("./client.js").StripeResponse;
|
|
1041
|
-
}>;
|
|
776
|
+
authorize(url: URL, headers: Headers): void;
|
|
1042
777
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1043
778
|
value: string;
|
|
1044
779
|
label: string;
|
|
@@ -1057,13 +792,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1057
792
|
subscriptionId?: string | undefined;
|
|
1058
793
|
}, Record<string, never>, {
|
|
1059
794
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1060
|
-
|
|
1061
|
-
status: number;
|
|
1062
|
-
headers: {
|
|
1063
|
-
[k: string]: string;
|
|
1064
|
-
};
|
|
1065
|
-
body: import("./client.js").StripeResponse;
|
|
1066
|
-
}>;
|
|
795
|
+
authorize(url: URL, headers: Headers): void;
|
|
1067
796
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1068
797
|
value: string;
|
|
1069
798
|
label: string;
|
|
@@ -1084,13 +813,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1084
813
|
subscriptionId?: string | undefined;
|
|
1085
814
|
}, Record<string, never>, {
|
|
1086
815
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1087
|
-
|
|
1088
|
-
status: number;
|
|
1089
|
-
headers: {
|
|
1090
|
-
[k: string]: string;
|
|
1091
|
-
};
|
|
1092
|
-
body: import("./client.js").StripeResponse;
|
|
1093
|
-
}>;
|
|
816
|
+
authorize(url: URL, headers: Headers): void;
|
|
1094
817
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1095
818
|
value: string;
|
|
1096
819
|
label: string;
|
|
@@ -1114,13 +837,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1114
837
|
subscriptionId?: string | undefined;
|
|
1115
838
|
}, Record<string, never>, {
|
|
1116
839
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1117
|
-
|
|
1118
|
-
status: number;
|
|
1119
|
-
headers: {
|
|
1120
|
-
[k: string]: string;
|
|
1121
|
-
};
|
|
1122
|
-
body: import("./client.js").StripeResponse;
|
|
1123
|
-
}>;
|
|
840
|
+
authorize(url: URL, headers: Headers): void;
|
|
1124
841
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1125
842
|
value: string;
|
|
1126
843
|
label: string;
|
|
@@ -1150,13 +867,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1150
867
|
customerId?: string | undefined;
|
|
1151
868
|
}, Record<string, never>, {
|
|
1152
869
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1153
|
-
|
|
1154
|
-
status: number;
|
|
1155
|
-
headers: {
|
|
1156
|
-
[k: string]: string;
|
|
1157
|
-
};
|
|
1158
|
-
body: import("./client.js").StripeResponse;
|
|
1159
|
-
}>;
|
|
870
|
+
authorize(url: URL, headers: Headers): void;
|
|
1160
871
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1161
872
|
value: string;
|
|
1162
873
|
label: string;
|
|
@@ -1173,13 +884,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1173
884
|
customerId?: string | undefined;
|
|
1174
885
|
}, Record<string, never>, {
|
|
1175
886
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1176
|
-
|
|
1177
|
-
status: number;
|
|
1178
|
-
headers: {
|
|
1179
|
-
[k: string]: string;
|
|
1180
|
-
};
|
|
1181
|
-
body: import("./client.js").StripeResponse;
|
|
1182
|
-
}>;
|
|
887
|
+
authorize(url: URL, headers: Headers): void;
|
|
1183
888
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1184
889
|
value: string;
|
|
1185
890
|
label: string;
|
|
@@ -1198,13 +903,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1198
903
|
customerId?: string | undefined;
|
|
1199
904
|
}, Record<string, never>, {
|
|
1200
905
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1201
|
-
|
|
1202
|
-
status: number;
|
|
1203
|
-
headers: {
|
|
1204
|
-
[k: string]: string;
|
|
1205
|
-
};
|
|
1206
|
-
body: import("./client.js").StripeResponse;
|
|
1207
|
-
}>;
|
|
906
|
+
authorize(url: URL, headers: Headers): void;
|
|
1208
907
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1209
908
|
value: string;
|
|
1210
909
|
label: string;
|
|
@@ -1226,13 +925,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1226
925
|
customerId?: string | undefined;
|
|
1227
926
|
}, Record<string, never>, {
|
|
1228
927
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1229
|
-
|
|
1230
|
-
status: number;
|
|
1231
|
-
headers: {
|
|
1232
|
-
[k: string]: string;
|
|
1233
|
-
};
|
|
1234
|
-
body: import("./client.js").StripeResponse;
|
|
1235
|
-
}>;
|
|
928
|
+
authorize(url: URL, headers: Headers): void;
|
|
1236
929
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1237
930
|
value: string;
|
|
1238
931
|
label: string;
|
|
@@ -1262,13 +955,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1262
955
|
customerId?: string | undefined;
|
|
1263
956
|
}, Record<string, never>, {
|
|
1264
957
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1265
|
-
|
|
1266
|
-
status: number;
|
|
1267
|
-
headers: {
|
|
1268
|
-
[k: string]: string;
|
|
1269
|
-
};
|
|
1270
|
-
body: import("./client.js").StripeResponse;
|
|
1271
|
-
}>;
|
|
958
|
+
authorize(url: URL, headers: Headers): void;
|
|
1272
959
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1273
960
|
value: string;
|
|
1274
961
|
label: string;
|
|
@@ -1285,13 +972,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1285
972
|
customerId?: string | undefined;
|
|
1286
973
|
}, Record<string, never>, {
|
|
1287
974
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1288
|
-
|
|
1289
|
-
status: number;
|
|
1290
|
-
headers: {
|
|
1291
|
-
[k: string]: string;
|
|
1292
|
-
};
|
|
1293
|
-
body: import("./client.js").StripeResponse;
|
|
1294
|
-
}>;
|
|
975
|
+
authorize(url: URL, headers: Headers): void;
|
|
1295
976
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1296
977
|
value: string;
|
|
1297
978
|
label: string;
|
|
@@ -1310,13 +991,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1310
991
|
customerId?: string | undefined;
|
|
1311
992
|
}, Record<string, never>, {
|
|
1312
993
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1313
|
-
|
|
1314
|
-
status: number;
|
|
1315
|
-
headers: {
|
|
1316
|
-
[k: string]: string;
|
|
1317
|
-
};
|
|
1318
|
-
body: import("./client.js").StripeResponse;
|
|
1319
|
-
}>;
|
|
994
|
+
authorize(url: URL, headers: Headers): void;
|
|
1320
995
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1321
996
|
value: string;
|
|
1322
997
|
label: string;
|
|
@@ -1338,13 +1013,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1338
1013
|
customerId?: string | undefined;
|
|
1339
1014
|
}, Record<string, never>, {
|
|
1340
1015
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1341
|
-
|
|
1342
|
-
status: number;
|
|
1343
|
-
headers: {
|
|
1344
|
-
[k: string]: string;
|
|
1345
|
-
};
|
|
1346
|
-
body: import("./client.js").StripeResponse;
|
|
1347
|
-
}>;
|
|
1016
|
+
authorize(url: URL, headers: Headers): void;
|
|
1348
1017
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1349
1018
|
value: string;
|
|
1350
1019
|
label: string;
|
|
@@ -1376,13 +1045,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1376
1045
|
paymentIntentId?: string | undefined;
|
|
1377
1046
|
}, Record<string, never>, {
|
|
1378
1047
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1379
|
-
|
|
1380
|
-
status: number;
|
|
1381
|
-
headers: {
|
|
1382
|
-
[k: string]: string;
|
|
1383
|
-
};
|
|
1384
|
-
body: import("./client.js").StripeResponse;
|
|
1385
|
-
}>;
|
|
1048
|
+
authorize(url: URL, headers: Headers): void;
|
|
1386
1049
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1387
1050
|
value: string;
|
|
1388
1051
|
label: string;
|
|
@@ -1400,13 +1063,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1400
1063
|
paymentIntentId?: string | undefined;
|
|
1401
1064
|
}, Record<string, never>, {
|
|
1402
1065
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1403
|
-
|
|
1404
|
-
status: number;
|
|
1405
|
-
headers: {
|
|
1406
|
-
[k: string]: string;
|
|
1407
|
-
};
|
|
1408
|
-
body: import("./client.js").StripeResponse;
|
|
1409
|
-
}>;
|
|
1066
|
+
authorize(url: URL, headers: Headers): void;
|
|
1410
1067
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1411
1068
|
value: string;
|
|
1412
1069
|
label: string;
|
|
@@ -1426,13 +1083,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1426
1083
|
paymentIntentId?: string | undefined;
|
|
1427
1084
|
}, Record<string, never>, {
|
|
1428
1085
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1429
|
-
|
|
1430
|
-
status: number;
|
|
1431
|
-
headers: {
|
|
1432
|
-
[k: string]: string;
|
|
1433
|
-
};
|
|
1434
|
-
body: import("./client.js").StripeResponse;
|
|
1435
|
-
}>;
|
|
1086
|
+
authorize(url: URL, headers: Headers): void;
|
|
1436
1087
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1437
1088
|
value: string;
|
|
1438
1089
|
label: string;
|
|
@@ -1455,13 +1106,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1455
1106
|
paymentIntentId?: string | undefined;
|
|
1456
1107
|
}, Record<string, never>, {
|
|
1457
1108
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1458
|
-
|
|
1459
|
-
status: number;
|
|
1460
|
-
headers: {
|
|
1461
|
-
[k: string]: string;
|
|
1462
|
-
};
|
|
1463
|
-
body: import("./client.js").StripeResponse;
|
|
1464
|
-
}>;
|
|
1109
|
+
authorize(url: URL, headers: Headers): void;
|
|
1465
1110
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1466
1111
|
value: string;
|
|
1467
1112
|
label: string;
|
|
@@ -1493,13 +1138,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1493
1138
|
paymentIntentId?: string | undefined;
|
|
1494
1139
|
}, Record<string, never>, {
|
|
1495
1140
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1496
|
-
|
|
1497
|
-
status: number;
|
|
1498
|
-
headers: {
|
|
1499
|
-
[k: string]: string;
|
|
1500
|
-
};
|
|
1501
|
-
body: import("./client.js").StripeResponse;
|
|
1502
|
-
}>;
|
|
1141
|
+
authorize(url: URL, headers: Headers): void;
|
|
1503
1142
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1504
1143
|
value: string;
|
|
1505
1144
|
label: string;
|
|
@@ -1517,13 +1156,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1517
1156
|
paymentIntentId?: string | undefined;
|
|
1518
1157
|
}, Record<string, never>, {
|
|
1519
1158
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1520
|
-
|
|
1521
|
-
status: number;
|
|
1522
|
-
headers: {
|
|
1523
|
-
[k: string]: string;
|
|
1524
|
-
};
|
|
1525
|
-
body: import("./client.js").StripeResponse;
|
|
1526
|
-
}>;
|
|
1159
|
+
authorize(url: URL, headers: Headers): void;
|
|
1527
1160
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1528
1161
|
value: string;
|
|
1529
1162
|
label: string;
|
|
@@ -1543,13 +1176,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1543
1176
|
paymentIntentId?: string | undefined;
|
|
1544
1177
|
}, Record<string, never>, {
|
|
1545
1178
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1546
|
-
|
|
1547
|
-
status: number;
|
|
1548
|
-
headers: {
|
|
1549
|
-
[k: string]: string;
|
|
1550
|
-
};
|
|
1551
|
-
body: import("./client.js").StripeResponse;
|
|
1552
|
-
}>;
|
|
1179
|
+
authorize(url: URL, headers: Headers): void;
|
|
1553
1180
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1554
1181
|
value: string;
|
|
1555
1182
|
label: string;
|
|
@@ -1572,13 +1199,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1572
1199
|
paymentIntentId?: string | undefined;
|
|
1573
1200
|
}, Record<string, never>, {
|
|
1574
1201
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1575
|
-
|
|
1576
|
-
status: number;
|
|
1577
|
-
headers: {
|
|
1578
|
-
[k: string]: string;
|
|
1579
|
-
};
|
|
1580
|
-
body: import("./client.js").StripeResponse;
|
|
1581
|
-
}>;
|
|
1202
|
+
authorize(url: URL, headers: Headers): void;
|
|
1582
1203
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1583
1204
|
value: string;
|
|
1584
1205
|
label: string;
|
|
@@ -1604,13 +1225,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1604
1225
|
type: "webhook";
|
|
1605
1226
|
onEnable(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
1606
1227
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1607
|
-
|
|
1608
|
-
status: number;
|
|
1609
|
-
headers: {
|
|
1610
|
-
[k: string]: string;
|
|
1611
|
-
};
|
|
1612
|
-
body: import("./client.js").StripeResponse;
|
|
1613
|
-
}>;
|
|
1228
|
+
authorize(url: URL, headers: Headers): void;
|
|
1614
1229
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1615
1230
|
value: string;
|
|
1616
1231
|
label: string;
|
|
@@ -1625,13 +1240,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1625
1240
|
}>;
|
|
1626
1241
|
onDisable(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
1627
1242
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1628
|
-
|
|
1629
|
-
status: number;
|
|
1630
|
-
headers: {
|
|
1631
|
-
[k: string]: string;
|
|
1632
|
-
};
|
|
1633
|
-
body: import("./client.js").StripeResponse;
|
|
1634
|
-
}>;
|
|
1243
|
+
authorize(url: URL, headers: Headers): void;
|
|
1635
1244
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1636
1245
|
value: string;
|
|
1637
1246
|
label: string;
|
|
@@ -1648,13 +1257,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1648
1257
|
schedule: string;
|
|
1649
1258
|
run(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
1650
1259
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1651
|
-
|
|
1652
|
-
status: number;
|
|
1653
|
-
headers: {
|
|
1654
|
-
[k: string]: string;
|
|
1655
|
-
};
|
|
1656
|
-
body: import("./client.js").StripeResponse;
|
|
1657
|
-
}>;
|
|
1260
|
+
authorize(url: URL, headers: Headers): void;
|
|
1658
1261
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1659
1262
|
value: string;
|
|
1660
1263
|
label: string;
|
|
@@ -1674,13 +1277,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1674
1277
|
} | undefined;
|
|
1675
1278
|
run(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, Record<string, never>, {
|
|
1676
1279
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1677
|
-
|
|
1678
|
-
status: number;
|
|
1679
|
-
headers: {
|
|
1680
|
-
[k: string]: string;
|
|
1681
|
-
};
|
|
1682
|
-
body: import("./client.js").StripeResponse;
|
|
1683
|
-
}>;
|
|
1280
|
+
authorize(url: URL, headers: Headers): void;
|
|
1684
1281
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1685
1282
|
value: string;
|
|
1686
1283
|
label: string;
|
|
@@ -1721,13 +1318,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1721
1318
|
customerId?: string | undefined;
|
|
1722
1319
|
}, Record<string, never>, {
|
|
1723
1320
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1724
|
-
|
|
1725
|
-
status: number;
|
|
1726
|
-
headers: {
|
|
1727
|
-
[k: string]: string;
|
|
1728
|
-
};
|
|
1729
|
-
body: import("./client.js").StripeResponse;
|
|
1730
|
-
}>;
|
|
1321
|
+
authorize(url: URL, headers: Headers): void;
|
|
1731
1322
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1732
1323
|
value: string;
|
|
1733
1324
|
label: string;
|
|
@@ -1745,13 +1336,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1745
1336
|
customerId?: string | undefined;
|
|
1746
1337
|
}, Record<string, never>, {
|
|
1747
1338
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1748
|
-
|
|
1749
|
-
status: number;
|
|
1750
|
-
headers: {
|
|
1751
|
-
[k: string]: string;
|
|
1752
|
-
};
|
|
1753
|
-
body: import("./client.js").StripeResponse;
|
|
1754
|
-
}>;
|
|
1339
|
+
authorize(url: URL, headers: Headers): void;
|
|
1755
1340
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1756
1341
|
value: string;
|
|
1757
1342
|
label: string;
|
|
@@ -1771,13 +1356,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1771
1356
|
customerId?: string | undefined;
|
|
1772
1357
|
}, Record<string, never>, {
|
|
1773
1358
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1774
|
-
|
|
1775
|
-
status: number;
|
|
1776
|
-
headers: {
|
|
1777
|
-
[k: string]: string;
|
|
1778
|
-
};
|
|
1779
|
-
body: import("./client.js").StripeResponse;
|
|
1780
|
-
}>;
|
|
1359
|
+
authorize(url: URL, headers: Headers): void;
|
|
1781
1360
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1782
1361
|
value: string;
|
|
1783
1362
|
label: string;
|
|
@@ -1800,13 +1379,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1800
1379
|
customerId?: string | undefined;
|
|
1801
1380
|
}, Record<string, never>, {
|
|
1802
1381
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1803
|
-
|
|
1804
|
-
status: number;
|
|
1805
|
-
headers: {
|
|
1806
|
-
[k: string]: string;
|
|
1807
|
-
};
|
|
1808
|
-
body: import("./client.js").StripeResponse;
|
|
1809
|
-
}>;
|
|
1382
|
+
authorize(url: URL, headers: Headers): void;
|
|
1810
1383
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1811
1384
|
value: string;
|
|
1812
1385
|
label: string;
|
|
@@ -1836,13 +1409,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1836
1409
|
customerId?: string | undefined;
|
|
1837
1410
|
}, Record<string, never>, {
|
|
1838
1411
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1839
|
-
|
|
1840
|
-
status: number;
|
|
1841
|
-
headers: {
|
|
1842
|
-
[k: string]: string;
|
|
1843
|
-
};
|
|
1844
|
-
body: import("./client.js").StripeResponse;
|
|
1845
|
-
}>;
|
|
1412
|
+
authorize(url: URL, headers: Headers): void;
|
|
1846
1413
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1847
1414
|
value: string;
|
|
1848
1415
|
label: string;
|
|
@@ -1859,13 +1426,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1859
1426
|
customerId?: string | undefined;
|
|
1860
1427
|
}, Record<string, never>, {
|
|
1861
1428
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1862
|
-
|
|
1863
|
-
status: number;
|
|
1864
|
-
headers: {
|
|
1865
|
-
[k: string]: string;
|
|
1866
|
-
};
|
|
1867
|
-
body: import("./client.js").StripeResponse;
|
|
1868
|
-
}>;
|
|
1429
|
+
authorize(url: URL, headers: Headers): void;
|
|
1869
1430
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1870
1431
|
value: string;
|
|
1871
1432
|
label: string;
|
|
@@ -1884,13 +1445,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1884
1445
|
customerId?: string | undefined;
|
|
1885
1446
|
}, Record<string, never>, {
|
|
1886
1447
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1887
|
-
|
|
1888
|
-
status: number;
|
|
1889
|
-
headers: {
|
|
1890
|
-
[k: string]: string;
|
|
1891
|
-
};
|
|
1892
|
-
body: import("./client.js").StripeResponse;
|
|
1893
|
-
}>;
|
|
1448
|
+
authorize(url: URL, headers: Headers): void;
|
|
1894
1449
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1895
1450
|
value: string;
|
|
1896
1451
|
label: string;
|
|
@@ -1912,13 +1467,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
1912
1467
|
customerId?: string | undefined;
|
|
1913
1468
|
}, Record<string, never>, {
|
|
1914
1469
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
1915
|
-
|
|
1916
|
-
status: number;
|
|
1917
|
-
headers: {
|
|
1918
|
-
[k: string]: string;
|
|
1919
|
-
};
|
|
1920
|
-
body: import("./client.js").StripeResponse;
|
|
1921
|
-
}>;
|
|
1470
|
+
authorize(url: URL, headers: Headers): void;
|
|
1922
1471
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
1923
1472
|
value: string;
|
|
1924
1473
|
label: string;
|