@seamapi/types 1.1019.0 → 1.1020.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.
@@ -77700,149 +77700,6 @@ const openapi = {
77700
77700
  },
77701
77701
  },
77702
77702
  '/unstable_partner/building_blocks/generate_magic_link': {
77703
- get: {
77704
- description: 'Creates a new building block magic link.',
77705
- operationId: 'unstablePartnerBuildingBlocksGenerateMagicLinkGet',
77706
- parameters: [
77707
- {
77708
- in: 'query',
77709
- name: 'building_block_type',
77710
- required: true,
77711
- schema: {
77712
- description: 'Type of building block for which you want to create a magic link.',
77713
- enum: [
77714
- 'connect_accounts',
77715
- 'organize_spaces',
77716
- 'console',
77717
- 'manage_devices',
77718
- ],
77719
- type: 'string',
77720
- },
77721
- },
77722
- {
77723
- in: 'query',
77724
- name: 'customer_key',
77725
- required: true,
77726
- schema: {
77727
- description: 'Customer key for which you want to create a new building block magic link.',
77728
- minLength: 1,
77729
- type: 'string',
77730
- },
77731
- },
77732
- {
77733
- in: 'query',
77734
- name: 'spaces',
77735
- required: false,
77736
- schema: {
77737
- description: 'Optional list of spaces that you want to include in the new building block magic link.',
77738
- items: {
77739
- properties: {
77740
- customer_data: {
77741
- description: 'Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).',
77742
- properties: {
77743
- address: {
77744
- description: 'Postal address for the space.',
77745
- nullable: true,
77746
- type: 'string',
77747
- },
77748
- default_checkin_time: {
77749
- description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
77750
- nullable: true,
77751
- pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
77752
- type: 'string',
77753
- },
77754
- default_checkout_time: {
77755
- description: 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
77756
- nullable: true,
77757
- pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
77758
- type: 'string',
77759
- },
77760
- time_zone: {
77761
- description: 'IANA time zone for the space, e.g. America/Los_Angeles.',
77762
- nullable: true,
77763
- type: 'string',
77764
- },
77765
- },
77766
- type: 'object',
77767
- },
77768
- duration_minutes: {
77769
- description: 'Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space.',
77770
- exclusiveMinimum: true,
77771
- minimum: 0,
77772
- type: 'integer',
77773
- },
77774
- geolocation: {
77775
- description: 'Geographic coordinates (latitude and longitude) of the space.',
77776
- properties: {
77777
- latitude: {
77778
- description: 'Latitude of the space, in decimal degrees.',
77779
- format: 'float',
77780
- type: 'number',
77781
- },
77782
- longitude: {
77783
- description: 'Longitude of the space, in decimal degrees.',
77784
- format: 'float',
77785
- type: 'number',
77786
- },
77787
- },
77788
- required: ['latitude', 'longitude'],
77789
- type: 'object',
77790
- },
77791
- name: {
77792
- description: 'Your display name for this location resource.',
77793
- type: 'string',
77794
- },
77795
- parent_site_key: {
77796
- description: 'Your unique identifier for the site.',
77797
- minLength: 1,
77798
- type: 'string',
77799
- },
77800
- space_key: {
77801
- description: 'Your unique identifier for the space.',
77802
- minLength: 1,
77803
- type: 'string',
77804
- },
77805
- },
77806
- required: ['name', 'space_key'],
77807
- type: 'object',
77808
- },
77809
- type: 'array',
77810
- },
77811
- },
77812
- ],
77813
- responses: {
77814
- '200': {
77815
- content: {
77816
- 'application/json': {
77817
- schema: {
77818
- properties: {
77819
- magic_link: { $ref: '#/components/schemas/magic_link' },
77820
- ok: { type: 'boolean' },
77821
- },
77822
- required: ['magic_link', 'ok'],
77823
- type: 'object',
77824
- },
77825
- },
77826
- },
77827
- description: 'OK',
77828
- },
77829
- '400': { description: 'Bad Request' },
77830
- '401': { description: 'Unauthorized' },
77831
- },
77832
- security: [
77833
- { pat_with_workspace: [] },
77834
- { console_session_with_workspace: [] },
77835
- { api_key: [] },
77836
- ],
77837
- summary: '/unstable_partner/building_blocks/generate_magic_link',
77838
- tags: [],
77839
- 'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'],
77840
- 'x-fern-sdk-method-name': 'generate_magic_link',
77841
- 'x-fern-sdk-return-value': 'magic_link',
77842
- 'x-response-key': 'magic_link',
77843
- 'x-title': 'Generate a Building Block Magic Link',
77844
- 'x-undocumented': 'Experimental partner building blocks.',
77845
- },
77846
77703
  post: {
77847
77704
  description: 'Creates a new building block magic link.',
77848
77705
  operationId: 'unstablePartnerBuildingBlocksGenerateMagicLinkPost',