@seamapi/types 1.542.0 → 1.544.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.
@@ -16479,8 +16479,8 @@ export type Routes = {
16479
16479
  user_identifier_key: string | null;
16480
16480
  /** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
16481
16481
  device_count: number;
16482
- /** Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
16483
- customer_id?: string | undefined;
16482
+ /** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
16483
+ customer_key?: string | undefined;
16484
16484
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
16485
16485
  connected_account_ids: string[];
16486
16486
  /** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
@@ -30033,8 +30033,8 @@ export type Routes = {
30033
30033
  user_identifier_key: string | null;
30034
30034
  /** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
30035
30035
  device_count: number;
30036
- /** Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
30037
- customer_id?: string | undefined;
30036
+ /** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
30037
+ customer_key?: string | undefined;
30038
30038
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
30039
30039
  connected_account_ids: string[];
30040
30040
  /** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
@@ -30096,8 +30096,8 @@ export type Routes = {
30096
30096
  user_identifier_key: string | null;
30097
30097
  /** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
30098
30098
  device_count: number;
30099
- /** Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
30100
- customer_id?: string | undefined;
30099
+ /** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
30100
+ customer_key?: string | undefined;
30101
30101
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
30102
30102
  connected_account_ids: string[];
30103
30103
  /** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
@@ -30156,8 +30156,8 @@ export type Routes = {
30156
30156
  user_identifier_key: string | null;
30157
30157
  /** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
30158
30158
  device_count: number;
30159
- /** Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
30160
- customer_id?: string | undefined;
30159
+ /** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
30160
+ customer_key?: string | undefined;
30161
30161
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
30162
30162
  connected_account_ids: string[];
30163
30163
  /** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
@@ -30216,8 +30216,8 @@ export type Routes = {
30216
30216
  user_identifier_key: string | null;
30217
30217
  /** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
30218
30218
  device_count: number;
30219
- /** Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
30220
- customer_id?: string | undefined;
30219
+ /** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
30220
+ customer_key?: string | undefined;
30221
30221
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
30222
30222
  connected_account_ids: string[];
30223
30223
  /** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
@@ -30264,8 +30264,8 @@ export type Routes = {
30264
30264
  user_identifier_key: string | null;
30265
30265
  /** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
30266
30266
  device_count: number;
30267
- /** Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
30268
- customer_id?: string | undefined;
30267
+ /** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
30268
+ customer_key?: string | undefined;
30269
30269
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
30270
30270
  connected_account_ids: string[];
30271
30271
  /** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
@@ -55627,53 +55627,57 @@ export type Routes = {
55627
55627
  formData: {};
55628
55628
  jsonResponse: {
55629
55629
  timeline: {
55630
- context: {
55631
- context_type: 'request';
55632
- request_id: string;
55633
- request_payload: {
55634
- [x: string]: any;
55635
- };
55636
- response_payload: {
55637
- [x: string]: any;
55638
- };
55639
- } | {
55640
- context_type: 'job';
55641
- job_id: string;
55642
- };
55643
- entries: {
55644
- resource_type: string;
55645
- resource_id: string;
55646
- entry_type: string;
55647
- body: {
55648
- entry_type: 'resource_created';
55649
- description: string;
55650
- } | {
55651
- entry_type: 'resource_updated';
55652
- description: string;
55653
- properties_updated?: {
55630
+ resource_type: string;
55631
+ resource_id: string;
55632
+ groups: {
55633
+ context: {
55634
+ context_type: 'request';
55635
+ request_id: string;
55636
+ request_payload: {
55654
55637
  [x: string]: any;
55655
- } | undefined;
55656
- errors?: string[] | undefined;
55657
- warnings?: string[] | undefined;
55658
- } | {
55659
- entry_type: 'resource_deleted';
55660
- description: string;
55661
- } | {
55662
- entry_type: 'event';
55663
- event_type: string;
55664
- event_id: string;
55665
- } | {
55666
- entry_type: 'provider_call';
55667
- description: string;
55668
- response_status_code: number;
55669
- response_body?: {
55638
+ };
55639
+ response_payload: {
55670
55640
  [x: string]: any;
55671
- } | undefined;
55641
+ };
55642
+ } | {
55643
+ context_type: 'job';
55644
+ job_id: string;
55672
55645
  };
55646
+ entries: {
55647
+ resource_type: string;
55648
+ resource_id: string;
55649
+ entry_type: string;
55650
+ body: {
55651
+ entry_type: 'resource_created';
55652
+ description: string;
55653
+ } | {
55654
+ entry_type: 'resource_updated';
55655
+ description: string;
55656
+ properties_updated?: {
55657
+ [x: string]: any;
55658
+ } | undefined;
55659
+ errors?: string[] | undefined;
55660
+ warnings?: string[] | undefined;
55661
+ } | {
55662
+ entry_type: 'resource_deleted';
55663
+ description: string;
55664
+ } | {
55665
+ entry_type: 'event';
55666
+ event_type: string;
55667
+ event_id: string;
55668
+ } | {
55669
+ entry_type: 'provider_call';
55670
+ description: string;
55671
+ response_status_code: number;
55672
+ response_body?: {
55673
+ [x: string]: any;
55674
+ } | undefined;
55675
+ };
55676
+ created_at: string;
55677
+ }[];
55673
55678
  created_at: string;
55674
55679
  }[];
55675
- created_at: string;
55676
- }[];
55680
+ };
55677
55681
  /** Information about the current page of results. */
55678
55682
  pagination: {
55679
55683
  /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
@@ -55713,6 +55717,9 @@ export type Routes = {
55713
55717
  workspace_id: string;
55714
55718
  automation_id: string | null;
55715
55719
  partner_resource_id: string | null;
55720
+ partner_key: string | null;
55721
+ resource_type: string | null;
55722
+ resource_type_alias: string | null;
55716
55723
  automation_result?: {
55717
55724
  success: boolean;
55718
55725
  rule: 'reservation_created' | 'reservation_time_updated' | 'reservation_deleted';
@@ -57795,8 +57802,8 @@ export type Routes = {
57795
57802
  user_identifier_key: string | null;
57796
57803
  /** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
57797
57804
  device_count: number;
57798
- /** Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
57799
- customer_id?: string | undefined;
57805
+ /** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
57806
+ customer_key?: string | undefined;
57800
57807
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
57801
57808
  connected_account_ids: string[];
57802
57809
  /** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
@@ -82405,8 +82412,8 @@ export type Routes = {
82405
82412
  user_identifier_key: string | null;
82406
82413
  /** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
82407
82414
  device_count: number;
82408
- /** Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
82409
- customer_id?: string | undefined;
82415
+ /** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
82416
+ customer_key?: string | undefined;
82410
82417
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
82411
82418
  connected_account_ids: string[];
82412
82419
  /** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.542.0",
3
+ "version": "1.544.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -41,12 +41,11 @@ export const client_session = z.object({
41
41
  .describe(
42
42
  'Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens).',
43
43
  ),
44
- customer_id: z
44
+ customer_key: z
45
45
  .string()
46
- .uuid()
47
46
  .optional()
48
47
  .describe(
49
- 'Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens).',
48
+ 'Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens).',
50
49
  ),
51
50
  connected_account_ids: z
52
51
  .array(z.string().uuid())