@supernova-studio/client 0.57.14 → 0.57.16

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
@@ -12474,6 +12474,7 @@ declare const DTODesignToken: z.ZodIntersection<z.ZodDiscriminatedUnion<"type",
12474
12474
  referenceResolutionFailed?: boolean | undefined;
12475
12475
  }>>;
12476
12476
  brandId: z.ZodString;
12477
+ collectionId: z.ZodOptional<z.ZodString>;
12477
12478
  updatedAt: z.ZodDate;
12478
12479
  }, "strip", z.ZodTypeAny, {
12479
12480
  id: string;
@@ -12497,6 +12498,7 @@ declare const DTODesignToken: z.ZodIntersection<z.ZodDiscriminatedUnion<"type",
12497
12498
  referencePersistentId?: string | undefined;
12498
12499
  referenceResolutionFailed?: boolean | undefined;
12499
12500
  } | undefined;
12501
+ collectionId?: string | undefined;
12500
12502
  }, {
12501
12503
  id: string;
12502
12504
  persistentId: string;
@@ -12519,6 +12521,7 @@ declare const DTODesignToken: z.ZodIntersection<z.ZodDiscriminatedUnion<"type",
12519
12521
  referencePersistentId?: string | undefined;
12520
12522
  referenceResolutionFailed?: boolean | undefined;
12521
12523
  } | undefined;
12524
+ collectionId?: string | undefined;
12522
12525
  }>>;
12523
12526
  type DTODesignToken = z.infer<typeof DTODesignToken>;
12524
12527
  declare const DTODesignTokenResponse: z.ZodObject<{
@@ -14790,6 +14793,7 @@ declare const DTODesignTokenResponse: z.ZodObject<{
14790
14793
  referenceResolutionFailed?: boolean | undefined;
14791
14794
  }>>;
14792
14795
  brandId: z.ZodString;
14796
+ collectionId: z.ZodOptional<z.ZodString>;
14793
14797
  updatedAt: z.ZodDate;
14794
14798
  }, "strip", z.ZodTypeAny, {
14795
14799
  id: string;
@@ -14813,6 +14817,7 @@ declare const DTODesignTokenResponse: z.ZodObject<{
14813
14817
  referencePersistentId?: string | undefined;
14814
14818
  referenceResolutionFailed?: boolean | undefined;
14815
14819
  } | undefined;
14820
+ collectionId?: string | undefined;
14816
14821
  }, {
14817
14822
  id: string;
14818
14823
  persistentId: string;
@@ -14835,6 +14840,7 @@ declare const DTODesignTokenResponse: z.ZodObject<{
14835
14840
  referencePersistentId?: string | undefined;
14836
14841
  referenceResolutionFailed?: boolean | undefined;
14837
14842
  } | undefined;
14843
+ collectionId?: string | undefined;
14838
14844
  }>>;
14839
14845
  }, "strip", z.ZodTypeAny, {
14840
14846
  token: ({
@@ -15211,6 +15217,7 @@ declare const DTODesignTokenResponse: z.ZodObject<{
15211
15217
  referencePersistentId?: string | undefined;
15212
15218
  referenceResolutionFailed?: boolean | undefined;
15213
15219
  } | undefined;
15220
+ collectionId?: string | undefined;
15214
15221
  };
15215
15222
  }, {
15216
15223
  token: ({
@@ -15587,6 +15594,7 @@ declare const DTODesignTokenResponse: z.ZodObject<{
15587
15594
  referencePersistentId?: string | undefined;
15588
15595
  referenceResolutionFailed?: boolean | undefined;
15589
15596
  } | undefined;
15597
+ collectionId?: string | undefined;
15590
15598
  };
15591
15599
  }>;
15592
15600
  type DTODesignTokenResponse = z.infer<typeof DTODesignTokenResponse>;
@@ -17859,6 +17867,7 @@ declare const DTODesignTokenListResponse: z.ZodObject<{
17859
17867
  referenceResolutionFailed?: boolean | undefined;
17860
17868
  }>>;
17861
17869
  brandId: z.ZodString;
17870
+ collectionId: z.ZodOptional<z.ZodString>;
17862
17871
  updatedAt: z.ZodDate;
17863
17872
  }, "strip", z.ZodTypeAny, {
17864
17873
  id: string;
@@ -17882,6 +17891,7 @@ declare const DTODesignTokenListResponse: z.ZodObject<{
17882
17891
  referencePersistentId?: string | undefined;
17883
17892
  referenceResolutionFailed?: boolean | undefined;
17884
17893
  } | undefined;
17894
+ collectionId?: string | undefined;
17885
17895
  }, {
17886
17896
  id: string;
17887
17897
  persistentId: string;
@@ -17904,6 +17914,7 @@ declare const DTODesignTokenListResponse: z.ZodObject<{
17904
17914
  referencePersistentId?: string | undefined;
17905
17915
  referenceResolutionFailed?: boolean | undefined;
17906
17916
  } | undefined;
17917
+ collectionId?: string | undefined;
17907
17918
  }>>, "many">;
17908
17919
  }, "strip", z.ZodTypeAny, {
17909
17920
  tokens: (({
@@ -18280,6 +18291,7 @@ declare const DTODesignTokenListResponse: z.ZodObject<{
18280
18291
  referencePersistentId?: string | undefined;
18281
18292
  referenceResolutionFailed?: boolean | undefined;
18282
18293
  } | undefined;
18294
+ collectionId?: string | undefined;
18283
18295
  })[];
18284
18296
  }, {
18285
18297
  tokens: (({
@@ -18656,6 +18668,7 @@ declare const DTODesignTokenListResponse: z.ZodObject<{
18656
18668
  referencePersistentId?: string | undefined;
18657
18669
  referenceResolutionFailed?: boolean | undefined;
18658
18670
  } | undefined;
18671
+ collectionId?: string | undefined;
18659
18672
  })[];
18660
18673
  }>;
18661
18674
  type DTODesignTokenListResponse = z.infer<typeof DTODesignTokenListResponse>;
@@ -72210,17 +72223,17 @@ declare const DTOIntegration: z.ZodObject<{
72210
72223
  type?: string | undefined;
72211
72224
  email?: string | undefined;
72212
72225
  organization?: string | undefined;
72213
- collection?: string | undefined;
72214
72226
  handle?: string | undefined;
72215
72227
  avatarUrl?: string | undefined;
72228
+ collection?: string | undefined;
72216
72229
  }, {
72217
72230
  id?: string | null | undefined;
72218
72231
  type?: string | null | undefined;
72219
72232
  email?: string | null | undefined;
72220
72233
  organization?: string | null | undefined;
72221
- collection?: string | null | undefined;
72222
72234
  handle?: string | null | undefined;
72223
72235
  avatarUrl?: string | null | undefined;
72236
+ collection?: string | null | undefined;
72224
72237
  }>>;
72225
72238
  customUrl: z.ZodOptional<z.ZodString>;
72226
72239
  state: z.ZodEnum<["Active", "Inactive"]>;
@@ -72253,9 +72266,9 @@ declare const DTOIntegration: z.ZodObject<{
72253
72266
  type?: string | undefined;
72254
72267
  email?: string | undefined;
72255
72268
  organization?: string | undefined;
72256
- collection?: string | undefined;
72257
72269
  handle?: string | undefined;
72258
72270
  avatarUrl?: string | undefined;
72271
+ collection?: string | undefined;
72259
72272
  } | undefined;
72260
72273
  user?: {
72261
72274
  id: string;
@@ -72281,9 +72294,9 @@ declare const DTOIntegration: z.ZodObject<{
72281
72294
  type?: string | null | undefined;
72282
72295
  email?: string | null | undefined;
72283
72296
  organization?: string | null | undefined;
72284
- collection?: string | null | undefined;
72285
72297
  handle?: string | null | undefined;
72286
72298
  avatarUrl?: string | null | undefined;
72299
+ collection?: string | null | undefined;
72287
72300
  } | undefined;
72288
72301
  user?: {
72289
72302
  id: string;
@@ -72334,9 +72347,9 @@ declare const DTOIntegration: z.ZodObject<{
72334
72347
  type?: string | undefined;
72335
72348
  email?: string | undefined;
72336
72349
  organization?: string | undefined;
72337
- collection?: string | undefined;
72338
72350
  handle?: string | undefined;
72339
72351
  avatarUrl?: string | undefined;
72352
+ collection?: string | undefined;
72340
72353
  } | undefined;
72341
72354
  user?: {
72342
72355
  id: string;
@@ -72375,9 +72388,9 @@ declare const DTOIntegration: z.ZodObject<{
72375
72388
  type?: string | null | undefined;
72376
72389
  email?: string | null | undefined;
72377
72390
  organization?: string | null | undefined;
72378
- collection?: string | null | undefined;
72379
72391
  handle?: string | null | undefined;
72380
72392
  avatarUrl?: string | null | undefined;
72393
+ collection?: string | null | undefined;
72381
72394
  } | undefined;
72382
72395
  user?: {
72383
72396
  id: string;
@@ -72426,17 +72439,17 @@ declare const DTOIntegrationCredentials: z.ZodObject<Omit<{
72426
72439
  type?: string | undefined;
72427
72440
  email?: string | undefined;
72428
72441
  organization?: string | undefined;
72429
- collection?: string | undefined;
72430
72442
  handle?: string | undefined;
72431
72443
  avatarUrl?: string | undefined;
72444
+ collection?: string | undefined;
72432
72445
  }, {
72433
72446
  id?: string | null | undefined;
72434
72447
  type?: string | null | undefined;
72435
72448
  email?: string | null | undefined;
72436
72449
  organization?: string | null | undefined;
72437
- collection?: string | null | undefined;
72438
72450
  handle?: string | null | undefined;
72439
72451
  avatarUrl?: string | null | undefined;
72452
+ collection?: string | null | undefined;
72440
72453
  }>>;
72441
72454
  customUrl: z.ZodOptional<z.ZodString>;
72442
72455
  state: z.ZodEnum<["Active", "Inactive"]>;
@@ -72469,9 +72482,9 @@ declare const DTOIntegrationCredentials: z.ZodObject<Omit<{
72469
72482
  type?: string | undefined;
72470
72483
  email?: string | undefined;
72471
72484
  organization?: string | undefined;
72472
- collection?: string | undefined;
72473
72485
  handle?: string | undefined;
72474
72486
  avatarUrl?: string | undefined;
72487
+ collection?: string | undefined;
72475
72488
  } | undefined;
72476
72489
  user?: {
72477
72490
  id: string;
@@ -72497,9 +72510,9 @@ declare const DTOIntegrationCredentials: z.ZodObject<Omit<{
72497
72510
  type?: string | null | undefined;
72498
72511
  email?: string | null | undefined;
72499
72512
  organization?: string | null | undefined;
72500
- collection?: string | null | undefined;
72501
72513
  handle?: string | null | undefined;
72502
72514
  avatarUrl?: string | null | undefined;
72515
+ collection?: string | null | undefined;
72503
72516
  } | undefined;
72504
72517
  user?: {
72505
72518
  id: string;
@@ -72554,17 +72567,17 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
72554
72567
  type?: string | undefined;
72555
72568
  email?: string | undefined;
72556
72569
  organization?: string | undefined;
72557
- collection?: string | undefined;
72558
72570
  handle?: string | undefined;
72559
72571
  avatarUrl?: string | undefined;
72572
+ collection?: string | undefined;
72560
72573
  }, {
72561
72574
  id?: string | null | undefined;
72562
72575
  type?: string | null | undefined;
72563
72576
  email?: string | null | undefined;
72564
72577
  organization?: string | null | undefined;
72565
- collection?: string | null | undefined;
72566
72578
  handle?: string | null | undefined;
72567
72579
  avatarUrl?: string | null | undefined;
72580
+ collection?: string | null | undefined;
72568
72581
  }>>;
72569
72582
  customUrl: z.ZodOptional<z.ZodString>;
72570
72583
  state: z.ZodEnum<["Active", "Inactive"]>;
@@ -72597,9 +72610,9 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
72597
72610
  type?: string | undefined;
72598
72611
  email?: string | undefined;
72599
72612
  organization?: string | undefined;
72600
- collection?: string | undefined;
72601
72613
  handle?: string | undefined;
72602
72614
  avatarUrl?: string | undefined;
72615
+ collection?: string | undefined;
72603
72616
  } | undefined;
72604
72617
  user?: {
72605
72618
  id: string;
@@ -72625,9 +72638,9 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
72625
72638
  type?: string | null | undefined;
72626
72639
  email?: string | null | undefined;
72627
72640
  organization?: string | null | undefined;
72628
- collection?: string | null | undefined;
72629
72641
  handle?: string | null | undefined;
72630
72642
  avatarUrl?: string | null | undefined;
72643
+ collection?: string | null | undefined;
72631
72644
  } | undefined;
72632
72645
  user?: {
72633
72646
  id: string;
@@ -72678,9 +72691,9 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
72678
72691
  type?: string | undefined;
72679
72692
  email?: string | undefined;
72680
72693
  organization?: string | undefined;
72681
- collection?: string | undefined;
72682
72694
  handle?: string | undefined;
72683
72695
  avatarUrl?: string | undefined;
72696
+ collection?: string | undefined;
72684
72697
  } | undefined;
72685
72698
  user?: {
72686
72699
  id: string;
@@ -72719,9 +72732,9 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
72719
72732
  type?: string | null | undefined;
72720
72733
  email?: string | null | undefined;
72721
72734
  organization?: string | null | undefined;
72722
- collection?: string | null | undefined;
72723
72735
  handle?: string | null | undefined;
72724
72736
  avatarUrl?: string | null | undefined;
72737
+ collection?: string | null | undefined;
72725
72738
  } | undefined;
72726
72739
  user?: {
72727
72740
  id: string;
@@ -72762,9 +72775,9 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
72762
72775
  type?: string | undefined;
72763
72776
  email?: string | undefined;
72764
72777
  organization?: string | undefined;
72765
- collection?: string | undefined;
72766
72778
  handle?: string | undefined;
72767
72779
  avatarUrl?: string | undefined;
72780
+ collection?: string | undefined;
72768
72781
  } | undefined;
72769
72782
  user?: {
72770
72783
  id: string;
@@ -72805,9 +72818,9 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
72805
72818
  type?: string | null | undefined;
72806
72819
  email?: string | null | undefined;
72807
72820
  organization?: string | null | undefined;
72808
- collection?: string | null | undefined;
72809
72821
  handle?: string | null | undefined;
72810
72822
  avatarUrl?: string | null | undefined;
72823
+ collection?: string | null | undefined;
72811
72824
  } | undefined;
72812
72825
  user?: {
72813
72826
  id: string;
@@ -72863,17 +72876,17 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
72863
72876
  type?: string | undefined;
72864
72877
  email?: string | undefined;
72865
72878
  organization?: string | undefined;
72866
- collection?: string | undefined;
72867
72879
  handle?: string | undefined;
72868
72880
  avatarUrl?: string | undefined;
72881
+ collection?: string | undefined;
72869
72882
  }, {
72870
72883
  id?: string | null | undefined;
72871
72884
  type?: string | null | undefined;
72872
72885
  email?: string | null | undefined;
72873
72886
  organization?: string | null | undefined;
72874
- collection?: string | null | undefined;
72875
72887
  handle?: string | null | undefined;
72876
72888
  avatarUrl?: string | null | undefined;
72889
+ collection?: string | null | undefined;
72877
72890
  }>>;
72878
72891
  customUrl: z.ZodOptional<z.ZodString>;
72879
72892
  state: z.ZodEnum<["Active", "Inactive"]>;
@@ -72906,9 +72919,9 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
72906
72919
  type?: string | undefined;
72907
72920
  email?: string | undefined;
72908
72921
  organization?: string | undefined;
72909
- collection?: string | undefined;
72910
72922
  handle?: string | undefined;
72911
72923
  avatarUrl?: string | undefined;
72924
+ collection?: string | undefined;
72912
72925
  } | undefined;
72913
72926
  user?: {
72914
72927
  id: string;
@@ -72934,9 +72947,9 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
72934
72947
  type?: string | null | undefined;
72935
72948
  email?: string | null | undefined;
72936
72949
  organization?: string | null | undefined;
72937
- collection?: string | null | undefined;
72938
72950
  handle?: string | null | undefined;
72939
72951
  avatarUrl?: string | null | undefined;
72952
+ collection?: string | null | undefined;
72940
72953
  } | undefined;
72941
72954
  user?: {
72942
72955
  id: string;
@@ -72987,9 +73000,9 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
72987
73000
  type?: string | undefined;
72988
73001
  email?: string | undefined;
72989
73002
  organization?: string | undefined;
72990
- collection?: string | undefined;
72991
73003
  handle?: string | undefined;
72992
73004
  avatarUrl?: string | undefined;
73005
+ collection?: string | undefined;
72993
73006
  } | undefined;
72994
73007
  user?: {
72995
73008
  id: string;
@@ -73028,9 +73041,9 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
73028
73041
  type?: string | null | undefined;
73029
73042
  email?: string | null | undefined;
73030
73043
  organization?: string | null | undefined;
73031
- collection?: string | null | undefined;
73032
73044
  handle?: string | null | undefined;
73033
73045
  avatarUrl?: string | null | undefined;
73046
+ collection?: string | null | undefined;
73034
73047
  } | undefined;
73035
73048
  user?: {
73036
73049
  id: string;
@@ -73071,9 +73084,9 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
73071
73084
  type?: string | undefined;
73072
73085
  email?: string | undefined;
73073
73086
  organization?: string | undefined;
73074
- collection?: string | undefined;
73075
73087
  handle?: string | undefined;
73076
73088
  avatarUrl?: string | undefined;
73089
+ collection?: string | undefined;
73077
73090
  } | undefined;
73078
73091
  user?: {
73079
73092
  id: string;
@@ -73114,9 +73127,9 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
73114
73127
  type?: string | null | undefined;
73115
73128
  email?: string | null | undefined;
73116
73129
  organization?: string | null | undefined;
73117
- collection?: string | null | undefined;
73118
73130
  handle?: string | null | undefined;
73119
73131
  avatarUrl?: string | null | undefined;
73132
+ collection?: string | null | undefined;
73120
73133
  } | undefined;
73121
73134
  user?: {
73122
73135
  id: string;
@@ -86635,6 +86648,7 @@ declare class TokensEndpoint {
86635
86648
  referencePersistentId?: string | undefined;
86636
86649
  referenceResolutionFailed?: boolean | undefined;
86637
86650
  } | undefined;
86651
+ collectionId?: string | undefined;
86638
86652
  };
86639
86653
  }>;
86640
86654
  list(dsId: string, versionId: string): Promise<DTODesignTokenListResponse>;
package/dist/index.js CHANGED
@@ -1594,6 +1594,7 @@ var ShallowDesignElement = _zod.z.object({
1594
1594
  designSystemVersionId: _zod.z.string(),
1595
1595
  type: DesignElementType,
1596
1596
  brandPersistentId: _zod.z.string().optional(),
1597
+ collectionPersistentId: _zod.z.string().optional(),
1597
1598
  parentPersistentId: _zod.z.string().optional(),
1598
1599
  shortPersistentId: _zod.z.string().optional(),
1599
1600
  childType: DesignElementType.optional(),
@@ -2811,7 +2812,8 @@ var DesignTokenOriginPart = _zod.z.object({
2811
2812
  });
2812
2813
  var DesignTokenOrigin = DesignElementOrigin.extend(DesignTokenOriginPart.shape);
2813
2814
  var DesignTokenBase = DesignElementBase.extend(DesignElementGroupableRequiredPart.shape).extend(DesignElementBrandedPart.shape).extend({
2814
- origin: DesignTokenOrigin.optional()
2815
+ origin: DesignTokenOrigin.optional(),
2816
+ collectionPersistentId: _zod.z.string().optional()
2815
2817
  });
2816
2818
  var CreateDesignTokenBase = DesignTokenBase.omit(zodCreateInputOmit());
2817
2819
  var UpdateDesignTokenBase = DesignTokenBase.omit({
@@ -3400,7 +3402,7 @@ var ThemeUpdateImportModelInput = _zod.z.object({
3400
3402
  overrides: _zod.z.array(ThemeOverrideImportModelInput)
3401
3403
  });
3402
3404
  var DesignTokenImportModelPart = _zod.z.object({
3403
- collection: _zod.z.string().optional(),
3405
+ collectionId: _zod.z.string().optional(),
3404
3406
  codeSyntax: _zod.z.record(_zod.z.coerce.string()).optional(),
3405
3407
  scopes: _zod.z.array(_zod.z.string()).optional()
3406
3408
  });
@@ -5907,6 +5909,7 @@ var DTODesignToken = DesignTokenTypedData.and(
5907
5909
  meta: ObjectMeta,
5908
5910
  originStyle: DesignTokenOrigin.optional(),
5909
5911
  brandId: _zod.z.string(),
5912
+ collectionId: _zod.z.string().optional(),
5910
5913
  updatedAt: _zod.z.coerce.date()
5911
5914
  })
5912
5915
  );