@membranehq/sdk 0.28.2 → 0.28.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 +6 -0
- package/dist/bundle.js +2 -2
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +2 -0
- package/dist/dts/accessors/integrations-accessors.d.ts +2 -0
- package/dist/dts/api-version.generated.d.ts +1 -1
- package/dist/dts/membrane-instances/types.d.ts +4 -0
- package/dist/dts/workspace-elements/api/connections-api.d.ts +6 -2
- package/dist/index.browser.d.mts +14 -2
- package/dist/index.browser.d.ts +14 -2
- package/dist/index.browser.js +6 -2
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +6 -2
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +14 -2
- package/dist/index.node.d.ts +14 -2
- package/dist/index.node.js +6 -2
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +6 -2
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.node.d.mts
CHANGED
|
@@ -11453,6 +11453,8 @@ declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
11453
11453
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
11454
11454
|
}, z.core.$strip>>>;
|
|
11455
11455
|
}, z.core.$strip>>;
|
|
11456
|
+
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
11457
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
11456
11458
|
}, z.core.$strip>;
|
|
11457
11459
|
type ConnectionApiResponse = z.infer<typeof ConnectionApiResponse>;
|
|
11458
11460
|
declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
@@ -11556,9 +11558,9 @@ declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
11556
11558
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
11557
11559
|
}, z.core.$strip>>>;
|
|
11558
11560
|
}, z.core.$strip>>;
|
|
11559
|
-
credentials: z.ZodOptional<z.ZodUnknown>;
|
|
11560
|
-
input: z.ZodOptional<z.ZodUnknown>;
|
|
11561
11561
|
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
11562
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
11563
|
+
credentials: z.ZodOptional<z.ZodUnknown>;
|
|
11562
11564
|
}, z.core.$strip>;
|
|
11563
11565
|
type ConnectionApiResponseWithSecrets = z.infer<typeof ConnectionApiResponseWithSecrets>;
|
|
11564
11566
|
type Connection = ConnectionApiResponse;
|
|
@@ -11667,6 +11669,8 @@ declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
11667
11669
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
11668
11670
|
}, z.core.$strip>>>;
|
|
11669
11671
|
}, z.core.$strip>>;
|
|
11672
|
+
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
11673
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
11670
11674
|
}, z.core.$strip>;
|
|
11671
11675
|
}, z.core.$strip>, z.ZodObject<{
|
|
11672
11676
|
source: z.ZodString;
|
|
@@ -14730,6 +14734,8 @@ declare class ConnectionAccessor {
|
|
|
14730
14734
|
parameters?: Record<string, any> | undefined;
|
|
14731
14735
|
}> | undefined;
|
|
14732
14736
|
} | undefined;
|
|
14737
|
+
connectorParameters?: unknown;
|
|
14738
|
+
input?: unknown;
|
|
14733
14739
|
} | null>;
|
|
14734
14740
|
openReconnectUI(_options?: OpenConfigurationOptions): Promise<ConnectionApiResponse | null>;
|
|
14735
14741
|
refreshCredentials(): Promise<void>;
|
|
@@ -16109,6 +16115,8 @@ declare class IntegrationAccessor extends ElementAccessor<IntegrationApiResponse
|
|
|
16109
16115
|
parameters?: Record<string, any> | undefined;
|
|
16110
16116
|
}> | undefined;
|
|
16111
16117
|
} | undefined;
|
|
16118
|
+
connectorParameters?: unknown;
|
|
16119
|
+
input?: unknown;
|
|
16112
16120
|
} | null>;
|
|
16113
16121
|
createConnection({ parameters, name, }: {
|
|
16114
16122
|
parameters?: any;
|
|
@@ -25286,6 +25294,8 @@ declare const MembraneInstanceAdmin: z.ZodObject<{
|
|
|
25286
25294
|
helmValuesPath: z.ZodOptional<z.ZodURL>;
|
|
25287
25295
|
awsAccountName: z.ZodOptional<z.ZodString>;
|
|
25288
25296
|
awsSsoUrl: z.ZodOptional<z.ZodURL>;
|
|
25297
|
+
sentryConsoleProjectId: z.ZodOptional<z.ZodString>;
|
|
25298
|
+
sentryApiProjectId: z.ZodOptional<z.ZodString>;
|
|
25289
25299
|
}, z.core.$strip>;
|
|
25290
25300
|
type MembraneInstanceAdmin = z.infer<typeof MembraneInstanceAdmin>;
|
|
25291
25301
|
declare const CreateMembraneInstanceRequest: z.ZodObject<{
|
|
@@ -25308,6 +25318,8 @@ declare const UpdateMembraneInstanceRequest: z.ZodObject<{
|
|
|
25308
25318
|
helmValuesPath: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
25309
25319
|
awsAccountName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25310
25320
|
awsSsoUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
25321
|
+
sentryConsoleProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25322
|
+
sentryApiProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25311
25323
|
}, z.core.$strict>;
|
|
25312
25324
|
type UpdateMembraneInstanceRequest = z.infer<typeof UpdateMembraneInstanceRequest>;
|
|
25313
25325
|
declare const ListMembraneInstancesQuery: z.ZodObject<{
|
package/dist/index.node.d.ts
CHANGED
|
@@ -11453,6 +11453,8 @@ declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
11453
11453
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
11454
11454
|
}, z.core.$strip>>>;
|
|
11455
11455
|
}, z.core.$strip>>;
|
|
11456
|
+
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
11457
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
11456
11458
|
}, z.core.$strip>;
|
|
11457
11459
|
type ConnectionApiResponse = z.infer<typeof ConnectionApiResponse>;
|
|
11458
11460
|
declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
@@ -11556,9 +11558,9 @@ declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
11556
11558
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
11557
11559
|
}, z.core.$strip>>>;
|
|
11558
11560
|
}, z.core.$strip>>;
|
|
11559
|
-
credentials: z.ZodOptional<z.ZodUnknown>;
|
|
11560
|
-
input: z.ZodOptional<z.ZodUnknown>;
|
|
11561
11561
|
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
11562
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
11563
|
+
credentials: z.ZodOptional<z.ZodUnknown>;
|
|
11562
11564
|
}, z.core.$strip>;
|
|
11563
11565
|
type ConnectionApiResponseWithSecrets = z.infer<typeof ConnectionApiResponseWithSecrets>;
|
|
11564
11566
|
type Connection = ConnectionApiResponse;
|
|
@@ -11667,6 +11669,8 @@ declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
11667
11669
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
11668
11670
|
}, z.core.$strip>>>;
|
|
11669
11671
|
}, z.core.$strip>>;
|
|
11672
|
+
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
11673
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
11670
11674
|
}, z.core.$strip>;
|
|
11671
11675
|
}, z.core.$strip>, z.ZodObject<{
|
|
11672
11676
|
source: z.ZodString;
|
|
@@ -14730,6 +14734,8 @@ declare class ConnectionAccessor {
|
|
|
14730
14734
|
parameters?: Record<string, any> | undefined;
|
|
14731
14735
|
}> | undefined;
|
|
14732
14736
|
} | undefined;
|
|
14737
|
+
connectorParameters?: unknown;
|
|
14738
|
+
input?: unknown;
|
|
14733
14739
|
} | null>;
|
|
14734
14740
|
openReconnectUI(_options?: OpenConfigurationOptions): Promise<ConnectionApiResponse | null>;
|
|
14735
14741
|
refreshCredentials(): Promise<void>;
|
|
@@ -16109,6 +16115,8 @@ declare class IntegrationAccessor extends ElementAccessor<IntegrationApiResponse
|
|
|
16109
16115
|
parameters?: Record<string, any> | undefined;
|
|
16110
16116
|
}> | undefined;
|
|
16111
16117
|
} | undefined;
|
|
16118
|
+
connectorParameters?: unknown;
|
|
16119
|
+
input?: unknown;
|
|
16112
16120
|
} | null>;
|
|
16113
16121
|
createConnection({ parameters, name, }: {
|
|
16114
16122
|
parameters?: any;
|
|
@@ -25286,6 +25294,8 @@ declare const MembraneInstanceAdmin: z.ZodObject<{
|
|
|
25286
25294
|
helmValuesPath: z.ZodOptional<z.ZodURL>;
|
|
25287
25295
|
awsAccountName: z.ZodOptional<z.ZodString>;
|
|
25288
25296
|
awsSsoUrl: z.ZodOptional<z.ZodURL>;
|
|
25297
|
+
sentryConsoleProjectId: z.ZodOptional<z.ZodString>;
|
|
25298
|
+
sentryApiProjectId: z.ZodOptional<z.ZodString>;
|
|
25289
25299
|
}, z.core.$strip>;
|
|
25290
25300
|
type MembraneInstanceAdmin = z.infer<typeof MembraneInstanceAdmin>;
|
|
25291
25301
|
declare const CreateMembraneInstanceRequest: z.ZodObject<{
|
|
@@ -25308,6 +25318,8 @@ declare const UpdateMembraneInstanceRequest: z.ZodObject<{
|
|
|
25308
25318
|
helmValuesPath: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
25309
25319
|
awsAccountName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25310
25320
|
awsSsoUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
25321
|
+
sentryConsoleProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25322
|
+
sentryApiProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25311
25323
|
}, z.core.$strict>;
|
|
25312
25324
|
type UpdateMembraneInstanceRequest = z.infer<typeof UpdateMembraneInstanceRequest>;
|
|
25313
25325
|
declare const ListMembraneInstancesQuery: z.ZodObject<{
|
package/dist/index.node.js
CHANGED
|
@@ -10638,11 +10638,11 @@ const ConnectionSelector = z.z.object({
|
|
|
10638
10638
|
const ConnectionApiResponse = BaseConnection.extend({
|
|
10639
10639
|
user: BaseCustomer.optional(),
|
|
10640
10640
|
integration: BaseIntegration.optional(),
|
|
10641
|
+
connectorParameters: z.z.unknown().optional(),
|
|
10642
|
+
input: z.z.unknown().optional(),
|
|
10641
10643
|
});
|
|
10642
10644
|
const ConnectionApiResponseWithSecrets = ConnectionApiResponse.extend({
|
|
10643
10645
|
credentials: z.z.unknown().optional(),
|
|
10644
|
-
input: z.z.unknown().optional(),
|
|
10645
|
-
connectorParameters: z.z.unknown().optional(),
|
|
10646
10646
|
});
|
|
10647
10647
|
const ConnectionMessagePayload = z.z.discriminatedUnion('type', [
|
|
10648
10648
|
z.z.object({
|
|
@@ -16185,6 +16185,8 @@ const membraneInstanceInfraFields = {
|
|
|
16185
16185
|
helmValuesPath: z.z.url().optional(),
|
|
16186
16186
|
awsAccountName: z.z.string().optional(),
|
|
16187
16187
|
awsSsoUrl: z.z.url().optional(),
|
|
16188
|
+
sentryConsoleProjectId: z.z.string().optional(),
|
|
16189
|
+
sentryApiProjectId: z.z.string().optional(),
|
|
16188
16190
|
};
|
|
16189
16191
|
const MembraneInstanceAdmin = MembraneInstance.extend({
|
|
16190
16192
|
...membraneInstanceInfraFields,
|
|
@@ -16211,6 +16213,8 @@ const UpdateMembraneInstanceRequest = z.z
|
|
|
16211
16213
|
helmValuesPath: z.z.url().nullable().optional(),
|
|
16212
16214
|
awsAccountName: z.z.string().nullable().optional(),
|
|
16213
16215
|
awsSsoUrl: z.z.url().nullable().optional(),
|
|
16216
|
+
sentryConsoleProjectId: z.z.string().nullable().optional(),
|
|
16217
|
+
sentryApiProjectId: z.z.string().nullable().optional(),
|
|
16214
16218
|
})
|
|
16215
16219
|
.strict();
|
|
16216
16220
|
const ListMembraneInstancesQuery = PaginationQuery.extend({
|