@membranehq/sdk 0.9.1 → 0.9.2

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/bundle.d.ts CHANGED
@@ -84,6 +84,7 @@ declare const ErrorDataSchema: z.ZodType<ErrorDataSchema>;
84
84
 
85
85
  declare enum WorkspaceElementType {
86
86
  Customer = "customer",
87
+ App = "app",
87
88
  Connector = "connector",
88
89
  Integration = "integration",
89
90
  Flow = "flow",
@@ -1312,8 +1313,6 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
1312
1313
  errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
1313
1314
  pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
1314
1315
  fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
1315
- path: z.ZodOptional<z.ZodString>;
1316
- defaultPath: z.ZodOptional<z.ZodString>;
1317
1316
  user: z.ZodOptional<z.ZodObject<{
1318
1317
  id: z.ZodString;
1319
1318
  name: z.ZodString;
@@ -1345,7 +1344,6 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
1345
1344
  fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
1346
1345
  collectionKey: z.ZodOptional<z.ZodString>;
1347
1346
  collectionParameters: z.ZodOptional<z.ZodAny>;
1348
- defaultPath: z.ZodOptional<z.ZodString>;
1349
1347
  name: z.ZodString;
1350
1348
  state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
1351
1349
  errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
@@ -1418,6 +1416,8 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
1418
1416
  "client-credentials": "client-credentials";
1419
1417
  }>>;
1420
1418
  }, z.core.$strip>>;
1419
+ path: z.ZodOptional<z.ZodString>;
1420
+ defaultPath: z.ZodOptional<z.ZodString>;
1421
1421
  }, z.core.$strip>;
1422
1422
  type DataSourceInstanceApiResponse = z.infer<typeof DataSourceInstanceApiResponse>;
1423
1423
  type DataSourceInstance = DataSourceInstanceApiResponse;
@@ -2409,7 +2409,6 @@ declare const DataSourceApiResponse: z.ZodObject<{
2409
2409
  fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
2410
2410
  collectionKey: z.ZodOptional<z.ZodString>;
2411
2411
  collectionParameters: z.ZodOptional<z.ZodAny>;
2412
- defaultPath: z.ZodOptional<z.ZodString>;
2413
2412
  name: z.ZodString;
2414
2413
  state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
2415
2414
  errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
@@ -2479,7 +2478,6 @@ declare const DataSourceApiResponse: z.ZodObject<{
2479
2478
  fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
2480
2479
  collectionKey: z.ZodOptional<z.ZodString>;
2481
2480
  collectionParameters: z.ZodOptional<z.ZodAny>;
2482
- defaultPath: z.ZodOptional<z.ZodString>;
2483
2481
  name: z.ZodString;
2484
2482
  state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
2485
2483
  errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
@@ -2532,6 +2530,7 @@ declare const DataSourceApiResponse: z.ZodObject<{
2532
2530
  }>>;
2533
2531
  }, z.core.$strip>;
2534
2532
  }, z.core.$strip>>>;
2533
+ defaultPath: z.ZodOptional<z.ZodString>;
2535
2534
  }, z.core.$strip>;
2536
2535
  type DataSourceApiResponse = z.infer<typeof DataSourceApiResponse>;
2537
2536
  type DataSource = DataSourceApiResponse;
@@ -2573,7 +2572,6 @@ declare const CreateDataSourceRequest: z.ZodObject<{
2573
2572
  fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
2574
2573
  collectionKey: z.ZodOptional<z.ZodString>;
2575
2574
  collectionParameters: z.ZodOptional<z.ZodAny>;
2576
- defaultPath: z.ZodOptional<z.ZodString>;
2577
2575
  }, z.core.$strip>;
2578
2576
  type CreateDataSourceRequest = z.infer<typeof CreateDataSourceRequest>;
2579
2577
  declare const UpdateDataSourceRequest: z.ZodObject<{
@@ -2594,7 +2592,6 @@ declare const UpdateDataSourceRequest: z.ZodObject<{
2594
2592
  fullSyncIntervalSeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2595
2593
  collectionKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2596
2594
  collectionParameters: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
2597
- defaultPath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2598
2595
  }, z.core.$strip>;
2599
2596
  type UpdateDataSourceRequest = z.infer<typeof UpdateDataSourceRequest>;
2600
2597
  interface DataSourceSelector extends IntegrationSpecificElementSelector {
@@ -3332,8 +3329,6 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
3332
3329
  errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
3333
3330
  pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
3334
3331
  fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
3335
- path: z.ZodOptional<z.ZodString>;
3336
- defaultPath: z.ZodOptional<z.ZodString>;
3337
3332
  user: z.ZodOptional<z.ZodObject<{
3338
3333
  id: z.ZodString;
3339
3334
  name: z.ZodString;
@@ -3365,7 +3360,6 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
3365
3360
  fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
3366
3361
  collectionKey: z.ZodOptional<z.ZodString>;
3367
3362
  collectionParameters: z.ZodOptional<z.ZodAny>;
3368
- defaultPath: z.ZodOptional<z.ZodString>;
3369
3363
  name: z.ZodString;
3370
3364
  state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
3371
3365
  errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
@@ -3438,6 +3432,8 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
3438
3432
  "client-credentials": "client-credentials";
3439
3433
  }>>;
3440
3434
  }, z.core.$strip>>;
3435
+ path: z.ZodOptional<z.ZodString>;
3436
+ defaultPath: z.ZodOptional<z.ZodString>;
3441
3437
  }, z.core.$strip>>;
3442
3438
  }, z.core.$strip>;
3443
3439
  type FieldMappingInstanceApiResponse = z.infer<typeof FieldMappingInstanceApiResponse>;
package/dist/bundle.js CHANGED
@@ -11267,6 +11267,7 @@
11267
11267
  var WorkspaceElementType;
11268
11268
  (function (WorkspaceElementType) {
11269
11269
  WorkspaceElementType["Customer"] = "customer";
11270
+ WorkspaceElementType["App"] = "app";
11270
11271
  WorkspaceElementType["Connector"] = "connector";
11271
11272
  WorkspaceElementType["Integration"] = "integration";
11272
11273
  WorkspaceElementType["Flow"] = "flow";