@membranehq/sdk 0.7.3 → 0.7.5

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 (88) hide show
  1. package/dist/bundle.d.ts +2283 -14038
  2. package/dist/bundle.js +3949 -4253
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/connections-accessors.d.ts +28 -28
  5. package/dist/dts/accessors/integrations-accessors.d.ts +28 -28
  6. package/dist/dts/config/index.d.ts +1 -11
  7. package/dist/dts/date-time/business-day.d.ts +2 -0
  8. package/dist/dts/date-time/business-day.test.d.ts +1 -0
  9. package/dist/dts/date-time/index.d.ts +1 -0
  10. package/dist/dts/entity-repository.d.ts +13 -64
  11. package/dist/dts/http-requests.d.ts +2 -14
  12. package/dist/dts/iframe.d.ts +4 -12
  13. package/dist/dts/scenario-templates/index.d.ts +60 -484
  14. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +17 -248
  15. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +23 -339
  16. package/dist/dts/workspace-elements/api/actions-api.d.ts +52 -639
  17. package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +8 -169
  18. package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +19 -51
  19. package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +15 -325
  20. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -248
  21. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +28 -90
  22. package/dist/dts/workspace-elements/api/connections-api.d.ts +56 -892
  23. package/dist/dts/workspace-elements/api/customers-api.d.ts +8 -68
  24. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +21 -369
  25. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +17 -45
  26. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +86 -1359
  27. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +164 -880
  28. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +29 -502
  29. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +29 -506
  30. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -381
  31. package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -425
  32. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +125 -2363
  33. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +109 -666
  34. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +66 -1229
  35. package/dist/dts/workspace-elements/api/flows-api.d.ts +273 -1874
  36. package/dist/dts/workspace-elements/api/integrations-api.d.ts +45 -287
  37. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +27 -450
  38. package/dist/dts/workspace-elements/api/screens-api.d.ts +11 -31
  39. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +6 -60
  40. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +3 -28
  41. package/dist/dts/workspace-elements/base/actions/index.d.ts +10 -82
  42. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +4 -47
  43. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -36
  44. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +6 -75
  45. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +6 -69
  46. package/dist/dts/workspace-elements/base/connections/types.d.ts +11 -56
  47. package/dist/dts/workspace-elements/base/connectors/types.d.ts +1 -11
  48. package/dist/dts/workspace-elements/base/customers/index.d.ts +1 -25
  49. package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +141 -1471
  50. package/dist/dts/workspace-elements/base/data-collections/types.d.ts +1 -29
  51. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +6 -61
  52. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -32
  53. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +60 -973
  54. package/dist/dts/workspace-elements/base/data-sources/index.d.ts +57 -2
  55. package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +4 -26
  56. package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +4 -30
  57. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +9 -161
  58. package/dist/dts/workspace-elements/base/external-events/types.d.ts +7 -121
  59. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +10 -77
  60. package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +71 -1
  61. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +16 -194
  62. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -132
  63. package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +29 -284
  64. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +13 -93
  65. package/dist/dts/workspace-elements/base/flows/index.d.ts +80 -1
  66. package/dist/dts/workspace-elements/base/flows/nodes/base.d.ts +30 -1
  67. package/dist/dts/workspace-elements/base/flows/nodes/index.d.ts +1 -1
  68. package/dist/dts/workspace-elements/base/integrations/types.d.ts +23 -539
  69. package/dist/dts/workspace-elements/base/scenarios/index.d.ts +11 -119
  70. package/dist/dts/workspace-elements/base/screens/types.d.ts +6 -31
  71. package/dist/dts/workspace-elements/types.d.ts +15 -153
  72. package/dist/index.browser.d.mts +7609 -26109
  73. package/dist/index.browser.d.ts +7609 -26109
  74. package/dist/index.browser.js +420 -419
  75. package/dist/index.browser.js.map +1 -1
  76. package/dist/index.browser.mjs +412 -415
  77. package/dist/index.browser.mjs.map +1 -1
  78. package/dist/index.node.d.mts +7537 -26047
  79. package/dist/index.node.d.ts +7537 -26047
  80. package/dist/index.node.js +420 -419
  81. package/dist/index.node.js.map +1 -1
  82. package/dist/index.node.mjs +412 -415
  83. package/dist/index.node.mjs.map +1 -1
  84. package/package.json +2 -2
  85. package/dist/dts/workspace-elements/base/data-sources/constants.d.ts +0 -4
  86. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +0 -109
  87. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +0 -136
  88. package/dist/dts/workspace-elements/base/flows/types.d.ts +0 -248
@@ -1,63 +1,17 @@
1
1
  import { z } from 'zod';
2
2
  import { IntegrationSpecificElementSelector } from '../../accessors';
3
- import { DataSchema } from '../../data-schema';
4
- import { CommonListElementsQuery } from '../../entity-repository';
5
- import { FieldMappingDirection } from '../base/field-mappings';
6
- export interface ListFieldMappingsForIntegrationQuery extends CommonListElementsQuery {
7
- universalFieldMappingId?: string | 'null';
8
- }
9
- export interface FindFieldMappingsQuery extends ListFieldMappingsForIntegrationQuery {
10
- integrationId?: string | 'null';
11
- }
12
- export interface UpdateFieldMappingRequest {
13
- key?: string;
14
- name?: string;
15
- dataSourceKey?: string;
16
- dataSourceId?: string;
17
- appSchema?: DataSchema;
18
- direction?: FieldMappingDirection;
19
- defaultImportValue?: any;
20
- exportValue?: any;
21
- importValue?: any;
22
- defaultExportValue?: any;
23
- frozenImportFields?: any;
24
- frozenExportFields?: any;
25
- frozenUnifiedExportFields?: any;
26
- archivedAt?: string;
27
- }
28
- export interface CreateFieldMappingRequest extends UpdateFieldMappingRequest {
29
- key: string;
30
- name: string;
31
- integrationId?: string;
32
- }
33
- export interface FieldMappingSelector extends IntegrationSpecificElementSelector {
34
- }
35
3
  export declare const FieldMappingApiResponse: z.ZodObject<{
36
4
  id: z.ZodString;
37
5
  key: z.ZodOptional<z.ZodString>;
38
- uuid: z.ZodOptional<z.ZodString>;
39
6
  description: z.ZodOptional<z.ZodString>;
7
+ uuid: z.ZodOptional<z.ZodString>;
40
8
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
41
9
  integrationId: z.ZodOptional<z.ZodString>;
42
- parentId: z.ZodOptional<z.ZodString>;
43
- } & {
44
- name: z.ZodString;
45
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
46
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
47
- revision: z.ZodOptional<z.ZodString>;
48
- createdAt: z.ZodOptional<z.ZodString>;
49
- updatedAt: z.ZodOptional<z.ZodString>;
50
- archivedAt: z.ZodOptional<z.ZodString>;
51
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
52
- isCustomized: z.ZodOptional<z.ZodBoolean>;
53
- } & {
54
- publishedRevision: z.ZodOptional<z.ZodString>;
55
10
  universalFieldMappingId: z.ZodOptional<z.ZodString>;
56
- universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
57
- dataSourceId: z.ZodOptional<z.ZodString>;
58
11
  dataSourceKey: z.ZodOptional<z.ZodString>;
59
- appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
60
- direction: z.ZodOptional<z.ZodNativeEnum<typeof FieldMappingDirection>>;
12
+ dataSourceId: z.ZodOptional<z.ZodString>;
13
+ appSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, unknown, z.core.$ZodTypeInternals<import("../..").DataSchema, unknown>>>;
14
+ direction: z.ZodOptional<z.ZodEnum<typeof import("../base/field-mappings").FieldMappingDirection>>;
61
15
  defaultImportValue: z.ZodOptional<z.ZodAny>;
62
16
  defaultExportValue: z.ZodOptional<z.ZodAny>;
63
17
  importValue: z.ZodOptional<z.ZodAny>;
@@ -65,7 +19,16 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
65
19
  frozenImportFields: z.ZodOptional<z.ZodAny>;
66
20
  frozenExportFields: z.ZodOptional<z.ZodAny>;
67
21
  frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
68
- } & {
22
+ name: z.ZodString;
23
+ state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
24
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
25
+ revision: z.ZodOptional<z.ZodString>;
26
+ createdAt: z.ZodOptional<z.ZodString>;
27
+ updatedAt: z.ZodOptional<z.ZodString>;
28
+ archivedAt: z.ZodOptional<z.ZodString>;
29
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
30
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
31
+ universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
69
32
  integration: z.ZodOptional<z.ZodObject<{
70
33
  id: z.ZodString;
71
34
  key: z.ZodOptional<z.ZodString>;
@@ -73,12 +36,11 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
73
36
  description: z.ZodOptional<z.ZodString>;
74
37
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
75
38
  name: z.ZodString;
76
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
77
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
39
+ state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
40
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
78
41
  revision: z.ZodOptional<z.ZodString>;
79
42
  createdAt: z.ZodOptional<z.ZodString>;
80
43
  updatedAt: z.ZodOptional<z.ZodString>;
81
- } & {
82
44
  logoUri: z.ZodString;
83
45
  connectorId: z.ZodOptional<z.ZodString>;
84
46
  connectorVersion: z.ZodOptional<z.ZodString>;
@@ -98,99 +60,28 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
98
60
  isTest: z.ZodOptional<z.ZodBoolean>;
99
61
  appUuid: z.ZodOptional<z.ZodString>;
100
62
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
101
- authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
102
- }, "strip", z.ZodTypeAny, {
103
- id: string;
104
- name: string;
105
- logoUri: string;
106
- key?: string | undefined;
107
- uuid?: string | undefined;
108
- description?: string | undefined;
109
- meta?: Record<string, any> | undefined;
110
- state?: import("..").WorkspaceElementState | undefined;
111
- errors?: import("../..").ErrorDataSchema[] | undefined;
112
- revision?: string | undefined;
113
- createdAt?: string | undefined;
114
- updatedAt?: string | undefined;
115
- archivedAt?: string | undefined;
116
- isDeactivated?: boolean | undefined;
117
- parameters?: any;
118
- connectorId?: string | undefined;
119
- connectorVersion?: string | undefined;
120
- oAuthCallbackUri?: string | undefined;
121
- hasMissingParameters?: boolean | undefined;
122
- hasDocumentation?: boolean | undefined;
123
- hasOperations?: boolean | undefined;
124
- operationsCount?: number | undefined;
125
- hasData?: boolean | undefined;
126
- dataCollectionsCount?: number | undefined;
127
- hasEvents?: boolean | undefined;
128
- eventsCount?: number | undefined;
129
- hasGlobalWebhooks?: boolean | undefined;
130
- hasUdm?: boolean | undefined;
131
- isTest?: boolean | undefined;
132
- appUuid?: string | undefined;
133
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
134
- }, {
135
- id: string;
136
- name: string;
137
- logoUri: string;
138
- key?: string | undefined;
139
- uuid?: string | undefined;
140
- description?: string | undefined;
141
- meta?: Record<string, any> | undefined;
142
- state?: import("..").WorkspaceElementState | undefined;
143
- errors?: import("../..").ErrorDataSchema[] | undefined;
144
- revision?: string | undefined;
145
- createdAt?: string | undefined;
146
- updatedAt?: string | undefined;
147
- archivedAt?: string | undefined;
148
- isDeactivated?: boolean | undefined;
149
- parameters?: any;
150
- connectorId?: string | undefined;
151
- connectorVersion?: string | undefined;
152
- oAuthCallbackUri?: string | undefined;
153
- hasMissingParameters?: boolean | undefined;
154
- hasDocumentation?: boolean | undefined;
155
- hasOperations?: boolean | undefined;
156
- operationsCount?: number | undefined;
157
- hasData?: boolean | undefined;
158
- dataCollectionsCount?: number | undefined;
159
- hasEvents?: boolean | undefined;
160
- eventsCount?: number | undefined;
161
- hasGlobalWebhooks?: boolean | undefined;
162
- hasUdm?: boolean | undefined;
163
- isTest?: boolean | undefined;
164
- appUuid?: string | undefined;
165
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
166
- }>>;
63
+ authType: z.ZodOptional<z.ZodEnum<{
64
+ proxy: "proxy";
65
+ "integration-app-token": "integration-app-token";
66
+ "membrane-token": "membrane-token";
67
+ oauth2: "oauth2";
68
+ oauth1: "oauth1";
69
+ "client-credentials": "client-credentials";
70
+ }>>;
71
+ }, z.core.$strip>>;
167
72
  appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
168
73
  element: z.ZodObject<{
169
74
  id: z.ZodString;
170
75
  key: z.ZodOptional<z.ZodString>;
171
- uuid: z.ZodOptional<z.ZodString>;
172
76
  description: z.ZodOptional<z.ZodString>;
77
+ uuid: z.ZodOptional<z.ZodString>;
173
78
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
174
79
  integrationId: z.ZodOptional<z.ZodString>;
175
- parentId: z.ZodOptional<z.ZodString>;
176
- } & {
177
- name: z.ZodString;
178
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
179
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
180
- revision: z.ZodOptional<z.ZodString>;
181
- createdAt: z.ZodOptional<z.ZodString>;
182
- updatedAt: z.ZodOptional<z.ZodString>;
183
- archivedAt: z.ZodOptional<z.ZodString>;
184
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
185
- isCustomized: z.ZodOptional<z.ZodBoolean>;
186
- } & {
187
- publishedRevision: z.ZodOptional<z.ZodString>;
188
80
  universalFieldMappingId: z.ZodOptional<z.ZodString>;
189
- universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
190
- dataSourceId: z.ZodOptional<z.ZodString>;
191
81
  dataSourceKey: z.ZodOptional<z.ZodString>;
192
- appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
193
- direction: z.ZodOptional<z.ZodNativeEnum<typeof FieldMappingDirection>>;
82
+ dataSourceId: z.ZodOptional<z.ZodString>;
83
+ appSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, unknown, z.core.$ZodTypeInternals<import("../..").DataSchema, unknown>>>;
84
+ direction: z.ZodOptional<z.ZodEnum<typeof import("../base/field-mappings").FieldMappingDirection>>;
194
85
  defaultImportValue: z.ZodOptional<z.ZodAny>;
195
86
  defaultExportValue: z.ZodOptional<z.ZodAny>;
196
87
  importValue: z.ZodOptional<z.ZodAny>;
@@ -198,69 +89,17 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
198
89
  frozenImportFields: z.ZodOptional<z.ZodAny>;
199
90
  frozenExportFields: z.ZodOptional<z.ZodAny>;
200
91
  frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
201
- }, "strip", z.ZodTypeAny, {
202
- id: string;
203
- name: string;
204
- key?: string | undefined;
205
- uuid?: string | undefined;
206
- description?: string | undefined;
207
- meta?: Record<string, any> | undefined;
208
- state?: import("..").WorkspaceElementState | undefined;
209
- errors?: import("../..").ErrorDataSchema[] | undefined;
210
- revision?: string | undefined;
211
- createdAt?: string | undefined;
212
- updatedAt?: string | undefined;
213
- archivedAt?: string | undefined;
214
- isDeactivated?: boolean | undefined;
215
- integrationId?: string | undefined;
216
- parentId?: string | undefined;
217
- isCustomized?: boolean | undefined;
218
- publishedRevision?: string | undefined;
219
- universalFieldMappingId?: string | undefined;
220
- universalFieldMappingRevision?: string | undefined;
221
- dataSourceId?: string | undefined;
222
- dataSourceKey?: string | undefined;
223
- appSchema?: DataSchema | undefined;
224
- direction?: FieldMappingDirection | undefined;
225
- defaultImportValue?: any;
226
- defaultExportValue?: any;
227
- importValue?: any;
228
- exportValue?: any;
229
- frozenImportFields?: any;
230
- frozenExportFields?: any;
231
- frozenUnifiedExportFields?: any;
232
- }, {
233
- id: string;
234
- name: string;
235
- key?: string | undefined;
236
- uuid?: string | undefined;
237
- description?: string | undefined;
238
- meta?: Record<string, any> | undefined;
239
- state?: import("..").WorkspaceElementState | undefined;
240
- errors?: import("../..").ErrorDataSchema[] | undefined;
241
- revision?: string | undefined;
242
- createdAt?: string | undefined;
243
- updatedAt?: string | undefined;
244
- archivedAt?: string | undefined;
245
- isDeactivated?: boolean | undefined;
246
- integrationId?: string | undefined;
247
- parentId?: string | undefined;
248
- isCustomized?: boolean | undefined;
249
- publishedRevision?: string | undefined;
250
- universalFieldMappingId?: string | undefined;
251
- universalFieldMappingRevision?: string | undefined;
252
- dataSourceId?: string | undefined;
253
- dataSourceKey?: string | undefined;
254
- appSchema?: DataSchema | undefined;
255
- direction?: FieldMappingDirection | undefined;
256
- defaultImportValue?: any;
257
- defaultExportValue?: any;
258
- importValue?: any;
259
- exportValue?: any;
260
- frozenImportFields?: any;
261
- frozenExportFields?: any;
262
- frozenUnifiedExportFields?: any;
263
- }>;
92
+ name: z.ZodString;
93
+ state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
94
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
95
+ revision: z.ZodOptional<z.ZodString>;
96
+ createdAt: z.ZodOptional<z.ZodString>;
97
+ updatedAt: z.ZodOptional<z.ZodString>;
98
+ archivedAt: z.ZodOptional<z.ZodString>;
99
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
100
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
101
+ universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
102
+ }, z.core.$strip>;
264
103
  integration: z.ZodObject<{
265
104
  id: z.ZodString;
266
105
  key: z.ZodOptional<z.ZodString>;
@@ -268,12 +107,11 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
268
107
  description: z.ZodOptional<z.ZodString>;
269
108
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
270
109
  name: z.ZodString;
271
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
272
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
110
+ state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
111
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
273
112
  revision: z.ZodOptional<z.ZodString>;
274
113
  createdAt: z.ZodOptional<z.ZodString>;
275
114
  updatedAt: z.ZodOptional<z.ZodString>;
276
- } & {
277
115
  logoUri: z.ZodString;
278
116
  connectorId: z.ZodOptional<z.ZodString>;
279
117
  connectorVersion: z.ZodOptional<z.ZodString>;
@@ -293,467 +131,72 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
293
131
  isTest: z.ZodOptional<z.ZodBoolean>;
294
132
  appUuid: z.ZodOptional<z.ZodString>;
295
133
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
296
- authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
297
- }, "strip", z.ZodTypeAny, {
298
- id: string;
299
- name: string;
300
- logoUri: string;
301
- key?: string | undefined;
302
- uuid?: string | undefined;
303
- description?: string | undefined;
304
- meta?: Record<string, any> | undefined;
305
- state?: import("..").WorkspaceElementState | undefined;
306
- errors?: import("../..").ErrorDataSchema[] | undefined;
307
- revision?: string | undefined;
308
- createdAt?: string | undefined;
309
- updatedAt?: string | undefined;
310
- archivedAt?: string | undefined;
311
- isDeactivated?: boolean | undefined;
312
- parameters?: any;
313
- connectorId?: string | undefined;
314
- connectorVersion?: string | undefined;
315
- oAuthCallbackUri?: string | undefined;
316
- hasMissingParameters?: boolean | undefined;
317
- hasDocumentation?: boolean | undefined;
318
- hasOperations?: boolean | undefined;
319
- operationsCount?: number | undefined;
320
- hasData?: boolean | undefined;
321
- dataCollectionsCount?: number | undefined;
322
- hasEvents?: boolean | undefined;
323
- eventsCount?: number | undefined;
324
- hasGlobalWebhooks?: boolean | undefined;
325
- hasUdm?: boolean | undefined;
326
- isTest?: boolean | undefined;
327
- appUuid?: string | undefined;
328
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
329
- }, {
330
- id: string;
331
- name: string;
332
- logoUri: string;
333
- key?: string | undefined;
334
- uuid?: string | undefined;
335
- description?: string | undefined;
336
- meta?: Record<string, any> | undefined;
337
- state?: import("..").WorkspaceElementState | undefined;
338
- errors?: import("../..").ErrorDataSchema[] | undefined;
339
- revision?: string | undefined;
340
- createdAt?: string | undefined;
341
- updatedAt?: string | undefined;
342
- archivedAt?: string | undefined;
343
- isDeactivated?: boolean | undefined;
344
- parameters?: any;
345
- connectorId?: string | undefined;
346
- connectorVersion?: string | undefined;
347
- oAuthCallbackUri?: string | undefined;
348
- hasMissingParameters?: boolean | undefined;
349
- hasDocumentation?: boolean | undefined;
350
- hasOperations?: boolean | undefined;
351
- operationsCount?: number | undefined;
352
- hasData?: boolean | undefined;
353
- dataCollectionsCount?: number | undefined;
354
- hasEvents?: boolean | undefined;
355
- eventsCount?: number | undefined;
356
- hasGlobalWebhooks?: boolean | undefined;
357
- hasUdm?: boolean | undefined;
358
- isTest?: boolean | undefined;
359
- appUuid?: string | undefined;
360
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
361
- }>;
362
- }, "strip", z.ZodTypeAny, {
363
- integration: {
364
- id: string;
365
- name: string;
366
- logoUri: string;
367
- key?: string | undefined;
368
- uuid?: string | undefined;
369
- description?: string | undefined;
370
- meta?: Record<string, any> | undefined;
371
- state?: import("..").WorkspaceElementState | undefined;
372
- errors?: import("../..").ErrorDataSchema[] | undefined;
373
- revision?: string | undefined;
374
- createdAt?: string | undefined;
375
- updatedAt?: string | undefined;
376
- archivedAt?: string | undefined;
377
- isDeactivated?: boolean | undefined;
378
- parameters?: any;
379
- connectorId?: string | undefined;
380
- connectorVersion?: string | undefined;
381
- oAuthCallbackUri?: string | undefined;
382
- hasMissingParameters?: boolean | undefined;
383
- hasDocumentation?: boolean | undefined;
384
- hasOperations?: boolean | undefined;
385
- operationsCount?: number | undefined;
386
- hasData?: boolean | undefined;
387
- dataCollectionsCount?: number | undefined;
388
- hasEvents?: boolean | undefined;
389
- eventsCount?: number | undefined;
390
- hasGlobalWebhooks?: boolean | undefined;
391
- hasUdm?: boolean | undefined;
392
- isTest?: boolean | undefined;
393
- appUuid?: string | undefined;
394
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
395
- };
396
- element: {
397
- id: string;
398
- name: string;
399
- key?: string | undefined;
400
- uuid?: string | undefined;
401
- description?: string | undefined;
402
- meta?: Record<string, any> | undefined;
403
- state?: import("..").WorkspaceElementState | undefined;
404
- errors?: import("../..").ErrorDataSchema[] | undefined;
405
- revision?: string | undefined;
406
- createdAt?: string | undefined;
407
- updatedAt?: string | undefined;
408
- archivedAt?: string | undefined;
409
- isDeactivated?: boolean | undefined;
410
- integrationId?: string | undefined;
411
- parentId?: string | undefined;
412
- isCustomized?: boolean | undefined;
413
- publishedRevision?: string | undefined;
414
- universalFieldMappingId?: string | undefined;
415
- universalFieldMappingRevision?: string | undefined;
416
- dataSourceId?: string | undefined;
417
- dataSourceKey?: string | undefined;
418
- appSchema?: DataSchema | undefined;
419
- direction?: FieldMappingDirection | undefined;
420
- defaultImportValue?: any;
421
- defaultExportValue?: any;
422
- importValue?: any;
423
- exportValue?: any;
424
- frozenImportFields?: any;
425
- frozenExportFields?: any;
426
- frozenUnifiedExportFields?: any;
427
- };
428
- }, {
429
- integration: {
430
- id: string;
431
- name: string;
432
- logoUri: string;
433
- key?: string | undefined;
434
- uuid?: string | undefined;
435
- description?: string | undefined;
436
- meta?: Record<string, any> | undefined;
437
- state?: import("..").WorkspaceElementState | undefined;
438
- errors?: import("../..").ErrorDataSchema[] | undefined;
439
- revision?: string | undefined;
440
- createdAt?: string | undefined;
441
- updatedAt?: string | undefined;
442
- archivedAt?: string | undefined;
443
- isDeactivated?: boolean | undefined;
444
- parameters?: any;
445
- connectorId?: string | undefined;
446
- connectorVersion?: string | undefined;
447
- oAuthCallbackUri?: string | undefined;
448
- hasMissingParameters?: boolean | undefined;
449
- hasDocumentation?: boolean | undefined;
450
- hasOperations?: boolean | undefined;
451
- operationsCount?: number | undefined;
452
- hasData?: boolean | undefined;
453
- dataCollectionsCount?: number | undefined;
454
- hasEvents?: boolean | undefined;
455
- eventsCount?: number | undefined;
456
- hasGlobalWebhooks?: boolean | undefined;
457
- hasUdm?: boolean | undefined;
458
- isTest?: boolean | undefined;
459
- appUuid?: string | undefined;
460
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
461
- };
462
- element: {
463
- id: string;
464
- name: string;
465
- key?: string | undefined;
466
- uuid?: string | undefined;
467
- description?: string | undefined;
468
- meta?: Record<string, any> | undefined;
469
- state?: import("..").WorkspaceElementState | undefined;
470
- errors?: import("../..").ErrorDataSchema[] | undefined;
471
- revision?: string | undefined;
472
- createdAt?: string | undefined;
473
- updatedAt?: string | undefined;
474
- archivedAt?: string | undefined;
475
- isDeactivated?: boolean | undefined;
476
- integrationId?: string | undefined;
477
- parentId?: string | undefined;
478
- isCustomized?: boolean | undefined;
479
- publishedRevision?: string | undefined;
480
- universalFieldMappingId?: string | undefined;
481
- universalFieldMappingRevision?: string | undefined;
482
- dataSourceId?: string | undefined;
483
- dataSourceKey?: string | undefined;
484
- appSchema?: DataSchema | undefined;
485
- direction?: FieldMappingDirection | undefined;
486
- defaultImportValue?: any;
487
- defaultExportValue?: any;
488
- importValue?: any;
489
- exportValue?: any;
490
- frozenImportFields?: any;
491
- frozenExportFields?: any;
492
- frozenUnifiedExportFields?: any;
493
- };
494
- }>, "many">>;
495
- }, "strip", z.ZodTypeAny, {
496
- id: string;
497
- name: string;
498
- key?: string | undefined;
499
- integration?: {
500
- id: string;
501
- name: string;
502
- logoUri: string;
503
- key?: string | undefined;
504
- uuid?: string | undefined;
505
- description?: string | undefined;
506
- meta?: Record<string, any> | undefined;
507
- state?: import("..").WorkspaceElementState | undefined;
508
- errors?: import("../..").ErrorDataSchema[] | undefined;
509
- revision?: string | undefined;
510
- createdAt?: string | undefined;
511
- updatedAt?: string | undefined;
512
- archivedAt?: string | undefined;
513
- isDeactivated?: boolean | undefined;
514
- parameters?: any;
515
- connectorId?: string | undefined;
516
- connectorVersion?: string | undefined;
517
- oAuthCallbackUri?: string | undefined;
518
- hasMissingParameters?: boolean | undefined;
519
- hasDocumentation?: boolean | undefined;
520
- hasOperations?: boolean | undefined;
521
- operationsCount?: number | undefined;
522
- hasData?: boolean | undefined;
523
- dataCollectionsCount?: number | undefined;
524
- hasEvents?: boolean | undefined;
525
- eventsCount?: number | undefined;
526
- hasGlobalWebhooks?: boolean | undefined;
527
- hasUdm?: boolean | undefined;
528
- isTest?: boolean | undefined;
529
- appUuid?: string | undefined;
530
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
531
- } | undefined;
532
- uuid?: string | undefined;
533
- description?: string | undefined;
534
- meta?: Record<string, any> | undefined;
535
- state?: import("..").WorkspaceElementState | undefined;
536
- errors?: import("../..").ErrorDataSchema[] | undefined;
537
- revision?: string | undefined;
538
- createdAt?: string | undefined;
539
- updatedAt?: string | undefined;
540
- archivedAt?: string | undefined;
541
- isDeactivated?: boolean | undefined;
542
- integrationId?: string | undefined;
543
- parentId?: string | undefined;
544
- isCustomized?: boolean | undefined;
545
- publishedRevision?: string | undefined;
546
- universalFieldMappingId?: string | undefined;
547
- universalFieldMappingRevision?: string | undefined;
548
- dataSourceId?: string | undefined;
549
- dataSourceKey?: string | undefined;
550
- appSchema?: DataSchema | undefined;
551
- direction?: FieldMappingDirection | undefined;
552
- defaultImportValue?: any;
553
- defaultExportValue?: any;
554
- importValue?: any;
555
- exportValue?: any;
556
- frozenImportFields?: any;
557
- frozenExportFields?: any;
558
- frozenUnifiedExportFields?: any;
559
- appliedToIntegrations?: {
560
- integration: {
561
- id: string;
562
- name: string;
563
- logoUri: string;
564
- key?: string | undefined;
565
- uuid?: string | undefined;
566
- description?: string | undefined;
567
- meta?: Record<string, any> | undefined;
568
- state?: import("..").WorkspaceElementState | undefined;
569
- errors?: import("../..").ErrorDataSchema[] | undefined;
570
- revision?: string | undefined;
571
- createdAt?: string | undefined;
572
- updatedAt?: string | undefined;
573
- archivedAt?: string | undefined;
574
- isDeactivated?: boolean | undefined;
575
- parameters?: any;
576
- connectorId?: string | undefined;
577
- connectorVersion?: string | undefined;
578
- oAuthCallbackUri?: string | undefined;
579
- hasMissingParameters?: boolean | undefined;
580
- hasDocumentation?: boolean | undefined;
581
- hasOperations?: boolean | undefined;
582
- operationsCount?: number | undefined;
583
- hasData?: boolean | undefined;
584
- dataCollectionsCount?: number | undefined;
585
- hasEvents?: boolean | undefined;
586
- eventsCount?: number | undefined;
587
- hasGlobalWebhooks?: boolean | undefined;
588
- hasUdm?: boolean | undefined;
589
- isTest?: boolean | undefined;
590
- appUuid?: string | undefined;
591
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
592
- };
593
- element: {
594
- id: string;
595
- name: string;
596
- key?: string | undefined;
597
- uuid?: string | undefined;
598
- description?: string | undefined;
599
- meta?: Record<string, any> | undefined;
600
- state?: import("..").WorkspaceElementState | undefined;
601
- errors?: import("../..").ErrorDataSchema[] | undefined;
602
- revision?: string | undefined;
603
- createdAt?: string | undefined;
604
- updatedAt?: string | undefined;
605
- archivedAt?: string | undefined;
606
- isDeactivated?: boolean | undefined;
607
- integrationId?: string | undefined;
608
- parentId?: string | undefined;
609
- isCustomized?: boolean | undefined;
610
- publishedRevision?: string | undefined;
611
- universalFieldMappingId?: string | undefined;
612
- universalFieldMappingRevision?: string | undefined;
613
- dataSourceId?: string | undefined;
614
- dataSourceKey?: string | undefined;
615
- appSchema?: DataSchema | undefined;
616
- direction?: FieldMappingDirection | undefined;
617
- defaultImportValue?: any;
618
- defaultExportValue?: any;
619
- importValue?: any;
620
- exportValue?: any;
621
- frozenImportFields?: any;
622
- frozenExportFields?: any;
623
- frozenUnifiedExportFields?: any;
624
- };
625
- }[] | undefined;
626
- }, {
627
- id: string;
628
- name: string;
629
- key?: string | undefined;
630
- integration?: {
631
- id: string;
632
- name: string;
633
- logoUri: string;
634
- key?: string | undefined;
635
- uuid?: string | undefined;
636
- description?: string | undefined;
637
- meta?: Record<string, any> | undefined;
638
- state?: import("..").WorkspaceElementState | undefined;
639
- errors?: import("../..").ErrorDataSchema[] | undefined;
640
- revision?: string | undefined;
641
- createdAt?: string | undefined;
642
- updatedAt?: string | undefined;
643
- archivedAt?: string | undefined;
644
- isDeactivated?: boolean | undefined;
645
- parameters?: any;
646
- connectorId?: string | undefined;
647
- connectorVersion?: string | undefined;
648
- oAuthCallbackUri?: string | undefined;
649
- hasMissingParameters?: boolean | undefined;
650
- hasDocumentation?: boolean | undefined;
651
- hasOperations?: boolean | undefined;
652
- operationsCount?: number | undefined;
653
- hasData?: boolean | undefined;
654
- dataCollectionsCount?: number | undefined;
655
- hasEvents?: boolean | undefined;
656
- eventsCount?: number | undefined;
657
- hasGlobalWebhooks?: boolean | undefined;
658
- hasUdm?: boolean | undefined;
659
- isTest?: boolean | undefined;
660
- appUuid?: string | undefined;
661
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
662
- } | undefined;
663
- uuid?: string | undefined;
664
- description?: string | undefined;
665
- meta?: Record<string, any> | undefined;
666
- state?: import("..").WorkspaceElementState | undefined;
667
- errors?: import("../..").ErrorDataSchema[] | undefined;
668
- revision?: string | undefined;
669
- createdAt?: string | undefined;
670
- updatedAt?: string | undefined;
671
- archivedAt?: string | undefined;
672
- isDeactivated?: boolean | undefined;
673
- integrationId?: string | undefined;
674
- parentId?: string | undefined;
675
- isCustomized?: boolean | undefined;
676
- publishedRevision?: string | undefined;
677
- universalFieldMappingId?: string | undefined;
678
- universalFieldMappingRevision?: string | undefined;
679
- dataSourceId?: string | undefined;
680
- dataSourceKey?: string | undefined;
681
- appSchema?: DataSchema | undefined;
682
- direction?: FieldMappingDirection | undefined;
683
- defaultImportValue?: any;
684
- defaultExportValue?: any;
685
- importValue?: any;
686
- exportValue?: any;
687
- frozenImportFields?: any;
688
- frozenExportFields?: any;
689
- frozenUnifiedExportFields?: any;
690
- appliedToIntegrations?: {
691
- integration: {
692
- id: string;
693
- name: string;
694
- logoUri: string;
695
- key?: string | undefined;
696
- uuid?: string | undefined;
697
- description?: string | undefined;
698
- meta?: Record<string, any> | undefined;
699
- state?: import("..").WorkspaceElementState | undefined;
700
- errors?: import("../..").ErrorDataSchema[] | undefined;
701
- revision?: string | undefined;
702
- createdAt?: string | undefined;
703
- updatedAt?: string | undefined;
704
- archivedAt?: string | undefined;
705
- isDeactivated?: boolean | undefined;
706
- parameters?: any;
707
- connectorId?: string | undefined;
708
- connectorVersion?: string | undefined;
709
- oAuthCallbackUri?: string | undefined;
710
- hasMissingParameters?: boolean | undefined;
711
- hasDocumentation?: boolean | undefined;
712
- hasOperations?: boolean | undefined;
713
- operationsCount?: number | undefined;
714
- hasData?: boolean | undefined;
715
- dataCollectionsCount?: number | undefined;
716
- hasEvents?: boolean | undefined;
717
- eventsCount?: number | undefined;
718
- hasGlobalWebhooks?: boolean | undefined;
719
- hasUdm?: boolean | undefined;
720
- isTest?: boolean | undefined;
721
- appUuid?: string | undefined;
722
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
723
- };
724
- element: {
725
- id: string;
726
- name: string;
727
- key?: string | undefined;
728
- uuid?: string | undefined;
729
- description?: string | undefined;
730
- meta?: Record<string, any> | undefined;
731
- state?: import("..").WorkspaceElementState | undefined;
732
- errors?: import("../..").ErrorDataSchema[] | undefined;
733
- revision?: string | undefined;
734
- createdAt?: string | undefined;
735
- updatedAt?: string | undefined;
736
- archivedAt?: string | undefined;
737
- isDeactivated?: boolean | undefined;
738
- integrationId?: string | undefined;
739
- parentId?: string | undefined;
740
- isCustomized?: boolean | undefined;
741
- publishedRevision?: string | undefined;
742
- universalFieldMappingId?: string | undefined;
743
- universalFieldMappingRevision?: string | undefined;
744
- dataSourceId?: string | undefined;
745
- dataSourceKey?: string | undefined;
746
- appSchema?: DataSchema | undefined;
747
- direction?: FieldMappingDirection | undefined;
748
- defaultImportValue?: any;
749
- defaultExportValue?: any;
750
- importValue?: any;
751
- exportValue?: any;
752
- frozenImportFields?: any;
753
- frozenExportFields?: any;
754
- frozenUnifiedExportFields?: any;
755
- };
756
- }[] | undefined;
757
- }>;
134
+ authType: z.ZodOptional<z.ZodEnum<{
135
+ proxy: "proxy";
136
+ "integration-app-token": "integration-app-token";
137
+ "membrane-token": "membrane-token";
138
+ oauth2: "oauth2";
139
+ oauth1: "oauth1";
140
+ "client-credentials": "client-credentials";
141
+ }>>;
142
+ }, z.core.$strip>;
143
+ }, z.core.$strip>>>;
144
+ }, z.core.$strip>;
758
145
  export type FieldMappingApiResponse = z.infer<typeof FieldMappingApiResponse>;
759
146
  export type FieldMapping = FieldMappingApiResponse;
147
+ export declare const FindFieldMappingsQuery: z.ZodObject<{
148
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
149
+ cursor: z.ZodOptional<z.ZodString>;
150
+ integrationId: z.ZodOptional<z.ZodString>;
151
+ integrationKey: z.ZodOptional<z.ZodString>;
152
+ universalFieldMappingId: z.ZodOptional<z.ZodString>;
153
+ search: z.ZodOptional<z.ZodString>;
154
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
155
+ }, z.core.$strip>;
156
+ export type FindFieldMappingsQuery = z.infer<typeof FindFieldMappingsQuery>;
157
+ export declare const CreateFieldMappingRequest: z.ZodObject<{
158
+ key: z.ZodOptional<z.ZodString>;
159
+ description: z.ZodOptional<z.ZodString>;
160
+ name: z.ZodOptional<z.ZodString>;
161
+ uuid: z.ZodOptional<z.ZodString>;
162
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
163
+ integrationId: z.ZodOptional<z.ZodString>;
164
+ universalFieldMappingId: z.ZodOptional<z.ZodString>;
165
+ dataSourceKey: z.ZodOptional<z.ZodString>;
166
+ dataSourceId: z.ZodOptional<z.ZodString>;
167
+ appSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, unknown, z.core.$ZodTypeInternals<import("../..").DataSchema, unknown>>>;
168
+ direction: z.ZodOptional<z.ZodEnum<typeof import("../base/field-mappings").FieldMappingDirection>>;
169
+ defaultImportValue: z.ZodOptional<z.ZodAny>;
170
+ defaultExportValue: z.ZodOptional<z.ZodAny>;
171
+ importValue: z.ZodOptional<z.ZodAny>;
172
+ exportValue: z.ZodOptional<z.ZodAny>;
173
+ frozenImportFields: z.ZodOptional<z.ZodAny>;
174
+ frozenExportFields: z.ZodOptional<z.ZodAny>;
175
+ frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
176
+ }, z.core.$strip>;
177
+ export type CreateFieldMappingRequest = z.infer<typeof CreateFieldMappingRequest>;
178
+ export declare const UpdateFieldMappingRequest: z.ZodObject<{
179
+ key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
180
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
181
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
182
+ uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
183
+ meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
184
+ integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
185
+ universalFieldMappingId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
186
+ dataSourceKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
187
+ dataSourceId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
188
+ appSchema: z.ZodOptional<z.ZodOptional<z.ZodType<import("../..").DataSchema, unknown, z.core.$ZodTypeInternals<import("../..").DataSchema, unknown>>>>;
189
+ direction: z.ZodOptional<z.ZodOptional<z.ZodEnum<typeof import("../base/field-mappings").FieldMappingDirection>>>;
190
+ defaultImportValue: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
191
+ defaultExportValue: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
192
+ importValue: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
193
+ exportValue: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
194
+ frozenImportFields: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
195
+ frozenExportFields: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
196
+ frozenUnifiedExportFields: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
197
+ }, z.core.$strip>;
198
+ export type UpdateFieldMappingRequest = z.infer<typeof UpdateFieldMappingRequest>;
199
+ export interface FieldMappingSelector extends IntegrationSpecificElementSelector {
200
+ }
201
+ export interface ListFieldMappingsForIntegrationQuery extends Omit<FindFieldMappingsQuery, 'integrationId' | 'integrationKey'> {
202
+ }