@seamapi/types 1.421.1 → 1.422.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.
Files changed (55) hide show
  1. package/dist/connect.cjs +1630 -583
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2627 -1024
  4. package/lib/seam/connect/internal/schemas.d.ts +1 -1
  5. package/lib/seam/connect/internal/schemas.js +1 -1
  6. package/lib/seam/connect/internal/schemas.js.map +1 -1
  7. package/lib/seam/connect/models/customer/access-grant-resources.d.ts +420 -0
  8. package/lib/seam/connect/models/customer/access-grant-resources.js +111 -0
  9. package/lib/seam/connect/models/customer/access-grant-resources.js.map +1 -0
  10. package/lib/seam/connect/models/customer/business-vertical.d.ts +3 -0
  11. package/lib/seam/connect/models/customer/business-vertical.js +11 -0
  12. package/lib/seam/connect/models/customer/business-vertical.js.map +1 -0
  13. package/lib/seam/connect/models/customer/customer-data.d.ts +597 -0
  14. package/lib/seam/connect/models/customer/customer-data.js +67 -0
  15. package/lib/seam/connect/models/customer/customer-data.js.map +1 -0
  16. package/lib/seam/connect/models/customer/customer-portal.d.ts +71 -0
  17. package/lib/seam/connect/models/customer/customer-portal.js +34 -0
  18. package/lib/seam/connect/models/customer/customer-portal.js.map +1 -0
  19. package/lib/seam/connect/models/customer/index.d.ts +3 -0
  20. package/lib/seam/connect/models/customer/index.js +4 -0
  21. package/lib/seam/connect/models/customer/index.js.map +1 -0
  22. package/lib/seam/connect/models/customer/location-resources.d.ts +229 -0
  23. package/lib/seam/connect/models/customer/location-resources.js +55 -0
  24. package/lib/seam/connect/models/customer/location-resources.js.map +1 -0
  25. package/lib/seam/connect/models/customer/user-identity-resources.d.ts +205 -0
  26. package/lib/seam/connect/models/customer/user-identity-resources.js +50 -0
  27. package/lib/seam/connect/models/customer/user-identity-resources.js.map +1 -0
  28. package/lib/seam/connect/models/index.d.ts +4 -0
  29. package/lib/seam/connect/models/index.js +4 -0
  30. package/lib/seam/connect/models/index.js.map +1 -1
  31. package/lib/seam/connect/models/partner/index.d.ts +0 -1
  32. package/lib/seam/connect/models/partner/index.js +0 -1
  33. package/lib/seam/connect/models/partner/index.js.map +1 -1
  34. package/lib/seam/connect/models/partner/magic-link.d.ts +2 -2
  35. package/lib/seam/connect/openapi.d.ts +1821 -658
  36. package/lib/seam/connect/openapi.js +1639 -592
  37. package/lib/seam/connect/openapi.js.map +1 -1
  38. package/lib/seam/connect/route-types.d.ts +552 -112
  39. package/package.json +1 -1
  40. package/src/lib/seam/connect/internal/schemas.ts +21 -3
  41. package/src/lib/seam/connect/models/customer/access-grant-resources.ts +129 -0
  42. package/src/lib/seam/connect/models/customer/business-vertical.ts +13 -0
  43. package/src/lib/seam/connect/models/customer/customer-data.ts +93 -0
  44. package/src/lib/seam/connect/models/customer/customer-portal.ts +39 -0
  45. package/src/lib/seam/connect/models/customer/index.ts +3 -0
  46. package/src/lib/seam/connect/models/customer/location-resources.ts +77 -0
  47. package/src/lib/seam/connect/models/customer/user-identity-resources.ts +68 -0
  48. package/src/lib/seam/connect/models/index.ts +4 -0
  49. package/src/lib/seam/connect/models/partner/index.ts +0 -1
  50. package/src/lib/seam/connect/openapi.ts +1794 -601
  51. package/src/lib/seam/connect/route-types.ts +642 -114
  52. package/lib/seam/connect/models/partner/resources.d.ts +0 -76
  53. package/lib/seam/connect/models/partner/resources.js +0 -87
  54. package/lib/seam/connect/models/partner/resources.js.map +0 -1
  55. package/src/lib/seam/connect/models/partner/resources.ts +0 -112
@@ -1,76 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const partner_resource: z.ZodObject<{
3
- partner_resource_type: z.ZodString;
4
- partner_resource_key: z.ZodString;
5
- customer_key: z.ZodString;
6
- email_address: z.ZodOptional<z.ZodString>;
7
- phone_number: z.ZodOptional<z.ZodString>;
8
- starts_at: z.ZodOptional<z.ZodString>;
9
- ends_at: z.ZodOptional<z.ZodString>;
10
- user_identity_key: z.ZodOptional<z.ZodString>;
11
- location_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12
- name: z.ZodOptional<z.ZodString>;
13
- description: z.ZodOptional<z.ZodString>;
14
- custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
15
- }, "strip", z.ZodTypeAny, {
16
- customer_key: string;
17
- partner_resource_type: string;
18
- partner_resource_key: string;
19
- name?: string | undefined;
20
- description?: string | undefined;
21
- starts_at?: string | undefined;
22
- ends_at?: string | undefined;
23
- custom_metadata?: Record<string, string> | undefined;
24
- email_address?: string | undefined;
25
- phone_number?: string | undefined;
26
- user_identity_key?: string | undefined;
27
- location_keys?: string[] | undefined;
28
- }, {
29
- customer_key: string;
30
- partner_resource_type: string;
31
- partner_resource_key: string;
32
- name?: string | undefined;
33
- description?: string | undefined;
34
- starts_at?: string | undefined;
35
- ends_at?: string | undefined;
36
- custom_metadata?: Record<string, string> | undefined;
37
- email_address?: string | undefined;
38
- phone_number?: string | undefined;
39
- user_identity_key?: string | undefined;
40
- location_keys?: string[] | undefined;
41
- }>;
42
- export type PartnerResource = z.infer<typeof partner_resource>;
43
- export declare const typed_partner_resource: z.ZodObject<{
44
- partner_resource_key: z.ZodString;
45
- name: z.ZodString;
46
- description: z.ZodOptional<z.ZodString>;
47
- custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
48
- }, "strip", z.ZodTypeAny, {
49
- name: string;
50
- partner_resource_key: string;
51
- description?: string | undefined;
52
- custom_metadata?: Record<string, string> | undefined;
53
- }, {
54
- name: string;
55
- partner_resource_key: string;
56
- description?: string | undefined;
57
- custom_metadata?: Record<string, string> | undefined;
58
- }>;
59
- export type TypedPartnerResource = z.infer<typeof typed_partner_resource>;
60
- export declare const space_resource: z.ZodObject<{
61
- space_key: z.ZodString;
62
- name: z.ZodString;
63
- description: z.ZodOptional<z.ZodString>;
64
- custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
65
- }, "strip", z.ZodTypeAny, {
66
- name: string;
67
- space_key: string;
68
- description?: string | undefined;
69
- custom_metadata?: Record<string, string> | undefined;
70
- }, {
71
- name: string;
72
- space_key: string;
73
- description?: string | undefined;
74
- custom_metadata?: Record<string, string> | undefined;
75
- }>;
76
- export type SpaceResource = z.infer<typeof space_resource>;
@@ -1,87 +0,0 @@
1
- import { z } from 'zod';
2
- export const partner_resource = z.object({
3
- partner_resource_type: z.string().describe('Type of the partner resource.'),
4
- partner_resource_key: z.string().describe('Key of the partner resource.'),
5
- customer_key: z
6
- .string()
7
- .describe('Customer key associated with the partner resource.'),
8
- // For user identity partner resources
9
- email_address: z
10
- .string()
11
- .optional()
12
- .describe('Email address associated with the user identity partner resource.'),
13
- phone_number: z
14
- .string()
15
- .optional()
16
- .describe('Phone number associated with the user identity partner resource.'),
17
- // For access grant partner resources
18
- starts_at: z
19
- .string()
20
- .optional()
21
- .describe('Starting date and time associated with the access grant partner resource.'),
22
- ends_at: z
23
- .string()
24
- .optional()
25
- .describe('Ending date and time associated with the access grant partner resource.'),
26
- user_identity_key: z
27
- .string()
28
- .optional()
29
- .describe('User identity key associated with the access grant partner resource.'),
30
- location_keys: z
31
- .array(z.string())
32
- .optional()
33
- .describe('Location keys associated with the access grant partner resource.'),
34
- // Common
35
- name: z.string().optional().describe('Name of the partner resource.'),
36
- description: z
37
- .string()
38
- .optional()
39
- .describe('Description of the partner resource.'),
40
- custom_metadata: z
41
- .record(z.string(), z.string())
42
- .optional()
43
- .describe('Custom metadata associated with the partner resource.'),
44
- }).describe(`
45
- ---
46
- undocumented: Unreleased.
47
- route_path: /unstable_partner/resources
48
- ---
49
- Represents a partner resource that enables you to send your user identity and access grant resources to Seam.
50
- `);
51
- export const typed_partner_resource = z.object({
52
- partner_resource_key: z.string().describe('Key of the partner resource.'),
53
- name: z.string().describe('Name of the partner resource.'),
54
- description: z
55
- .string()
56
- .optional()
57
- .describe('Description of the partner resource.'),
58
- custom_metadata: z
59
- .record(z.string(), z.string())
60
- .optional()
61
- .describe('Custom metadata associated with the partner resource.'),
62
- }).describe(`
63
- ---
64
- undocumented: Unreleased.
65
- route_path: /unstable_partner/resources
66
- ---
67
- Represents a typed partner resource that enables you to send your user identity and access grant resources to Seam.
68
- `);
69
- export const space_resource = z.object({
70
- space_key: z.string().describe('Key of the space for the resource.'),
71
- name: z.string().describe('Name of the space resource.'),
72
- description: z
73
- .string()
74
- .optional()
75
- .describe('Description of the space resource.'),
76
- custom_metadata: z
77
- .record(z.string(), z.string())
78
- .optional()
79
- .describe('Custom metadata associated with the space resource.'),
80
- }).describe(`
81
- ---
82
- undocumented: Unreleased.
83
- route_path: /unstable_partner/resources
84
- ---
85
- Represents a partner resource that enables you to send your space resources to Seam.
86
- `);
87
- //# sourceMappingURL=resources.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resources.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/partner/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;IAC3E,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IACzE,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,CAAC,oDAAoD,CAAC;IAEjE,sCAAsC;IACtC,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,mEAAmE,CACpE;IACH,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,kEAAkE,CACnE;IAEH,qCAAqC;IACrC,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,2EAA2E,CAC5E;IACH,OAAO,EAAE,CAAC;SACP,MAAM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AAG,CAAC,CAAC,MAAM,CAAC;IACrC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IAEpE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IACxD,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,oCAAoC,CAAC;IACjD,eAAe,EAAE,CAAC;SACf,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;SAC9B,QAAQ,EAAE;SACV,QAAQ,CAAC,qDAAqD,CAAC;CACnE,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
@@ -1,112 +0,0 @@
1
- import { z } from 'zod'
2
-
3
- export const partner_resource = z.object({
4
- partner_resource_type: z.string().describe('Type of the partner resource.'),
5
- partner_resource_key: z.string().describe('Key of the partner resource.'),
6
- customer_key: z
7
- .string()
8
- .describe('Customer key associated with the partner resource.'),
9
-
10
- // For user identity partner resources
11
- email_address: z
12
- .string()
13
- .optional()
14
- .describe(
15
- 'Email address associated with the user identity partner resource.',
16
- ),
17
- phone_number: z
18
- .string()
19
- .optional()
20
- .describe(
21
- 'Phone number associated with the user identity partner resource.',
22
- ),
23
-
24
- // For access grant partner resources
25
- starts_at: z
26
- .string()
27
- .optional()
28
- .describe(
29
- 'Starting date and time associated with the access grant partner resource.',
30
- ),
31
- ends_at: z
32
- .string()
33
- .optional()
34
- .describe(
35
- 'Ending date and time associated with the access grant partner resource.',
36
- ),
37
- user_identity_key: z
38
- .string()
39
- .optional()
40
- .describe(
41
- 'User identity key associated with the access grant partner resource.',
42
- ),
43
- location_keys: z
44
- .array(z.string())
45
- .optional()
46
- .describe(
47
- 'Location keys associated with the access grant partner resource.',
48
- ),
49
-
50
- // Common
51
- name: z.string().optional().describe('Name of the partner resource.'),
52
- description: z
53
- .string()
54
- .optional()
55
- .describe('Description of the partner resource.'),
56
- custom_metadata: z
57
- .record(z.string(), z.string())
58
- .optional()
59
- .describe('Custom metadata associated with the partner resource.'),
60
- }).describe(`
61
- ---
62
- undocumented: Unreleased.
63
- route_path: /unstable_partner/resources
64
- ---
65
- Represents a partner resource that enables you to send your user identity and access grant resources to Seam.
66
- `)
67
-
68
- export type PartnerResource = z.infer<typeof partner_resource>
69
-
70
- export const typed_partner_resource = z.object({
71
- partner_resource_key: z.string().describe('Key of the partner resource.'),
72
-
73
- name: z.string().describe('Name of the partner resource.'),
74
- description: z
75
- .string()
76
- .optional()
77
- .describe('Description of the partner resource.'),
78
- custom_metadata: z
79
- .record(z.string(), z.string())
80
- .optional()
81
- .describe('Custom metadata associated with the partner resource.'),
82
- }).describe(`
83
- ---
84
- undocumented: Unreleased.
85
- route_path: /unstable_partner/resources
86
- ---
87
- Represents a typed partner resource that enables you to send your user identity and access grant resources to Seam.
88
- `)
89
-
90
- export type TypedPartnerResource = z.infer<typeof typed_partner_resource>
91
-
92
- export const space_resource = z.object({
93
- space_key: z.string().describe('Key of the space for the resource.'),
94
-
95
- name: z.string().describe('Name of the space resource.'),
96
- description: z
97
- .string()
98
- .optional()
99
- .describe('Description of the space resource.'),
100
- custom_metadata: z
101
- .record(z.string(), z.string())
102
- .optional()
103
- .describe('Custom metadata associated with the space resource.'),
104
- }).describe(`
105
- ---
106
- undocumented: Unreleased.
107
- route_path: /unstable_partner/resources
108
- ---
109
- Represents a partner resource that enables you to send your space resources to Seam.
110
- `)
111
-
112
- export type SpaceResource = z.infer<typeof space_resource>