@frogbotai/piece-stripe 0.31.0 → 0.32.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 +83 -534
- 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;
|
|
@@ -30,7 +24,16 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
30
24
|
subscribe(event: string, webhookUrl: string): Promise<import("./client.js").StripeResponse>;
|
|
31
25
|
unsubscribe(webhookId: string): Promise<void>;
|
|
32
26
|
};
|
|
33
|
-
actions: (
|
|
27
|
+
actions: (import("frogbot/pieces").CustomApiCallAction<Record<string, never>, {
|
|
28
|
+
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
29
|
+
authorize(url: URL, headers: Headers): void;
|
|
30
|
+
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
31
|
+
value: string;
|
|
32
|
+
label: string;
|
|
33
|
+
}[]>;
|
|
34
|
+
subscribe(event: string, webhookUrl: string): Promise<import("./client.js").StripeResponse>;
|
|
35
|
+
unsubscribe(webhookId: string): Promise<void>;
|
|
36
|
+
}> | (import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
|
|
34
37
|
line1: z.ZodOptional<z.ZodString>;
|
|
35
38
|
postalCode: z.ZodOptional<z.ZodString>;
|
|
36
39
|
city: z.ZodOptional<z.ZodString>;
|
|
@@ -42,13 +45,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
42
45
|
phone: z.ZodOptional<z.ZodString>;
|
|
43
46
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
44
47
|
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
|
-
}>;
|
|
48
|
+
authorize(url: URL, headers: Headers): void;
|
|
52
49
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
53
50
|
value: string;
|
|
54
51
|
label: string;
|
|
@@ -63,13 +60,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
63
60
|
daysUntilDue: z.ZodOptional<z.ZodNumber>;
|
|
64
61
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
65
62
|
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
|
-
}>;
|
|
63
|
+
authorize(url: URL, headers: Headers): void;
|
|
73
64
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
74
65
|
value: string;
|
|
75
66
|
label: string;
|
|
@@ -82,13 +73,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
82
73
|
email: z.ZodString;
|
|
83
74
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
84
75
|
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
|
-
}>;
|
|
76
|
+
authorize(url: URL, headers: Headers): void;
|
|
92
77
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
93
78
|
value: string;
|
|
94
79
|
label: string;
|
|
@@ -116,13 +101,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
116
101
|
includeCustomerDetails: z.ZodDefault<z.ZodBoolean>;
|
|
117
102
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
118
103
|
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
|
-
}>;
|
|
104
|
+
authorize(url: URL, headers: Headers): void;
|
|
126
105
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
127
106
|
value: string;
|
|
128
107
|
label: string;
|
|
@@ -135,13 +114,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
135
114
|
customerId: z.ZodString;
|
|
136
115
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
137
116
|
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
|
-
}>;
|
|
117
|
+
authorize(url: URL, headers: Headers): void;
|
|
145
118
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
146
119
|
value: string;
|
|
147
120
|
label: string;
|
|
@@ -163,13 +136,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
163
136
|
phone: z.ZodOptional<z.ZodString>;
|
|
164
137
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
165
138
|
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
|
-
}>;
|
|
139
|
+
authorize(url: URL, headers: Headers): void;
|
|
173
140
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
174
141
|
value: string;
|
|
175
142
|
label: string;
|
|
@@ -189,13 +156,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
189
156
|
receiptEmail: z.ZodOptional<z.ZodString>;
|
|
190
157
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
191
158
|
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
|
-
}>;
|
|
159
|
+
authorize(url: URL, headers: Headers): void;
|
|
199
160
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
200
161
|
value: string;
|
|
201
162
|
label: string;
|
|
@@ -213,13 +174,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
213
174
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
214
175
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
215
176
|
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
|
-
}>;
|
|
177
|
+
authorize(url: URL, headers: Headers): void;
|
|
223
178
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
224
179
|
value: string;
|
|
225
180
|
label: string;
|
|
@@ -242,13 +197,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
242
197
|
recurringIntervalCount: z.ZodOptional<z.ZodNumber>;
|
|
243
198
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
244
199
|
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
|
-
}>;
|
|
200
|
+
authorize(url: URL, headers: Headers): void;
|
|
252
201
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
253
202
|
value: string;
|
|
254
203
|
label: string;
|
|
@@ -273,13 +222,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
273
222
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
274
223
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
275
224
|
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
|
-
}>;
|
|
225
|
+
authorize(url: URL, headers: Headers): void;
|
|
283
226
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
284
227
|
value: string;
|
|
285
228
|
label: string;
|
|
@@ -293,13 +236,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
293
236
|
cancelAtPeriodEnd: z.ZodDefault<z.ZodBoolean>;
|
|
294
237
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
295
238
|
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
|
-
}>;
|
|
239
|
+
authorize(url: URL, headers: Headers): void;
|
|
303
240
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
304
241
|
value: string;
|
|
305
242
|
label: string;
|
|
@@ -312,13 +249,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
312
249
|
invoiceId: z.ZodString;
|
|
313
250
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
314
251
|
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
|
-
}>;
|
|
252
|
+
authorize(url: URL, headers: Headers): void;
|
|
322
253
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
323
254
|
value: string;
|
|
324
255
|
label: string;
|
|
@@ -331,13 +262,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
331
262
|
payoutId: z.ZodString;
|
|
332
263
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
333
264
|
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
|
-
}>;
|
|
265
|
+
authorize(url: URL, headers: Headers): void;
|
|
341
266
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
342
267
|
value: string;
|
|
343
268
|
label: string;
|
|
@@ -357,13 +282,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
357
282
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
358
283
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
359
284
|
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
|
-
}>;
|
|
285
|
+
authorize(url: URL, headers: Headers): void;
|
|
367
286
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
368
287
|
value: string;
|
|
369
288
|
label: string;
|
|
@@ -378,8 +297,8 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
378
297
|
quantity: z.ZodNumber;
|
|
379
298
|
}, z.core.$strip>>;
|
|
380
299
|
afterCompletion: z.ZodOptional<z.ZodEnum<{
|
|
381
|
-
hosted_confirmation: "hosted_confirmation";
|
|
382
300
|
redirect: "redirect";
|
|
301
|
+
hosted_confirmation: "hosted_confirmation";
|
|
383
302
|
}>>;
|
|
384
303
|
redirectUrl: z.ZodOptional<z.ZodString>;
|
|
385
304
|
allowPromotionCodes: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -390,13 +309,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
390
309
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
391
310
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
392
311
|
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
|
-
}>;
|
|
312
|
+
authorize(url: URL, headers: Headers): void;
|
|
400
313
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
401
314
|
value: string;
|
|
402
315
|
label: string;
|
|
@@ -409,13 +322,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
409
322
|
paymentLinkId: z.ZodString;
|
|
410
323
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
411
324
|
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
|
-
}>;
|
|
325
|
+
authorize(url: URL, headers: Headers): void;
|
|
419
326
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
420
327
|
value: string;
|
|
421
328
|
label: string;
|
|
@@ -428,13 +335,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
428
335
|
paymentIntentId: z.ZodString;
|
|
429
336
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
430
337
|
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
|
-
}>;
|
|
338
|
+
authorize(url: URL, headers: Headers): void;
|
|
438
339
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
439
340
|
value: string;
|
|
440
341
|
label: string;
|
|
@@ -447,13 +348,7 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
447
348
|
invoiceId: z.ZodString;
|
|
448
349
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
449
350
|
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
|
-
}>;
|
|
351
|
+
authorize(url: URL, headers: Headers): void;
|
|
457
352
|
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
458
353
|
value: string;
|
|
459
354
|
label: string;
|
|
@@ -462,40 +357,6 @@ export declare const createStripe: import("frogbot/pieces").PieceFactory<{
|
|
|
462
357
|
unsubscribe(webhookId: string): Promise<void>;
|
|
463
358
|
}, Record<string, z.core.util.JSONType>> & {
|
|
464
359
|
slug: "findInvoice";
|
|
465
|
-
}) | (import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
|
|
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>, {
|
|
479
|
-
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<import("./client.js").StripeResponse>;
|
|
480
|
-
requestResponse: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<{
|
|
481
|
-
status: number;
|
|
482
|
-
headers: {
|
|
483
|
-
[k: string]: string;
|
|
484
|
-
};
|
|
485
|
-
body: import("./client.js").StripeResponse;
|
|
486
|
-
}>;
|
|
487
|
-
options(resource: string, label: (item: import("./client.js").StripeResponse) => string): Promise<{
|
|
488
|
-
value: string;
|
|
489
|
-
label: string;
|
|
490
|
-
}[]>;
|
|
491
|
-
subscribe(event: string, webhookUrl: string): Promise<import("./client.js").StripeResponse>;
|
|
492
|
-
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;
|
|
@@ -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;
|