@seamapi/types 1.1.0 → 1.2.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.
@@ -196,7 +196,7 @@ export interface Routes {
196
196
  queryParams: {};
197
197
  jsonBody: {};
198
198
  commonParams: {
199
- device_id: string;
199
+ device_id?: string | undefined;
200
200
  access_code_ids?: string[] | undefined;
201
201
  };
202
202
  formData: {};
@@ -448,6 +448,40 @@ export interface Routes {
448
448
  };
449
449
  };
450
450
  };
451
+ '/acs/systems/get': {
452
+ route: '/acs/systems/get';
453
+ method: 'GET' | 'POST';
454
+ queryParams: {};
455
+ jsonBody: {};
456
+ commonParams: {
457
+ acs_id: string;
458
+ };
459
+ formData: {};
460
+ jsonResponse: {
461
+ acs_system: {
462
+ acs_id: string;
463
+ system_type: 'pti_site' | 'alta_org';
464
+ name: string;
465
+ created_at: string | Date;
466
+ };
467
+ };
468
+ };
469
+ '/acs/systems/list': {
470
+ route: '/acs/systems/list';
471
+ method: 'GET' | 'POST';
472
+ queryParams: {};
473
+ jsonBody: {};
474
+ commonParams: {};
475
+ formData: {};
476
+ jsonResponse: {
477
+ acs_systems: Array<{
478
+ acs_id: string;
479
+ system_type: 'pti_site' | 'alta_org';
480
+ name: string;
481
+ created_at: string | Date;
482
+ }>;
483
+ };
484
+ };
451
485
  '/action_attempts/get': {
452
486
  route: '/action_attempts/get';
453
487
  method: 'GET' | 'POST';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -202,7 +202,7 @@ export interface Routes {
202
202
  queryParams: {}
203
203
  jsonBody: {}
204
204
  commonParams: {
205
- device_id: string
205
+ device_id?: string | undefined
206
206
  access_code_ids?: string[] | undefined
207
207
  }
208
208
  formData: {}
@@ -462,6 +462,40 @@ export interface Routes {
462
462
  }
463
463
  }
464
464
  }
465
+ '/acs/systems/get': {
466
+ route: '/acs/systems/get'
467
+ method: 'GET' | 'POST'
468
+ queryParams: {}
469
+ jsonBody: {}
470
+ commonParams: {
471
+ acs_id: string
472
+ }
473
+ formData: {}
474
+ jsonResponse: {
475
+ acs_system: {
476
+ acs_id: string
477
+ system_type: 'pti_site' | 'alta_org'
478
+ name: string
479
+ created_at: string | Date
480
+ }
481
+ }
482
+ }
483
+ '/acs/systems/list': {
484
+ route: '/acs/systems/list'
485
+ method: 'GET' | 'POST'
486
+ queryParams: {}
487
+ jsonBody: {}
488
+ commonParams: {}
489
+ formData: {}
490
+ jsonResponse: {
491
+ acs_systems: Array<{
492
+ acs_id: string
493
+ system_type: 'pti_site' | 'alta_org'
494
+ name: string
495
+ created_at: string | Date
496
+ }>
497
+ }
498
+ }
465
499
  '/action_attempts/get': {
466
500
  route: '/action_attempts/get'
467
501
  method: 'GET' | 'POST'