@@ -44,6 +44,14 @@ class WorkspaceSchema
4444 #[\JMS \Serializer \Annotation \SkipWhenNull]
4545 public ?string $ logo = null ;
4646
47+ /**
48+ * The invite code of the workspace.
49+ *
50+ * @var ?string $inviteCode
51+ */
52+ #[\JMS \Serializer \Annotation \SerializedName('inviteCode ' )]
53+ public ?string $ inviteCode ;
54+
4755 /**
4856 * The plan of the workspace.
4957 *
@@ -70,20 +78,20 @@ class WorkspaceSchema
7078 public float $ billingCycleStart ;
7179
7280 /**
73- * [BETA]: The Stripe Connect ID of the workspace.
81+ * The date and time when the payment failed for the workspace.
7482 *
75- * @var ?string $stripeConnectId
83+ * @var ?string $paymentFailedAt
7684 */
77- #[\JMS \Serializer \Annotation \SerializedName('stripeConnectId ' )]
78- public ?string $ stripeConnectId ;
85+ #[\JMS \Serializer \Annotation \SerializedName('paymentFailedAt ' )]
86+ public ?string $ paymentFailedAt ;
7987
8088 /**
81- * The invite code of the workspace.
89+ * [BETA]: The Stripe Connect ID of the workspace.
8290 *
83- * @var ?string $inviteCode
91+ * @var ?string $stripeConnectId
8492 */
85- #[\JMS \Serializer \Annotation \SerializedName('inviteCode ' )]
86- public ?string $ inviteCode ;
93+ #[\JMS \Serializer \Annotation \SerializedName('stripeConnectId ' )]
94+ public ?string $ stripeConnectId ;
8795
8896 /**
8997 * The usage of the workspace.
@@ -263,15 +271,16 @@ class WorkspaceSchema
263271 * @param string $createdAt
264272 * @param array<Users> $users
265273 * @param array<Domains> $domains
274+ * @param ?string $inviteCode
266275 * @param ?string $stripeId
276+ * @param ?string $paymentFailedAt
267277 * @param ?string $stripeConnectId
268- * @param ?string $inviteCode
269278 * @param ?string $referralLinkId
270279 * @param ?array<string, bool> $flags
271280 * @param ?string $publishableKey
272281 * @param ?string $logo
273282 */
274- public function __construct (string $ id , string $ name , string $ slug , Plan $ plan , float $ billingCycleStart , float $ usage , float $ usageLimit , float $ linksUsage , float $ linksLimit , float $ salesUsage , float $ salesLimit , float $ domainsLimit , float $ tagsLimit , float $ usersLimit , float $ aiUsage , float $ aiLimit , bool $ conversionEnabled , bool $ dotLinkClaimed , string $ createdAt , array $ users , array $ domains , ?string $ stripeId = null , ?string $ stripeConnectId = null , ?string $ inviteCode = null , ?string $ referralLinkId = null , ?array $ flags = null , ?string $ publishableKey = null , ?string $ logo = null )
283+ public function __construct (string $ id , string $ name , string $ slug , Plan $ plan , float $ billingCycleStart , float $ usage , float $ usageLimit , float $ linksUsage , float $ linksLimit , float $ salesUsage , float $ salesLimit , float $ domainsLimit , float $ tagsLimit , float $ usersLimit , float $ aiUsage , float $ aiLimit , bool $ conversionEnabled , bool $ dotLinkClaimed , string $ createdAt , array $ users , array $ domains , ?string $ inviteCode = null , ? string $ stripeId = null , ?string $ paymentFailedAt = null , ?string $ stripeConnectId = null , ?string $ referralLinkId = null , ?array $ flags = null , ?string $ publishableKey = null , ?string $ logo = null )
275284 {
276285 $ this ->id = $ id ;
277286 $ this ->name = $ name ;
@@ -294,9 +303,10 @@ public function __construct(string $id, string $name, string $slug, Plan $plan,
294303 $ this ->createdAt = $ createdAt ;
295304 $ this ->users = $ users ;
296305 $ this ->domains = $ domains ;
306+ $ this ->inviteCode = $ inviteCode ;
297307 $ this ->stripeId = $ stripeId ;
308+ $ this ->paymentFailedAt = $ paymentFailedAt ;
298309 $ this ->stripeConnectId = $ stripeConnectId ;
299- $ this ->inviteCode = $ inviteCode ;
300310 $ this ->referralLinkId = $ referralLinkId ;
301311 $ this ->flags = $ flags ;
302312 $ this ->publishableKey = $ publishableKey ;
0 commit comments