@uniformdev/canvas 20.51.0 → 20.53.1-alpha.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.esm.js CHANGED
@@ -380,7 +380,7 @@ var require_retry2 = __commonJS({
380
380
  });
381
381
 
382
382
  // src/CanvasClient.ts
383
- import { ApiClient } from "@uniformdev/context/api";
383
+ import { ApiClient, rewriteFiltersForApi } from "@uniformdev/context/api";
384
384
 
385
385
  // src/enhancement/createLimitPolicy.ts
386
386
  var import_p_limit = __toESM(require_p_limit());
@@ -584,22 +584,6 @@ function createLimitPolicy({
584
584
  }
585
585
  var nullLimitPolicy = async (func) => await func();
586
586
 
587
- // src/utils/rewriteFilters.ts
588
- var isPlainObject = (obj) => typeof obj === "object" && obj !== null && !Array.isArray(obj);
589
- function rewriteFilters(filters) {
590
- return Object.entries(filters != null ? filters : {}).reduce(
591
- (acc, [key, value]) => {
592
- const lhs = `filters.${key}` + (isPlainObject(value) ? `[${Object.keys(value)[0]}]` : "");
593
- const rhs = isPlainObject(value) ? Object.values(value)[0] : value;
594
- return {
595
- ...acc,
596
- [lhs]: Array.isArray(rhs) ? rhs.map((v) => `${v}`.trim()).join(",") : `${rhs}`.trim()
597
- };
598
- },
599
- {}
600
- );
601
- }
602
-
603
587
  // src/CanvasClient.ts
604
588
  var CANVAS_URL = "/api/v1/canvas";
605
589
  var CanvasClient = class extends ApiClient {
@@ -616,7 +600,7 @@ var CanvasClient = class extends ApiClient {
616
600
  async getCompositionList(params = {}) {
617
601
  const { projectId } = this.options;
618
602
  const { resolveData, filters, ...originParams } = params;
619
- const rewrittenFilters = rewriteFilters(filters);
603
+ const rewrittenFilters = rewriteFiltersForApi(filters);
620
604
  if (!resolveData) {
621
605
  const fetchUri = this.createUrl(CANVAS_URL, { ...originParams, projectId, ...rewrittenFilters });
622
606
  return this.apiClient(fetchUri);
@@ -770,7 +754,7 @@ var UncachedCategoryClient = class extends CategoryClient {
770
754
  };
771
755
 
772
756
  // src/ContentClient.ts
773
- import { ApiClient as ApiClient3 } from "@uniformdev/context/api";
757
+ import { ApiClient as ApiClient3, rewriteFiltersForApi as rewriteFiltersForApi2 } from "@uniformdev/context/api";
774
758
  var _contentTypesUrl, _entriesUrl;
775
759
  var _ContentClient = class _ContentClient extends ApiClient3 {
776
760
  constructor(options) {
@@ -786,7 +770,7 @@ var _ContentClient = class _ContentClient extends ApiClient3 {
786
770
  getEntries(options) {
787
771
  const { projectId } = this.options;
788
772
  const { skipDataResolution, filters, ...params } = options;
789
- const rewrittenFilters = rewriteFilters(filters);
773
+ const rewrittenFilters = rewriteFiltersForApi2(filters);
790
774
  if (skipDataResolution) {
791
775
  const url = this.createUrl(__privateGet(_ContentClient, _entriesUrl), { ...params, ...rewrittenFilters, projectId });
792
776
  return this.apiClient(url);
@@ -1122,6 +1106,7 @@ var EDGE_CACHE_DISABLED = -1;
1122
1106
  var ASSET_PARAMETER_TYPE = "asset";
1123
1107
  var ASSETS_SOURCE_UNIFORM = "uniform-assets";
1124
1108
  var ASSETS_SOURCE_CUSTOM_URL = "custom-url";
1109
+ var REFERENCE_DATA_TYPE_ID = "uniformContentInternalReference";
1125
1110
 
1126
1111
  // src/utils/guards.ts
1127
1112
  function isRootEntryReference(root) {
@@ -2627,10 +2612,47 @@ _baseUrl = new WeakMap();
2627
2612
  __privateAdd(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
2628
2613
  var IntegrationPropertyEditorsClient = _IntegrationPropertyEditorsClient;
2629
2614
 
2630
- // src/LocaleClient.ts
2615
+ // src/LabelClient.ts
2631
2616
  import { ApiClient as ApiClient8 } from "@uniformdev/context/api";
2617
+ var LABELS_URL = "/api/v1/labels";
2618
+ var LabelClient = class extends ApiClient8 {
2619
+ /** Fetches labels for the current project. */
2620
+ async getLabels(options) {
2621
+ const { projectId } = this.options;
2622
+ const fetchUri = this.createUrl(LABELS_URL, { ...options, projectId });
2623
+ return await this.apiClient(fetchUri);
2624
+ }
2625
+ /** Updates or creates a label. */
2626
+ async upsertLabel(body) {
2627
+ const { projectId } = this.options;
2628
+ const fetchUri = this.createUrl(LABELS_URL);
2629
+ await this.apiClient(fetchUri, {
2630
+ method: "PUT",
2631
+ body: JSON.stringify({ ...body, projectId }),
2632
+ expectNoContent: true
2633
+ });
2634
+ }
2635
+ /** Deletes a label by id. */
2636
+ async removeLabel(options) {
2637
+ const { projectId } = this.options;
2638
+ const fetchUri = this.createUrl(LABELS_URL);
2639
+ await this.apiClient(fetchUri, {
2640
+ method: "DELETE",
2641
+ body: JSON.stringify({ ...options, projectId }),
2642
+ expectNoContent: true
2643
+ });
2644
+ }
2645
+ };
2646
+ var UncachedLabelClient = class extends LabelClient {
2647
+ constructor(options) {
2648
+ super({ ...options, bypassCache: true });
2649
+ }
2650
+ };
2651
+
2652
+ // src/LocaleClient.ts
2653
+ import { ApiClient as ApiClient9 } from "@uniformdev/context/api";
2632
2654
  var localesUrl = "/api/v1/locales";
2633
- var LocaleClient = class extends ApiClient8 {
2655
+ var LocaleClient = class extends ApiClient9 {
2634
2656
  constructor(options) {
2635
2657
  super(options);
2636
2658
  }
@@ -3016,10 +3038,10 @@ var createCanvasChannel = ({
3016
3038
  };
3017
3039
 
3018
3040
  // src/PreviewClient.ts
3019
- import { ApiClient as ApiClient9 } from "@uniformdev/context/api";
3041
+ import { ApiClient as ApiClient10 } from "@uniformdev/context/api";
3020
3042
  var previewUrlsUrl = "/api/v1/preview-urls";
3021
3043
  var previewViewportsUrl = "/api/v1/preview-viewports";
3022
- var PreviewClient = class extends ApiClient9 {
3044
+ var PreviewClient = class extends ApiClient10 {
3023
3045
  constructor(options) {
3024
3046
  super(options);
3025
3047
  }
@@ -3082,9 +3104,9 @@ var PreviewClient = class extends ApiClient9 {
3082
3104
  };
3083
3105
 
3084
3106
  // src/ProjectClient.ts
3085
- import { ApiClient as ApiClient10 } from "@uniformdev/context/api";
3107
+ import { ApiClient as ApiClient11 } from "@uniformdev/context/api";
3086
3108
  var _url2, _projectsUrl;
3087
- var _ProjectClient = class _ProjectClient extends ApiClient10 {
3109
+ var _ProjectClient = class _ProjectClient extends ApiClient11 {
3088
3110
  constructor(options) {
3089
3111
  super({ ...options, bypassCache: true });
3090
3112
  }
@@ -3127,9 +3149,9 @@ __privateAdd(_ProjectClient, _projectsUrl, "/api/v1/projects");
3127
3149
  var ProjectClient = _ProjectClient;
3128
3150
 
3129
3151
  // src/PromptClient.ts
3130
- import { ApiClient as ApiClient11 } from "@uniformdev/context/api";
3152
+ import { ApiClient as ApiClient12 } from "@uniformdev/context/api";
3131
3153
  var PromptsUrl = "/api/v1/prompts";
3132
- var PromptClient = class extends ApiClient11 {
3154
+ var PromptClient = class extends ApiClient12 {
3133
3155
  constructor(options) {
3134
3156
  super(options);
3135
3157
  }
@@ -3160,9 +3182,9 @@ var PromptClient = class extends ApiClient11 {
3160
3182
  };
3161
3183
 
3162
3184
  // src/RelationshipClient.ts
3163
- import { ApiClient as ApiClient12 } from "@uniformdev/context/api";
3185
+ import { ApiClient as ApiClient13 } from "@uniformdev/context/api";
3164
3186
  var RELATIONSHIPS_URL = "/api/v1/relationships";
3165
- var RelationshipClient = class extends ApiClient12 {
3187
+ var RelationshipClient = class extends ApiClient13 {
3166
3188
  constructor(options) {
3167
3189
  super(options);
3168
3190
  this.get = async (options) => {
@@ -3174,9 +3196,9 @@ var RelationshipClient = class extends ApiClient12 {
3174
3196
  };
3175
3197
 
3176
3198
  // src/ReleaseClient.ts
3177
- import { ApiClient as ApiClient13 } from "@uniformdev/context/api";
3199
+ import { ApiClient as ApiClient14 } from "@uniformdev/context/api";
3178
3200
  var releasesUrl = "/api/v1/releases";
3179
- var ReleaseClient = class extends ApiClient13 {
3201
+ var ReleaseClient = class extends ApiClient14 {
3180
3202
  constructor(options) {
3181
3203
  super(options);
3182
3204
  }
@@ -3216,9 +3238,9 @@ var ReleaseClient = class extends ApiClient13 {
3216
3238
  };
3217
3239
 
3218
3240
  // src/ReleaseContentsClient.ts
3219
- import { ApiClient as ApiClient14 } from "@uniformdev/context/api";
3241
+ import { ApiClient as ApiClient15 } from "@uniformdev/context/api";
3220
3242
  var releaseContentsUrl2 = "/api/v1/release-contents";
3221
- var ReleaseContentsClient = class extends ApiClient14 {
3243
+ var ReleaseContentsClient = class extends ApiClient15 {
3222
3244
  constructor(options) {
3223
3245
  super(options);
3224
3246
  }
@@ -3240,9 +3262,9 @@ var ReleaseContentsClient = class extends ApiClient14 {
3240
3262
  };
3241
3263
 
3242
3264
  // src/RouteClient.ts
3243
- import { ApiClient as ApiClient15 } from "@uniformdev/context/api";
3265
+ import { ApiClient as ApiClient16 } from "@uniformdev/context/api";
3244
3266
  var ROUTE_URL = "/api/v1/route";
3245
- var RouteClient = class extends ApiClient15 {
3267
+ var RouteClient = class extends ApiClient16 {
3246
3268
  constructor(options) {
3247
3269
  var _a;
3248
3270
  if (!options.limitPolicy) {
@@ -3617,12 +3639,12 @@ function handleRichTextNodeBinding(object, options) {
3617
3639
  import { ApiClientError as ApiClientError2 } from "@uniformdev/context/api";
3618
3640
 
3619
3641
  // src/.version.ts
3620
- var version = "20.51.0";
3642
+ var version = "20.53.0";
3621
3643
 
3622
3644
  // src/WorkflowClient.ts
3623
- import { ApiClient as ApiClient16 } from "@uniformdev/context/api";
3645
+ import { ApiClient as ApiClient17 } from "@uniformdev/context/api";
3624
3646
  var workflowsUrl = "/api/v1/workflows";
3625
- var WorkflowClient = class extends ApiClient16 {
3647
+ var WorkflowClient = class extends ApiClient17 {
3626
3648
  constructor(options) {
3627
3649
  super(options);
3628
3650
  }
@@ -3726,11 +3748,13 @@ export {
3726
3748
  IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
3727
3749
  IntegrationPropertyEditorsClient,
3728
3750
  LOCALE_DYNAMIC_INPUT_NAME,
3751
+ LabelClient,
3729
3752
  LocaleClient,
3730
3753
  PLACEHOLDER_ID,
3731
3754
  PreviewClient,
3732
3755
  ProjectClient,
3733
3756
  PromptClient,
3757
+ REFERENCE_DATA_TYPE_ID,
3734
3758
  RelationshipClient,
3735
3759
  ReleaseClient,
3736
3760
  ReleaseContentsClient,
@@ -3739,6 +3763,7 @@ export {
3739
3763
  UncachedCanvasClient,
3740
3764
  UncachedCategoryClient,
3741
3765
  UncachedContentClient,
3766
+ UncachedLabelClient,
3742
3767
  UniqueBatchEntries,
3743
3768
  WorkflowClient,
3744
3769
  autoFixParameterGroups,
package/dist/index.js CHANGED
@@ -397,7 +397,7 @@ __export(src_exports, {
397
397
  ATTRIBUTE_PARAMETER_TYPE: () => ATTRIBUTE_PARAMETER_TYPE,
398
398
  ATTRIBUTE_PARAMETER_VALUE: () => ATTRIBUTE_PARAMETER_VALUE,
399
399
  ATTRIBUTE_PLACEHOLDER: () => ATTRIBUTE_PLACEHOLDER,
400
- ApiClientError: () => import_api18.ApiClientError,
400
+ ApiClientError: () => import_api19.ApiClientError,
401
401
  BatchEntry: () => BatchEntry,
402
402
  BlockFormatError: () => BlockFormatError,
403
403
  CANVAS_BLOCK_PARAM_TYPE: () => CANVAS_BLOCK_PARAM_TYPE,
@@ -459,11 +459,13 @@ __export(src_exports, {
459
459
  IS_RENDERED_BY_UNIFORM_ATTRIBUTE: () => IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
460
460
  IntegrationPropertyEditorsClient: () => IntegrationPropertyEditorsClient,
461
461
  LOCALE_DYNAMIC_INPUT_NAME: () => LOCALE_DYNAMIC_INPUT_NAME,
462
+ LabelClient: () => LabelClient,
462
463
  LocaleClient: () => LocaleClient,
463
464
  PLACEHOLDER_ID: () => PLACEHOLDER_ID,
464
465
  PreviewClient: () => PreviewClient,
465
466
  ProjectClient: () => ProjectClient,
466
467
  PromptClient: () => PromptClient,
468
+ REFERENCE_DATA_TYPE_ID: () => REFERENCE_DATA_TYPE_ID,
467
469
  RelationshipClient: () => RelationshipClient,
468
470
  ReleaseClient: () => ReleaseClient,
469
471
  ReleaseContentsClient: () => ReleaseContentsClient,
@@ -472,6 +474,7 @@ __export(src_exports, {
472
474
  UncachedCanvasClient: () => UncachedCanvasClient,
473
475
  UncachedCategoryClient: () => UncachedCategoryClient,
474
476
  UncachedContentClient: () => UncachedContentClient,
477
+ UncachedLabelClient: () => UncachedLabelClient,
475
478
  UniqueBatchEntries: () => UniqueBatchEntries,
476
479
  WorkflowClient: () => WorkflowClient,
477
480
  autoFixParameterGroups: () => autoFixParameterGroups,
@@ -762,22 +765,6 @@ function createLimitPolicy({
762
765
  }
763
766
  var nullLimitPolicy = async (func) => await func();
764
767
 
765
- // src/utils/rewriteFilters.ts
766
- var isPlainObject = (obj) => typeof obj === "object" && obj !== null && !Array.isArray(obj);
767
- function rewriteFilters(filters) {
768
- return Object.entries(filters != null ? filters : {}).reduce(
769
- (acc, [key, value]) => {
770
- const lhs = `filters.${key}` + (isPlainObject(value) ? `[${Object.keys(value)[0]}]` : "");
771
- const rhs = isPlainObject(value) ? Object.values(value)[0] : value;
772
- return {
773
- ...acc,
774
- [lhs]: Array.isArray(rhs) ? rhs.map((v) => `${v}`.trim()).join(",") : `${rhs}`.trim()
775
- };
776
- },
777
- {}
778
- );
779
- }
780
-
781
768
  // src/CanvasClient.ts
782
769
  var CANVAS_URL = "/api/v1/canvas";
783
770
  var CanvasClient = class extends import_api2.ApiClient {
@@ -794,7 +781,7 @@ var CanvasClient = class extends import_api2.ApiClient {
794
781
  async getCompositionList(params = {}) {
795
782
  const { projectId } = this.options;
796
783
  const { resolveData, filters, ...originParams } = params;
797
- const rewrittenFilters = rewriteFilters(filters);
784
+ const rewrittenFilters = (0, import_api2.rewriteFiltersForApi)(filters);
798
785
  if (!resolveData) {
799
786
  const fetchUri = this.createUrl(CANVAS_URL, { ...originParams, projectId, ...rewrittenFilters });
800
787
  return this.apiClient(fetchUri);
@@ -964,7 +951,7 @@ var _ContentClient = class _ContentClient extends import_api4.ApiClient {
964
951
  getEntries(options) {
965
952
  const { projectId } = this.options;
966
953
  const { skipDataResolution, filters, ...params } = options;
967
- const rewrittenFilters = rewriteFilters(filters);
954
+ const rewrittenFilters = (0, import_api4.rewriteFiltersForApi)(filters);
968
955
  if (skipDataResolution) {
969
956
  const url = this.createUrl(__privateGet(_ContentClient, _entriesUrl), { ...params, ...rewrittenFilters, projectId });
970
957
  return this.apiClient(url);
@@ -1300,6 +1287,7 @@ var EDGE_CACHE_DISABLED = -1;
1300
1287
  var ASSET_PARAMETER_TYPE = "asset";
1301
1288
  var ASSETS_SOURCE_UNIFORM = "uniform-assets";
1302
1289
  var ASSETS_SOURCE_CUSTOM_URL = "custom-url";
1290
+ var REFERENCE_DATA_TYPE_ID = "uniformContentInternalReference";
1303
1291
 
1304
1292
  // src/utils/guards.ts
1305
1293
  function isRootEntryReference(root) {
@@ -2805,10 +2793,47 @@ _baseUrl = new WeakMap();
2805
2793
  __privateAdd(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
2806
2794
  var IntegrationPropertyEditorsClient = _IntegrationPropertyEditorsClient;
2807
2795
 
2808
- // src/LocaleClient.ts
2796
+ // src/LabelClient.ts
2809
2797
  var import_api9 = require("@uniformdev/context/api");
2798
+ var LABELS_URL = "/api/v1/labels";
2799
+ var LabelClient = class extends import_api9.ApiClient {
2800
+ /** Fetches labels for the current project. */
2801
+ async getLabels(options) {
2802
+ const { projectId } = this.options;
2803
+ const fetchUri = this.createUrl(LABELS_URL, { ...options, projectId });
2804
+ return await this.apiClient(fetchUri);
2805
+ }
2806
+ /** Updates or creates a label. */
2807
+ async upsertLabel(body) {
2808
+ const { projectId } = this.options;
2809
+ const fetchUri = this.createUrl(LABELS_URL);
2810
+ await this.apiClient(fetchUri, {
2811
+ method: "PUT",
2812
+ body: JSON.stringify({ ...body, projectId }),
2813
+ expectNoContent: true
2814
+ });
2815
+ }
2816
+ /** Deletes a label by id. */
2817
+ async removeLabel(options) {
2818
+ const { projectId } = this.options;
2819
+ const fetchUri = this.createUrl(LABELS_URL);
2820
+ await this.apiClient(fetchUri, {
2821
+ method: "DELETE",
2822
+ body: JSON.stringify({ ...options, projectId }),
2823
+ expectNoContent: true
2824
+ });
2825
+ }
2826
+ };
2827
+ var UncachedLabelClient = class extends LabelClient {
2828
+ constructor(options) {
2829
+ super({ ...options, bypassCache: true });
2830
+ }
2831
+ };
2832
+
2833
+ // src/LocaleClient.ts
2834
+ var import_api10 = require("@uniformdev/context/api");
2810
2835
  var localesUrl = "/api/v1/locales";
2811
- var LocaleClient = class extends import_api9.ApiClient {
2836
+ var LocaleClient = class extends import_api10.ApiClient {
2812
2837
  constructor(options) {
2813
2838
  super(options);
2814
2839
  }
@@ -3194,10 +3219,10 @@ var createCanvasChannel = ({
3194
3219
  };
3195
3220
 
3196
3221
  // src/PreviewClient.ts
3197
- var import_api10 = require("@uniformdev/context/api");
3222
+ var import_api11 = require("@uniformdev/context/api");
3198
3223
  var previewUrlsUrl = "/api/v1/preview-urls";
3199
3224
  var previewViewportsUrl = "/api/v1/preview-viewports";
3200
- var PreviewClient = class extends import_api10.ApiClient {
3225
+ var PreviewClient = class extends import_api11.ApiClient {
3201
3226
  constructor(options) {
3202
3227
  super(options);
3203
3228
  }
@@ -3260,9 +3285,9 @@ var PreviewClient = class extends import_api10.ApiClient {
3260
3285
  };
3261
3286
 
3262
3287
  // src/ProjectClient.ts
3263
- var import_api11 = require("@uniformdev/context/api");
3288
+ var import_api12 = require("@uniformdev/context/api");
3264
3289
  var _url2, _projectsUrl;
3265
- var _ProjectClient = class _ProjectClient extends import_api11.ApiClient {
3290
+ var _ProjectClient = class _ProjectClient extends import_api12.ApiClient {
3266
3291
  constructor(options) {
3267
3292
  super({ ...options, bypassCache: true });
3268
3293
  }
@@ -3305,9 +3330,9 @@ __privateAdd(_ProjectClient, _projectsUrl, "/api/v1/projects");
3305
3330
  var ProjectClient = _ProjectClient;
3306
3331
 
3307
3332
  // src/PromptClient.ts
3308
- var import_api12 = require("@uniformdev/context/api");
3333
+ var import_api13 = require("@uniformdev/context/api");
3309
3334
  var PromptsUrl = "/api/v1/prompts";
3310
- var PromptClient = class extends import_api12.ApiClient {
3335
+ var PromptClient = class extends import_api13.ApiClient {
3311
3336
  constructor(options) {
3312
3337
  super(options);
3313
3338
  }
@@ -3338,9 +3363,9 @@ var PromptClient = class extends import_api12.ApiClient {
3338
3363
  };
3339
3364
 
3340
3365
  // src/RelationshipClient.ts
3341
- var import_api13 = require("@uniformdev/context/api");
3366
+ var import_api14 = require("@uniformdev/context/api");
3342
3367
  var RELATIONSHIPS_URL = "/api/v1/relationships";
3343
- var RelationshipClient = class extends import_api13.ApiClient {
3368
+ var RelationshipClient = class extends import_api14.ApiClient {
3344
3369
  constructor(options) {
3345
3370
  super(options);
3346
3371
  this.get = async (options) => {
@@ -3352,9 +3377,9 @@ var RelationshipClient = class extends import_api13.ApiClient {
3352
3377
  };
3353
3378
 
3354
3379
  // src/ReleaseClient.ts
3355
- var import_api14 = require("@uniformdev/context/api");
3380
+ var import_api15 = require("@uniformdev/context/api");
3356
3381
  var releasesUrl = "/api/v1/releases";
3357
- var ReleaseClient = class extends import_api14.ApiClient {
3382
+ var ReleaseClient = class extends import_api15.ApiClient {
3358
3383
  constructor(options) {
3359
3384
  super(options);
3360
3385
  }
@@ -3394,9 +3419,9 @@ var ReleaseClient = class extends import_api14.ApiClient {
3394
3419
  };
3395
3420
 
3396
3421
  // src/ReleaseContentsClient.ts
3397
- var import_api15 = require("@uniformdev/context/api");
3422
+ var import_api16 = require("@uniformdev/context/api");
3398
3423
  var releaseContentsUrl2 = "/api/v1/release-contents";
3399
- var ReleaseContentsClient = class extends import_api15.ApiClient {
3424
+ var ReleaseContentsClient = class extends import_api16.ApiClient {
3400
3425
  constructor(options) {
3401
3426
  super(options);
3402
3427
  }
@@ -3418,9 +3443,9 @@ var ReleaseContentsClient = class extends import_api15.ApiClient {
3418
3443
  };
3419
3444
 
3420
3445
  // src/RouteClient.ts
3421
- var import_api16 = require("@uniformdev/context/api");
3446
+ var import_api17 = require("@uniformdev/context/api");
3422
3447
  var ROUTE_URL = "/api/v1/route";
3423
- var RouteClient = class extends import_api16.ApiClient {
3448
+ var RouteClient = class extends import_api17.ApiClient {
3424
3449
  constructor(options) {
3425
3450
  var _a;
3426
3451
  if (!options.limitPolicy) {
@@ -3792,15 +3817,15 @@ function handleRichTextNodeBinding(object, options) {
3792
3817
  }
3793
3818
 
3794
3819
  // src/index.ts
3795
- var import_api18 = require("@uniformdev/context/api");
3820
+ var import_api19 = require("@uniformdev/context/api");
3796
3821
 
3797
3822
  // src/.version.ts
3798
- var version = "20.51.0";
3823
+ var version = "20.53.0";
3799
3824
 
3800
3825
  // src/WorkflowClient.ts
3801
- var import_api17 = require("@uniformdev/context/api");
3826
+ var import_api18 = require("@uniformdev/context/api");
3802
3827
  var workflowsUrl = "/api/v1/workflows";
3803
- var WorkflowClient = class extends import_api17.ApiClient {
3828
+ var WorkflowClient = class extends import_api18.ApiClient {
3804
3829
  constructor(options) {
3805
3830
  super(options);
3806
3831
  }
@@ -3831,7 +3856,7 @@ var WorkflowClient = class extends import_api17.ApiClient {
3831
3856
  };
3832
3857
 
3833
3858
  // src/index.ts
3834
- var CanvasClientError = import_api18.ApiClientError;
3859
+ var CanvasClientError = import_api19.ApiClientError;
3835
3860
  // Annotate the CommonJS export names for ESM import in node:
3836
3861
  0 && (module.exports = {
3837
3862
  ASSETS_SOURCE_CUSTOM_URL,
@@ -3905,11 +3930,13 @@ var CanvasClientError = import_api18.ApiClientError;
3905
3930
  IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
3906
3931
  IntegrationPropertyEditorsClient,
3907
3932
  LOCALE_DYNAMIC_INPUT_NAME,
3933
+ LabelClient,
3908
3934
  LocaleClient,
3909
3935
  PLACEHOLDER_ID,
3910
3936
  PreviewClient,
3911
3937
  ProjectClient,
3912
3938
  PromptClient,
3939
+ REFERENCE_DATA_TYPE_ID,
3913
3940
  RelationshipClient,
3914
3941
  ReleaseClient,
3915
3942
  ReleaseContentsClient,
@@ -3918,6 +3945,7 @@ var CanvasClientError = import_api18.ApiClientError;
3918
3945
  UncachedCanvasClient,
3919
3946
  UncachedCategoryClient,
3920
3947
  UncachedContentClient,
3948
+ UncachedLabelClient,
3921
3949
  UniqueBatchEntries,
3922
3950
  WorkflowClient,
3923
3951
  autoFixParameterGroups,