@seamapi/types 1.7.1 → 1.9.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.
package/dist/connect.cjs CHANGED
@@ -1166,6 +1166,7 @@ var openapi_default = {
1166
1166
  "hubitat",
1167
1167
  "four_suites",
1168
1168
  "dormakaba_oracode",
1169
+ "pti",
1169
1170
  "wyze",
1170
1171
  "yale_access"
1171
1172
  ]
@@ -3962,6 +3963,91 @@ var openapi_default = {
3962
3963
  operationId: "accessCodesUnmanagedUpdatePost"
3963
3964
  }
3964
3965
  },
3966
+ "/acs/access_groups/add_user": {
3967
+ post: {
3968
+ "x-fern-sdk-group-name": ["acs", "access_groups"],
3969
+ "x-fern-sdk-method-name": "add_user",
3970
+ summary: "/acs/access_groups/add_user",
3971
+ responses: {
3972
+ 200: {
3973
+ description: "OK",
3974
+ content: {
3975
+ "application/json": {
3976
+ schema: {
3977
+ type: "object",
3978
+ properties: { ok: { type: "boolean" } },
3979
+ required: ["ok"]
3980
+ }
3981
+ }
3982
+ }
3983
+ },
3984
+ 400: { description: "Bad Request" },
3985
+ 401: { description: "Unauthorized" }
3986
+ },
3987
+ security: [
3988
+ { seam_workspace: [], access_token: [] },
3989
+ { seam_client_session_token: [] },
3990
+ { client_session_token: [] }
3991
+ ],
3992
+ requestBody: {
3993
+ content: {
3994
+ "application/json": {
3995
+ schema: {
3996
+ type: "object",
3997
+ properties: {
3998
+ acs_access_group_id: { type: "string", format: "uuid" },
3999
+ acs_user_id: { type: "string", format: "uuid" }
4000
+ },
4001
+ required: ["acs_access_group_id", "acs_user_id"]
4002
+ }
4003
+ }
4004
+ }
4005
+ },
4006
+ tags: [],
4007
+ operationId: "acsAccessGroupsAddUserPost"
4008
+ },
4009
+ patch: {
4010
+ "x-fern-ignore": true,
4011
+ summary: "/acs/access_groups/add_user",
4012
+ responses: {
4013
+ 200: {
4014
+ description: "OK",
4015
+ content: {
4016
+ "application/json": {
4017
+ schema: {
4018
+ type: "object",
4019
+ properties: { ok: { type: "boolean" } },
4020
+ required: ["ok"]
4021
+ }
4022
+ }
4023
+ }
4024
+ },
4025
+ 400: { description: "Bad Request" },
4026
+ 401: { description: "Unauthorized" }
4027
+ },
4028
+ security: [
4029
+ { seam_workspace: [], access_token: [] },
4030
+ { seam_client_session_token: [] },
4031
+ { client_session_token: [] }
4032
+ ],
4033
+ requestBody: {
4034
+ content: {
4035
+ "application/json": {
4036
+ schema: {
4037
+ type: "object",
4038
+ properties: {
4039
+ acs_access_group_id: { type: "string", format: "uuid" },
4040
+ acs_user_id: { type: "string", format: "uuid" }
4041
+ },
4042
+ required: ["acs_access_group_id", "acs_user_id"]
4043
+ }
4044
+ }
4045
+ }
4046
+ },
4047
+ tags: [],
4048
+ operationId: "acsAccessGroupsAddUserPatch"
4049
+ }
4050
+ },
3965
4051
  "/acs/access_groups/create": {
3966
4052
  post: {
3967
4053
  "x-fern-sdk-group-name": ["acs", "access_groups"],
@@ -3976,31 +4062,7 @@ var openapi_default = {
3976
4062
  type: "object",
3977
4063
  properties: {
3978
4064
  acs_access_group: {
3979
- type: "object",
3980
- properties: {
3981
- acs_access_group_id: { type: "string", format: "uuid" },
3982
- acs_system_id: { type: "string", format: "uuid" },
3983
- workspace_id: { type: "string", format: "uuid" },
3984
- name: { type: "string" },
3985
- access_group_type: {
3986
- type: "string",
3987
- enum: ["pti_unit"]
3988
- },
3989
- created_at: {
3990
- oneOf: [
3991
- { type: "string" },
3992
- { type: "string", format: "date-time" }
3993
- ]
3994
- }
3995
- },
3996
- required: [
3997
- "acs_access_group_id",
3998
- "acs_system_id",
3999
- "workspace_id",
4000
- "name",
4001
- "access_group_type",
4002
- "created_at"
4003
- ]
4065
+ $ref: "#/components/schemas/acs_access_group"
4004
4066
  },
4005
4067
  ok: { type: "boolean" }
4006
4068
  },
@@ -4092,31 +4154,7 @@ var openapi_default = {
4092
4154
  type: "object",
4093
4155
  properties: {
4094
4156
  acs_access_group: {
4095
- type: "object",
4096
- properties: {
4097
- acs_access_group_id: { type: "string", format: "uuid" },
4098
- acs_system_id: { type: "string", format: "uuid" },
4099
- workspace_id: { type: "string", format: "uuid" },
4100
- name: { type: "string" },
4101
- access_group_type: {
4102
- type: "string",
4103
- enum: ["pti_unit"]
4104
- },
4105
- created_at: {
4106
- oneOf: [
4107
- { type: "string" },
4108
- { type: "string", format: "date-time" }
4109
- ]
4110
- }
4111
- },
4112
- required: [
4113
- "acs_access_group_id",
4114
- "acs_system_id",
4115
- "workspace_id",
4116
- "name",
4117
- "access_group_type",
4118
- "created_at"
4119
- ]
4157
+ $ref: "#/components/schemas/acs_access_group"
4120
4158
  },
4121
4159
  ok: { type: "boolean" }
4122
4160
  },
@@ -4165,36 +4203,7 @@ var openapi_default = {
4165
4203
  properties: {
4166
4204
  acs_access_groups: {
4167
4205
  type: "array",
4168
- items: {
4169
- type: "object",
4170
- properties: {
4171
- acs_access_group_id: {
4172
- type: "string",
4173
- format: "uuid"
4174
- },
4175
- acs_system_id: { type: "string", format: "uuid" },
4176
- workspace_id: { type: "string", format: "uuid" },
4177
- name: { type: "string" },
4178
- access_group_type: {
4179
- type: "string",
4180
- enum: ["pti_unit"]
4181
- },
4182
- created_at: {
4183
- oneOf: [
4184
- { type: "string" },
4185
- { type: "string", format: "date-time" }
4186
- ]
4187
- }
4188
- },
4189
- required: [
4190
- "acs_access_group_id",
4191
- "acs_system_id",
4192
- "workspace_id",
4193
- "name",
4194
- "access_group_type",
4195
- "created_at"
4196
- ]
4197
- }
4206
+ items: { $ref: "#/components/schemas/acs_access_group" }
4198
4207
  },
4199
4208
  ok: { type: "boolean" }
4200
4209
  },
@@ -4228,6 +4237,99 @@ var openapi_default = {
4228
4237
  operationId: "acsAccessGroupsListPost"
4229
4238
  }
4230
4239
  },
4240
+ "/acs/access_groups/list_users": {
4241
+ post: {
4242
+ "x-fern-sdk-group-name": ["acs", "access_groups"],
4243
+ "x-fern-sdk-method-name": "list_users",
4244
+ summary: "/acs/access_groups/list_users",
4245
+ responses: {
4246
+ 200: {
4247
+ description: "OK",
4248
+ content: {
4249
+ "application/json": {
4250
+ schema: {
4251
+ type: "object",
4252
+ properties: {
4253
+ acs_users: {
4254
+ type: "array",
4255
+ items: { $ref: "#/components/schemas/acs_user" }
4256
+ },
4257
+ ok: { type: "boolean" }
4258
+ },
4259
+ required: ["acs_users", "ok"]
4260
+ }
4261
+ }
4262
+ }
4263
+ },
4264
+ 400: { description: "Bad Request" },
4265
+ 401: { description: "Unauthorized" }
4266
+ },
4267
+ security: [
4268
+ { seam_workspace: [], access_token: [] },
4269
+ { seam_client_session_token: [] },
4270
+ { client_session_token: [] }
4271
+ ],
4272
+ requestBody: {
4273
+ content: {
4274
+ "application/json": {
4275
+ schema: {
4276
+ type: "object",
4277
+ properties: {
4278
+ acs_access_group_id: { type: "string", format: "uuid" }
4279
+ },
4280
+ required: ["acs_access_group_id"]
4281
+ }
4282
+ }
4283
+ }
4284
+ },
4285
+ tags: [],
4286
+ operationId: "acsAccessGroupsListUsersPost"
4287
+ }
4288
+ },
4289
+ "/acs/access_groups/remove_user": {
4290
+ post: {
4291
+ "x-fern-sdk-group-name": ["acs", "access_groups"],
4292
+ "x-fern-sdk-method-name": "remove_user",
4293
+ summary: "/acs/access_groups/remove_user",
4294
+ responses: {
4295
+ 200: {
4296
+ description: "OK",
4297
+ content: {
4298
+ "application/json": {
4299
+ schema: {
4300
+ type: "object",
4301
+ properties: { ok: { type: "boolean" } },
4302
+ required: ["ok"]
4303
+ }
4304
+ }
4305
+ }
4306
+ },
4307
+ 400: { description: "Bad Request" },
4308
+ 401: { description: "Unauthorized" }
4309
+ },
4310
+ security: [
4311
+ { seam_workspace: [], access_token: [] },
4312
+ { seam_client_session_token: [] },
4313
+ { client_session_token: [] }
4314
+ ],
4315
+ requestBody: {
4316
+ content: {
4317
+ "application/json": {
4318
+ schema: {
4319
+ type: "object",
4320
+ properties: {
4321
+ acs_access_group_id: { type: "string", format: "uuid" },
4322
+ acs_user_id: { type: "string", format: "uuid" }
4323
+ },
4324
+ required: ["acs_access_group_id", "acs_user_id"]
4325
+ }
4326
+ }
4327
+ }
4328
+ },
4329
+ tags: [],
4330
+ operationId: "acsAccessGroupsRemoveUserPost"
4331
+ }
4332
+ },
4231
4333
  "/acs/access_groups/update": {
4232
4334
  patch: {
4233
4335
  "x-fern-ignore": true,
@@ -4326,29 +4428,7 @@ var openapi_default = {
4326
4428
  schema: {
4327
4429
  type: "object",
4328
4430
  properties: {
4329
- acs_system: {
4330
- type: "object",
4331
- properties: {
4332
- acs_system_id: { type: "string", format: "uuid" },
4333
- system_type: {
4334
- type: "string",
4335
- enum: ["pti_site", "alta_org"]
4336
- },
4337
- name: { type: "string" },
4338
- created_at: {
4339
- oneOf: [
4340
- { type: "string" },
4341
- { type: "string", format: "date-time" }
4342
- ]
4343
- }
4344
- },
4345
- required: [
4346
- "acs_system_id",
4347
- "system_type",
4348
- "name",
4349
- "created_at"
4350
- ]
4351
- },
4431
+ acs_system: { $ref: "#/components/schemas/acs_system" },
4352
4432
  ok: { type: "boolean" }
4353
4433
  },
4354
4434
  required: ["acs_system", "ok"]
@@ -4396,29 +4476,7 @@ var openapi_default = {
4396
4476
  properties: {
4397
4477
  acs_systems: {
4398
4478
  type: "array",
4399
- items: {
4400
- type: "object",
4401
- properties: {
4402
- acs_system_id: { type: "string", format: "uuid" },
4403
- system_type: {
4404
- type: "string",
4405
- enum: ["pti_site", "alta_org"]
4406
- },
4407
- name: { type: "string" },
4408
- created_at: {
4409
- oneOf: [
4410
- { type: "string" },
4411
- { type: "string", format: "date-time" }
4412
- ]
4413
- }
4414
- },
4415
- required: [
4416
- "acs_system_id",
4417
- "system_type",
4418
- "name",
4419
- "created_at"
4420
- ]
4421
- }
4479
+ items: { $ref: "#/components/schemas/acs_system" }
4422
4480
  },
4423
4481
  ok: { type: "boolean" }
4424
4482
  },
@@ -4451,29 +4509,7 @@ var openapi_default = {
4451
4509
  properties: {
4452
4510
  acs_systems: {
4453
4511
  type: "array",
4454
- items: {
4455
- type: "object",
4456
- properties: {
4457
- acs_system_id: { type: "string", format: "uuid" },
4458
- system_type: {
4459
- type: "string",
4460
- enum: ["pti_site", "alta_org"]
4461
- },
4462
- name: { type: "string" },
4463
- created_at: {
4464
- oneOf: [
4465
- { type: "string" },
4466
- { type: "string", format: "date-time" }
4467
- ]
4468
- }
4469
- },
4470
- required: [
4471
- "acs_system_id",
4472
- "system_type",
4473
- "name",
4474
- "created_at"
4475
- ]
4476
- }
4512
+ items: { $ref: "#/components/schemas/acs_system" }
4477
4513
  },
4478
4514
  ok: { type: "boolean" }
4479
4515
  },
@@ -4570,26 +4606,7 @@ var openapi_default = {
4570
4606
  schema: {
4571
4607
  type: "object",
4572
4608
  properties: {
4573
- acs_user: {
4574
- type: "object",
4575
- properties: {
4576
- acs_user_id: { type: "string", format: "uuid" },
4577
- acs_system_id: { type: "string", format: "uuid" },
4578
- workspace_id: { type: "string", format: "uuid" },
4579
- created_at: { type: "string", format: "date-time" },
4580
- display_name: { type: "string" },
4581
- full_name: { type: "string" },
4582
- email: { type: "string", format: "email" },
4583
- phone_number: { type: "string", nullable: true }
4584
- },
4585
- required: [
4586
- "acs_user_id",
4587
- "acs_system_id",
4588
- "workspace_id",
4589
- "created_at",
4590
- "display_name"
4591
- ]
4592
- },
4609
+ acs_user: { $ref: "#/components/schemas/acs_user" },
4593
4610
  ok: { type: "boolean" }
4594
4611
  },
4595
4612
  required: ["acs_user", "ok"]
@@ -4611,10 +4628,17 @@ var openapi_default = {
4611
4628
  schema: {
4612
4629
  type: "object",
4613
4630
  properties: {
4631
+ acs_system_id: { type: "string", format: "uuid" },
4632
+ acs_access_group_ids: {
4633
+ default: [],
4634
+ type: "array",
4635
+ items: { type: "string", format: "uuid" }
4636
+ },
4614
4637
  full_name: { type: "string" },
4615
4638
  email: { type: "string", format: "email" },
4616
4639
  phone_number: { type: "string", nullable: true }
4617
- }
4640
+ },
4641
+ required: ["acs_system_id"]
4618
4642
  }
4619
4643
  }
4620
4644
  }
@@ -4677,26 +4701,7 @@ var openapi_default = {
4677
4701
  schema: {
4678
4702
  type: "object",
4679
4703
  properties: {
4680
- acs_user: {
4681
- type: "object",
4682
- properties: {
4683
- acs_user_id: { type: "string", format: "uuid" },
4684
- acs_system_id: { type: "string", format: "uuid" },
4685
- workspace_id: { type: "string", format: "uuid" },
4686
- created_at: { type: "string", format: "date-time" },
4687
- display_name: { type: "string" },
4688
- full_name: { type: "string" },
4689
- email: { type: "string", format: "email" },
4690
- phone_number: { type: "string", nullable: true }
4691
- },
4692
- required: [
4693
- "acs_user_id",
4694
- "acs_system_id",
4695
- "workspace_id",
4696
- "created_at",
4697
- "display_name"
4698
- ]
4699
- },
4704
+ acs_user: { $ref: "#/components/schemas/acs_user" },
4700
4705
  ok: { type: "boolean" }
4701
4706
  },
4702
4707
  required: ["acs_user", "ok"]
@@ -4742,26 +4747,7 @@ var openapi_default = {
4742
4747
  properties: {
4743
4748
  acs_users: {
4744
4749
  type: "array",
4745
- items: {
4746
- type: "object",
4747
- properties: {
4748
- acs_user_id: { type: "string", format: "uuid" },
4749
- acs_system_id: { type: "string", format: "uuid" },
4750
- workspace_id: { type: "string", format: "uuid" },
4751
- created_at: { type: "string", format: "date-time" },
4752
- display_name: { type: "string" },
4753
- full_name: { type: "string" },
4754
- email: { type: "string", format: "email" },
4755
- phone_number: { type: "string", nullable: true }
4756
- },
4757
- required: [
4758
- "acs_user_id",
4759
- "acs_system_id",
4760
- "workspace_id",
4761
- "created_at",
4762
- "display_name"
4763
- ]
4764
- }
4750
+ items: { $ref: "#/components/schemas/acs_user" }
4765
4751
  },
4766
4752
  ok: { type: "boolean" }
4767
4753
  },
@@ -4889,10 +4875,12 @@ var openapi_default = {
4889
4875
  schema: {
4890
4876
  type: "object",
4891
4877
  properties: {
4878
+ acs_user_id: { type: "string", format: "uuid" },
4892
4879
  full_name: { type: "string" },
4893
4880
  email: { type: "string", format: "email" },
4894
4881
  phone_number: { type: "string", nullable: true }
4895
- }
4882
+ },
4883
+ required: ["acs_user_id"]
4896
4884
  }
4897
4885
  }
4898
4886
  }
@@ -4931,10 +4919,12 @@ var openapi_default = {
4931
4919
  schema: {
4932
4920
  type: "object",
4933
4921
  properties: {
4922
+ acs_user_id: { type: "string", format: "uuid" },
4934
4923
  full_name: { type: "string" },
4935
4924
  email: { type: "string", format: "email" },
4936
4925
  phone_number: { type: "string", nullable: true }
4937
- }
4926
+ },
4927
+ required: ["acs_user_id"]
4938
4928
  }
4939
4929
  }
4940
4930
  }
@@ -7428,6 +7418,64 @@ var openapi_default = {
7428
7418
  "is_sandbox",
7429
7419
  "connect_partner_name"
7430
7420
  ]
7421
+ },
7422
+ acs_system: {
7423
+ type: "object",
7424
+ properties: {
7425
+ acs_system_id: { type: "string", format: "uuid" },
7426
+ system_type: { type: "string", enum: ["pti_site", "alta_org"] },
7427
+ system_type_display_name: { type: "string" },
7428
+ name: { type: "string" },
7429
+ created_at: { type: "string", format: "date-time" }
7430
+ },
7431
+ required: [
7432
+ "acs_system_id",
7433
+ "system_type",
7434
+ "system_type_display_name",
7435
+ "name",
7436
+ "created_at"
7437
+ ]
7438
+ },
7439
+ acs_access_group: {
7440
+ type: "object",
7441
+ properties: {
7442
+ acs_access_group_id: { type: "string", format: "uuid" },
7443
+ acs_system_id: { type: "string", format: "uuid" },
7444
+ workspace_id: { type: "string", format: "uuid" },
7445
+ name: { type: "string" },
7446
+ access_group_type: { type: "string", enum: ["pti_unit"] },
7447
+ access_group_type_display_name: { type: "string" },
7448
+ created_at: { type: "string", format: "date-time" }
7449
+ },
7450
+ required: [
7451
+ "acs_access_group_id",
7452
+ "acs_system_id",
7453
+ "workspace_id",
7454
+ "name",
7455
+ "access_group_type",
7456
+ "access_group_type_display_name",
7457
+ "created_at"
7458
+ ]
7459
+ },
7460
+ acs_user: {
7461
+ type: "object",
7462
+ properties: {
7463
+ acs_user_id: { type: "string", format: "uuid" },
7464
+ acs_system_id: { type: "string", format: "uuid" },
7465
+ workspace_id: { type: "string", format: "uuid" },
7466
+ created_at: { type: "string", format: "date-time" },
7467
+ display_name: { type: "string" },
7468
+ full_name: { type: "string" },
7469
+ email: { type: "string", format: "email" },
7470
+ phone_number: { type: "string", nullable: true }
7471
+ },
7472
+ required: [
7473
+ "acs_user_id",
7474
+ "acs_system_id",
7475
+ "workspace_id",
7476
+ "created_at",
7477
+ "display_name"
7478
+ ]
7431
7479
  }
7432
7480
  }
7433
7481
  }