@seamapi/types 1.543.0 → 1.544.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/index.cjs CHANGED
@@ -49126,168 +49126,185 @@ var openapi_default = {
49126
49126
  ok: { type: "boolean" },
49127
49127
  pagination: { $ref: "#/components/schemas/pagination" },
49128
49128
  timeline: {
49129
- items: {
49130
- properties: {
49131
- context: {
49132
- oneOf: [
49133
- {
49134
- properties: {
49135
- context_type: {
49136
- enum: ["request"],
49137
- type: "string"
49138
- },
49139
- request_id: { type: "string" },
49140
- request_payload: {
49141
- additionalProperties: {
49142
- $ref: "#/components/schemas/access_code"
49129
+ properties: {
49130
+ groups: {
49131
+ items: {
49132
+ properties: {
49133
+ context: {
49134
+ oneOf: [
49135
+ {
49136
+ properties: {
49137
+ context_type: {
49138
+ enum: ["request"],
49139
+ type: "string"
49140
+ },
49141
+ request_id: { type: "string" },
49142
+ request_payload: {
49143
+ additionalProperties: {
49144
+ $ref: "#/components/schemas/access_code"
49145
+ },
49146
+ type: "object"
49147
+ },
49148
+ response_payload: {
49149
+ additionalProperties: {
49150
+ $ref: "#/components/schemas/access_code"
49151
+ },
49152
+ type: "object"
49153
+ }
49143
49154
  },
49155
+ required: [
49156
+ "context_type",
49157
+ "request_id",
49158
+ "request_payload",
49159
+ "response_payload"
49160
+ ],
49144
49161
  type: "object"
49145
49162
  },
49146
- response_payload: {
49147
- additionalProperties: {
49148
- $ref: "#/components/schemas/access_code"
49163
+ {
49164
+ properties: {
49165
+ context_type: {
49166
+ enum: ["job"],
49167
+ type: "string"
49168
+ },
49169
+ job_id: { type: "string" }
49149
49170
  },
49171
+ required: ["context_type", "job_id"],
49150
49172
  type: "object"
49151
49173
  }
49152
- },
49153
- required: [
49154
- "context_type",
49155
- "request_id",
49156
- "request_payload",
49157
- "response_payload"
49158
- ],
49159
- type: "object"
49174
+ ]
49160
49175
  },
49161
- {
49162
- properties: {
49163
- context_type: {
49164
- enum: ["job"],
49165
- type: "string"
49166
- },
49167
- job_id: { type: "string" }
49168
- },
49169
- required: ["context_type", "job_id"],
49170
- type: "object"
49171
- }
49172
- ]
49173
- },
49174
- created_at: { type: "string" },
49175
- entries: {
49176
- items: {
49177
- properties: {
49178
- body: {
49179
- oneOf: [
49180
- {
49181
- properties: {
49182
- description: { type: "string" },
49183
- entry_type: {
49184
- enum: ["resource_created"],
49185
- type: "string"
49186
- }
49187
- },
49188
- required: ["entry_type", "description"],
49189
- type: "object"
49190
- },
49191
- {
49192
- properties: {
49193
- description: { type: "string" },
49194
- entry_type: {
49195
- enum: ["resource_updated"],
49196
- type: "string"
49197
- },
49198
- errors: {
49199
- items: { type: "string" },
49200
- type: "array"
49201
- },
49202
- properties_updated: {
49203
- additionalProperties: {
49204
- $ref: "#/components/schemas/access_code"
49176
+ created_at: { type: "string" },
49177
+ entries: {
49178
+ items: {
49179
+ properties: {
49180
+ body: {
49181
+ oneOf: [
49182
+ {
49183
+ properties: {
49184
+ description: { type: "string" },
49185
+ entry_type: {
49186
+ enum: ["resource_created"],
49187
+ type: "string"
49188
+ }
49205
49189
  },
49190
+ required: [
49191
+ "entry_type",
49192
+ "description"
49193
+ ],
49206
49194
  type: "object"
49207
49195
  },
49208
- warnings: {
49209
- items: { type: "string" },
49210
- type: "array"
49211
- }
49212
- },
49213
- required: ["entry_type", "description"],
49214
- type: "object"
49215
- },
49216
- {
49217
- properties: {
49218
- description: { type: "string" },
49219
- entry_type: {
49220
- enum: ["resource_deleted"],
49221
- type: "string"
49222
- }
49223
- },
49224
- required: ["entry_type", "description"],
49225
- type: "object"
49226
- },
49227
- {
49228
- properties: {
49229
- entry_type: {
49230
- enum: ["event"],
49231
- type: "string"
49196
+ {
49197
+ properties: {
49198
+ description: { type: "string" },
49199
+ entry_type: {
49200
+ enum: ["resource_updated"],
49201
+ type: "string"
49202
+ },
49203
+ errors: {
49204
+ items: { type: "string" },
49205
+ type: "array"
49206
+ },
49207
+ properties_updated: {
49208
+ additionalProperties: {
49209
+ $ref: "#/components/schemas/access_code"
49210
+ },
49211
+ type: "object"
49212
+ },
49213
+ warnings: {
49214
+ items: { type: "string" },
49215
+ type: "array"
49216
+ }
49217
+ },
49218
+ required: [
49219
+ "entry_type",
49220
+ "description"
49221
+ ],
49222
+ type: "object"
49232
49223
  },
49233
- event_id: { type: "string" },
49234
- event_type: { type: "string" }
49235
- },
49236
- required: [
49237
- "entry_type",
49238
- "event_type",
49239
- "event_id"
49240
- ],
49241
- type: "object"
49242
- },
49243
- {
49244
- properties: {
49245
- description: { type: "string" },
49246
- entry_type: {
49247
- enum: ["provider_call"],
49248
- type: "string"
49224
+ {
49225
+ properties: {
49226
+ description: { type: "string" },
49227
+ entry_type: {
49228
+ enum: ["resource_deleted"],
49229
+ type: "string"
49230
+ }
49231
+ },
49232
+ required: [
49233
+ "entry_type",
49234
+ "description"
49235
+ ],
49236
+ type: "object"
49249
49237
  },
49250
- response_body: {
49251
- additionalProperties: {
49252
- $ref: "#/components/schemas/access_code"
49238
+ {
49239
+ properties: {
49240
+ entry_type: {
49241
+ enum: ["event"],
49242
+ type: "string"
49243
+ },
49244
+ event_id: { type: "string" },
49245
+ event_type: { type: "string" }
49253
49246
  },
49247
+ required: [
49248
+ "entry_type",
49249
+ "event_type",
49250
+ "event_id"
49251
+ ],
49254
49252
  type: "object"
49255
49253
  },
49256
- response_status_code: {
49257
- format: "float",
49258
- type: "number"
49254
+ {
49255
+ properties: {
49256
+ description: { type: "string" },
49257
+ entry_type: {
49258
+ enum: ["provider_call"],
49259
+ type: "string"
49260
+ },
49261
+ response_body: {
49262
+ additionalProperties: {
49263
+ $ref: "#/components/schemas/access_code"
49264
+ },
49265
+ type: "object"
49266
+ },
49267
+ response_status_code: {
49268
+ format: "float",
49269
+ type: "number"
49270
+ }
49271
+ },
49272
+ required: [
49273
+ "entry_type",
49274
+ "description",
49275
+ "response_status_code"
49276
+ ],
49277
+ type: "object"
49259
49278
  }
49260
- },
49261
- required: [
49262
- "entry_type",
49263
- "description",
49264
- "response_status_code"
49265
- ],
49266
- type: "object"
49267
- }
49268
- ]
49279
+ ]
49280
+ },
49281
+ created_at: { type: "string" },
49282
+ entry_type: { type: "string" },
49283
+ resource_id: { type: "string" },
49284
+ resource_type: { type: "string" }
49285
+ },
49286
+ required: [
49287
+ "resource_type",
49288
+ "resource_id",
49289
+ "entry_type",
49290
+ "body",
49291
+ "created_at"
49292
+ ],
49293
+ type: "object"
49269
49294
  },
49270
- created_at: { type: "string" },
49271
- entry_type: { type: "string" },
49272
- resource_id: { type: "string" },
49273
- resource_type: { type: "string" }
49274
- },
49275
- required: [
49276
- "resource_type",
49277
- "resource_id",
49278
- "entry_type",
49279
- "body",
49280
- "created_at"
49281
- ],
49282
- type: "object"
49295
+ type: "array"
49296
+ }
49283
49297
  },
49284
- type: "array"
49285
- }
49298
+ required: ["context", "entries", "created_at"],
49299
+ type: "object"
49300
+ },
49301
+ type: "array"
49286
49302
  },
49287
- required: ["context", "entries", "created_at"],
49288
- type: "object"
49303
+ resource_id: { type: "string" },
49304
+ resource_type: { type: "string" }
49289
49305
  },
49290
- type: "array"
49306
+ required: ["resource_type", "resource_id", "groups"],
49307
+ type: "object"
49291
49308
  }
49292
49309
  },
49293
49310
  required: ["timeline", "pagination", "ok"],
@@ -49360,168 +49377,185 @@ var openapi_default = {
49360
49377
  ok: { type: "boolean" },
49361
49378
  pagination: { $ref: "#/components/schemas/pagination" },
49362
49379
  timeline: {
49363
- items: {
49364
- properties: {
49365
- context: {
49366
- oneOf: [
49367
- {
49368
- properties: {
49369
- context_type: {
49370
- enum: ["request"],
49371
- type: "string"
49372
- },
49373
- request_id: { type: "string" },
49374
- request_payload: {
49375
- additionalProperties: {
49376
- $ref: "#/components/schemas/access_code"
49380
+ properties: {
49381
+ groups: {
49382
+ items: {
49383
+ properties: {
49384
+ context: {
49385
+ oneOf: [
49386
+ {
49387
+ properties: {
49388
+ context_type: {
49389
+ enum: ["request"],
49390
+ type: "string"
49391
+ },
49392
+ request_id: { type: "string" },
49393
+ request_payload: {
49394
+ additionalProperties: {
49395
+ $ref: "#/components/schemas/access_code"
49396
+ },
49397
+ type: "object"
49398
+ },
49399
+ response_payload: {
49400
+ additionalProperties: {
49401
+ $ref: "#/components/schemas/access_code"
49402
+ },
49403
+ type: "object"
49404
+ }
49377
49405
  },
49406
+ required: [
49407
+ "context_type",
49408
+ "request_id",
49409
+ "request_payload",
49410
+ "response_payload"
49411
+ ],
49378
49412
  type: "object"
49379
49413
  },
49380
- response_payload: {
49381
- additionalProperties: {
49382
- $ref: "#/components/schemas/access_code"
49414
+ {
49415
+ properties: {
49416
+ context_type: {
49417
+ enum: ["job"],
49418
+ type: "string"
49419
+ },
49420
+ job_id: { type: "string" }
49383
49421
  },
49422
+ required: ["context_type", "job_id"],
49384
49423
  type: "object"
49385
49424
  }
49386
- },
49387
- required: [
49388
- "context_type",
49389
- "request_id",
49390
- "request_payload",
49391
- "response_payload"
49392
- ],
49393
- type: "object"
49425
+ ]
49394
49426
  },
49395
- {
49396
- properties: {
49397
- context_type: {
49398
- enum: ["job"],
49399
- type: "string"
49400
- },
49401
- job_id: { type: "string" }
49402
- },
49403
- required: ["context_type", "job_id"],
49404
- type: "object"
49405
- }
49406
- ]
49407
- },
49408
- created_at: { type: "string" },
49409
- entries: {
49410
- items: {
49411
- properties: {
49412
- body: {
49413
- oneOf: [
49414
- {
49415
- properties: {
49416
- description: { type: "string" },
49417
- entry_type: {
49418
- enum: ["resource_created"],
49419
- type: "string"
49420
- }
49421
- },
49422
- required: ["entry_type", "description"],
49423
- type: "object"
49424
- },
49425
- {
49426
- properties: {
49427
- description: { type: "string" },
49428
- entry_type: {
49429
- enum: ["resource_updated"],
49430
- type: "string"
49431
- },
49432
- errors: {
49433
- items: { type: "string" },
49434
- type: "array"
49435
- },
49436
- properties_updated: {
49437
- additionalProperties: {
49438
- $ref: "#/components/schemas/access_code"
49427
+ created_at: { type: "string" },
49428
+ entries: {
49429
+ items: {
49430
+ properties: {
49431
+ body: {
49432
+ oneOf: [
49433
+ {
49434
+ properties: {
49435
+ description: { type: "string" },
49436
+ entry_type: {
49437
+ enum: ["resource_created"],
49438
+ type: "string"
49439
+ }
49439
49440
  },
49441
+ required: [
49442
+ "entry_type",
49443
+ "description"
49444
+ ],
49440
49445
  type: "object"
49441
49446
  },
49442
- warnings: {
49443
- items: { type: "string" },
49444
- type: "array"
49445
- }
49446
- },
49447
- required: ["entry_type", "description"],
49448
- type: "object"
49449
- },
49450
- {
49451
- properties: {
49452
- description: { type: "string" },
49453
- entry_type: {
49454
- enum: ["resource_deleted"],
49455
- type: "string"
49456
- }
49457
- },
49458
- required: ["entry_type", "description"],
49459
- type: "object"
49460
- },
49461
- {
49462
- properties: {
49463
- entry_type: {
49464
- enum: ["event"],
49465
- type: "string"
49447
+ {
49448
+ properties: {
49449
+ description: { type: "string" },
49450
+ entry_type: {
49451
+ enum: ["resource_updated"],
49452
+ type: "string"
49453
+ },
49454
+ errors: {
49455
+ items: { type: "string" },
49456
+ type: "array"
49457
+ },
49458
+ properties_updated: {
49459
+ additionalProperties: {
49460
+ $ref: "#/components/schemas/access_code"
49461
+ },
49462
+ type: "object"
49463
+ },
49464
+ warnings: {
49465
+ items: { type: "string" },
49466
+ type: "array"
49467
+ }
49468
+ },
49469
+ required: [
49470
+ "entry_type",
49471
+ "description"
49472
+ ],
49473
+ type: "object"
49466
49474
  },
49467
- event_id: { type: "string" },
49468
- event_type: { type: "string" }
49469
- },
49470
- required: [
49471
- "entry_type",
49472
- "event_type",
49473
- "event_id"
49474
- ],
49475
- type: "object"
49476
- },
49477
- {
49478
- properties: {
49479
- description: { type: "string" },
49480
- entry_type: {
49481
- enum: ["provider_call"],
49482
- type: "string"
49475
+ {
49476
+ properties: {
49477
+ description: { type: "string" },
49478
+ entry_type: {
49479
+ enum: ["resource_deleted"],
49480
+ type: "string"
49481
+ }
49482
+ },
49483
+ required: [
49484
+ "entry_type",
49485
+ "description"
49486
+ ],
49487
+ type: "object"
49483
49488
  },
49484
- response_body: {
49485
- additionalProperties: {
49486
- $ref: "#/components/schemas/access_code"
49489
+ {
49490
+ properties: {
49491
+ entry_type: {
49492
+ enum: ["event"],
49493
+ type: "string"
49494
+ },
49495
+ event_id: { type: "string" },
49496
+ event_type: { type: "string" }
49487
49497
  },
49498
+ required: [
49499
+ "entry_type",
49500
+ "event_type",
49501
+ "event_id"
49502
+ ],
49488
49503
  type: "object"
49489
49504
  },
49490
- response_status_code: {
49491
- format: "float",
49492
- type: "number"
49505
+ {
49506
+ properties: {
49507
+ description: { type: "string" },
49508
+ entry_type: {
49509
+ enum: ["provider_call"],
49510
+ type: "string"
49511
+ },
49512
+ response_body: {
49513
+ additionalProperties: {
49514
+ $ref: "#/components/schemas/access_code"
49515
+ },
49516
+ type: "object"
49517
+ },
49518
+ response_status_code: {
49519
+ format: "float",
49520
+ type: "number"
49521
+ }
49522
+ },
49523
+ required: [
49524
+ "entry_type",
49525
+ "description",
49526
+ "response_status_code"
49527
+ ],
49528
+ type: "object"
49493
49529
  }
49494
- },
49495
- required: [
49496
- "entry_type",
49497
- "description",
49498
- "response_status_code"
49499
- ],
49500
- type: "object"
49501
- }
49502
- ]
49530
+ ]
49531
+ },
49532
+ created_at: { type: "string" },
49533
+ entry_type: { type: "string" },
49534
+ resource_id: { type: "string" },
49535
+ resource_type: { type: "string" }
49536
+ },
49537
+ required: [
49538
+ "resource_type",
49539
+ "resource_id",
49540
+ "entry_type",
49541
+ "body",
49542
+ "created_at"
49543
+ ],
49544
+ type: "object"
49503
49545
  },
49504
- created_at: { type: "string" },
49505
- entry_type: { type: "string" },
49506
- resource_id: { type: "string" },
49507
- resource_type: { type: "string" }
49508
- },
49509
- required: [
49510
- "resource_type",
49511
- "resource_id",
49512
- "entry_type",
49513
- "body",
49514
- "created_at"
49515
- ],
49516
- type: "object"
49546
+ type: "array"
49547
+ }
49517
49548
  },
49518
- type: "array"
49519
- }
49549
+ required: ["context", "entries", "created_at"],
49550
+ type: "object"
49551
+ },
49552
+ type: "array"
49520
49553
  },
49521
- required: ["context", "entries", "created_at"],
49522
- type: "object"
49554
+ resource_id: { type: "string" },
49555
+ resource_type: { type: "string" }
49523
49556
  },
49524
- type: "array"
49557
+ required: ["resource_type", "resource_id", "groups"],
49558
+ type: "object"
49525
49559
  }
49526
49560
  },
49527
49561
  required: ["timeline", "pagination", "ok"],
@@ -49678,11 +49712,17 @@ var openapi_default = {
49678
49712
  },
49679
49713
  automation_run_id: { format: "uuid", type: "string" },
49680
49714
  created_at: { type: "string" },
49715
+ partner_key: { nullable: true, type: "string" },
49681
49716
  partner_resource_id: {
49682
49717
  format: "uuid",
49683
49718
  nullable: true,
49684
49719
  type: "string"
49685
49720
  },
49721
+ resource_type: { nullable: true, type: "string" },
49722
+ resource_type_alias: {
49723
+ nullable: true,
49724
+ type: "string"
49725
+ },
49686
49726
  workspace_id: { format: "uuid", type: "string" }
49687
49727
  },
49688
49728
  required: [
@@ -49690,6 +49730,9 @@ var openapi_default = {
49690
49730
  "workspace_id",
49691
49731
  "automation_id",
49692
49732
  "partner_resource_id",
49733
+ "partner_key",
49734
+ "resource_type",
49735
+ "resource_type_alias",
49693
49736
  "created_at"
49694
49737
  ],
49695
49738
  type: "object"
@@ -49831,11 +49874,17 @@ var openapi_default = {
49831
49874
  },
49832
49875
  automation_run_id: { format: "uuid", type: "string" },
49833
49876
  created_at: { type: "string" },
49877
+ partner_key: { nullable: true, type: "string" },
49834
49878
  partner_resource_id: {
49835
49879
  format: "uuid",
49836
49880
  nullable: true,
49837
49881
  type: "string"
49838
49882
  },
49883
+ resource_type: { nullable: true, type: "string" },
49884
+ resource_type_alias: {
49885
+ nullable: true,
49886
+ type: "string"
49887
+ },
49839
49888
  workspace_id: { format: "uuid", type: "string" }
49840
49889
  },
49841
49890
  required: [
@@ -49843,6 +49892,9 @@ var openapi_default = {
49843
49892
  "workspace_id",
49844
49893
  "automation_id",
49845
49894
  "partner_resource_id",
49895
+ "partner_key",
49896
+ "resource_type",
49897
+ "resource_type_alias",
49846
49898
  "created_at"
49847
49899
  ],
49848
49900
  type: "object"