@membranehq/sdk 0.9.4 → 0.9.6

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.
@@ -28,6 +28,7 @@ export declare const AgentSession: z.ZodObject<{
28
28
  sessionFilesZipUri: z.ZodOptional<z.ZodString>;
29
29
  logs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
30
30
  usage: z.ZodOptional<z.ZodNumber>;
31
+ summary: z.ZodOptional<z.ZodString>;
31
32
  }, z.core.$strip>;
32
33
  export type AgentSession = z.infer<typeof AgentSession>;
33
34
  export declare const CreateAgentSession: z.ZodObject<{
@@ -24,7 +24,7 @@ export interface Org {
24
24
  lastThirtyDayUsagePercent?: number;
25
25
  todayUsagePercent?: number;
26
26
  featureFlags?: string[];
27
- freeAiMonthlyCredits?: number;
27
+ freeAiCredits?: number;
28
28
  paidAiCredits?: number;
29
29
  autoChargeEnabled?: boolean;
30
30
  autoChargeThreshold?: number;
@@ -104,7 +104,7 @@ export declare const OrgSchema: z.ZodObject<{
104
104
  todayUsagePercent: z.ZodOptional<z.ZodNumber>;
105
105
  domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
106
106
  featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
107
- freeAiMonthlyCredits: z.ZodOptional<z.ZodNumber>;
107
+ freeAiCredits: z.ZodOptional<z.ZodNumber>;
108
108
  paidAiCredits: z.ZodOptional<z.ZodNumber>;
109
109
  stripeCustomerId: z.ZodOptional<z.ZodString>;
110
110
  autoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -263,6 +263,11 @@ export declare const AccountResponse: z.ZodObject<{
263
263
  defaultValue: z.ZodOptional<z.ZodNumber>;
264
264
  unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
265
265
  }, z.core.$strip>>;
266
+ parallelInstantTasksActiveJobs: z.ZodOptional<z.ZodObject<{
267
+ value: z.ZodOptional<z.ZodNumber>;
268
+ defaultValue: z.ZodOptional<z.ZodNumber>;
269
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
270
+ }, z.core.$strip>>;
266
271
  ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
267
272
  value: z.ZodOptional<z.ZodNumber>;
268
273
  defaultValue: z.ZodOptional<z.ZodNumber>;
@@ -323,6 +328,11 @@ export declare const AccountResponse: z.ZodObject<{
323
328
  defaultValue: z.ZodOptional<z.ZodNumber>;
324
329
  unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
325
330
  }, z.core.$strip>>;
331
+ instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
332
+ value: z.ZodOptional<z.ZodNumber>;
333
+ defaultValue: z.ZodOptional<z.ZodNumber>;
334
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
335
+ }, z.core.$strip>>;
326
336
  parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
327
337
  value: z.ZodOptional<z.ZodNumber>;
328
338
  defaultValue: z.ZodOptional<z.ZodNumber>;
@@ -408,7 +418,7 @@ export declare const AccountResponse: z.ZodObject<{
408
418
  todayUsagePercent: z.ZodOptional<z.ZodNumber>;
409
419
  domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
410
420
  featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
411
- freeAiMonthlyCredits: z.ZodOptional<z.ZodNumber>;
421
+ freeAiCredits: z.ZodOptional<z.ZodNumber>;
412
422
  paidAiCredits: z.ZodOptional<z.ZodNumber>;
413
423
  stripeCustomerId: z.ZodOptional<z.ZodString>;
414
424
  autoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -5,10 +5,12 @@ export declare const ListExternalEventLogRecordsQuery: z.ZodObject<{
5
5
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
6
6
  cursor: z.ZodOptional<z.ZodString>;
7
7
  includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
8
+ userId: z.ZodOptional<z.ZodString>;
8
9
  connectionId: z.ZodOptional<z.ZodString>;
9
10
  integrationId: z.ZodOptional<z.ZodString>;
10
11
  externalEventSubscriptionId: z.ZodOptional<z.ZodString>;
11
12
  status: z.ZodOptional<z.ZodEnum<typeof ExternalEventLogStatus>>;
13
+ startedAfter: z.ZodOptional<z.ZodString>;
12
14
  }, z.core.$strip>;
13
15
  export type ListExternalEventLogRecordsQuery = z.infer<typeof ListExternalEventLogRecordsQuery>;
14
16
  export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
@@ -70,6 +72,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
70
72
  nextRefreshTimestamp: z.ZodOptional<z.ZodNumber>;
71
73
  globalWebhookKey: z.ZodOptional<z.ZodString>;
72
74
  globalWebhookEventSelector: z.ZodOptional<z.ZodString>;
75
+ webhookUri: z.ZodOptional<z.ZodString>;
73
76
  }, z.core.$strip>>;
74
77
  integration: z.ZodOptional<z.ZodObject<{
75
78
  id: z.ZodString;
@@ -72,6 +72,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
72
72
  nextRefreshTimestamp: z.ZodOptional<z.ZodNumber>;
73
73
  globalWebhookKey: z.ZodOptional<z.ZodString>;
74
74
  globalWebhookEventSelector: z.ZodOptional<z.ZodString>;
75
+ webhookUri: z.ZodOptional<z.ZodString>;
75
76
  }, z.core.$strip>>;
76
77
  integration: z.ZodOptional<z.ZodObject<{
77
78
  id: z.ZodString;
@@ -1,4 +1,14 @@
1
1
  import { z } from 'zod';
2
+ export declare const ListExternalEventSubscriptionsQuery: z.ZodObject<{
3
+ search: z.ZodOptional<z.ZodString>;
4
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
5
+ cursor: z.ZodOptional<z.ZodString>;
6
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
7
+ userId: z.ZodOptional<z.ZodString>;
8
+ connectionId: z.ZodOptional<z.ZodString>;
9
+ integrationId: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ export type ListExternalEventSubscriptionsQuery = z.infer<typeof ListExternalEventSubscriptionsQuery>;
2
12
  export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
3
13
  id: z.ZodString;
4
14
  name: z.ZodOptional<z.ZodString>;
@@ -34,6 +44,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
34
44
  nextRefreshTimestamp: z.ZodOptional<z.ZodNumber>;
35
45
  globalWebhookKey: z.ZodOptional<z.ZodString>;
36
46
  globalWebhookEventSelector: z.ZodOptional<z.ZodString>;
47
+ webhookUri: z.ZodOptional<z.ZodString>;
37
48
  user: z.ZodOptional<z.ZodObject<{
38
49
  id: z.ZodString;
39
50
  name: z.ZodString;