@seamapi/types 1.14.0 → 1.15.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.
@@ -2633,6 +2633,9 @@ declare const _default: {
2633
2633
  format: string;
2634
2634
  type: string;
2635
2635
  };
2636
+ user_identifier_key: {
2637
+ type: string;
2638
+ };
2636
2639
  };
2637
2640
  type: string;
2638
2641
  };
@@ -4462,8 +4465,13 @@ declare const _default: {
4462
4465
  type: string;
4463
4466
  };
4464
4467
  code: {
4465
- pattern: string;
4466
- type: string;
4468
+ oneOf: ({
4469
+ pattern: string;
4470
+ type: string;
4471
+ } | {
4472
+ pattern?: never;
4473
+ type?: never;
4474
+ })[];
4467
4475
  };
4468
4476
  };
4469
4477
  required: string[];
@@ -4493,6 +4501,7 @@ declare const _default: {
4493
4501
  type: string;
4494
4502
  };
4495
4503
  code: {
4504
+ nullable: boolean;
4496
4505
  type: string;
4497
4506
  };
4498
4507
  created_at: {
@@ -4652,6 +4661,7 @@ declare const _default: {
4652
4661
  type: string;
4653
4662
  };
4654
4663
  code: {
4664
+ nullable: boolean;
4655
4665
  type: string;
4656
4666
  };
4657
4667
  created_at: {
@@ -4747,6 +4757,7 @@ declare const _default: {
4747
4757
  type: string;
4748
4758
  };
4749
4759
  code: {
4760
+ nullable: boolean;
4750
4761
  type: string;
4751
4762
  };
4752
4763
  created_at: {
@@ -4872,60 +4883,23 @@ declare const _default: {
4872
4883
  };
4873
4884
  };
4874
4885
  '/acs/systems/list': {
4875
- get: {
4886
+ post: {
4876
4887
  operationId: string;
4877
- responses: {
4878
- 200: {
4879
- content: {
4880
- 'application/json': {
4881
- schema: {
4882
- properties: {
4883
- acs_systems: {
4884
- items: {
4885
- $ref: string;
4886
- };
4887
- type: string;
4888
- };
4889
- ok: {
4890
- type: string;
4891
- };
4888
+ requestBody: {
4889
+ content: {
4890
+ 'application/json': {
4891
+ schema: {
4892
+ properties: {
4893
+ connected_account_id: {
4894
+ format: string;
4895
+ type: string;
4892
4896
  };
4893
- required: string[];
4894
- type: string;
4895
4897
  };
4898
+ type: string;
4896
4899
  };
4897
4900
  };
4898
- description: string;
4899
- };
4900
- 400: {
4901
- description: string;
4902
- };
4903
- 401: {
4904
- description: string;
4905
4901
  };
4906
4902
  };
4907
- security: ({
4908
- access_token: never[];
4909
- seam_workspace: never[];
4910
- seam_client_session_token?: never;
4911
- client_session_token?: never;
4912
- } | {
4913
- seam_client_session_token: never[];
4914
- access_token?: never;
4915
- seam_workspace?: never;
4916
- client_session_token?: never;
4917
- } | {
4918
- client_session_token: never[];
4919
- access_token?: never;
4920
- seam_workspace?: never;
4921
- seam_client_session_token?: never;
4922
- })[];
4923
- summary: string;
4924
- tags: never[];
4925
- 'x-fern-ignore': boolean;
4926
- };
4927
- post: {
4928
- operationId: string;
4929
4903
  responses: {
4930
4904
  200: {
4931
4905
  content: {
@@ -7070,6 +7044,9 @@ declare const _default: {
7070
7044
  enum: string[];
7071
7045
  type: string;
7072
7046
  };
7047
+ user_identifier_key: {
7048
+ type: string;
7049
+ };
7073
7050
  };
7074
7051
  type: string;
7075
7052
  };
@@ -7349,6 +7326,9 @@ declare const _default: {
7349
7326
  enum: string[];
7350
7327
  type: string;
7351
7328
  };
7329
+ user_identifier_key: {
7330
+ type: string;
7331
+ };
7352
7332
  };
7353
7333
  type: string;
7354
7334
  };
@@ -8246,6 +8226,9 @@ declare const _default: {
8246
8226
  enum: string[];
8247
8227
  type: string;
8248
8228
  };
8229
+ user_identifier_key: {
8230
+ type: string;
8231
+ };
8249
8232
  };
8250
8233
  type: string;
8251
8234
  };
@@ -9953,6 +9936,9 @@ declare const _default: {
9953
9936
  enum: string[];
9954
9937
  type: string;
9955
9938
  };
9939
+ user_identifier_key: {
9940
+ type: string;
9941
+ };
9956
9942
  };
9957
9943
  type: string;
9958
9944
  };
@@ -10892,6 +10878,7 @@ interface Routes {
10892
10878
  commonParams: {
10893
10879
  device_id?: string | undefined;
10894
10880
  access_code_ids?: string[] | undefined;
10881
+ user_identifier_key?: string | undefined;
10895
10882
  };
10896
10883
  formData: {};
10897
10884
  jsonResponse: {
@@ -11288,7 +11275,7 @@ interface Routes {
11288
11275
  jsonBody: {};
11289
11276
  commonParams: {
11290
11277
  acs_user_id: string;
11291
- code: string;
11278
+ code?: string | undefined;
11292
11279
  };
11293
11280
  formData: {};
11294
11281
  jsonResponse: {
@@ -11296,7 +11283,7 @@ interface Routes {
11296
11283
  acs_credential_id: string;
11297
11284
  acs_user_id: string;
11298
11285
  acs_system_id: string;
11299
- code: string;
11286
+ code: string | null;
11300
11287
  created_at: string;
11301
11288
  workspace_id: string;
11302
11289
  };
@@ -11327,7 +11314,7 @@ interface Routes {
11327
11314
  acs_credential_id: string;
11328
11315
  acs_user_id: string;
11329
11316
  acs_system_id: string;
11330
- code: string;
11317
+ code: string | null;
11331
11318
  created_at: string;
11332
11319
  workspace_id: string;
11333
11320
  };
@@ -11347,7 +11334,7 @@ interface Routes {
11347
11334
  acs_credential_id: string;
11348
11335
  acs_user_id: string;
11349
11336
  acs_system_id: string;
11350
- code: string;
11337
+ code: string | null;
11351
11338
  created_at: string;
11352
11339
  workspace_id: string;
11353
11340
  }>;
@@ -11377,7 +11364,9 @@ interface Routes {
11377
11364
  method: 'GET' | 'POST';
11378
11365
  queryParams: {};
11379
11366
  jsonBody: {};
11380
- commonParams: {};
11367
+ commonParams: {
11368
+ connected_account_id?: string | undefined;
11369
+ };
11381
11370
  formData: {};
11382
11371
  jsonResponse: {
11383
11372
  acs_systems: Array<{
@@ -12278,6 +12267,7 @@ interface Routes {
12278
12267
  device_ids?: string[] | undefined;
12279
12268
  limit?: number;
12280
12269
  created_before?: string | undefined;
12270
+ user_identifier_key?: string | undefined;
12281
12271
  };
12282
12272
  formData: {};
12283
12273
  jsonResponse: {
@@ -12742,6 +12732,7 @@ interface Routes {
12742
12732
  device_ids?: string[] | undefined;
12743
12733
  limit?: number;
12744
12734
  created_before?: string | undefined;
12735
+ user_identifier_key?: string | undefined;
12745
12736
  };
12746
12737
  formData: {};
12747
12738
  jsonResponse: {
@@ -12960,6 +12951,7 @@ interface Routes {
12960
12951
  device_ids?: string[] | undefined;
12961
12952
  limit?: number;
12962
12953
  created_before?: string | undefined;
12954
+ user_identifier_key?: string | undefined;
12963
12955
  };
12964
12956
  formData: {};
12965
12957
  jsonResponse: {
@@ -13816,6 +13808,7 @@ interface Routes {
13816
13808
  device_ids?: string[] | undefined;
13817
13809
  limit?: number;
13818
13810
  created_before?: string | undefined;
13811
+ user_identifier_key?: string | undefined;
13819
13812
  };
13820
13813
  formData: {};
13821
13814
  jsonResponse: {
@@ -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
  },