@seamapi/types 1.7.1 → 1.8.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
@@ -3962,6 +3962,91 @@ var openapi_default = {
3962
3962
  operationId: "accessCodesUnmanagedUpdatePost"
3963
3963
  }
3964
3964
  },
3965
+ "/acs/access_groups/add_user": {
3966
+ post: {
3967
+ "x-fern-sdk-group-name": ["acs", "access_groups"],
3968
+ "x-fern-sdk-method-name": "add_user",
3969
+ summary: "/acs/access_groups/add_user",
3970
+ responses: {
3971
+ 200: {
3972
+ description: "OK",
3973
+ content: {
3974
+ "application/json": {
3975
+ schema: {
3976
+ type: "object",
3977
+ properties: { ok: { type: "boolean" } },
3978
+ required: ["ok"]
3979
+ }
3980
+ }
3981
+ }
3982
+ },
3983
+ 400: { description: "Bad Request" },
3984
+ 401: { description: "Unauthorized" }
3985
+ },
3986
+ security: [
3987
+ { seam_workspace: [], access_token: [] },
3988
+ { seam_client_session_token: [] },
3989
+ { client_session_token: [] }
3990
+ ],
3991
+ requestBody: {
3992
+ content: {
3993
+ "application/json": {
3994
+ schema: {
3995
+ type: "object",
3996
+ properties: {
3997
+ acs_access_group_id: { type: "string", format: "uuid" },
3998
+ acs_user_id: { type: "string", format: "uuid" }
3999
+ },
4000
+ required: ["acs_access_group_id", "acs_user_id"]
4001
+ }
4002
+ }
4003
+ }
4004
+ },
4005
+ tags: [],
4006
+ operationId: "acsAccessGroupsAddUserPost"
4007
+ },
4008
+ patch: {
4009
+ "x-fern-ignore": true,
4010
+ summary: "/acs/access_groups/add_user",
4011
+ responses: {
4012
+ 200: {
4013
+ description: "OK",
4014
+ content: {
4015
+ "application/json": {
4016
+ schema: {
4017
+ type: "object",
4018
+ properties: { ok: { type: "boolean" } },
4019
+ required: ["ok"]
4020
+ }
4021
+ }
4022
+ }
4023
+ },
4024
+ 400: { description: "Bad Request" },
4025
+ 401: { description: "Unauthorized" }
4026
+ },
4027
+ security: [
4028
+ { seam_workspace: [], access_token: [] },
4029
+ { seam_client_session_token: [] },
4030
+ { client_session_token: [] }
4031
+ ],
4032
+ requestBody: {
4033
+ content: {
4034
+ "application/json": {
4035
+ schema: {
4036
+ type: "object",
4037
+ properties: {
4038
+ acs_access_group_id: { type: "string", format: "uuid" },
4039
+ acs_user_id: { type: "string", format: "uuid" }
4040
+ },
4041
+ required: ["acs_access_group_id", "acs_user_id"]
4042
+ }
4043
+ }
4044
+ }
4045
+ },
4046
+ tags: [],
4047
+ operationId: "acsAccessGroupsAddUserPatch"
4048
+ }
4049
+ },
3965
4050
  "/acs/access_groups/create": {
3966
4051
  post: {
3967
4052
  "x-fern-sdk-group-name": ["acs", "access_groups"],
@@ -3976,31 +4061,7 @@ var openapi_default = {
3976
4061
  type: "object",
3977
4062
  properties: {
3978
4063
  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
- ]
4064
+ $ref: "#/components/schemas/acs_access_group"
4004
4065
  },
4005
4066
  ok: { type: "boolean" }
4006
4067
  },
@@ -4092,31 +4153,7 @@ var openapi_default = {
4092
4153
  type: "object",
4093
4154
  properties: {
4094
4155
  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
- ]
4156
+ $ref: "#/components/schemas/acs_access_group"
4120
4157
  },
4121
4158
  ok: { type: "boolean" }
4122
4159
  },
@@ -4165,36 +4202,7 @@ var openapi_default = {
4165
4202
  properties: {
4166
4203
  acs_access_groups: {
4167
4204
  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
- }
4205
+ items: { $ref: "#/components/schemas/acs_access_group" }
4198
4206
  },
4199
4207
  ok: { type: "boolean" }
4200
4208
  },
@@ -4228,6 +4236,99 @@ var openapi_default = {
4228
4236
  operationId: "acsAccessGroupsListPost"
4229
4237
  }
4230
4238
  },
4239
+ "/acs/access_groups/list_users": {
4240
+ post: {
4241
+ "x-fern-sdk-group-name": ["acs", "access_groups"],
4242
+ "x-fern-sdk-method-name": "list_users",
4243
+ summary: "/acs/access_groups/list_users",
4244
+ responses: {
4245
+ 200: {
4246
+ description: "OK",
4247
+ content: {
4248
+ "application/json": {
4249
+ schema: {
4250
+ type: "object",
4251
+ properties: {
4252
+ acs_users: {
4253
+ type: "array",
4254
+ items: { $ref: "#/components/schemas/acs_user" }
4255
+ },
4256
+ ok: { type: "boolean" }
4257
+ },
4258
+ required: ["acs_users", "ok"]
4259
+ }
4260
+ }
4261
+ }
4262
+ },
4263
+ 400: { description: "Bad Request" },
4264
+ 401: { description: "Unauthorized" }
4265
+ },
4266
+ security: [
4267
+ { seam_workspace: [], access_token: [] },
4268
+ { seam_client_session_token: [] },
4269
+ { client_session_token: [] }
4270
+ ],
4271
+ requestBody: {
4272
+ content: {
4273
+ "application/json": {
4274
+ schema: {
4275
+ type: "object",
4276
+ properties: {
4277
+ acs_access_group_id: { type: "string", format: "uuid" }
4278
+ },
4279
+ required: ["acs_access_group_id"]
4280
+ }
4281
+ }
4282
+ }
4283
+ },
4284
+ tags: [],
4285
+ operationId: "acsAccessGroupsListUsersPost"
4286
+ }
4287
+ },
4288
+ "/acs/access_groups/remove_user": {
4289
+ post: {
4290
+ "x-fern-sdk-group-name": ["acs", "access_groups"],
4291
+ "x-fern-sdk-method-name": "remove_user",
4292
+ summary: "/acs/access_groups/remove_user",
4293
+ responses: {
4294
+ 200: {
4295
+ description: "OK",
4296
+ content: {
4297
+ "application/json": {
4298
+ schema: {
4299
+ type: "object",
4300
+ properties: { ok: { type: "boolean" } },
4301
+ required: ["ok"]
4302
+ }
4303
+ }
4304
+ }
4305
+ },
4306
+ 400: { description: "Bad Request" },
4307
+ 401: { description: "Unauthorized" }
4308
+ },
4309
+ security: [
4310
+ { seam_workspace: [], access_token: [] },
4311
+ { seam_client_session_token: [] },
4312
+ { client_session_token: [] }
4313
+ ],
4314
+ requestBody: {
4315
+ content: {
4316
+ "application/json": {
4317
+ schema: {
4318
+ type: "object",
4319
+ properties: {
4320
+ acs_access_group_id: { type: "string", format: "uuid" },
4321
+ acs_user_id: { type: "string", format: "uuid" }
4322
+ },
4323
+ required: ["acs_access_group_id", "acs_user_id"]
4324
+ }
4325
+ }
4326
+ }
4327
+ },
4328
+ tags: [],
4329
+ operationId: "acsAccessGroupsRemoveUserPost"
4330
+ }
4331
+ },
4231
4332
  "/acs/access_groups/update": {
4232
4333
  patch: {
4233
4334
  "x-fern-ignore": true,
@@ -4326,29 +4427,7 @@ var openapi_default = {
4326
4427
  schema: {
4327
4428
  type: "object",
4328
4429
  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
- },
4430
+ acs_system: { $ref: "#/components/schemas/acs_system" },
4352
4431
  ok: { type: "boolean" }
4353
4432
  },
4354
4433
  required: ["acs_system", "ok"]
@@ -4396,29 +4475,7 @@ var openapi_default = {
4396
4475
  properties: {
4397
4476
  acs_systems: {
4398
4477
  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
- }
4478
+ items: { $ref: "#/components/schemas/acs_system" }
4422
4479
  },
4423
4480
  ok: { type: "boolean" }
4424
4481
  },
@@ -4451,29 +4508,7 @@ var openapi_default = {
4451
4508
  properties: {
4452
4509
  acs_systems: {
4453
4510
  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
- }
4511
+ items: { $ref: "#/components/schemas/acs_system" }
4477
4512
  },
4478
4513
  ok: { type: "boolean" }
4479
4514
  },
@@ -4570,26 +4605,7 @@ var openapi_default = {
4570
4605
  schema: {
4571
4606
  type: "object",
4572
4607
  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
- },
4608
+ acs_user: { $ref: "#/components/schemas/acs_user" },
4593
4609
  ok: { type: "boolean" }
4594
4610
  },
4595
4611
  required: ["acs_user", "ok"]
@@ -4611,10 +4627,17 @@ var openapi_default = {
4611
4627
  schema: {
4612
4628
  type: "object",
4613
4629
  properties: {
4630
+ acs_system_id: { type: "string", format: "uuid" },
4631
+ acs_access_group_ids: {
4632
+ default: [],
4633
+ type: "array",
4634
+ items: { type: "string", format: "uuid" }
4635
+ },
4614
4636
  full_name: { type: "string" },
4615
4637
  email: { type: "string", format: "email" },
4616
4638
  phone_number: { type: "string", nullable: true }
4617
- }
4639
+ },
4640
+ required: ["acs_system_id"]
4618
4641
  }
4619
4642
  }
4620
4643
  }
@@ -4677,26 +4700,7 @@ var openapi_default = {
4677
4700
  schema: {
4678
4701
  type: "object",
4679
4702
  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
- },
4703
+ acs_user: { $ref: "#/components/schemas/acs_user" },
4700
4704
  ok: { type: "boolean" }
4701
4705
  },
4702
4706
  required: ["acs_user", "ok"]
@@ -4742,26 +4746,7 @@ var openapi_default = {
4742
4746
  properties: {
4743
4747
  acs_users: {
4744
4748
  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
- }
4749
+ items: { $ref: "#/components/schemas/acs_user" }
4765
4750
  },
4766
4751
  ok: { type: "boolean" }
4767
4752
  },
@@ -4889,10 +4874,12 @@ var openapi_default = {
4889
4874
  schema: {
4890
4875
  type: "object",
4891
4876
  properties: {
4877
+ acs_user_id: { type: "string", format: "uuid" },
4892
4878
  full_name: { type: "string" },
4893
4879
  email: { type: "string", format: "email" },
4894
4880
  phone_number: { type: "string", nullable: true }
4895
- }
4881
+ },
4882
+ required: ["acs_user_id"]
4896
4883
  }
4897
4884
  }
4898
4885
  }
@@ -4931,10 +4918,12 @@ var openapi_default = {
4931
4918
  schema: {
4932
4919
  type: "object",
4933
4920
  properties: {
4921
+ acs_user_id: { type: "string", format: "uuid" },
4934
4922
  full_name: { type: "string" },
4935
4923
  email: { type: "string", format: "email" },
4936
4924
  phone_number: { type: "string", nullable: true }
4937
- }
4925
+ },
4926
+ required: ["acs_user_id"]
4938
4927
  }
4939
4928
  }
4940
4929
  }
@@ -7428,6 +7417,64 @@ var openapi_default = {
7428
7417
  "is_sandbox",
7429
7418
  "connect_partner_name"
7430
7419
  ]
7420
+ },
7421
+ acs_system: {
7422
+ type: "object",
7423
+ properties: {
7424
+ acs_system_id: { type: "string", format: "uuid" },
7425
+ system_type: { type: "string", enum: ["pti_site", "alta_org"] },
7426
+ system_type_display_name: { type: "string" },
7427
+ name: { type: "string" },
7428
+ created_at: { type: "string", format: "date-time" }
7429
+ },
7430
+ required: [
7431
+ "acs_system_id",
7432
+ "system_type",
7433
+ "system_type_display_name",
7434
+ "name",
7435
+ "created_at"
7436
+ ]
7437
+ },
7438
+ acs_access_group: {
7439
+ type: "object",
7440
+ properties: {
7441
+ acs_access_group_id: { type: "string", format: "uuid" },
7442
+ acs_system_id: { type: "string", format: "uuid" },
7443
+ workspace_id: { type: "string", format: "uuid" },
7444
+ name: { type: "string" },
7445
+ access_group_type: { type: "string", enum: ["pti_unit"] },
7446
+ access_group_type_display_name: { type: "string" },
7447
+ created_at: { type: "string", format: "date-time" }
7448
+ },
7449
+ required: [
7450
+ "acs_access_group_id",
7451
+ "acs_system_id",
7452
+ "workspace_id",
7453
+ "name",
7454
+ "access_group_type",
7455
+ "access_group_type_display_name",
7456
+ "created_at"
7457
+ ]
7458
+ },
7459
+ acs_user: {
7460
+ type: "object",
7461
+ properties: {
7462
+ acs_user_id: { type: "string", format: "uuid" },
7463
+ acs_system_id: { type: "string", format: "uuid" },
7464
+ workspace_id: { type: "string", format: "uuid" },
7465
+ created_at: { type: "string", format: "date-time" },
7466
+ display_name: { type: "string" },
7467
+ full_name: { type: "string" },
7468
+ email: { type: "string", format: "email" },
7469
+ phone_number: { type: "string", nullable: true }
7470
+ },
7471
+ required: [
7472
+ "acs_user_id",
7473
+ "acs_system_id",
7474
+ "workspace_id",
7475
+ "created_at",
7476
+ "display_name"
7477
+ ]
7431
7478
  }
7432
7479
  }
7433
7480
  }