@membranehq/sdk 0.7.0 → 0.7.3

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.
Files changed (80) hide show
  1. package/dist/bundle.d.ts +3445 -3621
  2. package/dist/bundle.js +10 -1
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/connections-accessors.d.ts +4 -3
  5. package/dist/dts/accessors/integrations-accessors.d.ts +4 -3
  6. package/dist/dts/accessors/scenarios-accessors.d.ts +4 -3
  7. package/dist/dts/config/config.test.d.ts +1 -0
  8. package/dist/dts/config/index.d.ts +42 -0
  9. package/dist/dts/entity-repository.d.ts +2 -2
  10. package/dist/dts/index.browser.d.ts +31 -0
  11. package/dist/dts/index.d.ts +2 -0
  12. package/dist/dts/index.node.d.ts +2 -0
  13. package/dist/dts/integration-elements/index.d.ts +0 -2
  14. package/dist/dts/orgs/types.d.ts +1 -0
  15. package/dist/dts/{workspace-elements/base/scenarios/types.d.ts → scenario-templates/index.d.ts} +64 -169
  16. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +39 -37
  17. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +37 -37
  18. package/dist/dts/workspace-elements/api/actions-api.d.ts +64 -46
  19. package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +13 -0
  20. package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +3 -0
  21. package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +17 -2
  22. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -0
  23. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +3 -0
  24. package/dist/dts/workspace-elements/api/connections-api.d.ts +57 -34
  25. package/dist/dts/workspace-elements/api/customers-api.d.ts +3 -0
  26. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +29 -16
  27. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +3 -0
  28. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +51 -32
  29. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +70 -36
  30. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +27 -22
  31. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +27 -22
  32. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -16
  33. package/dist/dts/workspace-elements/api/external-events-api.d.ts +7 -0
  34. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +122 -76
  35. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +58 -24
  36. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +116 -104
  37. package/dist/dts/workspace-elements/api/flows-api.d.ts +133 -693
  38. package/dist/dts/workspace-elements/api/integrations-api.d.ts +12 -14
  39. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +434 -431
  40. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +5 -8
  41. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +2 -2
  42. package/dist/dts/workspace-elements/base/actions/index.d.ts +18 -15
  43. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +3 -0
  44. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -0
  45. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +3 -0
  46. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +3 -0
  47. package/dist/dts/workspace-elements/base/connections/types.d.ts +5 -8
  48. package/dist/dts/workspace-elements/base/customers/index.d.ts +3 -0
  49. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +5 -2
  50. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -0
  51. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +7 -4
  52. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +17 -10
  53. package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +2 -2
  54. package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +2 -2
  55. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +2 -2
  56. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +7 -4
  57. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +15 -8
  58. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +26 -26
  59. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -15
  60. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +2 -2
  61. package/dist/dts/workspace-elements/base/flows/types.d.ts +21 -14
  62. package/dist/dts/workspace-elements/base/integrations/types.d.ts +18 -0
  63. package/dist/dts/workspace-elements/base/scenarios/index.d.ts +163 -1
  64. package/dist/dts/workspace-elements/types.d.ts +118 -0
  65. package/dist/dts/workspace-elements-catalog/index.d.ts +1 -0
  66. package/dist/{index.module.d.mts → index.browser.d.mts} +17767 -17803
  67. package/dist/{index.d.ts → index.browser.d.ts} +17767 -17803
  68. package/dist/{index.js → index.browser.js} +114 -132
  69. package/dist/index.browser.js.map +1 -0
  70. package/dist/{index.module.mjs → index.browser.mjs} +110 -129
  71. package/dist/index.browser.mjs.map +1 -0
  72. package/dist/index.node.d.mts +27932 -0
  73. package/dist/index.node.d.ts +27932 -0
  74. package/dist/index.node.js +13334 -0
  75. package/dist/index.node.js.map +1 -0
  76. package/dist/index.node.mjs +12862 -0
  77. package/dist/index.node.mjs.map +1 -0
  78. package/package.json +38 -15
  79. package/dist/index.js.map +0 -1
  80. package/dist/index.module.mjs.map +0 -1
@@ -23,6 +23,7 @@ export declare const BaseActionInstance: z.ZodObject<{
23
23
  key: z.ZodOptional<z.ZodString>;
24
24
  uuid: z.ZodOptional<z.ZodString>;
25
25
  description: z.ZodOptional<z.ZodString>;
26
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26
27
  } & {
27
28
  name: z.ZodString;
28
29
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
@@ -34,7 +35,6 @@ export declare const BaseActionInstance: z.ZodObject<{
34
35
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
35
36
  } & {
36
37
  parentId: z.ZodOptional<z.ZodString>;
37
- parentRevision: z.ZodOptional<z.ZodString>;
38
38
  universalParentId: z.ZodOptional<z.ZodString>;
39
39
  userId: z.ZodString;
40
40
  instanceKey: z.ZodOptional<z.ZodString>;
@@ -42,7 +42,6 @@ export declare const BaseActionInstance: z.ZodObject<{
42
42
  inputSchema: z.ZodOptional<z.ZodAny>;
43
43
  config: z.ZodOptional<z.ZodAny>;
44
44
  outputSchema: z.ZodOptional<z.ZodAny>;
45
- isOutdated: z.ZodOptional<z.ZodBoolean>;
46
45
  }, "strip", z.ZodTypeAny, {
47
46
  id: string;
48
47
  name: string;
@@ -51,6 +50,7 @@ export declare const BaseActionInstance: z.ZodObject<{
51
50
  type?: ActionType | undefined;
52
51
  uuid?: string | undefined;
53
52
  description?: string | undefined;
53
+ meta?: Record<string, any> | undefined;
54
54
  state?: import("../../types").WorkspaceElementState | undefined;
55
55
  errors?: import("../../..").ErrorDataSchema[] | undefined;
56
56
  revision?: string | undefined;
@@ -58,14 +58,12 @@ export declare const BaseActionInstance: z.ZodObject<{
58
58
  updatedAt?: string | undefined;
59
59
  archivedAt?: string | undefined;
60
60
  isDeactivated?: boolean | undefined;
61
- instanceKey?: string | undefined;
62
61
  parentId?: string | undefined;
62
+ instanceKey?: string | undefined;
63
63
  inputSchema?: any;
64
64
  config?: any;
65
- parentRevision?: string | undefined;
66
65
  outputSchema?: any;
67
66
  universalParentId?: string | undefined;
68
- isOutdated?: boolean | undefined;
69
67
  }, {
70
68
  id: string;
71
69
  name: string;
@@ -74,6 +72,7 @@ export declare const BaseActionInstance: z.ZodObject<{
74
72
  type?: ActionType | undefined;
75
73
  uuid?: string | undefined;
76
74
  description?: string | undefined;
75
+ meta?: Record<string, any> | undefined;
77
76
  state?: import("../../types").WorkspaceElementState | undefined;
78
77
  errors?: import("../../..").ErrorDataSchema[] | undefined;
79
78
  revision?: string | undefined;
@@ -81,13 +80,11 @@ export declare const BaseActionInstance: z.ZodObject<{
81
80
  updatedAt?: string | undefined;
82
81
  archivedAt?: string | undefined;
83
82
  isDeactivated?: boolean | undefined;
84
- instanceKey?: string | undefined;
85
83
  parentId?: string | undefined;
84
+ instanceKey?: string | undefined;
86
85
  inputSchema?: any;
87
86
  config?: any;
88
- parentRevision?: string | undefined;
89
87
  outputSchema?: any;
90
88
  universalParentId?: string | undefined;
91
- isOutdated?: boolean | undefined;
92
89
  }>;
93
90
  export type BaseActionInstance = z.infer<typeof BaseActionInstance>;
@@ -22,8 +22,8 @@ export declare const BaseActionRunLogRecord: z.ZodObject<{
22
22
  id: string;
23
23
  name: string;
24
24
  createdAt: string;
25
- connectionId: string;
26
25
  integrationId: string;
26
+ connectionId: string;
27
27
  actionId: string;
28
28
  error?: ErrorDataSchema | undefined;
29
29
  input?: any;
@@ -34,8 +34,8 @@ export declare const BaseActionRunLogRecord: z.ZodObject<{
34
34
  id: string;
35
35
  name: string;
36
36
  createdAt: string;
37
- connectionId: string;
38
37
  integrationId: string;
38
+ connectionId: string;
39
39
  actionId: string;
40
40
  error?: ErrorDataSchema | undefined;
41
41
  input?: any;
@@ -7,6 +7,7 @@ export declare const ActionEditableProperties: z.ZodObject<{
7
7
  name: z.ZodOptional<z.ZodString>;
8
8
  uuid: z.ZodOptional<z.ZodString>;
9
9
  description: z.ZodOptional<z.ZodString>;
10
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10
11
  } & {
11
12
  integrationId: z.ZodOptional<z.ZodString>;
12
13
  parentId: z.ZodOptional<z.ZodString>;
@@ -21,6 +22,7 @@ export declare const ActionEditableProperties: z.ZodObject<{
21
22
  name?: string | undefined;
22
23
  uuid?: string | undefined;
23
24
  description?: string | undefined;
25
+ meta?: Record<string, any> | undefined;
24
26
  integrationId?: string | undefined;
25
27
  parentId?: string | undefined;
26
28
  inputSchema?: DataSchema | undefined;
@@ -33,6 +35,7 @@ export declare const ActionEditableProperties: z.ZodObject<{
33
35
  name?: string | undefined;
34
36
  uuid?: string | undefined;
35
37
  description?: string | undefined;
38
+ meta?: Record<string, any> | undefined;
36
39
  integrationId?: string | undefined;
37
40
  parentId?: string | undefined;
38
41
  inputSchema?: DataSchema | undefined;
@@ -43,15 +46,10 @@ export declare const ActionEditableProperties: z.ZodObject<{
43
46
  export type ActionEditableProperties = z.infer<typeof ActionEditableProperties>;
44
47
  export declare const BaseAction: z.ZodObject<{
45
48
  id: z.ZodString;
46
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
47
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
48
- revision: z.ZodOptional<z.ZodString>;
49
- createdAt: z.ZodOptional<z.ZodString>;
50
- updatedAt: z.ZodOptional<z.ZodString>;
51
- archivedAt: z.ZodOptional<z.ZodString>;
52
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
49
+ key: z.ZodOptional<z.ZodString>;
53
50
  uuid: z.ZodOptional<z.ZodString>;
54
51
  description: z.ZodOptional<z.ZodString>;
52
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
55
53
  integrationId: z.ZodOptional<z.ZodString>;
56
54
  parentId: z.ZodOptional<z.ZodString>;
57
55
  inputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
@@ -60,17 +58,23 @@ export declare const BaseAction: z.ZodObject<{
60
58
  outputMapping: z.ZodOptional<z.ZodAny>;
61
59
  customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
62
60
  } & {
63
- key: z.ZodString;
64
61
  name: z.ZodString;
62
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
63
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
64
+ revision: z.ZodOptional<z.ZodString>;
65
+ createdAt: z.ZodOptional<z.ZodString>;
66
+ updatedAt: z.ZodOptional<z.ZodString>;
67
+ archivedAt: z.ZodOptional<z.ZodString>;
68
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
65
69
  isCustomized: z.ZodOptional<z.ZodBoolean>;
66
- parentRevision: z.ZodOptional<z.ZodString>;
67
70
  }, "strip", z.ZodTypeAny, {
68
- key: string;
69
71
  id: string;
70
72
  name: string;
73
+ key?: string | undefined;
71
74
  type?: ActionType | undefined;
72
75
  uuid?: string | undefined;
73
76
  description?: string | undefined;
77
+ meta?: Record<string, any> | undefined;
74
78
  state?: import("../../types").WorkspaceElementState | undefined;
75
79
  errors?: import("../../..").ErrorDataSchema[] | undefined;
76
80
  revision?: string | undefined;
@@ -80,19 +84,19 @@ export declare const BaseAction: z.ZodObject<{
80
84
  isDeactivated?: boolean | undefined;
81
85
  integrationId?: string | undefined;
82
86
  parentId?: string | undefined;
87
+ isCustomized?: boolean | undefined;
83
88
  inputSchema?: DataSchema | undefined;
84
89
  config?: any;
85
90
  outputMapping?: any;
86
91
  customOutputSchema?: DataSchema | undefined;
87
- isCustomized?: boolean | undefined;
88
- parentRevision?: string | undefined;
89
92
  }, {
90
- key: string;
91
93
  id: string;
92
94
  name: string;
95
+ key?: string | undefined;
93
96
  type?: ActionType | undefined;
94
97
  uuid?: string | undefined;
95
98
  description?: string | undefined;
99
+ meta?: Record<string, any> | undefined;
96
100
  state?: import("../../types").WorkspaceElementState | undefined;
97
101
  errors?: import("../../..").ErrorDataSchema[] | undefined;
98
102
  revision?: string | undefined;
@@ -102,11 +106,10 @@ export declare const BaseAction: z.ZodObject<{
102
106
  isDeactivated?: boolean | undefined;
103
107
  integrationId?: string | undefined;
104
108
  parentId?: string | undefined;
109
+ isCustomized?: boolean | undefined;
105
110
  inputSchema?: DataSchema | undefined;
106
111
  config?: any;
107
112
  outputMapping?: any;
108
113
  customOutputSchema?: DataSchema | undefined;
109
- isCustomized?: boolean | undefined;
110
- parentRevision?: string | undefined;
111
114
  }>;
112
115
  export type BaseAction = z.infer<typeof BaseAction>;
@@ -5,6 +5,7 @@ export declare const BaseAppDataSchemaInstance: z.ZodObject<{
5
5
  key: z.ZodOptional<z.ZodString>;
6
6
  uuid: z.ZodOptional<z.ZodString>;
7
7
  description: z.ZodOptional<z.ZodString>;
8
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8
9
  name: z.ZodString;
9
10
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
10
11
  errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
@@ -32,6 +33,7 @@ export declare const BaseAppDataSchemaInstance: z.ZodObject<{
32
33
  error?: ErrorDataSchema | undefined;
33
34
  uuid?: string | undefined;
34
35
  description?: string | undefined;
36
+ meta?: Record<string, any> | undefined;
35
37
  state?: import("../../types").WorkspaceElementState | undefined;
36
38
  errors?: ErrorDataSchema[] | undefined;
37
39
  revision?: string | undefined;
@@ -52,6 +54,7 @@ export declare const BaseAppDataSchemaInstance: z.ZodObject<{
52
54
  error?: ErrorDataSchema | undefined;
53
55
  uuid?: string | undefined;
54
56
  description?: string | undefined;
57
+ meta?: Record<string, any> | undefined;
55
58
  state?: import("../../types").WorkspaceElementState | undefined;
56
59
  errors?: ErrorDataSchema[] | undefined;
57
60
  revision?: string | undefined;
@@ -4,6 +4,7 @@ export declare const BaseAppDataSchema: z.ZodObject<{
4
4
  key: z.ZodOptional<z.ZodString>;
5
5
  uuid: z.ZodOptional<z.ZodString>;
6
6
  description: z.ZodOptional<z.ZodString>;
7
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7
8
  name: z.ZodString;
8
9
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
9
10
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
@@ -22,6 +23,7 @@ export declare const BaseAppDataSchema: z.ZodObject<{
22
23
  code?: string | undefined;
23
24
  uuid?: string | undefined;
24
25
  description?: string | undefined;
26
+ meta?: Record<string, any> | undefined;
25
27
  state?: import("../../types").WorkspaceElementState | undefined;
26
28
  errors?: import("../../..").ErrorDataSchema[] | undefined;
27
29
  revision?: string | undefined;
@@ -37,6 +39,7 @@ export declare const BaseAppDataSchema: z.ZodObject<{
37
39
  code?: string | undefined;
38
40
  uuid?: string | undefined;
39
41
  description?: string | undefined;
42
+ meta?: Record<string, any> | undefined;
40
43
  state?: import("../../types").WorkspaceElementState | undefined;
41
44
  errors?: import("../../..").ErrorDataSchema[] | undefined;
42
45
  revision?: string | undefined;
@@ -5,6 +5,7 @@ export declare const BaseAppEventSubscription: z.ZodObject<{
5
5
  key: z.ZodOptional<z.ZodString>;
6
6
  uuid: z.ZodOptional<z.ZodString>;
7
7
  description: z.ZodOptional<z.ZodString>;
8
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8
9
  name: z.ZodString;
9
10
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
10
11
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
@@ -58,6 +59,7 @@ export declare const BaseAppEventSubscription: z.ZodObject<{
58
59
  key?: string | undefined;
59
60
  uuid?: string | undefined;
60
61
  description?: string | undefined;
62
+ meta?: Record<string, any> | undefined;
61
63
  state?: import("../../types").WorkspaceElementState | undefined;
62
64
  errors?: import("../../..").ErrorDataSchema[] | undefined;
63
65
  createdAt?: string | undefined;
@@ -85,6 +87,7 @@ export declare const BaseAppEventSubscription: z.ZodObject<{
85
87
  key?: string | undefined;
86
88
  uuid?: string | undefined;
87
89
  description?: string | undefined;
90
+ meta?: Record<string, any> | undefined;
88
91
  state?: import("../../types").WorkspaceElementState | undefined;
89
92
  errors?: import("../../..").ErrorDataSchema[] | undefined;
90
93
  createdAt?: string | undefined;
@@ -5,6 +5,7 @@ export declare const BaseAppEventType: z.ZodObject<{
5
5
  key: z.ZodOptional<z.ZodString>;
6
6
  uuid: z.ZodOptional<z.ZodString>;
7
7
  description: z.ZodOptional<z.ZodString>;
8
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8
9
  name: z.ZodString;
9
10
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
10
11
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
@@ -45,6 +46,7 @@ export declare const BaseAppEventType: z.ZodObject<{
45
46
  key?: string | undefined;
46
47
  uuid?: string | undefined;
47
48
  description?: string | undefined;
49
+ meta?: Record<string, any> | undefined;
48
50
  state?: import("../../types").WorkspaceElementState | undefined;
49
51
  errors?: import("../../..").ErrorDataSchema[] | undefined;
50
52
  createdAt?: string | undefined;
@@ -69,6 +71,7 @@ export declare const BaseAppEventType: z.ZodObject<{
69
71
  key?: string | undefined;
70
72
  uuid?: string | undefined;
71
73
  description?: string | undefined;
74
+ meta?: Record<string, any> | undefined;
72
75
  state?: import("../../types").WorkspaceElementState | undefined;
73
76
  errors?: import("../../..").ErrorDataSchema[] | undefined;
74
77
  createdAt?: string | undefined;
@@ -33,6 +33,7 @@ export declare const BaseConnection: z.ZodObject<{
33
33
  isTest: z.ZodOptional<z.ZodBoolean>;
34
34
  disconnected: z.ZodOptional<z.ZodBoolean>;
35
35
  isDefunct: z.ZodOptional<z.ZodBoolean>;
36
+ state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
36
37
  error: z.ZodOptional<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>>;
37
38
  integrationId: z.ZodString;
38
39
  authOptionKey: z.ZodOptional<z.ZodString>;
@@ -42,24 +43,21 @@ export declare const BaseConnection: z.ZodObject<{
42
43
  nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
43
44
  archivedAt: z.ZodOptional<z.ZodString>;
44
45
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
45
- state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
46
- errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
47
46
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
48
47
  }, "strip", z.ZodTypeAny, {
49
48
  id: string;
50
49
  name: string;
51
50
  createdAt: string;
52
51
  updatedAt: string;
53
- userId: string;
54
52
  integrationId: string;
53
+ userId: string;
55
54
  error?: ErrorDataSchema | undefined;
55
+ meta?: Record<string, any> | undefined;
56
56
  state?: WorkspaceElementState | undefined;
57
- errors?: ErrorDataSchema[] | undefined;
58
57
  archivedAt?: string | undefined;
59
58
  isDeactivated?: boolean | undefined;
60
59
  authOptionKey?: string | undefined;
61
60
  isTest?: boolean | undefined;
62
- meta?: Record<string, any> | undefined;
63
61
  disconnected?: boolean | undefined;
64
62
  isDefunct?: boolean | undefined;
65
63
  lastActiveAt?: string | undefined;
@@ -69,16 +67,15 @@ export declare const BaseConnection: z.ZodObject<{
69
67
  name: string;
70
68
  createdAt: string;
71
69
  updatedAt: string;
72
- userId: string;
73
70
  integrationId: string;
71
+ userId: string;
74
72
  error?: ErrorDataSchema | undefined;
73
+ meta?: Record<string, any> | undefined;
75
74
  state?: WorkspaceElementState | undefined;
76
- errors?: ErrorDataSchema[] | undefined;
77
75
  archivedAt?: string | undefined;
78
76
  isDeactivated?: boolean | undefined;
79
77
  authOptionKey?: string | undefined;
80
78
  isTest?: boolean | undefined;
81
- meta?: Record<string, any> | undefined;
82
79
  disconnected?: boolean | undefined;
83
80
  isDefunct?: boolean | undefined;
84
81
  lastActiveAt?: string | undefined;
@@ -2,6 +2,7 @@ import { z } from 'zod';
2
2
  export declare const BaseCustomer: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  name: z.ZodString;
5
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
5
6
  internalId: z.ZodString;
6
7
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7
8
  credentials: z.ZodOptional<z.ZodAny>;
@@ -14,6 +15,7 @@ export declare const BaseCustomer: z.ZodObject<{
14
15
  id: string;
15
16
  name: string;
16
17
  internalId: string;
18
+ meta?: Record<string, any> | undefined;
17
19
  createdAt?: string | undefined;
18
20
  archivedAt?: string | undefined;
19
21
  credentials?: any;
@@ -25,6 +27,7 @@ export declare const BaseCustomer: z.ZodObject<{
25
27
  id: string;
26
28
  name: string;
27
29
  internalId: string;
30
+ meta?: Record<string, any> | undefined;
28
31
  createdAt?: string | undefined;
29
32
  archivedAt?: string | undefined;
30
33
  credentials?: any;
@@ -5,6 +5,7 @@ export declare const BaseDataLinkTableInstance: z.ZodObject<{
5
5
  key: z.ZodOptional<z.ZodString>;
6
6
  uuid: z.ZodOptional<z.ZodString>;
7
7
  description: z.ZodOptional<z.ZodString>;
8
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8
9
  name: z.ZodString;
9
10
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
10
11
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
@@ -22,11 +23,12 @@ export declare const BaseDataLinkTableInstance: z.ZodObject<{
22
23
  }, "strip", z.ZodTypeAny, {
23
24
  id: string;
24
25
  name: string;
25
- userId: string;
26
26
  integrationId: string;
27
+ userId: string;
27
28
  key?: string | undefined;
28
29
  uuid?: string | undefined;
29
30
  description?: string | undefined;
31
+ meta?: Record<string, any> | undefined;
30
32
  state?: import("../../types").WorkspaceElementState | undefined;
31
33
  errors?: import("../../..").ErrorDataSchema[] | undefined;
32
34
  revision?: string | undefined;
@@ -40,11 +42,12 @@ export declare const BaseDataLinkTableInstance: z.ZodObject<{
40
42
  }, {
41
43
  id: string;
42
44
  name: string;
43
- userId: string;
44
45
  integrationId: string;
46
+ userId: string;
45
47
  key?: string | undefined;
46
48
  uuid?: string | undefined;
47
49
  description?: string | undefined;
50
+ meta?: Record<string, any> | undefined;
48
51
  state?: import("../../types").WorkspaceElementState | undefined;
49
52
  errors?: import("../../..").ErrorDataSchema[] | undefined;
50
53
  revision?: string | undefined;
@@ -9,6 +9,7 @@ export declare const BaseDataLinkTable: z.ZodObject<{
9
9
  key: z.ZodOptional<z.ZodString>;
10
10
  uuid: z.ZodOptional<z.ZodString>;
11
11
  description: z.ZodOptional<z.ZodString>;
12
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
12
13
  name: z.ZodString;
13
14
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
14
15
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
@@ -24,6 +25,7 @@ export declare const BaseDataLinkTable: z.ZodObject<{
24
25
  key?: string | undefined;
25
26
  uuid?: string | undefined;
26
27
  description?: string | undefined;
28
+ meta?: Record<string, any> | undefined;
27
29
  state?: import("../../types").WorkspaceElementState | undefined;
28
30
  errors?: import("../../..").ErrorDataSchema[] | undefined;
29
31
  revision?: string | undefined;
@@ -37,6 +39,7 @@ export declare const BaseDataLinkTable: z.ZodObject<{
37
39
  key?: string | undefined;
38
40
  uuid?: string | undefined;
39
41
  description?: string | undefined;
42
+ meta?: Record<string, any> | undefined;
40
43
  state?: import("../../types").WorkspaceElementState | undefined;
41
44
  errors?: import("../../..").ErrorDataSchema[] | undefined;
42
45
  revision?: string | undefined;
@@ -5,6 +5,7 @@ export declare const BaseDataSourceInstance: z.ZodObject<{
5
5
  key: z.ZodOptional<z.ZodString>;
6
6
  uuid: z.ZodOptional<z.ZodString>;
7
7
  description: z.ZodOptional<z.ZodString>;
8
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8
9
  name: z.ZodString;
9
10
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
10
11
  createdAt: z.ZodOptional<z.ZodString>;
@@ -725,19 +726,21 @@ export declare const BaseDataSourceInstance: z.ZodObject<{
725
726
  id: string;
726
727
  name: string;
727
728
  revision: string;
729
+ integrationId: string;
728
730
  userId: string;
729
731
  connectionId: string;
730
- integrationId: string;
731
732
  key?: string | undefined;
732
733
  path?: string | undefined;
733
734
  uuid?: string | undefined;
734
735
  description?: string | undefined;
736
+ meta?: Record<string, any> | undefined;
735
737
  state?: import("../../types").WorkspaceElementState | undefined;
736
738
  errors?: ErrorDataSchema[] | undefined;
737
739
  createdAt?: string | undefined;
738
740
  updatedAt?: string | undefined;
739
741
  archivedAt?: string | undefined;
740
742
  isDeactivated?: boolean | undefined;
743
+ isCustomized?: boolean | undefined;
741
744
  instanceKey?: string | undefined;
742
745
  dataSourceId?: string | undefined;
743
746
  udm?: string | undefined;
@@ -876,7 +879,6 @@ export declare const BaseDataSourceInstance: z.ZodObject<{
876
879
  } | undefined;
877
880
  customFields?: boolean | undefined;
878
881
  } | undefined;
879
- isCustomized?: boolean | undefined;
880
882
  dataSourceRevision?: string | undefined;
881
883
  universalDataSourceId?: string | undefined;
882
884
  collectionKey?: string | undefined;
@@ -890,19 +892,21 @@ export declare const BaseDataSourceInstance: z.ZodObject<{
890
892
  id: string;
891
893
  name: string;
892
894
  revision: string;
895
+ integrationId: string;
893
896
  userId: string;
894
897
  connectionId: string;
895
- integrationId: string;
896
898
  key?: string | undefined;
897
899
  path?: string | undefined;
898
900
  uuid?: string | undefined;
899
901
  description?: string | undefined;
902
+ meta?: Record<string, any> | undefined;
900
903
  state?: import("../../types").WorkspaceElementState | undefined;
901
904
  errors?: ErrorDataSchema[] | undefined;
902
905
  createdAt?: string | undefined;
903
906
  updatedAt?: string | undefined;
904
907
  archivedAt?: string | undefined;
905
908
  isDeactivated?: boolean | undefined;
909
+ isCustomized?: boolean | undefined;
906
910
  instanceKey?: string | undefined;
907
911
  dataSourceId?: string | undefined;
908
912
  udm?: string | undefined;
@@ -1041,7 +1045,6 @@ export declare const BaseDataSourceInstance: z.ZodObject<{
1041
1045
  } | undefined;
1042
1046
  customFields?: boolean | undefined;
1043
1047
  } | undefined;
1044
- isCustomized?: boolean | undefined;
1045
1048
  dataSourceRevision?: string | undefined;
1046
1049
  universalDataSourceId?: string | undefined;
1047
1050
  collectionKey?: string | undefined;
@@ -30,14 +30,21 @@ export declare const BaseDataSource: z.ZodObject<{
30
30
  key: z.ZodOptional<z.ZodString>;
31
31
  uuid: z.ZodOptional<z.ZodString>;
32
32
  description: z.ZodOptional<z.ZodString>;
33
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
34
+ integrationId: z.ZodOptional<z.ZodString>;
35
+ parentId: z.ZodOptional<z.ZodString>;
36
+ } & {
33
37
  name: z.ZodString;
34
38
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
35
39
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
40
+ revision: z.ZodOptional<z.ZodString>;
41
+ createdAt: z.ZodOptional<z.ZodString>;
42
+ updatedAt: z.ZodOptional<z.ZodString>;
43
+ archivedAt: z.ZodOptional<z.ZodString>;
36
44
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
45
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
37
46
  } & {
38
- revision: z.ZodString;
39
47
  publishedRevision: z.ZodOptional<z.ZodString>;
40
- integrationId: z.ZodOptional<z.ZodString>;
41
48
  universalDataSourceId: z.ZodOptional<z.ZodString>;
42
49
  universalDataSourceRevision: z.ZodOptional<z.ZodString>;
43
50
  udm: z.ZodOptional<z.ZodString>;
@@ -45,27 +52,25 @@ export declare const BaseDataSource: z.ZodObject<{
45
52
  fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
46
53
  collectionKey: z.ZodOptional<z.ZodString>;
47
54
  collectionParameters: z.ZodOptional<z.ZodAny>;
48
- archivedAt: z.ZodOptional<z.ZodString>;
49
- createdAt: z.ZodOptional<z.ZodString>;
50
- updatedAt: z.ZodOptional<z.ZodString>;
51
- customized: z.ZodOptional<z.ZodBoolean>;
52
55
  defaultPath: z.ZodOptional<z.ZodString>;
53
56
  }, "strip", z.ZodTypeAny, {
54
57
  id: string;
55
58
  name: string;
56
- revision: string;
57
59
  key?: string | undefined;
58
60
  uuid?: string | undefined;
59
61
  description?: string | undefined;
62
+ meta?: Record<string, any> | undefined;
60
63
  state?: import("../../types").WorkspaceElementState | undefined;
61
64
  errors?: import("../../..").ErrorDataSchema[] | undefined;
65
+ revision?: string | undefined;
62
66
  createdAt?: string | undefined;
63
67
  updatedAt?: string | undefined;
64
68
  archivedAt?: string | undefined;
65
69
  isDeactivated?: boolean | undefined;
66
70
  integrationId?: string | undefined;
71
+ parentId?: string | undefined;
72
+ isCustomized?: boolean | undefined;
67
73
  publishedRevision?: string | undefined;
68
- customized?: boolean | undefined;
69
74
  udm?: string | undefined;
70
75
  universalDataSourceId?: string | undefined;
71
76
  collectionKey?: string | undefined;
@@ -77,19 +82,21 @@ export declare const BaseDataSource: z.ZodObject<{
77
82
  }, {
78
83
  id: string;
79
84
  name: string;
80
- revision: string;
81
85
  key?: string | undefined;
82
86
  uuid?: string | undefined;
83
87
  description?: string | undefined;
88
+ meta?: Record<string, any> | undefined;
84
89
  state?: import("../../types").WorkspaceElementState | undefined;
85
90
  errors?: import("../../..").ErrorDataSchema[] | undefined;
91
+ revision?: string | undefined;
86
92
  createdAt?: string | undefined;
87
93
  updatedAt?: string | undefined;
88
94
  archivedAt?: string | undefined;
89
95
  isDeactivated?: boolean | undefined;
90
96
  integrationId?: string | undefined;
97
+ parentId?: string | undefined;
98
+ isCustomized?: boolean | undefined;
91
99
  publishedRevision?: string | undefined;
92
- customized?: boolean | undefined;
93
100
  udm?: string | undefined;
94
101
  universalDataSourceId?: string | undefined;
95
102
  collectionKey?: string | undefined;
@@ -19,9 +19,9 @@ export declare const BaseExternalEventLogRecord: z.ZodObject<{
19
19
  }, "strip", z.ZodTypeAny, {
20
20
  status: ExternalEventLogStatus;
21
21
  id: string;
22
+ integrationId: string;
22
23
  userId: string;
23
24
  connectionId: string;
24
- integrationId: string;
25
25
  externalEventSubscriptionId: string;
26
26
  error?: ErrorDataSchema | undefined;
27
27
  name?: string | undefined;
@@ -30,9 +30,9 @@ export declare const BaseExternalEventLogRecord: z.ZodObject<{
30
30
  }, {
31
31
  status: ExternalEventLogStatus;
32
32
  id: string;
33
+ integrationId: string;
33
34
  userId: string;
34
35
  connectionId: string;
35
- integrationId: string;
36
36
  externalEventSubscriptionId: string;
37
37
  error?: ErrorDataSchema | undefined;
38
38
  name?: string | undefined;
@@ -22,9 +22,9 @@ export declare const BaseExternalEventPull: z.ZodObject<{
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  status: ExternalEventPullStatus;
24
24
  id: string;
25
+ integrationId: string;
25
26
  userId: string;
26
27
  connectionId: string;
27
- integrationId: string;
28
28
  startDatetime: string;
29
29
  endDatetime: string;
30
30
  externalEventSubscriptionId: string;
@@ -35,9 +35,9 @@ export declare const BaseExternalEventPull: z.ZodObject<{
35
35
  }, {
36
36
  status: ExternalEventPullStatus;
37
37
  id: string;
38
+ integrationId: string;
38
39
  userId: string;
39
40
  connectionId: string;
40
- integrationId: string;
41
41
  startDatetime: string;
42
42
  endDatetime: string;
43
43
  externalEventSubscriptionId: string;
@@ -146,9 +146,9 @@ export declare const BaseExternalEventSubscription: z.ZodObject<{
146
146
  globalWebhookEventSelector: z.ZodOptional<z.ZodString>;
147
147
  }, "strip", z.ZodTypeAny, {
148
148
  id: string;
149
+ integrationId: string;
149
150
  userId: string;
150
151
  connectionId: string;
151
- integrationId: string;
152
152
  status?: ExternalEventSubscriptionStatus | undefined;
153
153
  error?: ErrorDataSchema | undefined;
154
154
  name?: string | undefined;
@@ -180,9 +180,9 @@ export declare const BaseExternalEventSubscription: z.ZodObject<{
180
180
  globalWebhookEventSelector?: string | undefined;
181
181
  }, {
182
182
  id: string;
183
+ integrationId: string;
183
184
  userId: string;
184
185
  connectionId: string;
185
- integrationId: string;
186
186
  status?: ExternalEventSubscriptionStatus | undefined;
187
187
  error?: ErrorDataSchema | undefined;
188
188
  name?: string | undefined;