@seamapi/types 0.29.0 → 0.30.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.
@@ -574,6 +574,31 @@ export interface Routes {
574
574
  };
575
575
  };
576
576
  };
577
+ '/client_sessions/grant_access': {
578
+ route: '/client_sessions/grant_access';
579
+ method: 'POST' | 'PATCH';
580
+ queryParams: {};
581
+ jsonBody: {};
582
+ commonParams: {
583
+ client_session_id?: string | undefined;
584
+ user_identifier_key?: string | undefined;
585
+ connected_account_ids?: string[] | undefined;
586
+ connect_webview_ids?: string[] | undefined;
587
+ };
588
+ formData: {};
589
+ jsonResponse: {
590
+ client_session: {
591
+ client_session_id: string;
592
+ user_identifier_key: string | null;
593
+ created_at: string;
594
+ token: string;
595
+ device_count: number;
596
+ connected_account_ids: string[];
597
+ connect_webview_ids: string[];
598
+ workspace_id: string;
599
+ };
600
+ };
601
+ };
577
602
  '/client_sessions/list': {
578
603
  route: '/client_sessions/list';
579
604
  method: 'POST' | 'GET';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "0.29.0",
3
+ "version": "0.30.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -601,6 +601,31 @@ export interface Routes {
601
601
  }
602
602
  }
603
603
  }
604
+ '/client_sessions/grant_access': {
605
+ route: '/client_sessions/grant_access'
606
+ method: 'POST' | 'PATCH'
607
+ queryParams: {}
608
+ jsonBody: {}
609
+ commonParams: {
610
+ client_session_id?: string | undefined
611
+ user_identifier_key?: string | undefined
612
+ connected_account_ids?: string[] | undefined
613
+ connect_webview_ids?: string[] | undefined
614
+ }
615
+ formData: {}
616
+ jsonResponse: {
617
+ client_session: {
618
+ client_session_id: string
619
+ user_identifier_key: string | null
620
+ created_at: string
621
+ token: string
622
+ device_count: number
623
+ connected_account_ids: string[]
624
+ connect_webview_ids: string[]
625
+ workspace_id: string
626
+ }
627
+ }
628
+ }
604
629
  '/client_sessions/list': {
605
630
  route: '/client_sessions/list'
606
631
  method: 'POST' | 'GET'