@supernova-studio/client 0.47.9 → 0.47.11

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.js CHANGED
@@ -121,9 +121,6 @@ var _zod = require('zod');
121
121
 
122
122
 
123
123
 
124
-
125
-
126
-
127
124
 
128
125
 
129
126
 
@@ -2749,7 +2746,8 @@ var ExportJobContext = _zod.z.object({
2749
2746
  var ExporterFunctionPayload = _zod.z.object({
2750
2747
  exportJobId: _zod.z.string(),
2751
2748
  exportContextId: _zod.z.string(),
2752
- designSystemId: _zod.z.string()
2749
+ designSystemId: _zod.z.string(),
2750
+ workspaceId: _zod.z.string()
2753
2751
  });
2754
2752
  var BITBUCKET_SLUG = /^[-a-zA-Z0-9~]*$/;
2755
2753
  var BITBUCKET_MAX_LENGTH = 64;
@@ -2758,11 +2756,11 @@ var ExporterDestinationDocs = _zod.z.object({
2758
2756
  });
2759
2757
  var ExporterDestinationS3 = _zod.z.object({});
2760
2758
  var ExporterDestinationGithub = _zod.z.object({
2761
- connectionId: _zod.z.string(),
2759
+ url: _zod.z.string(),
2762
2760
  branch: _zod.z.string(),
2761
+ userId: _zod.z.string(),
2762
+ connectionId: _zod.z.string(),
2763
2763
  relativePath: _zod.z.string()
2764
- // // +
2765
- // userId: z.coerce.string(),
2766
2764
  });
2767
2765
  var ExporterDestinationAzure = _zod.z.object({
2768
2766
  connectionId: _zod.z.string(),
@@ -2855,7 +2853,6 @@ var ExportJob = _zod.z.object({
2855
2853
  var ExportJobFindByFilter = ExportJob.pick({
2856
2854
  exporterId: true,
2857
2855
  designSystemVersionId: true,
2858
- destinations: true,
2859
2856
  createdByUserId: true,
2860
2857
  status: true,
2861
2858
  scheduleId: true,
@@ -3257,7 +3254,7 @@ var SupernovaException = class _SupernovaException extends Error {
3257
3254
  return new _SupernovaException("MissingExporterPermission", message);
3258
3255
  }
3259
3256
  static missingIntegration(message) {
3260
- return new _SupernovaException("AccessDenied", message);
3257
+ return new _SupernovaException("MissingIntegration", message);
3261
3258
  }
3262
3259
  static noAccess(message) {
3263
3260
  return new _SupernovaException("NoAccess", message);