@@ -24,10 +24,12 @@ export interface paths {
2424 } ;
2525 "/buy" : {
2626 /**
27- * Stripe webhook destination, listen three event types:
28- * - charge.failed,
29- * - checkout.session.completed
30- * - checkout.session.expired
27+ * Stripe webhook destination, listen following event types:
28+ * - checkout.session.completed (Occurs when a Checkout Session has been successfully completed)
29+ * - checkout.session.expired (Occurs when a Checkout Session is expired)
30+ * - checkout.session.async_payment_failed (Occurs when a payment intent using a delayed payment method fails)
31+ * - checkout.session.async_payment_succeeded (Occurs when a payment intent using a delayed payment method finally succeeds)
32+ * - charge.refunded (Occurs whenever a charge is refunded, including partial refunds. Listen to refund.created for information about the refund)
3133 */
3234 post : operations [ "post-buy" ] ;
3335 } ;
@@ -475,6 +477,10 @@ export interface paths {
475477 } ;
476478 } ;
477479 } ;
480+ "/users/me/watched/plans" : {
481+ get : operations [ "get-users-me-watched-plans" ] ;
482+ parameters : { } ;
483+ } ;
478484 "/users/roles" : {
479485 get : operations [ "get-users-roles" ] ;
480486 parameters : { } ;
@@ -622,6 +628,17 @@ export interface paths {
622628 } ;
623629 } ;
624630 } ;
631+ "/plans/{pid}/watchers" : {
632+ /** Returns all the watcher added to a plan. It always returns at least one item. */
633+ get : operations [ "get-plans-pid-watchers" ] ;
634+ put : operations [ "put-plans-pid-watchers" ] ;
635+ post : operations [ "post-plans-pid-watchers" ] ;
636+ parameters : {
637+ path : {
638+ pid : string ;
639+ } ;
640+ } ;
641+ } ;
625642 "/workspaces/{wid}/templates" : {
626643 get : operations [ "get-workspaces-templates" ] ;
627644 post : operations [ "post-workspaces-wid-templates" ] ;
@@ -656,6 +673,15 @@ export interface paths {
656673 } ;
657674 } ;
658675 } ;
676+ "/plans/{pid}/watchers/{profile_id}" : {
677+ delete : operations [ "delete-plans-pid-watchers-profile_id" ] ;
678+ parameters : {
679+ path : {
680+ pid : string ;
681+ profile_id : string ;
682+ } ;
683+ } ;
684+ } ;
659685}
660686
661687export interface components {
@@ -1332,8 +1358,7 @@ export interface components {
13321358 kind : "app" ;
13331359 os : {
13341360 ios ?: string ;
1335- linux ?: string ;
1336- windows ?: string ;
1361+ android ?: string ;
13371362 } ;
13381363 } ;
13391364 /** OutputModuleTouchpointsWebDesktop */
@@ -1442,7 +1467,8 @@ export interface components {
14421467 | "module_type"
14431468 | "number_of_testers"
14441469 | "number_of_tasks"
1445- | "task_type" ;
1470+ | "task_type"
1471+ | "duplicate_touchpoint_form_factors" ;
14461472 /** Report */
14471473 Report : {
14481474 creation_date ?: string ;
@@ -1999,10 +2025,12 @@ export interface operations {
19992025 requestBody : components [ "requestBodies" ] [ "Credentials" ] ;
20002026 } ;
20012027 /**
2002- * Stripe webhook destination, listen three event types:
2003- * - charge.failed,
2004- * - checkout.session.completed
2005- * - checkout.session.expired
2028+ * Stripe webhook destination, listen following event types:
2029+ * - checkout.session.completed (Occurs when a Checkout Session has been successfully completed)
2030+ * - checkout.session.expired (Occurs when a Checkout Session is expired)
2031+ * - checkout.session.async_payment_failed (Occurs when a payment intent using a delayed payment method fails)
2032+ * - checkout.session.async_payment_succeeded (Occurs when a payment intent using a delayed payment method finally succeeds)
2033+ * - charge.refunded (Occurs whenever a charge is refunded, including partial refunds. Listen to refund.created for information about the refund)
20062034 */
20072035 "post-buy" : {
20082036 responses : {
@@ -2027,13 +2055,17 @@ export interface operations {
20272055 key : string ;
20282056 tag : string ;
20292057 } ;
2058+ /** @enum {string} */
2059+ payment_status ?: "paid" | "unpaid" ;
20302060 } ;
20312061 } ;
20322062 /** @enum {undefined} */
20332063 type :
2034- | "checkout.session.completed "
2064+ | "checkout.session.async_payment_succeeded "
20352065 | "checkout.session.async_payment_failed"
2036- | "checkout.session.expired" ;
2066+ | "checkout.session.completed"
2067+ | "checkout.session.expired"
2068+ | "charge.refunded" ;
20372069 } ;
20382070 } ;
20392071 } ;
@@ -3864,6 +3896,31 @@ export interface operations {
38643896 } ;
38653897 } ;
38663898 } ;
3899+ "get-users-me-watched-plans" : {
3900+ parameters : { } ;
3901+ responses : {
3902+ 200 : {
3903+ content : {
3904+ "application/json" : {
3905+ items : {
3906+ id ?: number ;
3907+ name ?: string ;
3908+ project ?: {
3909+ name ?: string ;
3910+ id ?: number ;
3911+ } ;
3912+ isLast ?: boolean ;
3913+ } [ ] ;
3914+ allItems : number ;
3915+ } ;
3916+ } ;
3917+ } ;
3918+ 400 : components [ "responses" ] [ "Error" ] ;
3919+ 403 : components [ "responses" ] [ "Error" ] ;
3920+ 404 : components [ "responses" ] [ "Error" ] ;
3921+ 500 : components [ "responses" ] [ "Error" ] ;
3922+ } ;
3923+ } ;
38673924 "get-users-roles" : {
38683925 parameters : { } ;
38693926 responses : {
@@ -4393,6 +4450,81 @@ export interface operations {
43934450 500 : components [ "responses" ] [ "Error" ] ;
43944451 } ;
43954452 } ;
4453+ /** Returns all the watcher added to a plan. It always returns at least one item. */
4454+ "get-plans-pid-watchers" : {
4455+ parameters : {
4456+ path : {
4457+ pid : string ;
4458+ } ;
4459+ } ;
4460+ responses : {
4461+ /** OK */
4462+ 200 : {
4463+ content : {
4464+ "application/json" : {
4465+ items : {
4466+ id : number ;
4467+ name : string ;
4468+ surname : string ;
4469+ email : string ;
4470+ image ?: string ;
4471+ isInternal : boolean ;
4472+ } [ ] ;
4473+ } ;
4474+ } ;
4475+ } ;
4476+ 403 : components [ "responses" ] [ "Error" ] ;
4477+ 404 : components [ "responses" ] [ "Error" ] ;
4478+ 500 : components [ "responses" ] [ "Error" ] ;
4479+ } ;
4480+ } ;
4481+ "put-plans-pid-watchers" : {
4482+ parameters : {
4483+ path : {
4484+ pid : string ;
4485+ } ;
4486+ } ;
4487+ responses : {
4488+ /** OK */
4489+ 200 : unknown ;
4490+ 400 : components [ "responses" ] [ "Error" ] ;
4491+ 403 : components [ "responses" ] [ "Error" ] ;
4492+ 404 : components [ "responses" ] [ "Error" ] ;
4493+ 500 : components [ "responses" ] [ "Error" ] ;
4494+ } ;
4495+ requestBody : {
4496+ content : {
4497+ "application/json" : {
4498+ users : {
4499+ id : number ;
4500+ } [ ] ;
4501+ } ;
4502+ } ;
4503+ } ;
4504+ } ;
4505+ "post-plans-pid-watchers" : {
4506+ parameters : {
4507+ path : {
4508+ pid : string ;
4509+ } ;
4510+ } ;
4511+ responses : {
4512+ /** OK */
4513+ 200 : unknown ;
4514+ 403 : components [ "responses" ] [ "Error" ] ;
4515+ 404 : components [ "responses" ] [ "Error" ] ;
4516+ 500 : components [ "responses" ] [ "Error" ] ;
4517+ } ;
4518+ requestBody : {
4519+ content : {
4520+ "application/json" : {
4521+ users : {
4522+ id : number ;
4523+ } [ ] ;
4524+ } ;
4525+ } ;
4526+ } ;
4527+ } ;
43964528 "get-workspaces-templates" : {
43974529 parameters : {
43984530 path : {
@@ -4596,6 +4728,25 @@ export interface operations {
45964728 } ;
45974729 } ;
45984730 } ;
4731+ "delete-plans-pid-watchers-profile_id" : {
4732+ parameters : {
4733+ path : {
4734+ pid : string ;
4735+ profile_id : string ;
4736+ } ;
4737+ } ;
4738+ responses : {
4739+ /** OK */
4740+ 200 : {
4741+ content : {
4742+ "application/json" : {
4743+ success ?: boolean ;
4744+ } ;
4745+ } ;
4746+ } ;
4747+ 403 : components [ "responses" ] [ "Error" ] ;
4748+ } ;
4749+ } ;
45994750}
46004751
46014752export interface external { }
0 commit comments