@bubblelab/shared-schemas 0.1.49 → 0.1.51

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.
@@ -1956,6 +1956,7 @@ export declare const bubbleFlowListItemSchema: z.ZodObject<{
1956
1956
  }>, "many">>;
1957
1957
  permission: z.ZodOptional<z.ZodEnum<["owner", "editor", "runner", "viewer"]>>;
1958
1958
  organizationId: z.ZodOptional<z.ZodNumber>;
1959
+ ownerId: z.ZodString;
1959
1960
  createdAt: z.ZodString;
1960
1961
  updatedAt: z.ZodString;
1961
1962
  }, "strip", z.ZodTypeAny, {
@@ -1964,6 +1965,7 @@ export declare const bubbleFlowListItemSchema: z.ZodObject<{
1964
1965
  eventType: string;
1965
1966
  cronActive: boolean;
1966
1967
  updatedAt: string;
1968
+ ownerId: string;
1967
1969
  isActive: boolean;
1968
1970
  createdAt: string;
1969
1971
  webhookExecutionCount: number;
@@ -1983,6 +1985,7 @@ export declare const bubbleFlowListItemSchema: z.ZodObject<{
1983
1985
  eventType: string;
1984
1986
  cronActive: boolean;
1985
1987
  updatedAt: string;
1988
+ ownerId: string;
1986
1989
  isActive: boolean;
1987
1990
  createdAt: string;
1988
1991
  webhookExecutionCount: number;
@@ -2021,6 +2024,7 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
2021
2024
  }>, "many">>;
2022
2025
  permission: z.ZodOptional<z.ZodEnum<["owner", "editor", "runner", "viewer"]>>;
2023
2026
  organizationId: z.ZodOptional<z.ZodNumber>;
2027
+ ownerId: z.ZodString;
2024
2028
  createdAt: z.ZodString;
2025
2029
  updatedAt: z.ZodString;
2026
2030
  }, "strip", z.ZodTypeAny, {
@@ -2029,6 +2033,7 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
2029
2033
  eventType: string;
2030
2034
  cronActive: boolean;
2031
2035
  updatedAt: string;
2036
+ ownerId: string;
2032
2037
  isActive: boolean;
2033
2038
  createdAt: string;
2034
2039
  webhookExecutionCount: number;
@@ -2048,6 +2053,7 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
2048
2053
  eventType: string;
2049
2054
  cronActive: boolean;
2050
2055
  updatedAt: string;
2056
+ ownerId: string;
2051
2057
  isActive: boolean;
2052
2058
  createdAt: string;
2053
2059
  webhookExecutionCount: number;
@@ -2076,6 +2082,7 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
2076
2082
  eventType: string;
2077
2083
  cronActive: boolean;
2078
2084
  updatedAt: string;
2085
+ ownerId: string;
2079
2086
  isActive: boolean;
2080
2087
  createdAt: string;
2081
2088
  webhookExecutionCount: number;
@@ -2103,6 +2110,7 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
2103
2110
  eventType: string;
2104
2111
  cronActive: boolean;
2105
2112
  updatedAt: string;
2113
+ ownerId: string;
2106
2114
  isActive: boolean;
2107
2115
  createdAt: string;
2108
2116
  webhookExecutionCount: number;
@@ -1 +1 @@
1
- {"version":3,"file":"bubbleflow-schema.d.ts","sourceRoot":"","sources":["../src/bubbleflow-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAGL,mBAAmB,EAEpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG7C,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6CE,CAAC;AAGtC,eAAO,MAAM,2B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AO,gCAAgC,CACxC,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,8BAA8B,CACtC,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAC7E,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,2BAA2B,CACnC,CAAC;AACF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,mCAAmC,CAC3C,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE/E,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,gCAAgC,CACxC,CAAC;AACF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,gCAAgC,CACxC,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,0BAA0B,CAClC,CAAC;AACF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,+BAA+B,CACvC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
package/dist/index.js CHANGED
@@ -2052,6 +2052,10 @@ var bubbleFlowListItemSchema = z8.object({
2052
2052
  description: "Organization ID this flow belongs to",
2053
2053
  example: 123
2054
2054
  }),
2055
+ ownerId: z8.string().openapi({
2056
+ description: "User ID of the flow owner",
2057
+ example: "user_abc123"
2058
+ }),
2055
2059
  createdAt: z8.string().openapi({ description: "Creation timestamp" }),
2056
2060
  updatedAt: z8.string().openapi({ description: "Update timestamp" })
2057
2061
  });
@@ -3031,6 +3035,9 @@ var billingOrganizationSchema = z14.object({
3031
3035
  description: "Organization slug",
3032
3036
  example: "my-team"
3033
3037
  }),
3038
+ type: orgTypeSchema.optional().openapi({
3039
+ description: "Organization type (personal or organization)"
3040
+ }),
3034
3041
  role: orgRoleSchema.openapi({
3035
3042
  description: "Current user's role in this organization"
3036
3043
  }),
@@ -3161,18 +3168,18 @@ var userUsageItemSchema = z14.object({
3161
3168
  description: "User ID from Clerk",
3162
3169
  example: "user_30Gbwrzto1VZvAHcGUm5NLQhpkp"
3163
3170
  }),
3164
- userName: z14.string().optional().openapi({
3165
- description: "User display name",
3166
- example: "John Doe"
3171
+ firstName: z14.string().optional().openapi({
3172
+ description: "User's first name",
3173
+ example: "John"
3174
+ }),
3175
+ lastName: z14.string().optional().openapi({
3176
+ description: "User's last name",
3177
+ example: "Doe"
3167
3178
  }),
3168
3179
  userEmail: z14.string().optional().openapi({
3169
3180
  description: "User email address",
3170
3181
  example: "john@acme.com"
3171
3182
  }),
3172
- userImageUrl: z14.string().optional().openapi({
3173
- description: "User profile image URL",
3174
- example: "https://img.clerk.com/..."
3175
- }),
3176
3183
  role: orgRoleSchema.openapi({
3177
3184
  description: "User's role in the organization"
3178
3185
  }),