@membranehq/sdk 0.7.5 → 0.8.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 +317 -108
- package/dist/bundle.js +351 -270
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/action-instances-accessors.d.ts +1 -2
- package/dist/dts/accessors/actions-accessors.d.ts +0 -1
- package/dist/dts/accessors/data-sources-accessors.d.ts +0 -1
- package/dist/dts/accessors/field-mappings-accessors.d.ts +0 -1
- package/dist/dts/accessors/flows-accessors.d.ts +0 -1
- package/dist/dts/accessors/scenarios-accessors.d.ts +6 -4
- package/dist/dts/alerts/types.d.ts +3 -1
- package/dist/dts/client.d.ts +3 -3
- package/dist/dts/webhooks/types.d.ts +5 -2
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +5 -0
- package/dist/dts/workspace-elements/api/actions-api.d.ts +309 -1
- package/dist/dts/workspace-elements/api/index.d.ts +1 -2
- package/dist/dts/workspace-elements/api/{scenarios-api.d.ts → packages-api.d.ts} +11 -7
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +14 -9
- package/dist/dts/workspace-elements/base/actions/index.d.ts +46 -0
- package/dist/dts/workspace-elements/base/index.d.ts +1 -2
- package/dist/dts/workspace-elements/base/{scenarios → packages}/index.d.ts +8 -8
- package/dist/dts/workspace-elements/types.d.ts +7 -1
- package/dist/dts/workspace-elements-catalog/index.d.ts +2 -0
- package/dist/index.browser.d.mts +894 -648
- package/dist/index.browser.d.ts +894 -648
- package/dist/index.browser.js +146 -131
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +136 -125
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +894 -648
- package/dist/index.node.d.ts +894 -648
- package/dist/index.node.js +146 -131
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +136 -125
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +0 -94
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@membranehq/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "JavaScript SDK for Membrane",
|
|
5
5
|
"author": "Integration App, Inc",
|
|
6
6
|
"source": "src/index.node.ts",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
90
|
"@ungap/structured-clone": "^1.3.0",
|
|
91
|
-
"axios": "^1.
|
|
91
|
+
"axios": "^1.12.0",
|
|
92
92
|
"fast-deep-equal": "^3.1.3",
|
|
93
93
|
"humanparser": "^2.7.0",
|
|
94
94
|
"js-convert-case": "^4.2.0",
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { ConnectionSelector } from './connections-api';
|
|
3
|
-
import { ElementInstanceSelector } from '../../accessors';
|
|
4
|
-
export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
5
|
-
id: z.ZodString;
|
|
6
|
-
key: z.ZodOptional<z.ZodString>;
|
|
7
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
8
|
-
description: z.ZodOptional<z.ZodString>;
|
|
9
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
10
|
-
name: z.ZodString;
|
|
11
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
|
|
12
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
|
|
13
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
14
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
15
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
16
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
17
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
19
|
-
universalParentId: z.ZodOptional<z.ZodString>;
|
|
20
|
-
userId: z.ZodString;
|
|
21
|
-
instanceKey: z.ZodOptional<z.ZodString>;
|
|
22
|
-
type: z.ZodOptional<z.ZodEnum<typeof import("../base/actions").ActionType>>;
|
|
23
|
-
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
24
|
-
config: z.ZodOptional<z.ZodAny>;
|
|
25
|
-
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
26
|
-
user: z.ZodOptional<z.ZodObject<{
|
|
27
|
-
id: z.ZodString;
|
|
28
|
-
name: z.ZodString;
|
|
29
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
30
|
-
internalId: z.ZodString;
|
|
31
|
-
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
32
|
-
credentials: z.ZodOptional<z.ZodAny>;
|
|
33
|
-
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
34
|
-
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
35
|
-
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
36
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
37
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
38
|
-
}, z.core.$strip>>;
|
|
39
|
-
parent: z.ZodOptional<z.ZodObject<{
|
|
40
|
-
id: z.ZodString;
|
|
41
|
-
key: z.ZodOptional<z.ZodString>;
|
|
42
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
43
|
-
description: z.ZodOptional<z.ZodString>;
|
|
44
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
45
|
-
integrationId: z.ZodOptional<z.ZodString>;
|
|
46
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
47
|
-
inputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, unknown, z.core.$ZodTypeInternals<import("../..").DataSchema, unknown>>>;
|
|
48
|
-
type: z.ZodOptional<z.ZodEnum<typeof import("../base/actions").ActionType>>;
|
|
49
|
-
config: z.ZodOptional<z.ZodAny>;
|
|
50
|
-
outputMapping: z.ZodOptional<z.ZodAny>;
|
|
51
|
-
customOutputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, unknown, z.core.$ZodTypeInternals<import("../..").DataSchema, unknown>>>;
|
|
52
|
-
name: z.ZodString;
|
|
53
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
|
|
54
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
|
|
55
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
56
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
57
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
58
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
59
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
60
|
-
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
-
}, z.core.$strip>>;
|
|
62
|
-
}, z.core.$strip>;
|
|
63
|
-
export type ActionInstanceApiResponse = z.infer<typeof ActionInstanceApiResponse>;
|
|
64
|
-
export type ActionInstance = ActionInstanceApiResponse;
|
|
65
|
-
export interface ActionInstanceSelector extends ConnectionSelector, ElementInstanceSelector {
|
|
66
|
-
}
|
|
67
|
-
export declare const ListActionInstancesForConnectionQuery: z.ZodObject<{
|
|
68
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
69
|
-
universalParentId: z.ZodOptional<z.ZodString>;
|
|
70
|
-
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
71
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
72
|
-
}, z.core.$strip>;
|
|
73
|
-
export type ListActionInstancesForConnectionQuery = z.infer<typeof ListActionInstancesForConnectionQuery>;
|
|
74
|
-
export declare const FindActionInstancesQuery: z.ZodObject<{
|
|
75
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
76
|
-
universalParentId: z.ZodOptional<z.ZodString>;
|
|
77
|
-
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
78
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
79
|
-
integrationKey: z.ZodOptional<z.ZodString>;
|
|
80
|
-
integrationId: z.ZodOptional<z.ZodString>;
|
|
81
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
82
|
-
connectionId: z.ZodOptional<z.ZodString>;
|
|
83
|
-
}, z.core.$strip>;
|
|
84
|
-
export type FindActionInstancesQuery = z.infer<typeof FindActionInstancesQuery>;
|
|
85
|
-
export declare const CreateActionInstanceRequest: z.ZodObject<{
|
|
86
|
-
parentId: z.ZodString;
|
|
87
|
-
connectionId: z.ZodString;
|
|
88
|
-
config: z.ZodOptional<z.ZodAny>;
|
|
89
|
-
}, z.core.$strip>;
|
|
90
|
-
export type CreateActionInstanceRequest = z.infer<typeof CreateActionInstanceRequest>;
|
|
91
|
-
export declare const UpdateActionInstanceRequest: z.ZodObject<{
|
|
92
|
-
config: z.ZodOptional<z.ZodAny>;
|
|
93
|
-
}, z.core.$strip>;
|
|
94
|
-
export type UpdateActionInstanceRequest = z.infer<typeof UpdateActionInstanceRequest>;
|