@supernova-studio/client 1.34.3 → 1.35.1
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/dist/index.d.mts +11 -10
- package/dist/index.d.ts +11 -10
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -68370,13 +68370,6 @@ declare const DTOUpdateForgeFigmaArtifact: z$1.ZodObject<Omit<{
|
|
|
68370
68370
|
}>;
|
|
68371
68371
|
type DTOUpdateForgeFigmaArtifact = z$1.infer<typeof DTOUpdateForgeFigmaArtifact>;
|
|
68372
68372
|
|
|
68373
|
-
declare const DTOFeatureMessageAttachments: z__default.ZodObject<{
|
|
68374
|
-
iterationId: z__default.ZodOptional<z__default.ZodString>;
|
|
68375
|
-
}, "strip", z__default.ZodTypeAny, {
|
|
68376
|
-
iterationId?: string | undefined;
|
|
68377
|
-
}, {
|
|
68378
|
-
iterationId?: string | undefined;
|
|
68379
|
-
}>;
|
|
68380
68373
|
declare const DTOFeatureMessageUserSender: z__default.ZodObject<{
|
|
68381
68374
|
type: z__default.ZodLiteral<"User">;
|
|
68382
68375
|
userId: z__default.ZodString;
|
|
@@ -68703,6 +68696,14 @@ declare const DTOFeatureSandbox: z__default.ZodObject<{
|
|
|
68703
68696
|
staticPreviewUrl?: string | undefined;
|
|
68704
68697
|
}>;
|
|
68705
68698
|
type DTOFeatureSandbox = z__default.infer<typeof DTOFeatureSandbox>;
|
|
68699
|
+
declare const DTOFeatureMessageAttachments: z__default.ZodObject<{
|
|
68700
|
+
iterationId: z__default.ZodOptional<z__default.ZodString>;
|
|
68701
|
+
}, "strip", z__default.ZodTypeAny, {
|
|
68702
|
+
iterationId?: string | undefined;
|
|
68703
|
+
}, {
|
|
68704
|
+
iterationId?: string | undefined;
|
|
68705
|
+
}>;
|
|
68706
|
+
type DTOFeatureMessageAttachments = z__default.infer<typeof DTOFeatureMessageAttachments>;
|
|
68706
68707
|
declare const DTOFeatureMessageCreateInput: z__default.ZodObject<Pick<{
|
|
68707
68708
|
id: z__default.ZodString;
|
|
68708
68709
|
/**
|
|
@@ -122580,23 +122581,23 @@ type DTOBillingSupportedModels = z__default.infer<typeof DTOBillingSupportedMode
|
|
|
122580
122581
|
declare const DTOBillingCheckoutMode: z__default.ZodEnum<["SubscriptionChange", "CreditsTopUp"]>;
|
|
122581
122582
|
type DTOBillingCheckoutMode = z__default.infer<typeof DTOBillingCheckoutMode>;
|
|
122582
122583
|
declare const DTOBillingCheckoutInput: z__default.ZodObject<{
|
|
122583
|
-
priceId: z__default.ZodString
|
|
122584
|
+
priceId: z__default.ZodOptional<z__default.ZodString>;
|
|
122584
122585
|
successUrl: z__default.ZodString;
|
|
122585
122586
|
cancelUrl: z__default.ZodString;
|
|
122586
122587
|
quantity: z__default.ZodOptional<z__default.ZodNumber>;
|
|
122587
122588
|
centAmount: z__default.ZodOptional<z__default.ZodNumber>;
|
|
122588
122589
|
mode: z__default.ZodDefault<z__default.ZodOptional<z__default.ZodEnum<["SubscriptionChange", "CreditsTopUp"]>>>;
|
|
122589
122590
|
}, "strip", z__default.ZodTypeAny, {
|
|
122590
|
-
priceId: string;
|
|
122591
122591
|
successUrl: string;
|
|
122592
122592
|
cancelUrl: string;
|
|
122593
122593
|
mode: "SubscriptionChange" | "CreditsTopUp";
|
|
122594
|
+
priceId?: string | undefined;
|
|
122594
122595
|
quantity?: number | undefined;
|
|
122595
122596
|
centAmount?: number | undefined;
|
|
122596
122597
|
}, {
|
|
122597
|
-
priceId: string;
|
|
122598
122598
|
successUrl: string;
|
|
122599
122599
|
cancelUrl: string;
|
|
122600
|
+
priceId?: string | undefined;
|
|
122600
122601
|
quantity?: number | undefined;
|
|
122601
122602
|
centAmount?: number | undefined;
|
|
122602
122603
|
mode?: "SubscriptionChange" | "CreditsTopUp" | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -68370,13 +68370,6 @@ declare const DTOUpdateForgeFigmaArtifact: z$1.ZodObject<Omit<{
|
|
|
68370
68370
|
}>;
|
|
68371
68371
|
type DTOUpdateForgeFigmaArtifact = z$1.infer<typeof DTOUpdateForgeFigmaArtifact>;
|
|
68372
68372
|
|
|
68373
|
-
declare const DTOFeatureMessageAttachments: z__default.ZodObject<{
|
|
68374
|
-
iterationId: z__default.ZodOptional<z__default.ZodString>;
|
|
68375
|
-
}, "strip", z__default.ZodTypeAny, {
|
|
68376
|
-
iterationId?: string | undefined;
|
|
68377
|
-
}, {
|
|
68378
|
-
iterationId?: string | undefined;
|
|
68379
|
-
}>;
|
|
68380
68373
|
declare const DTOFeatureMessageUserSender: z__default.ZodObject<{
|
|
68381
68374
|
type: z__default.ZodLiteral<"User">;
|
|
68382
68375
|
userId: z__default.ZodString;
|
|
@@ -68703,6 +68696,14 @@ declare const DTOFeatureSandbox: z__default.ZodObject<{
|
|
|
68703
68696
|
staticPreviewUrl?: string | undefined;
|
|
68704
68697
|
}>;
|
|
68705
68698
|
type DTOFeatureSandbox = z__default.infer<typeof DTOFeatureSandbox>;
|
|
68699
|
+
declare const DTOFeatureMessageAttachments: z__default.ZodObject<{
|
|
68700
|
+
iterationId: z__default.ZodOptional<z__default.ZodString>;
|
|
68701
|
+
}, "strip", z__default.ZodTypeAny, {
|
|
68702
|
+
iterationId?: string | undefined;
|
|
68703
|
+
}, {
|
|
68704
|
+
iterationId?: string | undefined;
|
|
68705
|
+
}>;
|
|
68706
|
+
type DTOFeatureMessageAttachments = z__default.infer<typeof DTOFeatureMessageAttachments>;
|
|
68706
68707
|
declare const DTOFeatureMessageCreateInput: z__default.ZodObject<Pick<{
|
|
68707
68708
|
id: z__default.ZodString;
|
|
68708
68709
|
/**
|
|
@@ -122580,23 +122581,23 @@ type DTOBillingSupportedModels = z__default.infer<typeof DTOBillingSupportedMode
|
|
|
122580
122581
|
declare const DTOBillingCheckoutMode: z__default.ZodEnum<["SubscriptionChange", "CreditsTopUp"]>;
|
|
122581
122582
|
type DTOBillingCheckoutMode = z__default.infer<typeof DTOBillingCheckoutMode>;
|
|
122582
122583
|
declare const DTOBillingCheckoutInput: z__default.ZodObject<{
|
|
122583
|
-
priceId: z__default.ZodString
|
|
122584
|
+
priceId: z__default.ZodOptional<z__default.ZodString>;
|
|
122584
122585
|
successUrl: z__default.ZodString;
|
|
122585
122586
|
cancelUrl: z__default.ZodString;
|
|
122586
122587
|
quantity: z__default.ZodOptional<z__default.ZodNumber>;
|
|
122587
122588
|
centAmount: z__default.ZodOptional<z__default.ZodNumber>;
|
|
122588
122589
|
mode: z__default.ZodDefault<z__default.ZodOptional<z__default.ZodEnum<["SubscriptionChange", "CreditsTopUp"]>>>;
|
|
122589
122590
|
}, "strip", z__default.ZodTypeAny, {
|
|
122590
|
-
priceId: string;
|
|
122591
122591
|
successUrl: string;
|
|
122592
122592
|
cancelUrl: string;
|
|
122593
122593
|
mode: "SubscriptionChange" | "CreditsTopUp";
|
|
122594
|
+
priceId?: string | undefined;
|
|
122594
122595
|
quantity?: number | undefined;
|
|
122595
122596
|
centAmount?: number | undefined;
|
|
122596
122597
|
}, {
|
|
122597
|
-
priceId: string;
|
|
122598
122598
|
successUrl: string;
|
|
122599
122599
|
cancelUrl: string;
|
|
122600
|
+
priceId?: string | undefined;
|
|
122600
122601
|
quantity?: number | undefined;
|
|
122601
122602
|
centAmount?: number | undefined;
|
|
122602
122603
|
mode?: "SubscriptionChange" | "CreditsTopUp" | undefined;
|
package/dist/index.js
CHANGED
|
@@ -7082,7 +7082,7 @@ var DTOBillingCreditsCheckIfCanSpendResponse = _zod2.default.object({
|
|
|
7082
7082
|
});
|
|
7083
7083
|
var DTOBillingCheckoutInput = _zod2.default.object({
|
|
7084
7084
|
// @deprecated for backwards compatibility
|
|
7085
|
-
priceId: _zod2.default.string(),
|
|
7085
|
+
priceId: _zod2.default.string().optional(),
|
|
7086
7086
|
successUrl: _zod2.default.string().url(),
|
|
7087
7087
|
cancelUrl: _zod2.default.string().url(),
|
|
7088
7088
|
quantity: _zod2.default.number().int().min(1).optional(),
|