@comfyorg/ingest-types 1.6.0 → 1.7.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.
@@ -2032,6 +2032,21 @@ export type BillingCapabilitiesResponse = {
2032
2032
  *
2033
2033
  */
2034
2034
  billing_web_checkout_ui: 'embedded' | 'full_page';
2035
+ /**
2036
+ * Whether a cancel requested now ends the plan today instead of at the
2037
+ * end of the billing period. True only when can_cancel is true, the
2038
+ * workspace payment state is payment_failed or paused, and the provider
2039
+ * confirms its bound live Stripe subscription is past_due or unpaid: the
2040
+ * cancel then ends it immediately, stops payment retries, and bills no
2041
+ * unpaid period. False when can_cancel is false or the cancel is
2042
+ * scheduled for period end, including a provider-paused subscription.
2043
+ * No denied_reasons key explains it. Absent when the live binding or
2044
+ * provider state cannot be verified, on older servers, or when billing
2045
+ * is disabled; absence means unknown. Not authorization: the cancel
2046
+ * route rechecks the provider and its cancel_at is the result.
2047
+ *
2048
+ */
2049
+ cancel_takes_effect_immediately?: boolean;
2035
2050
  capabilities: BillingCapabilities;
2036
2051
  denied_reason_params?: BillingCapabilityDenialParams;
2037
2052
  denied_reasons?: BillingCapabilityDenials;
package/dist/zod.gen.d.ts CHANGED
@@ -8016,6 +8016,7 @@ export declare const zBillingCapabilitiesResponse: z.ZodObject<{
8016
8016
  embedded: "embedded";
8017
8017
  full_page: "full_page";
8018
8018
  }>;
8019
+ cancel_takes_effect_immediately: z.ZodOptional<z.ZodBoolean>;
8019
8020
  capabilities: z.ZodObject<{
8020
8021
  can_cancel: z.ZodBoolean;
8021
8022
  can_change_seats: z.ZodBoolean;
@@ -10070,6 +10071,7 @@ export declare const zGetBillingCapabilitiesResponse: z.ZodObject<{
10070
10071
  embedded: "embedded";
10071
10072
  full_page: "full_page";
10072
10073
  }>;
10074
+ cancel_takes_effect_immediately: z.ZodOptional<z.ZodBoolean>;
10073
10075
  capabilities: z.ZodObject<{
10074
10076
  can_cancel: z.ZodBoolean;
10075
10077
  can_change_seats: z.ZodBoolean;
package/dist/zod.gen.js CHANGED
@@ -4345,6 +4345,7 @@ var zBillingCapabilitiesResponse = z.object({
4345
4345
  "personal"
4346
4346
  ]).optional(),
4347
4347
  billing_web_checkout_ui: z.enum(["embedded", "full_page"]),
4348
+ cancel_takes_effect_immediately: z.boolean().optional(),
4348
4349
  capabilities: zBillingCapabilities,
4349
4350
  denied_reason_params: zBillingCapabilityDenialParams.optional(),
4350
4351
  denied_reasons: zBillingCapabilityDenials.optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfyorg/ingest-types",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "Comfy Cloud Ingest API TypeScript types and Zod schemas",
5
5
  "homepage": "https://comfy.org",
6
6
  "license": "MIT",