@supernova-studio/client 1.4.21 → 1.4.23

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.ts CHANGED
@@ -4415,6 +4415,7 @@ declare const DTODataSourceFigma: z.ZodObject<{
4415
4415
  ownerUserName?: string | undefined;
4416
4416
  preferredCredentialId?: string | undefined;
4417
4417
  }>>>;
4418
+ sortOrder: z.ZodOptional<z.ZodNumber>;
4418
4419
  }, "strip", z.ZodTypeAny, {
4419
4420
  type: "Figma";
4420
4421
  id: string;
@@ -4483,6 +4484,7 @@ declare const DTODataSourceFigma: z.ZodObject<{
4483
4484
  ownerUserName?: string | undefined;
4484
4485
  preferredCredentialId?: string | undefined;
4485
4486
  } | null | undefined;
4487
+ sortOrder?: number | undefined;
4486
4488
  }, {
4487
4489
  type: "Figma";
4488
4490
  id: string;
@@ -4551,6 +4553,7 @@ declare const DTODataSourceFigma: z.ZodObject<{
4551
4553
  ownerUserName?: string | undefined;
4552
4554
  preferredCredentialId?: string | undefined;
4553
4555
  } | null | undefined;
4556
+ sortOrder?: number | undefined;
4554
4557
  }>;
4555
4558
  type DTODataSourceFigma = z.infer<typeof DTODataSourceFigma>;
4556
4559
  declare const DTODataSourceTokenStudio: z.ZodObject<{
@@ -4559,6 +4562,7 @@ declare const DTODataSourceTokenStudio: z.ZodObject<{
4559
4562
  fileName: z.ZodString;
4560
4563
  brandId: z.ZodString;
4561
4564
  themeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4565
+ sortOrder: z.ZodOptional<z.ZodNumber>;
4562
4566
  tokenStudio: z.ZodObject<{
4563
4567
  settings: z.ZodObject<{
4564
4568
  dryRun: z.ZodBoolean;
@@ -4679,6 +4683,7 @@ declare const DTODataSourceTokenStudio: z.ZodObject<{
4679
4683
  }[];
4680
4684
  };
4681
4685
  themeId?: string | null | undefined;
4686
+ sortOrder?: number | undefined;
4682
4687
  }, {
4683
4688
  type: "TokenStudio";
4684
4689
  id: string;
@@ -4705,6 +4710,7 @@ declare const DTODataSourceTokenStudio: z.ZodObject<{
4705
4710
  }[];
4706
4711
  };
4707
4712
  themeId?: string | null | undefined;
4713
+ sortOrder?: number | undefined;
4708
4714
  }>;
4709
4715
  type DTODataSourceTokenStudio = z.infer<typeof DTODataSourceTokenStudio>;
4710
4716
  declare const DTODataSourceFigmaVariablesPlugin: z.ZodObject<{
@@ -4712,6 +4718,7 @@ declare const DTODataSourceFigmaVariablesPlugin: z.ZodObject<{
4712
4718
  type: z.ZodLiteral<"FigmaVariablesPlugin">;
4713
4719
  fileName: z.ZodString;
4714
4720
  brandId: z.ZodString;
4721
+ sortOrder: z.ZodOptional<z.ZodNumber>;
4715
4722
  upload: z.ZodObject<{
4716
4723
  remoteId: z.ZodString;
4717
4724
  remoteSourceType: z.ZodEnum<["TokenStudio", "FigmaVariablesPlugin", "Custom"]>;
@@ -4769,6 +4776,7 @@ declare const DTODataSourceFigmaVariablesPlugin: z.ZodObject<{
4769
4776
  lastImportedAt?: Date | undefined;
4770
4777
  lastImportMetadata?: Record<string, any> | undefined;
4771
4778
  };
4779
+ sortOrder?: number | undefined;
4772
4780
  }, {
4773
4781
  type: "FigmaVariablesPlugin";
4774
4782
  id: string;
@@ -4788,6 +4796,7 @@ declare const DTODataSourceFigmaVariablesPlugin: z.ZodObject<{
4788
4796
  lastImportMetadata?: Record<string, any> | undefined;
4789
4797
  isCollectionsMigrationCompleted?: boolean | undefined;
4790
4798
  };
4799
+ sortOrder?: number | undefined;
4791
4800
  }>;
4792
4801
  type DTODataSourceFigmaVariablesPlugin = z.infer<typeof DTODataSourceFigmaVariablesPlugin>;
4793
4802
  declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -5090,6 +5099,7 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5090
5099
  ownerUserName?: string | undefined;
5091
5100
  preferredCredentialId?: string | undefined;
5092
5101
  }>>>;
5102
+ sortOrder: z.ZodOptional<z.ZodNumber>;
5093
5103
  }, "strip", z.ZodTypeAny, {
5094
5104
  type: "Figma";
5095
5105
  id: string;
@@ -5158,6 +5168,7 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5158
5168
  ownerUserName?: string | undefined;
5159
5169
  preferredCredentialId?: string | undefined;
5160
5170
  } | null | undefined;
5171
+ sortOrder?: number | undefined;
5161
5172
  }, {
5162
5173
  type: "Figma";
5163
5174
  id: string;
@@ -5226,11 +5237,13 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5226
5237
  ownerUserName?: string | undefined;
5227
5238
  preferredCredentialId?: string | undefined;
5228
5239
  } | null | undefined;
5240
+ sortOrder?: number | undefined;
5229
5241
  }>, z.ZodObject<{
5230
5242
  id: z.ZodString;
5231
5243
  type: z.ZodLiteral<"FigmaVariablesPlugin">;
5232
5244
  fileName: z.ZodString;
5233
5245
  brandId: z.ZodString;
5246
+ sortOrder: z.ZodOptional<z.ZodNumber>;
5234
5247
  upload: z.ZodObject<{
5235
5248
  remoteId: z.ZodString;
5236
5249
  remoteSourceType: z.ZodEnum<["TokenStudio", "FigmaVariablesPlugin", "Custom"]>;
@@ -5288,6 +5301,7 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5288
5301
  lastImportedAt?: Date | undefined;
5289
5302
  lastImportMetadata?: Record<string, any> | undefined;
5290
5303
  };
5304
+ sortOrder?: number | undefined;
5291
5305
  }, {
5292
5306
  type: "FigmaVariablesPlugin";
5293
5307
  id: string;
@@ -5307,12 +5321,14 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5307
5321
  lastImportMetadata?: Record<string, any> | undefined;
5308
5322
  isCollectionsMigrationCompleted?: boolean | undefined;
5309
5323
  };
5324
+ sortOrder?: number | undefined;
5310
5325
  }>, z.ZodObject<{
5311
5326
  id: z.ZodString;
5312
5327
  type: z.ZodLiteral<"TokenStudio">;
5313
5328
  fileName: z.ZodString;
5314
5329
  brandId: z.ZodString;
5315
5330
  themeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5331
+ sortOrder: z.ZodOptional<z.ZodNumber>;
5316
5332
  tokenStudio: z.ZodObject<{
5317
5333
  settings: z.ZodObject<{
5318
5334
  dryRun: z.ZodBoolean;
@@ -5433,6 +5449,7 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5433
5449
  }[];
5434
5450
  };
5435
5451
  themeId?: string | null | undefined;
5452
+ sortOrder?: number | undefined;
5436
5453
  }, {
5437
5454
  type: "TokenStudio";
5438
5455
  id: string;
@@ -5459,6 +5476,7 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5459
5476
  }[];
5460
5477
  };
5461
5478
  themeId?: string | null | undefined;
5479
+ sortOrder?: number | undefined;
5462
5480
  }>]>;
5463
5481
  type DTODataSource = z.infer<typeof DTODataSource>;
5464
5482
  declare const DTODataSourceResponse: z.ZodObject<{
@@ -5762,6 +5780,7 @@ declare const DTODataSourceResponse: z.ZodObject<{
5762
5780
  ownerUserName?: string | undefined;
5763
5781
  preferredCredentialId?: string | undefined;
5764
5782
  }>>>;
5783
+ sortOrder: z.ZodOptional<z.ZodNumber>;
5765
5784
  }, "strip", z.ZodTypeAny, {
5766
5785
  type: "Figma";
5767
5786
  id: string;
@@ -5830,6 +5849,7 @@ declare const DTODataSourceResponse: z.ZodObject<{
5830
5849
  ownerUserName?: string | undefined;
5831
5850
  preferredCredentialId?: string | undefined;
5832
5851
  } | null | undefined;
5852
+ sortOrder?: number | undefined;
5833
5853
  }, {
5834
5854
  type: "Figma";
5835
5855
  id: string;
@@ -5898,11 +5918,13 @@ declare const DTODataSourceResponse: z.ZodObject<{
5898
5918
  ownerUserName?: string | undefined;
5899
5919
  preferredCredentialId?: string | undefined;
5900
5920
  } | null | undefined;
5921
+ sortOrder?: number | undefined;
5901
5922
  }>, z.ZodObject<{
5902
5923
  id: z.ZodString;
5903
5924
  type: z.ZodLiteral<"FigmaVariablesPlugin">;
5904
5925
  fileName: z.ZodString;
5905
5926
  brandId: z.ZodString;
5927
+ sortOrder: z.ZodOptional<z.ZodNumber>;
5906
5928
  upload: z.ZodObject<{
5907
5929
  remoteId: z.ZodString;
5908
5930
  remoteSourceType: z.ZodEnum<["TokenStudio", "FigmaVariablesPlugin", "Custom"]>;
@@ -5960,6 +5982,7 @@ declare const DTODataSourceResponse: z.ZodObject<{
5960
5982
  lastImportedAt?: Date | undefined;
5961
5983
  lastImportMetadata?: Record<string, any> | undefined;
5962
5984
  };
5985
+ sortOrder?: number | undefined;
5963
5986
  }, {
5964
5987
  type: "FigmaVariablesPlugin";
5965
5988
  id: string;
@@ -5979,12 +6002,14 @@ declare const DTODataSourceResponse: z.ZodObject<{
5979
6002
  lastImportMetadata?: Record<string, any> | undefined;
5980
6003
  isCollectionsMigrationCompleted?: boolean | undefined;
5981
6004
  };
6005
+ sortOrder?: number | undefined;
5982
6006
  }>, z.ZodObject<{
5983
6007
  id: z.ZodString;
5984
6008
  type: z.ZodLiteral<"TokenStudio">;
5985
6009
  fileName: z.ZodString;
5986
6010
  brandId: z.ZodString;
5987
6011
  themeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6012
+ sortOrder: z.ZodOptional<z.ZodNumber>;
5988
6013
  tokenStudio: z.ZodObject<{
5989
6014
  settings: z.ZodObject<{
5990
6015
  dryRun: z.ZodBoolean;
@@ -6105,6 +6130,7 @@ declare const DTODataSourceResponse: z.ZodObject<{
6105
6130
  }[];
6106
6131
  };
6107
6132
  themeId?: string | null | undefined;
6133
+ sortOrder?: number | undefined;
6108
6134
  }, {
6109
6135
  type: "TokenStudio";
6110
6136
  id: string;
@@ -6131,6 +6157,7 @@ declare const DTODataSourceResponse: z.ZodObject<{
6131
6157
  }[];
6132
6158
  };
6133
6159
  themeId?: string | null | undefined;
6160
+ sortOrder?: number | undefined;
6134
6161
  }>]>;
6135
6162
  }, "strip", z.ZodTypeAny, {
6136
6163
  source: {
@@ -6201,6 +6228,7 @@ declare const DTODataSourceResponse: z.ZodObject<{
6201
6228
  ownerUserName?: string | undefined;
6202
6229
  preferredCredentialId?: string | undefined;
6203
6230
  } | null | undefined;
6231
+ sortOrder?: number | undefined;
6204
6232
  } | {
6205
6233
  type: "TokenStudio";
6206
6234
  id: string;
@@ -6227,6 +6255,7 @@ declare const DTODataSourceResponse: z.ZodObject<{
6227
6255
  }[];
6228
6256
  };
6229
6257
  themeId?: string | null | undefined;
6258
+ sortOrder?: number | undefined;
6230
6259
  } | {
6231
6260
  type: "FigmaVariablesPlugin";
6232
6261
  id: string;
@@ -6246,6 +6275,7 @@ declare const DTODataSourceResponse: z.ZodObject<{
6246
6275
  lastImportedAt?: Date | undefined;
6247
6276
  lastImportMetadata?: Record<string, any> | undefined;
6248
6277
  };
6278
+ sortOrder?: number | undefined;
6249
6279
  };
6250
6280
  }, {
6251
6281
  source: {
@@ -6316,6 +6346,7 @@ declare const DTODataSourceResponse: z.ZodObject<{
6316
6346
  ownerUserName?: string | undefined;
6317
6347
  preferredCredentialId?: string | undefined;
6318
6348
  } | null | undefined;
6349
+ sortOrder?: number | undefined;
6319
6350
  } | {
6320
6351
  type: "TokenStudio";
6321
6352
  id: string;
@@ -6342,6 +6373,7 @@ declare const DTODataSourceResponse: z.ZodObject<{
6342
6373
  }[];
6343
6374
  };
6344
6375
  themeId?: string | null | undefined;
6376
+ sortOrder?: number | undefined;
6345
6377
  } | {
6346
6378
  type: "FigmaVariablesPlugin";
6347
6379
  id: string;
@@ -6361,6 +6393,7 @@ declare const DTODataSourceResponse: z.ZodObject<{
6361
6393
  lastImportMetadata?: Record<string, any> | undefined;
6362
6394
  isCollectionsMigrationCompleted?: boolean | undefined;
6363
6395
  };
6396
+ sortOrder?: number | undefined;
6364
6397
  };
6365
6398
  }>;
6366
6399
  type DTODataSourceResponse = z.infer<typeof DTODataSourceResponse>;
@@ -6665,6 +6698,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
6665
6698
  ownerUserName?: string | undefined;
6666
6699
  preferredCredentialId?: string | undefined;
6667
6700
  }>>>;
6701
+ sortOrder: z.ZodOptional<z.ZodNumber>;
6668
6702
  }, "strip", z.ZodTypeAny, {
6669
6703
  type: "Figma";
6670
6704
  id: string;
@@ -6733,6 +6767,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
6733
6767
  ownerUserName?: string | undefined;
6734
6768
  preferredCredentialId?: string | undefined;
6735
6769
  } | null | undefined;
6770
+ sortOrder?: number | undefined;
6736
6771
  }, {
6737
6772
  type: "Figma";
6738
6773
  id: string;
@@ -6801,11 +6836,13 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
6801
6836
  ownerUserName?: string | undefined;
6802
6837
  preferredCredentialId?: string | undefined;
6803
6838
  } | null | undefined;
6839
+ sortOrder?: number | undefined;
6804
6840
  }>, z.ZodObject<{
6805
6841
  id: z.ZodString;
6806
6842
  type: z.ZodLiteral<"FigmaVariablesPlugin">;
6807
6843
  fileName: z.ZodString;
6808
6844
  brandId: z.ZodString;
6845
+ sortOrder: z.ZodOptional<z.ZodNumber>;
6809
6846
  upload: z.ZodObject<{
6810
6847
  remoteId: z.ZodString;
6811
6848
  remoteSourceType: z.ZodEnum<["TokenStudio", "FigmaVariablesPlugin", "Custom"]>;
@@ -6863,6 +6900,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
6863
6900
  lastImportedAt?: Date | undefined;
6864
6901
  lastImportMetadata?: Record<string, any> | undefined;
6865
6902
  };
6903
+ sortOrder?: number | undefined;
6866
6904
  }, {
6867
6905
  type: "FigmaVariablesPlugin";
6868
6906
  id: string;
@@ -6882,12 +6920,14 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
6882
6920
  lastImportMetadata?: Record<string, any> | undefined;
6883
6921
  isCollectionsMigrationCompleted?: boolean | undefined;
6884
6922
  };
6923
+ sortOrder?: number | undefined;
6885
6924
  }>, z.ZodObject<{
6886
6925
  id: z.ZodString;
6887
6926
  type: z.ZodLiteral<"TokenStudio">;
6888
6927
  fileName: z.ZodString;
6889
6928
  brandId: z.ZodString;
6890
6929
  themeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6930
+ sortOrder: z.ZodOptional<z.ZodNumber>;
6891
6931
  tokenStudio: z.ZodObject<{
6892
6932
  settings: z.ZodObject<{
6893
6933
  dryRun: z.ZodBoolean;
@@ -7008,6 +7048,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
7008
7048
  }[];
7009
7049
  };
7010
7050
  themeId?: string | null | undefined;
7051
+ sortOrder?: number | undefined;
7011
7052
  }, {
7012
7053
  type: "TokenStudio";
7013
7054
  id: string;
@@ -7034,6 +7075,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
7034
7075
  }[];
7035
7076
  };
7036
7077
  themeId?: string | null | undefined;
7078
+ sortOrder?: number | undefined;
7037
7079
  }>]>, "many">;
7038
7080
  }, "strip", z.ZodTypeAny, {
7039
7081
  sources: ({
@@ -7104,6 +7146,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
7104
7146
  ownerUserName?: string | undefined;
7105
7147
  preferredCredentialId?: string | undefined;
7106
7148
  } | null | undefined;
7149
+ sortOrder?: number | undefined;
7107
7150
  } | {
7108
7151
  type: "TokenStudio";
7109
7152
  id: string;
@@ -7130,6 +7173,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
7130
7173
  }[];
7131
7174
  };
7132
7175
  themeId?: string | null | undefined;
7176
+ sortOrder?: number | undefined;
7133
7177
  } | {
7134
7178
  type: "FigmaVariablesPlugin";
7135
7179
  id: string;
@@ -7149,6 +7193,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
7149
7193
  lastImportedAt?: Date | undefined;
7150
7194
  lastImportMetadata?: Record<string, any> | undefined;
7151
7195
  };
7196
+ sortOrder?: number | undefined;
7152
7197
  })[];
7153
7198
  }, {
7154
7199
  sources: ({
@@ -7219,6 +7264,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
7219
7264
  ownerUserName?: string | undefined;
7220
7265
  preferredCredentialId?: string | undefined;
7221
7266
  } | null | undefined;
7267
+ sortOrder?: number | undefined;
7222
7268
  } | {
7223
7269
  type: "TokenStudio";
7224
7270
  id: string;
@@ -7245,6 +7291,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
7245
7291
  }[];
7246
7292
  };
7247
7293
  themeId?: string | null | undefined;
7294
+ sortOrder?: number | undefined;
7248
7295
  } | {
7249
7296
  type: "FigmaVariablesPlugin";
7250
7297
  id: string;
@@ -7264,6 +7311,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
7264
7311
  lastImportMetadata?: Record<string, any> | undefined;
7265
7312
  isCollectionsMigrationCompleted?: boolean | undefined;
7266
7313
  };
7314
+ sortOrder?: number | undefined;
7267
7315
  })[];
7268
7316
  }>;
7269
7317
  type DTODataSourcesListResponse = z.infer<typeof DTODataSourcesListResponse>;
@@ -27604,7 +27652,7 @@ declare const DTODocumentationGroupStructureV1: z.ZodObject<z.objectUtil.extendS
27604
27652
  } | null | undefined;
27605
27653
  behavior?: "Tabs" | "Group" | null | undefined;
27606
27654
  }>>;
27607
- }>, "meta" | "brandPersistentId" | "sortOrder" | "shortPersistentId" | "parentPersistentId" | "childType" | "data">, {
27655
+ }>, "meta" | "sortOrder" | "brandPersistentId" | "shortPersistentId" | "parentPersistentId" | "childType" | "data">, {
27608
27656
  title: z.ZodString;
27609
27657
  isRoot: z.ZodBoolean;
27610
27658
  childrenIds: z.ZodArray<z.ZodString, "many">;
@@ -27864,7 +27912,7 @@ declare const DTODocumentationGroupV1: z.ZodObject<z.objectUtil.extendShape<z.ob
27864
27912
  } | null | undefined;
27865
27913
  behavior?: "Tabs" | "Group" | null | undefined;
27866
27914
  }>>;
27867
- }>, "meta" | "brandPersistentId" | "sortOrder" | "shortPersistentId" | "parentPersistentId" | "childType" | "data">, {
27915
+ }>, "meta" | "sortOrder" | "brandPersistentId" | "shortPersistentId" | "parentPersistentId" | "childType" | "data">, {
27868
27916
  title: z.ZodString;
27869
27917
  isRoot: z.ZodBoolean;
27870
27918
  childrenIds: z.ZodArray<z.ZodString, "many">;
@@ -28718,7 +28766,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<z.objectUtil.extendShape<Omit
28718
28766
  } | null | undefined;
28719
28767
  behavior?: "Tabs" | "Group" | null | undefined;
28720
28768
  }>>;
28721
- }>, "meta" | "brandPersistentId" | "sortOrder" | "shortPersistentId" | "parentPersistentId" | "childType" | "data">, {
28769
+ }>, "meta" | "sortOrder" | "brandPersistentId" | "shortPersistentId" | "parentPersistentId" | "childType" | "data">, {
28722
28770
  title: z.ZodString;
28723
28771
  isRoot: z.ZodBoolean;
28724
28772
  childrenIds: z.ZodArray<z.ZodString, "many">;
@@ -31497,7 +31545,7 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
31497
31545
  } | null | undefined;
31498
31546
  behavior?: "Tabs" | "Group" | null | undefined;
31499
31547
  }>>;
31500
- }>, "meta" | "brandPersistentId" | "sortOrder" | "shortPersistentId" | "parentPersistentId" | "childType" | "data">, {
31548
+ }>, "meta" | "sortOrder" | "brandPersistentId" | "shortPersistentId" | "parentPersistentId" | "childType" | "data">, {
31501
31549
  title: z.ZodString;
31502
31550
  isRoot: z.ZodBoolean;
31503
31551
  childrenIds: z.ZodArray<z.ZodString, "many">;
@@ -101861,6 +101909,7 @@ declare class DesignSystemSourcesEndpoint {
101861
101909
  ownerUserName?: string | undefined;
101862
101910
  preferredCredentialId?: string | undefined;
101863
101911
  } | null | undefined;
101912
+ sortOrder?: number | undefined;
101864
101913
  } | {
101865
101914
  type: "TokenStudio";
101866
101915
  id: string;
@@ -101887,6 +101936,7 @@ declare class DesignSystemSourcesEndpoint {
101887
101936
  }[];
101888
101937
  };
101889
101938
  themeId?: string | null | undefined;
101939
+ sortOrder?: number | undefined;
101890
101940
  } | {
101891
101941
  type: "FigmaVariablesPlugin";
101892
101942
  id: string;
@@ -101906,6 +101956,7 @@ declare class DesignSystemSourcesEndpoint {
101906
101956
  lastImportedAt?: Date | undefined;
101907
101957
  lastImportMetadata?: Record<string, any> | undefined;
101908
101958
  };
101959
+ sortOrder?: number | undefined;
101909
101960
  };
101910
101961
  }>;
101911
101962
  list(dsId: string): Promise<{
@@ -101977,6 +102028,7 @@ declare class DesignSystemSourcesEndpoint {
101977
102028
  ownerUserName?: string | undefined;
101978
102029
  preferredCredentialId?: string | undefined;
101979
102030
  } | null | undefined;
102031
+ sortOrder?: number | undefined;
101980
102032
  } | {
101981
102033
  type: "TokenStudio";
101982
102034
  id: string;
@@ -102003,6 +102055,7 @@ declare class DesignSystemSourcesEndpoint {
102003
102055
  }[];
102004
102056
  };
102005
102057
  themeId?: string | null | undefined;
102058
+ sortOrder?: number | undefined;
102006
102059
  } | {
102007
102060
  type: "FigmaVariablesPlugin";
102008
102061
  id: string;
@@ -102022,6 +102075,7 @@ declare class DesignSystemSourcesEndpoint {
102022
102075
  lastImportedAt?: Date | undefined;
102023
102076
  lastImportMetadata?: Record<string, any> | undefined;
102024
102077
  };
102078
+ sortOrder?: number | undefined;
102025
102079
  })[];
102026
102080
  }>;
102027
102081
  delete(dsId: string, sourceId: string): Promise<any>;
package/dist/index.js CHANGED
@@ -3357,7 +3357,7 @@ function zeroNumberByDefault2() {
3357
3357
  var FigmaFile = _zod.z.object({
3358
3358
  id: _zod.z.string(),
3359
3359
  name: _zod.z.string(),
3360
- lastModifiedAt: _zod.z.date(),
3360
+ lastModifiedAt: _zod.z.coerce.date(),
3361
3361
  thumbnailUrl: _zod.z.string().optional()
3362
3362
  });
3363
3363
  var ImportJobState = _zod.z.enum(["PendingInput", "Queued", "InProgress", "Failed", "Success"]);
@@ -5675,7 +5675,8 @@ var DTODataSourceFigma = _zod.z.object({
5675
5675
  scope: DTODataSourceFigmaScope,
5676
5676
  brandId: _zod.z.string(),
5677
5677
  themeId: _zod.z.string().nullish(),
5678
- cloud: DTODataSourceFigmaCloud.nullish()
5678
+ cloud: DTODataSourceFigmaCloud.nullish(),
5679
+ sortOrder: _zod.z.number().optional()
5679
5680
  });
5680
5681
  var DTODataSourceTokenStudio = _zod.z.object({
5681
5682
  id: _zod.z.string(),
@@ -5683,6 +5684,7 @@ var DTODataSourceTokenStudio = _zod.z.object({
5683
5684
  fileName: _zod.z.string(),
5684
5685
  brandId: _zod.z.string(),
5685
5686
  themeId: _zod.z.string().nullish(),
5687
+ sortOrder: _zod.z.number().optional(),
5686
5688
  tokenStudio: _zod.z.object({
5687
5689
  settings: _zod.z.object({
5688
5690
  dryRun: _zod.z.boolean(),
@@ -5711,6 +5713,7 @@ var DTODataSourceFigmaVariablesPlugin = _zod.z.object({
5711
5713
  type: _zod.z.literal(DataSourceRemoteType.Enum.FigmaVariablesPlugin),
5712
5714
  fileName: _zod.z.string(),
5713
5715
  brandId: _zod.z.string(),
5716
+ sortOrder: _zod.z.number().optional(),
5714
5717
  upload: _zod.z.object({
5715
5718
  remoteId: _zod.z.string(),
5716
5719
  remoteSourceType: DataSourceUploadRemoteSource,