@seamapi/types 1.428.0 → 1.429.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.
@@ -34777,6 +34777,766 @@ declare const _default: {
34777
34777
  'x-undocumented': string;
34778
34778
  };
34779
34779
  };
34780
+ '/seam/customer/v1/automation_runs/list': {
34781
+ get: {
34782
+ description: string;
34783
+ operationId: string;
34784
+ parameters: ({
34785
+ in: string;
34786
+ name: string;
34787
+ schema: {
34788
+ description: string;
34789
+ format: string;
34790
+ type: string;
34791
+ enum?: never;
34792
+ default?: never;
34793
+ exclusiveMinimum?: never;
34794
+ minimum?: never;
34795
+ nullable?: never;
34796
+ };
34797
+ } | {
34798
+ in: string;
34799
+ name: string;
34800
+ schema: {
34801
+ description: string;
34802
+ enum: string[];
34803
+ type: string;
34804
+ format?: never;
34805
+ default?: never;
34806
+ exclusiveMinimum?: never;
34807
+ minimum?: never;
34808
+ nullable?: never;
34809
+ };
34810
+ } | {
34811
+ in: string;
34812
+ name: string;
34813
+ schema: {
34814
+ description: string;
34815
+ type: string;
34816
+ format?: never;
34817
+ enum?: never;
34818
+ default?: never;
34819
+ exclusiveMinimum?: never;
34820
+ minimum?: never;
34821
+ nullable?: never;
34822
+ };
34823
+ } | {
34824
+ in: string;
34825
+ name: string;
34826
+ schema: {
34827
+ default: number;
34828
+ description: string;
34829
+ exclusiveMinimum: boolean;
34830
+ minimum: number;
34831
+ type: string;
34832
+ format?: never;
34833
+ enum?: never;
34834
+ nullable?: never;
34835
+ };
34836
+ } | {
34837
+ in: string;
34838
+ name: string;
34839
+ schema: {
34840
+ description: string;
34841
+ nullable: boolean;
34842
+ type: string;
34843
+ format?: never;
34844
+ enum?: never;
34845
+ default?: never;
34846
+ exclusiveMinimum?: never;
34847
+ minimum?: never;
34848
+ };
34849
+ })[];
34850
+ responses: {
34851
+ 200: {
34852
+ content: {
34853
+ 'application/json': {
34854
+ schema: {
34855
+ properties: {
34856
+ automation_runs: {
34857
+ items: {
34858
+ properties: {
34859
+ automation_id: {
34860
+ format: string;
34861
+ type: string;
34862
+ };
34863
+ automation_result: {
34864
+ properties: {
34865
+ actions: {
34866
+ items: {
34867
+ properties: {
34868
+ access_grant_id: {
34869
+ format: string;
34870
+ type: string;
34871
+ };
34872
+ action_type: {
34873
+ enum: string[];
34874
+ type: string;
34875
+ };
34876
+ resource_type: {
34877
+ type: string;
34878
+ };
34879
+ };
34880
+ required: string[];
34881
+ type: string;
34882
+ };
34883
+ type: string;
34884
+ };
34885
+ error: {
34886
+ type: string;
34887
+ };
34888
+ rule: {
34889
+ enum: string[];
34890
+ type: string;
34891
+ };
34892
+ success: {
34893
+ type: string;
34894
+ };
34895
+ };
34896
+ required: string[];
34897
+ type: string;
34898
+ };
34899
+ automation_run_id: {
34900
+ format: string;
34901
+ type: string;
34902
+ };
34903
+ created_at: {
34904
+ type: string;
34905
+ };
34906
+ partner_resource_id: {
34907
+ format: string;
34908
+ type: string;
34909
+ };
34910
+ workspace_id: {
34911
+ format: string;
34912
+ type: string;
34913
+ };
34914
+ };
34915
+ required: string[];
34916
+ type: string;
34917
+ };
34918
+ type: string;
34919
+ };
34920
+ ok: {
34921
+ type: string;
34922
+ };
34923
+ pagination: {
34924
+ $ref: string;
34925
+ };
34926
+ };
34927
+ required: string[];
34928
+ type: string;
34929
+ };
34930
+ };
34931
+ };
34932
+ description: string;
34933
+ };
34934
+ 400: {
34935
+ description: string;
34936
+ };
34937
+ 401: {
34938
+ description: string;
34939
+ };
34940
+ };
34941
+ security: ({
34942
+ console_session_with_workspace: never[];
34943
+ api_key?: never;
34944
+ client_session_with_customer?: never;
34945
+ } | {
34946
+ api_key: never[];
34947
+ console_session_with_workspace?: never;
34948
+ client_session_with_customer?: never;
34949
+ } | {
34950
+ client_session_with_customer: never[];
34951
+ console_session_with_workspace?: never;
34952
+ api_key?: never;
34953
+ })[];
34954
+ summary: string;
34955
+ tags: never[];
34956
+ 'x-fern-sdk-group-name': string[];
34957
+ 'x-fern-sdk-method-name': string;
34958
+ 'x-fern-sdk-return-value': string;
34959
+ 'x-response-key': string;
34960
+ 'x-title': string;
34961
+ 'x-undocumented': string;
34962
+ };
34963
+ post: {
34964
+ description: string;
34965
+ operationId: string;
34966
+ requestBody: {
34967
+ content: {
34968
+ 'application/json': {
34969
+ schema: {
34970
+ properties: {
34971
+ automation_id: {
34972
+ description: string;
34973
+ format: string;
34974
+ type: string;
34975
+ };
34976
+ created_before: {
34977
+ description: string;
34978
+ format: string;
34979
+ type: string;
34980
+ };
34981
+ limit: {
34982
+ default: number;
34983
+ description: string;
34984
+ exclusiveMinimum: boolean;
34985
+ minimum: number;
34986
+ type: string;
34987
+ };
34988
+ page_cursor: {
34989
+ description: string;
34990
+ nullable: boolean;
34991
+ type: string;
34992
+ };
34993
+ partner_resource_id: {
34994
+ description: string;
34995
+ format: string;
34996
+ type: string;
34997
+ };
34998
+ rule: {
34999
+ description: string;
35000
+ enum: string[];
35001
+ type: string;
35002
+ };
35003
+ success: {
35004
+ description: string;
35005
+ type: string;
35006
+ };
35007
+ };
35008
+ type: string;
35009
+ };
35010
+ };
35011
+ };
35012
+ };
35013
+ responses: {
35014
+ 200: {
35015
+ content: {
35016
+ 'application/json': {
35017
+ schema: {
35018
+ properties: {
35019
+ automation_runs: {
35020
+ items: {
35021
+ properties: {
35022
+ automation_id: {
35023
+ format: string;
35024
+ type: string;
35025
+ };
35026
+ automation_result: {
35027
+ properties: {
35028
+ actions: {
35029
+ items: {
35030
+ properties: {
35031
+ access_grant_id: {
35032
+ format: string;
35033
+ type: string;
35034
+ };
35035
+ action_type: {
35036
+ enum: string[];
35037
+ type: string;
35038
+ };
35039
+ resource_type: {
35040
+ type: string;
35041
+ };
35042
+ };
35043
+ required: string[];
35044
+ type: string;
35045
+ };
35046
+ type: string;
35047
+ };
35048
+ error: {
35049
+ type: string;
35050
+ };
35051
+ rule: {
35052
+ enum: string[];
35053
+ type: string;
35054
+ };
35055
+ success: {
35056
+ type: string;
35057
+ };
35058
+ };
35059
+ required: string[];
35060
+ type: string;
35061
+ };
35062
+ automation_run_id: {
35063
+ format: string;
35064
+ type: string;
35065
+ };
35066
+ created_at: {
35067
+ type: string;
35068
+ };
35069
+ partner_resource_id: {
35070
+ format: string;
35071
+ type: string;
35072
+ };
35073
+ workspace_id: {
35074
+ format: string;
35075
+ type: string;
35076
+ };
35077
+ };
35078
+ required: string[];
35079
+ type: string;
35080
+ };
35081
+ type: string;
35082
+ };
35083
+ ok: {
35084
+ type: string;
35085
+ };
35086
+ pagination: {
35087
+ $ref: string;
35088
+ };
35089
+ };
35090
+ required: string[];
35091
+ type: string;
35092
+ };
35093
+ };
35094
+ };
35095
+ description: string;
35096
+ };
35097
+ 400: {
35098
+ description: string;
35099
+ };
35100
+ 401: {
35101
+ description: string;
35102
+ };
35103
+ };
35104
+ security: ({
35105
+ console_session_with_workspace: never[];
35106
+ api_key?: never;
35107
+ client_session_with_customer?: never;
35108
+ } | {
35109
+ api_key: never[];
35110
+ console_session_with_workspace?: never;
35111
+ client_session_with_customer?: never;
35112
+ } | {
35113
+ client_session_with_customer: never[];
35114
+ console_session_with_workspace?: never;
35115
+ api_key?: never;
35116
+ })[];
35117
+ summary: string;
35118
+ tags: never[];
35119
+ 'x-fern-sdk-group-name': string[];
35120
+ 'x-fern-sdk-method-name': string;
35121
+ 'x-fern-sdk-return-value': string;
35122
+ 'x-response-key': string;
35123
+ 'x-title': string;
35124
+ 'x-undocumented': string;
35125
+ };
35126
+ };
35127
+ '/seam/customer/v1/automations/delete': {
35128
+ delete: {
35129
+ description: string;
35130
+ operationId: string;
35131
+ requestBody: {
35132
+ content: {
35133
+ 'application/json': {
35134
+ schema: {
35135
+ properties: {};
35136
+ type: string;
35137
+ };
35138
+ };
35139
+ };
35140
+ };
35141
+ responses: {
35142
+ 200: {
35143
+ content: {
35144
+ 'application/json': {
35145
+ schema: {
35146
+ properties: {
35147
+ ok: {
35148
+ type: string;
35149
+ };
35150
+ };
35151
+ required: string[];
35152
+ type: string;
35153
+ };
35154
+ };
35155
+ };
35156
+ description: string;
35157
+ };
35158
+ 400: {
35159
+ description: string;
35160
+ };
35161
+ 401: {
35162
+ description: string;
35163
+ };
35164
+ };
35165
+ security: ({
35166
+ console_session_with_workspace: never[];
35167
+ api_key?: never;
35168
+ client_session_with_customer?: never;
35169
+ } | {
35170
+ api_key: never[];
35171
+ console_session_with_workspace?: never;
35172
+ client_session_with_customer?: never;
35173
+ } | {
35174
+ client_session_with_customer: never[];
35175
+ console_session_with_workspace?: never;
35176
+ api_key?: never;
35177
+ })[];
35178
+ summary: string;
35179
+ tags: never[];
35180
+ 'x-fern-sdk-group-name': string[];
35181
+ 'x-fern-sdk-method-name': string;
35182
+ 'x-response-key': null;
35183
+ 'x-title': string;
35184
+ 'x-undocumented': string;
35185
+ };
35186
+ };
35187
+ '/seam/customer/v1/automations/get': {
35188
+ get: {
35189
+ description: string;
35190
+ operationId: string;
35191
+ responses: {
35192
+ 200: {
35193
+ content: {
35194
+ 'application/json': {
35195
+ schema: {
35196
+ properties: {
35197
+ access_rules: {
35198
+ properties: {
35199
+ reservation_created: {
35200
+ properties: {
35201
+ config: {
35202
+ properties: {
35203
+ access_methods: {
35204
+ items: {
35205
+ enum: string[];
35206
+ type: string;
35207
+ };
35208
+ minItems: number;
35209
+ type: string;
35210
+ };
35211
+ method_issuance_strategy: {
35212
+ enum: string[];
35213
+ type: string;
35214
+ };
35215
+ };
35216
+ required: string[];
35217
+ type: string;
35218
+ };
35219
+ rule: {
35220
+ enum: string[];
35221
+ type: string;
35222
+ };
35223
+ };
35224
+ required: string[];
35225
+ type: string;
35226
+ };
35227
+ reservation_deleted: {
35228
+ properties: {
35229
+ config: {
35230
+ $ref: string;
35231
+ };
35232
+ rule: {
35233
+ enum: string[];
35234
+ type: string;
35235
+ };
35236
+ };
35237
+ required: string[];
35238
+ type: string;
35239
+ };
35240
+ reservation_time_updated: {
35241
+ properties: {
35242
+ config: {
35243
+ $ref: string;
35244
+ };
35245
+ rule: {
35246
+ enum: string[];
35247
+ type: string;
35248
+ };
35249
+ };
35250
+ required: string[];
35251
+ type: string;
35252
+ };
35253
+ };
35254
+ type: string;
35255
+ };
35256
+ ok: {
35257
+ type: string;
35258
+ };
35259
+ };
35260
+ required: string[];
35261
+ type: string;
35262
+ };
35263
+ };
35264
+ };
35265
+ description: string;
35266
+ };
35267
+ 400: {
35268
+ description: string;
35269
+ };
35270
+ 401: {
35271
+ description: string;
35272
+ };
35273
+ };
35274
+ security: ({
35275
+ console_session_with_workspace: never[];
35276
+ api_key?: never;
35277
+ client_session_with_customer?: never;
35278
+ } | {
35279
+ api_key: never[];
35280
+ console_session_with_workspace?: never;
35281
+ client_session_with_customer?: never;
35282
+ } | {
35283
+ client_session_with_customer: never[];
35284
+ console_session_with_workspace?: never;
35285
+ api_key?: never;
35286
+ })[];
35287
+ summary: string;
35288
+ tags: never[];
35289
+ 'x-fern-sdk-group-name': string[];
35290
+ 'x-fern-sdk-method-name': string;
35291
+ 'x-response-key': null;
35292
+ 'x-title': string;
35293
+ 'x-undocumented': string;
35294
+ };
35295
+ };
35296
+ '/seam/customer/v1/automations/update': {
35297
+ patch: {
35298
+ description: string;
35299
+ operationId: string;
35300
+ requestBody: {
35301
+ content: {
35302
+ 'application/json': {
35303
+ schema: {
35304
+ properties: {
35305
+ access_rules: {
35306
+ description: string;
35307
+ properties: {
35308
+ reservation_created: {
35309
+ properties: {
35310
+ config: {
35311
+ properties: {
35312
+ access_methods: {
35313
+ items: {
35314
+ enum: string[];
35315
+ type: string;
35316
+ };
35317
+ minItems: number;
35318
+ type: string;
35319
+ };
35320
+ method_issuance_strategy: {
35321
+ enum: string[];
35322
+ type: string;
35323
+ };
35324
+ };
35325
+ required: string[];
35326
+ type: string;
35327
+ };
35328
+ rule: {
35329
+ enum: string[];
35330
+ type: string;
35331
+ };
35332
+ };
35333
+ required: string[];
35334
+ type: string;
35335
+ };
35336
+ reservation_deleted: {
35337
+ properties: {
35338
+ config: {
35339
+ properties: {};
35340
+ type: string;
35341
+ };
35342
+ rule: {
35343
+ enum: string[];
35344
+ type: string;
35345
+ };
35346
+ };
35347
+ required: string[];
35348
+ type: string;
35349
+ };
35350
+ reservation_time_updated: {
35351
+ properties: {
35352
+ config: {
35353
+ properties: {};
35354
+ type: string;
35355
+ };
35356
+ rule: {
35357
+ enum: string[];
35358
+ type: string;
35359
+ };
35360
+ };
35361
+ required: string[];
35362
+ type: string;
35363
+ };
35364
+ };
35365
+ type: string;
35366
+ };
35367
+ };
35368
+ type: string;
35369
+ };
35370
+ };
35371
+ };
35372
+ };
35373
+ responses: {
35374
+ 200: {
35375
+ content: {
35376
+ 'application/json': {
35377
+ schema: {
35378
+ properties: {
35379
+ ok: {
35380
+ type: string;
35381
+ };
35382
+ };
35383
+ required: string[];
35384
+ type: string;
35385
+ };
35386
+ };
35387
+ };
35388
+ description: string;
35389
+ };
35390
+ 400: {
35391
+ description: string;
35392
+ };
35393
+ 401: {
35394
+ description: string;
35395
+ };
35396
+ };
35397
+ security: ({
35398
+ console_session_with_workspace: never[];
35399
+ api_key?: never;
35400
+ client_session_with_customer?: never;
35401
+ } | {
35402
+ api_key: never[];
35403
+ console_session_with_workspace?: never;
35404
+ client_session_with_customer?: never;
35405
+ } | {
35406
+ client_session_with_customer: never[];
35407
+ console_session_with_workspace?: never;
35408
+ api_key?: never;
35409
+ })[];
35410
+ summary: string;
35411
+ tags: never[];
35412
+ 'x-fern-sdk-group-name': string[];
35413
+ 'x-fern-sdk-method-name': string;
35414
+ 'x-response-key': null;
35415
+ 'x-title': string;
35416
+ 'x-undocumented': string;
35417
+ };
35418
+ post: {
35419
+ description: string;
35420
+ operationId: string;
35421
+ requestBody: {
35422
+ content: {
35423
+ 'application/json': {
35424
+ schema: {
35425
+ properties: {
35426
+ access_rules: {
35427
+ description: string;
35428
+ properties: {
35429
+ reservation_created: {
35430
+ properties: {
35431
+ config: {
35432
+ properties: {
35433
+ access_methods: {
35434
+ items: {
35435
+ enum: string[];
35436
+ type: string;
35437
+ };
35438
+ minItems: number;
35439
+ type: string;
35440
+ };
35441
+ method_issuance_strategy: {
35442
+ enum: string[];
35443
+ type: string;
35444
+ };
35445
+ };
35446
+ required: string[];
35447
+ type: string;
35448
+ };
35449
+ rule: {
35450
+ enum: string[];
35451
+ type: string;
35452
+ };
35453
+ };
35454
+ required: string[];
35455
+ type: string;
35456
+ };
35457
+ reservation_deleted: {
35458
+ properties: {
35459
+ config: {
35460
+ properties: {};
35461
+ type: string;
35462
+ };
35463
+ rule: {
35464
+ enum: string[];
35465
+ type: string;
35466
+ };
35467
+ };
35468
+ required: string[];
35469
+ type: string;
35470
+ };
35471
+ reservation_time_updated: {
35472
+ properties: {
35473
+ config: {
35474
+ properties: {};
35475
+ type: string;
35476
+ };
35477
+ rule: {
35478
+ enum: string[];
35479
+ type: string;
35480
+ };
35481
+ };
35482
+ required: string[];
35483
+ type: string;
35484
+ };
35485
+ };
35486
+ type: string;
35487
+ };
35488
+ };
35489
+ type: string;
35490
+ };
35491
+ };
35492
+ };
35493
+ };
35494
+ responses: {
35495
+ 200: {
35496
+ content: {
35497
+ 'application/json': {
35498
+ schema: {
35499
+ properties: {
35500
+ ok: {
35501
+ type: string;
35502
+ };
35503
+ };
35504
+ required: string[];
35505
+ type: string;
35506
+ };
35507
+ };
35508
+ };
35509
+ description: string;
35510
+ };
35511
+ 400: {
35512
+ description: string;
35513
+ };
35514
+ 401: {
35515
+ description: string;
35516
+ };
35517
+ };
35518
+ security: ({
35519
+ console_session_with_workspace: never[];
35520
+ api_key?: never;
35521
+ client_session_with_customer?: never;
35522
+ } | {
35523
+ api_key: never[];
35524
+ console_session_with_workspace?: never;
35525
+ client_session_with_customer?: never;
35526
+ } | {
35527
+ client_session_with_customer: never[];
35528
+ console_session_with_workspace?: never;
35529
+ api_key?: never;
35530
+ })[];
35531
+ summary: string;
35532
+ tags: never[];
35533
+ 'x-fern-sdk-group-name': string[];
35534
+ 'x-fern-sdk-method-name': string;
35535
+ 'x-response-key': null;
35536
+ 'x-title': string;
35537
+ 'x-undocumented': string;
35538
+ };
35539
+ };
34780
35540
  '/seam/customer/v1/portals/get': {
34781
35541
  get: {
34782
35542
  description: string;