@seamapi/types 1.14.0 → 1.16.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.
@@ -0,0 +1,2 @@
1
+ export { ConnectWebview, RouteRequestBody, RouteRequestParams, RouteResponse, Routes, openapi, routes, schemas } from './connect.cjs';
2
+ import 'zod';
@@ -2582,6 +2582,9 @@ declare const _default: {
2582
2582
  format: string;
2583
2583
  type: string;
2584
2584
  };
2585
+ user_identifier_key: {
2586
+ type: string;
2587
+ };
2585
2588
  };
2586
2589
  type: string;
2587
2590
  };
@@ -4411,8 +4414,13 @@ declare const _default: {
4411
4414
  type: string;
4412
4415
  };
4413
4416
  code: {
4414
- pattern: string;
4415
- type: string;
4417
+ oneOf: ({
4418
+ pattern: string;
4419
+ type: string;
4420
+ } | {
4421
+ pattern?: never;
4422
+ type?: never;
4423
+ })[];
4416
4424
  };
4417
4425
  };
4418
4426
  required: string[];
@@ -4442,6 +4450,7 @@ declare const _default: {
4442
4450
  type: string;
4443
4451
  };
4444
4452
  code: {
4453
+ nullable: boolean;
4445
4454
  type: string;
4446
4455
  };
4447
4456
  created_at: {
@@ -4601,6 +4610,7 @@ declare const _default: {
4601
4610
  type: string;
4602
4611
  };
4603
4612
  code: {
4613
+ nullable: boolean;
4604
4614
  type: string;
4605
4615
  };
4606
4616
  created_at: {
@@ -4696,6 +4706,7 @@ declare const _default: {
4696
4706
  type: string;
4697
4707
  };
4698
4708
  code: {
4709
+ nullable: boolean;
4699
4710
  type: string;
4700
4711
  };
4701
4712
  created_at: {
@@ -4821,60 +4832,23 @@ declare const _default: {
4821
4832
  };
4822
4833
  };
4823
4834
  '/acs/systems/list': {
4824
- get: {
4835
+ post: {
4825
4836
  operationId: string;
4826
- responses: {
4827
- 200: {
4828
- content: {
4829
- 'application/json': {
4830
- schema: {
4831
- properties: {
4832
- acs_systems: {
4833
- items: {
4834
- $ref: string;
4835
- };
4836
- type: string;
4837
- };
4838
- ok: {
4839
- type: string;
4840
- };
4837
+ requestBody: {
4838
+ content: {
4839
+ 'application/json': {
4840
+ schema: {
4841
+ properties: {
4842
+ connected_account_id: {
4843
+ format: string;
4844
+ type: string;
4841
4845
  };
4842
- required: string[];
4843
- type: string;
4844
4846
  };
4847
+ type: string;
4845
4848
  };
4846
4849
  };
4847
- description: string;
4848
- };
4849
- 400: {
4850
- description: string;
4851
- };
4852
- 401: {
4853
- description: string;
4854
4850
  };
4855
4851
  };
4856
- security: ({
4857
- access_token: never[];
4858
- seam_workspace: never[];
4859
- seam_client_session_token?: never;
4860
- client_session_token?: never;
4861
- } | {
4862
- seam_client_session_token: never[];
4863
- access_token?: never;
4864
- seam_workspace?: never;
4865
- client_session_token?: never;
4866
- } | {
4867
- client_session_token: never[];
4868
- access_token?: never;
4869
- seam_workspace?: never;
4870
- seam_client_session_token?: never;
4871
- })[];
4872
- summary: string;
4873
- tags: never[];
4874
- 'x-fern-ignore': boolean;
4875
- };
4876
- post: {
4877
- operationId: string;
4878
4852
  responses: {
4879
4853
  200: {
4880
4854
  content: {
@@ -7019,6 +6993,9 @@ declare const _default: {
7019
6993
  enum: string[];
7020
6994
  type: string;
7021
6995
  };
6996
+ user_identifier_key: {
6997
+ type: string;
6998
+ };
7022
6999
  };
7023
7000
  type: string;
7024
7001
  };
@@ -7298,6 +7275,9 @@ declare const _default: {
7298
7275
  enum: string[];
7299
7276
  type: string;
7300
7277
  };
7278
+ user_identifier_key: {
7279
+ type: string;
7280
+ };
7301
7281
  };
7302
7282
  type: string;
7303
7283
  };
@@ -8195,6 +8175,9 @@ declare const _default: {
8195
8175
  enum: string[];
8196
8176
  type: string;
8197
8177
  };
8178
+ user_identifier_key: {
8179
+ type: string;
8180
+ };
8198
8181
  };
8199
8182
  type: string;
8200
8183
  };
@@ -9902,6 +9885,9 @@ declare const _default: {
9902
9885
  enum: string[];
9903
9886
  type: string;
9904
9887
  };
9888
+ user_identifier_key: {
9889
+ type: string;
9890
+ };
9905
9891
  };
9906
9892
  type: string;
9907
9893
  };
@@ -1823,6 +1823,7 @@ export default {
1823
1823
  type: 'array',
1824
1824
  },
1825
1825
  device_id: { format: 'uuid', type: 'string' },
1826
+ user_identifier_key: { type: 'string' },
1826
1827
  },
1827
1828
  type: 'object',
1828
1829
  },
@@ -3030,9 +3031,9 @@ export default {
3030
3031
  schema: {
3031
3032
  properties: {
3032
3033
  acs_user_id: { format: 'uuid', type: 'string' },
3033
- code: { pattern: '^\\d+$', type: 'string' },
3034
+ code: { oneOf: [{ pattern: '^\\d+$', type: 'string' }, {}] },
3034
3035
  },
3035
- required: ['acs_user_id', 'code'],
3036
+ required: ['acs_user_id'],
3036
3037
  type: 'object',
3037
3038
  },
3038
3039
  },
@@ -3049,7 +3050,7 @@ export default {
3049
3050
  acs_credential_id: { format: 'uuid', type: 'string' },
3050
3051
  acs_system_id: { format: 'uuid', type: 'string' },
3051
3052
  acs_user_id: { format: 'uuid', type: 'string' },
3052
- code: { type: 'string' },
3053
+ code: { nullable: true, type: 'string' },
3053
3054
  created_at: { format: 'date-time', type: 'string' },
3054
3055
  workspace_id: { format: 'uuid', type: 'string' },
3055
3056
  },
@@ -3156,7 +3157,7 @@ export default {
3156
3157
  acs_credential_id: { format: 'uuid', type: 'string' },
3157
3158
  acs_system_id: { format: 'uuid', type: 'string' },
3158
3159
  acs_user_id: { format: 'uuid', type: 'string' },
3159
- code: { type: 'string' },
3160
+ code: { nullable: true, type: 'string' },
3160
3161
  created_at: { format: 'date-time', type: 'string' },
3161
3162
  workspace_id: { format: 'uuid', type: 'string' },
3162
3163
  },
@@ -3219,7 +3220,7 @@ export default {
3219
3220
  acs_credential_id: { format: 'uuid', type: 'string' },
3220
3221
  acs_system_id: { format: 'uuid', type: 'string' },
3221
3222
  acs_user_id: { format: 'uuid', type: 'string' },
3222
- code: { type: 'string' },
3223
+ code: { nullable: true, type: 'string' },
3223
3224
  created_at: { format: 'date-time', type: 'string' },
3224
3225
  workspace_id: { format: 'uuid', type: 'string' },
3225
3226
  },
@@ -3305,41 +3306,20 @@ export default {
3305
3306
  },
3306
3307
  },
3307
3308
  '/acs/systems/list': {
3308
- get: {
3309
- operationId: 'acsSystemsListGet',
3310
- responses: {
3311
- 200: {
3312
- content: {
3313
- 'application/json': {
3314
- schema: {
3315
- properties: {
3316
- acs_systems: {
3317
- items: { $ref: '#/components/schemas/acs_system' },
3318
- type: 'array',
3319
- },
3320
- ok: { type: 'boolean' },
3321
- },
3322
- required: ['acs_systems', 'ok'],
3323
- type: 'object',
3309
+ post: {
3310
+ operationId: 'acsSystemsListPost',
3311
+ requestBody: {
3312
+ content: {
3313
+ 'application/json': {
3314
+ schema: {
3315
+ properties: {
3316
+ connected_account_id: { format: 'uuid', type: 'string' },
3324
3317
  },
3318
+ type: 'object',
3325
3319
  },
3326
3320
  },
3327
- description: 'OK',
3328
3321
  },
3329
- 400: { description: 'Bad Request' },
3330
- 401: { description: 'Unauthorized' },
3331
3322
  },
3332
- security: [
3333
- { access_token: [], seam_workspace: [] },
3334
- { seam_client_session_token: [] },
3335
- { client_session_token: [] },
3336
- ],
3337
- summary: '/acs/systems/list',
3338
- tags: [],
3339
- 'x-fern-ignore': true,
3340
- },
3341
- post: {
3342
- operationId: 'acsSystemsListPost',
3343
3323
  responses: {
3344
3324
  200: {
3345
3325
  content: {
@@ -4904,6 +4884,7 @@ export default {
4904
4884
  ],
4905
4885
  type: 'string',
4906
4886
  },
4887
+ user_identifier_key: { type: 'string' },
4907
4888
  },
4908
4889
  type: 'object',
4909
4890
  },
@@ -5208,6 +5189,7 @@ export default {
5208
5189
  ],
5209
5190
  type: 'string',
5210
5191
  },
5192
+ user_identifier_key: { type: 'string' },
5211
5193
  },
5212
5194
  type: 'object',
5213
5195
  },
@@ -5990,6 +5972,7 @@ export default {
5990
5972
  ],
5991
5973
  type: 'string',
5992
5974
  },
5975
+ user_identifier_key: { type: 'string' },
5993
5976
  },
5994
5977
  type: 'object',
5995
5978
  },
@@ -7213,6 +7196,7 @@ export default {
7213
7196
  ],
7214
7197
  type: 'string',
7215
7198
  },
7199
+ user_identifier_key: { type: 'string' },
7216
7200
  },
7217
7201
  type: 'object',
7218
7202
  },