@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.
@@ -7592,9 +7592,8 @@ export default {
7592
7592
  format: 'date-time',
7593
7593
  type: 'string',
7594
7594
  },
7595
- customer_id: {
7596
- description: 'Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens).',
7597
- format: 'uuid',
7595
+ customer_key: {
7596
+ description: 'Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens).',
7598
7597
  type: 'string',
7599
7598
  },
7600
7599
  device_count: {
@@ -43551,168 +43550,185 @@ export default {
43551
43550
  ok: { type: 'boolean' },
43552
43551
  pagination: { $ref: '#/components/schemas/pagination' },
43553
43552
  timeline: {
43554
- items: {
43555
- properties: {
43556
- context: {
43557
- oneOf: [
43558
- {
43559
- properties: {
43560
- context_type: {
43561
- enum: ['request'],
43562
- type: 'string',
43563
- },
43564
- request_id: { type: 'string' },
43565
- request_payload: {
43566
- additionalProperties: {
43567
- $ref: '#/components/schemas/access_code',
43553
+ properties: {
43554
+ groups: {
43555
+ items: {
43556
+ properties: {
43557
+ context: {
43558
+ oneOf: [
43559
+ {
43560
+ properties: {
43561
+ context_type: {
43562
+ enum: ['request'],
43563
+ type: 'string',
43564
+ },
43565
+ request_id: { type: 'string' },
43566
+ request_payload: {
43567
+ additionalProperties: {
43568
+ $ref: '#/components/schemas/access_code',
43569
+ },
43570
+ type: 'object',
43571
+ },
43572
+ response_payload: {
43573
+ additionalProperties: {
43574
+ $ref: '#/components/schemas/access_code',
43575
+ },
43576
+ type: 'object',
43577
+ },
43568
43578
  },
43579
+ required: [
43580
+ 'context_type',
43581
+ 'request_id',
43582
+ 'request_payload',
43583
+ 'response_payload',
43584
+ ],
43569
43585
  type: 'object',
43570
43586
  },
43571
- response_payload: {
43572
- additionalProperties: {
43573
- $ref: '#/components/schemas/access_code',
43587
+ {
43588
+ properties: {
43589
+ context_type: {
43590
+ enum: ['job'],
43591
+ type: 'string',
43592
+ },
43593
+ job_id: { type: 'string' },
43574
43594
  },
43595
+ required: ['context_type', 'job_id'],
43575
43596
  type: 'object',
43576
43597
  },
43577
- },
43578
- required: [
43579
- 'context_type',
43580
- 'request_id',
43581
- 'request_payload',
43582
- 'response_payload',
43583
43598
  ],
43584
- type: 'object',
43585
- },
43586
- {
43587
- properties: {
43588
- context_type: {
43589
- enum: ['job'],
43590
- type: 'string',
43591
- },
43592
- job_id: { type: 'string' },
43593
- },
43594
- required: ['context_type', 'job_id'],
43595
- type: 'object',
43596
43599
  },
43597
- ],
43598
- },
43599
- created_at: { type: 'string' },
43600
- entries: {
43601
- items: {
43602
- properties: {
43603
- body: {
43604
- oneOf: [
43605
- {
43606
- properties: {
43607
- description: { type: 'string' },
43608
- entry_type: {
43609
- enum: ['resource_created'],
43610
- type: 'string',
43611
- },
43612
- },
43613
- required: ['entry_type', 'description'],
43614
- type: 'object',
43615
- },
43616
- {
43617
- properties: {
43618
- description: { type: 'string' },
43619
- entry_type: {
43620
- enum: ['resource_updated'],
43621
- type: 'string',
43622
- },
43623
- errors: {
43624
- items: { type: 'string' },
43625
- type: 'array',
43626
- },
43627
- properties_updated: {
43628
- additionalProperties: {
43629
- $ref: '#/components/schemas/access_code',
43600
+ created_at: { type: 'string' },
43601
+ entries: {
43602
+ items: {
43603
+ properties: {
43604
+ body: {
43605
+ oneOf: [
43606
+ {
43607
+ properties: {
43608
+ description: { type: 'string' },
43609
+ entry_type: {
43610
+ enum: ['resource_created'],
43611
+ type: 'string',
43612
+ },
43630
43613
  },
43614
+ required: [
43615
+ 'entry_type',
43616
+ 'description',
43617
+ ],
43631
43618
  type: 'object',
43632
43619
  },
43633
- warnings: {
43634
- items: { type: 'string' },
43635
- type: 'array',
43636
- },
43637
- },
43638
- required: ['entry_type', 'description'],
43639
- type: 'object',
43640
- },
43641
- {
43642
- properties: {
43643
- description: { type: 'string' },
43644
- entry_type: {
43645
- enum: ['resource_deleted'],
43646
- type: 'string',
43647
- },
43648
- },
43649
- required: ['entry_type', 'description'],
43650
- type: 'object',
43651
- },
43652
- {
43653
- properties: {
43654
- entry_type: {
43655
- enum: ['event'],
43656
- type: 'string',
43620
+ {
43621
+ properties: {
43622
+ description: { type: 'string' },
43623
+ entry_type: {
43624
+ enum: ['resource_updated'],
43625
+ type: 'string',
43626
+ },
43627
+ errors: {
43628
+ items: { type: 'string' },
43629
+ type: 'array',
43630
+ },
43631
+ properties_updated: {
43632
+ additionalProperties: {
43633
+ $ref: '#/components/schemas/access_code',
43634
+ },
43635
+ type: 'object',
43636
+ },
43637
+ warnings: {
43638
+ items: { type: 'string' },
43639
+ type: 'array',
43640
+ },
43641
+ },
43642
+ required: [
43643
+ 'entry_type',
43644
+ 'description',
43645
+ ],
43646
+ type: 'object',
43657
43647
  },
43658
- event_id: { type: 'string' },
43659
- event_type: { type: 'string' },
43660
- },
43661
- required: [
43662
- 'entry_type',
43663
- 'event_type',
43664
- 'event_id',
43665
- ],
43666
- type: 'object',
43667
- },
43668
- {
43669
- properties: {
43670
- description: { type: 'string' },
43671
- entry_type: {
43672
- enum: ['provider_call'],
43673
- type: 'string',
43648
+ {
43649
+ properties: {
43650
+ description: { type: 'string' },
43651
+ entry_type: {
43652
+ enum: ['resource_deleted'],
43653
+ type: 'string',
43654
+ },
43655
+ },
43656
+ required: [
43657
+ 'entry_type',
43658
+ 'description',
43659
+ ],
43660
+ type: 'object',
43674
43661
  },
43675
- response_body: {
43676
- additionalProperties: {
43677
- $ref: '#/components/schemas/access_code',
43662
+ {
43663
+ properties: {
43664
+ entry_type: {
43665
+ enum: ['event'],
43666
+ type: 'string',
43667
+ },
43668
+ event_id: { type: 'string' },
43669
+ event_type: { type: 'string' },
43678
43670
  },
43671
+ required: [
43672
+ 'entry_type',
43673
+ 'event_type',
43674
+ 'event_id',
43675
+ ],
43679
43676
  type: 'object',
43680
43677
  },
43681
- response_status_code: {
43682
- format: 'float',
43683
- type: 'number',
43678
+ {
43679
+ properties: {
43680
+ description: { type: 'string' },
43681
+ entry_type: {
43682
+ enum: ['provider_call'],
43683
+ type: 'string',
43684
+ },
43685
+ response_body: {
43686
+ additionalProperties: {
43687
+ $ref: '#/components/schemas/access_code',
43688
+ },
43689
+ type: 'object',
43690
+ },
43691
+ response_status_code: {
43692
+ format: 'float',
43693
+ type: 'number',
43694
+ },
43695
+ },
43696
+ required: [
43697
+ 'entry_type',
43698
+ 'description',
43699
+ 'response_status_code',
43700
+ ],
43701
+ type: 'object',
43684
43702
  },
43685
- },
43686
- required: [
43687
- 'entry_type',
43688
- 'description',
43689
- 'response_status_code',
43690
43703
  ],
43691
- type: 'object',
43692
43704
  },
43705
+ created_at: { type: 'string' },
43706
+ entry_type: { type: 'string' },
43707
+ resource_id: { type: 'string' },
43708
+ resource_type: { type: 'string' },
43709
+ },
43710
+ required: [
43711
+ 'resource_type',
43712
+ 'resource_id',
43713
+ 'entry_type',
43714
+ 'body',
43715
+ 'created_at',
43693
43716
  ],
43717
+ type: 'object',
43694
43718
  },
43695
- created_at: { type: 'string' },
43696
- entry_type: { type: 'string' },
43697
- resource_id: { type: 'string' },
43698
- resource_type: { type: 'string' },
43719
+ type: 'array',
43699
43720
  },
43700
- required: [
43701
- 'resource_type',
43702
- 'resource_id',
43703
- 'entry_type',
43704
- 'body',
43705
- 'created_at',
43706
- ],
43707
- type: 'object',
43708
43721
  },
43709
- type: 'array',
43722
+ required: ['context', 'entries', 'created_at'],
43723
+ type: 'object',
43710
43724
  },
43725
+ type: 'array',
43711
43726
  },
43712
- required: ['context', 'entries', 'created_at'],
43713
- type: 'object',
43727
+ resource_id: { type: 'string' },
43728
+ resource_type: { type: 'string' },
43714
43729
  },
43715
- type: 'array',
43730
+ required: ['resource_type', 'resource_id', 'groups'],
43731
+ type: 'object',
43716
43732
  },
43717
43733
  },
43718
43734
  required: ['timeline', 'pagination', 'ok'],
@@ -43785,168 +43801,185 @@ export default {
43785
43801
  ok: { type: 'boolean' },
43786
43802
  pagination: { $ref: '#/components/schemas/pagination' },
43787
43803
  timeline: {
43788
- items: {
43789
- properties: {
43790
- context: {
43791
- oneOf: [
43792
- {
43793
- properties: {
43794
- context_type: {
43795
- enum: ['request'],
43796
- type: 'string',
43797
- },
43798
- request_id: { type: 'string' },
43799
- request_payload: {
43800
- additionalProperties: {
43801
- $ref: '#/components/schemas/access_code',
43804
+ properties: {
43805
+ groups: {
43806
+ items: {
43807
+ properties: {
43808
+ context: {
43809
+ oneOf: [
43810
+ {
43811
+ properties: {
43812
+ context_type: {
43813
+ enum: ['request'],
43814
+ type: 'string',
43815
+ },
43816
+ request_id: { type: 'string' },
43817
+ request_payload: {
43818
+ additionalProperties: {
43819
+ $ref: '#/components/schemas/access_code',
43820
+ },
43821
+ type: 'object',
43822
+ },
43823
+ response_payload: {
43824
+ additionalProperties: {
43825
+ $ref: '#/components/schemas/access_code',
43826
+ },
43827
+ type: 'object',
43828
+ },
43802
43829
  },
43830
+ required: [
43831
+ 'context_type',
43832
+ 'request_id',
43833
+ 'request_payload',
43834
+ 'response_payload',
43835
+ ],
43803
43836
  type: 'object',
43804
43837
  },
43805
- response_payload: {
43806
- additionalProperties: {
43807
- $ref: '#/components/schemas/access_code',
43838
+ {
43839
+ properties: {
43840
+ context_type: {
43841
+ enum: ['job'],
43842
+ type: 'string',
43843
+ },
43844
+ job_id: { type: 'string' },
43808
43845
  },
43846
+ required: ['context_type', 'job_id'],
43809
43847
  type: 'object',
43810
43848
  },
43811
- },
43812
- required: [
43813
- 'context_type',
43814
- 'request_id',
43815
- 'request_payload',
43816
- 'response_payload',
43817
43849
  ],
43818
- type: 'object',
43819
- },
43820
- {
43821
- properties: {
43822
- context_type: {
43823
- enum: ['job'],
43824
- type: 'string',
43825
- },
43826
- job_id: { type: 'string' },
43827
- },
43828
- required: ['context_type', 'job_id'],
43829
- type: 'object',
43830
43850
  },
43831
- ],
43832
- },
43833
- created_at: { type: 'string' },
43834
- entries: {
43835
- items: {
43836
- properties: {
43837
- body: {
43838
- oneOf: [
43839
- {
43840
- properties: {
43841
- description: { type: 'string' },
43842
- entry_type: {
43843
- enum: ['resource_created'],
43844
- type: 'string',
43845
- },
43846
- },
43847
- required: ['entry_type', 'description'],
43848
- type: 'object',
43849
- },
43850
- {
43851
- properties: {
43852
- description: { type: 'string' },
43853
- entry_type: {
43854
- enum: ['resource_updated'],
43855
- type: 'string',
43856
- },
43857
- errors: {
43858
- items: { type: 'string' },
43859
- type: 'array',
43860
- },
43861
- properties_updated: {
43862
- additionalProperties: {
43863
- $ref: '#/components/schemas/access_code',
43851
+ created_at: { type: 'string' },
43852
+ entries: {
43853
+ items: {
43854
+ properties: {
43855
+ body: {
43856
+ oneOf: [
43857
+ {
43858
+ properties: {
43859
+ description: { type: 'string' },
43860
+ entry_type: {
43861
+ enum: ['resource_created'],
43862
+ type: 'string',
43863
+ },
43864
43864
  },
43865
+ required: [
43866
+ 'entry_type',
43867
+ 'description',
43868
+ ],
43865
43869
  type: 'object',
43866
43870
  },
43867
- warnings: {
43868
- items: { type: 'string' },
43869
- type: 'array',
43870
- },
43871
- },
43872
- required: ['entry_type', 'description'],
43873
- type: 'object',
43874
- },
43875
- {
43876
- properties: {
43877
- description: { type: 'string' },
43878
- entry_type: {
43879
- enum: ['resource_deleted'],
43880
- type: 'string',
43881
- },
43882
- },
43883
- required: ['entry_type', 'description'],
43884
- type: 'object',
43885
- },
43886
- {
43887
- properties: {
43888
- entry_type: {
43889
- enum: ['event'],
43890
- type: 'string',
43871
+ {
43872
+ properties: {
43873
+ description: { type: 'string' },
43874
+ entry_type: {
43875
+ enum: ['resource_updated'],
43876
+ type: 'string',
43877
+ },
43878
+ errors: {
43879
+ items: { type: 'string' },
43880
+ type: 'array',
43881
+ },
43882
+ properties_updated: {
43883
+ additionalProperties: {
43884
+ $ref: '#/components/schemas/access_code',
43885
+ },
43886
+ type: 'object',
43887
+ },
43888
+ warnings: {
43889
+ items: { type: 'string' },
43890
+ type: 'array',
43891
+ },
43892
+ },
43893
+ required: [
43894
+ 'entry_type',
43895
+ 'description',
43896
+ ],
43897
+ type: 'object',
43891
43898
  },
43892
- event_id: { type: 'string' },
43893
- event_type: { type: 'string' },
43894
- },
43895
- required: [
43896
- 'entry_type',
43897
- 'event_type',
43898
- 'event_id',
43899
- ],
43900
- type: 'object',
43901
- },
43902
- {
43903
- properties: {
43904
- description: { type: 'string' },
43905
- entry_type: {
43906
- enum: ['provider_call'],
43907
- type: 'string',
43899
+ {
43900
+ properties: {
43901
+ description: { type: 'string' },
43902
+ entry_type: {
43903
+ enum: ['resource_deleted'],
43904
+ type: 'string',
43905
+ },
43906
+ },
43907
+ required: [
43908
+ 'entry_type',
43909
+ 'description',
43910
+ ],
43911
+ type: 'object',
43908
43912
  },
43909
- response_body: {
43910
- additionalProperties: {
43911
- $ref: '#/components/schemas/access_code',
43913
+ {
43914
+ properties: {
43915
+ entry_type: {
43916
+ enum: ['event'],
43917
+ type: 'string',
43918
+ },
43919
+ event_id: { type: 'string' },
43920
+ event_type: { type: 'string' },
43912
43921
  },
43922
+ required: [
43923
+ 'entry_type',
43924
+ 'event_type',
43925
+ 'event_id',
43926
+ ],
43913
43927
  type: 'object',
43914
43928
  },
43915
- response_status_code: {
43916
- format: 'float',
43917
- type: 'number',
43929
+ {
43930
+ properties: {
43931
+ description: { type: 'string' },
43932
+ entry_type: {
43933
+ enum: ['provider_call'],
43934
+ type: 'string',
43935
+ },
43936
+ response_body: {
43937
+ additionalProperties: {
43938
+ $ref: '#/components/schemas/access_code',
43939
+ },
43940
+ type: 'object',
43941
+ },
43942
+ response_status_code: {
43943
+ format: 'float',
43944
+ type: 'number',
43945
+ },
43946
+ },
43947
+ required: [
43948
+ 'entry_type',
43949
+ 'description',
43950
+ 'response_status_code',
43951
+ ],
43952
+ type: 'object',
43918
43953
  },
43919
- },
43920
- required: [
43921
- 'entry_type',
43922
- 'description',
43923
- 'response_status_code',
43924
43954
  ],
43925
- type: 'object',
43926
43955
  },
43956
+ created_at: { type: 'string' },
43957
+ entry_type: { type: 'string' },
43958
+ resource_id: { type: 'string' },
43959
+ resource_type: { type: 'string' },
43960
+ },
43961
+ required: [
43962
+ 'resource_type',
43963
+ 'resource_id',
43964
+ 'entry_type',
43965
+ 'body',
43966
+ 'created_at',
43927
43967
  ],
43968
+ type: 'object',
43928
43969
  },
43929
- created_at: { type: 'string' },
43930
- entry_type: { type: 'string' },
43931
- resource_id: { type: 'string' },
43932
- resource_type: { type: 'string' },
43970
+ type: 'array',
43933
43971
  },
43934
- required: [
43935
- 'resource_type',
43936
- 'resource_id',
43937
- 'entry_type',
43938
- 'body',
43939
- 'created_at',
43940
- ],
43941
- type: 'object',
43942
43972
  },
43943
- type: 'array',
43973
+ required: ['context', 'entries', 'created_at'],
43974
+ type: 'object',
43944
43975
  },
43976
+ type: 'array',
43945
43977
  },
43946
- required: ['context', 'entries', 'created_at'],
43947
- type: 'object',
43978
+ resource_id: { type: 'string' },
43979
+ resource_type: { type: 'string' },
43948
43980
  },
43949
- type: 'array',
43981
+ required: ['resource_type', 'resource_id', 'groups'],
43982
+ type: 'object',
43950
43983
  },
43951
43984
  },
43952
43985
  required: ['timeline', 'pagination', 'ok'],
@@ -44103,11 +44136,17 @@ export default {
44103
44136
  },
44104
44137
  automation_run_id: { format: 'uuid', type: 'string' },
44105
44138
  created_at: { type: 'string' },
44139
+ partner_key: { nullable: true, type: 'string' },
44106
44140
  partner_resource_id: {
44107
44141
  format: 'uuid',
44108
44142
  nullable: true,
44109
44143
  type: 'string',
44110
44144
  },
44145
+ resource_type: { nullable: true, type: 'string' },
44146
+ resource_type_alias: {
44147
+ nullable: true,
44148
+ type: 'string',
44149
+ },
44111
44150
  workspace_id: { format: 'uuid', type: 'string' },
44112
44151
  },
44113
44152
  required: [
@@ -44115,6 +44154,9 @@ export default {
44115
44154
  'workspace_id',
44116
44155
  'automation_id',
44117
44156
  'partner_resource_id',
44157
+ 'partner_key',
44158
+ 'resource_type',
44159
+ 'resource_type_alias',
44118
44160
  'created_at',
44119
44161
  ],
44120
44162
  type: 'object',
@@ -44256,11 +44298,17 @@ export default {
44256
44298
  },
44257
44299
  automation_run_id: { format: 'uuid', type: 'string' },
44258
44300
  created_at: { type: 'string' },
44301
+ partner_key: { nullable: true, type: 'string' },
44259
44302
  partner_resource_id: {
44260
44303
  format: 'uuid',
44261
44304
  nullable: true,
44262
44305
  type: 'string',
44263
44306
  },
44307
+ resource_type: { nullable: true, type: 'string' },
44308
+ resource_type_alias: {
44309
+ nullable: true,
44310
+ type: 'string',
44311
+ },
44264
44312
  workspace_id: { format: 'uuid', type: 'string' },
44265
44313
  },
44266
44314
  required: [
@@ -44268,6 +44316,9 @@ export default {
44268
44316
  'workspace_id',
44269
44317
  'automation_id',
44270
44318
  'partner_resource_id',
44319
+ 'partner_key',
44320
+ 'resource_type',
44321
+ 'resource_type_alias',
44271
44322
  'created_at',
44272
44323
  ],
44273
44324
  type: 'object',