@seamapi/types 1.12.0 → 1.13.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.
@@ -1,5 +1,6 @@
1
1
  import * as schemas from './stable/schemas.js';
2
2
  export { schemas };
3
3
  export { default as openapi } from './openapi.js';
4
+ export * from './route-types.js';
4
5
  export * from './stable/model-types.js';
5
6
  export declare const routes: {};
@@ -1,6 +1,7 @@
1
1
  import * as schemas from './stable/schemas.js';
2
2
  export { schemas };
3
3
  export { default as openapi } from './openapi.js';
4
+ export * from './route-types.js';
4
5
  export * from './stable/model-types.js';
5
6
  // UPSTREAM: Reserve this named export until nextlove is able to generate this.
6
7
  export const routes = {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAA;AAE9C,OAAO,EAAE,OAAO,EAAE,CAAA;AAElB,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,cAAc,CAAA;AACjD,cAAc,yBAAyB,CAAA;AAEvC,+EAA+E;AAC/E,MAAM,CAAC,MAAM,MAAM,GAAG,EAAE,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAA;AAE9C,OAAO,EAAE,OAAO,EAAE,CAAA;AAElB,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,cAAc,CAAA;AACjD,cAAc,kBAAkB,CAAA;AAChC,cAAc,yBAAyB,CAAA;AAEvC,+EAA+E;AAC/E,MAAM,CAAC,MAAM,MAAM,GAAG,EAAE,CAAA"}
@@ -1,18 +1,4 @@
1
1
  import { z } from 'zod';
2
- export declare const desired_user_properties: z.ZodObject<{
3
- _desired_full_name: z.ZodString;
4
- _desired_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
- _desired_phone_number: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
6
- }, "strip", z.ZodTypeAny, {
7
- _desired_full_name: string;
8
- _desired_email?: string | null | undefined;
9
- _desired_phone_number?: string | null | undefined;
10
- }, {
11
- _desired_full_name: string;
12
- _desired_email?: string | null | undefined;
13
- _desired_phone_number?: string | null | undefined;
14
- }>;
15
- export type DesiredAcsUserProperties = z.output<typeof desired_user_properties>;
16
2
  export declare const acs_user: z.ZodObject<{
17
3
  workspace_id: z.ZodString;
18
4
  created_at: z.ZodString;
@@ -8,11 +8,6 @@ const phone_number = z.coerce
8
8
  }, {
9
9
  message: 'Phone number must be in E.164 format: +14155552671',
10
10
  });
11
- export const desired_user_properties = z.object({
12
- _desired_full_name: z.string(),
13
- _desired_email: z.string().email().nullish(),
14
- _desired_phone_number: phone_number.nullish(),
15
- });
16
11
  const user_fields = z.object({
17
12
  full_name: z.string().optional(),
18
13
  email: z.string().email().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM;KAC1B,MAAM,EAAE;KACR,IAAI,EAAE;KACN,MAAM,CACL,CAAC,GAAG,EAAE,EAAE;IACN,iDAAiD;IACjD,OAAO,mBAAmB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACtC,CAAC,EACD;IACE,OAAO,EAAE,oDAAoD;CAC9D,CACF,CAAA;AAEH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE;IAC5C,qBAAqB,EAAE,YAAY,CAAC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AAE,CAAC,QAAQ,EAAE;IACpC,YAAY,EAAE,YAAY,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC;KACtB,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;CACzB,CAAC;KACD,KAAK,CAAC,WAAW,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -3,6 +3,7 @@ import * as schemas from './stable/schemas.js'
3
3
  export { schemas }
4
4
 
5
5
  export { default as openapi } from './openapi.js'
6
+ export * from './route-types.js'
6
7
  export * from './stable/model-types.js'
7
8
 
8
9
  // UPSTREAM: Reserve this named export until nextlove is able to generate this.
@@ -13,14 +13,6 @@ const phone_number = z.coerce
13
13
  },
14
14
  )
15
15
 
16
- export const desired_user_properties = z.object({
17
- _desired_full_name: z.string(),
18
- _desired_email: z.string().email().nullish(),
19
- _desired_phone_number: phone_number.nullish(),
20
- })
21
-
22
- export type DesiredAcsUserProperties = z.output<typeof desired_user_properties>
23
-
24
16
  const user_fields = z.object({
25
17
  full_name: z.string().optional(),
26
18
  email: z.string().email().optional(),