@membranehq/sdk 0.9.9 → 0.9.11
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 +281 -239
- package/dist/bundle.js +24 -6
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/base-accessors.d.ts +1 -1
- package/dist/dts/alerts/types.d.ts +2 -1
- package/dist/dts/{entity-repository.d.ts → api/index.d.ts} +31 -8
- package/dist/dts/index.browser.d.ts +2 -2
- package/dist/dts/integration-elements/connection-level-element.accessor.d.ts +1 -1
- package/dist/dts/integration-elements/integration-level-element.accessor.d.ts +1 -1
- package/dist/dts/orgs/types.d.ts +3 -0
- package/dist/dts/scenario-templates/index.d.ts +1 -1
- package/dist/dts/usage/types.d.ts +1 -0
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +212 -1
- package/dist/dts/workspace-elements/api/actions-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +12 -8
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +22 -13
- package/dist/dts/workspace-elements/api/connections-api.d.ts +11 -5
- package/dist/dts/workspace-elements/api/connectors-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +55 -17
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +17 -0
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +2 -2
- package/dist/dts/workspace-elements/api/external-apps-api.d.ts +10 -0
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +11 -0
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +1 -8
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/flows-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/index.d.ts +2 -0
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +26 -8
- package/dist/dts/workspace-elements/api/packages-api.d.ts +23 -9
- package/dist/dts/workspace-elements/api/screens-api.d.ts +7 -4
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +1 -0
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +2 -0
- package/dist/dts/{apps/types.d.ts → workspace-elements/base/external-apps/index.d.ts} +1 -0
- package/dist/dts/workspace-elements/base/external-events/api.d.ts +1 -1
- package/dist/dts/workspace-elements/base/integrations/index.d.ts +122 -1
- package/dist/dts/workspace-elements/base/packages/index.d.ts +36 -6
- package/dist/dts/workspace-elements/types.d.ts +16 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +8 -7
- package/dist/index.browser.d.mts +1451 -1007
- package/dist/index.browser.d.ts +1451 -1007
- package/dist/index.browser.js +243 -60
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +217 -61
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +1451 -1007
- package/dist/index.node.d.ts +1451 -1007
- package/dist/index.node.js +243 -60
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +217 -61
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/dts/apps/index.d.ts +0 -1
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +0 -104
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@membranehq/sdk",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.11",
|
|
4
4
|
"description": "JavaScript SDK for Membrane",
|
|
5
5
|
"author": "Membrane, Inc",
|
|
6
6
|
"source": "src/index.node.ts",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@types/node": "^22.8.6",
|
|
78
78
|
"axios-mock-adapter": "^2.1.0",
|
|
79
79
|
"jest": "^29.7.0",
|
|
80
|
-
"jsonwebtoken": "^9.0.
|
|
80
|
+
"jsonwebtoken": "^9.0.3",
|
|
81
81
|
"madge": "^8.0.0",
|
|
82
82
|
"rimraf": "^6.0.1",
|
|
83
83
|
"rollup": "^4.43.0",
|
package/dist/dts/apps/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './types';
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { ConnectorAuthSpec } from '../connectors';
|
|
3
|
-
export declare const BaseIntegration: z.ZodObject<{
|
|
4
|
-
id: z.ZodString;
|
|
5
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
6
|
-
key: z.ZodOptional<z.ZodString>;
|
|
7
|
-
description: z.ZodOptional<z.ZodString>;
|
|
8
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9
|
-
name: z.ZodString;
|
|
10
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
11
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../../errors").ErrorDataSchema, unknown>>>>;
|
|
12
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
13
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
14
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
15
|
-
logoUri: z.ZodString;
|
|
16
|
-
connectorId: z.ZodOptional<z.ZodString>;
|
|
17
|
-
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
18
|
-
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
19
|
-
parameters: z.ZodOptional<z.ZodAny>;
|
|
20
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
21
|
-
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
-
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
-
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
24
|
-
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
25
|
-
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
26
|
-
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
27
|
-
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
28
|
-
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
29
|
-
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
-
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
-
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
32
|
-
appUuid: z.ZodOptional<z.ZodString>;
|
|
33
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
34
|
-
authType: z.ZodOptional<z.ZodEnum<{
|
|
35
|
-
proxy: "proxy";
|
|
36
|
-
"integration-app-token": "integration-app-token";
|
|
37
|
-
"membrane-token": "membrane-token";
|
|
38
|
-
oauth2: "oauth2";
|
|
39
|
-
oauth1: "oauth1";
|
|
40
|
-
"client-credentials": "client-credentials";
|
|
41
|
-
}>>;
|
|
42
|
-
}, z.core.$strip>;
|
|
43
|
-
export type BaseIntegration = z.infer<typeof BaseIntegration>;
|
|
44
|
-
export declare const IntegrationExportProperties: z.ZodObject<{
|
|
45
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
46
|
-
key: z.ZodOptional<z.ZodString>;
|
|
47
|
-
name: z.ZodOptional<z.ZodString>;
|
|
48
|
-
description: z.ZodOptional<z.ZodString>;
|
|
49
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
50
|
-
logoUri: z.ZodString;
|
|
51
|
-
connectorUuid: z.ZodOptional<z.ZodString>;
|
|
52
|
-
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
53
|
-
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
54
|
-
parameters: z.ZodOptional<z.ZodAny>;
|
|
55
|
-
appUuid: z.ZodOptional<z.ZodString>;
|
|
56
|
-
}, z.core.$strip>;
|
|
57
|
-
export type IntegrationExportProperties = z.infer<typeof IntegrationExportProperties>;
|
|
58
|
-
export type IntegrationAuthOptionLegacy = ConnectorAuthSpec & {
|
|
59
|
-
key: string;
|
|
60
|
-
};
|
|
61
|
-
export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementSchema: Element) => z.ZodArray<z.ZodObject<{
|
|
62
|
-
element: Element;
|
|
63
|
-
integration: z.ZodObject<{
|
|
64
|
-
id: z.ZodString;
|
|
65
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
66
|
-
key: z.ZodOptional<z.ZodString>;
|
|
67
|
-
description: z.ZodOptional<z.ZodString>;
|
|
68
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
69
|
-
name: z.ZodString;
|
|
70
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
71
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../../errors").ErrorDataSchema, unknown>>>>;
|
|
72
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
73
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
74
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
75
|
-
logoUri: z.ZodString;
|
|
76
|
-
connectorId: z.ZodOptional<z.ZodString>;
|
|
77
|
-
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
78
|
-
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
79
|
-
parameters: z.ZodOptional<z.ZodAny>;
|
|
80
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
81
|
-
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
82
|
-
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
83
|
-
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
84
|
-
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
85
|
-
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
-
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
87
|
-
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
-
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
89
|
-
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
90
|
-
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
91
|
-
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
92
|
-
appUuid: z.ZodOptional<z.ZodString>;
|
|
93
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
94
|
-
authType: z.ZodOptional<z.ZodEnum<{
|
|
95
|
-
proxy: "proxy";
|
|
96
|
-
"integration-app-token": "integration-app-token";
|
|
97
|
-
"membrane-token": "membrane-token";
|
|
98
|
-
oauth2: "oauth2";
|
|
99
|
-
oauth1: "oauth1";
|
|
100
|
-
"client-credentials": "client-credentials";
|
|
101
|
-
}>>;
|
|
102
|
-
}, z.core.$strip>;
|
|
103
|
-
}, z.core.$strip>>;
|
|
104
|
-
export type AppliedToIntegrations<Element> = z.infer<ReturnType<typeof AppliedToIntegrations<z.ZodType<Element>>>>;
|