@supernova-studio/client 1.72.1 → 1.72.2
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 +2660 -2446
- package/dist/index.d.ts +2660 -2446
- package/dist/index.js +468 -449
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +929 -910
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7226,25 +7226,6 @@ function zodQueryBoolean() {
|
|
|
7226
7226
|
}
|
|
7227
7227
|
|
|
7228
7228
|
// src/api/dto/design-systems/storybook.ts
|
|
7229
|
-
var DTOStorybookUploadUrlRequest = z241.object({
|
|
7230
|
-
name: z241.string()
|
|
7231
|
-
});
|
|
7232
|
-
var DTOStorybookUploadUrlResponse = z241.object({
|
|
7233
|
-
signedUrl: z241.string(),
|
|
7234
|
-
storybookUploadId: z241.string()
|
|
7235
|
-
});
|
|
7236
|
-
var DTOStorybookAccessTokenResponse = z241.object({
|
|
7237
|
-
accessToken: z241.string()
|
|
7238
|
-
});
|
|
7239
|
-
var DTOStorybookAccessTokenPayload = z241.object({
|
|
7240
|
-
designSystemId: z241.string(),
|
|
7241
|
-
storybookUploadId: z241.string()
|
|
7242
|
-
});
|
|
7243
|
-
var DTOStorybookUploadStatus = z241.object({
|
|
7244
|
-
status: z241.enum(["Failed", "InProgress", "Completed", "Unknown"]),
|
|
7245
|
-
timestamp: z241.number().optional(),
|
|
7246
|
-
reason: z241.string().optional()
|
|
7247
|
-
});
|
|
7248
7229
|
var DTOStorybookEntryOrigin = z241.object({
|
|
7249
7230
|
id: z241.string(),
|
|
7250
7231
|
type: z241.enum(["story", "docs"]),
|
|
@@ -7767,20 +7748,11 @@ var DTOUserDesignSystemsResponse = z255.object({
|
|
|
7767
7748
|
workspaces: DTOWorkspace.array()
|
|
7768
7749
|
});
|
|
7769
7750
|
|
|
7770
|
-
// src/api/dto/design-systems/version-room.ts
|
|
7771
|
-
import { z as z256 } from "zod";
|
|
7772
|
-
var DTODesignSystemVersionRoom = z256.object({
|
|
7773
|
-
id: z256.string()
|
|
7774
|
-
});
|
|
7775
|
-
var DTODesignSystemVersionRoomResponse = z256.object({
|
|
7776
|
-
room: DTODesignSystemVersionRoom
|
|
7777
|
-
});
|
|
7778
|
-
|
|
7779
7751
|
// src/api/dto/design-systems/version.ts
|
|
7780
|
-
import { z as
|
|
7752
|
+
import { z as z267 } from "zod";
|
|
7781
7753
|
|
|
7782
7754
|
// src/api/payloads/design-systems/update-design-system.ts
|
|
7783
|
-
import { z as
|
|
7755
|
+
import { z as z256 } from "zod";
|
|
7784
7756
|
var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
|
|
7785
7757
|
id: true,
|
|
7786
7758
|
workspaceId: true,
|
|
@@ -7796,59 +7768,59 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
|
|
|
7796
7768
|
*/
|
|
7797
7769
|
designSystemSwitcher: DesignSystemSwitcher.optional()
|
|
7798
7770
|
});
|
|
7799
|
-
var DTODesignSystemUpdateAccessModeInput =
|
|
7771
|
+
var DTODesignSystemUpdateAccessModeInput = z256.object({
|
|
7800
7772
|
accessMode: DesignSystemAccessMode,
|
|
7801
|
-
retain:
|
|
7802
|
-
userIds:
|
|
7803
|
-
inviteIds:
|
|
7773
|
+
retain: z256.object({
|
|
7774
|
+
userIds: z256.string().array(),
|
|
7775
|
+
inviteIds: z256.string().array()
|
|
7804
7776
|
}).optional()
|
|
7805
7777
|
});
|
|
7806
|
-
var DTODesignSystemUpdateSwitcherInput =
|
|
7778
|
+
var DTODesignSystemUpdateSwitcherInput = z256.object({
|
|
7807
7779
|
designSystemSwitcher: DesignSystemSwitcher
|
|
7808
7780
|
});
|
|
7809
7781
|
|
|
7810
7782
|
// src/api/payloads/design-systems/version.ts
|
|
7811
|
-
import { z as
|
|
7812
|
-
var ObjectMeta2 =
|
|
7813
|
-
name:
|
|
7814
|
-
description:
|
|
7783
|
+
import { z as z257 } from "zod";
|
|
7784
|
+
var ObjectMeta2 = z257.object({
|
|
7785
|
+
name: z257.string().max(150).optional(),
|
|
7786
|
+
description: z257.string().max(2e3).optional()
|
|
7815
7787
|
});
|
|
7816
7788
|
function validateDesignSystemVersion(version) {
|
|
7817
7789
|
const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
|
|
7818
7790
|
return urlCompliantRegex.test(version);
|
|
7819
7791
|
}
|
|
7820
|
-
var DTOCreateVersionInput =
|
|
7792
|
+
var DTOCreateVersionInput = z257.object({
|
|
7821
7793
|
meta: ObjectMeta2,
|
|
7822
|
-
version:
|
|
7794
|
+
version: z257.string().refine(validateDesignSystemVersion, {
|
|
7823
7795
|
message: "Invalid semantic versioning format"
|
|
7824
7796
|
}),
|
|
7825
|
-
changeLog:
|
|
7797
|
+
changeLog: z257.string().optional()
|
|
7826
7798
|
});
|
|
7827
|
-
var DTOUpdateVersionInput =
|
|
7799
|
+
var DTOUpdateVersionInput = z257.object({
|
|
7828
7800
|
meta: ObjectMeta2,
|
|
7829
|
-
version:
|
|
7801
|
+
version: z257.string(),
|
|
7830
7802
|
// required for PUT, but not editable
|
|
7831
|
-
changeLog:
|
|
7803
|
+
changeLog: z257.string()
|
|
7832
7804
|
});
|
|
7833
7805
|
|
|
7834
7806
|
// src/api/payloads/documentation/analytics.ts
|
|
7835
|
-
import { z as
|
|
7836
|
-
var DTODocumentationAnalyticsTimeFrameComparison =
|
|
7837
|
-
referencePeriod:
|
|
7838
|
-
start:
|
|
7839
|
-
end:
|
|
7807
|
+
import { z as z258 } from "zod";
|
|
7808
|
+
var DTODocumentationAnalyticsTimeFrameComparison = z258.object({
|
|
7809
|
+
referencePeriod: z258.object({
|
|
7810
|
+
start: z258.coerce.date(),
|
|
7811
|
+
end: z258.coerce.date().optional()
|
|
7840
7812
|
}),
|
|
7841
|
-
baselinePeriod:
|
|
7842
|
-
start:
|
|
7843
|
-
end:
|
|
7813
|
+
baselinePeriod: z258.object({
|
|
7814
|
+
start: z258.coerce.date(),
|
|
7815
|
+
end: z258.coerce.date().optional()
|
|
7844
7816
|
})
|
|
7845
7817
|
});
|
|
7846
|
-
var DTODocumentationAnalyticsDiffPayload =
|
|
7847
|
-
timeFrames:
|
|
7818
|
+
var DTODocumentationAnalyticsDiffPayload = z258.object({
|
|
7819
|
+
timeFrames: z258.array(DTODocumentationAnalyticsTimeFrameComparison)
|
|
7848
7820
|
});
|
|
7849
7821
|
|
|
7850
7822
|
// src/api/payloads/documentation/block-definitions.ts
|
|
7851
|
-
import { z as
|
|
7823
|
+
import { z as z259 } from "zod";
|
|
7852
7824
|
|
|
7853
7825
|
// src/api/dto/documentation/block-definition.ts
|
|
7854
7826
|
var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
|
|
@@ -7860,79 +7832,79 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
|
|
|
7860
7832
|
var DTOPageBlockDefinition = PageBlockDefinition;
|
|
7861
7833
|
|
|
7862
7834
|
// src/api/payloads/documentation/block-definitions.ts
|
|
7863
|
-
var DTOGetBlockDefinitionsQuery =
|
|
7835
|
+
var DTOGetBlockDefinitionsQuery = z259.object({
|
|
7864
7836
|
files: zodQueryBoolean()
|
|
7865
7837
|
});
|
|
7866
|
-
var DTOGetBlockDefinitionsOutput =
|
|
7867
|
-
definitions:
|
|
7838
|
+
var DTOGetBlockDefinitionsOutput = z259.object({
|
|
7839
|
+
definitions: z259.array(DTOPageBlockDefinition)
|
|
7868
7840
|
});
|
|
7869
7841
|
|
|
7870
7842
|
// src/api/payloads/documentation/design-data-doc-diff.ts
|
|
7871
|
-
import { z as
|
|
7872
|
-
var DTODocumentationPublishTypeQueryParams =
|
|
7873
|
-
environment:
|
|
7843
|
+
import { z as z260 } from "zod";
|
|
7844
|
+
var DTODocumentationPublishTypeQueryParams = z260.object({
|
|
7845
|
+
environment: z260.enum(["Live", "Preview"])
|
|
7874
7846
|
});
|
|
7875
7847
|
|
|
7876
7848
|
// src/api/payloads/export/pipeline.ts
|
|
7877
|
-
import { z as
|
|
7849
|
+
import { z as z262 } from "zod";
|
|
7878
7850
|
|
|
7879
7851
|
// src/api/dto/export/exporter-property.ts
|
|
7880
|
-
import { z as
|
|
7881
|
-
var PrimitiveValue2 =
|
|
7882
|
-
var ArrayValue2 =
|
|
7883
|
-
var ObjectValue2 =
|
|
7852
|
+
import { z as z261 } from "zod";
|
|
7853
|
+
var PrimitiveValue2 = z261.number().or(z261.boolean()).or(z261.string());
|
|
7854
|
+
var ArrayValue2 = z261.array(z261.string());
|
|
7855
|
+
var ObjectValue2 = z261.record(z261.string());
|
|
7884
7856
|
var DTOExporterPropertyValue = PrimitiveValue2.or(ArrayValue2).or(ObjectValue2);
|
|
7885
|
-
var DTOExporterPropertyType =
|
|
7886
|
-
var PropertyDefinitionBase2 =
|
|
7887
|
-
key:
|
|
7888
|
-
title:
|
|
7889
|
-
description:
|
|
7890
|
-
category:
|
|
7891
|
-
dependsOn:
|
|
7892
|
-
});
|
|
7893
|
-
var DTOExporterPropertyDefinitionEnumOption =
|
|
7894
|
-
label:
|
|
7895
|
-
description:
|
|
7857
|
+
var DTOExporterPropertyType = z261.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
|
|
7858
|
+
var PropertyDefinitionBase2 = z261.object({
|
|
7859
|
+
key: z261.string(),
|
|
7860
|
+
title: z261.string(),
|
|
7861
|
+
description: z261.string(),
|
|
7862
|
+
category: z261.string().optional(),
|
|
7863
|
+
dependsOn: z261.record(z261.boolean()).optional()
|
|
7864
|
+
});
|
|
7865
|
+
var DTOExporterPropertyDefinitionEnumOption = z261.object({
|
|
7866
|
+
label: z261.string(),
|
|
7867
|
+
description: z261.string()
|
|
7896
7868
|
});
|
|
7897
7869
|
var DTOExporterPropertyDefinitionEnum = PropertyDefinitionBase2.extend({
|
|
7898
|
-
type:
|
|
7899
|
-
options:
|
|
7900
|
-
default:
|
|
7870
|
+
type: z261.literal(DTOExporterPropertyType.Enum.Enum),
|
|
7871
|
+
options: z261.record(DTOExporterPropertyDefinitionEnumOption),
|
|
7872
|
+
default: z261.string()
|
|
7901
7873
|
});
|
|
7902
7874
|
var DTOExporterPropertyDefinitionBoolean = PropertyDefinitionBase2.extend({
|
|
7903
|
-
type:
|
|
7904
|
-
default:
|
|
7875
|
+
type: z261.literal(DTOExporterPropertyType.Enum.Boolean),
|
|
7876
|
+
default: z261.boolean()
|
|
7905
7877
|
});
|
|
7906
7878
|
var DTOExporterPropertyDefinitionString = PropertyDefinitionBase2.extend({
|
|
7907
|
-
type:
|
|
7908
|
-
default:
|
|
7909
|
-
isMultiline:
|
|
7879
|
+
type: z261.literal(DTOExporterPropertyType.Enum.String),
|
|
7880
|
+
default: z261.string(),
|
|
7881
|
+
isMultiline: z261.boolean().optional()
|
|
7910
7882
|
});
|
|
7911
7883
|
var DTOExporterPropertyDefinitionNumber = PropertyDefinitionBase2.extend({
|
|
7912
|
-
type:
|
|
7913
|
-
default:
|
|
7884
|
+
type: z261.literal(DTOExporterPropertyType.Enum.Number),
|
|
7885
|
+
default: z261.number()
|
|
7914
7886
|
});
|
|
7915
7887
|
var DTOExporterPropertyDefinitionArray = PropertyDefinitionBase2.extend({
|
|
7916
|
-
type:
|
|
7888
|
+
type: z261.literal(DTOExporterPropertyType.Enum.Array),
|
|
7917
7889
|
default: ArrayValue2
|
|
7918
7890
|
});
|
|
7919
7891
|
var DTOExporterPropertyDefinitionObject = PropertyDefinitionBase2.extend({
|
|
7920
|
-
type:
|
|
7892
|
+
type: z261.literal(DTOExporterPropertyType.Enum.Object),
|
|
7921
7893
|
default: ObjectValue2,
|
|
7922
|
-
allowedKeys:
|
|
7923
|
-
options:
|
|
7924
|
-
type:
|
|
7894
|
+
allowedKeys: z261.object({
|
|
7895
|
+
options: z261.string().array(),
|
|
7896
|
+
type: z261.string()
|
|
7925
7897
|
}).optional(),
|
|
7926
|
-
allowedValues:
|
|
7927
|
-
type:
|
|
7898
|
+
allowedValues: z261.object({
|
|
7899
|
+
type: z261.string()
|
|
7928
7900
|
}).optional()
|
|
7929
7901
|
});
|
|
7930
7902
|
var DTOExporterPropertyDefinitionCode = PropertyDefinitionBase2.extend({
|
|
7931
|
-
type:
|
|
7932
|
-
language:
|
|
7933
|
-
default:
|
|
7903
|
+
type: z261.literal(DTOExporterPropertyType.Enum.Code),
|
|
7904
|
+
language: z261.string(),
|
|
7905
|
+
default: z261.string()
|
|
7934
7906
|
});
|
|
7935
|
-
var DTOExporterPropertyDefinition =
|
|
7907
|
+
var DTOExporterPropertyDefinition = z261.discriminatedUnion("type", [
|
|
7936
7908
|
DTOExporterPropertyDefinitionEnum,
|
|
7937
7909
|
DTOExporterPropertyDefinitionBoolean,
|
|
7938
7910
|
DTOExporterPropertyDefinitionString,
|
|
@@ -7941,89 +7913,89 @@ var DTOExporterPropertyDefinition = z262.discriminatedUnion("type", [
|
|
|
7941
7913
|
DTOExporterPropertyDefinitionObject,
|
|
7942
7914
|
DTOExporterPropertyDefinitionCode
|
|
7943
7915
|
]);
|
|
7944
|
-
var DTOExporterPropertyDefinitionsResponse =
|
|
7916
|
+
var DTOExporterPropertyDefinitionsResponse = z261.object({
|
|
7945
7917
|
properties: DTOExporterPropertyDefinition.array()
|
|
7946
7918
|
});
|
|
7947
|
-
var DTOExporterPropertyValueMap =
|
|
7919
|
+
var DTOExporterPropertyValueMap = z261.record(DTOExporterPropertyValue);
|
|
7948
7920
|
|
|
7949
7921
|
// src/api/payloads/export/pipeline.ts
|
|
7950
|
-
var GitDestinationOptions =
|
|
7951
|
-
branch:
|
|
7952
|
-
commitMessage:
|
|
7953
|
-
commitAuthorName:
|
|
7954
|
-
commitAuthorEmail:
|
|
7955
|
-
pullRequestTitle:
|
|
7956
|
-
pullRequestDescription:
|
|
7957
|
-
relativePath:
|
|
7958
|
-
purgeDirectory:
|
|
7959
|
-
});
|
|
7960
|
-
var DTOPipelineCreateBody =
|
|
7961
|
-
name:
|
|
7962
|
-
exporterId:
|
|
7963
|
-
designSystemId:
|
|
7964
|
-
isEnabled:
|
|
7922
|
+
var GitDestinationOptions = z262.object({
|
|
7923
|
+
branch: z262.string().min(1).nullish(),
|
|
7924
|
+
commitMessage: z262.string().min(1).nullish(),
|
|
7925
|
+
commitAuthorName: z262.string().min(1).nullish(),
|
|
7926
|
+
commitAuthorEmail: z262.string().email().nullish(),
|
|
7927
|
+
pullRequestTitle: z262.string().min(1).nullish(),
|
|
7928
|
+
pullRequestDescription: z262.string().min(1).nullish(),
|
|
7929
|
+
relativePath: z262.string().nullish(),
|
|
7930
|
+
purgeDirectory: z262.boolean().nullish()
|
|
7931
|
+
});
|
|
7932
|
+
var DTOPipelineCreateBody = z262.object({
|
|
7933
|
+
name: z262.string(),
|
|
7934
|
+
exporterId: z262.string(),
|
|
7935
|
+
designSystemId: z262.string(),
|
|
7936
|
+
isEnabled: z262.boolean(),
|
|
7965
7937
|
eventType: PipelineEventType,
|
|
7966
|
-
brandPersistentId:
|
|
7967
|
-
themePersistentId:
|
|
7968
|
-
themePersistentIds:
|
|
7938
|
+
brandPersistentId: z262.string().optional(),
|
|
7939
|
+
themePersistentId: z262.string().optional(),
|
|
7940
|
+
themePersistentIds: z262.string().array().optional(),
|
|
7969
7941
|
exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
|
|
7970
7942
|
destination: PipelineDestinationType.optional(),
|
|
7971
7943
|
gitQuery: GitObjectsQuery,
|
|
7972
|
-
destinations:
|
|
7944
|
+
destinations: z262.object({
|
|
7973
7945
|
s3: ExporterDestinationS3.nullish(),
|
|
7974
7946
|
azure: ExporterDestinationAzure.nullish(),
|
|
7975
7947
|
bitbucket: ExporterDestinationBitbucket.nullish(),
|
|
7976
7948
|
github: ExporterDestinationGithub.nullish(),
|
|
7977
7949
|
gitlab: ExporterDestinationGitlab.nullish(),
|
|
7978
7950
|
documentation: ExporterDestinationDocs.nullish(),
|
|
7979
|
-
webhookUrl:
|
|
7951
|
+
webhookUrl: z262.string().nullish()
|
|
7980
7952
|
})
|
|
7981
7953
|
});
|
|
7982
|
-
var DTOPipelineUpdateBody =
|
|
7983
|
-
exporterId:
|
|
7984
|
-
name:
|
|
7985
|
-
isEnabled:
|
|
7954
|
+
var DTOPipelineUpdateBody = z262.object({
|
|
7955
|
+
exporterId: z262.string().optional(),
|
|
7956
|
+
name: z262.string().optional(),
|
|
7957
|
+
isEnabled: z262.boolean().optional(),
|
|
7986
7958
|
eventType: PipelineEventType.optional(),
|
|
7987
|
-
brandPersistentId:
|
|
7988
|
-
themePersistentId:
|
|
7989
|
-
themePersistentIds:
|
|
7959
|
+
brandPersistentId: z262.string().optional(),
|
|
7960
|
+
themePersistentId: z262.string().optional(),
|
|
7961
|
+
themePersistentIds: z262.string().array().optional(),
|
|
7990
7962
|
exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
|
|
7991
7963
|
destination: PipelineDestinationType.optional(),
|
|
7992
7964
|
gitQuery: GitObjectsQuery.optional(),
|
|
7993
|
-
destinations:
|
|
7965
|
+
destinations: z262.object({
|
|
7994
7966
|
s3: ExporterDestinationS3.nullish(),
|
|
7995
7967
|
azure: ExporterDestinationAzure.nullish(),
|
|
7996
7968
|
bitbucket: ExporterDestinationBitbucket.nullish(),
|
|
7997
7969
|
github: ExporterDestinationGithub.nullish(),
|
|
7998
7970
|
gitlab: ExporterDestinationGitlab.nullish(),
|
|
7999
7971
|
documentation: ExporterDestinationDocs.nullish(),
|
|
8000
|
-
webhookUrl:
|
|
7972
|
+
webhookUrl: z262.string().nullish()
|
|
8001
7973
|
}).optional(),
|
|
8002
7974
|
gitDestinationOptions: GitDestinationOptions.partial().optional()
|
|
8003
7975
|
});
|
|
8004
|
-
var DTOPipelineTriggerBody =
|
|
8005
|
-
designSystemVersionId:
|
|
7976
|
+
var DTOPipelineTriggerBody = z262.object({
|
|
7977
|
+
designSystemVersionId: z262.string()
|
|
8006
7978
|
});
|
|
8007
7979
|
|
|
8008
7980
|
// src/api/payloads/liveblocks/auth.ts
|
|
8009
|
-
import { z as
|
|
8010
|
-
var DTOLiveblocksAuthRequest =
|
|
8011
|
-
room:
|
|
7981
|
+
import { z as z263 } from "zod";
|
|
7982
|
+
var DTOLiveblocksAuthRequest = z263.object({
|
|
7983
|
+
room: z263.string().optional()
|
|
8012
7984
|
});
|
|
8013
7985
|
|
|
8014
7986
|
// src/api/payloads/users/notifications/notification-settings.ts
|
|
8015
|
-
import { z as
|
|
8016
|
-
var DTOUpdateUserNotificationSettingsPayload =
|
|
7987
|
+
import { z as z264 } from "zod";
|
|
7988
|
+
var DTOUpdateUserNotificationSettingsPayload = z264.object({
|
|
8017
7989
|
notificationSettings: UserNotificationSettings
|
|
8018
7990
|
});
|
|
8019
|
-
var DTOUserNotificationSettingsResponse =
|
|
8020
|
-
userId:
|
|
8021
|
-
workspaceId:
|
|
7991
|
+
var DTOUserNotificationSettingsResponse = z264.object({
|
|
7992
|
+
userId: z264.string(),
|
|
7993
|
+
workspaceId: z264.string(),
|
|
8022
7994
|
notificationSettings: UserNotificationSettings
|
|
8023
7995
|
});
|
|
8024
7996
|
|
|
8025
7997
|
// src/api/payloads/workspaces/workspace-configuration.ts
|
|
8026
|
-
import { z as
|
|
7998
|
+
import { z as z265 } from "zod";
|
|
8027
7999
|
var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
|
|
8028
8000
|
function validateSsoPayload(ssoPayload) {
|
|
8029
8001
|
const keys = [];
|
|
@@ -8046,91 +8018,100 @@ function validateSsoPayload(ssoPayload) {
|
|
|
8046
8018
|
keys
|
|
8047
8019
|
};
|
|
8048
8020
|
}
|
|
8049
|
-
var NpmRegistryInput =
|
|
8050
|
-
enabledScopes:
|
|
8051
|
-
customRegistryUrl:
|
|
8052
|
-
bypassProxy:
|
|
8053
|
-
npmProxyRegistryConfigId:
|
|
8054
|
-
npmProxyVersion:
|
|
8055
|
-
registryType:
|
|
8056
|
-
authType:
|
|
8057
|
-
authHeaderName:
|
|
8058
|
-
authHeaderValue:
|
|
8059
|
-
accessToken:
|
|
8060
|
-
username:
|
|
8061
|
-
password:
|
|
8062
|
-
});
|
|
8063
|
-
var WorkspaceConfigurationPayload =
|
|
8021
|
+
var NpmRegistryInput = z265.object({
|
|
8022
|
+
enabledScopes: z265.array(z265.string()),
|
|
8023
|
+
customRegistryUrl: z265.string().optional(),
|
|
8024
|
+
bypassProxy: z265.boolean().optional(),
|
|
8025
|
+
npmProxyRegistryConfigId: z265.string().optional(),
|
|
8026
|
+
npmProxyVersion: z265.number().optional(),
|
|
8027
|
+
registryType: z265.string(),
|
|
8028
|
+
authType: z265.string(),
|
|
8029
|
+
authHeaderName: z265.string(),
|
|
8030
|
+
authHeaderValue: z265.string(),
|
|
8031
|
+
accessToken: z265.string(),
|
|
8032
|
+
username: z265.string(),
|
|
8033
|
+
password: z265.string()
|
|
8034
|
+
});
|
|
8035
|
+
var WorkspaceConfigurationPayload = z265.object({
|
|
8064
8036
|
ipWhitelist: WorkspaceIpSettings.partial().optional(),
|
|
8065
8037
|
sso: SsoProvider.partial().optional(),
|
|
8066
8038
|
npmRegistrySettings: NpmRegistryInput.partial().optional(),
|
|
8067
8039
|
profile: WorkspaceProfile.partial().optional(),
|
|
8068
|
-
aiFeaturesEnabled:
|
|
8069
|
-
projectsEnabled:
|
|
8040
|
+
aiFeaturesEnabled: z265.boolean().optional(),
|
|
8041
|
+
projectsEnabled: z265.boolean().optional(),
|
|
8070
8042
|
defaultProjectAccessMode: WorkspaceDefaultProjectAccessMode.optional(),
|
|
8071
8043
|
defaultProjectRole: WorkspaceDefaultProjectRole.optional(),
|
|
8072
|
-
aiAskFeaturesEnabled:
|
|
8073
|
-
aiCustomInstruction:
|
|
8044
|
+
aiAskFeaturesEnabled: z265.boolean().optional(),
|
|
8045
|
+
aiCustomInstruction: z265.string().optional()
|
|
8074
8046
|
});
|
|
8075
8047
|
|
|
8076
8048
|
// src/api/payloads/workspaces/workspace-integrations.ts
|
|
8077
|
-
import { z as
|
|
8078
|
-
var DTOWorkspaceIntegrationOauthInput =
|
|
8049
|
+
import { z as z266 } from "zod";
|
|
8050
|
+
var DTOWorkspaceIntegrationOauthInput = z266.object({
|
|
8079
8051
|
type: IntegrationType
|
|
8080
8052
|
});
|
|
8081
|
-
var DTOWorkspaceIntegrationPATInput =
|
|
8053
|
+
var DTOWorkspaceIntegrationPATInput = z266.object({
|
|
8082
8054
|
type: IntegrationType,
|
|
8083
8055
|
token: IntegrationToken
|
|
8084
8056
|
});
|
|
8085
|
-
var DTOWorkspaceIntegrationGetGitObjectsInput =
|
|
8086
|
-
organization:
|
|
8057
|
+
var DTOWorkspaceIntegrationGetGitObjectsInput = z266.object({
|
|
8058
|
+
organization: z266.string().optional(),
|
|
8087
8059
|
// Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
|
|
8088
|
-
project:
|
|
8060
|
+
project: z266.string().optional(),
|
|
8089
8061
|
// Only for Bitbucket and Azure
|
|
8090
|
-
repository:
|
|
8062
|
+
repository: z266.string().optional(),
|
|
8091
8063
|
// For all providers. Pay attention for Gitlab, they call repositories "projects".
|
|
8092
|
-
branch:
|
|
8064
|
+
branch: z266.string().optional(),
|
|
8093
8065
|
// For all providers, useful for PR creations.
|
|
8094
|
-
user:
|
|
8066
|
+
user: z266.string().optional()
|
|
8095
8067
|
// Only for Gitlab User Repositories
|
|
8096
8068
|
});
|
|
8097
8069
|
|
|
8098
8070
|
// src/api/dto/design-systems/version.ts
|
|
8099
|
-
var DTODesignSystemVersion =
|
|
8100
|
-
id:
|
|
8101
|
-
createdAt:
|
|
8071
|
+
var DTODesignSystemVersion = z267.object({
|
|
8072
|
+
id: z267.string(),
|
|
8073
|
+
createdAt: z267.coerce.date(),
|
|
8102
8074
|
meta: ObjectMeta,
|
|
8103
|
-
version:
|
|
8104
|
-
isReadonly:
|
|
8105
|
-
changeLog:
|
|
8106
|
-
designSystemId:
|
|
8075
|
+
version: z267.string(),
|
|
8076
|
+
isReadonly: z267.boolean(),
|
|
8077
|
+
changeLog: z267.string(),
|
|
8078
|
+
designSystemId: z267.string()
|
|
8107
8079
|
});
|
|
8108
|
-
var DTODesignSystemVersionsListResponse =
|
|
8109
|
-
designSystemVersions:
|
|
8080
|
+
var DTODesignSystemVersionsListResponse = z267.object({
|
|
8081
|
+
designSystemVersions: z267.array(DTODesignSystemVersion)
|
|
8110
8082
|
});
|
|
8111
|
-
var DTODesignSystemVersionGetResponse =
|
|
8083
|
+
var DTODesignSystemVersionGetResponse = z267.object({
|
|
8112
8084
|
designSystemVersion: DTODesignSystemVersion
|
|
8113
8085
|
});
|
|
8114
|
-
var DTODesignSystemVersionCreationResponse =
|
|
8086
|
+
var DTODesignSystemVersionCreationResponse = z267.object({
|
|
8115
8087
|
meta: ObjectMeta,
|
|
8116
|
-
version:
|
|
8117
|
-
changeLog:
|
|
8118
|
-
isReadOnly:
|
|
8119
|
-
designSystemId:
|
|
8120
|
-
jobId:
|
|
8121
|
-
});
|
|
8122
|
-
var VersionSQSPayload =
|
|
8123
|
-
jobId:
|
|
8124
|
-
designSystemId:
|
|
8088
|
+
version: z267.string(),
|
|
8089
|
+
changeLog: z267.string(),
|
|
8090
|
+
isReadOnly: z267.boolean(),
|
|
8091
|
+
designSystemId: z267.string(),
|
|
8092
|
+
jobId: z267.string()
|
|
8093
|
+
});
|
|
8094
|
+
var VersionSQSPayload = z267.object({
|
|
8095
|
+
jobId: z267.string(),
|
|
8096
|
+
designSystemId: z267.string(),
|
|
8125
8097
|
input: DTOCreateVersionInput
|
|
8126
8098
|
});
|
|
8127
|
-
var DTODesignSystemVersionJobsResponse =
|
|
8128
|
-
jobs:
|
|
8099
|
+
var DTODesignSystemVersionJobsResponse = z267.object({
|
|
8100
|
+
jobs: z267.array(VersionCreationJob)
|
|
8129
8101
|
});
|
|
8130
|
-
var DTODesignSystemVersionJobStatusResponse =
|
|
8102
|
+
var DTODesignSystemVersionJobStatusResponse = z267.object({
|
|
8131
8103
|
job: VersionCreationJob
|
|
8132
8104
|
});
|
|
8133
8105
|
|
|
8106
|
+
// src/api/dto/design-systems/version-room.ts
|
|
8107
|
+
import { z as z268 } from "zod";
|
|
8108
|
+
var DTODesignSystemVersionRoom = z268.object({
|
|
8109
|
+
id: z268.string()
|
|
8110
|
+
});
|
|
8111
|
+
var DTODesignSystemVersionRoomResponse = z268.object({
|
|
8112
|
+
room: DTODesignSystemVersionRoom
|
|
8113
|
+
});
|
|
8114
|
+
|
|
8134
8115
|
// src/api/dto/design-systems/view.ts
|
|
8135
8116
|
import { z as z269 } from "zod";
|
|
8136
8117
|
var DTOElementViewColumnSharedAttributes = z269.object({
|
|
@@ -11409,53 +11390,89 @@ var DTOSandboxTemplateBuildFinalizeResponse = z345.object({
|
|
|
11409
11390
|
ok: z345.boolean()
|
|
11410
11391
|
});
|
|
11411
11392
|
|
|
11412
|
-
// src/api/dto/
|
|
11393
|
+
// src/api/dto/storybook-sites/index.ts
|
|
11413
11394
|
import { z as z346 } from "zod";
|
|
11395
|
+
var DTOStorybookUploadStatus = z346.enum(["PendingUpload", "Failed", "InProgress", "Completed", "Timeout"]);
|
|
11396
|
+
var DTOStorybookSiteVersion = z346.object({
|
|
11397
|
+
id: z346.string(),
|
|
11398
|
+
isPublic: z346.boolean(),
|
|
11399
|
+
createdAt: z346.string(),
|
|
11400
|
+
uploadStatus: DTOStorybookUploadStatus
|
|
11401
|
+
});
|
|
11402
|
+
var DTOStorybookSite = z346.object({
|
|
11403
|
+
id: z346.string(),
|
|
11404
|
+
designSystemId: z346.string(),
|
|
11405
|
+
name: z346.string(),
|
|
11406
|
+
indexPageUrl: z346.string(),
|
|
11407
|
+
createdAt: z346.string(),
|
|
11408
|
+
currentVersion: DTOStorybookSiteVersion
|
|
11409
|
+
});
|
|
11410
|
+
var DTOStorybookSiteListQuery = z346.object({
|
|
11411
|
+
designSystemId: z346.string()
|
|
11412
|
+
});
|
|
11413
|
+
var DTOStorybookSiteListResponse = z346.object({
|
|
11414
|
+
sites: DTOStorybookSite.array()
|
|
11415
|
+
});
|
|
11416
|
+
var DTOStorybookSiteUploadPayload = z346.object({
|
|
11417
|
+
designSystemId: z346.string(),
|
|
11418
|
+
isPublic: z346.boolean(),
|
|
11419
|
+
name: z346.string()
|
|
11420
|
+
});
|
|
11421
|
+
var DTOStorybookSiteUploadResponse = z346.object({
|
|
11422
|
+
storybookSiteVersion: DTOStorybookSiteVersion,
|
|
11423
|
+
uploadUrl: z346.string()
|
|
11424
|
+
});
|
|
11425
|
+
var DTOStorybookSiteVersionResponse = z346.object({
|
|
11426
|
+
storybookSiteVersion: DTOStorybookSiteVersion
|
|
11427
|
+
});
|
|
11428
|
+
|
|
11429
|
+
// src/api/dto/themes/override.ts
|
|
11430
|
+
import { z as z347 } from "zod";
|
|
11414
11431
|
var DTOThemeOverride = DesignTokenTypedData.and(
|
|
11415
|
-
|
|
11416
|
-
tokenPersistentId:
|
|
11432
|
+
z347.object({
|
|
11433
|
+
tokenPersistentId: z347.string(),
|
|
11417
11434
|
origin: ThemeOverrideOrigin.optional()
|
|
11418
11435
|
})
|
|
11419
11436
|
);
|
|
11420
11437
|
var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
|
|
11421
|
-
|
|
11422
|
-
tokenPersistentId:
|
|
11438
|
+
z347.object({
|
|
11439
|
+
tokenPersistentId: z347.string()
|
|
11423
11440
|
})
|
|
11424
11441
|
);
|
|
11425
11442
|
|
|
11426
11443
|
// src/api/dto/themes/theme.ts
|
|
11427
|
-
import { z as
|
|
11428
|
-
var DTOThemesListQuery =
|
|
11429
|
-
brandId:
|
|
11430
|
-
});
|
|
11431
|
-
var DTOTheme =
|
|
11432
|
-
id:
|
|
11433
|
-
persistentId:
|
|
11434
|
-
designSystemVersionId:
|
|
11435
|
-
brandId:
|
|
11444
|
+
import { z as z348 } from "zod";
|
|
11445
|
+
var DTOThemesListQuery = z348.object({
|
|
11446
|
+
brandId: z348.string().optional()
|
|
11447
|
+
});
|
|
11448
|
+
var DTOTheme = z348.object({
|
|
11449
|
+
id: z348.string(),
|
|
11450
|
+
persistentId: z348.string(),
|
|
11451
|
+
designSystemVersionId: z348.string(),
|
|
11452
|
+
brandId: z348.string(),
|
|
11436
11453
|
meta: ObjectMeta,
|
|
11437
|
-
codeName:
|
|
11438
|
-
parentPersistentId:
|
|
11439
|
-
collectionPersistentIds:
|
|
11454
|
+
codeName: z348.string(),
|
|
11455
|
+
parentPersistentId: z348.string().optional(),
|
|
11456
|
+
collectionPersistentIds: z348.string().array(),
|
|
11440
11457
|
overrides: DTOThemeOverride.array()
|
|
11441
11458
|
});
|
|
11442
|
-
var DTOThemeResponse =
|
|
11459
|
+
var DTOThemeResponse = z348.object({
|
|
11443
11460
|
theme: DTOTheme
|
|
11444
11461
|
});
|
|
11445
|
-
var DTOThemeListResponse =
|
|
11462
|
+
var DTOThemeListResponse = z348.object({
|
|
11446
11463
|
themes: DTOTheme.array()
|
|
11447
11464
|
});
|
|
11448
|
-
var DTOThemeCreatePayload =
|
|
11465
|
+
var DTOThemeCreatePayload = z348.object({
|
|
11449
11466
|
meta: ObjectMeta,
|
|
11450
|
-
persistentId:
|
|
11451
|
-
brandId:
|
|
11452
|
-
codeName:
|
|
11467
|
+
persistentId: z348.string(),
|
|
11468
|
+
brandId: z348.string(),
|
|
11469
|
+
codeName: z348.string(),
|
|
11453
11470
|
overrides: DTOThemeOverride.array()
|
|
11454
11471
|
});
|
|
11455
11472
|
|
|
11456
11473
|
// src/api/dto/trail-events/trail-events.ts
|
|
11457
|
-
import { z as
|
|
11458
|
-
var DTOTrailEventType =
|
|
11474
|
+
import { z as z349 } from "zod";
|
|
11475
|
+
var DTOTrailEventType = z349.enum([
|
|
11459
11476
|
"IterationCreated",
|
|
11460
11477
|
"IterationBookmarked",
|
|
11461
11478
|
"FeatureCreated",
|
|
@@ -11473,124 +11490,124 @@ var DTOTrailEventType = z348.enum([
|
|
|
11473
11490
|
"FeaturePublished",
|
|
11474
11491
|
"FeatureUnpublished"
|
|
11475
11492
|
]);
|
|
11476
|
-
var DTOTrailEventBase =
|
|
11477
|
-
id:
|
|
11478
|
-
projectId:
|
|
11479
|
-
userId:
|
|
11480
|
-
createdAt:
|
|
11481
|
-
updatedAt:
|
|
11482
|
-
});
|
|
11483
|
-
var DTOTrailEventIterationCreatedPayload =
|
|
11484
|
-
iterationName:
|
|
11485
|
-
iterationId:
|
|
11486
|
-
featureId:
|
|
11487
|
-
});
|
|
11488
|
-
var DTOTrailEventIterationBookmarkedPayload =
|
|
11489
|
-
iterationId:
|
|
11490
|
-
featureId:
|
|
11491
|
-
iterationName:
|
|
11492
|
-
});
|
|
11493
|
-
var DTOTrailEventIterationPromotedPayload =
|
|
11494
|
-
iterationId:
|
|
11495
|
-
featureId:
|
|
11496
|
-
iterationName:
|
|
11497
|
-
});
|
|
11498
|
-
var DTOTrailEventFeatureCreatedPayload =
|
|
11499
|
-
featureId:
|
|
11500
|
-
name:
|
|
11501
|
-
description:
|
|
11502
|
-
});
|
|
11503
|
-
var DTOTrailEventFeatureDeletedPayload =
|
|
11504
|
-
featureId:
|
|
11505
|
-
name:
|
|
11506
|
-
});
|
|
11507
|
-
var DTOTrailEventFeatureArchivedPayload =
|
|
11508
|
-
featureId:
|
|
11509
|
-
name:
|
|
11510
|
-
});
|
|
11511
|
-
var DTOTrailEventDocumentCreatedPayload =
|
|
11512
|
-
documentId:
|
|
11513
|
-
title:
|
|
11514
|
-
sectionId:
|
|
11515
|
-
});
|
|
11516
|
-
var DTOTrailEventDocumentDeletedPayload =
|
|
11517
|
-
documentId:
|
|
11518
|
-
title:
|
|
11519
|
-
});
|
|
11520
|
-
var DTOTrailEventDocumentUpdatedPayload =
|
|
11521
|
-
documentId:
|
|
11522
|
-
title:
|
|
11523
|
-
sectionId:
|
|
11524
|
-
});
|
|
11525
|
-
var DTOTrailEventDocumentCommentSentPayload =
|
|
11526
|
-
documentId:
|
|
11527
|
-
title:
|
|
11528
|
-
sectionId:
|
|
11529
|
-
});
|
|
11530
|
-
var DTOTrailEventProjectCreatedPayload =
|
|
11531
|
-
name:
|
|
11532
|
-
description:
|
|
11533
|
-
});
|
|
11534
|
-
var DTOTrailEventFeaturePublishedPayload =
|
|
11535
|
-
featureId:
|
|
11536
|
-
featureName:
|
|
11537
|
-
iterationId:
|
|
11538
|
-
iterationName:
|
|
11539
|
-
});
|
|
11540
|
-
var DTOTrailEventFeatureUnpublishedPayload =
|
|
11541
|
-
featureId:
|
|
11542
|
-
featureName:
|
|
11543
|
-
iterationId:
|
|
11544
|
-
iterationName:
|
|
11545
|
-
});
|
|
11546
|
-
var DTOTrailEventProjectArchivedPayload =
|
|
11547
|
-
name:
|
|
11548
|
-
});
|
|
11549
|
-
var DTOTrailEventProjectContextCreatedPayload =
|
|
11550
|
-
contextId:
|
|
11551
|
-
name:
|
|
11552
|
-
description:
|
|
11553
|
-
});
|
|
11554
|
-
var DTOTrailEventProjectContextArchivedPayload =
|
|
11555
|
-
contextId:
|
|
11556
|
-
});
|
|
11557
|
-
var DTOTrailEventPayload =
|
|
11558
|
-
|
|
11559
|
-
|
|
11560
|
-
|
|
11561
|
-
|
|
11562
|
-
|
|
11563
|
-
|
|
11564
|
-
|
|
11565
|
-
|
|
11566
|
-
|
|
11567
|
-
|
|
11568
|
-
|
|
11569
|
-
|
|
11570
|
-
|
|
11571
|
-
|
|
11572
|
-
|
|
11573
|
-
|
|
11493
|
+
var DTOTrailEventBase = z349.object({
|
|
11494
|
+
id: z349.string(),
|
|
11495
|
+
projectId: z349.string(),
|
|
11496
|
+
userId: z349.string(),
|
|
11497
|
+
createdAt: z349.coerce.date(),
|
|
11498
|
+
updatedAt: z349.coerce.date()
|
|
11499
|
+
});
|
|
11500
|
+
var DTOTrailEventIterationCreatedPayload = z349.object({
|
|
11501
|
+
iterationName: z349.string(),
|
|
11502
|
+
iterationId: z349.string().uuid(),
|
|
11503
|
+
featureId: z349.string().uuid()
|
|
11504
|
+
});
|
|
11505
|
+
var DTOTrailEventIterationBookmarkedPayload = z349.object({
|
|
11506
|
+
iterationId: z349.string().uuid(),
|
|
11507
|
+
featureId: z349.string().uuid(),
|
|
11508
|
+
iterationName: z349.string()
|
|
11509
|
+
});
|
|
11510
|
+
var DTOTrailEventIterationPromotedPayload = z349.object({
|
|
11511
|
+
iterationId: z349.string().uuid(),
|
|
11512
|
+
featureId: z349.string().uuid(),
|
|
11513
|
+
iterationName: z349.string()
|
|
11514
|
+
});
|
|
11515
|
+
var DTOTrailEventFeatureCreatedPayload = z349.object({
|
|
11516
|
+
featureId: z349.string().uuid(),
|
|
11517
|
+
name: z349.string(),
|
|
11518
|
+
description: z349.string().optional()
|
|
11519
|
+
});
|
|
11520
|
+
var DTOTrailEventFeatureDeletedPayload = z349.object({
|
|
11521
|
+
featureId: z349.string().uuid(),
|
|
11522
|
+
name: z349.string()
|
|
11523
|
+
});
|
|
11524
|
+
var DTOTrailEventFeatureArchivedPayload = z349.object({
|
|
11525
|
+
featureId: z349.string().uuid(),
|
|
11526
|
+
name: z349.string()
|
|
11527
|
+
});
|
|
11528
|
+
var DTOTrailEventDocumentCreatedPayload = z349.object({
|
|
11529
|
+
documentId: z349.string().uuid(),
|
|
11530
|
+
title: z349.string(),
|
|
11531
|
+
sectionId: z349.string().uuid().optional()
|
|
11532
|
+
});
|
|
11533
|
+
var DTOTrailEventDocumentDeletedPayload = z349.object({
|
|
11534
|
+
documentId: z349.string().uuid(),
|
|
11535
|
+
title: z349.string()
|
|
11536
|
+
});
|
|
11537
|
+
var DTOTrailEventDocumentUpdatedPayload = z349.object({
|
|
11538
|
+
documentId: z349.string().uuid(),
|
|
11539
|
+
title: z349.string(),
|
|
11540
|
+
sectionId: z349.string().uuid().optional()
|
|
11541
|
+
});
|
|
11542
|
+
var DTOTrailEventDocumentCommentSentPayload = z349.object({
|
|
11543
|
+
documentId: z349.string().uuid(),
|
|
11544
|
+
title: z349.string(),
|
|
11545
|
+
sectionId: z349.string().uuid().optional()
|
|
11546
|
+
});
|
|
11547
|
+
var DTOTrailEventProjectCreatedPayload = z349.object({
|
|
11548
|
+
name: z349.string(),
|
|
11549
|
+
description: z349.string().optional()
|
|
11550
|
+
});
|
|
11551
|
+
var DTOTrailEventFeaturePublishedPayload = z349.object({
|
|
11552
|
+
featureId: z349.string().uuid(),
|
|
11553
|
+
featureName: z349.string(),
|
|
11554
|
+
iterationId: z349.string().uuid().nullish(),
|
|
11555
|
+
iterationName: z349.string().nullish()
|
|
11556
|
+
});
|
|
11557
|
+
var DTOTrailEventFeatureUnpublishedPayload = z349.object({
|
|
11558
|
+
featureId: z349.string().uuid(),
|
|
11559
|
+
featureName: z349.string(),
|
|
11560
|
+
iterationId: z349.string().uuid().nullish(),
|
|
11561
|
+
iterationName: z349.string().nullish()
|
|
11562
|
+
});
|
|
11563
|
+
var DTOTrailEventProjectArchivedPayload = z349.object({
|
|
11564
|
+
name: z349.string()
|
|
11565
|
+
});
|
|
11566
|
+
var DTOTrailEventProjectContextCreatedPayload = z349.object({
|
|
11567
|
+
contextId: z349.number(),
|
|
11568
|
+
name: z349.string(),
|
|
11569
|
+
description: z349.string().optional()
|
|
11570
|
+
});
|
|
11571
|
+
var DTOTrailEventProjectContextArchivedPayload = z349.object({
|
|
11572
|
+
contextId: z349.number()
|
|
11573
|
+
});
|
|
11574
|
+
var DTOTrailEventPayload = z349.discriminatedUnion("type", [
|
|
11575
|
+
z349.object({ type: z349.literal("IterationCreated"), payload: DTOTrailEventIterationCreatedPayload }),
|
|
11576
|
+
z349.object({ type: z349.literal("IterationBookmarked"), payload: DTOTrailEventIterationBookmarkedPayload }),
|
|
11577
|
+
z349.object({ type: z349.literal("FeatureCreated"), payload: DTOTrailEventFeatureCreatedPayload }),
|
|
11578
|
+
z349.object({ type: z349.literal("FeatureDeleted"), payload: DTOTrailEventFeatureDeletedPayload }),
|
|
11579
|
+
z349.object({ type: z349.literal("FeatureArchived"), payload: DTOTrailEventFeatureArchivedPayload }),
|
|
11580
|
+
z349.object({ type: z349.literal("DocumentCreated"), payload: DTOTrailEventDocumentCreatedPayload }),
|
|
11581
|
+
z349.object({ type: z349.literal("DocumentDeleted"), payload: DTOTrailEventDocumentDeletedPayload }),
|
|
11582
|
+
z349.object({ type: z349.literal("DocumentUpdated"), payload: DTOTrailEventDocumentUpdatedPayload }),
|
|
11583
|
+
z349.object({ type: z349.literal("DocumentCommentSent"), payload: DTOTrailEventDocumentCommentSentPayload }),
|
|
11584
|
+
z349.object({ type: z349.literal("ProjectCreated"), payload: DTOTrailEventProjectCreatedPayload }),
|
|
11585
|
+
z349.object({ type: z349.literal("ProjectArchived"), payload: DTOTrailEventProjectArchivedPayload }),
|
|
11586
|
+
z349.object({ type: z349.literal("IterationPromoted"), payload: DTOTrailEventIterationPromotedPayload }),
|
|
11587
|
+
z349.object({ type: z349.literal("ProjectContextCreated"), payload: DTOTrailEventProjectContextCreatedPayload }),
|
|
11588
|
+
z349.object({ type: z349.literal("ProjectContextArchived"), payload: DTOTrailEventProjectContextArchivedPayload }),
|
|
11589
|
+
z349.object({ type: z349.literal("FeaturePublished"), payload: DTOTrailEventFeaturePublishedPayload }),
|
|
11590
|
+
z349.object({ type: z349.literal("FeatureUnpublished"), payload: DTOTrailEventFeatureUnpublishedPayload })
|
|
11574
11591
|
]);
|
|
11575
11592
|
var DTOTrailEvent = DTOTrailEventPayload.and(DTOTrailEventBase);
|
|
11576
11593
|
var DTOTrailEventWithDetails = DTOTrailEvent.and(
|
|
11577
|
-
|
|
11578
|
-
projectName:
|
|
11579
|
-
userName:
|
|
11594
|
+
z349.object({
|
|
11595
|
+
projectName: z349.string().optional(),
|
|
11596
|
+
userName: z349.string().optional()
|
|
11580
11597
|
})
|
|
11581
11598
|
);
|
|
11582
|
-
var DTOTrailEventListInput =
|
|
11583
|
-
projectId:
|
|
11599
|
+
var DTOTrailEventListInput = z349.object({
|
|
11600
|
+
projectId: z349.string()
|
|
11584
11601
|
});
|
|
11585
|
-
var DTOTrailEventListResponse =
|
|
11586
|
-
events:
|
|
11602
|
+
var DTOTrailEventListResponse = z349.object({
|
|
11603
|
+
events: z349.array(DTOTrailEventWithDetails)
|
|
11587
11604
|
});
|
|
11588
11605
|
var DTOTrailEventCreate = DTOTrailEventPayload.and(
|
|
11589
11606
|
DTOTrailEventBase.omit({ id: true, createdAt: true, updatedAt: true })
|
|
11590
11607
|
);
|
|
11591
|
-
var DTOTrailEventClientCreate =
|
|
11592
|
-
|
|
11593
|
-
|
|
11608
|
+
var DTOTrailEventClientCreate = z349.discriminatedUnion("type", [
|
|
11609
|
+
z349.object({ type: z349.literal("DocumentUpdated"), payload: DTOTrailEventDocumentUpdatedPayload }),
|
|
11610
|
+
z349.object({ type: z349.literal("DocumentCommentSent"), payload: DTOTrailEventDocumentCommentSentPayload })
|
|
11594
11611
|
]).and(DTOTrailEventBase.omit({ id: true, createdAt: true, updatedAt: true }));
|
|
11595
11612
|
|
|
11596
11613
|
// src/api/endpoints/codegen/exporters.ts
|
|
@@ -11635,13 +11652,13 @@ var ExportersEndpoint = class {
|
|
|
11635
11652
|
};
|
|
11636
11653
|
|
|
11637
11654
|
// src/api/endpoints/codegen/jobs.ts
|
|
11638
|
-
import { z as
|
|
11655
|
+
import { z as z350 } from "zod";
|
|
11639
11656
|
var ExporterJobsEndpoint = class {
|
|
11640
11657
|
constructor(requestExecutor) {
|
|
11641
11658
|
this.requestExecutor = requestExecutor;
|
|
11642
11659
|
}
|
|
11643
11660
|
list(workspaceId) {
|
|
11644
|
-
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`,
|
|
11661
|
+
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z350.any());
|
|
11645
11662
|
}
|
|
11646
11663
|
get(workspaceId, jobId) {
|
|
11647
11664
|
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs/${jobId}`, DTOExportJobResponseLegacy);
|
|
@@ -11698,168 +11715,391 @@ var CodegenEndpoint = class {
|
|
|
11698
11715
|
}
|
|
11699
11716
|
};
|
|
11700
11717
|
|
|
11701
|
-
// src/api/endpoints/design-system/
|
|
11702
|
-
|
|
11703
|
-
var BrandsEndpoint = class {
|
|
11718
|
+
// src/api/endpoints/design-system/analytics.ts
|
|
11719
|
+
var DesignSystemAnalyticsEndpoint = class {
|
|
11704
11720
|
constructor(requestExecutor) {
|
|
11705
11721
|
this.requestExecutor = requestExecutor;
|
|
11706
11722
|
}
|
|
11707
|
-
get(designSystemId, versionId,
|
|
11708
|
-
return this.requestExecutor.json(
|
|
11709
|
-
`/design-systems/${designSystemId}/versions/${versionId}/brands/${brandId}`,
|
|
11710
|
-
DTOBrandGetResponse
|
|
11711
|
-
);
|
|
11712
|
-
}
|
|
11713
|
-
list(designSystemId, versionId) {
|
|
11714
|
-
return this.requestExecutor.json(
|
|
11715
|
-
`/design-systems/${designSystemId}/versions/${versionId}/brands`,
|
|
11716
|
-
DTOBrandsListResponse
|
|
11717
|
-
);
|
|
11718
|
-
}
|
|
11719
|
-
create(designSystemId, versionId, body) {
|
|
11723
|
+
get(designSystemId, versionId, body) {
|
|
11720
11724
|
return this.requestExecutor.json(
|
|
11721
|
-
`/design-systems/${designSystemId}/versions/${versionId}/
|
|
11722
|
-
|
|
11723
|
-
{
|
|
11724
|
-
method: "POST",
|
|
11725
|
-
body
|
|
11726
|
-
}
|
|
11725
|
+
`/design-systems/${designSystemId}/versions/${versionId}/documentation/analytics`,
|
|
11726
|
+
DTODocumentationPageAnalyticsResponse,
|
|
11727
|
+
{ method: "POST", body }
|
|
11727
11728
|
);
|
|
11728
11729
|
}
|
|
11729
|
-
|
|
11730
|
-
|
|
11731
|
-
|
|
11732
|
-
|
|
11733
|
-
|
|
11730
|
+
};
|
|
11731
|
+
|
|
11732
|
+
// src/api/endpoints/design-system/bff.ts
|
|
11733
|
+
var DesignSystemBffEndpoint = class {
|
|
11734
|
+
constructor(requestExecutor) {
|
|
11735
|
+
this.requestExecutor = requestExecutor;
|
|
11734
11736
|
}
|
|
11735
|
-
|
|
11736
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/
|
|
11737
|
-
method: "
|
|
11737
|
+
import(dsId, payload) {
|
|
11738
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/bff/import`, DTOImportJobResponse, {
|
|
11739
|
+
method: "POST",
|
|
11740
|
+
body: payload
|
|
11738
11741
|
});
|
|
11739
11742
|
}
|
|
11740
11743
|
};
|
|
11741
11744
|
|
|
11742
|
-
// src/api/endpoints/design-system/
|
|
11743
|
-
var
|
|
11745
|
+
// src/api/endpoints/design-system/contact.ts
|
|
11746
|
+
var DesignSystemContactsEndpoint = class {
|
|
11744
11747
|
constructor(requestExecutor) {
|
|
11745
11748
|
this.requestExecutor = requestExecutor;
|
|
11746
11749
|
}
|
|
11747
|
-
|
|
11748
|
-
return this.requestExecutor.json(
|
|
11749
|
-
|
|
11750
|
-
|
|
11751
|
-
{
|
|
11752
|
-
body,
|
|
11753
|
-
method: "POST"
|
|
11754
|
-
}
|
|
11755
|
-
);
|
|
11750
|
+
list(dsId) {
|
|
11751
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/contacts`, DTODesignSystemContactsResponse, {
|
|
11752
|
+
method: "GET"
|
|
11753
|
+
});
|
|
11756
11754
|
}
|
|
11757
|
-
|
|
11758
|
-
|
|
11759
|
-
|
|
11760
|
-
|
|
11761
|
-
|
|
11762
|
-
|
|
11755
|
+
};
|
|
11756
|
+
|
|
11757
|
+
// src/api/endpoints/design-system/design-systems.ts
|
|
11758
|
+
import { z as z357 } from "zod";
|
|
11759
|
+
|
|
11760
|
+
// src/api/endpoints/design-system/figma-node-structures.ts
|
|
11761
|
+
var FigmaNodeStructuresEndpoint = class {
|
|
11762
|
+
constructor(requestExecutor) {
|
|
11763
|
+
this.requestExecutor = requestExecutor;
|
|
11763
11764
|
}
|
|
11764
|
-
|
|
11765
|
+
list(dsId) {
|
|
11765
11766
|
return this.requestExecutor.json(
|
|
11766
|
-
`/design-systems/${dsId}/
|
|
11767
|
-
|
|
11768
|
-
{
|
|
11769
|
-
method: "DELETE"
|
|
11770
|
-
}
|
|
11767
|
+
`/design-systems/${dsId}/figma-node-structures`,
|
|
11768
|
+
DTOFigmaNodeStructureListResponse
|
|
11771
11769
|
);
|
|
11772
11770
|
}
|
|
11773
|
-
|
|
11771
|
+
get(dsId, structureId) {
|
|
11774
11772
|
return this.requestExecutor.json(
|
|
11775
|
-
`/design-systems/${dsId}/
|
|
11776
|
-
|
|
11777
|
-
{
|
|
11778
|
-
body,
|
|
11779
|
-
method: "POST"
|
|
11780
|
-
}
|
|
11773
|
+
`/design-systems/${dsId}/figma-node-structures/${structureId}`,
|
|
11774
|
+
DTOFigmaNodeStructureDetailResponse
|
|
11781
11775
|
);
|
|
11782
11776
|
}
|
|
11783
11777
|
};
|
|
11784
11778
|
|
|
11785
|
-
// src/api/endpoints/design-system/
|
|
11786
|
-
var
|
|
11779
|
+
// src/api/endpoints/design-system/members.ts
|
|
11780
|
+
var DesignSystemMembersEndpoint = class {
|
|
11787
11781
|
constructor(requestExecutor) {
|
|
11788
11782
|
this.requestExecutor = requestExecutor;
|
|
11789
11783
|
}
|
|
11790
|
-
|
|
11791
|
-
return
|
|
11792
|
-
|
|
11793
|
-
|
|
11794
|
-
);
|
|
11795
|
-
}
|
|
11796
|
-
async getDocStructure(dsId, vId) {
|
|
11797
|
-
return await this.requestExecutor.json(
|
|
11798
|
-
`/design-systems/${dsId}/versions/${vId}/documentation/structure`,
|
|
11799
|
-
DTODocumentationStructure
|
|
11800
|
-
);
|
|
11801
|
-
}
|
|
11802
|
-
async getPageRoom(dsId, vId, pageId) {
|
|
11803
|
-
return await this.requestExecutor.json(
|
|
11804
|
-
`/design-systems/${dsId}/versions/${vId}/documentation/pages/${pageId}/room`,
|
|
11805
|
-
DTODocumentationPageRoomResponse
|
|
11806
|
-
);
|
|
11807
|
-
}
|
|
11808
|
-
async getBlockDefinitions(dsId, vId) {
|
|
11809
|
-
return await this.requestExecutor.json(
|
|
11810
|
-
`/design-systems/${dsId}/versions/${vId}/documentation/block-definitions`,
|
|
11811
|
-
DTOGetBlockDefinitionsOutput
|
|
11812
|
-
);
|
|
11813
|
-
}
|
|
11814
|
-
async publish(dsId, vId, body) {
|
|
11815
|
-
return await this.requestExecutor.json(
|
|
11816
|
-
`/design-systems/${dsId}/versions/${vId}/documentation/publish`,
|
|
11817
|
-
DTOPublishDocumentationResponse,
|
|
11818
|
-
{
|
|
11819
|
-
method: "POST",
|
|
11820
|
-
body
|
|
11821
|
-
}
|
|
11822
|
-
);
|
|
11784
|
+
list(dsId) {
|
|
11785
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/members`, DTODesignSystemMemberListResponse, {
|
|
11786
|
+
method: "GET"
|
|
11787
|
+
});
|
|
11823
11788
|
}
|
|
11824
|
-
|
|
11825
|
-
return this.requestExecutor.json(
|
|
11826
|
-
|
|
11827
|
-
|
|
11828
|
-
);
|
|
11789
|
+
update(dsId, body) {
|
|
11790
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/members`, DTODesignSystemMembersUpdateResponse, {
|
|
11791
|
+
method: "POST",
|
|
11792
|
+
body
|
|
11793
|
+
});
|
|
11829
11794
|
}
|
|
11830
11795
|
};
|
|
11831
11796
|
|
|
11832
|
-
// src/api/endpoints/design-system/
|
|
11833
|
-
var
|
|
11797
|
+
// src/api/endpoints/design-system/redirects.ts
|
|
11798
|
+
var DesignSystemPageRedirectsEndpoint = class {
|
|
11834
11799
|
constructor(requestExecutor) {
|
|
11835
11800
|
this.requestExecutor = requestExecutor;
|
|
11836
11801
|
}
|
|
11837
|
-
|
|
11802
|
+
create(dsId, body) {
|
|
11803
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/documentation/redirects`, DTOPageRedirectResponse, {
|
|
11804
|
+
body,
|
|
11805
|
+
method: "POST"
|
|
11806
|
+
});
|
|
11807
|
+
}
|
|
11808
|
+
list(dsId) {
|
|
11809
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/documentation/redirects`, DTOPageRedirectListResponse, {
|
|
11810
|
+
method: "GET"
|
|
11811
|
+
});
|
|
11812
|
+
}
|
|
11813
|
+
update(dsId, redirectId, body) {
|
|
11838
11814
|
return this.requestExecutor.json(
|
|
11839
|
-
`/design-systems/${dsId}/
|
|
11840
|
-
|
|
11841
|
-
{
|
|
11815
|
+
`/design-systems/${dsId}/documentation/redirects/${redirectId}`,
|
|
11816
|
+
DTOPageRedirectResponse,
|
|
11817
|
+
{
|
|
11818
|
+
body,
|
|
11819
|
+
method: "PUT"
|
|
11820
|
+
}
|
|
11842
11821
|
);
|
|
11843
11822
|
}
|
|
11844
|
-
|
|
11823
|
+
delete(dsId, redirectId) {
|
|
11845
11824
|
return this.requestExecutor.json(
|
|
11846
|
-
`/design-systems/${dsId}/
|
|
11847
|
-
|
|
11825
|
+
`/design-systems/${dsId}/documentation/redirects/${redirectId}`,
|
|
11826
|
+
DTOPageRedirectDeleteResponse,
|
|
11848
11827
|
{
|
|
11849
|
-
|
|
11850
|
-
method: "POST"
|
|
11828
|
+
method: "DELETE"
|
|
11851
11829
|
}
|
|
11852
11830
|
);
|
|
11853
11831
|
}
|
|
11854
11832
|
};
|
|
11855
11833
|
|
|
11856
|
-
// src/api/endpoints/design-system/
|
|
11857
|
-
|
|
11834
|
+
// src/api/endpoints/design-system/sources.ts
|
|
11835
|
+
import { z as z351 } from "zod";
|
|
11836
|
+
var DesignSystemSourcesEndpoint = class {
|
|
11858
11837
|
constructor(requestExecutor) {
|
|
11859
11838
|
this.requestExecutor = requestExecutor;
|
|
11860
11839
|
}
|
|
11861
|
-
|
|
11862
|
-
return this.
|
|
11840
|
+
create(dsId, payload) {
|
|
11841
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/sources`, DTODataSourceResponse, {
|
|
11842
|
+
method: "POST",
|
|
11843
|
+
body: payload
|
|
11844
|
+
});
|
|
11845
|
+
}
|
|
11846
|
+
list(dsId) {
|
|
11847
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/sources`, DTODataSourcesListResponse);
|
|
11848
|
+
}
|
|
11849
|
+
get(dsId, sourceId) {
|
|
11850
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse);
|
|
11851
|
+
}
|
|
11852
|
+
delete(dsId, sourceId) {
|
|
11853
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z351.any(), { method: "DELETE" });
|
|
11854
|
+
}
|
|
11855
|
+
updateFigmaSource(dsId, sourceId, payload) {
|
|
11856
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse, {
|
|
11857
|
+
method: "PUT",
|
|
11858
|
+
body: payload
|
|
11859
|
+
});
|
|
11860
|
+
}
|
|
11861
|
+
updateStorybookSource(dsId, sourceId, payload) {
|
|
11862
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse, {
|
|
11863
|
+
method: "PUT",
|
|
11864
|
+
body: payload
|
|
11865
|
+
});
|
|
11866
|
+
}
|
|
11867
|
+
figmaImport(dsId, payload) {
|
|
11868
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/cloud-import`, DTOImportJobResponse, {
|
|
11869
|
+
method: "POST",
|
|
11870
|
+
body: payload
|
|
11871
|
+
});
|
|
11872
|
+
}
|
|
11873
|
+
storybookImport(dsId, payload) {
|
|
11874
|
+
return this.requestExecutor.json(
|
|
11875
|
+
`/design-systems/${dsId}/versions/head/storybook-import`,
|
|
11876
|
+
DTODataSourcesStorybookResponse,
|
|
11877
|
+
{
|
|
11878
|
+
method: "POST",
|
|
11879
|
+
body: payload
|
|
11880
|
+
}
|
|
11881
|
+
);
|
|
11882
|
+
}
|
|
11883
|
+
updateStorybookImport(dsId, versionId, payload) {
|
|
11884
|
+
return this.requestExecutor.json(
|
|
11885
|
+
`/design-systems/${dsId}/versions/${versionId}/storybook-import`,
|
|
11886
|
+
DTODataSourcesStorybookResponse,
|
|
11887
|
+
{
|
|
11888
|
+
method: "POST",
|
|
11889
|
+
body: payload
|
|
11890
|
+
}
|
|
11891
|
+
);
|
|
11892
|
+
}
|
|
11893
|
+
};
|
|
11894
|
+
|
|
11895
|
+
// src/api/endpoints/design-system/storybook.ts
|
|
11896
|
+
import { z as z352 } from "zod";
|
|
11897
|
+
var StorybookEntriesEndpoint = class {
|
|
11898
|
+
constructor(requestExecutor) {
|
|
11899
|
+
this.requestExecutor = requestExecutor;
|
|
11900
|
+
}
|
|
11901
|
+
list(dsId, query = {}) {
|
|
11902
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook`, DTOStorybookEntryListResponse, {
|
|
11903
|
+
query: new URLSearchParams(pickDefined(query))
|
|
11904
|
+
});
|
|
11905
|
+
}
|
|
11906
|
+
replace(dsId, entryId) {
|
|
11907
|
+
return this.requestExecutor.json(
|
|
11908
|
+
`/design-systems/${dsId}/versions/head/storybook/${entryId}`,
|
|
11909
|
+
DTOStorybookEntryReplaceAction,
|
|
11910
|
+
{ method: "PUT" }
|
|
11911
|
+
);
|
|
11912
|
+
}
|
|
11913
|
+
delete(dsId, entryId) {
|
|
11914
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z352.any(), {
|
|
11915
|
+
method: "DELETE"
|
|
11916
|
+
});
|
|
11917
|
+
}
|
|
11918
|
+
};
|
|
11919
|
+
|
|
11920
|
+
// src/api/endpoints/design-system/versions/brands.ts
|
|
11921
|
+
import { z as z353 } from "zod";
|
|
11922
|
+
var BrandsEndpoint = class {
|
|
11923
|
+
constructor(requestExecutor) {
|
|
11924
|
+
this.requestExecutor = requestExecutor;
|
|
11925
|
+
}
|
|
11926
|
+
get(designSystemId, versionId, brandId) {
|
|
11927
|
+
return this.requestExecutor.json(
|
|
11928
|
+
`/design-systems/${designSystemId}/versions/${versionId}/brands/${brandId}`,
|
|
11929
|
+
DTOBrandGetResponse
|
|
11930
|
+
);
|
|
11931
|
+
}
|
|
11932
|
+
list(designSystemId, versionId) {
|
|
11933
|
+
return this.requestExecutor.json(
|
|
11934
|
+
`/design-systems/${designSystemId}/versions/${versionId}/brands`,
|
|
11935
|
+
DTOBrandsListResponse
|
|
11936
|
+
);
|
|
11937
|
+
}
|
|
11938
|
+
create(designSystemId, versionId, body) {
|
|
11939
|
+
return this.requestExecutor.json(
|
|
11940
|
+
`/design-systems/${designSystemId}/versions/${versionId}/brands`,
|
|
11941
|
+
DTOBrandGetResponse,
|
|
11942
|
+
{
|
|
11943
|
+
method: "POST",
|
|
11944
|
+
body
|
|
11945
|
+
}
|
|
11946
|
+
);
|
|
11947
|
+
}
|
|
11948
|
+
update(dsId, vId, brandId, body) {
|
|
11949
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, DTOBrandGetResponse, {
|
|
11950
|
+
method: "PUT",
|
|
11951
|
+
body
|
|
11952
|
+
});
|
|
11953
|
+
}
|
|
11954
|
+
delete(dsId, vId, brandId) {
|
|
11955
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z353.any(), {
|
|
11956
|
+
method: "DELETE"
|
|
11957
|
+
});
|
|
11958
|
+
}
|
|
11959
|
+
};
|
|
11960
|
+
|
|
11961
|
+
// src/api/endpoints/design-system/versions/code-components.ts
|
|
11962
|
+
var CodeComponentsEndpoint = class {
|
|
11963
|
+
constructor(requestExecutor) {
|
|
11964
|
+
this.requestExecutor = requestExecutor;
|
|
11965
|
+
}
|
|
11966
|
+
async import(dsId, vId, body) {
|
|
11967
|
+
return this.requestExecutor.json(
|
|
11968
|
+
`/design-systems/${dsId}/versions/${vId}/code-components`,
|
|
11969
|
+
DTOCodeComponentUpsertResponse,
|
|
11970
|
+
{
|
|
11971
|
+
body,
|
|
11972
|
+
method: "POST"
|
|
11973
|
+
}
|
|
11974
|
+
);
|
|
11975
|
+
}
|
|
11976
|
+
async list(dsId, vId, brandId) {
|
|
11977
|
+
return this.requestExecutor.json(
|
|
11978
|
+
`/design-systems/${dsId}/versions/${vId}/code-components`,
|
|
11979
|
+
DTOCodeComponentListResponse,
|
|
11980
|
+
{ query: new URLSearchParams(pickDefined({ brandId })) }
|
|
11981
|
+
);
|
|
11982
|
+
}
|
|
11983
|
+
async deleteAll(dsId, vId) {
|
|
11984
|
+
return this.requestExecutor.json(
|
|
11985
|
+
`/design-systems/${dsId}/versions/${vId}/code-components`,
|
|
11986
|
+
DTOCodeComponentListResponse,
|
|
11987
|
+
{
|
|
11988
|
+
method: "DELETE"
|
|
11989
|
+
}
|
|
11990
|
+
);
|
|
11991
|
+
}
|
|
11992
|
+
async analyzePackage(dsId, vId, body) {
|
|
11993
|
+
return this.requestExecutor.json(
|
|
11994
|
+
`/design-systems/${dsId}/versions/${vId}/code-components/analyze-package`,
|
|
11995
|
+
DTOAnalyzeCodeComponentsInPackageResponse,
|
|
11996
|
+
{
|
|
11997
|
+
body,
|
|
11998
|
+
method: "POST"
|
|
11999
|
+
}
|
|
12000
|
+
);
|
|
12001
|
+
}
|
|
12002
|
+
};
|
|
12003
|
+
|
|
12004
|
+
// src/api/endpoints/design-system/versions/documentation.ts
|
|
12005
|
+
var DocumentationEndpoint = class {
|
|
12006
|
+
constructor(requestExecutor) {
|
|
12007
|
+
this.requestExecutor = requestExecutor;
|
|
12008
|
+
}
|
|
12009
|
+
async getStructure(designSystemId, versionId) {
|
|
12010
|
+
return await this.requestExecutor.json(
|
|
12011
|
+
`/design-systems/${designSystemId}/versions/${versionId}/documentation/structure`,
|
|
12012
|
+
DTODocumentationStructure
|
|
12013
|
+
);
|
|
12014
|
+
}
|
|
12015
|
+
async getDocStructure(dsId, vId) {
|
|
12016
|
+
return await this.requestExecutor.json(
|
|
12017
|
+
`/design-systems/${dsId}/versions/${vId}/documentation/structure`,
|
|
12018
|
+
DTODocumentationStructure
|
|
12019
|
+
);
|
|
12020
|
+
}
|
|
12021
|
+
async getPageRoom(dsId, vId, pageId) {
|
|
12022
|
+
return await this.requestExecutor.json(
|
|
12023
|
+
`/design-systems/${dsId}/versions/${vId}/documentation/pages/${pageId}/room`,
|
|
12024
|
+
DTODocumentationPageRoomResponse
|
|
12025
|
+
);
|
|
12026
|
+
}
|
|
12027
|
+
async getBlockDefinitions(dsId, vId) {
|
|
12028
|
+
return await this.requestExecutor.json(
|
|
12029
|
+
`/design-systems/${dsId}/versions/${vId}/documentation/block-definitions`,
|
|
12030
|
+
DTOGetBlockDefinitionsOutput
|
|
12031
|
+
);
|
|
12032
|
+
}
|
|
12033
|
+
async publish(dsId, vId, body) {
|
|
12034
|
+
return await this.requestExecutor.json(
|
|
12035
|
+
`/design-systems/${dsId}/versions/${vId}/documentation/publish`,
|
|
12036
|
+
DTOPublishDocumentationResponse,
|
|
12037
|
+
{
|
|
12038
|
+
method: "POST",
|
|
12039
|
+
body
|
|
12040
|
+
}
|
|
12041
|
+
);
|
|
12042
|
+
}
|
|
12043
|
+
documentationPageContent(dsId, versionId, pageId) {
|
|
12044
|
+
return this.requestExecutor.json(
|
|
12045
|
+
`/design-systems/${dsId}/versions/${versionId}/documentation/pages/${pageId}/content`,
|
|
12046
|
+
DTODocumentationPageContentGetResponse
|
|
12047
|
+
);
|
|
12048
|
+
}
|
|
12049
|
+
};
|
|
12050
|
+
|
|
12051
|
+
// src/api/endpoints/design-system/versions/ds-components.ts
|
|
12052
|
+
var DesignSystemComponentEndpoint = class {
|
|
12053
|
+
constructor(requestExecutor) {
|
|
12054
|
+
this.requestExecutor = requestExecutor;
|
|
12055
|
+
}
|
|
12056
|
+
async list(dsId, vId, brandId) {
|
|
12057
|
+
return this.requestExecutor.json(
|
|
12058
|
+
`/design-systems/${dsId}/versions/${vId}/design-system-components`,
|
|
12059
|
+
DTODesignSystemComponentListResponse,
|
|
12060
|
+
{ query: new URLSearchParams(pickDefined({ brandId })) }
|
|
12061
|
+
);
|
|
12062
|
+
}
|
|
12063
|
+
async create(dsId, vId, body) {
|
|
12064
|
+
return this.requestExecutor.json(
|
|
12065
|
+
`/design-systems/${dsId}/versions/${vId}/design-system-components`,
|
|
12066
|
+
DTODesignSystemComponentResponse,
|
|
12067
|
+
{
|
|
12068
|
+
body,
|
|
12069
|
+
method: "POST"
|
|
12070
|
+
}
|
|
12071
|
+
);
|
|
12072
|
+
}
|
|
12073
|
+
};
|
|
12074
|
+
|
|
12075
|
+
// src/api/endpoints/design-system/versions/elements.ts
|
|
12076
|
+
var ElementsEndpoint = class {
|
|
12077
|
+
constructor(requestExecutor) {
|
|
12078
|
+
this.requestExecutor = requestExecutor;
|
|
12079
|
+
}
|
|
12080
|
+
getElementsV1(dsId, vId, query) {
|
|
12081
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/elements`, DTOElementsGetOutput, {
|
|
12082
|
+
query: serializeQuery(query)
|
|
12083
|
+
});
|
|
12084
|
+
}
|
|
12085
|
+
getElementsV2(dsId, vId, query) {
|
|
12086
|
+
const fullQuery = {
|
|
12087
|
+
...query,
|
|
12088
|
+
responseVersion: 2
|
|
12089
|
+
};
|
|
12090
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/elements`, DTOElementsGetOutputV2, {
|
|
12091
|
+
query: serializeQuery(fullQuery)
|
|
12092
|
+
});
|
|
12093
|
+
}
|
|
12094
|
+
};
|
|
12095
|
+
|
|
12096
|
+
// src/api/endpoints/design-system/versions/elements-action.ts
|
|
12097
|
+
var ElementsActionEndpoint = class {
|
|
12098
|
+
constructor(requestExecutor) {
|
|
12099
|
+
this.requestExecutor = requestExecutor;
|
|
12100
|
+
}
|
|
12101
|
+
async createDocPage(dsId, vId, input) {
|
|
12102
|
+
return this.action(dsId, vId, { type: "DocumentationPageCreate", input });
|
|
11863
12103
|
}
|
|
11864
12104
|
async createDocGroup(dsId, vId, input) {
|
|
11865
12105
|
return this.action(dsId, vId, { type: "DocumentationGroupCreate", input });
|
|
@@ -11900,27 +12140,6 @@ var ElementsActionEndpoint = class {
|
|
|
11900
12140
|
}
|
|
11901
12141
|
};
|
|
11902
12142
|
|
|
11903
|
-
// src/api/endpoints/design-system/versions/elements.ts
|
|
11904
|
-
var ElementsEndpoint = class {
|
|
11905
|
-
constructor(requestExecutor) {
|
|
11906
|
-
this.requestExecutor = requestExecutor;
|
|
11907
|
-
}
|
|
11908
|
-
getElementsV1(dsId, vId, query) {
|
|
11909
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/elements`, DTOElementsGetOutput, {
|
|
11910
|
-
query: serializeQuery(query)
|
|
11911
|
-
});
|
|
11912
|
-
}
|
|
11913
|
-
getElementsV2(dsId, vId, query) {
|
|
11914
|
-
const fullQuery = {
|
|
11915
|
-
...query,
|
|
11916
|
-
responseVersion: 2
|
|
11917
|
-
};
|
|
11918
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/elements`, DTOElementsGetOutputV2, {
|
|
11919
|
-
query: serializeQuery(fullQuery)
|
|
11920
|
-
});
|
|
11921
|
-
}
|
|
11922
|
-
};
|
|
11923
|
-
|
|
11924
12143
|
// src/api/endpoints/design-system/versions/figma-component-groups.ts
|
|
11925
12144
|
var FigmaComponentGroupsEndpoint = class {
|
|
11926
12145
|
constructor(requestExecutor) {
|
|
@@ -12008,26 +12227,8 @@ var ImportJobsEndpoint = class {
|
|
|
12008
12227
|
}
|
|
12009
12228
|
};
|
|
12010
12229
|
|
|
12011
|
-
// src/api/endpoints/design-system/versions/overrides.ts
|
|
12012
|
-
import { z as z351 } from "zod";
|
|
12013
|
-
var OverridesEndpoint = class {
|
|
12014
|
-
constructor(requestExecutor) {
|
|
12015
|
-
this.requestExecutor = requestExecutor;
|
|
12016
|
-
}
|
|
12017
|
-
create(dsId, versionId, themeId, body) {
|
|
12018
|
-
return this.requestExecutor.json(
|
|
12019
|
-
`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
|
|
12020
|
-
z351.any(),
|
|
12021
|
-
{
|
|
12022
|
-
method: "POST",
|
|
12023
|
-
body
|
|
12024
|
-
}
|
|
12025
|
-
);
|
|
12026
|
-
}
|
|
12027
|
-
};
|
|
12028
|
-
|
|
12029
12230
|
// src/api/endpoints/design-system/versions/property-definitions.ts
|
|
12030
|
-
import { z as
|
|
12231
|
+
import { z as z354 } from "zod";
|
|
12031
12232
|
var ElementPropertyDefinitionsEndpoint = class {
|
|
12032
12233
|
constructor(requestExecutor) {
|
|
12033
12234
|
this.requestExecutor = requestExecutor;
|
|
@@ -12055,7 +12256,7 @@ var ElementPropertyDefinitionsEndpoint = class {
|
|
|
12055
12256
|
delete(designSystemId, versionId, defId) {
|
|
12056
12257
|
return this.requestExecutor.json(
|
|
12057
12258
|
`/design-systems/${designSystemId}/versions/${versionId}/element-properties/definitions/${defId}`,
|
|
12058
|
-
|
|
12259
|
+
z354.any(),
|
|
12059
12260
|
{ method: "DELETE" }
|
|
12060
12261
|
);
|
|
12061
12262
|
}
|
|
@@ -12094,7 +12295,27 @@ var VersionStatsEndpoint = class {
|
|
|
12094
12295
|
};
|
|
12095
12296
|
|
|
12096
12297
|
// src/api/endpoints/design-system/versions/themes.ts
|
|
12097
|
-
import { z as
|
|
12298
|
+
import { z as z356 } from "zod";
|
|
12299
|
+
|
|
12300
|
+
// src/api/endpoints/design-system/versions/overrides.ts
|
|
12301
|
+
import { z as z355 } from "zod";
|
|
12302
|
+
var OverridesEndpoint = class {
|
|
12303
|
+
constructor(requestExecutor) {
|
|
12304
|
+
this.requestExecutor = requestExecutor;
|
|
12305
|
+
}
|
|
12306
|
+
create(dsId, versionId, themeId, body) {
|
|
12307
|
+
return this.requestExecutor.json(
|
|
12308
|
+
`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
|
|
12309
|
+
z355.any(),
|
|
12310
|
+
{
|
|
12311
|
+
method: "POST",
|
|
12312
|
+
body
|
|
12313
|
+
}
|
|
12314
|
+
);
|
|
12315
|
+
}
|
|
12316
|
+
};
|
|
12317
|
+
|
|
12318
|
+
// src/api/endpoints/design-system/versions/themes.ts
|
|
12098
12319
|
var ThemesEndpoint = class {
|
|
12099
12320
|
constructor(requestExecutor) {
|
|
12100
12321
|
this.requestExecutor = requestExecutor;
|
|
@@ -12117,7 +12338,7 @@ var ThemesEndpoint = class {
|
|
|
12117
12338
|
});
|
|
12118
12339
|
}
|
|
12119
12340
|
delete(dsId, versionId, themeId) {
|
|
12120
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`,
|
|
12341
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z356.any(), {
|
|
12121
12342
|
method: "DELETE"
|
|
12122
12343
|
});
|
|
12123
12344
|
}
|
|
@@ -12200,289 +12421,52 @@ var DesignSystemVersionsEndpoint = class {
|
|
|
12200
12421
|
__publicField(this, "figmaComponentGroups");
|
|
12201
12422
|
__publicField(this, "figmaFrameStructures");
|
|
12202
12423
|
__publicField(this, "stats");
|
|
12203
|
-
__publicField(this, "elementPropertyDefinitions");
|
|
12204
|
-
__publicField(this, "elementPropertyValues");
|
|
12205
|
-
__publicField(this, "elementsAction");
|
|
12206
|
-
__publicField(this, "elements");
|
|
12207
|
-
__publicField(this, "designSystemComponents");
|
|
12208
|
-
__publicField(this, "documentation");
|
|
12209
|
-
__publicField(this, "codeComponents");
|
|
12210
|
-
__publicField(this, "files");
|
|
12211
|
-
this.themes = new ThemesEndpoint(requestExecutor);
|
|
12212
|
-
this.brands = new BrandsEndpoint(requestExecutor);
|
|
12213
|
-
this.tokenCollections = new TokenCollectionsEndpoint(requestExecutor);
|
|
12214
|
-
this.importJobs = new ImportJobsEndpoint(requestExecutor);
|
|
12215
|
-
this.tokens = new TokensEndpoint(requestExecutor);
|
|
12216
|
-
this.tokenGroups = new TokenGroupsEndpoint(requestExecutor);
|
|
12217
|
-
this.figmaComponents = new FigmaComponentsEndpoint(requestExecutor);
|
|
12218
|
-
this.figmaComponentGroups = new FigmaComponentGroupsEndpoint(requestExecutor);
|
|
12219
|
-
this.figmaFrameStructures = new FigmaFrameStructuresEndpoint(requestExecutor);
|
|
12220
|
-
this.stats = new VersionStatsEndpoint(requestExecutor);
|
|
12221
|
-
this.elementPropertyDefinitions = new ElementPropertyDefinitionsEndpoint(requestExecutor);
|
|
12222
|
-
this.elementPropertyValues = new ElementPropertyValuesEndpoint(requestExecutor);
|
|
12223
|
-
this.elementsAction = new ElementsActionEndpoint(requestExecutor);
|
|
12224
|
-
this.elements = new ElementsEndpoint(requestExecutor);
|
|
12225
|
-
this.designSystemComponents = new DesignSystemComponentEndpoint(requestExecutor);
|
|
12226
|
-
this.documentation = new DocumentationEndpoint(requestExecutor);
|
|
12227
|
-
this.codeComponents = new CodeComponentsEndpoint(requestExecutor);
|
|
12228
|
-
this.files = new DesignSystemFilesEndpoint(requestExecutor);
|
|
12229
|
-
}
|
|
12230
|
-
list(dsId) {
|
|
12231
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions`, DTODesignSystemVersionsListResponse);
|
|
12232
|
-
}
|
|
12233
|
-
commit(dsId, body) {
|
|
12234
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/head/commit`, DTODesignSystemVersionCreationResponse, {
|
|
12235
|
-
method: "POST",
|
|
12236
|
-
body
|
|
12237
|
-
});
|
|
12238
|
-
}
|
|
12239
|
-
job(dsId, jobId) {
|
|
12240
|
-
return this.requestExecutor.json(
|
|
12241
|
-
`/design-systems/${dsId}/versions/jobs/${jobId}`,
|
|
12242
|
-
DTODesignSystemVersionJobStatusResponse
|
|
12243
|
-
);
|
|
12244
|
-
}
|
|
12245
|
-
room(dsId, vId) {
|
|
12246
|
-
return this.requestExecutor.json(
|
|
12247
|
-
`/design-systems/${dsId}/versions/${vId}/room`,
|
|
12248
|
-
DTODesignSystemVersionRoomResponse
|
|
12249
|
-
);
|
|
12250
|
-
}
|
|
12251
|
-
};
|
|
12252
|
-
|
|
12253
|
-
// src/api/endpoints/design-system/analytics.ts
|
|
12254
|
-
var DesignSystemAnalyticsEndpoint = class {
|
|
12255
|
-
constructor(requestExecutor) {
|
|
12256
|
-
this.requestExecutor = requestExecutor;
|
|
12257
|
-
}
|
|
12258
|
-
get(designSystemId, versionId, body) {
|
|
12259
|
-
return this.requestExecutor.json(
|
|
12260
|
-
`/design-systems/${designSystemId}/versions/${versionId}/documentation/analytics`,
|
|
12261
|
-
DTODocumentationPageAnalyticsResponse,
|
|
12262
|
-
{ method: "POST", body }
|
|
12263
|
-
);
|
|
12264
|
-
}
|
|
12265
|
-
};
|
|
12266
|
-
|
|
12267
|
-
// src/api/endpoints/design-system/bff.ts
|
|
12268
|
-
var DesignSystemBffEndpoint = class {
|
|
12269
|
-
constructor(requestExecutor) {
|
|
12270
|
-
this.requestExecutor = requestExecutor;
|
|
12271
|
-
}
|
|
12272
|
-
import(dsId, payload) {
|
|
12273
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/bff/import`, DTOImportJobResponse, {
|
|
12274
|
-
method: "POST",
|
|
12275
|
-
body: payload
|
|
12276
|
-
});
|
|
12277
|
-
}
|
|
12278
|
-
};
|
|
12279
|
-
|
|
12280
|
-
// src/api/endpoints/design-system/contact.ts
|
|
12281
|
-
var DesignSystemContactsEndpoint = class {
|
|
12282
|
-
constructor(requestExecutor) {
|
|
12283
|
-
this.requestExecutor = requestExecutor;
|
|
12284
|
-
}
|
|
12285
|
-
list(dsId) {
|
|
12286
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/contacts`, DTODesignSystemContactsResponse, {
|
|
12287
|
-
method: "GET"
|
|
12288
|
-
});
|
|
12289
|
-
}
|
|
12290
|
-
};
|
|
12291
|
-
|
|
12292
|
-
// src/api/endpoints/design-system/design-systems.ts
|
|
12293
|
-
import { z as z357 } from "zod";
|
|
12294
|
-
|
|
12295
|
-
// src/api/endpoints/design-system/figma-node-structures.ts
|
|
12296
|
-
var FigmaNodeStructuresEndpoint = class {
|
|
12297
|
-
constructor(requestExecutor) {
|
|
12298
|
-
this.requestExecutor = requestExecutor;
|
|
12299
|
-
}
|
|
12300
|
-
list(dsId) {
|
|
12301
|
-
return this.requestExecutor.json(
|
|
12302
|
-
`/design-systems/${dsId}/figma-node-structures`,
|
|
12303
|
-
DTOFigmaNodeStructureListResponse
|
|
12304
|
-
);
|
|
12305
|
-
}
|
|
12306
|
-
get(dsId, structureId) {
|
|
12307
|
-
return this.requestExecutor.json(
|
|
12308
|
-
`/design-systems/${dsId}/figma-node-structures/${structureId}`,
|
|
12309
|
-
DTOFigmaNodeStructureDetailResponse
|
|
12310
|
-
);
|
|
12311
|
-
}
|
|
12312
|
-
};
|
|
12313
|
-
|
|
12314
|
-
// src/api/endpoints/design-system/members.ts
|
|
12315
|
-
var DesignSystemMembersEndpoint = class {
|
|
12316
|
-
constructor(requestExecutor) {
|
|
12317
|
-
this.requestExecutor = requestExecutor;
|
|
12318
|
-
}
|
|
12319
|
-
list(dsId) {
|
|
12320
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/members`, DTODesignSystemMemberListResponse, {
|
|
12321
|
-
method: "GET"
|
|
12322
|
-
});
|
|
12323
|
-
}
|
|
12324
|
-
update(dsId, body) {
|
|
12325
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/members`, DTODesignSystemMembersUpdateResponse, {
|
|
12326
|
-
method: "POST",
|
|
12327
|
-
body
|
|
12328
|
-
});
|
|
12329
|
-
}
|
|
12330
|
-
};
|
|
12331
|
-
|
|
12332
|
-
// src/api/endpoints/design-system/redirects.ts
|
|
12333
|
-
var DesignSystemPageRedirectsEndpoint = class {
|
|
12334
|
-
constructor(requestExecutor) {
|
|
12335
|
-
this.requestExecutor = requestExecutor;
|
|
12336
|
-
}
|
|
12337
|
-
create(dsId, body) {
|
|
12338
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/documentation/redirects`, DTOPageRedirectResponse, {
|
|
12339
|
-
body,
|
|
12340
|
-
method: "POST"
|
|
12341
|
-
});
|
|
12342
|
-
}
|
|
12343
|
-
list(dsId) {
|
|
12344
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/documentation/redirects`, DTOPageRedirectListResponse, {
|
|
12345
|
-
method: "GET"
|
|
12346
|
-
});
|
|
12347
|
-
}
|
|
12348
|
-
update(dsId, redirectId, body) {
|
|
12349
|
-
return this.requestExecutor.json(
|
|
12350
|
-
`/design-systems/${dsId}/documentation/redirects/${redirectId}`,
|
|
12351
|
-
DTOPageRedirectResponse,
|
|
12352
|
-
{
|
|
12353
|
-
body,
|
|
12354
|
-
method: "PUT"
|
|
12355
|
-
}
|
|
12356
|
-
);
|
|
12357
|
-
}
|
|
12358
|
-
delete(dsId, redirectId) {
|
|
12359
|
-
return this.requestExecutor.json(
|
|
12360
|
-
`/design-systems/${dsId}/documentation/redirects/${redirectId}`,
|
|
12361
|
-
DTOPageRedirectDeleteResponse,
|
|
12362
|
-
{
|
|
12363
|
-
method: "DELETE"
|
|
12364
|
-
}
|
|
12365
|
-
);
|
|
12366
|
-
}
|
|
12367
|
-
};
|
|
12368
|
-
|
|
12369
|
-
// src/api/endpoints/design-system/sources.ts
|
|
12370
|
-
import { z as z354 } from "zod";
|
|
12371
|
-
var DesignSystemSourcesEndpoint = class {
|
|
12372
|
-
constructor(requestExecutor) {
|
|
12373
|
-
this.requestExecutor = requestExecutor;
|
|
12374
|
-
}
|
|
12375
|
-
create(dsId, payload) {
|
|
12376
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/sources`, DTODataSourceResponse, {
|
|
12377
|
-
method: "POST",
|
|
12378
|
-
body: payload
|
|
12379
|
-
});
|
|
12380
|
-
}
|
|
12381
|
-
list(dsId) {
|
|
12382
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/sources`, DTODataSourcesListResponse);
|
|
12383
|
-
}
|
|
12384
|
-
get(dsId, sourceId) {
|
|
12385
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse);
|
|
12386
|
-
}
|
|
12387
|
-
delete(dsId, sourceId) {
|
|
12388
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z354.any(), { method: "DELETE" });
|
|
12389
|
-
}
|
|
12390
|
-
updateFigmaSource(dsId, sourceId, payload) {
|
|
12391
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse, {
|
|
12392
|
-
method: "PUT",
|
|
12393
|
-
body: payload
|
|
12394
|
-
});
|
|
12395
|
-
}
|
|
12396
|
-
updateStorybookSource(dsId, sourceId, payload) {
|
|
12397
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse, {
|
|
12398
|
-
method: "PUT",
|
|
12399
|
-
body: payload
|
|
12400
|
-
});
|
|
12401
|
-
}
|
|
12402
|
-
figmaImport(dsId, payload) {
|
|
12403
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/cloud-import`, DTOImportJobResponse, {
|
|
12404
|
-
method: "POST",
|
|
12405
|
-
body: payload
|
|
12406
|
-
});
|
|
12407
|
-
}
|
|
12408
|
-
storybookImport(dsId, payload) {
|
|
12409
|
-
return this.requestExecutor.json(
|
|
12410
|
-
`/design-systems/${dsId}/versions/head/storybook-import`,
|
|
12411
|
-
DTODataSourcesStorybookResponse,
|
|
12412
|
-
{
|
|
12413
|
-
method: "POST",
|
|
12414
|
-
body: payload
|
|
12415
|
-
}
|
|
12416
|
-
);
|
|
12417
|
-
}
|
|
12418
|
-
updateStorybookImport(dsId, versionId, payload) {
|
|
12419
|
-
return this.requestExecutor.json(
|
|
12420
|
-
`/design-systems/${dsId}/versions/${versionId}/storybook-import`,
|
|
12421
|
-
DTODataSourcesStorybookResponse,
|
|
12422
|
-
{
|
|
12423
|
-
method: "POST",
|
|
12424
|
-
body: payload
|
|
12425
|
-
}
|
|
12426
|
-
);
|
|
12427
|
-
}
|
|
12428
|
-
};
|
|
12429
|
-
|
|
12430
|
-
// src/api/endpoints/design-system/storybook.ts
|
|
12431
|
-
import { z as z355 } from "zod";
|
|
12432
|
-
var StorybookEntriesEndpoint = class {
|
|
12433
|
-
constructor(requestExecutor) {
|
|
12434
|
-
this.requestExecutor = requestExecutor;
|
|
12435
|
-
}
|
|
12436
|
-
list(dsId, query = {}) {
|
|
12437
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook`, DTOStorybookEntryListResponse, {
|
|
12438
|
-
query: new URLSearchParams(pickDefined(query))
|
|
12439
|
-
});
|
|
12440
|
-
}
|
|
12441
|
-
replace(dsId, entryId) {
|
|
12442
|
-
return this.requestExecutor.json(
|
|
12443
|
-
`/design-systems/${dsId}/versions/head/storybook/${entryId}`,
|
|
12444
|
-
DTOStorybookEntryReplaceAction,
|
|
12445
|
-
{ method: "PUT" }
|
|
12446
|
-
);
|
|
12447
|
-
}
|
|
12448
|
-
delete(dsId, entryId) {
|
|
12449
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z355.any(), {
|
|
12450
|
-
method: "DELETE"
|
|
12451
|
-
});
|
|
12424
|
+
__publicField(this, "elementPropertyDefinitions");
|
|
12425
|
+
__publicField(this, "elementPropertyValues");
|
|
12426
|
+
__publicField(this, "elementsAction");
|
|
12427
|
+
__publicField(this, "elements");
|
|
12428
|
+
__publicField(this, "designSystemComponents");
|
|
12429
|
+
__publicField(this, "documentation");
|
|
12430
|
+
__publicField(this, "codeComponents");
|
|
12431
|
+
__publicField(this, "files");
|
|
12432
|
+
this.themes = new ThemesEndpoint(requestExecutor);
|
|
12433
|
+
this.brands = new BrandsEndpoint(requestExecutor);
|
|
12434
|
+
this.tokenCollections = new TokenCollectionsEndpoint(requestExecutor);
|
|
12435
|
+
this.importJobs = new ImportJobsEndpoint(requestExecutor);
|
|
12436
|
+
this.tokens = new TokensEndpoint(requestExecutor);
|
|
12437
|
+
this.tokenGroups = new TokenGroupsEndpoint(requestExecutor);
|
|
12438
|
+
this.figmaComponents = new FigmaComponentsEndpoint(requestExecutor);
|
|
12439
|
+
this.figmaComponentGroups = new FigmaComponentGroupsEndpoint(requestExecutor);
|
|
12440
|
+
this.figmaFrameStructures = new FigmaFrameStructuresEndpoint(requestExecutor);
|
|
12441
|
+
this.stats = new VersionStatsEndpoint(requestExecutor);
|
|
12442
|
+
this.elementPropertyDefinitions = new ElementPropertyDefinitionsEndpoint(requestExecutor);
|
|
12443
|
+
this.elementPropertyValues = new ElementPropertyValuesEndpoint(requestExecutor);
|
|
12444
|
+
this.elementsAction = new ElementsActionEndpoint(requestExecutor);
|
|
12445
|
+
this.elements = new ElementsEndpoint(requestExecutor);
|
|
12446
|
+
this.designSystemComponents = new DesignSystemComponentEndpoint(requestExecutor);
|
|
12447
|
+
this.documentation = new DocumentationEndpoint(requestExecutor);
|
|
12448
|
+
this.codeComponents = new CodeComponentsEndpoint(requestExecutor);
|
|
12449
|
+
this.files = new DesignSystemFilesEndpoint(requestExecutor);
|
|
12452
12450
|
}
|
|
12453
|
-
|
|
12454
|
-
|
|
12455
|
-
// src/api/endpoints/design-system/storybook-hosting.ts
|
|
12456
|
-
import { z as z356 } from "zod";
|
|
12457
|
-
var StorybookHostingEndpoint = class {
|
|
12458
|
-
constructor(requestExecutor) {
|
|
12459
|
-
this.requestExecutor = requestExecutor;
|
|
12451
|
+
list(dsId) {
|
|
12452
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions`, DTODesignSystemVersionsListResponse);
|
|
12460
12453
|
}
|
|
12461
|
-
|
|
12462
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/
|
|
12463
|
-
|
|
12464
|
-
|
|
12454
|
+
commit(dsId, body) {
|
|
12455
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/head/commit`, DTODesignSystemVersionCreationResponse, {
|
|
12456
|
+
method: "POST",
|
|
12457
|
+
body
|
|
12465
12458
|
});
|
|
12466
12459
|
}
|
|
12467
|
-
|
|
12468
|
-
return this.requestExecutor.json(
|
|
12469
|
-
`/design-systems/${dsId}/storybook/${storybookUploadId}`,
|
|
12470
|
-
z356.object({ ok: z356.boolean() }),
|
|
12471
|
-
{
|
|
12472
|
-
method: "DELETE"
|
|
12473
|
-
}
|
|
12474
|
-
);
|
|
12475
|
-
}
|
|
12476
|
-
getUploadStatus(dsId, storybookUploadId) {
|
|
12460
|
+
job(dsId, jobId) {
|
|
12477
12461
|
return this.requestExecutor.json(
|
|
12478
|
-
`/design-systems/${dsId}/
|
|
12479
|
-
|
|
12462
|
+
`/design-systems/${dsId}/versions/jobs/${jobId}`,
|
|
12463
|
+
DTODesignSystemVersionJobStatusResponse
|
|
12480
12464
|
);
|
|
12481
12465
|
}
|
|
12482
|
-
|
|
12466
|
+
room(dsId, vId) {
|
|
12483
12467
|
return this.requestExecutor.json(
|
|
12484
|
-
`/design-systems/${dsId}/
|
|
12485
|
-
|
|
12468
|
+
`/design-systems/${dsId}/versions/${vId}/room`,
|
|
12469
|
+
DTODesignSystemVersionRoomResponse
|
|
12486
12470
|
);
|
|
12487
12471
|
}
|
|
12488
12472
|
};
|
|
@@ -12496,7 +12480,6 @@ var DesignSystemsEndpoint = class {
|
|
|
12496
12480
|
__publicField(this, "bff");
|
|
12497
12481
|
__publicField(this, "sources");
|
|
12498
12482
|
__publicField(this, "storybook");
|
|
12499
|
-
__publicField(this, "storybookHosting");
|
|
12500
12483
|
__publicField(this, "contacts");
|
|
12501
12484
|
__publicField(this, "redirects");
|
|
12502
12485
|
__publicField(this, "figmaNodeStructures");
|
|
@@ -12506,7 +12489,6 @@ var DesignSystemsEndpoint = class {
|
|
|
12506
12489
|
this.bff = new DesignSystemBffEndpoint(requestExecutor);
|
|
12507
12490
|
this.sources = new DesignSystemSourcesEndpoint(requestExecutor);
|
|
12508
12491
|
this.storybook = new StorybookEntriesEndpoint(requestExecutor);
|
|
12509
|
-
this.storybookHosting = new StorybookHostingEndpoint(requestExecutor);
|
|
12510
12492
|
this.contacts = new DesignSystemContactsEndpoint(requestExecutor);
|
|
12511
12493
|
this.redirects = new DesignSystemPageRedirectsEndpoint(requestExecutor);
|
|
12512
12494
|
this.figmaNodeStructures = new FigmaNodeStructuresEndpoint(requestExecutor);
|
|
@@ -12547,6 +12529,25 @@ var DesignSystemsEndpoint = class {
|
|
|
12547
12529
|
}
|
|
12548
12530
|
};
|
|
12549
12531
|
|
|
12532
|
+
// src/api/endpoints/files.ts
|
|
12533
|
+
var FilesEndpoint = class {
|
|
12534
|
+
constructor(requestExecutor) {
|
|
12535
|
+
this.requestExecutor = requestExecutor;
|
|
12536
|
+
}
|
|
12537
|
+
upload(body) {
|
|
12538
|
+
return this.requestExecutor.json(`/files/upload`, DTOFileUploadBulkResponse, {
|
|
12539
|
+
method: "POST",
|
|
12540
|
+
body
|
|
12541
|
+
});
|
|
12542
|
+
}
|
|
12543
|
+
finalizeUpload(body) {
|
|
12544
|
+
return this.requestExecutor.json(`/files/upload/finalize`, DTOFileFinalizeBulkResponse, {
|
|
12545
|
+
method: "POST",
|
|
12546
|
+
body
|
|
12547
|
+
});
|
|
12548
|
+
}
|
|
12549
|
+
};
|
|
12550
|
+
|
|
12550
12551
|
// src/api/endpoints/forge/agents.ts
|
|
12551
12552
|
var ForgeAgentsEndpoint = class {
|
|
12552
12553
|
constructor(requestExecutor) {
|
|
@@ -13122,6 +13123,19 @@ var ForgeProjectIterationsEndpoint = class {
|
|
|
13122
13123
|
}
|
|
13123
13124
|
};
|
|
13124
13125
|
|
|
13126
|
+
// src/api/endpoints/liveblocks.ts
|
|
13127
|
+
var LiveblocksEndpoint = class {
|
|
13128
|
+
constructor(requestExecutor) {
|
|
13129
|
+
this.requestExecutor = requestExecutor;
|
|
13130
|
+
}
|
|
13131
|
+
auth(body) {
|
|
13132
|
+
return this.requestExecutor.json("/liveblocks/auth", DTOLiveblocksAuthResponse, {
|
|
13133
|
+
method: "POST",
|
|
13134
|
+
body
|
|
13135
|
+
});
|
|
13136
|
+
}
|
|
13137
|
+
};
|
|
13138
|
+
|
|
13125
13139
|
// src/api/endpoints/mcp/streams.ts
|
|
13126
13140
|
var MCPStreamsEndpoint = class {
|
|
13127
13141
|
constructor(requestExecutor) {
|
|
@@ -13188,6 +13202,88 @@ var SandboxesEndpoint = class {
|
|
|
13188
13202
|
}
|
|
13189
13203
|
};
|
|
13190
13204
|
|
|
13205
|
+
// src/api/endpoints/storybook-sites.ts
|
|
13206
|
+
import z359 from "zod";
|
|
13207
|
+
var StorybookSitesEndpoint = class {
|
|
13208
|
+
constructor(requestExecutor) {
|
|
13209
|
+
this.requestExecutor = requestExecutor;
|
|
13210
|
+
}
|
|
13211
|
+
listSites(query) {
|
|
13212
|
+
return this.requestExecutor.json(`/storybook/sites`, DTOStorybookSiteListResponse, {
|
|
13213
|
+
query: new URLSearchParams(query)
|
|
13214
|
+
});
|
|
13215
|
+
}
|
|
13216
|
+
deleteSite(siteId) {
|
|
13217
|
+
return this.requestExecutor.json(`/storybook/sites/${siteId}`, z359.unknown(), {
|
|
13218
|
+
method: "DELETE"
|
|
13219
|
+
});
|
|
13220
|
+
}
|
|
13221
|
+
uploadInit(body) {
|
|
13222
|
+
return this.requestExecutor.json(`/storybook/site-versions`, DTOStorybookSiteUploadResponse, {
|
|
13223
|
+
body,
|
|
13224
|
+
method: "POST"
|
|
13225
|
+
});
|
|
13226
|
+
}
|
|
13227
|
+
getVersion(siteVersionId) {
|
|
13228
|
+
return this.requestExecutor.json(`/storybook/site-versions/${siteVersionId}`, DTOStorybookSiteVersionResponse);
|
|
13229
|
+
}
|
|
13230
|
+
uploadFinailize(siteVersionId) {
|
|
13231
|
+
return this.requestExecutor.json(`/storybook/site-versions/${siteVersionId}`, DTOStorybookSiteVersionResponse, {
|
|
13232
|
+
method: "PUT"
|
|
13233
|
+
});
|
|
13234
|
+
}
|
|
13235
|
+
};
|
|
13236
|
+
|
|
13237
|
+
// src/api/endpoints/threads.ts
|
|
13238
|
+
var ThreadsEndpoint = class {
|
|
13239
|
+
constructor(requestExecutor) {
|
|
13240
|
+
this.requestExecutor = requestExecutor;
|
|
13241
|
+
}
|
|
13242
|
+
listMessages(threadId) {
|
|
13243
|
+
return this.requestExecutor.json(`/threads/${threadId}/messages`, DTOThreadMessageListResponse);
|
|
13244
|
+
}
|
|
13245
|
+
postMessage(threadId, body) {
|
|
13246
|
+
return this.requestExecutor.json(`/threads/${threadId}/messages`, DTOThreadMessageListResponse, {
|
|
13247
|
+
method: "POST",
|
|
13248
|
+
body
|
|
13249
|
+
});
|
|
13250
|
+
}
|
|
13251
|
+
postReaction(threadId, body) {
|
|
13252
|
+
return this.requestExecutor.json(`/threads/${threadId}/reactions`, DTOThreadReactionResponse, {
|
|
13253
|
+
method: "POST",
|
|
13254
|
+
body
|
|
13255
|
+
});
|
|
13256
|
+
}
|
|
13257
|
+
deleteReaction(threadId, body) {
|
|
13258
|
+
return this.requestExecutor.json(`/threads/${threadId}/reactions`, DTOFileUploadFinalizeResponse, {
|
|
13259
|
+
method: "DELETE",
|
|
13260
|
+
body
|
|
13261
|
+
});
|
|
13262
|
+
}
|
|
13263
|
+
};
|
|
13264
|
+
|
|
13265
|
+
// src/api/endpoints/users.ts
|
|
13266
|
+
var UsersEndpoint = class {
|
|
13267
|
+
constructor(requestExecutor) {
|
|
13268
|
+
this.requestExecutor = requestExecutor;
|
|
13269
|
+
}
|
|
13270
|
+
getMe() {
|
|
13271
|
+
return this.requestExecutor.json("/users/me", DTOAuthenticatedUserResponse);
|
|
13272
|
+
}
|
|
13273
|
+
listWorkspaces(uid) {
|
|
13274
|
+
return this.requestExecutor.json(`/users/${uid}/workspaces`, DTOUserWorkspaceMembershipsResponse);
|
|
13275
|
+
}
|
|
13276
|
+
delete(uid) {
|
|
13277
|
+
return this.requestExecutor.json(`/users/${uid}`, DTOAuthenticatedUserResponse, { method: "DELETE" });
|
|
13278
|
+
}
|
|
13279
|
+
updateProfile(uid, body) {
|
|
13280
|
+
return this.requestExecutor.json(`/users/${uid}/profile`, DTOAuthenticatedUserResponse, {
|
|
13281
|
+
method: "PUT",
|
|
13282
|
+
body
|
|
13283
|
+
});
|
|
13284
|
+
}
|
|
13285
|
+
};
|
|
13286
|
+
|
|
13191
13287
|
// src/api/endpoints/workspaces/billing.ts
|
|
13192
13288
|
var WorkspaceBillingEndpoint = class {
|
|
13193
13289
|
constructor(requestExecutor) {
|
|
@@ -13208,7 +13304,7 @@ var WorkspaceBillingEndpoint = class {
|
|
|
13208
13304
|
};
|
|
13209
13305
|
|
|
13210
13306
|
// src/api/endpoints/workspaces/chat-threads.ts
|
|
13211
|
-
import { z as
|
|
13307
|
+
import { z as z360 } from "zod";
|
|
13212
13308
|
var WorkspaceChatThreadsEndpoint = class {
|
|
13213
13309
|
constructor(requestExecutor) {
|
|
13214
13310
|
this.requestExecutor = requestExecutor;
|
|
@@ -13240,7 +13336,7 @@ var WorkspaceChatThreadsEndpoint = class {
|
|
|
13240
13336
|
);
|
|
13241
13337
|
}
|
|
13242
13338
|
delete(workspaceId, threadId) {
|
|
13243
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}`,
|
|
13339
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}`, z360.any(), {
|
|
13244
13340
|
method: "DELETE"
|
|
13245
13341
|
});
|
|
13246
13342
|
}
|
|
@@ -13272,7 +13368,7 @@ var ChatThreadMessagesEndpoint = class {
|
|
|
13272
13368
|
);
|
|
13273
13369
|
}
|
|
13274
13370
|
score(workspaceId, threadId, body) {
|
|
13275
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}/scores`,
|
|
13371
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}/scores`, z360.any(), {
|
|
13276
13372
|
method: "POST",
|
|
13277
13373
|
body
|
|
13278
13374
|
});
|
|
@@ -13280,7 +13376,7 @@ var ChatThreadMessagesEndpoint = class {
|
|
|
13280
13376
|
};
|
|
13281
13377
|
|
|
13282
13378
|
// src/api/endpoints/workspaces/integrations.ts
|
|
13283
|
-
import { z as
|
|
13379
|
+
import { z as z361 } from "zod";
|
|
13284
13380
|
var WorkspaceIntegrationsEndpoint = class {
|
|
13285
13381
|
constructor(requestExecutor) {
|
|
13286
13382
|
this.requestExecutor = requestExecutor;
|
|
@@ -13289,7 +13385,7 @@ var WorkspaceIntegrationsEndpoint = class {
|
|
|
13289
13385
|
return this.requestExecutor.json(`/workspaces/${wsId}/integrations`, DTOIntegrationsGetListResponse);
|
|
13290
13386
|
}
|
|
13291
13387
|
delete(wsId, iId) {
|
|
13292
|
-
return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`,
|
|
13388
|
+
return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z361.unknown(), { method: "DELETE" });
|
|
13293
13389
|
}
|
|
13294
13390
|
};
|
|
13295
13391
|
|
|
@@ -13321,7 +13417,7 @@ var WorkspaceInvitationsEndpoint = class {
|
|
|
13321
13417
|
};
|
|
13322
13418
|
|
|
13323
13419
|
// src/api/endpoints/workspaces/members.ts
|
|
13324
|
-
import { z as
|
|
13420
|
+
import { z as z362 } from "zod";
|
|
13325
13421
|
var WorkspaceMembersEndpoint = class {
|
|
13326
13422
|
constructor(requestExecutor) {
|
|
13327
13423
|
this.requestExecutor = requestExecutor;
|
|
@@ -13338,7 +13434,7 @@ var WorkspaceMembersEndpoint = class {
|
|
|
13338
13434
|
});
|
|
13339
13435
|
}
|
|
13340
13436
|
invite(workspaceId, body) {
|
|
13341
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}/members`,
|
|
13437
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z362.any(), { method: "POST", body });
|
|
13342
13438
|
}
|
|
13343
13439
|
delete(workspaceId, userId) {
|
|
13344
13440
|
return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
|
|
@@ -13367,7 +13463,7 @@ var WorkspaceNpmRegistryEndpoint = class {
|
|
|
13367
13463
|
};
|
|
13368
13464
|
|
|
13369
13465
|
// src/api/endpoints/workspaces/subscription.ts
|
|
13370
|
-
import { z as
|
|
13466
|
+
import { z as z363 } from "zod";
|
|
13371
13467
|
var WorkspaceSubscriptionEndpoint = class {
|
|
13372
13468
|
constructor(requestExecutor) {
|
|
13373
13469
|
this.requestExecutor = requestExecutor;
|
|
@@ -13378,7 +13474,7 @@ var WorkspaceSubscriptionEndpoint = class {
|
|
|
13378
13474
|
});
|
|
13379
13475
|
}
|
|
13380
13476
|
update(workspaceId, body) {
|
|
13381
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`,
|
|
13477
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z363.any(), {
|
|
13382
13478
|
method: "PUT",
|
|
13383
13479
|
body
|
|
13384
13480
|
});
|
|
@@ -13396,7 +13492,7 @@ var WorkspaceSubscriptionEndpoint = class {
|
|
|
13396
13492
|
};
|
|
13397
13493
|
|
|
13398
13494
|
// src/api/endpoints/workspaces/workspaces.ts
|
|
13399
|
-
import { z as
|
|
13495
|
+
import { z as z364 } from "zod";
|
|
13400
13496
|
var WorkspacesEndpoint = class {
|
|
13401
13497
|
constructor(requestExecutor) {
|
|
13402
13498
|
this.requestExecutor = requestExecutor;
|
|
@@ -13432,7 +13528,7 @@ var WorkspacesEndpoint = class {
|
|
|
13432
13528
|
return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
|
|
13433
13529
|
}
|
|
13434
13530
|
delete(workspaceId) {
|
|
13435
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}`,
|
|
13531
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}`, z364.any(), { method: "DELETE" });
|
|
13436
13532
|
}
|
|
13437
13533
|
getPortalSettings(workspaceId) {
|
|
13438
13534
|
return this.requestExecutor.json(`/workspaces/${workspaceId}/portal/settings`, DTOPortalSettingsGetResponse, {
|
|
@@ -13453,88 +13549,6 @@ var WorkspacesEndpoint = class {
|
|
|
13453
13549
|
}
|
|
13454
13550
|
};
|
|
13455
13551
|
|
|
13456
|
-
// src/api/endpoints/files.ts
|
|
13457
|
-
var FilesEndpoint = class {
|
|
13458
|
-
constructor(requestExecutor) {
|
|
13459
|
-
this.requestExecutor = requestExecutor;
|
|
13460
|
-
}
|
|
13461
|
-
upload(body) {
|
|
13462
|
-
return this.requestExecutor.json(`/files/upload`, DTOFileUploadBulkResponse, {
|
|
13463
|
-
method: "POST",
|
|
13464
|
-
body
|
|
13465
|
-
});
|
|
13466
|
-
}
|
|
13467
|
-
finalizeUpload(body) {
|
|
13468
|
-
return this.requestExecutor.json(`/files/upload/finalize`, DTOFileFinalizeBulkResponse, {
|
|
13469
|
-
method: "POST",
|
|
13470
|
-
body
|
|
13471
|
-
});
|
|
13472
|
-
}
|
|
13473
|
-
};
|
|
13474
|
-
|
|
13475
|
-
// src/api/endpoints/liveblocks.ts
|
|
13476
|
-
var LiveblocksEndpoint = class {
|
|
13477
|
-
constructor(requestExecutor) {
|
|
13478
|
-
this.requestExecutor = requestExecutor;
|
|
13479
|
-
}
|
|
13480
|
-
auth(body) {
|
|
13481
|
-
return this.requestExecutor.json("/liveblocks/auth", DTOLiveblocksAuthResponse, {
|
|
13482
|
-
method: "POST",
|
|
13483
|
-
body
|
|
13484
|
-
});
|
|
13485
|
-
}
|
|
13486
|
-
};
|
|
13487
|
-
|
|
13488
|
-
// src/api/endpoints/threads.ts
|
|
13489
|
-
var ThreadsEndpoint = class {
|
|
13490
|
-
constructor(requestExecutor) {
|
|
13491
|
-
this.requestExecutor = requestExecutor;
|
|
13492
|
-
}
|
|
13493
|
-
listMessages(threadId) {
|
|
13494
|
-
return this.requestExecutor.json(`/threads/${threadId}/messages`, DTOThreadMessageListResponse);
|
|
13495
|
-
}
|
|
13496
|
-
postMessage(threadId, body) {
|
|
13497
|
-
return this.requestExecutor.json(`/threads/${threadId}/messages`, DTOThreadMessageListResponse, {
|
|
13498
|
-
method: "POST",
|
|
13499
|
-
body
|
|
13500
|
-
});
|
|
13501
|
-
}
|
|
13502
|
-
postReaction(threadId, body) {
|
|
13503
|
-
return this.requestExecutor.json(`/threads/${threadId}/reactions`, DTOThreadReactionResponse, {
|
|
13504
|
-
method: "POST",
|
|
13505
|
-
body
|
|
13506
|
-
});
|
|
13507
|
-
}
|
|
13508
|
-
deleteReaction(threadId, body) {
|
|
13509
|
-
return this.requestExecutor.json(`/threads/${threadId}/reactions`, DTOFileUploadFinalizeResponse, {
|
|
13510
|
-
method: "DELETE",
|
|
13511
|
-
body
|
|
13512
|
-
});
|
|
13513
|
-
}
|
|
13514
|
-
};
|
|
13515
|
-
|
|
13516
|
-
// src/api/endpoints/users.ts
|
|
13517
|
-
var UsersEndpoint = class {
|
|
13518
|
-
constructor(requestExecutor) {
|
|
13519
|
-
this.requestExecutor = requestExecutor;
|
|
13520
|
-
}
|
|
13521
|
-
getMe() {
|
|
13522
|
-
return this.requestExecutor.json("/users/me", DTOAuthenticatedUserResponse);
|
|
13523
|
-
}
|
|
13524
|
-
listWorkspaces(uid) {
|
|
13525
|
-
return this.requestExecutor.json(`/users/${uid}/workspaces`, DTOUserWorkspaceMembershipsResponse);
|
|
13526
|
-
}
|
|
13527
|
-
delete(uid) {
|
|
13528
|
-
return this.requestExecutor.json(`/users/${uid}`, DTOAuthenticatedUserResponse, { method: "DELETE" });
|
|
13529
|
-
}
|
|
13530
|
-
updateProfile(uid, body) {
|
|
13531
|
-
return this.requestExecutor.json(`/users/${uid}/profile`, DTOAuthenticatedUserResponse, {
|
|
13532
|
-
method: "PUT",
|
|
13533
|
-
body
|
|
13534
|
-
});
|
|
13535
|
-
}
|
|
13536
|
-
};
|
|
13537
|
-
|
|
13538
13552
|
// src/api/transport/request-executor-error.ts
|
|
13539
13553
|
var RequestExecutorError = class _RequestExecutorError extends Error {
|
|
13540
13554
|
constructor(type, message, errorCode, serverErrorType, cause) {
|
|
@@ -13583,9 +13597,9 @@ ${bodyText}`,
|
|
|
13583
13597
|
|
|
13584
13598
|
// src/api/transport/request-executor.ts
|
|
13585
13599
|
import fetch from "node-fetch";
|
|
13586
|
-
import { z as
|
|
13587
|
-
var ResponseWrapper =
|
|
13588
|
-
result:
|
|
13600
|
+
import { z as z365 } from "zod";
|
|
13601
|
+
var ResponseWrapper = z365.object({
|
|
13602
|
+
result: z365.record(z365.any())
|
|
13589
13603
|
});
|
|
13590
13604
|
var RequestExecutor = class {
|
|
13591
13605
|
constructor(testServerConfig) {
|
|
@@ -13655,6 +13669,7 @@ var SupernovaApiClient = class {
|
|
|
13655
13669
|
__publicField(this, "threads");
|
|
13656
13670
|
__publicField(this, "mcpStreams");
|
|
13657
13671
|
__publicField(this, "sandboxes");
|
|
13672
|
+
__publicField(this, "storybookSites");
|
|
13658
13673
|
const apiSecret = config.apiSecret ?? process?.env?.SUPERNOVA_API_SECRET;
|
|
13659
13674
|
const requestExecutor = new RequestExecutor({
|
|
13660
13675
|
apiSecret,
|
|
@@ -13671,29 +13686,30 @@ var SupernovaApiClient = class {
|
|
|
13671
13686
|
this.threads = new ThreadsEndpoint(requestExecutor);
|
|
13672
13687
|
this.mcpStreams = new MCPStreamsEndpoint(requestExecutor);
|
|
13673
13688
|
this.sandboxes = new SandboxesEndpoint(requestExecutor);
|
|
13689
|
+
this.storybookSites = new StorybookSitesEndpoint(requestExecutor);
|
|
13674
13690
|
}
|
|
13675
13691
|
};
|
|
13676
13692
|
|
|
13677
13693
|
// src/events/design-system.ts
|
|
13678
|
-
import { z as
|
|
13679
|
-
var DTOEventFigmaNodesRendered =
|
|
13680
|
-
type:
|
|
13681
|
-
designSystemId:
|
|
13682
|
-
versionId:
|
|
13683
|
-
figmaNodePersistentIds:
|
|
13684
|
-
});
|
|
13685
|
-
var DTOEventDataSourcesImported =
|
|
13686
|
-
type:
|
|
13687
|
-
designSystemId:
|
|
13688
|
-
versionId:
|
|
13689
|
-
importJobId:
|
|
13694
|
+
import { z as z366 } from "zod";
|
|
13695
|
+
var DTOEventFigmaNodesRendered = z366.object({
|
|
13696
|
+
type: z366.literal("DesignSystem.FigmaNodesRendered"),
|
|
13697
|
+
designSystemId: z366.string(),
|
|
13698
|
+
versionId: z366.string(),
|
|
13699
|
+
figmaNodePersistentIds: z366.string().array()
|
|
13700
|
+
});
|
|
13701
|
+
var DTOEventDataSourcesImported = z366.object({
|
|
13702
|
+
type: z366.literal("DesignSystem.ImportJobFinished"),
|
|
13703
|
+
designSystemId: z366.string(),
|
|
13704
|
+
versionId: z366.string(),
|
|
13705
|
+
importJobId: z366.string(),
|
|
13690
13706
|
dataSourceType: DataSourceRemoteType,
|
|
13691
|
-
dataSourceIds:
|
|
13707
|
+
dataSourceIds: z366.string().array()
|
|
13692
13708
|
});
|
|
13693
13709
|
|
|
13694
13710
|
// src/events/event.ts
|
|
13695
|
-
import { z as
|
|
13696
|
-
var DTOEvent =
|
|
13711
|
+
import { z as z367 } from "zod";
|
|
13712
|
+
var DTOEvent = z367.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
|
|
13697
13713
|
|
|
13698
13714
|
// src/sync/docs-local-action-executor.ts
|
|
13699
13715
|
function applyActionsLocally(input) {
|
|
@@ -13989,7 +14005,7 @@ var LocalDocsElementActionExecutor = class {
|
|
|
13989
14005
|
import PQueue from "p-queue";
|
|
13990
14006
|
|
|
13991
14007
|
// src/yjs/design-system-content/documentation-hierarchy.ts
|
|
13992
|
-
import { z as
|
|
14008
|
+
import { z as z368 } from "zod";
|
|
13993
14009
|
|
|
13994
14010
|
// src/yjs/version-room/base.ts
|
|
13995
14011
|
var VersionRoomBaseYDoc = class {
|
|
@@ -14539,24 +14555,24 @@ var FrontendVersionRoomYDoc = class {
|
|
|
14539
14555
|
};
|
|
14540
14556
|
|
|
14541
14557
|
// src/yjs/design-system-content/documentation-hierarchy.ts
|
|
14542
|
-
var DocumentationHierarchySettings =
|
|
14543
|
-
routingVersion:
|
|
14544
|
-
isDraftFeatureAdopted:
|
|
14545
|
-
isApprovalFeatureEnabled:
|
|
14546
|
-
approvalRequiredForPublishing:
|
|
14558
|
+
var DocumentationHierarchySettings = z368.object({
|
|
14559
|
+
routingVersion: z368.string(),
|
|
14560
|
+
isDraftFeatureAdopted: z368.boolean(),
|
|
14561
|
+
isApprovalFeatureEnabled: z368.boolean(),
|
|
14562
|
+
approvalRequiredForPublishing: z368.boolean()
|
|
14547
14563
|
});
|
|
14548
14564
|
function yjsToDocumentationHierarchy(doc) {
|
|
14549
14565
|
return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
|
|
14550
14566
|
}
|
|
14551
14567
|
|
|
14552
14568
|
// src/yjs/design-system-content/item-configuration.ts
|
|
14553
|
-
import { z as
|
|
14554
|
-
var DTODocumentationPageRoomHeaderData =
|
|
14555
|
-
title:
|
|
14569
|
+
import { z as z369 } from "zod";
|
|
14570
|
+
var DTODocumentationPageRoomHeaderData = z369.object({
|
|
14571
|
+
title: z369.string(),
|
|
14556
14572
|
configuration: DTODocumentationItemConfigurationV2
|
|
14557
14573
|
});
|
|
14558
|
-
var DTODocumentationPageRoomHeaderDataUpdate =
|
|
14559
|
-
title:
|
|
14574
|
+
var DTODocumentationPageRoomHeaderDataUpdate = z369.object({
|
|
14575
|
+
title: z369.string().optional(),
|
|
14560
14576
|
configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
|
|
14561
14577
|
});
|
|
14562
14578
|
function itemConfigurationToYjs(yDoc, item) {
|
|
@@ -14591,9 +14607,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
|
|
|
14591
14607
|
var PageSectionEditorModel = PageSectionEditorModelV2;
|
|
14592
14608
|
|
|
14593
14609
|
// src/yjs/docs-editor/model/page.ts
|
|
14594
|
-
import { z as
|
|
14595
|
-
var DocumentationPageEditorModel =
|
|
14596
|
-
blocks:
|
|
14610
|
+
import { z as z370 } from "zod";
|
|
14611
|
+
var DocumentationPageEditorModel = z370.object({
|
|
14612
|
+
blocks: z370.array(DocumentationPageContentItem)
|
|
14597
14613
|
});
|
|
14598
14614
|
|
|
14599
14615
|
// src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
|
|
@@ -18270,7 +18286,7 @@ var blocks = [
|
|
|
18270
18286
|
|
|
18271
18287
|
// src/yjs/docs-editor/prosemirror-to-blocks.ts
|
|
18272
18288
|
import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
|
|
18273
|
-
import { z as
|
|
18289
|
+
import { z as z371 } from "zod";
|
|
18274
18290
|
function yDocToPage(yDoc, definitions) {
|
|
18275
18291
|
return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
|
|
18276
18292
|
}
|
|
@@ -18346,7 +18362,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
|
|
|
18346
18362
|
if (!id) return null;
|
|
18347
18363
|
return {
|
|
18348
18364
|
id,
|
|
18349
|
-
title: getProsemirrorAttribute(prosemirrorNode, "title",
|
|
18365
|
+
title: getProsemirrorAttribute(prosemirrorNode, "title", z371.string()) ?? "",
|
|
18350
18366
|
columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
|
|
18351
18367
|
};
|
|
18352
18368
|
}
|
|
@@ -18380,7 +18396,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
|
|
|
18380
18396
|
});
|
|
18381
18397
|
}
|
|
18382
18398
|
function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
|
|
18383
|
-
const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId",
|
|
18399
|
+
const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z371.string());
|
|
18384
18400
|
if (!definitionId) {
|
|
18385
18401
|
console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
|
|
18386
18402
|
return [];
|
|
@@ -18421,7 +18437,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
|
|
|
18421
18437
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
18422
18438
|
if (!id) return null;
|
|
18423
18439
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
18424
|
-
const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type",
|
|
18440
|
+
const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z371.string().optional()));
|
|
18425
18441
|
return {
|
|
18426
18442
|
id,
|
|
18427
18443
|
type: "Block",
|
|
@@ -18544,9 +18560,9 @@ function parseRichTextAttribute(mark) {
|
|
|
18544
18560
|
return null;
|
|
18545
18561
|
}
|
|
18546
18562
|
function parseProsemirrorLink(mark) {
|
|
18547
|
-
const href = getProsemirrorAttribute(mark, "href",
|
|
18563
|
+
const href = getProsemirrorAttribute(mark, "href", z371.string().optional());
|
|
18548
18564
|
if (!href) return null;
|
|
18549
|
-
const target = getProsemirrorAttribute(mark, "target",
|
|
18565
|
+
const target = getProsemirrorAttribute(mark, "target", z371.string().optional());
|
|
18550
18566
|
const openInNewTab = target === "_blank";
|
|
18551
18567
|
if (href.startsWith("@")) {
|
|
18552
18568
|
return {
|
|
@@ -18565,9 +18581,9 @@ function parseProsemirrorLink(mark) {
|
|
|
18565
18581
|
}
|
|
18566
18582
|
}
|
|
18567
18583
|
function parseProsemirrorCommentHighlight(mark) {
|
|
18568
|
-
const highlightId = getProsemirrorAttribute(mark, "highlightId",
|
|
18584
|
+
const highlightId = getProsemirrorAttribute(mark, "highlightId", z371.string().optional());
|
|
18569
18585
|
if (!highlightId) return null;
|
|
18570
|
-
const isResolved = getProsemirrorAttribute(mark, "resolved",
|
|
18586
|
+
const isResolved = getProsemirrorAttribute(mark, "resolved", z371.boolean().optional()) ?? false;
|
|
18571
18587
|
return {
|
|
18572
18588
|
type: "Comment",
|
|
18573
18589
|
commentHighlightId: highlightId,
|
|
@@ -18578,7 +18594,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
|
|
|
18578
18594
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
18579
18595
|
if (!id) return null;
|
|
18580
18596
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
18581
|
-
const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder",
|
|
18597
|
+
const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z371.boolean().optional()) !== false;
|
|
18582
18598
|
const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
|
|
18583
18599
|
if (!tableChild) {
|
|
18584
18600
|
return emptyTable(id, variantId, 0);
|
|
@@ -18624,9 +18640,9 @@ function parseAsTable(prosemirrorNode, definition, property) {
|
|
|
18624
18640
|
function parseAsTableCell(prosemirrorNode) {
|
|
18625
18641
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
18626
18642
|
if (!id) return null;
|
|
18627
|
-
const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign",
|
|
18643
|
+
const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z371.string().optional());
|
|
18628
18644
|
let columnWidth;
|
|
18629
|
-
const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth",
|
|
18645
|
+
const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z371.array(z371.number()).nullish());
|
|
18630
18646
|
if (columnWidthArray) {
|
|
18631
18647
|
columnWidth = roundDimension(columnWidthArray[0]);
|
|
18632
18648
|
}
|
|
@@ -18662,7 +18678,7 @@ function parseAsTableNode(prosemirrorNode) {
|
|
|
18662
18678
|
value: parseRichText(prosemirrorNode.content ?? [])
|
|
18663
18679
|
};
|
|
18664
18680
|
case "image":
|
|
18665
|
-
const items = getProsemirrorAttribute(prosemirrorNode, "items",
|
|
18681
|
+
const items = getProsemirrorAttribute(prosemirrorNode, "items", z371.string());
|
|
18666
18682
|
if (!items) return null;
|
|
18667
18683
|
const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
|
|
18668
18684
|
if (!parsedItems.success) return null;
|
|
@@ -18776,7 +18792,7 @@ function definitionExpectsPlaceholderItem(definition) {
|
|
|
18776
18792
|
);
|
|
18777
18793
|
}
|
|
18778
18794
|
function parseBlockItems(prosemirrorNode, definition) {
|
|
18779
|
-
const itemsString = getProsemirrorAttribute(prosemirrorNode, "items",
|
|
18795
|
+
const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z371.string());
|
|
18780
18796
|
if (!itemsString) return null;
|
|
18781
18797
|
const itemsJson = JSON.parse(itemsString);
|
|
18782
18798
|
if (!Array.isArray(itemsJson)) {
|
|
@@ -18787,18 +18803,18 @@ function parseBlockItems(prosemirrorNode, definition) {
|
|
|
18787
18803
|
}
|
|
18788
18804
|
function parseAppearance(prosemirrorNode) {
|
|
18789
18805
|
let appearance = {};
|
|
18790
|
-
const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance",
|
|
18806
|
+
const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z371.string().optional());
|
|
18791
18807
|
if (rawAppearanceString) {
|
|
18792
18808
|
const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
|
|
18793
18809
|
if (parsedAppearance.success) {
|
|
18794
18810
|
appearance = parsedAppearance.data;
|
|
18795
18811
|
}
|
|
18796
18812
|
}
|
|
18797
|
-
const columns = getProsemirrorAttribute(prosemirrorNode, "columns",
|
|
18813
|
+
const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z371.number().optional());
|
|
18798
18814
|
if (columns) {
|
|
18799
18815
|
appearance.numberOfColumns = columns;
|
|
18800
18816
|
}
|
|
18801
|
-
const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor",
|
|
18817
|
+
const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z371.string().optional());
|
|
18802
18818
|
if (backgroundColor) {
|
|
18803
18819
|
const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
|
|
18804
18820
|
if (parsedColor.success) {
|
|
@@ -18899,12 +18915,12 @@ function valueSchemaForPropertyType(type) {
|
|
|
18899
18915
|
}
|
|
18900
18916
|
}
|
|
18901
18917
|
function getProsemirrorBlockId(prosemirrorNode) {
|
|
18902
|
-
const id = getProsemirrorAttribute(prosemirrorNode, "id",
|
|
18918
|
+
const id = getProsemirrorAttribute(prosemirrorNode, "id", z371.string());
|
|
18903
18919
|
if (!id) console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
|
|
18904
18920
|
return id;
|
|
18905
18921
|
}
|
|
18906
18922
|
function getProsemirrorBlockVariantId(prosemirrorNode) {
|
|
18907
|
-
return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(
|
|
18923
|
+
return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z371.string()));
|
|
18908
18924
|
}
|
|
18909
18925
|
function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
|
|
18910
18926
|
const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);
|
|
@@ -20744,8 +20760,6 @@ export {
|
|
|
20744
20760
|
DTOSandboxTemplateVersion,
|
|
20745
20761
|
DTOSandboxTemplateVersionCreated,
|
|
20746
20762
|
DTOSandboxTemplateVersionDetail,
|
|
20747
|
-
DTOStorybookAccessTokenPayload,
|
|
20748
|
-
DTOStorybookAccessTokenResponse,
|
|
20749
20763
|
DTOStorybookEntry,
|
|
20750
20764
|
DTOStorybookEntryListResponse,
|
|
20751
20765
|
DTOStorybookEntryOrigin,
|
|
@@ -20753,10 +20767,15 @@ export {
|
|
|
20753
20767
|
DTOStorybookEntryReplaceAction,
|
|
20754
20768
|
DTOStorybookEntryResponse,
|
|
20755
20769
|
DTOStorybookImportPayload,
|
|
20770
|
+
DTOStorybookSite,
|
|
20771
|
+
DTOStorybookSiteListQuery,
|
|
20772
|
+
DTOStorybookSiteListResponse,
|
|
20773
|
+
DTOStorybookSiteUploadPayload,
|
|
20774
|
+
DTOStorybookSiteUploadResponse,
|
|
20775
|
+
DTOStorybookSiteVersion,
|
|
20776
|
+
DTOStorybookSiteVersionResponse,
|
|
20756
20777
|
DTOStorybookSourceUpdatePayload,
|
|
20757
20778
|
DTOStorybookUploadStatus,
|
|
20758
|
-
DTOStorybookUploadUrlRequest,
|
|
20759
|
-
DTOStorybookUploadUrlResponse,
|
|
20760
20779
|
DTOSubscription,
|
|
20761
20780
|
DTOSubscriptionResponse,
|
|
20762
20781
|
DTOSubscriptionUpcomingChange,
|
|
@@ -20952,7 +20971,7 @@ export {
|
|
|
20952
20971
|
SandboxTemplatesEndpoint,
|
|
20953
20972
|
SandboxesEndpoint,
|
|
20954
20973
|
StorybookEntriesEndpoint,
|
|
20955
|
-
|
|
20974
|
+
StorybookSitesEndpoint,
|
|
20956
20975
|
StringVariableScopeType,
|
|
20957
20976
|
SupernovaApiClient,
|
|
20958
20977
|
ThemesEndpoint,
|