@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.
@@ -88632,183 +88632,195 @@ declare const _default: {
88632
88632
  $ref: string;
88633
88633
  };
88634
88634
  timeline: {
88635
- items: {
88636
- properties: {
88637
- context: {
88638
- oneOf: ({
88639
- properties: {
88640
- context_type: {
88641
- enum: string[];
88642
- type: string;
88643
- };
88644
- request_id: {
88645
- type: string;
88646
- };
88647
- request_payload: {
88648
- additionalProperties: {
88649
- $ref: string;
88635
+ properties: {
88636
+ groups: {
88637
+ items: {
88638
+ properties: {
88639
+ context: {
88640
+ oneOf: ({
88641
+ properties: {
88642
+ context_type: {
88643
+ enum: string[];
88644
+ type: string;
88645
+ };
88646
+ request_id: {
88647
+ type: string;
88648
+ };
88649
+ request_payload: {
88650
+ additionalProperties: {
88651
+ $ref: string;
88652
+ };
88653
+ type: string;
88654
+ };
88655
+ response_payload: {
88656
+ additionalProperties: {
88657
+ $ref: string;
88658
+ };
88659
+ type: string;
88660
+ };
88661
+ job_id?: never;
88650
88662
  };
88663
+ required: string[];
88651
88664
  type: string;
88652
- };
88653
- response_payload: {
88654
- additionalProperties: {
88655
- $ref: string;
88665
+ } | {
88666
+ properties: {
88667
+ context_type: {
88668
+ enum: string[];
88669
+ type: string;
88670
+ };
88671
+ job_id: {
88672
+ type: string;
88673
+ };
88674
+ request_id?: never;
88675
+ request_payload?: never;
88676
+ response_payload?: never;
88656
88677
  };
88678
+ required: string[];
88657
88679
  type: string;
88658
- };
88659
- job_id?: never;
88680
+ })[];
88660
88681
  };
88661
- required: string[];
88662
- type: string;
88663
- } | {
88664
- properties: {
88665
- context_type: {
88666
- enum: string[];
88667
- type: string;
88668
- };
88669
- job_id: {
88670
- type: string;
88671
- };
88672
- request_id?: never;
88673
- request_payload?: never;
88674
- response_payload?: never;
88682
+ created_at: {
88683
+ type: string;
88675
88684
  };
88676
- required: string[];
88677
- type: string;
88678
- })[];
88679
- };
88680
- created_at: {
88681
- type: string;
88682
- };
88683
- entries: {
88684
- items: {
88685
- properties: {
88686
- body: {
88687
- oneOf: ({
88688
- properties: {
88689
- description: {
88690
- type: string;
88691
- };
88692
- entry_type: {
88693
- enum: string[];
88694
- type: string;
88695
- };
88696
- errors?: never;
88697
- properties_updated?: never;
88698
- warnings?: never;
88699
- event_id?: never;
88700
- event_type?: never;
88701
- response_body?: never;
88702
- response_status_code?: never;
88703
- };
88704
- required: string[];
88705
- type: string;
88706
- } | {
88707
- properties: {
88708
- description: {
88709
- type: string;
88710
- };
88711
- entry_type: {
88712
- enum: string[];
88685
+ entries: {
88686
+ items: {
88687
+ properties: {
88688
+ body: {
88689
+ oneOf: ({
88690
+ properties: {
88691
+ description: {
88692
+ type: string;
88693
+ };
88694
+ entry_type: {
88695
+ enum: string[];
88696
+ type: string;
88697
+ };
88698
+ errors?: never;
88699
+ properties_updated?: never;
88700
+ warnings?: never;
88701
+ event_id?: never;
88702
+ event_type?: never;
88703
+ response_body?: never;
88704
+ response_status_code?: never;
88705
+ };
88706
+ required: string[];
88713
88707
  type: string;
88714
- };
88715
- errors: {
88716
- items: {
88717
- type: string;
88708
+ } | {
88709
+ properties: {
88710
+ description: {
88711
+ type: string;
88712
+ };
88713
+ entry_type: {
88714
+ enum: string[];
88715
+ type: string;
88716
+ };
88717
+ errors: {
88718
+ items: {
88719
+ type: string;
88720
+ };
88721
+ type: string;
88722
+ };
88723
+ properties_updated: {
88724
+ additionalProperties: {
88725
+ $ref: string;
88726
+ };
88727
+ type: string;
88728
+ };
88729
+ warnings: {
88730
+ items: {
88731
+ type: string;
88732
+ };
88733
+ type: string;
88734
+ };
88735
+ event_id?: never;
88736
+ event_type?: never;
88737
+ response_body?: never;
88738
+ response_status_code?: never;
88718
88739
  };
88740
+ required: string[];
88719
88741
  type: string;
88720
- };
88721
- properties_updated: {
88722
- additionalProperties: {
88723
- $ref: string;
88742
+ } | {
88743
+ properties: {
88744
+ entry_type: {
88745
+ enum: string[];
88746
+ type: string;
88747
+ };
88748
+ event_id: {
88749
+ type: string;
88750
+ };
88751
+ event_type: {
88752
+ type: string;
88753
+ };
88754
+ description?: never;
88755
+ errors?: never;
88756
+ properties_updated?: never;
88757
+ warnings?: never;
88758
+ response_body?: never;
88759
+ response_status_code?: never;
88724
88760
  };
88761
+ required: string[];
88725
88762
  type: string;
88726
- };
88727
- warnings: {
88728
- items: {
88729
- type: string;
88763
+ } | {
88764
+ properties: {
88765
+ description: {
88766
+ type: string;
88767
+ };
88768
+ entry_type: {
88769
+ enum: string[];
88770
+ type: string;
88771
+ };
88772
+ response_body: {
88773
+ additionalProperties: {
88774
+ $ref: string;
88775
+ };
88776
+ type: string;
88777
+ };
88778
+ response_status_code: {
88779
+ format: string;
88780
+ type: string;
88781
+ };
88782
+ errors?: never;
88783
+ properties_updated?: never;
88784
+ warnings?: never;
88785
+ event_id?: never;
88786
+ event_type?: never;
88730
88787
  };
88788
+ required: string[];
88731
88789
  type: string;
88732
- };
88733
- event_id?: never;
88734
- event_type?: never;
88735
- response_body?: never;
88736
- response_status_code?: never;
88790
+ })[];
88737
88791
  };
88738
- required: string[];
88739
- type: string;
88740
- } | {
88741
- properties: {
88742
- entry_type: {
88743
- enum: string[];
88744
- type: string;
88745
- };
88746
- event_id: {
88747
- type: string;
88748
- };
88749
- event_type: {
88750
- type: string;
88751
- };
88752
- description?: never;
88753
- errors?: never;
88754
- properties_updated?: never;
88755
- warnings?: never;
88756
- response_body?: never;
88757
- response_status_code?: never;
88792
+ created_at: {
88793
+ type: string;
88758
88794
  };
88759
- required: string[];
88760
- type: string;
88761
- } | {
88762
- properties: {
88763
- description: {
88764
- type: string;
88765
- };
88766
- entry_type: {
88767
- enum: string[];
88768
- type: string;
88769
- };
88770
- response_body: {
88771
- additionalProperties: {
88772
- $ref: string;
88773
- };
88774
- type: string;
88775
- };
88776
- response_status_code: {
88777
- format: string;
88778
- type: string;
88779
- };
88780
- errors?: never;
88781
- properties_updated?: never;
88782
- warnings?: never;
88783
- event_id?: never;
88784
- event_type?: never;
88795
+ entry_type: {
88796
+ type: string;
88785
88797
  };
88786
- required: string[];
88787
- type: string;
88788
- })[];
88789
- };
88790
- created_at: {
88791
- type: string;
88792
- };
88793
- entry_type: {
88794
- type: string;
88795
- };
88796
- resource_id: {
88797
- type: string;
88798
- };
88799
- resource_type: {
88798
+ resource_id: {
88799
+ type: string;
88800
+ };
88801
+ resource_type: {
88802
+ type: string;
88803
+ };
88804
+ };
88805
+ required: string[];
88800
88806
  type: string;
88801
88807
  };
88808
+ type: string;
88802
88809
  };
88803
- required: string[];
88804
- type: string;
88805
88810
  };
88811
+ required: string[];
88806
88812
  type: string;
88807
88813
  };
88814
+ type: string;
88815
+ };
88816
+ resource_id: {
88817
+ type: string;
88818
+ };
88819
+ resource_type: {
88820
+ type: string;
88808
88821
  };
88809
- required: string[];
88810
- type: string;
88811
88822
  };
88823
+ required: string[];
88812
88824
  type: string;
88813
88825
  };
88814
88826
  };
@@ -88905,183 +88917,195 @@ declare const _default: {
88905
88917
  $ref: string;
88906
88918
  };
88907
88919
  timeline: {
88908
- items: {
88909
- properties: {
88910
- context: {
88911
- oneOf: ({
88912
- properties: {
88913
- context_type: {
88914
- enum: string[];
88915
- type: string;
88916
- };
88917
- request_id: {
88918
- type: string;
88919
- };
88920
- request_payload: {
88921
- additionalProperties: {
88922
- $ref: string;
88920
+ properties: {
88921
+ groups: {
88922
+ items: {
88923
+ properties: {
88924
+ context: {
88925
+ oneOf: ({
88926
+ properties: {
88927
+ context_type: {
88928
+ enum: string[];
88929
+ type: string;
88930
+ };
88931
+ request_id: {
88932
+ type: string;
88933
+ };
88934
+ request_payload: {
88935
+ additionalProperties: {
88936
+ $ref: string;
88937
+ };
88938
+ type: string;
88939
+ };
88940
+ response_payload: {
88941
+ additionalProperties: {
88942
+ $ref: string;
88943
+ };
88944
+ type: string;
88945
+ };
88946
+ job_id?: never;
88923
88947
  };
88948
+ required: string[];
88924
88949
  type: string;
88925
- };
88926
- response_payload: {
88927
- additionalProperties: {
88928
- $ref: string;
88950
+ } | {
88951
+ properties: {
88952
+ context_type: {
88953
+ enum: string[];
88954
+ type: string;
88955
+ };
88956
+ job_id: {
88957
+ type: string;
88958
+ };
88959
+ request_id?: never;
88960
+ request_payload?: never;
88961
+ response_payload?: never;
88929
88962
  };
88963
+ required: string[];
88930
88964
  type: string;
88931
- };
88932
- job_id?: never;
88965
+ })[];
88933
88966
  };
88934
- required: string[];
88935
- type: string;
88936
- } | {
88937
- properties: {
88938
- context_type: {
88939
- enum: string[];
88940
- type: string;
88941
- };
88942
- job_id: {
88943
- type: string;
88944
- };
88945
- request_id?: never;
88946
- request_payload?: never;
88947
- response_payload?: never;
88967
+ created_at: {
88968
+ type: string;
88948
88969
  };
88949
- required: string[];
88950
- type: string;
88951
- })[];
88952
- };
88953
- created_at: {
88954
- type: string;
88955
- };
88956
- entries: {
88957
- items: {
88958
- properties: {
88959
- body: {
88960
- oneOf: ({
88961
- properties: {
88962
- description: {
88963
- type: string;
88964
- };
88965
- entry_type: {
88966
- enum: string[];
88967
- type: string;
88968
- };
88969
- errors?: never;
88970
- properties_updated?: never;
88971
- warnings?: never;
88972
- event_id?: never;
88973
- event_type?: never;
88974
- response_body?: never;
88975
- response_status_code?: never;
88976
- };
88977
- required: string[];
88978
- type: string;
88979
- } | {
88980
- properties: {
88981
- description: {
88982
- type: string;
88983
- };
88984
- entry_type: {
88985
- enum: string[];
88970
+ entries: {
88971
+ items: {
88972
+ properties: {
88973
+ body: {
88974
+ oneOf: ({
88975
+ properties: {
88976
+ description: {
88977
+ type: string;
88978
+ };
88979
+ entry_type: {
88980
+ enum: string[];
88981
+ type: string;
88982
+ };
88983
+ errors?: never;
88984
+ properties_updated?: never;
88985
+ warnings?: never;
88986
+ event_id?: never;
88987
+ event_type?: never;
88988
+ response_body?: never;
88989
+ response_status_code?: never;
88990
+ };
88991
+ required: string[];
88986
88992
  type: string;
88987
- };
88988
- errors: {
88989
- items: {
88990
- type: string;
88993
+ } | {
88994
+ properties: {
88995
+ description: {
88996
+ type: string;
88997
+ };
88998
+ entry_type: {
88999
+ enum: string[];
89000
+ type: string;
89001
+ };
89002
+ errors: {
89003
+ items: {
89004
+ type: string;
89005
+ };
89006
+ type: string;
89007
+ };
89008
+ properties_updated: {
89009
+ additionalProperties: {
89010
+ $ref: string;
89011
+ };
89012
+ type: string;
89013
+ };
89014
+ warnings: {
89015
+ items: {
89016
+ type: string;
89017
+ };
89018
+ type: string;
89019
+ };
89020
+ event_id?: never;
89021
+ event_type?: never;
89022
+ response_body?: never;
89023
+ response_status_code?: never;
88991
89024
  };
89025
+ required: string[];
88992
89026
  type: string;
88993
- };
88994
- properties_updated: {
88995
- additionalProperties: {
88996
- $ref: string;
89027
+ } | {
89028
+ properties: {
89029
+ entry_type: {
89030
+ enum: string[];
89031
+ type: string;
89032
+ };
89033
+ event_id: {
89034
+ type: string;
89035
+ };
89036
+ event_type: {
89037
+ type: string;
89038
+ };
89039
+ description?: never;
89040
+ errors?: never;
89041
+ properties_updated?: never;
89042
+ warnings?: never;
89043
+ response_body?: never;
89044
+ response_status_code?: never;
88997
89045
  };
89046
+ required: string[];
88998
89047
  type: string;
88999
- };
89000
- warnings: {
89001
- items: {
89002
- type: string;
89048
+ } | {
89049
+ properties: {
89050
+ description: {
89051
+ type: string;
89052
+ };
89053
+ entry_type: {
89054
+ enum: string[];
89055
+ type: string;
89056
+ };
89057
+ response_body: {
89058
+ additionalProperties: {
89059
+ $ref: string;
89060
+ };
89061
+ type: string;
89062
+ };
89063
+ response_status_code: {
89064
+ format: string;
89065
+ type: string;
89066
+ };
89067
+ errors?: never;
89068
+ properties_updated?: never;
89069
+ warnings?: never;
89070
+ event_id?: never;
89071
+ event_type?: never;
89003
89072
  };
89073
+ required: string[];
89004
89074
  type: string;
89005
- };
89006
- event_id?: never;
89007
- event_type?: never;
89008
- response_body?: never;
89009
- response_status_code?: never;
89075
+ })[];
89010
89076
  };
89011
- required: string[];
89012
- type: string;
89013
- } | {
89014
- properties: {
89015
- entry_type: {
89016
- enum: string[];
89017
- type: string;
89018
- };
89019
- event_id: {
89020
- type: string;
89021
- };
89022
- event_type: {
89023
- type: string;
89024
- };
89025
- description?: never;
89026
- errors?: never;
89027
- properties_updated?: never;
89028
- warnings?: never;
89029
- response_body?: never;
89030
- response_status_code?: never;
89077
+ created_at: {
89078
+ type: string;
89031
89079
  };
89032
- required: string[];
89033
- type: string;
89034
- } | {
89035
- properties: {
89036
- description: {
89037
- type: string;
89038
- };
89039
- entry_type: {
89040
- enum: string[];
89041
- type: string;
89042
- };
89043
- response_body: {
89044
- additionalProperties: {
89045
- $ref: string;
89046
- };
89047
- type: string;
89048
- };
89049
- response_status_code: {
89050
- format: string;
89051
- type: string;
89052
- };
89053
- errors?: never;
89054
- properties_updated?: never;
89055
- warnings?: never;
89056
- event_id?: never;
89057
- event_type?: never;
89080
+ entry_type: {
89081
+ type: string;
89058
89082
  };
89059
- required: string[];
89060
- type: string;
89061
- })[];
89062
- };
89063
- created_at: {
89064
- type: string;
89065
- };
89066
- entry_type: {
89067
- type: string;
89068
- };
89069
- resource_id: {
89070
- type: string;
89071
- };
89072
- resource_type: {
89083
+ resource_id: {
89084
+ type: string;
89085
+ };
89086
+ resource_type: {
89087
+ type: string;
89088
+ };
89089
+ };
89090
+ required: string[];
89073
89091
  type: string;
89074
89092
  };
89093
+ type: string;
89075
89094
  };
89076
- required: string[];
89077
- type: string;
89078
89095
  };
89096
+ required: string[];
89079
89097
  type: string;
89080
89098
  };
89099
+ type: string;
89100
+ };
89101
+ resource_id: {
89102
+ type: string;
89103
+ };
89104
+ resource_type: {
89105
+ type: string;
89081
89106
  };
89082
- required: string[];
89083
- type: string;
89084
89107
  };
89108
+ required: string[];
89085
89109
  type: string;
89086
89110
  };
89087
89111
  };
@@ -89257,11 +89281,23 @@ declare const _default: {
89257
89281
  created_at: {
89258
89282
  type: string;
89259
89283
  };
89284
+ partner_key: {
89285
+ nullable: boolean;
89286
+ type: string;
89287
+ };
89260
89288
  partner_resource_id: {
89261
89289
  format: string;
89262
89290
  nullable: boolean;
89263
89291
  type: string;
89264
89292
  };
89293
+ resource_type: {
89294
+ nullable: boolean;
89295
+ type: string;
89296
+ };
89297
+ resource_type_alias: {
89298
+ nullable: boolean;
89299
+ type: string;
89300
+ };
89265
89301
  workspace_id: {
89266
89302
  format: string;
89267
89303
  type: string;
@@ -89422,11 +89458,23 @@ declare const _default: {
89422
89458
  created_at: {
89423
89459
  type: string;
89424
89460
  };
89461
+ partner_key: {
89462
+ nullable: boolean;
89463
+ type: string;
89464
+ };
89425
89465
  partner_resource_id: {
89426
89466
  format: string;
89427
89467
  nullable: boolean;
89428
89468
  type: string;
89429
89469
  };
89470
+ resource_type: {
89471
+ nullable: boolean;
89472
+ type: string;
89473
+ };
89474
+ resource_type_alias: {
89475
+ nullable: boolean;
89476
+ type: string;
89477
+ };
89430
89478
  workspace_id: {
89431
89479
  format: string;
89432
89480
  type: string;
@@ -157976,53 +158024,57 @@ type Routes = {
157976
158024
  formData: {};
157977
158025
  jsonResponse: {
157978
158026
  timeline: {
157979
- context: {
157980
- context_type: 'request';
157981
- request_id: string;
157982
- request_payload: {
157983
- [x: string]: any;
157984
- };
157985
- response_payload: {
157986
- [x: string]: any;
157987
- };
157988
- } | {
157989
- context_type: 'job';
157990
- job_id: string;
157991
- };
157992
- entries: {
157993
- resource_type: string;
157994
- resource_id: string;
157995
- entry_type: string;
157996
- body: {
157997
- entry_type: 'resource_created';
157998
- description: string;
157999
- } | {
158000
- entry_type: 'resource_updated';
158001
- description: string;
158002
- properties_updated?: {
158027
+ resource_type: string;
158028
+ resource_id: string;
158029
+ groups: {
158030
+ context: {
158031
+ context_type: 'request';
158032
+ request_id: string;
158033
+ request_payload: {
158003
158034
  [x: string]: any;
158004
- } | undefined;
158005
- errors?: string[] | undefined;
158006
- warnings?: string[] | undefined;
158007
- } | {
158008
- entry_type: 'resource_deleted';
158009
- description: string;
158010
- } | {
158011
- entry_type: 'event';
158012
- event_type: string;
158013
- event_id: string;
158014
- } | {
158015
- entry_type: 'provider_call';
158016
- description: string;
158017
- response_status_code: number;
158018
- response_body?: {
158035
+ };
158036
+ response_payload: {
158019
158037
  [x: string]: any;
158020
- } | undefined;
158038
+ };
158039
+ } | {
158040
+ context_type: 'job';
158041
+ job_id: string;
158021
158042
  };
158043
+ entries: {
158044
+ resource_type: string;
158045
+ resource_id: string;
158046
+ entry_type: string;
158047
+ body: {
158048
+ entry_type: 'resource_created';
158049
+ description: string;
158050
+ } | {
158051
+ entry_type: 'resource_updated';
158052
+ description: string;
158053
+ properties_updated?: {
158054
+ [x: string]: any;
158055
+ } | undefined;
158056
+ errors?: string[] | undefined;
158057
+ warnings?: string[] | undefined;
158058
+ } | {
158059
+ entry_type: 'resource_deleted';
158060
+ description: string;
158061
+ } | {
158062
+ entry_type: 'event';
158063
+ event_type: string;
158064
+ event_id: string;
158065
+ } | {
158066
+ entry_type: 'provider_call';
158067
+ description: string;
158068
+ response_status_code: number;
158069
+ response_body?: {
158070
+ [x: string]: any;
158071
+ } | undefined;
158072
+ };
158073
+ created_at: string;
158074
+ }[];
158022
158075
  created_at: string;
158023
158076
  }[];
158024
- created_at: string;
158025
- }[];
158077
+ };
158026
158078
  /** Information about the current page of results. */
158027
158079
  pagination: {
158028
158080
  /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
@@ -158062,6 +158114,9 @@ type Routes = {
158062
158114
  workspace_id: string;
158063
158115
  automation_id: string | null;
158064
158116
  partner_resource_id: string | null;
158117
+ partner_key: string | null;
158118
+ resource_type: string | null;
158119
+ resource_type_alias: string | null;
158065
158120
  automation_result?: {
158066
158121
  success: boolean;
158067
158122
  rule: 'reservation_created' | 'reservation_time_updated' | 'reservation_deleted';