@seamapi/types 1.976.0 → 1.977.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
@@ -57107,15 +57107,42 @@ var openapi = {
57107
57107
  },
57108
57108
  deep_link: {
57109
57109
  description: "Deep link target resource for initial redirect. When set, the portal will navigate directly to the specified resource.",
57110
- properties: {
57111
- resource_key: { type: "string" },
57112
- resource_type: {
57113
- enum: ["reservation", "space"],
57114
- type: "string"
57110
+ discriminator: { propertyName: "resource_type" },
57111
+ oneOf: [
57112
+ {
57113
+ properties: {
57114
+ resource_key: { type: "string" },
57115
+ resource_type: {
57116
+ enum: ["reservation"],
57117
+ type: "string"
57118
+ }
57119
+ },
57120
+ required: ["resource_type", "resource_key"],
57121
+ type: "object"
57122
+ },
57123
+ {
57124
+ properties: {
57125
+ resource_key: { type: "string" },
57126
+ resource_type: {
57127
+ enum: ["space"],
57128
+ type: "string"
57129
+ }
57130
+ },
57131
+ required: ["resource_type", "resource_key"],
57132
+ type: "object"
57133
+ },
57134
+ {
57135
+ properties: {
57136
+ resource_id: { type: "string" },
57137
+ resource_type: {
57138
+ enum: ["device"],
57139
+ type: "string"
57140
+ }
57141
+ },
57142
+ required: ["resource_type", "resource_id"],
57143
+ type: "object"
57115
57144
  }
57116
- },
57117
- required: ["resource_type", "resource_key"],
57118
- type: "object",
57145
+ ],
57119
57146
  "x-undocumented": "Internal endpoint for customer portals."
57120
57147
  },
57121
57148
  exclude_locale_picker: {
@@ -77668,15 +77695,42 @@ var openapi = {
77668
77695
  },
77669
77696
  deep_link: {
77670
77697
  description: "Deep link target resource for initial redirect. When set, the portal will navigate directly to the specified resource.",
77671
- properties: {
77672
- resource_key: { type: "string" },
77673
- resource_type: {
77674
- enum: ["reservation", "space"],
77675
- type: "string"
77698
+ discriminator: { propertyName: "resource_type" },
77699
+ oneOf: [
77700
+ {
77701
+ properties: {
77702
+ resource_key: { type: "string" },
77703
+ resource_type: {
77704
+ enum: ["reservation"],
77705
+ type: "string"
77706
+ }
77707
+ },
77708
+ required: ["resource_type", "resource_key"],
77709
+ type: "object"
77710
+ },
77711
+ {
77712
+ properties: {
77713
+ resource_key: { type: "string" },
77714
+ resource_type: {
77715
+ enum: ["space"],
77716
+ type: "string"
77717
+ }
77718
+ },
77719
+ required: ["resource_type", "resource_key"],
77720
+ type: "object"
77721
+ },
77722
+ {
77723
+ properties: {
77724
+ resource_id: { type: "string" },
77725
+ resource_type: {
77726
+ enum: ["device"],
77727
+ type: "string"
77728
+ }
77729
+ },
77730
+ required: ["resource_type", "resource_id"],
77731
+ type: "object"
77676
77732
  }
77677
- },
77678
- required: ["resource_type", "resource_key"],
77679
- type: "object",
77733
+ ],
77680
77734
  "x-undocumented": "Internal endpoint for customer portals."
77681
77735
  },
77682
77736
  exclude_locale_picker: {
@@ -78095,15 +78149,42 @@ var openapi = {
78095
78149
  },
78096
78150
  deep_link: {
78097
78151
  description: "Deep link target resource for initial redirect. When set, the portal will navigate directly to the specified resource.",
78098
- properties: {
78099
- resource_key: { type: "string" },
78100
- resource_type: {
78101
- enum: ["reservation", "space"],
78102
- type: "string"
78152
+ discriminator: { propertyName: "resource_type" },
78153
+ oneOf: [
78154
+ {
78155
+ properties: {
78156
+ resource_key: { type: "string" },
78157
+ resource_type: {
78158
+ enum: ["reservation"],
78159
+ type: "string"
78160
+ }
78161
+ },
78162
+ required: ["resource_type", "resource_key"],
78163
+ type: "object"
78164
+ },
78165
+ {
78166
+ properties: {
78167
+ resource_key: { type: "string" },
78168
+ resource_type: {
78169
+ enum: ["space"],
78170
+ type: "string"
78171
+ }
78172
+ },
78173
+ required: ["resource_type", "resource_key"],
78174
+ type: "object"
78175
+ },
78176
+ {
78177
+ properties: {
78178
+ resource_id: { type: "string" },
78179
+ resource_type: {
78180
+ enum: ["device"],
78181
+ type: "string"
78182
+ }
78183
+ },
78184
+ required: ["resource_type", "resource_id"],
78185
+ type: "object"
78103
78186
  }
78104
- },
78105
- required: ["resource_type", "resource_key"],
78106
- type: "object",
78187
+ ],
78107
78188
  "x-undocumented": "Internal endpoint for customer portals."
78108
78189
  },
78109
78190
  exclude_locale_picker: {
@@ -78497,15 +78578,42 @@ var openapi = {
78497
78578
  },
78498
78579
  deep_link: {
78499
78580
  description: "Deep link target resource for initial redirect. When set, the portal will navigate directly to the specified resource.",
78500
- properties: {
78501
- resource_key: { type: "string" },
78502
- resource_type: {
78503
- enum: ["reservation", "space"],
78504
- type: "string"
78581
+ discriminator: { propertyName: "resource_type" },
78582
+ oneOf: [
78583
+ {
78584
+ properties: {
78585
+ resource_key: { type: "string" },
78586
+ resource_type: {
78587
+ enum: ["reservation"],
78588
+ type: "string"
78589
+ }
78590
+ },
78591
+ required: ["resource_type", "resource_key"],
78592
+ type: "object"
78593
+ },
78594
+ {
78595
+ properties: {
78596
+ resource_key: { type: "string" },
78597
+ resource_type: {
78598
+ enum: ["space"],
78599
+ type: "string"
78600
+ }
78601
+ },
78602
+ required: ["resource_type", "resource_key"],
78603
+ type: "object"
78604
+ },
78605
+ {
78606
+ properties: {
78607
+ resource_id: { type: "string" },
78608
+ resource_type: {
78609
+ enum: ["device"],
78610
+ type: "string"
78611
+ }
78612
+ },
78613
+ required: ["resource_type", "resource_id"],
78614
+ type: "object"
78505
78615
  }
78506
- },
78507
- required: ["resource_type", "resource_key"],
78508
- type: "object",
78616
+ ],
78509
78617
  "x-undocumented": "Internal endpoint for customer portals."
78510
78618
  },
78511
78619
  exclude_locale_picker: {
@@ -78880,15 +78988,42 @@ var openapi = {
78880
78988
  },
78881
78989
  deep_link: {
78882
78990
  description: "Deep link target resource for initial redirect. When set, the portal will navigate directly to the specified resource.",
78883
- properties: {
78884
- resource_key: { type: "string" },
78885
- resource_type: {
78886
- enum: ["reservation", "space"],
78887
- type: "string"
78991
+ discriminator: { propertyName: "resource_type" },
78992
+ oneOf: [
78993
+ {
78994
+ properties: {
78995
+ resource_key: { type: "string" },
78996
+ resource_type: {
78997
+ enum: ["reservation"],
78998
+ type: "string"
78999
+ }
79000
+ },
79001
+ required: ["resource_type", "resource_key"],
79002
+ type: "object"
79003
+ },
79004
+ {
79005
+ properties: {
79006
+ resource_key: { type: "string" },
79007
+ resource_type: {
79008
+ enum: ["space"],
79009
+ type: "string"
79010
+ }
79011
+ },
79012
+ required: ["resource_type", "resource_key"],
79013
+ type: "object"
79014
+ },
79015
+ {
79016
+ properties: {
79017
+ resource_id: { type: "string" },
79018
+ resource_type: {
79019
+ enum: ["device"],
79020
+ type: "string"
79021
+ }
79022
+ },
79023
+ required: ["resource_type", "resource_id"],
79024
+ type: "object"
78888
79025
  }
78889
- },
78890
- required: ["resource_type", "resource_key"],
78891
- type: "object",
79026
+ ],
78892
79027
  "x-undocumented": "Internal endpoint for customer portals."
78893
79028
  },
78894
79029
  exclude_locale_picker: {