@membranehq/sdk 0.11.2 → 0.11.3
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 +35 -32
- package/dist/bundle.js +1 -0
- package/dist/bundle.js.map +1 -1
- package/dist/dts/async-requests/index.d.ts +1 -0
- package/dist/dts/async-requests/types.d.ts +20 -0
- package/dist/dts/index.browser.d.ts +1 -0
- package/dist/dts/orgs/types.d.ts +18 -0
- package/dist/dts/workspace-elements/api/actions-api.d.ts +19 -19
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +12 -9
- package/dist/dts/workspace-elements/api/connections-api.d.ts +5 -7
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +5 -4
- package/dist/dts/workspace-elements/api/external-apps-api.d.ts +0 -2
- package/dist/dts/workspace-elements/api/packages-api.d.ts +5 -5
- package/dist/dts/workspace-elements/types.d.ts +5 -5
- package/dist/index.browser.d.mts +84 -46
- package/dist/index.browser.d.ts +84 -46
- package/dist/index.browser.js +104 -16
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +102 -17
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +84 -46
- package/dist/index.node.d.ts +84 -46
- package/dist/index.node.js +104 -16
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +102 -17
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
package/dist/bundle.d.ts
CHANGED
|
@@ -322,15 +322,13 @@ declare const FindConnectionsQuery: z.ZodObject<{
|
|
|
322
322
|
cursor: z.ZodOptional<z.ZodString>;
|
|
323
323
|
search: z.ZodOptional<z.ZodString>;
|
|
324
324
|
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
325
|
-
connectorId: z.ZodOptional<z.ZodString>;
|
|
326
|
-
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
327
|
-
id: z.ZodOptional<z.ZodString>;
|
|
328
325
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
329
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
330
|
-
name: z.ZodOptional<z.ZodString>;
|
|
331
|
-
isTest: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
332
|
-
disconnected: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
333
326
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
327
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
328
|
+
disconnected: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
329
|
+
isTest: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
330
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
331
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
334
332
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
335
333
|
includeSecrets: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
336
334
|
}, z.core.$strip>;
|
|
@@ -641,11 +639,6 @@ declare const ActionApiResponse: z.ZodObject<{
|
|
|
641
639
|
}, z.core.$strip>;
|
|
642
640
|
type ActionApiResponse = z.infer<typeof ActionApiResponse>;
|
|
643
641
|
declare const FindActionsQuery: z.ZodObject<{
|
|
644
|
-
layer: z.ZodOptional<z.ZodEnum<{
|
|
645
|
-
connection: "connection";
|
|
646
|
-
integration: "integration";
|
|
647
|
-
universal: "universal";
|
|
648
|
-
}>>;
|
|
649
642
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
650
643
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
651
644
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -654,12 +647,17 @@ declare const FindActionsQuery: z.ZodObject<{
|
|
|
654
647
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
655
648
|
cursor: z.ZodOptional<z.ZodString>;
|
|
656
649
|
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
657
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
658
|
-
universalParentId: z.ZodOptional<z.ZodString>;
|
|
659
650
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
660
651
|
userId: z.ZodOptional<z.ZodString>;
|
|
661
652
|
isUniversal: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
662
653
|
externalAppId: z.ZodOptional<z.ZodString>;
|
|
654
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
655
|
+
connection: "connection";
|
|
656
|
+
integration: "integration";
|
|
657
|
+
universal: "universal";
|
|
658
|
+
}>>;
|
|
659
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
660
|
+
universalParentId: z.ZodOptional<z.ZodString>;
|
|
663
661
|
}, z.core.$strip>;
|
|
664
662
|
type FindActionsQuery = z.infer<typeof FindActionsQuery>;
|
|
665
663
|
declare const CreateActionRequest: z.ZodObject<{
|
|
@@ -954,11 +952,6 @@ type ActionInstance = ActionInstanceApiResponse;
|
|
|
954
952
|
interface ActionInstanceSelector extends ConnectionSelector, ElementInstanceSelector {
|
|
955
953
|
}
|
|
956
954
|
declare const FindActionInstancesQuery: z.ZodObject<{
|
|
957
|
-
layer: z.ZodOptional<z.ZodEnum<{
|
|
958
|
-
connection: "connection";
|
|
959
|
-
integration: "integration";
|
|
960
|
-
universal: "universal";
|
|
961
|
-
}>>;
|
|
962
955
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
963
956
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
964
957
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -967,12 +960,17 @@ declare const FindActionInstancesQuery: z.ZodObject<{
|
|
|
967
960
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
968
961
|
cursor: z.ZodOptional<z.ZodString>;
|
|
969
962
|
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
970
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
971
|
-
universalParentId: z.ZodOptional<z.ZodString>;
|
|
972
963
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
973
964
|
userId: z.ZodOptional<z.ZodString>;
|
|
974
965
|
isUniversal: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
975
966
|
externalAppId: z.ZodOptional<z.ZodString>;
|
|
967
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
968
|
+
connection: "connection";
|
|
969
|
+
integration: "integration";
|
|
970
|
+
universal: "universal";
|
|
971
|
+
}>>;
|
|
972
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
973
|
+
universalParentId: z.ZodOptional<z.ZodString>;
|
|
976
974
|
}, z.core.$strip>;
|
|
977
975
|
type FindActionInstancesQuery = FindActionsQuery;
|
|
978
976
|
interface ActionSelector extends IntegrationSpecificElementSelector {
|
|
@@ -4309,11 +4307,6 @@ declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
4309
4307
|
type IntegrationApiResponse = z.infer<typeof IntegrationApiResponse>;
|
|
4310
4308
|
|
|
4311
4309
|
declare const FindPackagesQuery: z.ZodObject<{
|
|
4312
|
-
layer: z.ZodOptional<z.ZodEnum<{
|
|
4313
|
-
connection: "connection";
|
|
4314
|
-
integration: "integration";
|
|
4315
|
-
universal: "universal";
|
|
4316
|
-
}>>;
|
|
4317
4310
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
4318
4311
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
4319
4312
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -4327,6 +4320,11 @@ declare const FindPackagesQuery: z.ZodObject<{
|
|
|
4327
4320
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
4328
4321
|
userId: z.ZodOptional<z.ZodString>;
|
|
4329
4322
|
isUniversal: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
4323
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
4324
|
+
connection: "connection";
|
|
4325
|
+
integration: "integration";
|
|
4326
|
+
universal: "universal";
|
|
4327
|
+
}>>;
|
|
4330
4328
|
externalAppId: z.ZodOptional<z.ZodString>;
|
|
4331
4329
|
}, z.core.$strip>;
|
|
4332
4330
|
type FindPackagesQuery = z.infer<typeof FindPackagesQuery>;
|
|
@@ -5224,6 +5222,7 @@ declare const FindDataLinkTableInstancesQuery: z.ZodObject<{
|
|
|
5224
5222
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5225
5223
|
cursor: z.ZodOptional<z.ZodString>;
|
|
5226
5224
|
id: z.ZodOptional<z.ZodString>;
|
|
5225
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
5227
5226
|
userId: z.ZodOptional<z.ZodString>;
|
|
5228
5227
|
dataLinkTableId: z.ZodOptional<z.ZodString>;
|
|
5229
5228
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -5518,12 +5517,16 @@ type UpdateAppDataSchemaRequest = {
|
|
|
5518
5517
|
archivedAt?: string;
|
|
5519
5518
|
};
|
|
5520
5519
|
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5520
|
+
declare const FindAppDataSchemaInstancesQuery: z.ZodObject<{
|
|
5521
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5522
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
5523
|
+
id: z.ZodOptional<z.ZodString>;
|
|
5524
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
5525
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
5526
|
+
appDataSchemaId: z.ZodOptional<z.ZodString>;
|
|
5527
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
5528
|
+
}, z.core.$strip>;
|
|
5529
|
+
type FindAppDataSchemaInstancesQuery = z.infer<typeof FindAppDataSchemaInstancesQuery>;
|
|
5527
5530
|
interface AppDataSchemaInstanceSelector {
|
|
5528
5531
|
id?: string;
|
|
5529
5532
|
appDataSchemaKey?: string;
|
package/dist/bundle.js
CHANGED
|
@@ -20240,6 +20240,7 @@
|
|
|
20240
20240
|
filterTitle: 'Is Universal',
|
|
20241
20241
|
isFlag: true,
|
|
20242
20242
|
}),
|
|
20243
|
+
layer: MembraneElementLayer.optional(),
|
|
20243
20244
|
});
|
|
20244
20245
|
BaseMembraneInterface.merge(BaseIntegrationLevelMembraneInterfaceEditableProperties).merge(BaseIntegrationLevelMembraneInterfaceReadOnlyProperties);
|
|
20245
20246
|
object({
|