@seamapi/types 1.154.0 → 1.154.1

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.
@@ -1915,18 +1915,6 @@ export interface Routes {
1915
1915
  }>;
1916
1916
  };
1917
1917
  };
1918
- '/connect_webviews/view': {
1919
- route: '/connect_webviews/view';
1920
- method: 'GET';
1921
- queryParams: {
1922
- connect_webview_id: string;
1923
- auth_token: string;
1924
- };
1925
- jsonBody: {};
1926
- commonParams: {};
1927
- formData: {};
1928
- jsonResponse: {};
1929
- };
1930
1918
  '/connected_accounts/delete': {
1931
1919
  route: '/connected_accounts/delete';
1932
1920
  method: 'DELETE' | 'POST';
@@ -3410,80 +3398,6 @@ export interface Routes {
3410
3398
  }>;
3411
3399
  };
3412
3400
  };
3413
- '/health': {
3414
- route: '/health';
3415
- method: 'GET' | 'POST';
3416
- queryParams: {};
3417
- jsonBody: {};
3418
- commonParams: {};
3419
- formData: {};
3420
- jsonResponse: {
3421
- ok: boolean;
3422
- msg: 'I\u2019m one with the Force. The Force is with me.';
3423
- last_service_evaluation_at?: string | undefined;
3424
- service_health_statuses: Array<{
3425
- service: string;
3426
- status: 'healthy' | 'degraded' | 'down';
3427
- description: string;
3428
- }>;
3429
- };
3430
- };
3431
- '/health/get_health': {
3432
- route: '/health/get_health';
3433
- method: 'GET' | 'POST';
3434
- queryParams: {};
3435
- jsonBody: {};
3436
- commonParams: {};
3437
- formData: {};
3438
- jsonResponse: {
3439
- ok: boolean;
3440
- msg: 'I\u2019m one with the Force. The Force is with me.';
3441
- last_service_evaluation_at?: string | undefined;
3442
- service_health_statuses: Array<{
3443
- service: string;
3444
- status: 'healthy' | 'degraded' | 'down';
3445
- description: string;
3446
- }>;
3447
- };
3448
- };
3449
- '/health/get_service_health': {
3450
- route: '/health/get_service_health';
3451
- method: 'GET' | 'POST';
3452
- queryParams: {};
3453
- jsonBody: {};
3454
- commonParams: {
3455
- service: string;
3456
- };
3457
- formData: {};
3458
- jsonResponse: {
3459
- ok: true;
3460
- last_service_evaluation_at: string;
3461
- service_health: {
3462
- service: string;
3463
- status: 'healthy' | 'degraded' | 'down';
3464
- description: string;
3465
- };
3466
- };
3467
- };
3468
- '/health/service/[service_name]': {
3469
- route: '/health/service/[service_name]';
3470
- method: 'GET' | 'POST';
3471
- queryParams: {};
3472
- jsonBody: {};
3473
- commonParams: {
3474
- service_name: string;
3475
- };
3476
- formData: {};
3477
- jsonResponse: {
3478
- ok: true;
3479
- last_service_evaluation_at: string;
3480
- service_health: {
3481
- service: string;
3482
- status: 'healthy' | 'degraded' | 'down';
3483
- description: string;
3484
- };
3485
- };
3486
- };
3487
3401
  '/locks/get': {
3488
3402
  route: '/locks/get';
3489
3403
  method: 'GET' | 'POST';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.154.0",
3
+ "version": "1.154.1",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -2990,7 +2990,6 @@ export default {
2990
2990
  tags: ['/access_codes'],
2991
2991
  'x-fern-sdk-group-name': ['access_codes'],
2992
2992
  'x-fern-sdk-method-name': 'delete',
2993
- 'x-fern-sdk-return-value': 'action_attempt',
2994
2993
  },
2995
2994
  },
2996
2995
  '/access_codes/generate_code': {
@@ -3393,7 +3392,6 @@ export default {
3393
3392
  tags: ['/access_codes'],
3394
3393
  'x-fern-sdk-group-name': ['access_codes', 'unmanaged'],
3395
3394
  'x-fern-sdk-method-name': 'delete',
3396
- 'x-fern-sdk-return-value': 'action_attempt',
3397
3395
  },
3398
3396
  },
3399
3397
  '/access_codes/unmanaged/get': {
@@ -3745,7 +3743,6 @@ export default {
3745
3743
  tags: ['/access_codes'],
3746
3744
  'x-fern-sdk-group-name': ['access_codes'],
3747
3745
  'x-fern-sdk-method-name': 'update',
3748
- 'x-fern-sdk-return-value': 'action_attempt',
3749
3746
  },
3750
3747
  put: {
3751
3748
  operationId: 'accessCodesUpdatePut',
@@ -6609,9 +6606,10 @@ export default {
6609
6606
  401: { description: 'Unauthorized' },
6610
6607
  },
6611
6608
  security: [
6612
- { access_token: [], seam_workspace: [] },
6613
- { seam_client_session_token: [] },
6614
- { client_session_token: [] },
6609
+ { client_session: [] },
6610
+ { pat_with_workspace: [] },
6611
+ { console_session: [] },
6612
+ { api_key: [] },
6615
6613
  ],
6616
6614
  summary: '/connect_webviews/list',
6617
6615
  tags: ['/connect_webviews'],
@@ -6620,34 +6618,6 @@ export default {
6620
6618
  'x-fern-sdk-return-value': 'connect_webviews',
6621
6619
  },
6622
6620
  },
6623
- '/connect_webviews/view': {
6624
- get: {
6625
- operationId: 'connectWebviewsViewGet',
6626
- parameters: [
6627
- {
6628
- in: 'query',
6629
- name: 'connect_webview_id',
6630
- required: true,
6631
- schema: { format: 'uuid', type: 'string' },
6632
- },
6633
- {
6634
- in: 'query',
6635
- name: 'auth_token',
6636
- required: true,
6637
- schema: { type: 'string' },
6638
- },
6639
- ],
6640
- responses: {
6641
- 200: { description: 'OK' },
6642
- 400: { description: 'Bad Request' },
6643
- 401: { description: 'Unauthorized' },
6644
- },
6645
- summary: '/connect_webviews/view',
6646
- tags: ['/connect_webviews'],
6647
- 'x-fern-sdk-group-name': ['connect_webviews'],
6648
- 'x-fern-sdk-method-name': 'view',
6649
- },
6650
- },
6651
6621
  '/connected_accounts/delete': {
6652
6622
  post: {
6653
6623
  operationId: 'connectedAccountsDeletePost',
@@ -8024,235 +7994,6 @@ export default {
8024
7994
  'x-fern-sdk-return-value': 'events',
8025
7995
  },
8026
7996
  },
8027
- '/health': {
8028
- get: {
8029
- operationId: 'healthGet',
8030
- responses: {
8031
- 200: {
8032
- content: {
8033
- 'application/json': {
8034
- schema: {
8035
- properties: {
8036
- last_service_evaluation_at: { type: 'string' },
8037
- msg: {
8038
- enum: ['I’m one with the Force. The Force is with me.'],
8039
- type: 'string',
8040
- },
8041
- ok: { type: 'boolean' },
8042
- service_health_statuses: {
8043
- items: { $ref: '#/components/schemas/service_health' },
8044
- type: 'array',
8045
- },
8046
- },
8047
- required: ['ok', 'msg', 'service_health_statuses'],
8048
- type: 'object',
8049
- },
8050
- },
8051
- },
8052
- description: 'OK',
8053
- },
8054
- 400: { description: 'Bad Request' },
8055
- 401: { description: 'Unauthorized' },
8056
- },
8057
- summary: '/health',
8058
- tags: ['/health'],
8059
- 'x-fern-ignore': true,
8060
- },
8061
- post: {
8062
- operationId: 'healthPost',
8063
- responses: {
8064
- 200: {
8065
- content: {
8066
- 'application/json': {
8067
- schema: {
8068
- properties: {
8069
- last_service_evaluation_at: { type: 'string' },
8070
- msg: {
8071
- enum: ['I’m one with the Force. The Force is with me.'],
8072
- type: 'string',
8073
- },
8074
- ok: { type: 'boolean' },
8075
- service_health_statuses: {
8076
- items: { $ref: '#/components/schemas/service_health' },
8077
- type: 'array',
8078
- },
8079
- },
8080
- required: ['ok', 'msg', 'service_health_statuses'],
8081
- type: 'object',
8082
- },
8083
- },
8084
- },
8085
- description: 'OK',
8086
- },
8087
- 400: { description: 'Bad Request' },
8088
- 401: { description: 'Unauthorized' },
8089
- },
8090
- summary: '/health',
8091
- tags: ['/health'],
8092
- 'x-fern-ignore': true,
8093
- },
8094
- },
8095
- '/health/get_health': {
8096
- get: {
8097
- operationId: 'healthGetHealthGet',
8098
- responses: {
8099
- 200: {
8100
- content: {
8101
- 'application/json': {
8102
- schema: {
8103
- properties: {
8104
- last_service_evaluation_at: { type: 'string' },
8105
- msg: {
8106
- enum: ['I’m one with the Force. The Force is with me.'],
8107
- type: 'string',
8108
- },
8109
- ok: { type: 'boolean' },
8110
- service_health_statuses: {
8111
- items: { $ref: '#/components/schemas/service_health' },
8112
- type: 'array',
8113
- },
8114
- },
8115
- required: ['ok', 'msg', 'service_health_statuses'],
8116
- type: 'object',
8117
- },
8118
- },
8119
- },
8120
- description: 'OK',
8121
- },
8122
- 400: { description: 'Bad Request' },
8123
- 401: { description: 'Unauthorized' },
8124
- },
8125
- summary: '/health/get_health',
8126
- tags: ['/health'],
8127
- 'x-fern-ignore': true,
8128
- },
8129
- post: {
8130
- operationId: 'healthGetHealthPost',
8131
- responses: {
8132
- 200: {
8133
- content: {
8134
- 'application/json': {
8135
- schema: {
8136
- properties: {
8137
- last_service_evaluation_at: { type: 'string' },
8138
- msg: {
8139
- enum: ['I’m one with the Force. The Force is with me.'],
8140
- type: 'string',
8141
- },
8142
- ok: { type: 'boolean' },
8143
- service_health_statuses: {
8144
- items: { $ref: '#/components/schemas/service_health' },
8145
- type: 'array',
8146
- },
8147
- },
8148
- required: ['ok', 'msg', 'service_health_statuses'],
8149
- type: 'object',
8150
- },
8151
- },
8152
- },
8153
- description: 'OK',
8154
- },
8155
- 400: { description: 'Bad Request' },
8156
- 401: { description: 'Unauthorized' },
8157
- },
8158
- summary: '/health/get_health',
8159
- tags: ['/health'],
8160
- 'x-fern-sdk-group-name': ['health'],
8161
- 'x-fern-sdk-method-name': 'get_health',
8162
- },
8163
- },
8164
- '/health/get_service_health': {
8165
- post: {
8166
- operationId: 'healthGetServiceHealthPost',
8167
- requestBody: {
8168
- content: {
8169
- 'application/json': {
8170
- schema: {
8171
- properties: { service: { type: 'string' } },
8172
- required: ['service'],
8173
- type: 'object',
8174
- },
8175
- },
8176
- },
8177
- },
8178
- responses: {
8179
- 200: {
8180
- content: {
8181
- 'application/json': {
8182
- schema: {
8183
- properties: {
8184
- last_service_evaluation_at: { type: 'string' },
8185
- ok: { type: 'boolean' },
8186
- service_health: {
8187
- $ref: '#/components/schemas/service_health',
8188
- },
8189
- },
8190
- required: [
8191
- 'ok',
8192
- 'last_service_evaluation_at',
8193
- 'service_health',
8194
- ],
8195
- type: 'object',
8196
- },
8197
- },
8198
- },
8199
- description: 'OK',
8200
- },
8201
- 400: { description: 'Bad Request' },
8202
- 401: { description: 'Unauthorized' },
8203
- },
8204
- summary: '/health/get_service_health',
8205
- tags: ['/health'],
8206
- 'x-fern-sdk-group-name': ['health'],
8207
- 'x-fern-sdk-method-name': 'get_service_health',
8208
- },
8209
- },
8210
- '/health/service/[service_name]': {
8211
- post: {
8212
- operationId: 'healthServiceByServiceNamePost',
8213
- requestBody: {
8214
- content: {
8215
- 'application/json': {
8216
- schema: {
8217
- properties: { service_name: { type: 'string' } },
8218
- required: ['service_name'],
8219
- type: 'object',
8220
- },
8221
- },
8222
- },
8223
- },
8224
- responses: {
8225
- 200: {
8226
- content: {
8227
- 'application/json': {
8228
- schema: {
8229
- properties: {
8230
- last_service_evaluation_at: { type: 'string' },
8231
- ok: { type: 'boolean' },
8232
- service_health: {
8233
- $ref: '#/components/schemas/service_health',
8234
- },
8235
- },
8236
- required: [
8237
- 'ok',
8238
- 'last_service_evaluation_at',
8239
- 'service_health',
8240
- ],
8241
- type: 'object',
8242
- },
8243
- },
8244
- },
8245
- description: 'OK',
8246
- },
8247
- 400: { description: 'Bad Request' },
8248
- 401: { description: 'Unauthorized' },
8249
- },
8250
- summary: '/health/service/[service_name]',
8251
- tags: ['/health'],
8252
- 'x-fern-sdk-group-name': ['health', 'service'],
8253
- 'x-fern-sdk-method-name': 'by_service_name',
8254
- },
8255
- },
8256
7997
  '/locks/get': {
8257
7998
  post: {
8258
7999
  operationId: 'locksGetPost',
@@ -8843,7 +8584,6 @@ export default {
8843
8584
  tags: ['/noise_sensors'],
8844
8585
  'x-fern-sdk-group-name': ['noise_sensors', 'noise_thresholds'],
8845
8586
  'x-fern-sdk-method-name': 'delete',
8846
- 'x-fern-sdk-return-value': 'action_attempt',
8847
8587
  },
8848
8588
  },
8849
8589
  '/noise_sensors/noise_thresholds/get': {
@@ -9051,7 +8791,6 @@ export default {
9051
8791
  tags: ['/noise_sensors'],
9052
8792
  'x-fern-sdk-group-name': ['noise_sensors', 'noise_thresholds'],
9053
8793
  'x-fern-sdk-method-name': 'update',
9054
- 'x-fern-sdk-return-value': 'action_attempt',
9055
8794
  },
9056
8795
  put: {
9057
8796
  operationId: 'noiseSensorsNoiseThresholdsUpdatePut',
@@ -2183,18 +2183,6 @@ export interface Routes {
2183
2183
  }>
2184
2184
  }
2185
2185
  }
2186
- '/connect_webviews/view': {
2187
- route: '/connect_webviews/view'
2188
- method: 'GET'
2189
- queryParams: {
2190
- connect_webview_id: string
2191
- auth_token: string
2192
- }
2193
- jsonBody: {}
2194
- commonParams: {}
2195
- formData: {}
2196
- jsonResponse: {}
2197
- }
2198
2186
  '/connected_accounts/delete': {
2199
2187
  route: '/connected_accounts/delete'
2200
2188
  method: 'DELETE' | 'POST'
@@ -4637,80 +4625,6 @@ export interface Routes {
4637
4625
  }>
4638
4626
  }
4639
4627
  }
4640
- '/health': {
4641
- route: '/health'
4642
- method: 'GET' | 'POST'
4643
- queryParams: {}
4644
- jsonBody: {}
4645
- commonParams: {}
4646
- formData: {}
4647
- jsonResponse: {
4648
- ok: boolean
4649
- msg: 'I\u2019m one with the Force. The Force is with me.'
4650
- last_service_evaluation_at?: string | undefined
4651
- service_health_statuses: Array<{
4652
- service: string
4653
- status: 'healthy' | 'degraded' | 'down'
4654
- description: string
4655
- }>
4656
- }
4657
- }
4658
- '/health/get_health': {
4659
- route: '/health/get_health'
4660
- method: 'GET' | 'POST'
4661
- queryParams: {}
4662
- jsonBody: {}
4663
- commonParams: {}
4664
- formData: {}
4665
- jsonResponse: {
4666
- ok: boolean
4667
- msg: 'I\u2019m one with the Force. The Force is with me.'
4668
- last_service_evaluation_at?: string | undefined
4669
- service_health_statuses: Array<{
4670
- service: string
4671
- status: 'healthy' | 'degraded' | 'down'
4672
- description: string
4673
- }>
4674
- }
4675
- }
4676
- '/health/get_service_health': {
4677
- route: '/health/get_service_health'
4678
- method: 'GET' | 'POST'
4679
- queryParams: {}
4680
- jsonBody: {}
4681
- commonParams: {
4682
- service: string
4683
- }
4684
- formData: {}
4685
- jsonResponse: {
4686
- ok: true
4687
- last_service_evaluation_at: string
4688
- service_health: {
4689
- service: string
4690
- status: 'healthy' | 'degraded' | 'down'
4691
- description: string
4692
- }
4693
- }
4694
- }
4695
- '/health/service/[service_name]': {
4696
- route: '/health/service/[service_name]'
4697
- method: 'GET' | 'POST'
4698
- queryParams: {}
4699
- jsonBody: {}
4700
- commonParams: {
4701
- service_name: string
4702
- }
4703
- formData: {}
4704
- jsonResponse: {
4705
- ok: true
4706
- last_service_evaluation_at: string
4707
- service_health: {
4708
- service: string
4709
- status: 'healthy' | 'degraded' | 'down'
4710
- description: string
4711
- }
4712
- }
4713
- }
4714
4628
  '/locks/get': {
4715
4629
  route: '/locks/get'
4716
4630
  method: 'GET' | 'POST'