@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.
@@ -8585,10 +8585,9 @@ export default {
8585
8585
  format: 'date-time',
8586
8586
  type: 'string',
8587
8587
  },
8588
- customer_id: {
8588
+ customer_key: {
8589
8589
  description:
8590
- 'Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens).',
8591
- format: 'uuid',
8590
+ 'Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens).',
8592
8591
  type: 'string',
8593
8592
  },
8594
8593
  device_count: {
@@ -47441,168 +47440,185 @@ export default {
47441
47440
  ok: { type: 'boolean' },
47442
47441
  pagination: { $ref: '#/components/schemas/pagination' },
47443
47442
  timeline: {
47444
- items: {
47445
- properties: {
47446
- context: {
47447
- oneOf: [
47448
- {
47449
- properties: {
47450
- context_type: {
47451
- enum: ['request'],
47452
- type: 'string',
47453
- },
47454
- request_id: { type: 'string' },
47455
- request_payload: {
47456
- additionalProperties: {
47457
- $ref: '#/components/schemas/access_code',
47443
+ properties: {
47444
+ groups: {
47445
+ items: {
47446
+ properties: {
47447
+ context: {
47448
+ oneOf: [
47449
+ {
47450
+ properties: {
47451
+ context_type: {
47452
+ enum: ['request'],
47453
+ type: 'string',
47454
+ },
47455
+ request_id: { type: 'string' },
47456
+ request_payload: {
47457
+ additionalProperties: {
47458
+ $ref: '#/components/schemas/access_code',
47459
+ },
47460
+ type: 'object',
47461
+ },
47462
+ response_payload: {
47463
+ additionalProperties: {
47464
+ $ref: '#/components/schemas/access_code',
47465
+ },
47466
+ type: 'object',
47467
+ },
47458
47468
  },
47469
+ required: [
47470
+ 'context_type',
47471
+ 'request_id',
47472
+ 'request_payload',
47473
+ 'response_payload',
47474
+ ],
47459
47475
  type: 'object',
47460
47476
  },
47461
- response_payload: {
47462
- additionalProperties: {
47463
- $ref: '#/components/schemas/access_code',
47477
+ {
47478
+ properties: {
47479
+ context_type: {
47480
+ enum: ['job'],
47481
+ type: 'string',
47482
+ },
47483
+ job_id: { type: 'string' },
47464
47484
  },
47485
+ required: ['context_type', 'job_id'],
47465
47486
  type: 'object',
47466
47487
  },
47467
- },
47468
- required: [
47469
- 'context_type',
47470
- 'request_id',
47471
- 'request_payload',
47472
- 'response_payload',
47473
47488
  ],
47474
- type: 'object',
47475
- },
47476
- {
47477
- properties: {
47478
- context_type: {
47479
- enum: ['job'],
47480
- type: 'string',
47481
- },
47482
- job_id: { type: 'string' },
47483
- },
47484
- required: ['context_type', 'job_id'],
47485
- type: 'object',
47486
47489
  },
47487
- ],
47488
- },
47489
- created_at: { type: 'string' },
47490
- entries: {
47491
- items: {
47492
- properties: {
47493
- body: {
47494
- oneOf: [
47495
- {
47496
- properties: {
47497
- description: { type: 'string' },
47498
- entry_type: {
47499
- enum: ['resource_created'],
47500
- type: 'string',
47501
- },
47502
- },
47503
- required: ['entry_type', 'description'],
47504
- type: 'object',
47505
- },
47506
- {
47507
- properties: {
47508
- description: { type: 'string' },
47509
- entry_type: {
47510
- enum: ['resource_updated'],
47511
- type: 'string',
47512
- },
47513
- errors: {
47514
- items: { type: 'string' },
47515
- type: 'array',
47516
- },
47517
- properties_updated: {
47518
- additionalProperties: {
47519
- $ref: '#/components/schemas/access_code',
47490
+ created_at: { type: 'string' },
47491
+ entries: {
47492
+ items: {
47493
+ properties: {
47494
+ body: {
47495
+ oneOf: [
47496
+ {
47497
+ properties: {
47498
+ description: { type: 'string' },
47499
+ entry_type: {
47500
+ enum: ['resource_created'],
47501
+ type: 'string',
47502
+ },
47520
47503
  },
47504
+ required: [
47505
+ 'entry_type',
47506
+ 'description',
47507
+ ],
47521
47508
  type: 'object',
47522
47509
  },
47523
- warnings: {
47524
- items: { type: 'string' },
47525
- type: 'array',
47526
- },
47527
- },
47528
- required: ['entry_type', 'description'],
47529
- type: 'object',
47530
- },
47531
- {
47532
- properties: {
47533
- description: { type: 'string' },
47534
- entry_type: {
47535
- enum: ['resource_deleted'],
47536
- type: 'string',
47537
- },
47538
- },
47539
- required: ['entry_type', 'description'],
47540
- type: 'object',
47541
- },
47542
- {
47543
- properties: {
47544
- entry_type: {
47545
- enum: ['event'],
47546
- type: 'string',
47510
+ {
47511
+ properties: {
47512
+ description: { type: 'string' },
47513
+ entry_type: {
47514
+ enum: ['resource_updated'],
47515
+ type: 'string',
47516
+ },
47517
+ errors: {
47518
+ items: { type: 'string' },
47519
+ type: 'array',
47520
+ },
47521
+ properties_updated: {
47522
+ additionalProperties: {
47523
+ $ref: '#/components/schemas/access_code',
47524
+ },
47525
+ type: 'object',
47526
+ },
47527
+ warnings: {
47528
+ items: { type: 'string' },
47529
+ type: 'array',
47530
+ },
47531
+ },
47532
+ required: [
47533
+ 'entry_type',
47534
+ 'description',
47535
+ ],
47536
+ type: 'object',
47547
47537
  },
47548
- event_id: { type: 'string' },
47549
- event_type: { type: 'string' },
47550
- },
47551
- required: [
47552
- 'entry_type',
47553
- 'event_type',
47554
- 'event_id',
47555
- ],
47556
- type: 'object',
47557
- },
47558
- {
47559
- properties: {
47560
- description: { type: 'string' },
47561
- entry_type: {
47562
- enum: ['provider_call'],
47563
- type: 'string',
47538
+ {
47539
+ properties: {
47540
+ description: { type: 'string' },
47541
+ entry_type: {
47542
+ enum: ['resource_deleted'],
47543
+ type: 'string',
47544
+ },
47545
+ },
47546
+ required: [
47547
+ 'entry_type',
47548
+ 'description',
47549
+ ],
47550
+ type: 'object',
47564
47551
  },
47565
- response_body: {
47566
- additionalProperties: {
47567
- $ref: '#/components/schemas/access_code',
47552
+ {
47553
+ properties: {
47554
+ entry_type: {
47555
+ enum: ['event'],
47556
+ type: 'string',
47557
+ },
47558
+ event_id: { type: 'string' },
47559
+ event_type: { type: 'string' },
47568
47560
  },
47561
+ required: [
47562
+ 'entry_type',
47563
+ 'event_type',
47564
+ 'event_id',
47565
+ ],
47569
47566
  type: 'object',
47570
47567
  },
47571
- response_status_code: {
47572
- format: 'float',
47573
- type: 'number',
47568
+ {
47569
+ properties: {
47570
+ description: { type: 'string' },
47571
+ entry_type: {
47572
+ enum: ['provider_call'],
47573
+ type: 'string',
47574
+ },
47575
+ response_body: {
47576
+ additionalProperties: {
47577
+ $ref: '#/components/schemas/access_code',
47578
+ },
47579
+ type: 'object',
47580
+ },
47581
+ response_status_code: {
47582
+ format: 'float',
47583
+ type: 'number',
47584
+ },
47585
+ },
47586
+ required: [
47587
+ 'entry_type',
47588
+ 'description',
47589
+ 'response_status_code',
47590
+ ],
47591
+ type: 'object',
47574
47592
  },
47575
- },
47576
- required: [
47577
- 'entry_type',
47578
- 'description',
47579
- 'response_status_code',
47580
47593
  ],
47581
- type: 'object',
47582
47594
  },
47595
+ created_at: { type: 'string' },
47596
+ entry_type: { type: 'string' },
47597
+ resource_id: { type: 'string' },
47598
+ resource_type: { type: 'string' },
47599
+ },
47600
+ required: [
47601
+ 'resource_type',
47602
+ 'resource_id',
47603
+ 'entry_type',
47604
+ 'body',
47605
+ 'created_at',
47583
47606
  ],
47607
+ type: 'object',
47584
47608
  },
47585
- created_at: { type: 'string' },
47586
- entry_type: { type: 'string' },
47587
- resource_id: { type: 'string' },
47588
- resource_type: { type: 'string' },
47609
+ type: 'array',
47589
47610
  },
47590
- required: [
47591
- 'resource_type',
47592
- 'resource_id',
47593
- 'entry_type',
47594
- 'body',
47595
- 'created_at',
47596
- ],
47597
- type: 'object',
47598
47611
  },
47599
- type: 'array',
47612
+ required: ['context', 'entries', 'created_at'],
47613
+ type: 'object',
47600
47614
  },
47615
+ type: 'array',
47601
47616
  },
47602
- required: ['context', 'entries', 'created_at'],
47603
- type: 'object',
47617
+ resource_id: { type: 'string' },
47618
+ resource_type: { type: 'string' },
47604
47619
  },
47605
- type: 'array',
47620
+ required: ['resource_type', 'resource_id', 'groups'],
47621
+ type: 'object',
47606
47622
  },
47607
47623
  },
47608
47624
  required: ['timeline', 'pagination', 'ok'],
@@ -47679,168 +47695,185 @@ export default {
47679
47695
  ok: { type: 'boolean' },
47680
47696
  pagination: { $ref: '#/components/schemas/pagination' },
47681
47697
  timeline: {
47682
- items: {
47683
- properties: {
47684
- context: {
47685
- oneOf: [
47686
- {
47687
- properties: {
47688
- context_type: {
47689
- enum: ['request'],
47690
- type: 'string',
47691
- },
47692
- request_id: { type: 'string' },
47693
- request_payload: {
47694
- additionalProperties: {
47695
- $ref: '#/components/schemas/access_code',
47698
+ properties: {
47699
+ groups: {
47700
+ items: {
47701
+ properties: {
47702
+ context: {
47703
+ oneOf: [
47704
+ {
47705
+ properties: {
47706
+ context_type: {
47707
+ enum: ['request'],
47708
+ type: 'string',
47709
+ },
47710
+ request_id: { type: 'string' },
47711
+ request_payload: {
47712
+ additionalProperties: {
47713
+ $ref: '#/components/schemas/access_code',
47714
+ },
47715
+ type: 'object',
47716
+ },
47717
+ response_payload: {
47718
+ additionalProperties: {
47719
+ $ref: '#/components/schemas/access_code',
47720
+ },
47721
+ type: 'object',
47722
+ },
47696
47723
  },
47724
+ required: [
47725
+ 'context_type',
47726
+ 'request_id',
47727
+ 'request_payload',
47728
+ 'response_payload',
47729
+ ],
47697
47730
  type: 'object',
47698
47731
  },
47699
- response_payload: {
47700
- additionalProperties: {
47701
- $ref: '#/components/schemas/access_code',
47732
+ {
47733
+ properties: {
47734
+ context_type: {
47735
+ enum: ['job'],
47736
+ type: 'string',
47737
+ },
47738
+ job_id: { type: 'string' },
47702
47739
  },
47740
+ required: ['context_type', 'job_id'],
47703
47741
  type: 'object',
47704
47742
  },
47705
- },
47706
- required: [
47707
- 'context_type',
47708
- 'request_id',
47709
- 'request_payload',
47710
- 'response_payload',
47711
47743
  ],
47712
- type: 'object',
47713
- },
47714
- {
47715
- properties: {
47716
- context_type: {
47717
- enum: ['job'],
47718
- type: 'string',
47719
- },
47720
- job_id: { type: 'string' },
47721
- },
47722
- required: ['context_type', 'job_id'],
47723
- type: 'object',
47724
47744
  },
47725
- ],
47726
- },
47727
- created_at: { type: 'string' },
47728
- entries: {
47729
- items: {
47730
- properties: {
47731
- body: {
47732
- oneOf: [
47733
- {
47734
- properties: {
47735
- description: { type: 'string' },
47736
- entry_type: {
47737
- enum: ['resource_created'],
47738
- type: 'string',
47739
- },
47740
- },
47741
- required: ['entry_type', 'description'],
47742
- type: 'object',
47743
- },
47744
- {
47745
- properties: {
47746
- description: { type: 'string' },
47747
- entry_type: {
47748
- enum: ['resource_updated'],
47749
- type: 'string',
47750
- },
47751
- errors: {
47752
- items: { type: 'string' },
47753
- type: 'array',
47754
- },
47755
- properties_updated: {
47756
- additionalProperties: {
47757
- $ref: '#/components/schemas/access_code',
47745
+ created_at: { type: 'string' },
47746
+ entries: {
47747
+ items: {
47748
+ properties: {
47749
+ body: {
47750
+ oneOf: [
47751
+ {
47752
+ properties: {
47753
+ description: { type: 'string' },
47754
+ entry_type: {
47755
+ enum: ['resource_created'],
47756
+ type: 'string',
47757
+ },
47758
47758
  },
47759
+ required: [
47760
+ 'entry_type',
47761
+ 'description',
47762
+ ],
47759
47763
  type: 'object',
47760
47764
  },
47761
- warnings: {
47762
- items: { type: 'string' },
47763
- type: 'array',
47764
- },
47765
- },
47766
- required: ['entry_type', 'description'],
47767
- type: 'object',
47768
- },
47769
- {
47770
- properties: {
47771
- description: { type: 'string' },
47772
- entry_type: {
47773
- enum: ['resource_deleted'],
47774
- type: 'string',
47775
- },
47776
- },
47777
- required: ['entry_type', 'description'],
47778
- type: 'object',
47779
- },
47780
- {
47781
- properties: {
47782
- entry_type: {
47783
- enum: ['event'],
47784
- type: 'string',
47765
+ {
47766
+ properties: {
47767
+ description: { type: 'string' },
47768
+ entry_type: {
47769
+ enum: ['resource_updated'],
47770
+ type: 'string',
47771
+ },
47772
+ errors: {
47773
+ items: { type: 'string' },
47774
+ type: 'array',
47775
+ },
47776
+ properties_updated: {
47777
+ additionalProperties: {
47778
+ $ref: '#/components/schemas/access_code',
47779
+ },
47780
+ type: 'object',
47781
+ },
47782
+ warnings: {
47783
+ items: { type: 'string' },
47784
+ type: 'array',
47785
+ },
47786
+ },
47787
+ required: [
47788
+ 'entry_type',
47789
+ 'description',
47790
+ ],
47791
+ type: 'object',
47785
47792
  },
47786
- event_id: { type: 'string' },
47787
- event_type: { type: 'string' },
47788
- },
47789
- required: [
47790
- 'entry_type',
47791
- 'event_type',
47792
- 'event_id',
47793
- ],
47794
- type: 'object',
47795
- },
47796
- {
47797
- properties: {
47798
- description: { type: 'string' },
47799
- entry_type: {
47800
- enum: ['provider_call'],
47801
- type: 'string',
47793
+ {
47794
+ properties: {
47795
+ description: { type: 'string' },
47796
+ entry_type: {
47797
+ enum: ['resource_deleted'],
47798
+ type: 'string',
47799
+ },
47800
+ },
47801
+ required: [
47802
+ 'entry_type',
47803
+ 'description',
47804
+ ],
47805
+ type: 'object',
47802
47806
  },
47803
- response_body: {
47804
- additionalProperties: {
47805
- $ref: '#/components/schemas/access_code',
47807
+ {
47808
+ properties: {
47809
+ entry_type: {
47810
+ enum: ['event'],
47811
+ type: 'string',
47812
+ },
47813
+ event_id: { type: 'string' },
47814
+ event_type: { type: 'string' },
47806
47815
  },
47816
+ required: [
47817
+ 'entry_type',
47818
+ 'event_type',
47819
+ 'event_id',
47820
+ ],
47807
47821
  type: 'object',
47808
47822
  },
47809
- response_status_code: {
47810
- format: 'float',
47811
- type: 'number',
47823
+ {
47824
+ properties: {
47825
+ description: { type: 'string' },
47826
+ entry_type: {
47827
+ enum: ['provider_call'],
47828
+ type: 'string',
47829
+ },
47830
+ response_body: {
47831
+ additionalProperties: {
47832
+ $ref: '#/components/schemas/access_code',
47833
+ },
47834
+ type: 'object',
47835
+ },
47836
+ response_status_code: {
47837
+ format: 'float',
47838
+ type: 'number',
47839
+ },
47840
+ },
47841
+ required: [
47842
+ 'entry_type',
47843
+ 'description',
47844
+ 'response_status_code',
47845
+ ],
47846
+ type: 'object',
47812
47847
  },
47813
- },
47814
- required: [
47815
- 'entry_type',
47816
- 'description',
47817
- 'response_status_code',
47818
47848
  ],
47819
- type: 'object',
47820
47849
  },
47850
+ created_at: { type: 'string' },
47851
+ entry_type: { type: 'string' },
47852
+ resource_id: { type: 'string' },
47853
+ resource_type: { type: 'string' },
47854
+ },
47855
+ required: [
47856
+ 'resource_type',
47857
+ 'resource_id',
47858
+ 'entry_type',
47859
+ 'body',
47860
+ 'created_at',
47821
47861
  ],
47862
+ type: 'object',
47822
47863
  },
47823
- created_at: { type: 'string' },
47824
- entry_type: { type: 'string' },
47825
- resource_id: { type: 'string' },
47826
- resource_type: { type: 'string' },
47864
+ type: 'array',
47827
47865
  },
47828
- required: [
47829
- 'resource_type',
47830
- 'resource_id',
47831
- 'entry_type',
47832
- 'body',
47833
- 'created_at',
47834
- ],
47835
- type: 'object',
47836
47866
  },
47837
- type: 'array',
47867
+ required: ['context', 'entries', 'created_at'],
47868
+ type: 'object',
47838
47869
  },
47870
+ type: 'array',
47839
47871
  },
47840
- required: ['context', 'entries', 'created_at'],
47841
- type: 'object',
47872
+ resource_id: { type: 'string' },
47873
+ resource_type: { type: 'string' },
47842
47874
  },
47843
- type: 'array',
47875
+ required: ['resource_type', 'resource_id', 'groups'],
47876
+ type: 'object',
47844
47877
  },
47845
47878
  },
47846
47879
  required: ['timeline', 'pagination', 'ok'],
@@ -48003,11 +48036,17 @@ export default {
48003
48036
  },
48004
48037
  automation_run_id: { format: 'uuid', type: 'string' },
48005
48038
  created_at: { type: 'string' },
48039
+ partner_key: { nullable: true, type: 'string' },
48006
48040
  partner_resource_id: {
48007
48041
  format: 'uuid',
48008
48042
  nullable: true,
48009
48043
  type: 'string',
48010
48044
  },
48045
+ resource_type: { nullable: true, type: 'string' },
48046
+ resource_type_alias: {
48047
+ nullable: true,
48048
+ type: 'string',
48049
+ },
48011
48050
  workspace_id: { format: 'uuid', type: 'string' },
48012
48051
  },
48013
48052
  required: [
@@ -48015,6 +48054,9 @@ export default {
48015
48054
  'workspace_id',
48016
48055
  'automation_id',
48017
48056
  'partner_resource_id',
48057
+ 'partner_key',
48058
+ 'resource_type',
48059
+ 'resource_type_alias',
48018
48060
  'created_at',
48019
48061
  ],
48020
48062
  type: 'object',
@@ -48163,11 +48205,17 @@ export default {
48163
48205
  },
48164
48206
  automation_run_id: { format: 'uuid', type: 'string' },
48165
48207
  created_at: { type: 'string' },
48208
+ partner_key: { nullable: true, type: 'string' },
48166
48209
  partner_resource_id: {
48167
48210
  format: 'uuid',
48168
48211
  nullable: true,
48169
48212
  type: 'string',
48170
48213
  },
48214
+ resource_type: { nullable: true, type: 'string' },
48215
+ resource_type_alias: {
48216
+ nullable: true,
48217
+ type: 'string',
48218
+ },
48171
48219
  workspace_id: { format: 'uuid', type: 'string' },
48172
48220
  },
48173
48221
  required: [
@@ -48175,6 +48223,9 @@ export default {
48175
48223
  'workspace_id',
48176
48224
  'automation_id',
48177
48225
  'partner_resource_id',
48226
+ 'partner_key',
48227
+ 'resource_type',
48228
+ 'resource_type_alias',
48178
48229
  'created_at',
48179
48230
  ],
48180
48231
  type: 'object',