@supernova-studio/client 0.58.6 → 0.58.7

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 CHANGED
@@ -40817,6 +40817,8 @@ declare const DTOElementPropertyDefinition: z.ZodObject<{
40817
40817
  } | undefined;
40818
40818
  }[] | null | undefined>;
40819
40819
  linkElementType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<"DocumentationPage" | "FigmaComponent", z.ZodTypeDef, "DocumentationPage" | "FigmaComponent">>>, NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined, "DocumentationPage" | "FigmaComponent" | null | undefined>;
40820
+ isImmutable: z.ZodBoolean;
40821
+ immutablePropertyType: z.ZodOptional<z.ZodEnum<["Collection"]>>;
40820
40822
  }, "strip", z.ZodTypeAny, {
40821
40823
  type: "Text" | "Number" | "Boolean" | "Select" | "Generic" | "Link" | "URL";
40822
40824
  id: string;
@@ -40828,6 +40830,7 @@ declare const DTOElementPropertyDefinition: z.ZodObject<{
40828
40830
  designSystemVersionId: string;
40829
40831
  targetElementType: "Token" | "Component" | "DocumentationPage";
40830
40832
  codeName: string;
40833
+ isImmutable: boolean;
40831
40834
  options?: {
40832
40835
  id: string;
40833
40836
  name: string;
@@ -40836,6 +40839,7 @@ declare const DTOElementPropertyDefinition: z.ZodObject<{
40836
40839
  } | undefined;
40837
40840
  }[] | undefined;
40838
40841
  linkElementType?: NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined;
40842
+ immutablePropertyType?: "Collection" | undefined;
40839
40843
  }, {
40840
40844
  type: "Text" | "Number" | "Boolean" | "Select" | "Generic" | "Link" | "URL";
40841
40845
  id: string;
@@ -40847,6 +40851,7 @@ declare const DTOElementPropertyDefinition: z.ZodObject<{
40847
40851
  designSystemVersionId: string;
40848
40852
  targetElementType: "Token" | "Component" | "DocumentationPage";
40849
40853
  codeName: string;
40854
+ isImmutable: boolean;
40850
40855
  options?: {
40851
40856
  id: string;
40852
40857
  name: string;
@@ -40855,6 +40860,7 @@ declare const DTOElementPropertyDefinition: z.ZodObject<{
40855
40860
  } | undefined;
40856
40861
  }[] | null | undefined;
40857
40862
  linkElementType?: "DocumentationPage" | "FigmaComponent" | null | undefined;
40863
+ immutablePropertyType?: "Collection" | undefined;
40858
40864
  }>;
40859
40865
  type DTOElementPropertyDefinition = z.infer<typeof DTOElementPropertyDefinition>;
40860
40866
  declare const DTOElementPropertyDefinitionListResponse: z.ZodObject<{
@@ -40901,6 +40907,8 @@ declare const DTOElementPropertyDefinitionListResponse: z.ZodObject<{
40901
40907
  } | undefined;
40902
40908
  }[] | null | undefined>;
40903
40909
  linkElementType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<"DocumentationPage" | "FigmaComponent", z.ZodTypeDef, "DocumentationPage" | "FigmaComponent">>>, NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined, "DocumentationPage" | "FigmaComponent" | null | undefined>;
40910
+ isImmutable: z.ZodBoolean;
40911
+ immutablePropertyType: z.ZodOptional<z.ZodEnum<["Collection"]>>;
40904
40912
  }, "strip", z.ZodTypeAny, {
40905
40913
  type: "Text" | "Number" | "Boolean" | "Select" | "Generic" | "Link" | "URL";
40906
40914
  id: string;
@@ -40912,6 +40920,7 @@ declare const DTOElementPropertyDefinitionListResponse: z.ZodObject<{
40912
40920
  designSystemVersionId: string;
40913
40921
  targetElementType: "Token" | "Component" | "DocumentationPage";
40914
40922
  codeName: string;
40923
+ isImmutable: boolean;
40915
40924
  options?: {
40916
40925
  id: string;
40917
40926
  name: string;
@@ -40920,6 +40929,7 @@ declare const DTOElementPropertyDefinitionListResponse: z.ZodObject<{
40920
40929
  } | undefined;
40921
40930
  }[] | undefined;
40922
40931
  linkElementType?: NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined;
40932
+ immutablePropertyType?: "Collection" | undefined;
40923
40933
  }, {
40924
40934
  type: "Text" | "Number" | "Boolean" | "Select" | "Generic" | "Link" | "URL";
40925
40935
  id: string;
@@ -40931,6 +40941,7 @@ declare const DTOElementPropertyDefinitionListResponse: z.ZodObject<{
40931
40941
  designSystemVersionId: string;
40932
40942
  targetElementType: "Token" | "Component" | "DocumentationPage";
40933
40943
  codeName: string;
40944
+ isImmutable: boolean;
40934
40945
  options?: {
40935
40946
  id: string;
40936
40947
  name: string;
@@ -40939,6 +40950,7 @@ declare const DTOElementPropertyDefinitionListResponse: z.ZodObject<{
40939
40950
  } | undefined;
40940
40951
  }[] | null | undefined;
40941
40952
  linkElementType?: "DocumentationPage" | "FigmaComponent" | null | undefined;
40953
+ immutablePropertyType?: "Collection" | undefined;
40942
40954
  }>, "many">;
40943
40955
  }, "strip", z.ZodTypeAny, {
40944
40956
  definitions: {
@@ -40952,6 +40964,7 @@ declare const DTOElementPropertyDefinitionListResponse: z.ZodObject<{
40952
40964
  designSystemVersionId: string;
40953
40965
  targetElementType: "Token" | "Component" | "DocumentationPage";
40954
40966
  codeName: string;
40967
+ isImmutable: boolean;
40955
40968
  options?: {
40956
40969
  id: string;
40957
40970
  name: string;
@@ -40960,6 +40973,7 @@ declare const DTOElementPropertyDefinitionListResponse: z.ZodObject<{
40960
40973
  } | undefined;
40961
40974
  }[] | undefined;
40962
40975
  linkElementType?: NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined;
40976
+ immutablePropertyType?: "Collection" | undefined;
40963
40977
  }[];
40964
40978
  }, {
40965
40979
  definitions: {
@@ -40973,6 +40987,7 @@ declare const DTOElementPropertyDefinitionListResponse: z.ZodObject<{
40973
40987
  designSystemVersionId: string;
40974
40988
  targetElementType: "Token" | "Component" | "DocumentationPage";
40975
40989
  codeName: string;
40990
+ isImmutable: boolean;
40976
40991
  options?: {
40977
40992
  id: string;
40978
40993
  name: string;
@@ -40981,6 +40996,7 @@ declare const DTOElementPropertyDefinitionListResponse: z.ZodObject<{
40981
40996
  } | undefined;
40982
40997
  }[] | null | undefined;
40983
40998
  linkElementType?: "DocumentationPage" | "FigmaComponent" | null | undefined;
40999
+ immutablePropertyType?: "Collection" | undefined;
40984
41000
  }[];
40985
41001
  }>;
40986
41002
  type DTOElementPropertyDefinitionListResponse = z.infer<typeof DTOElementPropertyDefinitionListResponse>;
@@ -41028,6 +41044,8 @@ declare const DTOElementPropertyDefinitionResponse: z.ZodObject<{
41028
41044
  } | undefined;
41029
41045
  }[] | null | undefined>;
41030
41046
  linkElementType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<"DocumentationPage" | "FigmaComponent", z.ZodTypeDef, "DocumentationPage" | "FigmaComponent">>>, NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined, "DocumentationPage" | "FigmaComponent" | null | undefined>;
41047
+ isImmutable: z.ZodBoolean;
41048
+ immutablePropertyType: z.ZodOptional<z.ZodEnum<["Collection"]>>;
41031
41049
  }, "strip", z.ZodTypeAny, {
41032
41050
  type: "Text" | "Number" | "Boolean" | "Select" | "Generic" | "Link" | "URL";
41033
41051
  id: string;
@@ -41039,6 +41057,7 @@ declare const DTOElementPropertyDefinitionResponse: z.ZodObject<{
41039
41057
  designSystemVersionId: string;
41040
41058
  targetElementType: "Token" | "Component" | "DocumentationPage";
41041
41059
  codeName: string;
41060
+ isImmutable: boolean;
41042
41061
  options?: {
41043
41062
  id: string;
41044
41063
  name: string;
@@ -41047,6 +41066,7 @@ declare const DTOElementPropertyDefinitionResponse: z.ZodObject<{
41047
41066
  } | undefined;
41048
41067
  }[] | undefined;
41049
41068
  linkElementType?: NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined;
41069
+ immutablePropertyType?: "Collection" | undefined;
41050
41070
  }, {
41051
41071
  type: "Text" | "Number" | "Boolean" | "Select" | "Generic" | "Link" | "URL";
41052
41072
  id: string;
@@ -41058,6 +41078,7 @@ declare const DTOElementPropertyDefinitionResponse: z.ZodObject<{
41058
41078
  designSystemVersionId: string;
41059
41079
  targetElementType: "Token" | "Component" | "DocumentationPage";
41060
41080
  codeName: string;
41081
+ isImmutable: boolean;
41061
41082
  options?: {
41062
41083
  id: string;
41063
41084
  name: string;
@@ -41066,6 +41087,7 @@ declare const DTOElementPropertyDefinitionResponse: z.ZodObject<{
41066
41087
  } | undefined;
41067
41088
  }[] | null | undefined;
41068
41089
  linkElementType?: "DocumentationPage" | "FigmaComponent" | null | undefined;
41090
+ immutablePropertyType?: "Collection" | undefined;
41069
41091
  }>;
41070
41092
  }, "strip", z.ZodTypeAny, {
41071
41093
  definition: {
@@ -41079,6 +41101,7 @@ declare const DTOElementPropertyDefinitionResponse: z.ZodObject<{
41079
41101
  designSystemVersionId: string;
41080
41102
  targetElementType: "Token" | "Component" | "DocumentationPage";
41081
41103
  codeName: string;
41104
+ isImmutable: boolean;
41082
41105
  options?: {
41083
41106
  id: string;
41084
41107
  name: string;
@@ -41087,6 +41110,7 @@ declare const DTOElementPropertyDefinitionResponse: z.ZodObject<{
41087
41110
  } | undefined;
41088
41111
  }[] | undefined;
41089
41112
  linkElementType?: NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined;
41113
+ immutablePropertyType?: "Collection" | undefined;
41090
41114
  };
41091
41115
  }, {
41092
41116
  definition: {
@@ -41100,6 +41124,7 @@ declare const DTOElementPropertyDefinitionResponse: z.ZodObject<{
41100
41124
  designSystemVersionId: string;
41101
41125
  targetElementType: "Token" | "Component" | "DocumentationPage";
41102
41126
  codeName: string;
41127
+ isImmutable: boolean;
41103
41128
  options?: {
41104
41129
  id: string;
41105
41130
  name: string;
@@ -41108,6 +41133,7 @@ declare const DTOElementPropertyDefinitionResponse: z.ZodObject<{
41108
41133
  } | undefined;
41109
41134
  }[] | null | undefined;
41110
41135
  linkElementType?: "DocumentationPage" | "FigmaComponent" | null | undefined;
41136
+ immutablePropertyType?: "Collection" | undefined;
41111
41137
  };
41112
41138
  }>;
41113
41139
  type DTOElementPropertyDefinitionResponse = z.infer<typeof DTOElementPropertyDefinitionResponse>;
@@ -84935,6 +84961,7 @@ declare class ElementPropertyDefinitionsEndpoint {
84935
84961
  designSystemVersionId: string;
84936
84962
  targetElementType: "Token" | "Component" | "DocumentationPage";
84937
84963
  codeName: string;
84964
+ isImmutable: boolean;
84938
84965
  options?: {
84939
84966
  id: string;
84940
84967
  name: string;
@@ -84943,6 +84970,7 @@ declare class ElementPropertyDefinitionsEndpoint {
84943
84970
  } | undefined;
84944
84971
  }[] | undefined;
84945
84972
  linkElementType?: NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined;
84973
+ immutablePropertyType?: "Collection" | undefined;
84946
84974
  }[];
84947
84975
  }>;
84948
84976
  create(designSystemId: string, versionId: string, body: DTOElementPropertyDefinitionCreatePayload): Promise<{
@@ -84957,6 +84985,7 @@ declare class ElementPropertyDefinitionsEndpoint {
84957
84985
  designSystemVersionId: string;
84958
84986
  targetElementType: "Token" | "Component" | "DocumentationPage";
84959
84987
  codeName: string;
84988
+ isImmutable: boolean;
84960
84989
  options?: {
84961
84990
  id: string;
84962
84991
  name: string;
@@ -84965,6 +84994,7 @@ declare class ElementPropertyDefinitionsEndpoint {
84965
84994
  } | undefined;
84966
84995
  }[] | undefined;
84967
84996
  linkElementType?: NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined;
84997
+ immutablePropertyType?: "Collection" | undefined;
84968
84998
  };
84969
84999
  }>;
84970
85000
  update(designSystemId: string, versionId: string, defId: string, body: DTOElementPropertyDefinitionUpdatePayload): Promise<{
@@ -84979,6 +85009,7 @@ declare class ElementPropertyDefinitionsEndpoint {
84979
85009
  designSystemVersionId: string;
84980
85010
  targetElementType: "Token" | "Component" | "DocumentationPage";
84981
85011
  codeName: string;
85012
+ isImmutable: boolean;
84982
85013
  options?: {
84983
85014
  id: string;
84984
85015
  name: string;
@@ -84987,6 +85018,7 @@ declare class ElementPropertyDefinitionsEndpoint {
84987
85018
  } | undefined;
84988
85019
  }[] | undefined;
84989
85020
  linkElementType?: NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined;
85021
+ immutablePropertyType?: "Collection" | undefined;
84990
85022
  };
84991
85023
  }>;
84992
85024
  delete(designSystemId: string, versionId: string, defId: string): Promise<any>;
package/dist/index.d.ts CHANGED
@@ -40817,6 +40817,8 @@ declare const DTOElementPropertyDefinition: z.ZodObject<{
40817
40817
  } | undefined;
40818
40818
  }[] | null | undefined>;
40819
40819
  linkElementType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<"DocumentationPage" | "FigmaComponent", z.ZodTypeDef, "DocumentationPage" | "FigmaComponent">>>, NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined, "DocumentationPage" | "FigmaComponent" | null | undefined>;
40820
+ isImmutable: z.ZodBoolean;
40821
+ immutablePropertyType: z.ZodOptional<z.ZodEnum<["Collection"]>>;
40820
40822
  }, "strip", z.ZodTypeAny, {
40821
40823
  type: "Text" | "Number" | "Boolean" | "Select" | "Generic" | "Link" | "URL";
40822
40824
  id: string;
@@ -40828,6 +40830,7 @@ declare const DTOElementPropertyDefinition: z.ZodObject<{
40828
40830
  designSystemVersionId: string;
40829
40831
  targetElementType: "Token" | "Component" | "DocumentationPage";
40830
40832
  codeName: string;
40833
+ isImmutable: boolean;
40831
40834
  options?: {
40832
40835
  id: string;
40833
40836
  name: string;
@@ -40836,6 +40839,7 @@ declare const DTOElementPropertyDefinition: z.ZodObject<{
40836
40839
  } | undefined;
40837
40840
  }[] | undefined;
40838
40841
  linkElementType?: NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined;
40842
+ immutablePropertyType?: "Collection" | undefined;
40839
40843
  }, {
40840
40844
  type: "Text" | "Number" | "Boolean" | "Select" | "Generic" | "Link" | "URL";
40841
40845
  id: string;
@@ -40847,6 +40851,7 @@ declare const DTOElementPropertyDefinition: z.ZodObject<{
40847
40851
  designSystemVersionId: string;
40848
40852
  targetElementType: "Token" | "Component" | "DocumentationPage";
40849
40853
  codeName: string;
40854
+ isImmutable: boolean;
40850
40855
  options?: {
40851
40856
  id: string;
40852
40857
  name: string;
@@ -40855,6 +40860,7 @@ declare const DTOElementPropertyDefinition: z.ZodObject<{
40855
40860
  } | undefined;
40856
40861
  }[] | null | undefined;
40857
40862
  linkElementType?: "DocumentationPage" | "FigmaComponent" | null | undefined;
40863
+ immutablePropertyType?: "Collection" | undefined;
40858
40864
  }>;
40859
40865
  type DTOElementPropertyDefinition = z.infer<typeof DTOElementPropertyDefinition>;
40860
40866
  declare const DTOElementPropertyDefinitionListResponse: z.ZodObject<{
@@ -40901,6 +40907,8 @@ declare const DTOElementPropertyDefinitionListResponse: z.ZodObject<{
40901
40907
  } | undefined;
40902
40908
  }[] | null | undefined>;
40903
40909
  linkElementType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<"DocumentationPage" | "FigmaComponent", z.ZodTypeDef, "DocumentationPage" | "FigmaComponent">>>, NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined, "DocumentationPage" | "FigmaComponent" | null | undefined>;
40910
+ isImmutable: z.ZodBoolean;
40911
+ immutablePropertyType: z.ZodOptional<z.ZodEnum<["Collection"]>>;
40904
40912
  }, "strip", z.ZodTypeAny, {
40905
40913
  type: "Text" | "Number" | "Boolean" | "Select" | "Generic" | "Link" | "URL";
40906
40914
  id: string;
@@ -40912,6 +40920,7 @@ declare const DTOElementPropertyDefinitionListResponse: z.ZodObject<{
40912
40920
  designSystemVersionId: string;
40913
40921
  targetElementType: "Token" | "Component" | "DocumentationPage";
40914
40922
  codeName: string;
40923
+ isImmutable: boolean;
40915
40924
  options?: {
40916
40925
  id: string;
40917
40926
  name: string;
@@ -40920,6 +40929,7 @@ declare const DTOElementPropertyDefinitionListResponse: z.ZodObject<{
40920
40929
  } | undefined;
40921
40930
  }[] | undefined;
40922
40931
  linkElementType?: NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined;
40932
+ immutablePropertyType?: "Collection" | undefined;
40923
40933
  }, {
40924
40934
  type: "Text" | "Number" | "Boolean" | "Select" | "Generic" | "Link" | "URL";
40925
40935
  id: string;
@@ -40931,6 +40941,7 @@ declare const DTOElementPropertyDefinitionListResponse: z.ZodObject<{
40931
40941
  designSystemVersionId: string;
40932
40942
  targetElementType: "Token" | "Component" | "DocumentationPage";
40933
40943
  codeName: string;
40944
+ isImmutable: boolean;
40934
40945
  options?: {
40935
40946
  id: string;
40936
40947
  name: string;
@@ -40939,6 +40950,7 @@ declare const DTOElementPropertyDefinitionListResponse: z.ZodObject<{
40939
40950
  } | undefined;
40940
40951
  }[] | null | undefined;
40941
40952
  linkElementType?: "DocumentationPage" | "FigmaComponent" | null | undefined;
40953
+ immutablePropertyType?: "Collection" | undefined;
40942
40954
  }>, "many">;
40943
40955
  }, "strip", z.ZodTypeAny, {
40944
40956
  definitions: {
@@ -40952,6 +40964,7 @@ declare const DTOElementPropertyDefinitionListResponse: z.ZodObject<{
40952
40964
  designSystemVersionId: string;
40953
40965
  targetElementType: "Token" | "Component" | "DocumentationPage";
40954
40966
  codeName: string;
40967
+ isImmutable: boolean;
40955
40968
  options?: {
40956
40969
  id: string;
40957
40970
  name: string;
@@ -40960,6 +40973,7 @@ declare const DTOElementPropertyDefinitionListResponse: z.ZodObject<{
40960
40973
  } | undefined;
40961
40974
  }[] | undefined;
40962
40975
  linkElementType?: NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined;
40976
+ immutablePropertyType?: "Collection" | undefined;
40963
40977
  }[];
40964
40978
  }, {
40965
40979
  definitions: {
@@ -40973,6 +40987,7 @@ declare const DTOElementPropertyDefinitionListResponse: z.ZodObject<{
40973
40987
  designSystemVersionId: string;
40974
40988
  targetElementType: "Token" | "Component" | "DocumentationPage";
40975
40989
  codeName: string;
40990
+ isImmutable: boolean;
40976
40991
  options?: {
40977
40992
  id: string;
40978
40993
  name: string;
@@ -40981,6 +40996,7 @@ declare const DTOElementPropertyDefinitionListResponse: z.ZodObject<{
40981
40996
  } | undefined;
40982
40997
  }[] | null | undefined;
40983
40998
  linkElementType?: "DocumentationPage" | "FigmaComponent" | null | undefined;
40999
+ immutablePropertyType?: "Collection" | undefined;
40984
41000
  }[];
40985
41001
  }>;
40986
41002
  type DTOElementPropertyDefinitionListResponse = z.infer<typeof DTOElementPropertyDefinitionListResponse>;
@@ -41028,6 +41044,8 @@ declare const DTOElementPropertyDefinitionResponse: z.ZodObject<{
41028
41044
  } | undefined;
41029
41045
  }[] | null | undefined>;
41030
41046
  linkElementType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<"DocumentationPage" | "FigmaComponent", z.ZodTypeDef, "DocumentationPage" | "FigmaComponent">>>, NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined, "DocumentationPage" | "FigmaComponent" | null | undefined>;
41047
+ isImmutable: z.ZodBoolean;
41048
+ immutablePropertyType: z.ZodOptional<z.ZodEnum<["Collection"]>>;
41031
41049
  }, "strip", z.ZodTypeAny, {
41032
41050
  type: "Text" | "Number" | "Boolean" | "Select" | "Generic" | "Link" | "URL";
41033
41051
  id: string;
@@ -41039,6 +41057,7 @@ declare const DTOElementPropertyDefinitionResponse: z.ZodObject<{
41039
41057
  designSystemVersionId: string;
41040
41058
  targetElementType: "Token" | "Component" | "DocumentationPage";
41041
41059
  codeName: string;
41060
+ isImmutable: boolean;
41042
41061
  options?: {
41043
41062
  id: string;
41044
41063
  name: string;
@@ -41047,6 +41066,7 @@ declare const DTOElementPropertyDefinitionResponse: z.ZodObject<{
41047
41066
  } | undefined;
41048
41067
  }[] | undefined;
41049
41068
  linkElementType?: NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined;
41069
+ immutablePropertyType?: "Collection" | undefined;
41050
41070
  }, {
41051
41071
  type: "Text" | "Number" | "Boolean" | "Select" | "Generic" | "Link" | "URL";
41052
41072
  id: string;
@@ -41058,6 +41078,7 @@ declare const DTOElementPropertyDefinitionResponse: z.ZodObject<{
41058
41078
  designSystemVersionId: string;
41059
41079
  targetElementType: "Token" | "Component" | "DocumentationPage";
41060
41080
  codeName: string;
41081
+ isImmutable: boolean;
41061
41082
  options?: {
41062
41083
  id: string;
41063
41084
  name: string;
@@ -41066,6 +41087,7 @@ declare const DTOElementPropertyDefinitionResponse: z.ZodObject<{
41066
41087
  } | undefined;
41067
41088
  }[] | null | undefined;
41068
41089
  linkElementType?: "DocumentationPage" | "FigmaComponent" | null | undefined;
41090
+ immutablePropertyType?: "Collection" | undefined;
41069
41091
  }>;
41070
41092
  }, "strip", z.ZodTypeAny, {
41071
41093
  definition: {
@@ -41079,6 +41101,7 @@ declare const DTOElementPropertyDefinitionResponse: z.ZodObject<{
41079
41101
  designSystemVersionId: string;
41080
41102
  targetElementType: "Token" | "Component" | "DocumentationPage";
41081
41103
  codeName: string;
41104
+ isImmutable: boolean;
41082
41105
  options?: {
41083
41106
  id: string;
41084
41107
  name: string;
@@ -41087,6 +41110,7 @@ declare const DTOElementPropertyDefinitionResponse: z.ZodObject<{
41087
41110
  } | undefined;
41088
41111
  }[] | undefined;
41089
41112
  linkElementType?: NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined;
41113
+ immutablePropertyType?: "Collection" | undefined;
41090
41114
  };
41091
41115
  }, {
41092
41116
  definition: {
@@ -41100,6 +41124,7 @@ declare const DTOElementPropertyDefinitionResponse: z.ZodObject<{
41100
41124
  designSystemVersionId: string;
41101
41125
  targetElementType: "Token" | "Component" | "DocumentationPage";
41102
41126
  codeName: string;
41127
+ isImmutable: boolean;
41103
41128
  options?: {
41104
41129
  id: string;
41105
41130
  name: string;
@@ -41108,6 +41133,7 @@ declare const DTOElementPropertyDefinitionResponse: z.ZodObject<{
41108
41133
  } | undefined;
41109
41134
  }[] | null | undefined;
41110
41135
  linkElementType?: "DocumentationPage" | "FigmaComponent" | null | undefined;
41136
+ immutablePropertyType?: "Collection" | undefined;
41111
41137
  };
41112
41138
  }>;
41113
41139
  type DTOElementPropertyDefinitionResponse = z.infer<typeof DTOElementPropertyDefinitionResponse>;
@@ -84935,6 +84961,7 @@ declare class ElementPropertyDefinitionsEndpoint {
84935
84961
  designSystemVersionId: string;
84936
84962
  targetElementType: "Token" | "Component" | "DocumentationPage";
84937
84963
  codeName: string;
84964
+ isImmutable: boolean;
84938
84965
  options?: {
84939
84966
  id: string;
84940
84967
  name: string;
@@ -84943,6 +84970,7 @@ declare class ElementPropertyDefinitionsEndpoint {
84943
84970
  } | undefined;
84944
84971
  }[] | undefined;
84945
84972
  linkElementType?: NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined;
84973
+ immutablePropertyType?: "Collection" | undefined;
84946
84974
  }[];
84947
84975
  }>;
84948
84976
  create(designSystemId: string, versionId: string, body: DTOElementPropertyDefinitionCreatePayload): Promise<{
@@ -84957,6 +84985,7 @@ declare class ElementPropertyDefinitionsEndpoint {
84957
84985
  designSystemVersionId: string;
84958
84986
  targetElementType: "Token" | "Component" | "DocumentationPage";
84959
84987
  codeName: string;
84988
+ isImmutable: boolean;
84960
84989
  options?: {
84961
84990
  id: string;
84962
84991
  name: string;
@@ -84965,6 +84994,7 @@ declare class ElementPropertyDefinitionsEndpoint {
84965
84994
  } | undefined;
84966
84995
  }[] | undefined;
84967
84996
  linkElementType?: NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined;
84997
+ immutablePropertyType?: "Collection" | undefined;
84968
84998
  };
84969
84999
  }>;
84970
85000
  update(designSystemId: string, versionId: string, defId: string, body: DTOElementPropertyDefinitionUpdatePayload): Promise<{
@@ -84979,6 +85009,7 @@ declare class ElementPropertyDefinitionsEndpoint {
84979
85009
  designSystemVersionId: string;
84980
85010
  targetElementType: "Token" | "Component" | "DocumentationPage";
84981
85011
  codeName: string;
85012
+ isImmutable: boolean;
84982
85013
  options?: {
84983
85014
  id: string;
84984
85015
  name: string;
@@ -84987,6 +85018,7 @@ declare class ElementPropertyDefinitionsEndpoint {
84987
85018
  } | undefined;
84988
85019
  }[] | undefined;
84989
85020
  linkElementType?: NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined;
85021
+ immutablePropertyType?: "Collection" | undefined;
84990
85022
  };
84991
85023
  }>;
84992
85024
  delete(designSystemId: string, versionId: string, defId: string): Promise<any>;
package/dist/index.js CHANGED
@@ -1481,6 +1481,7 @@ var slugRegex = /^[a-z0-9][a-z0-9-]*[a-z0-9]$/;
1481
1481
  var ElementPropertyTypeSchema = _zod.z.enum(["Text", "Number", "Boolean", "Select", "Generic", "Link", "URL"]);
1482
1482
  var ElementPropertyTargetType = _zod.z.enum(["Token", "Component", "DocumentationPage"]);
1483
1483
  var ElementPropertyLinkType = _zod.z.enum(["FigmaComponent", "DocumentationPage"]);
1484
+ var ElementPropertyImmutableType = _zod.z.enum(["Collection"]);
1484
1485
  var CODE_NAME_REGEX = /^[a-zA-Z_$][a-zA-Z_$0-9]{1,99}$/;
1485
1486
  var ColorTokenInlineData = _zod.z.object({
1486
1487
  value: _zod.z.string()
@@ -6788,7 +6789,9 @@ var DTOElementPropertyDefinition = _zod.z.object({
6788
6789
  targetElementType: ElementPropertyTargetType,
6789
6790
  codeName: _zod.z.string().regex(CODE_NAME_REGEX2),
6790
6791
  options: nullishToOptional(_zod.z.array(DTOElementPropertyDefinitionOption)),
6791
- linkElementType: nullishToOptional(ElementPropertyLinkType)
6792
+ linkElementType: nullishToOptional(ElementPropertyLinkType),
6793
+ isImmutable: _zod.z.boolean(),
6794
+ immutablePropertyType: ElementPropertyImmutableType.optional()
6792
6795
  });
6793
6796
  var DTOElementPropertyDefinitionListResponse = _zod.z.object({
6794
6797
  definitions: _zod.z.array(DTOElementPropertyDefinition)