@frogbotai/piece-stripe 0.30.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/dist/triggers.js.map +1 -1
- package/package.json +3 -3
package/dist/actions.d.ts
CHANGED
|
@@ -13,13 +13,7 @@ export declare const createCustomer: PieceActionDefinition<z.ZodObject<{
|
|
|
13
13
|
phone: z.ZodOptional<z.ZodString>;
|
|
14
14
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
15
15
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
16
|
-
|
|
17
|
-
status: number;
|
|
18
|
-
headers: {
|
|
19
|
-
[k: string]: string;
|
|
20
|
-
};
|
|
21
|
-
body: StripeResponse;
|
|
22
|
-
}>;
|
|
16
|
+
authorize(url: URL, headers: Headers): void;
|
|
23
17
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
24
18
|
value: string;
|
|
25
19
|
label: string;
|
|
@@ -35,13 +29,7 @@ export declare const createInvoice: PieceActionDefinition<z.ZodObject<{
|
|
|
35
29
|
daysUntilDue: z.ZodOptional<z.ZodNumber>;
|
|
36
30
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
37
31
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
38
|
-
|
|
39
|
-
status: number;
|
|
40
|
-
headers: {
|
|
41
|
-
[k: string]: string;
|
|
42
|
-
};
|
|
43
|
-
body: StripeResponse;
|
|
44
|
-
}>;
|
|
32
|
+
authorize(url: URL, headers: Headers): void;
|
|
45
33
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
46
34
|
value: string;
|
|
47
35
|
label: string;
|
|
@@ -55,13 +43,7 @@ export declare const searchCustomers: PieceActionDefinition<z.ZodObject<{
|
|
|
55
43
|
email: z.ZodString;
|
|
56
44
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
57
45
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
58
|
-
|
|
59
|
-
status: number;
|
|
60
|
-
headers: {
|
|
61
|
-
[k: string]: string;
|
|
62
|
-
};
|
|
63
|
-
body: StripeResponse;
|
|
64
|
-
}>;
|
|
46
|
+
authorize(url: URL, headers: Headers): void;
|
|
65
47
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
66
48
|
value: string;
|
|
67
49
|
label: string;
|
|
@@ -90,13 +72,7 @@ export declare const searchSubscriptions: PieceActionDefinition<z.ZodObject<{
|
|
|
90
72
|
includeCustomerDetails: z.ZodDefault<z.ZodBoolean>;
|
|
91
73
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
92
74
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
93
|
-
|
|
94
|
-
status: number;
|
|
95
|
-
headers: {
|
|
96
|
-
[k: string]: string;
|
|
97
|
-
};
|
|
98
|
-
body: StripeResponse;
|
|
99
|
-
}>;
|
|
75
|
+
authorize(url: URL, headers: Headers): void;
|
|
100
76
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
101
77
|
value: string;
|
|
102
78
|
label: string;
|
|
@@ -110,13 +86,7 @@ export declare const getCustomer: PieceActionDefinition<z.ZodObject<{
|
|
|
110
86
|
customerId: z.ZodString;
|
|
111
87
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
112
88
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
113
|
-
|
|
114
|
-
status: number;
|
|
115
|
-
headers: {
|
|
116
|
-
[k: string]: string;
|
|
117
|
-
};
|
|
118
|
-
body: StripeResponse;
|
|
119
|
-
}>;
|
|
89
|
+
authorize(url: URL, headers: Headers): void;
|
|
120
90
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
121
91
|
value: string;
|
|
122
92
|
label: string;
|
|
@@ -139,13 +109,7 @@ export declare const updateCustomer: PieceActionDefinition<z.ZodObject<{
|
|
|
139
109
|
phone: z.ZodOptional<z.ZodString>;
|
|
140
110
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
141
111
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
142
|
-
|
|
143
|
-
status: number;
|
|
144
|
-
headers: {
|
|
145
|
-
[k: string]: string;
|
|
146
|
-
};
|
|
147
|
-
body: StripeResponse;
|
|
148
|
-
}>;
|
|
112
|
+
authorize(url: URL, headers: Headers): void;
|
|
149
113
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
150
114
|
value: string;
|
|
151
115
|
label: string;
|
|
@@ -166,13 +130,7 @@ export declare const createPaymentIntent: PieceActionDefinition<z.ZodObject<{
|
|
|
166
130
|
receiptEmail: z.ZodOptional<z.ZodString>;
|
|
167
131
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
168
132
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
169
|
-
|
|
170
|
-
status: number;
|
|
171
|
-
headers: {
|
|
172
|
-
[k: string]: string;
|
|
173
|
-
};
|
|
174
|
-
body: StripeResponse;
|
|
175
|
-
}>;
|
|
133
|
+
authorize(url: URL, headers: Headers): void;
|
|
176
134
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
177
135
|
value: string;
|
|
178
136
|
label: string;
|
|
@@ -191,13 +149,7 @@ export declare const createProduct: PieceActionDefinition<z.ZodObject<{
|
|
|
191
149
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
192
150
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
193
151
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
194
|
-
|
|
195
|
-
status: number;
|
|
196
|
-
headers: {
|
|
197
|
-
[k: string]: string;
|
|
198
|
-
};
|
|
199
|
-
body: StripeResponse;
|
|
200
|
-
}>;
|
|
152
|
+
authorize(url: URL, headers: Headers): void;
|
|
201
153
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
202
154
|
value: string;
|
|
203
155
|
label: string;
|
|
@@ -221,13 +173,7 @@ export declare const createPrice: PieceActionDefinition<z.ZodObject<{
|
|
|
221
173
|
recurringIntervalCount: z.ZodOptional<z.ZodNumber>;
|
|
222
174
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
223
175
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
224
|
-
|
|
225
|
-
status: number;
|
|
226
|
-
headers: {
|
|
227
|
-
[k: string]: string;
|
|
228
|
-
};
|
|
229
|
-
body: StripeResponse;
|
|
230
|
-
}>;
|
|
176
|
+
authorize(url: URL, headers: Headers): void;
|
|
231
177
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
232
178
|
value: string;
|
|
233
179
|
label: string;
|
|
@@ -253,13 +199,7 @@ export declare const createSubscription: PieceActionDefinition<z.ZodObject<{
|
|
|
253
199
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
254
200
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
255
201
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
256
|
-
|
|
257
|
-
status: number;
|
|
258
|
-
headers: {
|
|
259
|
-
[k: string]: string;
|
|
260
|
-
};
|
|
261
|
-
body: StripeResponse;
|
|
262
|
-
}>;
|
|
202
|
+
authorize(url: URL, headers: Headers): void;
|
|
263
203
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
264
204
|
value: string;
|
|
265
205
|
label: string;
|
|
@@ -274,13 +214,7 @@ export declare const cancelSubscription: PieceActionDefinition<z.ZodObject<{
|
|
|
274
214
|
cancelAtPeriodEnd: z.ZodDefault<z.ZodBoolean>;
|
|
275
215
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
276
216
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
277
|
-
|
|
278
|
-
status: number;
|
|
279
|
-
headers: {
|
|
280
|
-
[k: string]: string;
|
|
281
|
-
};
|
|
282
|
-
body: StripeResponse;
|
|
283
|
-
}>;
|
|
217
|
+
authorize(url: URL, headers: Headers): void;
|
|
284
218
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
285
219
|
value: string;
|
|
286
220
|
label: string;
|
|
@@ -294,13 +228,7 @@ export declare const getInvoice: PieceActionDefinition<z.ZodObject<{
|
|
|
294
228
|
invoiceId: z.ZodString;
|
|
295
229
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
296
230
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
297
|
-
|
|
298
|
-
status: number;
|
|
299
|
-
headers: {
|
|
300
|
-
[k: string]: string;
|
|
301
|
-
};
|
|
302
|
-
body: StripeResponse;
|
|
303
|
-
}>;
|
|
231
|
+
authorize(url: URL, headers: Headers): void;
|
|
304
232
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
305
233
|
value: string;
|
|
306
234
|
label: string;
|
|
@@ -314,13 +242,7 @@ export declare const getPayout: PieceActionDefinition<z.ZodObject<{
|
|
|
314
242
|
payoutId: z.ZodString;
|
|
315
243
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
316
244
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
317
|
-
|
|
318
|
-
status: number;
|
|
319
|
-
headers: {
|
|
320
|
-
[k: string]: string;
|
|
321
|
-
};
|
|
322
|
-
body: StripeResponse;
|
|
323
|
-
}>;
|
|
245
|
+
authorize(url: URL, headers: Headers): void;
|
|
324
246
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
325
247
|
value: string;
|
|
326
248
|
label: string;
|
|
@@ -341,13 +263,7 @@ export declare const createRefund: PieceActionDefinition<z.ZodObject<{
|
|
|
341
263
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
342
264
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
343
265
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
344
|
-
|
|
345
|
-
status: number;
|
|
346
|
-
headers: {
|
|
347
|
-
[k: string]: string;
|
|
348
|
-
};
|
|
349
|
-
body: StripeResponse;
|
|
350
|
-
}>;
|
|
266
|
+
authorize(url: URL, headers: Headers): void;
|
|
351
267
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
352
268
|
value: string;
|
|
353
269
|
label: string;
|
|
@@ -363,8 +279,8 @@ export declare const createPaymentLink: PieceActionDefinition<z.ZodObject<{
|
|
|
363
279
|
quantity: z.ZodNumber;
|
|
364
280
|
}, z.core.$strip>>;
|
|
365
281
|
afterCompletion: z.ZodOptional<z.ZodEnum<{
|
|
366
|
-
hosted_confirmation: "hosted_confirmation";
|
|
367
282
|
redirect: "redirect";
|
|
283
|
+
hosted_confirmation: "hosted_confirmation";
|
|
368
284
|
}>>;
|
|
369
285
|
redirectUrl: z.ZodOptional<z.ZodString>;
|
|
370
286
|
allowPromotionCodes: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -375,13 +291,7 @@ export declare const createPaymentLink: PieceActionDefinition<z.ZodObject<{
|
|
|
375
291
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
376
292
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
377
293
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
378
|
-
|
|
379
|
-
status: number;
|
|
380
|
-
headers: {
|
|
381
|
-
[k: string]: string;
|
|
382
|
-
};
|
|
383
|
-
body: StripeResponse;
|
|
384
|
-
}>;
|
|
294
|
+
authorize(url: URL, headers: Headers): void;
|
|
385
295
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
386
296
|
value: string;
|
|
387
297
|
label: string;
|
|
@@ -395,13 +305,7 @@ export declare const deactivatePaymentLink: PieceActionDefinition<z.ZodObject<{
|
|
|
395
305
|
paymentLinkId: z.ZodString;
|
|
396
306
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
397
307
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
398
|
-
|
|
399
|
-
status: number;
|
|
400
|
-
headers: {
|
|
401
|
-
[k: string]: string;
|
|
402
|
-
};
|
|
403
|
-
body: StripeResponse;
|
|
404
|
-
}>;
|
|
308
|
+
authorize(url: URL, headers: Headers): void;
|
|
405
309
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
406
310
|
value: string;
|
|
407
311
|
label: string;
|
|
@@ -415,13 +319,7 @@ export declare const getPaymentIntent: PieceActionDefinition<z.ZodObject<{
|
|
|
415
319
|
paymentIntentId: z.ZodString;
|
|
416
320
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
417
321
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
418
|
-
|
|
419
|
-
status: number;
|
|
420
|
-
headers: {
|
|
421
|
-
[k: string]: string;
|
|
422
|
-
};
|
|
423
|
-
body: StripeResponse;
|
|
424
|
-
}>;
|
|
322
|
+
authorize(url: URL, headers: Headers): void;
|
|
425
323
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
426
324
|
value: string;
|
|
427
325
|
label: string;
|
|
@@ -435,13 +333,7 @@ export declare const findInvoice: PieceActionDefinition<z.ZodObject<{
|
|
|
435
333
|
invoiceId: z.ZodString;
|
|
436
334
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
437
335
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
438
|
-
|
|
439
|
-
status: number;
|
|
440
|
-
headers: {
|
|
441
|
-
[k: string]: string;
|
|
442
|
-
};
|
|
443
|
-
body: StripeResponse;
|
|
444
|
-
}>;
|
|
336
|
+
authorize(url: URL, headers: Headers): void;
|
|
445
337
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
446
338
|
value: string;
|
|
447
339
|
label: string;
|
|
@@ -451,41 +343,16 @@ export declare const findInvoice: PieceActionDefinition<z.ZodObject<{
|
|
|
451
343
|
}, Record<string, z.core.util.JSONType>> & {
|
|
452
344
|
slug: "findInvoice";
|
|
453
345
|
};
|
|
454
|
-
export declare const
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
}
|
|
464
|
-
status: z.ZodNumber;
|
|
465
|
-
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
466
|
-
body: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
467
|
-
}, z.core.$strip>, Record<string, never>, {
|
|
468
|
-
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
469
|
-
requestResponse: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<{
|
|
470
|
-
status: number;
|
|
471
|
-
headers: {
|
|
472
|
-
[k: string]: string;
|
|
473
|
-
};
|
|
474
|
-
body: StripeResponse;
|
|
475
|
-
}>;
|
|
476
|
-
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
477
|
-
value: string;
|
|
478
|
-
label: string;
|
|
479
|
-
}[]>;
|
|
480
|
-
subscribe(event: string, webhookUrl: string): Promise<StripeResponse>;
|
|
481
|
-
unsubscribe(webhookId: string): Promise<void>;
|
|
482
|
-
}, {
|
|
483
|
-
status: number;
|
|
484
|
-
headers: Record<string, string>;
|
|
485
|
-
body: Record<string, z.core.util.JSONType>;
|
|
486
|
-
}> & {
|
|
487
|
-
slug: "sendRequest";
|
|
488
|
-
};
|
|
346
|
+
export declare const customApiCall: import("frogbot/pieces").CustomApiCallAction<Record<string, never>, {
|
|
347
|
+
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
348
|
+
authorize(url: URL, headers: Headers): void;
|
|
349
|
+
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
350
|
+
value: string;
|
|
351
|
+
label: string;
|
|
352
|
+
}[]>;
|
|
353
|
+
subscribe(event: string, webhookUrl: string): Promise<StripeResponse>;
|
|
354
|
+
unsubscribe(webhookId: string): Promise<void>;
|
|
355
|
+
}>;
|
|
489
356
|
export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.ZodObject<{
|
|
490
357
|
line1: z.ZodOptional<z.ZodString>;
|
|
491
358
|
postalCode: z.ZodOptional<z.ZodString>;
|
|
@@ -498,13 +365,7 @@ export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.
|
|
|
498
365
|
phone: z.ZodOptional<z.ZodString>;
|
|
499
366
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
500
367
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
501
|
-
|
|
502
|
-
status: number;
|
|
503
|
-
headers: {
|
|
504
|
-
[k: string]: string;
|
|
505
|
-
};
|
|
506
|
-
body: StripeResponse;
|
|
507
|
-
}>;
|
|
368
|
+
authorize(url: URL, headers: Headers): void;
|
|
508
369
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
509
370
|
value: string;
|
|
510
371
|
label: string;
|
|
@@ -519,13 +380,7 @@ export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.
|
|
|
519
380
|
daysUntilDue: z.ZodOptional<z.ZodNumber>;
|
|
520
381
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
521
382
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
522
|
-
|
|
523
|
-
status: number;
|
|
524
|
-
headers: {
|
|
525
|
-
[k: string]: string;
|
|
526
|
-
};
|
|
527
|
-
body: StripeResponse;
|
|
528
|
-
}>;
|
|
383
|
+
authorize(url: URL, headers: Headers): void;
|
|
529
384
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
530
385
|
value: string;
|
|
531
386
|
label: string;
|
|
@@ -538,13 +393,7 @@ export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.
|
|
|
538
393
|
email: z.ZodString;
|
|
539
394
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
540
395
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
541
|
-
|
|
542
|
-
status: number;
|
|
543
|
-
headers: {
|
|
544
|
-
[k: string]: string;
|
|
545
|
-
};
|
|
546
|
-
body: StripeResponse;
|
|
547
|
-
}>;
|
|
396
|
+
authorize(url: URL, headers: Headers): void;
|
|
548
397
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
549
398
|
value: string;
|
|
550
399
|
label: string;
|
|
@@ -572,13 +421,7 @@ export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.
|
|
|
572
421
|
includeCustomerDetails: z.ZodDefault<z.ZodBoolean>;
|
|
573
422
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
574
423
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
575
|
-
|
|
576
|
-
status: number;
|
|
577
|
-
headers: {
|
|
578
|
-
[k: string]: string;
|
|
579
|
-
};
|
|
580
|
-
body: StripeResponse;
|
|
581
|
-
}>;
|
|
424
|
+
authorize(url: URL, headers: Headers): void;
|
|
582
425
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
583
426
|
value: string;
|
|
584
427
|
label: string;
|
|
@@ -591,13 +434,7 @@ export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.
|
|
|
591
434
|
customerId: z.ZodString;
|
|
592
435
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
593
436
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
594
|
-
|
|
595
|
-
status: number;
|
|
596
|
-
headers: {
|
|
597
|
-
[k: string]: string;
|
|
598
|
-
};
|
|
599
|
-
body: StripeResponse;
|
|
600
|
-
}>;
|
|
437
|
+
authorize(url: URL, headers: Headers): void;
|
|
601
438
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
602
439
|
value: string;
|
|
603
440
|
label: string;
|
|
@@ -619,13 +456,7 @@ export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.
|
|
|
619
456
|
phone: z.ZodOptional<z.ZodString>;
|
|
620
457
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
621
458
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
622
|
-
|
|
623
|
-
status: number;
|
|
624
|
-
headers: {
|
|
625
|
-
[k: string]: string;
|
|
626
|
-
};
|
|
627
|
-
body: StripeResponse;
|
|
628
|
-
}>;
|
|
459
|
+
authorize(url: URL, headers: Headers): void;
|
|
629
460
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
630
461
|
value: string;
|
|
631
462
|
label: string;
|
|
@@ -645,13 +476,7 @@ export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.
|
|
|
645
476
|
receiptEmail: z.ZodOptional<z.ZodString>;
|
|
646
477
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
647
478
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
648
|
-
|
|
649
|
-
status: number;
|
|
650
|
-
headers: {
|
|
651
|
-
[k: string]: string;
|
|
652
|
-
};
|
|
653
|
-
body: StripeResponse;
|
|
654
|
-
}>;
|
|
479
|
+
authorize(url: URL, headers: Headers): void;
|
|
655
480
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
656
481
|
value: string;
|
|
657
482
|
label: string;
|
|
@@ -669,13 +494,7 @@ export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.
|
|
|
669
494
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
670
495
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
671
496
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
672
|
-
|
|
673
|
-
status: number;
|
|
674
|
-
headers: {
|
|
675
|
-
[k: string]: string;
|
|
676
|
-
};
|
|
677
|
-
body: StripeResponse;
|
|
678
|
-
}>;
|
|
497
|
+
authorize(url: URL, headers: Headers): void;
|
|
679
498
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
680
499
|
value: string;
|
|
681
500
|
label: string;
|
|
@@ -698,13 +517,7 @@ export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.
|
|
|
698
517
|
recurringIntervalCount: z.ZodOptional<z.ZodNumber>;
|
|
699
518
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
700
519
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
701
|
-
|
|
702
|
-
status: number;
|
|
703
|
-
headers: {
|
|
704
|
-
[k: string]: string;
|
|
705
|
-
};
|
|
706
|
-
body: StripeResponse;
|
|
707
|
-
}>;
|
|
520
|
+
authorize(url: URL, headers: Headers): void;
|
|
708
521
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
709
522
|
value: string;
|
|
710
523
|
label: string;
|
|
@@ -729,13 +542,7 @@ export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.
|
|
|
729
542
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
730
543
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
731
544
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
732
|
-
|
|
733
|
-
status: number;
|
|
734
|
-
headers: {
|
|
735
|
-
[k: string]: string;
|
|
736
|
-
};
|
|
737
|
-
body: StripeResponse;
|
|
738
|
-
}>;
|
|
545
|
+
authorize(url: URL, headers: Headers): void;
|
|
739
546
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
740
547
|
value: string;
|
|
741
548
|
label: string;
|
|
@@ -749,13 +556,7 @@ export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.
|
|
|
749
556
|
cancelAtPeriodEnd: z.ZodDefault<z.ZodBoolean>;
|
|
750
557
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
751
558
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
752
|
-
|
|
753
|
-
status: number;
|
|
754
|
-
headers: {
|
|
755
|
-
[k: string]: string;
|
|
756
|
-
};
|
|
757
|
-
body: StripeResponse;
|
|
758
|
-
}>;
|
|
559
|
+
authorize(url: URL, headers: Headers): void;
|
|
759
560
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
760
561
|
value: string;
|
|
761
562
|
label: string;
|
|
@@ -768,13 +569,7 @@ export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.
|
|
|
768
569
|
invoiceId: z.ZodString;
|
|
769
570
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
770
571
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
771
|
-
|
|
772
|
-
status: number;
|
|
773
|
-
headers: {
|
|
774
|
-
[k: string]: string;
|
|
775
|
-
};
|
|
776
|
-
body: StripeResponse;
|
|
777
|
-
}>;
|
|
572
|
+
authorize(url: URL, headers: Headers): void;
|
|
778
573
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
779
574
|
value: string;
|
|
780
575
|
label: string;
|
|
@@ -787,13 +582,7 @@ export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.
|
|
|
787
582
|
payoutId: z.ZodString;
|
|
788
583
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
789
584
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
790
|
-
|
|
791
|
-
status: number;
|
|
792
|
-
headers: {
|
|
793
|
-
[k: string]: string;
|
|
794
|
-
};
|
|
795
|
-
body: StripeResponse;
|
|
796
|
-
}>;
|
|
585
|
+
authorize(url: URL, headers: Headers): void;
|
|
797
586
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
798
587
|
value: string;
|
|
799
588
|
label: string;
|
|
@@ -813,13 +602,7 @@ export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.
|
|
|
813
602
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
814
603
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
815
604
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
816
|
-
|
|
817
|
-
status: number;
|
|
818
|
-
headers: {
|
|
819
|
-
[k: string]: string;
|
|
820
|
-
};
|
|
821
|
-
body: StripeResponse;
|
|
822
|
-
}>;
|
|
605
|
+
authorize(url: URL, headers: Headers): void;
|
|
823
606
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
824
607
|
value: string;
|
|
825
608
|
label: string;
|
|
@@ -834,8 +617,8 @@ export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.
|
|
|
834
617
|
quantity: z.ZodNumber;
|
|
835
618
|
}, z.core.$strip>>;
|
|
836
619
|
afterCompletion: z.ZodOptional<z.ZodEnum<{
|
|
837
|
-
hosted_confirmation: "hosted_confirmation";
|
|
838
620
|
redirect: "redirect";
|
|
621
|
+
hosted_confirmation: "hosted_confirmation";
|
|
839
622
|
}>>;
|
|
840
623
|
redirectUrl: z.ZodOptional<z.ZodString>;
|
|
841
624
|
allowPromotionCodes: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -846,13 +629,7 @@ export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.
|
|
|
846
629
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
847
630
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
848
631
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
849
|
-
|
|
850
|
-
status: number;
|
|
851
|
-
headers: {
|
|
852
|
-
[k: string]: string;
|
|
853
|
-
};
|
|
854
|
-
body: StripeResponse;
|
|
855
|
-
}>;
|
|
632
|
+
authorize(url: URL, headers: Headers): void;
|
|
856
633
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
857
634
|
value: string;
|
|
858
635
|
label: string;
|
|
@@ -865,13 +642,7 @@ export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.
|
|
|
865
642
|
paymentLinkId: z.ZodString;
|
|
866
643
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
867
644
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
868
|
-
|
|
869
|
-
status: number;
|
|
870
|
-
headers: {
|
|
871
|
-
[k: string]: string;
|
|
872
|
-
};
|
|
873
|
-
body: StripeResponse;
|
|
874
|
-
}>;
|
|
645
|
+
authorize(url: URL, headers: Headers): void;
|
|
875
646
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
876
647
|
value: string;
|
|
877
648
|
label: string;
|
|
@@ -884,13 +655,7 @@ export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.
|
|
|
884
655
|
paymentIntentId: z.ZodString;
|
|
885
656
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
886
657
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
887
|
-
|
|
888
|
-
status: number;
|
|
889
|
-
headers: {
|
|
890
|
-
[k: string]: string;
|
|
891
|
-
};
|
|
892
|
-
body: StripeResponse;
|
|
893
|
-
}>;
|
|
658
|
+
authorize(url: URL, headers: Headers): void;
|
|
894
659
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
895
660
|
value: string;
|
|
896
661
|
label: string;
|
|
@@ -903,13 +668,7 @@ export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.
|
|
|
903
668
|
invoiceId: z.ZodString;
|
|
904
669
|
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodJSONSchema>, Record<string, never>, {
|
|
905
670
|
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
906
|
-
|
|
907
|
-
status: number;
|
|
908
|
-
headers: {
|
|
909
|
-
[k: string]: string;
|
|
910
|
-
};
|
|
911
|
-
body: StripeResponse;
|
|
912
|
-
}>;
|
|
671
|
+
authorize(url: URL, headers: Headers): void;
|
|
913
672
|
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
914
673
|
value: string;
|
|
915
674
|
label: string;
|
|
@@ -918,40 +677,15 @@ export declare const stripeActionDefinitions: readonly [PieceActionDefinition<z.
|
|
|
918
677
|
unsubscribe(webhookId: string): Promise<void>;
|
|
919
678
|
}, Record<string, z.core.util.JSONType>> & {
|
|
920
679
|
slug: "findInvoice";
|
|
921
|
-
},
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
}
|
|
931
|
-
status: z.ZodNumber;
|
|
932
|
-
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
933
|
-
body: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
934
|
-
}, z.core.$strip>, Record<string, never>, {
|
|
935
|
-
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
936
|
-
requestResponse: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<{
|
|
937
|
-
status: number;
|
|
938
|
-
headers: {
|
|
939
|
-
[k: string]: string;
|
|
940
|
-
};
|
|
941
|
-
body: StripeResponse;
|
|
942
|
-
}>;
|
|
943
|
-
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
944
|
-
value: string;
|
|
945
|
-
label: string;
|
|
946
|
-
}[]>;
|
|
947
|
-
subscribe(event: string, webhookUrl: string): Promise<StripeResponse>;
|
|
948
|
-
unsubscribe(webhookId: string): Promise<void>;
|
|
949
|
-
}, {
|
|
950
|
-
status: number;
|
|
951
|
-
headers: Record<string, string>;
|
|
952
|
-
body: Record<string, z.core.util.JSONType>;
|
|
953
|
-
}> & {
|
|
954
|
-
slug: "sendRequest";
|
|
955
|
-
}];
|
|
680
|
+
}, import("frogbot/pieces").CustomApiCallAction<Record<string, never>, {
|
|
681
|
+
request: (path: string, method?: "DELETE" | "GET" | "POST", values?: Record<string, unknown>) => Promise<StripeResponse>;
|
|
682
|
+
authorize(url: URL, headers: Headers): void;
|
|
683
|
+
options(resource: string, label: (item: StripeResponse) => string): Promise<{
|
|
684
|
+
value: string;
|
|
685
|
+
label: string;
|
|
686
|
+
}[]>;
|
|
687
|
+
subscribe(event: string, webhookUrl: string): Promise<StripeResponse>;
|
|
688
|
+
unsubscribe(webhookId: string): Promise<void>;
|
|
689
|
+
}>];
|
|
956
690
|
export type { StripeResponse };
|
|
957
691
|
//# sourceMappingURL=actions.d.ts.map
|