@seamapi/types 1.406.6 → 1.406.7

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.
@@ -8662,6 +8662,41 @@ declare const _default: {
8662
8662
  'x-route-path': string;
8663
8663
  'x-undocumented': string;
8664
8664
  };
8665
+ magic_link: {
8666
+ properties: {
8667
+ building_block_type: {
8668
+ enum: string[];
8669
+ type: string;
8670
+ };
8671
+ created_at: {
8672
+ format: string;
8673
+ type: string;
8674
+ };
8675
+ customer_id: {
8676
+ format: string;
8677
+ type: string;
8678
+ };
8679
+ customer_key: {
8680
+ type: string;
8681
+ };
8682
+ expires_at: {
8683
+ format: string;
8684
+ type: string;
8685
+ };
8686
+ url: {
8687
+ format: string;
8688
+ type: string;
8689
+ };
8690
+ workspace_id: {
8691
+ format: string;
8692
+ type: string;
8693
+ };
8694
+ };
8695
+ required: string[];
8696
+ type: string;
8697
+ 'x-route-path': string;
8698
+ 'x-undocumented': string;
8699
+ };
8665
8700
  network: {
8666
8701
  properties: {
8667
8702
  created_at: {
@@ -24893,6 +24928,8 @@ declare const _default: {
24893
24928
  };
24894
24929
  required: string[];
24895
24930
  type: string;
24931
+ 'x-route-path': string;
24932
+ 'x-undocumented': string;
24896
24933
  };
24897
24934
  type: string;
24898
24935
  };
@@ -30125,7 +30162,7 @@ declare const _default: {
30125
30162
  'x-undocumented': string;
30126
30163
  };
30127
30164
  };
30128
- '/unstable_partner/building_blocks/generate_link': {
30165
+ '/unstable_partner/building_blocks/generate_magic_link': {
30129
30166
  post: {
30130
30167
  description: string;
30131
30168
  operationId: string;
@@ -30134,13 +30171,11 @@ declare const _default: {
30134
30171
  'application/json': {
30135
30172
  schema: {
30136
30173
  properties: {
30137
- bridge_client_machine_identifier_key: {
30138
- type: string;
30139
- };
30140
- bridge_client_name: {
30174
+ building_block_type: {
30175
+ enum: string[];
30141
30176
  type: string;
30142
30177
  };
30143
- bridge_client_time_zone: {
30178
+ customer_key: {
30144
30179
  type: string;
30145
30180
  };
30146
30181
  };
@@ -30156,138 +30191,8 @@ declare const _default: {
30156
30191
  'application/json': {
30157
30192
  schema: {
30158
30193
  properties: {
30159
- bridge_client_session: {
30160
- properties: {
30161
- bridge_client_machine_identifier_key: {
30162
- type: string;
30163
- };
30164
- bridge_client_name: {
30165
- type: string;
30166
- };
30167
- bridge_client_session_id: {
30168
- format: string;
30169
- type: string;
30170
- };
30171
- bridge_client_session_token: {
30172
- type: string;
30173
- };
30174
- bridge_client_time_zone: {
30175
- type: string;
30176
- };
30177
- created_at: {
30178
- format: string;
30179
- type: string;
30180
- };
30181
- errors: {
30182
- items: {
30183
- description: string;
30184
- discriminator: {
30185
- propertyName: string;
30186
- };
30187
- oneOf: ({
30188
- description: string;
30189
- properties: {
30190
- can_tailscale_proxy_reach_bridge: {
30191
- description: string;
30192
- nullable: boolean;
30193
- type: string;
30194
- };
30195
- can_tailscale_proxy_reach_tailscale_network: {
30196
- description: string;
30197
- nullable: boolean;
30198
- type: string;
30199
- };
30200
- created_at: {
30201
- format: string;
30202
- type: string;
30203
- };
30204
- error_code: {
30205
- description: string;
30206
- enum: string[];
30207
- type: string;
30208
- };
30209
- is_bridge_socks_server_healthy: {
30210
- description: string;
30211
- nullable: boolean;
30212
- type: string;
30213
- };
30214
- is_tailscale_proxy_reachable: {
30215
- description: string;
30216
- nullable: boolean;
30217
- type: string;
30218
- };
30219
- is_tailscale_proxy_socks_server_healthy: {
30220
- description: string;
30221
- nullable: boolean;
30222
- type: string;
30223
- };
30224
- message: {
30225
- type: string;
30226
- };
30227
- };
30228
- required: string[];
30229
- type: string;
30230
- } | {
30231
- description: string;
30232
- properties: {
30233
- created_at: {
30234
- format: string;
30235
- type: string;
30236
- };
30237
- error_code: {
30238
- description: string;
30239
- enum: string[];
30240
- type: string;
30241
- };
30242
- message: {
30243
- type: string;
30244
- };
30245
- can_tailscale_proxy_reach_bridge?: never;
30246
- can_tailscale_proxy_reach_tailscale_network?: never;
30247
- is_bridge_socks_server_healthy?: never;
30248
- is_tailscale_proxy_reachable?: never;
30249
- is_tailscale_proxy_socks_server_healthy?: never;
30250
- };
30251
- required: string[];
30252
- type: string;
30253
- })[];
30254
- };
30255
- type: string;
30256
- };
30257
- pairing_code: {
30258
- maxLength: number;
30259
- minLength: number;
30260
- type: string;
30261
- };
30262
- pairing_code_expires_at: {
30263
- format: string;
30264
- type: string;
30265
- };
30266
- tailscale_auth_key: {
30267
- nullable: boolean;
30268
- type: string;
30269
- };
30270
- tailscale_hostname: {
30271
- type: string;
30272
- };
30273
- telemetry_token: {
30274
- nullable: boolean;
30275
- type: string;
30276
- };
30277
- telemetry_token_expires_at: {
30278
- format: string;
30279
- nullable: boolean;
30280
- type: string;
30281
- };
30282
- telemetry_url: {
30283
- nullable: boolean;
30284
- type: string;
30285
- };
30286
- };
30287
- required: string[];
30288
- type: string;
30289
- 'x-route-path': string;
30290
- 'x-undocumented': string;
30194
+ magic_link: {
30195
+ $ref: string;
30291
30196
  };
30292
30197
  ok: {
30293
30198
  type: string;
@@ -30308,7 +30213,7 @@ declare const _default: {
30308
30213
  };
30309
30214
  };
30310
30215
  security: {
30311
- certified_client: never[];
30216
+ api_key: never[];
30312
30217
  }[];
30313
30218
  summary: string;
30314
30219
  tags: never[];
@@ -30375,9 +30280,13 @@ declare const _default: {
30375
30280
  };
30376
30281
  };
30377
30282
  type: string;
30283
+ 'x-route-path': string;
30284
+ 'x-undocumented': string;
30378
30285
  };
30379
30286
  type: string;
30380
30287
  properties?: never;
30288
+ 'x-route-path'?: never;
30289
+ 'x-undocumented'?: never;
30381
30290
  } | {
30382
30291
  properties: {
30383
30292
  custom_metadata: {
@@ -30424,6 +30333,8 @@ declare const _default: {
30424
30333
  };
30425
30334
  };
30426
30335
  type: string;
30336
+ 'x-route-path': string;
30337
+ 'x-undocumented': string;
30427
30338
  items?: never;
30428
30339
  })[];
30429
30340
  };
@@ -14519,6 +14519,32 @@ export default {
14519
14519
  'x-route-path': '/user_identities',
14520
14520
  'x-undocumented': 'Unreleased.',
14521
14521
  },
14522
+ magic_link: {
14523
+ properties: {
14524
+ building_block_type: {
14525
+ enum: ['connect_account', 'manage_devices'],
14526
+ type: 'string',
14527
+ },
14528
+ created_at: { format: 'date-time', type: 'string' },
14529
+ customer_id: { format: 'uuid', type: 'string' },
14530
+ customer_key: { type: 'string' },
14531
+ expires_at: { format: 'date-time', type: 'string' },
14532
+ url: { format: 'uri', type: 'string' },
14533
+ workspace_id: { format: 'uuid', type: 'string' },
14534
+ },
14535
+ required: [
14536
+ 'url',
14537
+ 'building_block_type',
14538
+ 'customer_id',
14539
+ 'customer_key',
14540
+ 'expires_at',
14541
+ 'workspace_id',
14542
+ 'created_at',
14543
+ ],
14544
+ type: 'object',
14545
+ 'x-route-path': '/unstable_partner/building_blocks',
14546
+ 'x-undocumented': 'Unreleased.',
14547
+ },
14522
14548
  network: {
14523
14549
  properties: {
14524
14550
  created_at: { format: 'date-time', type: 'string' },
@@ -30386,6 +30412,8 @@ export default {
30386
30412
  'customer_key',
30387
30413
  ],
30388
30414
  type: 'object',
30415
+ 'x-route-path': '/unstable_partner/resources',
30416
+ 'x-undocumented': 'Unreleased.',
30389
30417
  },
30390
30418
  type: 'array',
30391
30419
  },
@@ -34652,24 +34680,22 @@ export default {
34652
34680
  'x-undocumented': 'Experimental locations.',
34653
34681
  },
34654
34682
  },
34655
- '/unstable_partner/building_blocks/generate_link': {
34683
+ '/unstable_partner/building_blocks/generate_magic_link': {
34656
34684
  post: {
34657
- description: 'Creates a new bridge client session.',
34658
- operationId: 'unstablePartnerBuildingBlocksGenerateLinkPost',
34685
+ description: 'Creates a new building block magic link.',
34686
+ operationId: 'unstablePartnerBuildingBlocksGenerateMagicLinkPost',
34659
34687
  requestBody: {
34660
34688
  content: {
34661
34689
  'application/json': {
34662
34690
  schema: {
34663
34691
  properties: {
34664
- bridge_client_machine_identifier_key: { type: 'string' },
34665
- bridge_client_name: { type: 'string' },
34666
- bridge_client_time_zone: { type: 'string' },
34692
+ building_block_type: {
34693
+ enum: ['connect_account', 'manage_devices'],
34694
+ type: 'string',
34695
+ },
34696
+ customer_key: { type: 'string' },
34667
34697
  },
34668
- required: [
34669
- 'bridge_client_name',
34670
- 'bridge_client_time_zone',
34671
- 'bridge_client_machine_identifier_key',
34672
- ],
34698
+ required: ['building_block_type', 'customer_key'],
34673
34699
  type: 'object',
34674
34700
  },
34675
34701
  },
@@ -34681,142 +34707,10 @@ export default {
34681
34707
  'application/json': {
34682
34708
  schema: {
34683
34709
  properties: {
34684
- bridge_client_session: {
34685
- properties: {
34686
- bridge_client_machine_identifier_key: {
34687
- type: 'string',
34688
- },
34689
- bridge_client_name: { type: 'string' },
34690
- bridge_client_session_id: {
34691
- format: 'uuid',
34692
- type: 'string',
34693
- },
34694
- bridge_client_session_token: { type: 'string' },
34695
- bridge_client_time_zone: { type: 'string' },
34696
- created_at: { format: 'date-time', type: 'string' },
34697
- errors: {
34698
- items: {
34699
- description: 'Error associated with the `bridge_client_session`.',
34700
- discriminator: { propertyName: 'error_code' },
34701
- oneOf: [
34702
- {
34703
- description: "Seam cannot reach the bridge's LAN",
34704
- properties: {
34705
- can_tailscale_proxy_reach_bridge: {
34706
- description: 'Tailscale proxy cannot reach the bridge',
34707
- nullable: true,
34708
- type: 'boolean',
34709
- },
34710
- can_tailscale_proxy_reach_tailscale_network: {
34711
- description: 'Tailscale proxy cannot reach the Tailscale network',
34712
- nullable: true,
34713
- type: 'boolean',
34714
- },
34715
- created_at: {
34716
- format: 'date-time',
34717
- type: 'string',
34718
- },
34719
- error_code: {
34720
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
34721
- enum: ['bridge_lan_unreachable'],
34722
- type: 'string',
34723
- },
34724
- is_bridge_socks_server_healthy: {
34725
- description: "Bridge's SOCKS server is unhealthy",
34726
- nullable: true,
34727
- type: 'boolean',
34728
- },
34729
- is_tailscale_proxy_reachable: {
34730
- description: 'Seam cannot reach the tailscale proxy',
34731
- nullable: true,
34732
- type: 'boolean',
34733
- },
34734
- is_tailscale_proxy_socks_server_healthy: {
34735
- description: "Tailscale proxy's SOCKS server is unhealthy",
34736
- nullable: true,
34737
- type: 'boolean',
34738
- },
34739
- message: { type: 'string' },
34740
- },
34741
- required: [
34742
- 'message',
34743
- 'created_at',
34744
- 'error_code',
34745
- 'is_tailscale_proxy_reachable',
34746
- 'is_tailscale_proxy_socks_server_healthy',
34747
- 'can_tailscale_proxy_reach_tailscale_network',
34748
- 'can_tailscale_proxy_reach_bridge',
34749
- 'is_bridge_socks_server_healthy',
34750
- ],
34751
- type: 'object',
34752
- },
34753
- {
34754
- description: 'Bridge has stopped communicating with Seam',
34755
- properties: {
34756
- created_at: {
34757
- format: 'date-time',
34758
- type: 'string',
34759
- },
34760
- error_code: {
34761
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
34762
- enum: ['no_communication_from_bridge'],
34763
- type: 'string',
34764
- },
34765
- message: { type: 'string' },
34766
- },
34767
- required: [
34768
- 'message',
34769
- 'created_at',
34770
- 'error_code',
34771
- ],
34772
- type: 'object',
34773
- },
34774
- ],
34775
- },
34776
- type: 'array',
34777
- },
34778
- pairing_code: {
34779
- maxLength: 6,
34780
- minLength: 6,
34781
- type: 'string',
34782
- },
34783
- pairing_code_expires_at: {
34784
- format: 'date-time',
34785
- type: 'string',
34786
- },
34787
- tailscale_auth_key: { nullable: true, type: 'string' },
34788
- tailscale_hostname: { type: 'string' },
34789
- telemetry_token: { nullable: true, type: 'string' },
34790
- telemetry_token_expires_at: {
34791
- format: 'date-time',
34792
- nullable: true,
34793
- type: 'string',
34794
- },
34795
- telemetry_url: { nullable: true, type: 'string' },
34796
- },
34797
- required: [
34798
- 'created_at',
34799
- 'bridge_client_session_id',
34800
- 'bridge_client_session_token',
34801
- 'pairing_code',
34802
- 'pairing_code_expires_at',
34803
- 'tailscale_hostname',
34804
- 'tailscale_auth_key',
34805
- 'bridge_client_name',
34806
- 'bridge_client_time_zone',
34807
- 'bridge_client_machine_identifier_key',
34808
- 'errors',
34809
- 'telemetry_token',
34810
- 'telemetry_token_expires_at',
34811
- 'telemetry_url',
34812
- ],
34813
- type: 'object',
34814
- 'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
34815
- 'x-undocumented': 'Seam Bridge Client only.',
34816
- },
34710
+ magic_link: { $ref: '#/components/schemas/magic_link' },
34817
34711
  ok: { type: 'boolean' },
34818
34712
  },
34819
- required: ['bridge_client_session', 'ok'],
34713
+ required: ['magic_link', 'ok'],
34820
34714
  type: 'object',
34821
34715
  },
34822
34716
  },
@@ -34826,13 +34720,13 @@ export default {
34826
34720
  400: { description: 'Bad Request' },
34827
34721
  401: { description: 'Unauthorized' },
34828
34722
  },
34829
- security: [{ certified_client: [] }],
34830
- summary: '/unstable_partner/building_blocks/generate_link',
34723
+ security: [{ api_key: [] }],
34724
+ summary: '/unstable_partner/building_blocks/generate_magic_link',
34831
34725
  tags: [],
34832
34726
  'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'],
34833
- 'x-fern-sdk-method-name': 'generate_link',
34834
- 'x-fern-sdk-return-value': 'bridge_client_session',
34835
- 'x-response-key': 'bridge_client_session',
34727
+ 'x-fern-sdk-method-name': 'generate_magic_link',
34728
+ 'x-fern-sdk-return-value': 'magic_link',
34729
+ 'x-response-key': 'magic_link',
34836
34730
  'x-title': 'Generate a building block magic link',
34837
34731
  'x-undocumented': 'Experimental partner building blocks.',
34838
34732
  },
@@ -34869,6 +34763,8 @@ export default {
34869
34763
  user_identity_key: { type: 'string' },
34870
34764
  },
34871
34765
  type: 'object',
34766
+ 'x-route-path': '/unstable_partner/resources',
34767
+ 'x-undocumented': 'Unreleased.',
34872
34768
  },
34873
34769
  type: 'array',
34874
34770
  },
@@ -34894,6 +34790,8 @@ export default {
34894
34790
  user_identity_key: { type: 'string' },
34895
34791
  },
34896
34792
  type: 'object',
34793
+ 'x-route-path': '/unstable_partner/resources',
34794
+ 'x-undocumented': 'Unreleased.',
34897
34795
  },
34898
34796
  ],
34899
34797
  },