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