@membranehq/sdk 0.4.0 → 0.5.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 +8370 -1268
- package/dist/bundle.js +2216 -2085
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +57 -1
- package/dist/dts/accessors/integrations-accessors.d.ts +57 -1
- package/dist/dts/api-client.d.ts +1 -0
- package/dist/dts/client.d.ts +1 -0
- package/dist/dts/data-schema/types.d.ts +4 -3
- package/dist/dts/entity-repository.d.ts +87 -20
- package/dist/dts/formulas/dataSchemaRef.d.ts +2 -2
- package/dist/dts/http-requests.d.ts +20 -6
- package/dist/dts/iframe.d.ts +12 -4
- package/dist/dts/index.d.ts +2 -1
- package/dist/dts/sse/index.d.ts +1 -0
- package/dist/dts/sse/workspace-elements.d.ts +9 -0
- package/dist/dts/workspace-elements/api/actions-api.d.ts +702 -40
- package/dist/dts/workspace-elements/api/connections-api.d.ts +702 -41
- package/dist/dts/workspace-elements/api/customers-api.d.ts +56 -13
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +834 -77
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +440 -6
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +586 -6
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/flows-api.d.ts +2417 -50
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +253 -24
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +397 -34
- package/dist/dts/workspace-elements/api/screens-api.d.ts +2 -2
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +61 -14
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +30 -7
- package/dist/dts/workspace-elements/base/actions/types.d.ts +60 -17
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +42 -7
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +35 -7
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +78 -9
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +70 -7
- package/dist/dts/workspace-elements/base/connections/types.d.ts +76 -20
- package/dist/dts/workspace-elements/base/connectors/types.d.ts +14 -2
- package/dist/dts/workspace-elements/base/customers/index.d.ts +26 -6
- package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +75 -74
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +61 -11
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +26 -4
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +1030 -19
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +89 -22
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +31 -8
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +35 -8
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +199 -23
- package/dist/dts/workspace-elements/base/external-events/types.d.ts +145 -5
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +74 -16
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +91 -14
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +39 -39
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +155 -24
- package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +20 -20
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +114 -19
- package/dist/dts/workspace-elements/base/flows/types.d.ts +220 -26
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +497 -24
- package/dist/dts/workspace-elements/base/scenarios/types.d.ts +723 -23
- package/dist/dts/workspace-elements/base/screens/types.d.ts +40 -6
- package/dist/index.d.ts +12141 -2138
- package/dist/index.js +1555 -522
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +12141 -2138
- package/dist/index.module.mjs +1414 -490
- package/dist/index.module.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,23 +1,66 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z } from 'zod';
|
|
2
2
|
import { BaseCustomer } from '../base/customers';
|
|
3
|
-
export
|
|
4
|
-
name
|
|
3
|
+
export declare const CreateCustomerRequest: z.ZodObject<{
|
|
4
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5
|
+
internalId: z.ZodString;
|
|
6
|
+
fields: z.ZodOptional<z.ZodAny>;
|
|
7
|
+
credentials: z.ZodOptional<z.ZodAny>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
9
|
internalId: string;
|
|
10
|
+
name?: string | undefined;
|
|
11
|
+
credentials?: any;
|
|
12
|
+
fields?: any;
|
|
13
|
+
}, {
|
|
14
|
+
internalId: string;
|
|
15
|
+
name?: string | undefined;
|
|
16
|
+
credentials?: any;
|
|
6
17
|
fields?: any;
|
|
18
|
+
}>;
|
|
19
|
+
export type CreateCustomerRequest = z.infer<typeof CreateCustomerRequest>;
|
|
20
|
+
export declare const UpdateCustomerRequest: z.ZodObject<{
|
|
21
|
+
name: z.ZodOptional<z.ZodString>;
|
|
22
|
+
internalId: z.ZodOptional<z.ZodString>;
|
|
23
|
+
fields: z.ZodOptional<z.ZodAny>;
|
|
24
|
+
credentials: z.ZodOptional<z.ZodAny>;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
name?: string | undefined;
|
|
7
27
|
credentials?: any;
|
|
8
|
-
};
|
|
9
|
-
export type UpdateCustomerRequest = {
|
|
10
|
-
name?: string;
|
|
11
|
-
internalId?: string;
|
|
12
28
|
fields?: any;
|
|
29
|
+
internalId?: string | undefined;
|
|
30
|
+
}, {
|
|
31
|
+
name?: string | undefined;
|
|
13
32
|
credentials?: any;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export
|
|
33
|
+
fields?: any;
|
|
34
|
+
internalId?: string | undefined;
|
|
35
|
+
}>;
|
|
36
|
+
export type UpdateCustomerRequest = z.infer<typeof UpdateCustomerRequest>;
|
|
37
|
+
export declare const FindCustomersQuery: z.ZodObject<{
|
|
38
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
+
} & {
|
|
40
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
42
|
+
} & {
|
|
43
|
+
search: z.ZodOptional<z.ZodString>;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
search?: string | undefined;
|
|
46
|
+
limit?: number | undefined;
|
|
47
|
+
cursor?: string | undefined;
|
|
48
|
+
isTest?: boolean | undefined;
|
|
49
|
+
}, {
|
|
50
|
+
search?: string | undefined;
|
|
51
|
+
limit?: number | undefined;
|
|
52
|
+
cursor?: string | undefined;
|
|
53
|
+
isTest?: boolean | undefined;
|
|
54
|
+
}>;
|
|
55
|
+
export type FindCustomersQuery = z.infer<typeof FindCustomersQuery>;
|
|
56
|
+
export declare const CustomerSelector: z.ZodObject<{
|
|
57
|
+
id: z.ZodString;
|
|
58
|
+
}, "strip", z.ZodTypeAny, {
|
|
59
|
+
id: string;
|
|
60
|
+
}, {
|
|
19
61
|
id: string;
|
|
20
|
-
}
|
|
62
|
+
}>;
|
|
63
|
+
export type CustomerSelector = z.infer<typeof CustomerSelector>;
|
|
21
64
|
export type CreateUserRequest = CreateCustomerRequest;
|
|
22
65
|
export type UpdateUserRequest = UpdateCustomerRequest;
|
|
23
66
|
export type FindUsersQuery = FindCustomersQuery;
|