@membranehq/sdk 0.6.0 → 0.7.0
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 +167 -166
- 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/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/base/field-mappings/types.d.ts +12 -12
- package/dist/dts/workspace-elements/errors.d.ts +2 -2
- package/dist/index.d.ts +201 -198
- package/dist/index.js +77 -70
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +201 -198
- package/dist/index.module.mjs +72 -66
- package/dist/index.module.mjs.map +1 -1
- package/package.json +1 -1
package/dist/bundle.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { AxiosRequestConfig } from 'axios';
|
|
|
2
2
|
import * as zod from 'zod';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
|
-
interface
|
|
5
|
+
interface MembraneClientOptions {
|
|
6
6
|
token?: string;
|
|
7
7
|
fetchToken?: () => Promise<string>;
|
|
8
8
|
credentials?: any;
|
|
@@ -11,12 +11,12 @@ interface IntegrationAppClientOptions {
|
|
|
11
11
|
uiUri?: string;
|
|
12
12
|
accessToken?: string;
|
|
13
13
|
}
|
|
14
|
-
declare class
|
|
14
|
+
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>;
|
|
@@ -189,12 +189,12 @@ type SelectorType = {
|
|
|
189
189
|
} | string;
|
|
190
190
|
declare class ElementAccessor<Element, UpdateRequest, Selector extends SelectorType = string> {
|
|
191
191
|
protected options: {
|
|
192
|
-
client:
|
|
192
|
+
client: MembraneApiClient;
|
|
193
193
|
path: string;
|
|
194
194
|
selector: string | Selector;
|
|
195
195
|
};
|
|
196
196
|
constructor(options: {
|
|
197
|
-
client:
|
|
197
|
+
client: MembraneApiClient;
|
|
198
198
|
path: string;
|
|
199
199
|
selector: string | Selector;
|
|
200
200
|
});
|
|
@@ -209,29 +209,29 @@ declare class ElementAccessor<Element, UpdateRequest, Selector extends SelectorT
|
|
|
209
209
|
declare class ElementListAccessor<Element, FindQuery, CreateRequest> {
|
|
210
210
|
private client;
|
|
211
211
|
private path;
|
|
212
|
-
constructor(client:
|
|
212
|
+
constructor(client: MembraneApiClient, path: string);
|
|
213
213
|
find(query?: FindQuery): Promise<PaginationResponse<Element>>;
|
|
214
214
|
findAll(query?: Omit<FindQuery, 'limit'>): Promise<Element[]>;
|
|
215
215
|
create(data: CreateRequest): Promise<Element>;
|
|
216
216
|
}
|
|
217
217
|
declare class ElementInstanceListAccessor<ElementInstance extends BaseElementInstance, FindQuery> {
|
|
218
|
-
protected client:
|
|
218
|
+
protected client: MembraneApiClient;
|
|
219
219
|
private path;
|
|
220
|
-
constructor(client:
|
|
220
|
+
constructor(client: MembraneApiClient, path: string);
|
|
221
221
|
find(query?: FindQuery): Promise<PaginationResponse<ElementInstance>>;
|
|
222
222
|
}
|
|
223
223
|
declare class ElementInstanceAccessor<ElementInstance extends BaseElementInstance, Selector extends {
|
|
224
224
|
id?: string;
|
|
225
225
|
}, CreateRequest, UpdateRequest> {
|
|
226
226
|
protected options: {
|
|
227
|
-
client:
|
|
227
|
+
client: MembraneApiClient;
|
|
228
228
|
instancePath: string;
|
|
229
229
|
selector: string | Selector;
|
|
230
230
|
type?: WorkspaceElementType;
|
|
231
231
|
};
|
|
232
232
|
private id;
|
|
233
233
|
constructor(options: {
|
|
234
|
-
client:
|
|
234
|
+
client: MembraneApiClient;
|
|
235
235
|
instancePath: string;
|
|
236
236
|
selector: string | Selector;
|
|
237
237
|
type?: WorkspaceElementType;
|
|
@@ -250,12 +250,12 @@ declare class ElementInstanceAccessor<ElementInstance extends BaseElementInstanc
|
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
declare class IntegrationLevelElementAccessor<Element, UpdateElementData> {
|
|
253
|
-
protected client:
|
|
253
|
+
protected client: MembraneApiClient;
|
|
254
254
|
protected integrationSelector: string;
|
|
255
255
|
protected elementSelector: string;
|
|
256
256
|
protected elementKey: string;
|
|
257
257
|
protected endpoint: string;
|
|
258
|
-
constructor(client:
|
|
258
|
+
constructor(client: MembraneApiClient, integrationSelector: string, elementSelector: string, elementKey: string);
|
|
259
259
|
getUniqueIdentifier(): string;
|
|
260
260
|
get(): Promise<Element>;
|
|
261
261
|
patch(data: Partial<UpdateElementData>): Promise<Element>;
|
|
@@ -264,11 +264,11 @@ declare class IntegrationLevelElementAccessor<Element, UpdateElementData> {
|
|
|
264
264
|
reset(): Promise<Element>;
|
|
265
265
|
}
|
|
266
266
|
declare class IntegrationLevelElementsListAccessor<Element, Query, CreateElementData> {
|
|
267
|
-
protected client:
|
|
267
|
+
protected client: MembraneApiClient;
|
|
268
268
|
protected integrationSelector: string;
|
|
269
269
|
protected elementKey: string;
|
|
270
270
|
protected endpoint: string;
|
|
271
|
-
constructor(client:
|
|
271
|
+
constructor(client: MembraneApiClient, integrationSelector: string, elementKey: string);
|
|
272
272
|
list(query?: Query): Promise<PaginationResponse<Element>>;
|
|
273
273
|
create(data: CreateElementData): Promise<Element>;
|
|
274
274
|
}
|
|
@@ -392,6 +392,7 @@ interface DataSchema {
|
|
|
392
392
|
isSensitive?: boolean;
|
|
393
393
|
referenceCollectionPath?: string;
|
|
394
394
|
referenceCollectionUri?: string;
|
|
395
|
+
[key: string]: any;
|
|
395
396
|
}
|
|
396
397
|
declare const DataSchema: z.ZodType<DataSchema>;
|
|
397
398
|
|
|
@@ -9853,10 +9854,10 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
9853
9854
|
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
9854
9855
|
universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
9855
9856
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
9856
|
-
dataSourceId: z.ZodString
|
|
9857
|
-
dataSourceKey: z.ZodString
|
|
9858
|
-
appSchema: z.ZodType<DataSchema, z.ZodTypeDef, DataSchema
|
|
9859
|
-
direction: z.ZodNativeEnum<typeof FieldMappingDirection
|
|
9857
|
+
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
9858
|
+
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
9859
|
+
appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
9860
|
+
direction: z.ZodOptional<z.ZodNativeEnum<typeof FieldMappingDirection>>;
|
|
9860
9861
|
defaultImportValue: z.ZodOptional<z.ZodAny>;
|
|
9861
9862
|
defaultExportValue: z.ZodOptional<z.ZodAny>;
|
|
9862
9863
|
importValue: z.ZodOptional<z.ZodAny>;
|
|
@@ -9980,10 +9981,10 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
9980
9981
|
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
9981
9982
|
universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
9982
9983
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
9983
|
-
dataSourceId: z.ZodString
|
|
9984
|
-
dataSourceKey: z.ZodString
|
|
9985
|
-
appSchema: z.ZodType<DataSchema, z.ZodTypeDef, DataSchema
|
|
9986
|
-
direction: z.ZodNativeEnum<typeof FieldMappingDirection
|
|
9984
|
+
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
9985
|
+
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
9986
|
+
appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
9987
|
+
direction: z.ZodOptional<z.ZodNativeEnum<typeof FieldMappingDirection>>;
|
|
9987
9988
|
defaultImportValue: z.ZodOptional<z.ZodAny>;
|
|
9988
9989
|
defaultExportValue: z.ZodOptional<z.ZodAny>;
|
|
9989
9990
|
importValue: z.ZodOptional<z.ZodAny>;
|
|
@@ -9997,10 +9998,6 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
9997
9998
|
id: string;
|
|
9998
9999
|
name: string;
|
|
9999
10000
|
revision: string;
|
|
10000
|
-
dataSourceId: string;
|
|
10001
|
-
dataSourceKey: string;
|
|
10002
|
-
appSchema: DataSchema;
|
|
10003
|
-
direction: FieldMappingDirection;
|
|
10004
10001
|
key?: string | undefined;
|
|
10005
10002
|
uuid?: string | undefined;
|
|
10006
10003
|
description?: string | undefined;
|
|
@@ -10014,6 +10011,10 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
10014
10011
|
publishedRevision?: string | undefined;
|
|
10015
10012
|
universalFieldMappingId?: string | undefined;
|
|
10016
10013
|
universalFieldMappingRevision?: string | undefined;
|
|
10014
|
+
dataSourceId?: string | undefined;
|
|
10015
|
+
dataSourceKey?: string | undefined;
|
|
10016
|
+
appSchema?: DataSchema | undefined;
|
|
10017
|
+
direction?: FieldMappingDirection | undefined;
|
|
10017
10018
|
defaultImportValue?: any;
|
|
10018
10019
|
defaultExportValue?: any;
|
|
10019
10020
|
importValue?: any;
|
|
@@ -10026,10 +10027,6 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
10026
10027
|
id: string;
|
|
10027
10028
|
name: string;
|
|
10028
10029
|
revision: string;
|
|
10029
|
-
dataSourceId: string;
|
|
10030
|
-
dataSourceKey: string;
|
|
10031
|
-
appSchema: DataSchema;
|
|
10032
|
-
direction: FieldMappingDirection;
|
|
10033
10030
|
key?: string | undefined;
|
|
10034
10031
|
uuid?: string | undefined;
|
|
10035
10032
|
description?: string | undefined;
|
|
@@ -10043,6 +10040,10 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
10043
10040
|
publishedRevision?: string | undefined;
|
|
10044
10041
|
universalFieldMappingId?: string | undefined;
|
|
10045
10042
|
universalFieldMappingRevision?: string | undefined;
|
|
10043
|
+
dataSourceId?: string | undefined;
|
|
10044
|
+
dataSourceKey?: string | undefined;
|
|
10045
|
+
appSchema?: DataSchema | undefined;
|
|
10046
|
+
direction?: FieldMappingDirection | undefined;
|
|
10046
10047
|
defaultImportValue?: any;
|
|
10047
10048
|
defaultExportValue?: any;
|
|
10048
10049
|
importValue?: any;
|
|
@@ -10184,10 +10185,6 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
10184
10185
|
id: string;
|
|
10185
10186
|
name: string;
|
|
10186
10187
|
revision: string;
|
|
10187
|
-
dataSourceId: string;
|
|
10188
|
-
dataSourceKey: string;
|
|
10189
|
-
appSchema: DataSchema;
|
|
10190
|
-
direction: FieldMappingDirection;
|
|
10191
10188
|
key?: string | undefined;
|
|
10192
10189
|
uuid?: string | undefined;
|
|
10193
10190
|
description?: string | undefined;
|
|
@@ -10201,6 +10198,10 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
10201
10198
|
publishedRevision?: string | undefined;
|
|
10202
10199
|
universalFieldMappingId?: string | undefined;
|
|
10203
10200
|
universalFieldMappingRevision?: string | undefined;
|
|
10201
|
+
dataSourceId?: string | undefined;
|
|
10202
|
+
dataSourceKey?: string | undefined;
|
|
10203
|
+
appSchema?: DataSchema | undefined;
|
|
10204
|
+
direction?: FieldMappingDirection | undefined;
|
|
10204
10205
|
defaultImportValue?: any;
|
|
10205
10206
|
defaultExportValue?: any;
|
|
10206
10207
|
importValue?: any;
|
|
@@ -10247,10 +10248,6 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
10247
10248
|
id: string;
|
|
10248
10249
|
name: string;
|
|
10249
10250
|
revision: string;
|
|
10250
|
-
dataSourceId: string;
|
|
10251
|
-
dataSourceKey: string;
|
|
10252
|
-
appSchema: DataSchema;
|
|
10253
|
-
direction: FieldMappingDirection;
|
|
10254
10251
|
key?: string | undefined;
|
|
10255
10252
|
uuid?: string | undefined;
|
|
10256
10253
|
description?: string | undefined;
|
|
@@ -10264,6 +10261,10 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
10264
10261
|
publishedRevision?: string | undefined;
|
|
10265
10262
|
universalFieldMappingId?: string | undefined;
|
|
10266
10263
|
universalFieldMappingRevision?: string | undefined;
|
|
10264
|
+
dataSourceId?: string | undefined;
|
|
10265
|
+
dataSourceKey?: string | undefined;
|
|
10266
|
+
appSchema?: DataSchema | undefined;
|
|
10267
|
+
direction?: FieldMappingDirection | undefined;
|
|
10267
10268
|
defaultImportValue?: any;
|
|
10268
10269
|
defaultExportValue?: any;
|
|
10269
10270
|
importValue?: any;
|
|
@@ -10278,10 +10279,6 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
10278
10279
|
id: string;
|
|
10279
10280
|
name: string;
|
|
10280
10281
|
revision: string;
|
|
10281
|
-
dataSourceId: string;
|
|
10282
|
-
dataSourceKey: string;
|
|
10283
|
-
appSchema: DataSchema;
|
|
10284
|
-
direction: FieldMappingDirection;
|
|
10285
10282
|
key?: string | undefined;
|
|
10286
10283
|
integration?: {
|
|
10287
10284
|
id: string;
|
|
@@ -10327,6 +10324,10 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
10327
10324
|
publishedRevision?: string | undefined;
|
|
10328
10325
|
universalFieldMappingId?: string | undefined;
|
|
10329
10326
|
universalFieldMappingRevision?: string | undefined;
|
|
10327
|
+
dataSourceId?: string | undefined;
|
|
10328
|
+
dataSourceKey?: string | undefined;
|
|
10329
|
+
appSchema?: DataSchema | undefined;
|
|
10330
|
+
direction?: FieldMappingDirection | undefined;
|
|
10330
10331
|
defaultImportValue?: any;
|
|
10331
10332
|
defaultExportValue?: any;
|
|
10332
10333
|
importValue?: any;
|
|
@@ -10372,10 +10373,6 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
10372
10373
|
id: string;
|
|
10373
10374
|
name: string;
|
|
10374
10375
|
revision: string;
|
|
10375
|
-
dataSourceId: string;
|
|
10376
|
-
dataSourceKey: string;
|
|
10377
|
-
appSchema: DataSchema;
|
|
10378
|
-
direction: FieldMappingDirection;
|
|
10379
10376
|
key?: string | undefined;
|
|
10380
10377
|
uuid?: string | undefined;
|
|
10381
10378
|
description?: string | undefined;
|
|
@@ -10389,6 +10386,10 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
10389
10386
|
publishedRevision?: string | undefined;
|
|
10390
10387
|
universalFieldMappingId?: string | undefined;
|
|
10391
10388
|
universalFieldMappingRevision?: string | undefined;
|
|
10389
|
+
dataSourceId?: string | undefined;
|
|
10390
|
+
dataSourceKey?: string | undefined;
|
|
10391
|
+
appSchema?: DataSchema | undefined;
|
|
10392
|
+
direction?: FieldMappingDirection | undefined;
|
|
10392
10393
|
defaultImportValue?: any;
|
|
10393
10394
|
defaultExportValue?: any;
|
|
10394
10395
|
importValue?: any;
|
|
@@ -10403,10 +10404,6 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
10403
10404
|
id: string;
|
|
10404
10405
|
name: string;
|
|
10405
10406
|
revision: string;
|
|
10406
|
-
dataSourceId: string;
|
|
10407
|
-
dataSourceKey: string;
|
|
10408
|
-
appSchema: DataSchema;
|
|
10409
|
-
direction: FieldMappingDirection;
|
|
10410
10407
|
key?: string | undefined;
|
|
10411
10408
|
integration?: {
|
|
10412
10409
|
id: string;
|
|
@@ -10452,6 +10449,10 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
10452
10449
|
publishedRevision?: string | undefined;
|
|
10453
10450
|
universalFieldMappingId?: string | undefined;
|
|
10454
10451
|
universalFieldMappingRevision?: string | undefined;
|
|
10452
|
+
dataSourceId?: string | undefined;
|
|
10453
|
+
dataSourceKey?: string | undefined;
|
|
10454
|
+
appSchema?: DataSchema | undefined;
|
|
10455
|
+
direction?: FieldMappingDirection | undefined;
|
|
10455
10456
|
defaultImportValue?: any;
|
|
10456
10457
|
defaultExportValue?: any;
|
|
10457
10458
|
importValue?: any;
|
|
@@ -10497,10 +10498,6 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
10497
10498
|
id: string;
|
|
10498
10499
|
name: string;
|
|
10499
10500
|
revision: string;
|
|
10500
|
-
dataSourceId: string;
|
|
10501
|
-
dataSourceKey: string;
|
|
10502
|
-
appSchema: DataSchema;
|
|
10503
|
-
direction: FieldMappingDirection;
|
|
10504
10501
|
key?: string | undefined;
|
|
10505
10502
|
uuid?: string | undefined;
|
|
10506
10503
|
description?: string | undefined;
|
|
@@ -10514,6 +10511,10 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
10514
10511
|
publishedRevision?: string | undefined;
|
|
10515
10512
|
universalFieldMappingId?: string | undefined;
|
|
10516
10513
|
universalFieldMappingRevision?: string | undefined;
|
|
10514
|
+
dataSourceId?: string | undefined;
|
|
10515
|
+
dataSourceKey?: string | undefined;
|
|
10516
|
+
appSchema?: DataSchema | undefined;
|
|
10517
|
+
direction?: FieldMappingDirection | undefined;
|
|
10517
10518
|
defaultImportValue?: any;
|
|
10518
10519
|
defaultExportValue?: any;
|
|
10519
10520
|
importValue?: any;
|
|
@@ -11368,10 +11369,10 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
11368
11369
|
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
11369
11370
|
universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
11370
11371
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
11371
|
-
dataSourceId: z.ZodString
|
|
11372
|
-
dataSourceKey: z.ZodString
|
|
11373
|
-
appSchema: z.ZodType<DataSchema, z.ZodTypeDef, DataSchema
|
|
11374
|
-
direction: z.ZodNativeEnum<typeof FieldMappingDirection
|
|
11372
|
+
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
11373
|
+
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
11374
|
+
appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
11375
|
+
direction: z.ZodOptional<z.ZodNativeEnum<typeof FieldMappingDirection>>;
|
|
11375
11376
|
defaultImportValue: z.ZodOptional<z.ZodAny>;
|
|
11376
11377
|
defaultExportValue: z.ZodOptional<z.ZodAny>;
|
|
11377
11378
|
importValue: z.ZodOptional<z.ZodAny>;
|
|
@@ -11385,10 +11386,6 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
11385
11386
|
id: string;
|
|
11386
11387
|
name: string;
|
|
11387
11388
|
revision: string;
|
|
11388
|
-
dataSourceId: string;
|
|
11389
|
-
dataSourceKey: string;
|
|
11390
|
-
appSchema: DataSchema;
|
|
11391
|
-
direction: FieldMappingDirection;
|
|
11392
11389
|
key?: string | undefined;
|
|
11393
11390
|
uuid?: string | undefined;
|
|
11394
11391
|
description?: string | undefined;
|
|
@@ -11402,6 +11399,10 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
11402
11399
|
publishedRevision?: string | undefined;
|
|
11403
11400
|
universalFieldMappingId?: string | undefined;
|
|
11404
11401
|
universalFieldMappingRevision?: string | undefined;
|
|
11402
|
+
dataSourceId?: string | undefined;
|
|
11403
|
+
dataSourceKey?: string | undefined;
|
|
11404
|
+
appSchema?: DataSchema | undefined;
|
|
11405
|
+
direction?: FieldMappingDirection | undefined;
|
|
11405
11406
|
defaultImportValue?: any;
|
|
11406
11407
|
defaultExportValue?: any;
|
|
11407
11408
|
importValue?: any;
|
|
@@ -11414,10 +11415,6 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
11414
11415
|
id: string;
|
|
11415
11416
|
name: string;
|
|
11416
11417
|
revision: string;
|
|
11417
|
-
dataSourceId: string;
|
|
11418
|
-
dataSourceKey: string;
|
|
11419
|
-
appSchema: DataSchema;
|
|
11420
|
-
direction: FieldMappingDirection;
|
|
11421
11418
|
key?: string | undefined;
|
|
11422
11419
|
uuid?: string | undefined;
|
|
11423
11420
|
description?: string | undefined;
|
|
@@ -11431,6 +11428,10 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
11431
11428
|
publishedRevision?: string | undefined;
|
|
11432
11429
|
universalFieldMappingId?: string | undefined;
|
|
11433
11430
|
universalFieldMappingRevision?: string | undefined;
|
|
11431
|
+
dataSourceId?: string | undefined;
|
|
11432
|
+
dataSourceKey?: string | undefined;
|
|
11433
|
+
appSchema?: DataSchema | undefined;
|
|
11434
|
+
direction?: FieldMappingDirection | undefined;
|
|
11434
11435
|
defaultImportValue?: any;
|
|
11435
11436
|
defaultExportValue?: any;
|
|
11436
11437
|
importValue?: any;
|
|
@@ -13033,10 +13034,6 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
13033
13034
|
id: string;
|
|
13034
13035
|
name: string;
|
|
13035
13036
|
revision: string;
|
|
13036
|
-
dataSourceId: string;
|
|
13037
|
-
dataSourceKey: string;
|
|
13038
|
-
appSchema: DataSchema;
|
|
13039
|
-
direction: FieldMappingDirection;
|
|
13040
13037
|
key?: string | undefined;
|
|
13041
13038
|
uuid?: string | undefined;
|
|
13042
13039
|
description?: string | undefined;
|
|
@@ -13050,6 +13047,10 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
13050
13047
|
publishedRevision?: string | undefined;
|
|
13051
13048
|
universalFieldMappingId?: string | undefined;
|
|
13052
13049
|
universalFieldMappingRevision?: string | undefined;
|
|
13050
|
+
dataSourceId?: string | undefined;
|
|
13051
|
+
dataSourceKey?: string | undefined;
|
|
13052
|
+
appSchema?: DataSchema | undefined;
|
|
13053
|
+
direction?: FieldMappingDirection | undefined;
|
|
13053
13054
|
defaultImportValue?: any;
|
|
13054
13055
|
defaultExportValue?: any;
|
|
13055
13056
|
importValue?: any;
|
|
@@ -13414,10 +13415,6 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
13414
13415
|
id: string;
|
|
13415
13416
|
name: string;
|
|
13416
13417
|
revision: string;
|
|
13417
|
-
dataSourceId: string;
|
|
13418
|
-
dataSourceKey: string;
|
|
13419
|
-
appSchema: DataSchema;
|
|
13420
|
-
direction: FieldMappingDirection;
|
|
13421
13418
|
key?: string | undefined;
|
|
13422
13419
|
uuid?: string | undefined;
|
|
13423
13420
|
description?: string | undefined;
|
|
@@ -13431,6 +13428,10 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
13431
13428
|
publishedRevision?: string | undefined;
|
|
13432
13429
|
universalFieldMappingId?: string | undefined;
|
|
13433
13430
|
universalFieldMappingRevision?: string | undefined;
|
|
13431
|
+
dataSourceId?: string | undefined;
|
|
13432
|
+
dataSourceKey?: string | undefined;
|
|
13433
|
+
appSchema?: DataSchema | undefined;
|
|
13434
|
+
direction?: FieldMappingDirection | undefined;
|
|
13434
13435
|
defaultImportValue?: any;
|
|
13435
13436
|
defaultExportValue?: any;
|
|
13436
13437
|
importValue?: any;
|
|
@@ -15167,7 +15168,7 @@ type ExternalEventSubscription = ExternalEventSubscriptionApiResponse;
|
|
|
15167
15168
|
|
|
15168
15169
|
declare class SelfAccessor {
|
|
15169
15170
|
private client;
|
|
15170
|
-
constructor(client:
|
|
15171
|
+
constructor(client: MembraneApiClient);
|
|
15171
15172
|
get(): Promise<Customer>;
|
|
15172
15173
|
patch(data: Partial<{
|
|
15173
15174
|
credentials: any;
|
|
@@ -15926,23 +15927,23 @@ interface ActionSelector extends IntegrationSpecificElementSelector {
|
|
|
15926
15927
|
}
|
|
15927
15928
|
|
|
15928
15929
|
declare class ActionsAccessor extends ElementListAccessor<Action, FindActionsQuery, CreateActionRequest> {
|
|
15929
|
-
constructor(client:
|
|
15930
|
+
constructor(client: MembraneApiClient);
|
|
15930
15931
|
}
|
|
15931
15932
|
declare class ActionAccessor extends ElementAccessor<Action, UpdateActionRequest, ActionSelector> {
|
|
15932
|
-
constructor(client:
|
|
15933
|
+
constructor(client: MembraneApiClient, selector: ActionSelector | string);
|
|
15933
15934
|
apply(integrationKeys: string[]): Promise<Action[]>;
|
|
15934
15935
|
reset(): Promise<any>;
|
|
15935
15936
|
}
|
|
15936
15937
|
declare class IntegrationLevelActionAccessor extends IntegrationLevelElementAccessor<Action, UpdateActionRequest> {
|
|
15937
|
-
client:
|
|
15938
|
+
client: MembraneApiClient;
|
|
15938
15939
|
integrationSelector: string;
|
|
15939
15940
|
actionSelector: string;
|
|
15940
|
-
constructor(client:
|
|
15941
|
+
constructor(client: MembraneApiClient, integrationSelector: string, actionSelector: string);
|
|
15941
15942
|
}
|
|
15942
15943
|
declare class IntegrationLevelActionsListAccessor extends IntegrationLevelElementsListAccessor<Action, Omit<FindActionsQuery, 'integrationId'>, Omit<CreateActionRequest, 'integrationId'>> {
|
|
15943
|
-
client:
|
|
15944
|
+
client: MembraneApiClient;
|
|
15944
15945
|
integrationSelector: string;
|
|
15945
|
-
constructor(client:
|
|
15946
|
+
constructor(client: MembraneApiClient, integrationSelector: string);
|
|
15946
15947
|
}
|
|
15947
15948
|
|
|
15948
15949
|
declare const OpenConfigurationOptions: z.ZodObject<{
|
|
@@ -15962,13 +15963,13 @@ type InstanceKeyQuery = {
|
|
|
15962
15963
|
};
|
|
15963
15964
|
|
|
15964
15965
|
declare class ConnectionLevelElementAccessor<Element, UpdateElement> {
|
|
15965
|
-
protected client:
|
|
15966
|
+
protected client: MembraneApiClient;
|
|
15966
15967
|
protected connectionSelector: string;
|
|
15967
15968
|
protected selector: string;
|
|
15968
15969
|
protected elementKey: string;
|
|
15969
15970
|
protected query: Record<string, any>;
|
|
15970
15971
|
protected endpoint: string;
|
|
15971
|
-
constructor(client:
|
|
15972
|
+
constructor(client: MembraneApiClient, connectionSelector: string, selector: string, elementKey: string, query: Record<string, any>);
|
|
15972
15973
|
protected uri(path?: string, query?: {}): string;
|
|
15973
15974
|
getUniqueIdentifier(): string;
|
|
15974
15975
|
get(query?: {
|
|
@@ -15982,57 +15983,57 @@ declare class ConnectionLevelElementAccessor<Element, UpdateElement> {
|
|
|
15982
15983
|
setup(): Promise<Element>;
|
|
15983
15984
|
}
|
|
15984
15985
|
declare class ConnectionLevelElementsListAccessor<Element, Query> {
|
|
15985
|
-
protected client:
|
|
15986
|
+
protected client: MembraneApiClient;
|
|
15986
15987
|
protected connectionSelector: string;
|
|
15987
15988
|
protected elementKey: string;
|
|
15988
|
-
constructor(client:
|
|
15989
|
+
constructor(client: MembraneApiClient, connectionSelector: string, elementKey: string);
|
|
15989
15990
|
list(query?: Query): Promise<PaginationResponse<Element[]>>;
|
|
15990
15991
|
}
|
|
15991
15992
|
|
|
15992
15993
|
interface OpenActionConfigurationOptions extends OpenConfigurationOptions {
|
|
15993
15994
|
}
|
|
15994
15995
|
declare class ActionInstancesAccessor extends ElementInstanceListAccessor<ActionInstance, FindActionInstancesQuery> {
|
|
15995
|
-
constructor(client:
|
|
15996
|
+
constructor(client: MembraneApiClient);
|
|
15996
15997
|
}
|
|
15997
15998
|
declare class ActionInstanceAccessor extends ElementInstanceAccessor<ActionInstance, ActionInstanceSelector, CreateActionInstanceRequest, UpdateActionInstanceRequest> {
|
|
15998
|
-
client:
|
|
15999
|
-
constructor(client:
|
|
15999
|
+
client: MembraneApiClient;
|
|
16000
|
+
constructor(client: MembraneApiClient, selector: string | ActionInstanceSelector);
|
|
16000
16001
|
setup(): Promise<void>;
|
|
16001
16002
|
reset(): Promise<void>;
|
|
16002
16003
|
run(input?: any): Promise<ActionRunResponse>;
|
|
16003
16004
|
open({ onClose }?: OpenActionConfigurationOptions): Promise<void>;
|
|
16004
16005
|
}
|
|
16005
16006
|
declare class ConnectionLevelActionAccessor extends ConnectionLevelElementAccessor<ActionInstance, UpdateActionInstanceRequest> {
|
|
16006
|
-
client:
|
|
16007
|
+
client: MembraneApiClient;
|
|
16007
16008
|
connectionSelector: string;
|
|
16008
16009
|
actionSelector: string;
|
|
16009
16010
|
query: InstanceKeyQuery;
|
|
16010
|
-
constructor(client:
|
|
16011
|
+
constructor(client: MembraneApiClient, connectionSelector: string, actionSelector: string, query: InstanceKeyQuery);
|
|
16011
16012
|
run(input?: any): Promise<ActionRunResponse>;
|
|
16012
16013
|
}
|
|
16013
16014
|
declare class ConnectionLevelActionsAccessor extends ConnectionLevelElementsListAccessor<ActionInstance, ListActionInstancesForConnectionQuery> {
|
|
16014
|
-
client:
|
|
16015
|
+
client: MembraneApiClient;
|
|
16015
16016
|
connectionSelector: string;
|
|
16016
|
-
constructor(client:
|
|
16017
|
+
constructor(client: MembraneApiClient, connectionSelector: string);
|
|
16017
16018
|
}
|
|
16018
16019
|
|
|
16019
16020
|
interface OpenDataSourceConfigurationOptions extends OpenConfigurationOptions {
|
|
16020
16021
|
}
|
|
16021
16022
|
declare class DataSourcesAccessor extends ElementListAccessor<DataSource, FindDataSourcesQuery, CreateDataSourceRequest> {
|
|
16022
|
-
constructor(client:
|
|
16023
|
+
constructor(client: MembraneApiClient);
|
|
16023
16024
|
}
|
|
16024
16025
|
declare class DataSourceAccessor extends ElementAccessor<DataSource, UpdateDataSourceRequest, DataSourceSelector> {
|
|
16025
|
-
constructor(client:
|
|
16026
|
+
constructor(client: MembraneApiClient, selector: DataSourceSelector | string);
|
|
16026
16027
|
apply(integrationKeys: string[]): Promise<DataSource[]>;
|
|
16027
16028
|
setup(): Promise<void>;
|
|
16028
16029
|
reset(): Promise<any>;
|
|
16029
16030
|
}
|
|
16030
16031
|
declare class DataSourceInstancesAccessor extends ElementInstanceListAccessor<DataSourceInstance, FindDataSourceInstancesQuery> {
|
|
16031
|
-
constructor(client:
|
|
16032
|
+
constructor(client: MembraneApiClient);
|
|
16032
16033
|
}
|
|
16033
16034
|
declare class DataSourceInstanceAccessor extends ElementInstanceAccessor<DataSourceInstance, DataSourceInstanceSelector, CreateDataSourceInstanceRequest, UpdateDataSourceInstanceRequest> {
|
|
16034
|
-
client:
|
|
16035
|
-
constructor(client:
|
|
16035
|
+
client: MembraneApiClient;
|
|
16036
|
+
constructor(client: MembraneApiClient, selector: string | DataSourceInstanceSelector);
|
|
16036
16037
|
setup(): Promise<void>;
|
|
16037
16038
|
reset(): Promise<void>;
|
|
16038
16039
|
openConfiguration({ onClose }?: OpenDataSourceConfigurationOptions): Promise<void>;
|
|
@@ -16048,54 +16049,54 @@ declare class DataSourceInstanceAccessor extends ElementInstanceAccessor<DataSou
|
|
|
16048
16049
|
findRecords(request?: DataCollectionFindRequest): Promise<DataCollectionFindResponse>;
|
|
16049
16050
|
}
|
|
16050
16051
|
declare class IntegrationLevelDataSourceAccessor extends IntegrationLevelElementAccessor<DataSource, UpdateDataSourceRequest> {
|
|
16051
|
-
client:
|
|
16052
|
+
client: MembraneApiClient;
|
|
16052
16053
|
integrationSelector: string;
|
|
16053
16054
|
dataSourceSelector: string;
|
|
16054
|
-
constructor(client:
|
|
16055
|
+
constructor(client: MembraneApiClient, integrationSelector: string, dataSourceSelector: string);
|
|
16055
16056
|
}
|
|
16056
16057
|
declare class IntegrationLevelDataSourcesListAccessor extends IntegrationLevelElementsListAccessor<DataSource, ListDataSourcesForIntegrationQuery, Omit<CreateDataSourceRequest, 'integrationId'>> {
|
|
16057
|
-
client:
|
|
16058
|
+
client: MembraneApiClient;
|
|
16058
16059
|
integrationSelector: string;
|
|
16059
|
-
constructor(client:
|
|
16060
|
+
constructor(client: MembraneApiClient, integrationSelector: string);
|
|
16060
16061
|
}
|
|
16061
16062
|
declare class ConnectionLevelDataSourceAccessor extends ConnectionLevelElementAccessor<DataSourceInstance, UpdateDataSourceInstanceRequest> {
|
|
16062
|
-
client:
|
|
16063
|
+
client: MembraneApiClient;
|
|
16063
16064
|
connectionSelector: string;
|
|
16064
16065
|
dataSourceSelector: string;
|
|
16065
16066
|
query: InstanceKeyQuery;
|
|
16066
|
-
constructor(client:
|
|
16067
|
+
constructor(client: MembraneApiClient, connectionSelector: string, dataSourceSelector: string, query: InstanceKeyQuery);
|
|
16067
16068
|
openConfiguration(options?: OpenDataSourceConfigurationOptions): Promise<void>;
|
|
16068
16069
|
}
|
|
16069
16070
|
declare class ConnectionLevelDataSourcesAccessor extends ConnectionLevelElementsListAccessor<DataSource, ListDataSourceInstancesForConnectionQuery> {
|
|
16070
|
-
client:
|
|
16071
|
+
client: MembraneApiClient;
|
|
16071
16072
|
connectionSelector: string;
|
|
16072
|
-
constructor(client:
|
|
16073
|
+
constructor(client: MembraneApiClient, connectionSelector: string);
|
|
16073
16074
|
}
|
|
16074
16075
|
|
|
16075
16076
|
interface OpenFieldMappingInstanceConfigurationOptions extends OpenConfigurationOptions {
|
|
16076
16077
|
}
|
|
16077
16078
|
declare class FieldMappingInstancesAccessor extends ElementInstanceListAccessor<FieldMappingInstance, FindFieldMappingInstancesQuery> {
|
|
16078
|
-
constructor(client:
|
|
16079
|
+
constructor(client: MembraneApiClient);
|
|
16079
16080
|
}
|
|
16080
16081
|
declare class FieldMappingInstanceAccessor extends ElementInstanceAccessor<FieldMappingInstance, FieldMappingInstanceSelector, CreateFieldMappingInstanceRequest, UpdateFieldMappingInstanceRequest> {
|
|
16081
16082
|
private client;
|
|
16082
|
-
constructor(client:
|
|
16083
|
+
constructor(client: MembraneApiClient, selector: string | FieldMappingInstanceSelector);
|
|
16083
16084
|
setup(): Promise<void>;
|
|
16084
16085
|
reset(): Promise<void>;
|
|
16085
16086
|
openConfiguration({ onClose }?: OpenFieldMappingInstanceConfigurationOptions): Promise<void>;
|
|
16086
16087
|
}
|
|
16087
16088
|
declare class ConnectionLevelFieldMappingAccessor extends ConnectionLevelElementAccessor<FieldMappingInstance, UpdateFieldMappingInstanceRequest> {
|
|
16088
|
-
client:
|
|
16089
|
+
client: MembraneApiClient;
|
|
16089
16090
|
connectionSelector: string;
|
|
16090
16091
|
fieldMappingSelector: string;
|
|
16091
16092
|
query: InstanceKeyQuery;
|
|
16092
|
-
constructor(client:
|
|
16093
|
+
constructor(client: MembraneApiClient, connectionSelector: string, fieldMappingSelector: string, query: InstanceKeyQuery);
|
|
16093
16094
|
openConfiguration({ onClose }?: OpenFieldMappingInstanceConfigurationOptions): Promise<void>;
|
|
16094
16095
|
}
|
|
16095
16096
|
declare class ConnectionLevelFieldMappingsAccessor extends ConnectionLevelElementsListAccessor<FieldMappingInstance, ListFieldMappingInstancesForConnectionQuery> {
|
|
16096
|
-
client:
|
|
16097
|
+
client: MembraneApiClient;
|
|
16097
16098
|
connectionSelector: string;
|
|
16098
|
-
constructor(client:
|
|
16099
|
+
constructor(client: MembraneApiClient, connectionSelector: string);
|
|
16099
16100
|
}
|
|
16100
16101
|
|
|
16101
16102
|
interface OpenFlowInstanceConfigurationOptions extends OpenConfigurationOptions {
|
|
@@ -16104,13 +16105,13 @@ interface OpenFlowInstanceConfigurationOptions extends OpenConfigurationOptions
|
|
|
16104
16105
|
interface OpenFlowInstanceEditorOptions extends OpenConfigurationOptions {
|
|
16105
16106
|
}
|
|
16106
16107
|
declare class FlowInstancesAccessor extends ElementInstanceListAccessor<FlowInstance, FindFlowInstancesQuery> {
|
|
16107
|
-
constructor(client:
|
|
16108
|
+
constructor(client: MembraneApiClient);
|
|
16108
16109
|
create(data: CreateFlowInstanceRequest): Promise<FlowInstance>;
|
|
16109
16110
|
}
|
|
16110
16111
|
declare class FlowInstanceAccessor extends ElementInstanceAccessor<FlowInstance, FlowInstanceSelector, CreateFlowInstanceRequest, UpdateFlowInstanceRequest> {
|
|
16111
|
-
protected client:
|
|
16112
|
+
protected client: MembraneApiClient;
|
|
16112
16113
|
protected selector: FlowInstanceSelector | string;
|
|
16113
|
-
constructor(client:
|
|
16114
|
+
constructor(client: MembraneApiClient, selector: FlowInstanceSelector | string);
|
|
16114
16115
|
enable(): Promise<FlowInstance>;
|
|
16115
16116
|
disable(): Promise<FlowInstance>;
|
|
16116
16117
|
updateToLatestFlow(): Promise<FlowInstance>;
|
|
@@ -16125,11 +16126,11 @@ declare class FlowInstanceAccessor extends ElementInstanceAccessor<FlowInstance,
|
|
|
16125
16126
|
run(options?: RunFlowOptions): Promise<FlowRun>;
|
|
16126
16127
|
}
|
|
16127
16128
|
declare class ConnectionLevelFlowAccessor extends ConnectionLevelElementAccessor<FlowInstance, UpdateFlowInstanceRequest> {
|
|
16128
|
-
client:
|
|
16129
|
+
client: MembraneApiClient;
|
|
16129
16130
|
connectionSelector: string;
|
|
16130
16131
|
flowSelector: string;
|
|
16131
16132
|
query: InstanceKeyQuery;
|
|
16132
|
-
constructor(client:
|
|
16133
|
+
constructor(client: MembraneApiClient, connectionSelector: string, flowSelector: string, query: InstanceKeyQuery);
|
|
16133
16134
|
enable(): Promise<FlowInstance>;
|
|
16134
16135
|
disable(): Promise<FlowInstance>;
|
|
16135
16136
|
run(options: {
|
|
@@ -16140,19 +16141,19 @@ declare class ConnectionLevelFlowAccessor extends ConnectionLevelElementAccessor
|
|
|
16140
16141
|
openEditor(options?: OpenFlowInstanceEditorOptions): Promise<void>;
|
|
16141
16142
|
}
|
|
16142
16143
|
declare class ConnectionLevelFlowsAccessor extends ConnectionLevelElementsListAccessor<FlowInstance, ListFlowInstancesForConnectionQuery> {
|
|
16143
|
-
client:
|
|
16144
|
+
client: MembraneApiClient;
|
|
16144
16145
|
connectionSelector: string;
|
|
16145
|
-
constructor(client:
|
|
16146
|
+
constructor(client: MembraneApiClient, connectionSelector: string);
|
|
16146
16147
|
}
|
|
16147
16148
|
|
|
16148
16149
|
declare class ConnectionsAccessor extends ElementInstanceListAccessor<Connection, FindConnectionsQuery> {
|
|
16149
|
-
constructor(client:
|
|
16150
|
+
constructor(client: MembraneApiClient);
|
|
16150
16151
|
create(data: CreateConnectionRequest): Promise<Connection>;
|
|
16151
16152
|
}
|
|
16152
16153
|
declare class ConnectionAccessor {
|
|
16153
|
-
client:
|
|
16154
|
+
client: MembraneApiClient;
|
|
16154
16155
|
connectionSelector: string;
|
|
16155
|
-
constructor(client:
|
|
16156
|
+
constructor(client: MembraneApiClient, connectionSelector: string);
|
|
16156
16157
|
get actions(): ConnectionLevelActionsAccessor;
|
|
16157
16158
|
action(actionSelector: string, query?: InstanceKeyQuery): ConnectionLevelActionAccessor;
|
|
16158
16159
|
get flows(): ConnectionLevelFlowsAccessor;
|
|
@@ -16244,19 +16245,19 @@ declare class ConnectionAccessor {
|
|
|
16244
16245
|
getPath(subpath?: string, query?: Record<string, any>): string;
|
|
16245
16246
|
}
|
|
16246
16247
|
declare class ConnectionOperationAccessor {
|
|
16247
|
-
client:
|
|
16248
|
+
client: MembraneApiClient;
|
|
16248
16249
|
connectionAccessor: ConnectionAccessor;
|
|
16249
16250
|
key: string;
|
|
16250
|
-
constructor(client:
|
|
16251
|
+
constructor(client: MembraneApiClient, connectionAccessor: ConnectionAccessor, key: string);
|
|
16251
16252
|
get(): Promise<OperationSpec>;
|
|
16252
16253
|
run(request?: OperationRunRequest): Promise<OperationRunResponse>;
|
|
16253
16254
|
}
|
|
16254
16255
|
declare class ConnectionDataCollectionAccessor {
|
|
16255
|
-
client:
|
|
16256
|
+
client: MembraneApiClient;
|
|
16256
16257
|
connectionAccessor: ConnectionAccessor;
|
|
16257
16258
|
key: string;
|
|
16258
16259
|
parameters: Record<string, any>;
|
|
16259
|
-
constructor(client:
|
|
16260
|
+
constructor(client: MembraneApiClient, connectionAccessor: ConnectionAccessor, key: string, parameters: Record<string, any>);
|
|
16260
16261
|
get(): Promise<DataCollectionSpec>;
|
|
16261
16262
|
findById(request?: DataCollectionFindByIdRequest): Promise<DataCollectionFindByIdResponse>;
|
|
16262
16263
|
list(request?: DataCollectionListRequest): Promise<DataCollectionListResponse>;
|
|
@@ -16278,30 +16279,30 @@ declare class ConnectionProxy {
|
|
|
16278
16279
|
}
|
|
16279
16280
|
|
|
16280
16281
|
declare class FlowsAccessor extends ElementListAccessor<Flow, FindFlowsQuery, CreateFlowRequest> {
|
|
16281
|
-
constructor(client:
|
|
16282
|
+
constructor(client: MembraneApiClient);
|
|
16282
16283
|
}
|
|
16283
16284
|
declare class FlowAccessor extends ElementAccessor<Flow, UpdateFlowRequest, FlowSelector> {
|
|
16284
|
-
constructor(client:
|
|
16285
|
+
constructor(client: MembraneApiClient, selector: FlowSelector | string);
|
|
16285
16286
|
apply(integrationKeys: string[]): Promise<Flow[]>;
|
|
16286
16287
|
reset(): Promise<Flow>;
|
|
16287
16288
|
}
|
|
16288
16289
|
declare class IntegrationLevelFlowAccessor extends IntegrationLevelElementAccessor<Flow, UpdateFlowRequest> {
|
|
16289
|
-
client:
|
|
16290
|
+
client: MembraneApiClient;
|
|
16290
16291
|
integrationSelector: string;
|
|
16291
16292
|
flowSelector: string;
|
|
16292
|
-
constructor(client:
|
|
16293
|
+
constructor(client: MembraneApiClient, integrationSelector: string, flowSelector: string);
|
|
16293
16294
|
}
|
|
16294
16295
|
declare class IntegrationLevelFlowsListAccessor extends IntegrationLevelElementsListAccessor<Flow, ListFlowsForIntegrationQuery, Omit<CreateFlowRequest, 'integrationId'>> {
|
|
16295
|
-
client:
|
|
16296
|
+
client: MembraneApiClient;
|
|
16296
16297
|
integrationSelector: string;
|
|
16297
|
-
constructor(client:
|
|
16298
|
+
constructor(client: MembraneApiClient, integrationSelector: string);
|
|
16298
16299
|
}
|
|
16299
16300
|
|
|
16300
16301
|
interface OpenFlowRunEditorOptions extends OpenConfigurationOptions {
|
|
16301
16302
|
}
|
|
16302
16303
|
declare class FlowRunsAccessor {
|
|
16303
16304
|
private readonly client;
|
|
16304
|
-
constructor(client:
|
|
16305
|
+
constructor(client: MembraneApiClient);
|
|
16305
16306
|
find(query: FindFlowRunsQuery): Promise<FindFlowRunsResponse>;
|
|
16306
16307
|
create(request: CreateFlowRunRequest): Promise<FlowRun>;
|
|
16307
16308
|
}
|
|
@@ -16309,7 +16310,7 @@ declare class FlowRunAccessor {
|
|
|
16309
16310
|
private readonly client;
|
|
16310
16311
|
id: string;
|
|
16311
16312
|
private baseUri;
|
|
16312
|
-
constructor(client:
|
|
16313
|
+
constructor(client: MembraneApiClient, id: string);
|
|
16313
16314
|
get(): Promise<FlowRun>;
|
|
16314
16315
|
stop(): Promise<void>;
|
|
16315
16316
|
getOutput(): Promise<any>;
|
|
@@ -16329,37 +16330,37 @@ declare class FlowRunAccessor {
|
|
|
16329
16330
|
}
|
|
16330
16331
|
|
|
16331
16332
|
declare class FieldMappingsAccessor extends ElementListAccessor<FieldMapping, FindFieldMappingsQuery, CreateFieldMappingRequest> {
|
|
16332
|
-
constructor(client:
|
|
16333
|
+
constructor(client: MembraneApiClient);
|
|
16333
16334
|
}
|
|
16334
16335
|
declare class FieldMappingAccessor extends ElementAccessor<FieldMapping, UpdateFieldMappingRequest, FieldMappingSelector> {
|
|
16335
|
-
constructor(client:
|
|
16336
|
+
constructor(client: MembraneApiClient, selector: string | FieldMappingSelector);
|
|
16336
16337
|
getAppSchema(): Promise<any>;
|
|
16337
16338
|
apply(integrationKeys: string[]): Promise<FieldMapping[]>;
|
|
16338
16339
|
setup(): Promise<any>;
|
|
16339
16340
|
reset(): Promise<any>;
|
|
16340
16341
|
}
|
|
16341
16342
|
declare class IntegrationLevelFieldMappingAccessor extends IntegrationLevelElementAccessor<FieldMapping, UpdateFieldMappingRequest> {
|
|
16342
|
-
client:
|
|
16343
|
+
client: MembraneApiClient;
|
|
16343
16344
|
integrationSelector: string;
|
|
16344
16345
|
fieldMappingSelector: string;
|
|
16345
|
-
constructor(client:
|
|
16346
|
+
constructor(client: MembraneApiClient, integrationSelector: string, fieldMappingSelector: string);
|
|
16346
16347
|
}
|
|
16347
16348
|
declare class IntegrationLevelFieldMappingsListAccessor extends IntegrationLevelElementsListAccessor<FieldMapping, ListFieldMappingsForIntegrationQuery, Omit<CreateFieldMappingRequest, 'integrationId'>> {
|
|
16348
|
-
client:
|
|
16349
|
+
client: MembraneApiClient;
|
|
16349
16350
|
integrationSelector: string;
|
|
16350
|
-
constructor(client:
|
|
16351
|
+
constructor(client: MembraneApiClient, integrationSelector: string);
|
|
16351
16352
|
}
|
|
16352
16353
|
|
|
16353
16354
|
interface OpenIntegrationUIIntegrationConfigurationOptions extends OpenConfigurationOptions {
|
|
16354
16355
|
}
|
|
16355
16356
|
declare class IntegrationsAccessor extends ElementListAccessor<Integration, FindIntegrationsQuery, CreateIntegrationRequest> {
|
|
16356
|
-
constructor(client:
|
|
16357
|
+
constructor(client: MembraneApiClient);
|
|
16357
16358
|
}
|
|
16358
16359
|
declare class IntegrationAccessor extends ElementAccessor<Integration, UpdateIntegrationRequest> {
|
|
16359
16360
|
private client;
|
|
16360
16361
|
private integrationSelector;
|
|
16361
16362
|
baseUri: string;
|
|
16362
|
-
constructor(client:
|
|
16363
|
+
constructor(client: MembraneApiClient, integrationSelector: string);
|
|
16363
16364
|
get actions(): IntegrationLevelActionsListAccessor;
|
|
16364
16365
|
action(actionSelector: string): IntegrationLevelActionAccessor;
|
|
16365
16366
|
get flows(): IntegrationLevelFlowsListAccessor;
|
|
@@ -16459,82 +16460,82 @@ declare class IntegrationAccessor extends ElementAccessor<Integration, UpdateInt
|
|
|
16459
16460
|
}
|
|
16460
16461
|
|
|
16461
16462
|
declare class ScenariosAccessor extends ElementListAccessor<Scenario, FindScenariosQuery, CreateScenarioRequest> {
|
|
16462
|
-
constructor(client:
|
|
16463
|
+
constructor(client: MembraneApiClient);
|
|
16463
16464
|
}
|
|
16464
16465
|
declare class ScenarioAccessor extends ElementAccessor<Scenario, UpdateScenarioRequest> {
|
|
16465
|
-
constructor(client:
|
|
16466
|
+
constructor(client: MembraneApiClient, selector: string);
|
|
16466
16467
|
}
|
|
16467
16468
|
|
|
16468
16469
|
declare class ScreensAccessor extends ElementListAccessor<Screen, FindScreensQuery, CreateScreenRequest> {
|
|
16469
|
-
constructor(client:
|
|
16470
|
+
constructor(client: MembraneApiClient);
|
|
16470
16471
|
}
|
|
16471
16472
|
declare class ScreenAccessor extends ElementAccessor<Screen, UpdateScreenRequest, ScreenSelector> {
|
|
16472
|
-
constructor(client:
|
|
16473
|
+
constructor(client: MembraneApiClient, selector: ScreenSelector | string);
|
|
16473
16474
|
}
|
|
16474
16475
|
|
|
16475
16476
|
declare class CustomersAccessor extends ElementListAccessor<Customer, FindCustomersQuery, CreateCustomerRequest> {
|
|
16476
|
-
constructor(client:
|
|
16477
|
+
constructor(client: MembraneApiClient);
|
|
16477
16478
|
}
|
|
16478
16479
|
declare class CustomerAccessor extends ElementAccessor<Customer, UpdateCustomerRequest, CustomerSelector> {
|
|
16479
|
-
constructor(client:
|
|
16480
|
+
constructor(client: MembraneApiClient, selector: CustomerSelector | string);
|
|
16480
16481
|
}
|
|
16481
16482
|
|
|
16482
16483
|
declare class DataLinkTablesAccessor extends ElementListAccessor<BaseDataLinkTable, FindDataLinkTablesQuery, CreateDataLinkTableRequest> {
|
|
16483
|
-
constructor(client:
|
|
16484
|
+
constructor(client: MembraneApiClient);
|
|
16484
16485
|
}
|
|
16485
16486
|
declare class DataLinkTableAccessor extends ElementAccessor<BaseDataLinkTable, UpdateDataLinkTableRequest> {
|
|
16486
|
-
constructor(client:
|
|
16487
|
+
constructor(client: MembraneApiClient, idOrKey: string);
|
|
16487
16488
|
}
|
|
16488
16489
|
|
|
16489
16490
|
declare class DataLinkTableInstancesAccessor extends ElementInstanceListAccessor<DataLinkTableInstance, FindDataLinkTableInstancesQuery> {
|
|
16490
|
-
constructor(client:
|
|
16491
|
+
constructor(client: MembraneApiClient);
|
|
16491
16492
|
}
|
|
16492
16493
|
declare class DataLinkTableInstanceAccessor extends ElementInstanceAccessor<DataLinkTableInstance, DataLinkTableInstanceSelector, UpdateDataLinkTableInstanceRequest, UpdateDataLinkTableInstanceRequest> {
|
|
16493
16494
|
private client;
|
|
16494
|
-
constructor(client:
|
|
16495
|
+
constructor(client: MembraneApiClient, selector: string | DataLinkTableInstanceSelector);
|
|
16495
16496
|
findLinks(query?: FindDataLinksInTableQuery): Promise<FindDataLinksResponse>;
|
|
16496
16497
|
createLink(data: CreateDataLinkRequest): Promise<void>;
|
|
16497
16498
|
deleteLink(data: DeleteDataLinkRequest): Promise<void>;
|
|
16498
16499
|
}
|
|
16499
16500
|
|
|
16500
16501
|
declare class AppEventTypesAccessor extends ElementListAccessor<BaseAppEventType, FindAppEventTypesQuery, CreateAppEventTypeRequest> {
|
|
16501
|
-
constructor(client:
|
|
16502
|
+
constructor(client: MembraneApiClient);
|
|
16502
16503
|
}
|
|
16503
16504
|
declare class AppEventTypeAccessor extends ElementAccessor<BaseAppEventType, UpdateAppEventTypeRequest> {
|
|
16504
|
-
constructor(client:
|
|
16505
|
+
constructor(client: MembraneApiClient, idOrKey: string);
|
|
16505
16506
|
}
|
|
16506
16507
|
|
|
16507
16508
|
declare class AppEventSubscriptionsAccessor extends ElementInstanceListAccessor<AppEventSubscription, FindAppEventSubscriptionsQuery> {
|
|
16508
|
-
constructor(client:
|
|
16509
|
+
constructor(client: MembraneApiClient);
|
|
16509
16510
|
}
|
|
16510
16511
|
declare class AppEventSubscriptionAccessor extends ElementInstanceAccessor<AppEventSubscription, AppEventSubscriptionSelector, UpdateAppEventSubscriptionRequest, UpdateAppEventSubscriptionRequest> {
|
|
16511
|
-
constructor(client:
|
|
16512
|
+
constructor(client: MembraneApiClient, selector: string | AppEventSubscriptionSelector);
|
|
16512
16513
|
subscribe(): Promise<void>;
|
|
16513
16514
|
}
|
|
16514
16515
|
|
|
16515
16516
|
declare class AppDataSchemasAccessor extends ElementListAccessor<BaseAppDataSchema, FindAppDataSchemasQuery, CreateAppDataSchemaRequest> {
|
|
16516
|
-
constructor(client:
|
|
16517
|
+
constructor(client: MembraneApiClient);
|
|
16517
16518
|
}
|
|
16518
16519
|
declare class AppDataSchemaAccessor extends ElementAccessor<BaseAppDataSchema, UpdateAppDataSchemaRequest> {
|
|
16519
|
-
constructor(client:
|
|
16520
|
+
constructor(client: MembraneApiClient, idOrKey: string);
|
|
16520
16521
|
}
|
|
16521
16522
|
|
|
16522
16523
|
declare class AppDataSchemaInstancesAccessor extends ElementInstanceListAccessor<AppDataSchemaInstance, FindAppDataSchemaInstancesQuery> {
|
|
16523
|
-
constructor(client:
|
|
16524
|
+
constructor(client: MembraneApiClient);
|
|
16524
16525
|
}
|
|
16525
16526
|
declare class AppDataSchemaInstanceAccessor extends ElementInstanceAccessor<AppDataSchemaInstance, AppDataSchemaInstanceSelector, UpdateAppDataSchemaInstanceRequest, CreateAppDataSchemaInstanceRequest> {
|
|
16526
16527
|
private client;
|
|
16527
|
-
constructor(client:
|
|
16528
|
+
constructor(client: MembraneApiClient, selector: string | AppDataSchemaInstanceSelector);
|
|
16528
16529
|
setup(): Promise<void>;
|
|
16529
16530
|
}
|
|
16530
16531
|
|
|
16531
16532
|
declare class ExternalEventSubscriptionsAccessor extends ElementInstanceListAccessor<ExternalEventSubscription, FindExternalEventSubscriptionsQuery> {
|
|
16532
|
-
constructor(client:
|
|
16533
|
+
constructor(client: MembraneApiClient);
|
|
16533
16534
|
}
|
|
16534
16535
|
declare class ExternalEventSubscriptionAccessor {
|
|
16535
16536
|
private client;
|
|
16536
16537
|
private id;
|
|
16537
|
-
constructor(client:
|
|
16538
|
+
constructor(client: MembraneApiClient, id: string);
|
|
16538
16539
|
get(): Promise<ExternalEventSubscription>;
|
|
16539
16540
|
setup(): Promise<void>;
|
|
16540
16541
|
subscribe(): Promise<void>;
|
|
@@ -16544,13 +16545,13 @@ declare class ExternalEventSubscriptionAccessor {
|
|
|
16544
16545
|
private getPath;
|
|
16545
16546
|
}
|
|
16546
16547
|
|
|
16547
|
-
interface
|
|
16548
|
+
interface OpenMembraneConfigurationOptions extends OpenConfigurationOptions {
|
|
16548
16549
|
}
|
|
16549
|
-
declare class
|
|
16550
|
-
constructor(options:
|
|
16550
|
+
declare class MembraneClient extends MembraneApiClient {
|
|
16551
|
+
constructor(options: MembraneClientOptions);
|
|
16551
16552
|
get self(): SelfAccessor;
|
|
16552
16553
|
get flows(): FlowsAccessor;
|
|
16553
|
-
open({ onClose }?:
|
|
16554
|
+
open({ onClose }?: OpenMembraneConfigurationOptions): Promise<void>;
|
|
16554
16555
|
action(selector: string | ActionSelector): ActionAccessor;
|
|
16555
16556
|
get actions(): ActionsAccessor;
|
|
16556
16557
|
screen(selector: string | ScreenSelector): ScreenAccessor;
|
|
@@ -16596,4 +16597,4 @@ declare class IntegrationAppClient extends IntegrationAppApiClient {
|
|
|
16596
16597
|
connectionRequest(connectionId: string, uri: string, data?: any): Promise<any>;
|
|
16597
16598
|
}
|
|
16598
16599
|
|
|
16599
|
-
export {
|
|
16600
|
+
export { MembraneClient as default };
|