@seamapi/types 1.410.2 → 1.411.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
@@ -5087,7 +5087,8 @@ var pagination = zod.z.object({
5087
5087
  var building_block_type = zod.z.enum([
5088
5088
  "connect_accounts",
5089
5089
  "manage_devices",
5090
- "organize_spaces"
5090
+ "organize_spaces",
5091
+ "console"
5091
5092
  ]);
5092
5093
  var magic_link = zod.z.object({
5093
5094
  url: zod.z.string().url(),
@@ -19754,7 +19755,12 @@ var openapi_default = {
19754
19755
  magic_link: {
19755
19756
  properties: {
19756
19757
  building_block_type: {
19757
- enum: ["connect_accounts", "manage_devices", "organize_spaces"],
19758
+ enum: [
19759
+ "connect_accounts",
19760
+ "manage_devices",
19761
+ "organize_spaces",
19762
+ "console"
19763
+ ],
19758
19764
  type: "string"
19759
19765
  },
19760
19766
  created_at: { format: "date-time", type: "string" },
@@ -42100,72 +42106,43 @@ var openapi_default = {
42100
42106
  content: {
42101
42107
  "application/json": {
42102
42108
  schema: {
42103
- oneOf: [
42104
- {
42105
- properties: {
42106
- building_block_type: {
42107
- description: "`connect_accounts` building block type.",
42108
- enum: ["connect_accounts"],
42109
- type: "string"
42110
- },
42111
- customer_key: {
42112
- description: "Customer key for which you want to create a new building block magic link.",
42113
- type: "string"
42114
- }
42115
- },
42116
- required: ["building_block_type", "customer_key"],
42117
- type: "object"
42109
+ properties: {
42110
+ building_block_type: {
42111
+ description: "Type of building block to create a magic link for.",
42112
+ enum: [
42113
+ "connect_accounts",
42114
+ "organize_spaces",
42115
+ "console",
42116
+ "manage_devices"
42117
+ ],
42118
+ type: "string"
42118
42119
  },
42119
- {
42120
- properties: {
42121
- building_block_type: {
42122
- description: "`manage_devices` building block type.",
42123
- enum: ["manage_devices"],
42124
- type: "string"
42125
- },
42126
- customer_key: {
42127
- description: "Customer key for which you want to create a new building block magic link.",
42128
- type: "string"
42129
- }
42130
- },
42131
- required: ["building_block_type", "customer_key"],
42132
- type: "object"
42120
+ customer_key: {
42121
+ description: "Customer key for which you want to create a new building block magic link.",
42122
+ type: "string"
42133
42123
  },
42134
- {
42135
- properties: {
42136
- building_block_type: {
42137
- description: "`organize_spaces` building block type.",
42138
- enum: ["organize_spaces"],
42139
- type: "string"
42140
- },
42141
- customer_key: {
42142
- description: "Customer key for which you want to create a new building block magic link.",
42143
- type: "string"
42144
- },
42145
- partner_resources: {
42146
- description: "Optional list of partner resources that you want to include in the new building block magic link.",
42147
- items: {
42148
- properties: {
42149
- custom_metadata: {
42150
- additionalProperties: { type: "string" },
42151
- type: "object"
42152
- },
42153
- description: { type: "string" },
42154
- name: { type: "string" },
42155
- partner_resource_key: { type: "string" }
42156
- },
42157
- required: ["partner_resource_key", "name"],
42158
- type: "object",
42159
- "x-route-path": "/unstable_partner/resources",
42160
- "x-undocumented": "Unreleased."
42124
+ spaces: {
42125
+ description: "Optional list of spaces that you want to include in the new building block magic link.",
42126
+ items: {
42127
+ properties: {
42128
+ custom_metadata: {
42129
+ additionalProperties: { type: "string" },
42130
+ type: "object"
42161
42131
  },
42162
- type: "array"
42163
- }
42132
+ description: { type: "string" },
42133
+ name: { type: "string" },
42134
+ space_key: { type: "string" }
42135
+ },
42136
+ required: ["space_key", "name"],
42137
+ type: "object",
42138
+ "x-route-path": "/unstable_partner/resources",
42139
+ "x-undocumented": "Unreleased."
42164
42140
  },
42165
- required: ["building_block_type", "customer_key"],
42166
- type: "object"
42141
+ type: "array"
42167
42142
  }
42168
- ]
42143
+ },
42144
+ required: ["building_block_type", "customer_key"],
42145
+ type: "object"
42169
42146
  }
42170
42147
  }
42171
42148
  }
@@ -42271,8 +42248,8 @@ var openapi_default = {
42271
42248
  description: "Customer key for which you want to organize spaces.",
42272
42249
  type: "string"
42273
42250
  },
42274
- partner_resources: {
42275
- description: "Optional list of partner resources that you want to include in the new building block magic link.",
42251
+ spaces: {
42252
+ description: "Optional list of spaces that you want to include in the new building block magic link.",
42276
42253
  items: {
42277
42254
  properties: {
42278
42255
  custom_metadata: {
@@ -42281,9 +42258,9 @@ var openapi_default = {
42281
42258
  },
42282
42259
  description: { type: "string" },
42283
42260
  name: { type: "string" },
42284
- partner_resource_key: { type: "string" }
42261
+ space_key: { type: "string" }
42285
42262
  },
42286
- required: ["partner_resource_key", "name"],
42263
+ required: ["space_key", "name"],
42287
42264
  type: "object",
42288
42265
  "x-route-path": "/unstable_partner/resources",
42289
42266
  "x-undocumented": "Unreleased."