@membranehq/sdk 0.6.0 → 0.7.1
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 +177 -804
- package/dist/bundle.js +23 -19
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/action-instances-accessors.d.ts +8 -8
- package/dist/dts/accessors/actions-accessors.d.ts +7 -7
- package/dist/dts/accessors/app-data-schema-instances-accessors.d.ts +3 -3
- package/dist/dts/accessors/app-data-schemas-accessors.d.ts +3 -3
- package/dist/dts/accessors/app-event-subscriptions-accessors.d.ts +3 -3
- package/dist/dts/accessors/app-event-types-accessors.d.ts +3 -3
- package/dist/dts/accessors/base-accessors.d.ts +8 -8
- package/dist/dts/accessors/connections-accessors.d.ts +8 -8
- package/dist/dts/accessors/customers-accessors.d.ts +5 -5
- package/dist/dts/accessors/data-link-table-instances-accessors.d.ts +3 -3
- package/dist/dts/accessors/data-link-tables-accessors.d.ts +3 -3
- package/dist/dts/accessors/data-sources-accessors.d.ts +14 -14
- package/dist/dts/accessors/external-event-subscriptions-accessors.d.ts +3 -3
- package/dist/dts/accessors/field-mapping-instances-accessors.d.ts +7 -7
- package/dist/dts/accessors/field-mappings-accessors.d.ts +7 -7
- package/dist/dts/accessors/flow-instances-accessors.d.ts +8 -8
- package/dist/dts/accessors/flow-runs-accessors.d.ts +3 -3
- package/dist/dts/accessors/flows-accessors.d.ts +7 -7
- package/dist/dts/accessors/integrations-accessors.d.ts +3 -3
- package/dist/dts/accessors/scenarios-accessors.d.ts +3 -3
- package/dist/dts/accessors/screens-accessors.d.ts +3 -3
- package/dist/dts/api-client.d.ts +3 -3
- package/dist/dts/auth/accessors.d.ts +2 -2
- package/dist/dts/client.d.ts +5 -5
- package/dist/dts/data-builder/index.d.ts +1 -1
- package/dist/dts/data-schema/arbitrary-fields.test.d.ts +1 -0
- package/dist/dts/data-schema/types.d.ts +1 -0
- package/dist/dts/error-tools/index.d.ts +1 -1
- package/dist/dts/errors/index.d.ts +14 -14
- package/dist/dts/formulas/base.d.ts +3 -1
- package/dist/dts/index.d.ts +2 -1
- package/dist/dts/index.umd.d.ts +2 -2
- package/dist/dts/integration-elements/connection-level-element.accessor.d.ts +5 -5
- package/dist/dts/integration-elements/integration-level-element.accessor.d.ts +5 -5
- package/dist/dts/orgs/types.d.ts +1 -0
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +0 -3
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +20 -20
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +40 -40
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +0 -12
- package/dist/dts/workspace-elements/api/flows-api.d.ts +10 -623
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +0 -3
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +12 -12
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +0 -3
- package/dist/dts/workspace-elements/errors.d.ts +2 -2
- package/dist/index.d.ts +212 -842
- package/dist/index.js +84 -73
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +212 -842
- package/dist/index.module.mjs +79 -69
- package/dist/index.module.mjs.map +1 -1
- package/package.json +1 -1
package/dist/dts/api-client.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { AxiosRequestConfig } from 'axios';
|
|
|
2
2
|
export declare const axios: import("axios").AxiosInstance;
|
|
3
3
|
export declare const DEFAULT_API_URI = "https://api.integration.app";
|
|
4
4
|
export declare const DEFAULT_UI_URI = "https://ui.integration.app";
|
|
5
|
-
export interface
|
|
5
|
+
export interface MembraneClientOptions {
|
|
6
6
|
token?: string;
|
|
7
7
|
fetchToken?: () => Promise<string>;
|
|
8
8
|
credentials?: any;
|
|
@@ -11,12 +11,12 @@ export interface IntegrationAppClientOptions {
|
|
|
11
11
|
uiUri?: string;
|
|
12
12
|
accessToken?: string;
|
|
13
13
|
}
|
|
14
|
-
export declare class
|
|
14
|
+
export declare class MembraneApiClient {
|
|
15
15
|
apiUri: string;
|
|
16
16
|
uiUri: string;
|
|
17
17
|
token?: string;
|
|
18
18
|
protected fetchToken?: () => Promise<string>;
|
|
19
|
-
constructor({ uiUri, apiUri, accessToken, token, fetchToken, fetchCredentials, credentials, }?:
|
|
19
|
+
constructor({ uiUri, apiUri, accessToken, token, fetchToken, fetchCredentials, credentials, }?: MembraneClientOptions);
|
|
20
20
|
setCredentials(credentials: any): Promise<any>;
|
|
21
21
|
getToken(): Promise<string>;
|
|
22
22
|
get<T = any>(uri: string, queryParams?: Record<string, any>, options?: AxiosRequestConfig): Promise<T>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MembraneApiClient } from '../api-client';
|
|
2
2
|
import { Customer } from '../workspace-elements/api/customers-api';
|
|
3
3
|
export declare class SelfAccessor {
|
|
4
4
|
private client;
|
|
5
|
-
constructor(client:
|
|
5
|
+
constructor(client: MembraneApiClient);
|
|
6
6
|
get(): Promise<Customer>;
|
|
7
7
|
patch(data: Partial<{
|
|
8
8
|
credentials: any;
|
package/dist/dts/client.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { AppDataSchemaAccessor, AppDataSchemaInstanceAccessor, AppDataSchemaInstancesAccessor, AppDataSchemasAccessor, AppEventSubscriptionAccessor, AppEventSubscriptionsAccessor, AppEventTypeAccessor, AppEventTypesAccessor, DataLinkTableAccessor, DataLinkTableInstanceAccessor, DataLinkTableInstancesAccessor, DataLinkTablesAccessor, FieldMappingAccessor, FieldMappingInstanceAccessor, FieldMappingInstancesAccessor, FieldMappingsAccessor, FlowAccessor, FlowInstanceAccessor, FlowInstancesAccessor, FlowsAccessor, FlowRunAccessor, FlowRunsAccessor, ExternalEventSubscriptionAccessor, ExternalEventSubscriptionsAccessor, DataSourceAccessor, DataSourceInstanceAccessor, DataSourceInstancesAccessor, DataSourcesAccessor, ConnectionAccessor, ConnectionsAccessor, ActionAccessor, ActionInstanceAccessor, ActionInstancesAccessor, ActionsAccessor, IntegrationAccessor, IntegrationsAccessor, ScenarioAccessor, ScenariosAccessor, ScreenAccessor, ScreensAccessor, CustomerAccessor, CustomersAccessor } from './accessors/index';
|
|
2
|
-
import {
|
|
2
|
+
import { MembraneApiClient as MembraneApiClient, MembraneClientOptions as MembraneClientOptions } from './api-client';
|
|
3
3
|
import { SelfAccessor } from './auth';
|
|
4
4
|
import { OpenConfigurationOptions } from './iframe';
|
|
5
5
|
import { FlowInstanceSelector, FlowSelector, DataSourceInstanceSelector, DataSourceSelector, ActionInstanceSelector, ActionSelector, ScreenSelector, CustomerSelector, AppDataSchemaInstanceSelector, AppEventSubscriptionSelector, DataLinkTableInstanceSelector, FieldMappingInstanceSelector, FieldMappingSelector } from './workspace-elements/api';
|
|
6
|
-
interface
|
|
6
|
+
interface OpenMembraneConfigurationOptions extends OpenConfigurationOptions {
|
|
7
7
|
}
|
|
8
|
-
export declare class
|
|
9
|
-
constructor(options:
|
|
8
|
+
export declare class MembraneClient extends MembraneApiClient {
|
|
9
|
+
constructor(options: MembraneClientOptions);
|
|
10
10
|
get self(): SelfAccessor;
|
|
11
11
|
get flows(): FlowsAccessor;
|
|
12
|
-
open({ onClose }?:
|
|
12
|
+
open({ onClose }?: OpenMembraneConfigurationOptions): Promise<void>;
|
|
13
13
|
action(selector: string | ActionSelector): ActionAccessor;
|
|
14
14
|
get actions(): ActionsAccessor;
|
|
15
15
|
screen(selector: string | ScreenSelector): ScreenAccessor;
|
|
@@ -9,7 +9,7 @@ export { isFormula };
|
|
|
9
9
|
export { hasFormulas };
|
|
10
10
|
export declare function buildData(value: any, variables?: any): any;
|
|
11
11
|
export declare function buildValue(value: any, variables: any): any;
|
|
12
|
-
export declare function
|
|
12
|
+
export declare function __resolveValue<T = unknown>(value: unknown, params: ResolveFormulaParams): Promise<T>;
|
|
13
13
|
export declare function transformVars(value: any, transformations: Record<string, any>): any;
|
|
14
14
|
export declare function valueToString(value: any, variablesSchema: any): string;
|
|
15
15
|
export declare function resolveFormulas<T = unknown>(value: any, params: ResolveFormulaParams): Promise<T>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -41,45 +41,45 @@ export declare const ErrorDataSchema: z.ZodType<ErrorDataSchema>;
|
|
|
41
41
|
interface ErrorDataFields extends z.infer<typeof ErrorDataSchema> {
|
|
42
42
|
}
|
|
43
43
|
export type ErrorConstructorArg = string | ErrorDataFields | Error;
|
|
44
|
-
export declare function
|
|
44
|
+
export declare function isMembraneError(error: any): any;
|
|
45
45
|
export declare class ErrorData implements ErrorDataFields {
|
|
46
46
|
constructor(arg: ErrorConstructorArg);
|
|
47
47
|
}
|
|
48
48
|
export interface ErrorData extends ErrorDataFields {
|
|
49
49
|
}
|
|
50
|
-
export declare class
|
|
51
|
-
|
|
50
|
+
export declare class MembraneError extends Error {
|
|
51
|
+
isMembraneError: true;
|
|
52
52
|
data: ErrorData;
|
|
53
53
|
constructor(arg: ErrorConstructorArg);
|
|
54
54
|
}
|
|
55
|
-
export declare class InternalError extends
|
|
55
|
+
export declare class InternalError extends MembraneError {
|
|
56
56
|
constructor(arg: ErrorConstructorArg);
|
|
57
57
|
}
|
|
58
|
-
export declare class BadRequestError extends
|
|
58
|
+
export declare class BadRequestError extends MembraneError {
|
|
59
59
|
constructor(arg: ErrorConstructorArg);
|
|
60
60
|
}
|
|
61
|
-
export declare class ConcurrencyError extends
|
|
61
|
+
export declare class ConcurrencyError extends MembraneError {
|
|
62
62
|
constructor(arg: ErrorConstructorArg);
|
|
63
63
|
}
|
|
64
|
-
export declare class ConfigurationError extends
|
|
64
|
+
export declare class ConfigurationError extends MembraneError {
|
|
65
65
|
constructor(arg: ErrorConstructorArg);
|
|
66
66
|
}
|
|
67
|
-
export declare class FlowInstanceSetupError extends
|
|
67
|
+
export declare class FlowInstanceSetupError extends MembraneError {
|
|
68
68
|
constructor(arg: ErrorConstructorArg);
|
|
69
69
|
}
|
|
70
|
-
export declare class FlowRunError extends
|
|
70
|
+
export declare class FlowRunError extends MembraneError {
|
|
71
71
|
constructor(arg: ErrorConstructorArg);
|
|
72
72
|
}
|
|
73
|
-
export declare class ActionRunError extends
|
|
73
|
+
export declare class ActionRunError extends MembraneError {
|
|
74
74
|
constructor(arg: ErrorConstructorArg);
|
|
75
75
|
}
|
|
76
|
-
export declare class ActionInstanceSetupError extends
|
|
76
|
+
export declare class ActionInstanceSetupError extends MembraneError {
|
|
77
77
|
constructor(arg: ErrorConstructorArg);
|
|
78
78
|
}
|
|
79
|
-
export declare class UnitRunError extends
|
|
79
|
+
export declare class UnitRunError extends MembraneError {
|
|
80
80
|
constructor(arg: ErrorConstructorArg);
|
|
81
81
|
}
|
|
82
|
-
export declare class ConnectionError extends
|
|
82
|
+
export declare class ConnectionError extends MembraneError {
|
|
83
83
|
constructor(arg: ErrorConstructorArg);
|
|
84
84
|
}
|
|
85
85
|
export declare class NotFoundError extends BadRequestError {
|
|
@@ -94,7 +94,7 @@ export declare class NotAuthenticatedError extends BadRequestError {
|
|
|
94
94
|
export declare class AccessDeniedError extends BadRequestError {
|
|
95
95
|
constructor(arg: ErrorConstructorArg);
|
|
96
96
|
}
|
|
97
|
-
export declare class CustomCodeError extends
|
|
97
|
+
export declare class CustomCodeError extends MembraneError {
|
|
98
98
|
constructor(arg: ErrorConstructorArg);
|
|
99
99
|
}
|
|
100
100
|
export {};
|
|
@@ -28,10 +28,12 @@ export interface ResolveFormulaParams {
|
|
|
28
28
|
dataLinkTableKey: string;
|
|
29
29
|
recordId: string;
|
|
30
30
|
}) => Promise<string | undefined>;
|
|
31
|
-
resolveLookup?: ({ lookup, schema, }: {
|
|
31
|
+
resolveLookup?: ({ lookup, schema, fullValue, }: {
|
|
32
32
|
lookup: LookupValue;
|
|
33
33
|
schema: DataSchema | undefined;
|
|
34
|
+
fullValue: unknown;
|
|
34
35
|
}) => Promise<string | undefined>;
|
|
36
|
+
fullValue?: unknown;
|
|
35
37
|
}
|
|
36
38
|
export declare abstract class DataBuilderFormulaBase<ArgsType = any> implements DataBuilderFormula {
|
|
37
39
|
type: DataBuilderFormulaType;
|
package/dist/dts/index.d.ts
CHANGED
|
@@ -26,4 +26,5 @@ export * from './webhooks';
|
|
|
26
26
|
export * from './alerts';
|
|
27
27
|
export * from './accessors';
|
|
28
28
|
export * from './sse';
|
|
29
|
-
export { IntegrationAppClient } from './client';
|
|
29
|
+
export { MembraneClient as IntegrationAppClient } from './client';
|
|
30
|
+
export { MembraneClient as MembraneClient } from './client';
|
package/dist/dts/index.umd.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export default
|
|
1
|
+
import { MembraneClient } from './client';
|
|
2
|
+
export default MembraneClient;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MembraneApiClient } from '../api-client';
|
|
2
2
|
import { PaginationResponse } from '../entity-repository';
|
|
3
3
|
export declare class ConnectionLevelElementAccessor<Element, UpdateElement> {
|
|
4
|
-
protected client:
|
|
4
|
+
protected client: MembraneApiClient;
|
|
5
5
|
protected connectionSelector: string;
|
|
6
6
|
protected selector: string;
|
|
7
7
|
protected elementKey: string;
|
|
8
8
|
protected query: Record<string, any>;
|
|
9
9
|
protected endpoint: string;
|
|
10
|
-
constructor(client:
|
|
10
|
+
constructor(client: MembraneApiClient, connectionSelector: string, selector: string, elementKey: string, query: Record<string, any>);
|
|
11
11
|
protected uri(path?: string, query?: {}): string;
|
|
12
12
|
getUniqueIdentifier(): string;
|
|
13
13
|
get(query?: {
|
|
@@ -21,9 +21,9 @@ export declare class ConnectionLevelElementAccessor<Element, UpdateElement> {
|
|
|
21
21
|
setup(): Promise<Element>;
|
|
22
22
|
}
|
|
23
23
|
export declare class ConnectionLevelElementsListAccessor<Element, Query> {
|
|
24
|
-
protected client:
|
|
24
|
+
protected client: MembraneApiClient;
|
|
25
25
|
protected connectionSelector: string;
|
|
26
26
|
protected elementKey: string;
|
|
27
|
-
constructor(client:
|
|
27
|
+
constructor(client: MembraneApiClient, connectionSelector: string, elementKey: string);
|
|
28
28
|
list(query?: Query): Promise<PaginationResponse<Element[]>>;
|
|
29
29
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MembraneApiClient } from '../api-client';
|
|
2
2
|
import { PaginationResponse } from '../entity-repository';
|
|
3
3
|
export declare class IntegrationLevelElementAccessor<Element, UpdateElementData> {
|
|
4
|
-
protected client:
|
|
4
|
+
protected client: MembraneApiClient;
|
|
5
5
|
protected integrationSelector: string;
|
|
6
6
|
protected elementSelector: string;
|
|
7
7
|
protected elementKey: string;
|
|
8
8
|
protected endpoint: string;
|
|
9
|
-
constructor(client:
|
|
9
|
+
constructor(client: MembraneApiClient, integrationSelector: string, elementSelector: string, elementKey: string);
|
|
10
10
|
getUniqueIdentifier(): string;
|
|
11
11
|
get(): Promise<Element>;
|
|
12
12
|
patch(data: Partial<UpdateElementData>): Promise<Element>;
|
|
@@ -15,11 +15,11 @@ export declare class IntegrationLevelElementAccessor<Element, UpdateElementData>
|
|
|
15
15
|
reset(): Promise<Element>;
|
|
16
16
|
}
|
|
17
17
|
export declare class IntegrationLevelElementsListAccessor<Element, Query, CreateElementData> {
|
|
18
|
-
protected client:
|
|
18
|
+
protected client: MembraneApiClient;
|
|
19
19
|
protected integrationSelector: string;
|
|
20
20
|
protected elementKey: string;
|
|
21
21
|
protected endpoint: string;
|
|
22
|
-
constructor(client:
|
|
22
|
+
constructor(client: MembraneApiClient, integrationSelector: string, elementKey: string);
|
|
23
23
|
list(query?: Query): Promise<PaginationResponse<Element>>;
|
|
24
24
|
create(data: CreateElementData): Promise<Element>;
|
|
25
25
|
}
|
package/dist/dts/orgs/types.d.ts
CHANGED
|
@@ -25,7 +25,6 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
25
25
|
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
26
26
|
config: z.ZodOptional<z.ZodAny>;
|
|
27
27
|
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
28
|
-
isOutdated: z.ZodOptional<z.ZodBoolean>;
|
|
29
28
|
} & {
|
|
30
29
|
user: z.ZodOptional<z.ZodObject<{
|
|
31
30
|
id: z.ZodString;
|
|
@@ -163,7 +162,6 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
163
162
|
parentRevision?: string | undefined;
|
|
164
163
|
outputSchema?: any;
|
|
165
164
|
universalParentId?: string | undefined;
|
|
166
|
-
isOutdated?: boolean | undefined;
|
|
167
165
|
parent?: {
|
|
168
166
|
key: string;
|
|
169
167
|
id: string;
|
|
@@ -221,7 +219,6 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
221
219
|
parentRevision?: string | undefined;
|
|
222
220
|
outputSchema?: any;
|
|
223
221
|
universalParentId?: string | undefined;
|
|
224
|
-
isOutdated?: boolean | undefined;
|
|
225
222
|
parent?: {
|
|
226
223
|
key: string;
|
|
227
224
|
id: string;
|
|
@@ -265,10 +265,10 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
265
265
|
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
266
266
|
universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
267
267
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
268
|
-
dataSourceId: z.ZodString
|
|
269
|
-
dataSourceKey: z.ZodString
|
|
270
|
-
appSchema: z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema
|
|
271
|
-
direction: z.ZodNativeEnum<typeof import("../base/field-mappings").FieldMappingDirection
|
|
268
|
+
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
269
|
+
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
270
|
+
appSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
271
|
+
direction: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/field-mappings").FieldMappingDirection>>;
|
|
272
272
|
defaultImportValue: z.ZodOptional<z.ZodAny>;
|
|
273
273
|
defaultExportValue: z.ZodOptional<z.ZodAny>;
|
|
274
274
|
importValue: z.ZodOptional<z.ZodAny>;
|
|
@@ -282,10 +282,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
282
282
|
id: string;
|
|
283
283
|
name: string;
|
|
284
284
|
revision: string;
|
|
285
|
-
dataSourceId: string;
|
|
286
|
-
dataSourceKey: string;
|
|
287
|
-
appSchema: import("../..").DataSchema;
|
|
288
|
-
direction: import("../base/field-mappings").FieldMappingDirection;
|
|
289
285
|
key?: string | undefined;
|
|
290
286
|
uuid?: string | undefined;
|
|
291
287
|
description?: string | undefined;
|
|
@@ -299,6 +295,10 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
299
295
|
publishedRevision?: string | undefined;
|
|
300
296
|
universalFieldMappingId?: string | undefined;
|
|
301
297
|
universalFieldMappingRevision?: string | undefined;
|
|
298
|
+
dataSourceId?: string | undefined;
|
|
299
|
+
dataSourceKey?: string | undefined;
|
|
300
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
301
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
302
302
|
defaultImportValue?: any;
|
|
303
303
|
defaultExportValue?: any;
|
|
304
304
|
importValue?: any;
|
|
@@ -311,10 +311,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
311
311
|
id: string;
|
|
312
312
|
name: string;
|
|
313
313
|
revision: string;
|
|
314
|
-
dataSourceId: string;
|
|
315
|
-
dataSourceKey: string;
|
|
316
|
-
appSchema: import("../..").DataSchema;
|
|
317
|
-
direction: import("../base/field-mappings").FieldMappingDirection;
|
|
318
314
|
key?: string | undefined;
|
|
319
315
|
uuid?: string | undefined;
|
|
320
316
|
description?: string | undefined;
|
|
@@ -328,6 +324,10 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
328
324
|
publishedRevision?: string | undefined;
|
|
329
325
|
universalFieldMappingId?: string | undefined;
|
|
330
326
|
universalFieldMappingRevision?: string | undefined;
|
|
327
|
+
dataSourceId?: string | undefined;
|
|
328
|
+
dataSourceKey?: string | undefined;
|
|
329
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
330
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
331
331
|
defaultImportValue?: any;
|
|
332
332
|
defaultExportValue?: any;
|
|
333
333
|
importValue?: any;
|
|
@@ -1930,10 +1930,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
1930
1930
|
id: string;
|
|
1931
1931
|
name: string;
|
|
1932
1932
|
revision: string;
|
|
1933
|
-
dataSourceId: string;
|
|
1934
|
-
dataSourceKey: string;
|
|
1935
|
-
appSchema: import("../..").DataSchema;
|
|
1936
|
-
direction: import("../base/field-mappings").FieldMappingDirection;
|
|
1937
1933
|
key?: string | undefined;
|
|
1938
1934
|
uuid?: string | undefined;
|
|
1939
1935
|
description?: string | undefined;
|
|
@@ -1947,6 +1943,10 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
1947
1943
|
publishedRevision?: string | undefined;
|
|
1948
1944
|
universalFieldMappingId?: string | undefined;
|
|
1949
1945
|
universalFieldMappingRevision?: string | undefined;
|
|
1946
|
+
dataSourceId?: string | undefined;
|
|
1947
|
+
dataSourceKey?: string | undefined;
|
|
1948
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
1949
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
1950
1950
|
defaultImportValue?: any;
|
|
1951
1951
|
defaultExportValue?: any;
|
|
1952
1952
|
importValue?: any;
|
|
@@ -2311,10 +2311,6 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
2311
2311
|
id: string;
|
|
2312
2312
|
name: string;
|
|
2313
2313
|
revision: string;
|
|
2314
|
-
dataSourceId: string;
|
|
2315
|
-
dataSourceKey: string;
|
|
2316
|
-
appSchema: import("../..").DataSchema;
|
|
2317
|
-
direction: import("../base/field-mappings").FieldMappingDirection;
|
|
2318
2314
|
key?: string | undefined;
|
|
2319
2315
|
uuid?: string | undefined;
|
|
2320
2316
|
description?: string | undefined;
|
|
@@ -2328,6 +2324,10 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
2328
2324
|
publishedRevision?: string | undefined;
|
|
2329
2325
|
universalFieldMappingId?: string | undefined;
|
|
2330
2326
|
universalFieldMappingRevision?: string | undefined;
|
|
2327
|
+
dataSourceId?: string | undefined;
|
|
2328
|
+
dataSourceKey?: string | undefined;
|
|
2329
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
2330
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
2331
2331
|
defaultImportValue?: any;
|
|
2332
2332
|
defaultExportValue?: any;
|
|
2333
2333
|
importValue?: any;
|
|
@@ -49,10 +49,10 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
49
49
|
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
50
50
|
universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
51
51
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
52
|
-
dataSourceId: z.ZodString
|
|
53
|
-
dataSourceKey: z.ZodString
|
|
54
|
-
appSchema: z.ZodType<DataSchema, z.ZodTypeDef, DataSchema
|
|
55
|
-
direction: z.ZodNativeEnum<typeof FieldMappingDirection
|
|
52
|
+
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
53
|
+
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
54
|
+
appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
55
|
+
direction: z.ZodOptional<z.ZodNativeEnum<typeof FieldMappingDirection>>;
|
|
56
56
|
defaultImportValue: z.ZodOptional<z.ZodAny>;
|
|
57
57
|
defaultExportValue: z.ZodOptional<z.ZodAny>;
|
|
58
58
|
importValue: z.ZodOptional<z.ZodAny>;
|
|
@@ -176,10 +176,10 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
176
176
|
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
177
177
|
universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
178
178
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
179
|
-
dataSourceId: z.ZodString
|
|
180
|
-
dataSourceKey: z.ZodString
|
|
181
|
-
appSchema: z.ZodType<DataSchema, z.ZodTypeDef, DataSchema
|
|
182
|
-
direction: z.ZodNativeEnum<typeof FieldMappingDirection
|
|
179
|
+
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
180
|
+
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
181
|
+
appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
182
|
+
direction: z.ZodOptional<z.ZodNativeEnum<typeof FieldMappingDirection>>;
|
|
183
183
|
defaultImportValue: z.ZodOptional<z.ZodAny>;
|
|
184
184
|
defaultExportValue: z.ZodOptional<z.ZodAny>;
|
|
185
185
|
importValue: z.ZodOptional<z.ZodAny>;
|
|
@@ -193,10 +193,6 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
193
193
|
id: string;
|
|
194
194
|
name: string;
|
|
195
195
|
revision: string;
|
|
196
|
-
dataSourceId: string;
|
|
197
|
-
dataSourceKey: string;
|
|
198
|
-
appSchema: DataSchema;
|
|
199
|
-
direction: FieldMappingDirection;
|
|
200
196
|
key?: string | undefined;
|
|
201
197
|
uuid?: string | undefined;
|
|
202
198
|
description?: string | undefined;
|
|
@@ -210,6 +206,10 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
210
206
|
publishedRevision?: string | undefined;
|
|
211
207
|
universalFieldMappingId?: string | undefined;
|
|
212
208
|
universalFieldMappingRevision?: string | undefined;
|
|
209
|
+
dataSourceId?: string | undefined;
|
|
210
|
+
dataSourceKey?: string | undefined;
|
|
211
|
+
appSchema?: DataSchema | undefined;
|
|
212
|
+
direction?: FieldMappingDirection | undefined;
|
|
213
213
|
defaultImportValue?: any;
|
|
214
214
|
defaultExportValue?: any;
|
|
215
215
|
importValue?: any;
|
|
@@ -222,10 +222,6 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
222
222
|
id: string;
|
|
223
223
|
name: string;
|
|
224
224
|
revision: string;
|
|
225
|
-
dataSourceId: string;
|
|
226
|
-
dataSourceKey: string;
|
|
227
|
-
appSchema: DataSchema;
|
|
228
|
-
direction: FieldMappingDirection;
|
|
229
225
|
key?: string | undefined;
|
|
230
226
|
uuid?: string | undefined;
|
|
231
227
|
description?: string | undefined;
|
|
@@ -239,6 +235,10 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
239
235
|
publishedRevision?: string | undefined;
|
|
240
236
|
universalFieldMappingId?: string | undefined;
|
|
241
237
|
universalFieldMappingRevision?: string | undefined;
|
|
238
|
+
dataSourceId?: string | undefined;
|
|
239
|
+
dataSourceKey?: string | undefined;
|
|
240
|
+
appSchema?: DataSchema | undefined;
|
|
241
|
+
direction?: FieldMappingDirection | undefined;
|
|
242
242
|
defaultImportValue?: any;
|
|
243
243
|
defaultExportValue?: any;
|
|
244
244
|
importValue?: any;
|
|
@@ -380,10 +380,6 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
380
380
|
id: string;
|
|
381
381
|
name: string;
|
|
382
382
|
revision: string;
|
|
383
|
-
dataSourceId: string;
|
|
384
|
-
dataSourceKey: string;
|
|
385
|
-
appSchema: DataSchema;
|
|
386
|
-
direction: FieldMappingDirection;
|
|
387
383
|
key?: string | undefined;
|
|
388
384
|
uuid?: string | undefined;
|
|
389
385
|
description?: string | undefined;
|
|
@@ -397,6 +393,10 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
397
393
|
publishedRevision?: string | undefined;
|
|
398
394
|
universalFieldMappingId?: string | undefined;
|
|
399
395
|
universalFieldMappingRevision?: string | undefined;
|
|
396
|
+
dataSourceId?: string | undefined;
|
|
397
|
+
dataSourceKey?: string | undefined;
|
|
398
|
+
appSchema?: DataSchema | undefined;
|
|
399
|
+
direction?: FieldMappingDirection | undefined;
|
|
400
400
|
defaultImportValue?: any;
|
|
401
401
|
defaultExportValue?: any;
|
|
402
402
|
importValue?: any;
|
|
@@ -443,10 +443,6 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
443
443
|
id: string;
|
|
444
444
|
name: string;
|
|
445
445
|
revision: string;
|
|
446
|
-
dataSourceId: string;
|
|
447
|
-
dataSourceKey: string;
|
|
448
|
-
appSchema: DataSchema;
|
|
449
|
-
direction: FieldMappingDirection;
|
|
450
446
|
key?: string | undefined;
|
|
451
447
|
uuid?: string | undefined;
|
|
452
448
|
description?: string | undefined;
|
|
@@ -460,6 +456,10 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
460
456
|
publishedRevision?: string | undefined;
|
|
461
457
|
universalFieldMappingId?: string | undefined;
|
|
462
458
|
universalFieldMappingRevision?: string | undefined;
|
|
459
|
+
dataSourceId?: string | undefined;
|
|
460
|
+
dataSourceKey?: string | undefined;
|
|
461
|
+
appSchema?: DataSchema | undefined;
|
|
462
|
+
direction?: FieldMappingDirection | undefined;
|
|
463
463
|
defaultImportValue?: any;
|
|
464
464
|
defaultExportValue?: any;
|
|
465
465
|
importValue?: any;
|
|
@@ -474,10 +474,6 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
474
474
|
id: string;
|
|
475
475
|
name: string;
|
|
476
476
|
revision: string;
|
|
477
|
-
dataSourceId: string;
|
|
478
|
-
dataSourceKey: string;
|
|
479
|
-
appSchema: DataSchema;
|
|
480
|
-
direction: FieldMappingDirection;
|
|
481
477
|
key?: string | undefined;
|
|
482
478
|
integration?: {
|
|
483
479
|
id: string;
|
|
@@ -523,6 +519,10 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
523
519
|
publishedRevision?: string | undefined;
|
|
524
520
|
universalFieldMappingId?: string | undefined;
|
|
525
521
|
universalFieldMappingRevision?: string | undefined;
|
|
522
|
+
dataSourceId?: string | undefined;
|
|
523
|
+
dataSourceKey?: string | undefined;
|
|
524
|
+
appSchema?: DataSchema | undefined;
|
|
525
|
+
direction?: FieldMappingDirection | undefined;
|
|
526
526
|
defaultImportValue?: any;
|
|
527
527
|
defaultExportValue?: any;
|
|
528
528
|
importValue?: any;
|
|
@@ -568,10 +568,6 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
568
568
|
id: string;
|
|
569
569
|
name: string;
|
|
570
570
|
revision: string;
|
|
571
|
-
dataSourceId: string;
|
|
572
|
-
dataSourceKey: string;
|
|
573
|
-
appSchema: DataSchema;
|
|
574
|
-
direction: FieldMappingDirection;
|
|
575
571
|
key?: string | undefined;
|
|
576
572
|
uuid?: string | undefined;
|
|
577
573
|
description?: string | undefined;
|
|
@@ -585,6 +581,10 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
585
581
|
publishedRevision?: string | undefined;
|
|
586
582
|
universalFieldMappingId?: string | undefined;
|
|
587
583
|
universalFieldMappingRevision?: string | undefined;
|
|
584
|
+
dataSourceId?: string | undefined;
|
|
585
|
+
dataSourceKey?: string | undefined;
|
|
586
|
+
appSchema?: DataSchema | undefined;
|
|
587
|
+
direction?: FieldMappingDirection | undefined;
|
|
588
588
|
defaultImportValue?: any;
|
|
589
589
|
defaultExportValue?: any;
|
|
590
590
|
importValue?: any;
|
|
@@ -599,10 +599,6 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
599
599
|
id: string;
|
|
600
600
|
name: string;
|
|
601
601
|
revision: string;
|
|
602
|
-
dataSourceId: string;
|
|
603
|
-
dataSourceKey: string;
|
|
604
|
-
appSchema: DataSchema;
|
|
605
|
-
direction: FieldMappingDirection;
|
|
606
602
|
key?: string | undefined;
|
|
607
603
|
integration?: {
|
|
608
604
|
id: string;
|
|
@@ -648,6 +644,10 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
648
644
|
publishedRevision?: string | undefined;
|
|
649
645
|
universalFieldMappingId?: string | undefined;
|
|
650
646
|
universalFieldMappingRevision?: string | undefined;
|
|
647
|
+
dataSourceId?: string | undefined;
|
|
648
|
+
dataSourceKey?: string | undefined;
|
|
649
|
+
appSchema?: DataSchema | undefined;
|
|
650
|
+
direction?: FieldMappingDirection | undefined;
|
|
651
651
|
defaultImportValue?: any;
|
|
652
652
|
defaultExportValue?: any;
|
|
653
653
|
importValue?: any;
|
|
@@ -693,10 +693,6 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
693
693
|
id: string;
|
|
694
694
|
name: string;
|
|
695
695
|
revision: string;
|
|
696
|
-
dataSourceId: string;
|
|
697
|
-
dataSourceKey: string;
|
|
698
|
-
appSchema: DataSchema;
|
|
699
|
-
direction: FieldMappingDirection;
|
|
700
696
|
key?: string | undefined;
|
|
701
697
|
uuid?: string | undefined;
|
|
702
698
|
description?: string | undefined;
|
|
@@ -710,6 +706,10 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
710
706
|
publishedRevision?: string | undefined;
|
|
711
707
|
universalFieldMappingId?: string | undefined;
|
|
712
708
|
universalFieldMappingRevision?: string | undefined;
|
|
709
|
+
dataSourceId?: string | undefined;
|
|
710
|
+
dataSourceKey?: string | undefined;
|
|
711
|
+
appSchema?: DataSchema | undefined;
|
|
712
|
+
direction?: FieldMappingDirection | undefined;
|
|
713
713
|
defaultImportValue?: any;
|
|
714
714
|
defaultExportValue?: any;
|
|
715
715
|
importValue?: any;
|