@seamapi/types 1.406.8 → 1.406.9

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.
@@ -30413,7 +30413,7 @@ declare const _default: {
30413
30413
  'x-undocumented': string;
30414
30414
  };
30415
30415
  };
30416
- '/unstable_partner/building_blocks/generate_magic_link': {
30416
+ '/unstable_partner/building_blocks/connect_accounts': {
30417
30417
  post: {
30418
30418
  description: string;
30419
30419
  operationId: string;
@@ -30421,9 +30421,75 @@ declare const _default: {
30421
30421
  content: {
30422
30422
  'application/json': {
30423
30423
  schema: {
30424
- discriminator: {
30425
- propertyName: string;
30424
+ properties: {
30425
+ customer_key: {
30426
+ type: string;
30427
+ };
30428
+ };
30429
+ required: string[];
30430
+ type: string;
30431
+ };
30432
+ };
30433
+ };
30434
+ };
30435
+ responses: {
30436
+ 200: {
30437
+ content: {
30438
+ 'application/json': {
30439
+ schema: {
30440
+ properties: {
30441
+ magic_link: {
30442
+ $ref: string;
30443
+ };
30444
+ ok: {
30445
+ type: string;
30446
+ };
30447
+ };
30448
+ required: string[];
30449
+ type: string;
30426
30450
  };
30451
+ };
30452
+ };
30453
+ description: string;
30454
+ };
30455
+ 400: {
30456
+ description: string;
30457
+ };
30458
+ 401: {
30459
+ description: string;
30460
+ };
30461
+ };
30462
+ security: ({
30463
+ pat_with_workspace: never[];
30464
+ console_session_with_workspace?: never;
30465
+ api_key?: never;
30466
+ } | {
30467
+ console_session_with_workspace: never[];
30468
+ pat_with_workspace?: never;
30469
+ api_key?: never;
30470
+ } | {
30471
+ api_key: never[];
30472
+ pat_with_workspace?: never;
30473
+ console_session_with_workspace?: never;
30474
+ })[];
30475
+ summary: string;
30476
+ tags: never[];
30477
+ 'x-fern-sdk-group-name': string[];
30478
+ 'x-fern-sdk-method-name': string;
30479
+ 'x-fern-sdk-return-value': string;
30480
+ 'x-response-key': string;
30481
+ 'x-title': string;
30482
+ 'x-undocumented': string;
30483
+ };
30484
+ };
30485
+ '/unstable_partner/building_blocks/generate_magic_link': {
30486
+ post: {
30487
+ description: string;
30488
+ operationId: string;
30489
+ requestBody: {
30490
+ content: {
30491
+ 'application/json': {
30492
+ schema: {
30427
30493
  oneOf: ({
30428
30494
  properties: {
30429
30495
  building_block_type: {
@@ -30433,7 +30499,7 @@ declare const _default: {
30433
30499
  customer_key: {
30434
30500
  type: string;
30435
30501
  };
30436
- partner_resources?: never;
30502
+ collection_key?: never;
30437
30503
  };
30438
30504
  required: string[];
30439
30505
  type: string;
@@ -30443,39 +30509,181 @@ declare const _default: {
30443
30509
  enum: string[];
30444
30510
  type: string;
30445
30511
  };
30512
+ collection_key: {
30513
+ type: string;
30514
+ };
30446
30515
  customer_key: {
30447
30516
  type: string;
30448
30517
  };
30449
- partner_resources: {
30450
- items: {
30451
- properties: {
30452
- custom_metadata: {
30453
- additionalProperties: {
30454
- type: string;
30455
- };
30456
- type: string;
30457
- };
30458
- description: {
30459
- type: string;
30460
- };
30461
- name: {
30462
- type: string;
30463
- };
30464
- partner_resource_key: {
30518
+ };
30519
+ required: string[];
30520
+ type: string;
30521
+ })[];
30522
+ };
30523
+ };
30524
+ };
30525
+ };
30526
+ responses: {
30527
+ 200: {
30528
+ content: {
30529
+ 'application/json': {
30530
+ schema: {
30531
+ properties: {
30532
+ magic_link: {
30533
+ $ref: string;
30534
+ };
30535
+ ok: {
30536
+ type: string;
30537
+ };
30538
+ };
30539
+ required: string[];
30540
+ type: string;
30541
+ };
30542
+ };
30543
+ };
30544
+ description: string;
30545
+ };
30546
+ 400: {
30547
+ description: string;
30548
+ };
30549
+ 401: {
30550
+ description: string;
30551
+ };
30552
+ };
30553
+ security: ({
30554
+ pat_with_workspace: never[];
30555
+ console_session_with_workspace?: never;
30556
+ api_key?: never;
30557
+ } | {
30558
+ console_session_with_workspace: never[];
30559
+ pat_with_workspace?: never;
30560
+ api_key?: never;
30561
+ } | {
30562
+ api_key: never[];
30563
+ pat_with_workspace?: never;
30564
+ console_session_with_workspace?: never;
30565
+ })[];
30566
+ summary: string;
30567
+ tags: never[];
30568
+ 'x-fern-sdk-group-name': string[];
30569
+ 'x-fern-sdk-method-name': string;
30570
+ 'x-fern-sdk-return-value': string;
30571
+ 'x-response-key': string;
30572
+ 'x-title': string;
30573
+ 'x-undocumented': string;
30574
+ };
30575
+ };
30576
+ '/unstable_partner/building_blocks/manage_devices': {
30577
+ post: {
30578
+ description: string;
30579
+ operationId: string;
30580
+ requestBody: {
30581
+ content: {
30582
+ 'application/json': {
30583
+ schema: {
30584
+ properties: {
30585
+ customer_key: {
30586
+ type: string;
30587
+ };
30588
+ };
30589
+ required: string[];
30590
+ type: string;
30591
+ };
30592
+ };
30593
+ };
30594
+ };
30595
+ responses: {
30596
+ 200: {
30597
+ content: {
30598
+ 'application/json': {
30599
+ schema: {
30600
+ properties: {
30601
+ magic_link: {
30602
+ $ref: string;
30603
+ };
30604
+ ok: {
30605
+ type: string;
30606
+ };
30607
+ };
30608
+ required: string[];
30609
+ type: string;
30610
+ };
30611
+ };
30612
+ };
30613
+ description: string;
30614
+ };
30615
+ 400: {
30616
+ description: string;
30617
+ };
30618
+ 401: {
30619
+ description: string;
30620
+ };
30621
+ };
30622
+ security: ({
30623
+ pat_with_workspace: never[];
30624
+ console_session_with_workspace?: never;
30625
+ api_key?: never;
30626
+ } | {
30627
+ console_session_with_workspace: never[];
30628
+ pat_with_workspace?: never;
30629
+ api_key?: never;
30630
+ } | {
30631
+ api_key: never[];
30632
+ pat_with_workspace?: never;
30633
+ console_session_with_workspace?: never;
30634
+ })[];
30635
+ summary: string;
30636
+ tags: never[];
30637
+ 'x-fern-sdk-group-name': string[];
30638
+ 'x-fern-sdk-method-name': string;
30639
+ 'x-fern-sdk-return-value': string;
30640
+ 'x-response-key': string;
30641
+ 'x-title': string;
30642
+ 'x-undocumented': string;
30643
+ };
30644
+ };
30645
+ '/unstable_partner/building_blocks/organize_spaces': {
30646
+ post: {
30647
+ description: string;
30648
+ operationId: string;
30649
+ requestBody: {
30650
+ content: {
30651
+ 'application/json': {
30652
+ schema: {
30653
+ properties: {
30654
+ customer_key: {
30655
+ type: string;
30656
+ };
30657
+ partner_resources: {
30658
+ items: {
30659
+ properties: {
30660
+ custom_metadata: {
30661
+ additionalProperties: {
30465
30662
  type: string;
30466
30663
  };
30664
+ type: string;
30665
+ };
30666
+ description: {
30667
+ type: string;
30668
+ };
30669
+ name: {
30670
+ type: string;
30671
+ };
30672
+ partner_resource_key: {
30673
+ type: string;
30467
30674
  };
30468
- required: string[];
30469
- type: string;
30470
- 'x-route-path': string;
30471
- 'x-undocumented': string;
30472
30675
  };
30676
+ required: string[];
30473
30677
  type: string;
30678
+ 'x-route-path': string;
30679
+ 'x-undocumented': string;
30474
30680
  };
30681
+ minItems: number;
30682
+ type: string;
30475
30683
  };
30476
- required: string[];
30477
- type: string;
30478
- })[];
30684
+ };
30685
+ required: string[];
30686
+ type: string;
30479
30687
  };
30480
30688
  };
30481
30689
  };
@@ -30507,9 +30715,19 @@ declare const _default: {
30507
30715
  description: string;
30508
30716
  };
30509
30717
  };
30510
- security: {
30718
+ security: ({
30719
+ pat_with_workspace: never[];
30720
+ console_session_with_workspace?: never;
30721
+ api_key?: never;
30722
+ } | {
30723
+ console_session_with_workspace: never[];
30724
+ pat_with_workspace?: never;
30725
+ api_key?: never;
30726
+ } | {
30511
30727
  api_key: never[];
30512
- }[];
30728
+ pat_with_workspace?: never;
30729
+ console_session_with_workspace?: never;
30730
+ })[];
30513
30731
  summary: string;
30514
30732
  tags: never[];
30515
30733
  'x-fern-sdk-group-name': string[];
@@ -14534,7 +14534,7 @@ export default {
14534
14534
  magic_link: {
14535
14535
  properties: {
14536
14536
  building_block_type: {
14537
- enum: ['connect_account', 'manage_devices', 'organize_spaces'],
14537
+ enum: ['connect_accounts', 'manage_devices', 'organize_spaces'],
14538
14538
  type: 'string',
14539
14539
  },
14540
14540
  created_at: { format: 'date-time', type: 'string' },
@@ -34982,6 +34982,55 @@ export default {
34982
34982
  'x-undocumented': 'Experimental locations.',
34983
34983
  },
34984
34984
  },
34985
+ '/unstable_partner/building_blocks/connect_accounts': {
34986
+ post: {
34987
+ description: 'Creates a new building block magic link to connect accounts.',
34988
+ operationId: 'unstablePartnerBuildingBlocksConnectAccountsPost',
34989
+ requestBody: {
34990
+ content: {
34991
+ 'application/json': {
34992
+ schema: {
34993
+ properties: { customer_key: { type: 'string' } },
34994
+ required: ['customer_key'],
34995
+ type: 'object',
34996
+ },
34997
+ },
34998
+ },
34999
+ },
35000
+ responses: {
35001
+ 200: {
35002
+ content: {
35003
+ 'application/json': {
35004
+ schema: {
35005
+ properties: {
35006
+ magic_link: { $ref: '#/components/schemas/magic_link' },
35007
+ ok: { type: 'boolean' },
35008
+ },
35009
+ required: ['magic_link', 'ok'],
35010
+ type: 'object',
35011
+ },
35012
+ },
35013
+ },
35014
+ description: 'OK',
35015
+ },
35016
+ 400: { description: 'Bad Request' },
35017
+ 401: { description: 'Unauthorized' },
35018
+ },
35019
+ security: [
35020
+ { pat_with_workspace: [] },
35021
+ { console_session_with_workspace: [] },
35022
+ { api_key: [] },
35023
+ ],
35024
+ summary: '/unstable_partner/building_blocks/connect_accounts',
35025
+ tags: [],
35026
+ 'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'],
35027
+ 'x-fern-sdk-method-name': 'connect_accounts',
35028
+ 'x-fern-sdk-return-value': 'magic_link',
35029
+ 'x-response-key': 'magic_link',
35030
+ 'x-title': 'Connect Accounts',
35031
+ 'x-undocumented': 'Experimental partner building blocks.',
35032
+ },
35033
+ },
34985
35034
  '/unstable_partner/building_blocks/generate_magic_link': {
34986
35035
  post: {
34987
35036
  description: 'Creates a new building block magic link.',
@@ -34990,12 +35039,11 @@ export default {
34990
35039
  content: {
34991
35040
  'application/json': {
34992
35041
  schema: {
34993
- discriminator: { propertyName: 'building_block_type' },
34994
35042
  oneOf: [
34995
35043
  {
34996
35044
  properties: {
34997
35045
  building_block_type: {
34998
- enum: ['connect_account'],
35046
+ enum: ['connect_accounts'],
34999
35047
  type: 'string',
35000
35048
  },
35001
35049
  customer_key: { type: 'string' },
@@ -35020,30 +35068,13 @@ export default {
35020
35068
  enum: ['organize_spaces'],
35021
35069
  type: 'string',
35022
35070
  },
35071
+ collection_key: { type: 'string' },
35023
35072
  customer_key: { type: 'string' },
35024
- partner_resources: {
35025
- items: {
35026
- properties: {
35027
- custom_metadata: {
35028
- additionalProperties: { type: 'string' },
35029
- type: 'object',
35030
- },
35031
- description: { type: 'string' },
35032
- name: { type: 'string' },
35033
- partner_resource_key: { type: 'string' },
35034
- },
35035
- required: ['partner_resource_key', 'name'],
35036
- type: 'object',
35037
- 'x-route-path': '/unstable_partner/resources',
35038
- 'x-undocumented': 'Unreleased.',
35039
- },
35040
- type: 'array',
35041
- },
35042
35073
  },
35043
35074
  required: [
35044
35075
  'building_block_type',
35045
35076
  'customer_key',
35046
- 'partner_resources',
35077
+ 'collection_key',
35047
35078
  ],
35048
35079
  type: 'object',
35049
35080
  },
@@ -35071,7 +35102,11 @@ export default {
35071
35102
  400: { description: 'Bad Request' },
35072
35103
  401: { description: 'Unauthorized' },
35073
35104
  },
35074
- security: [{ api_key: [] }],
35105
+ security: [
35106
+ { pat_with_workspace: [] },
35107
+ { console_session_with_workspace: [] },
35108
+ { api_key: [] },
35109
+ ],
35075
35110
  summary: '/unstable_partner/building_blocks/generate_magic_link',
35076
35111
  tags: [],
35077
35112
  'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'],
@@ -35082,6 +35117,125 @@ export default {
35082
35117
  'x-undocumented': 'Experimental partner building blocks.',
35083
35118
  },
35084
35119
  },
35120
+ '/unstable_partner/building_blocks/manage_devices': {
35121
+ post: {
35122
+ description: 'Creates a new building block magic link to manage devices.',
35123
+ operationId: 'unstablePartnerBuildingBlocksManageDevicesPost',
35124
+ requestBody: {
35125
+ content: {
35126
+ 'application/json': {
35127
+ schema: {
35128
+ properties: { customer_key: { type: 'string' } },
35129
+ required: ['customer_key'],
35130
+ type: 'object',
35131
+ },
35132
+ },
35133
+ },
35134
+ },
35135
+ responses: {
35136
+ 200: {
35137
+ content: {
35138
+ 'application/json': {
35139
+ schema: {
35140
+ properties: {
35141
+ magic_link: { $ref: '#/components/schemas/magic_link' },
35142
+ ok: { type: 'boolean' },
35143
+ },
35144
+ required: ['magic_link', 'ok'],
35145
+ type: 'object',
35146
+ },
35147
+ },
35148
+ },
35149
+ description: 'OK',
35150
+ },
35151
+ 400: { description: 'Bad Request' },
35152
+ 401: { description: 'Unauthorized' },
35153
+ },
35154
+ security: [
35155
+ { pat_with_workspace: [] },
35156
+ { console_session_with_workspace: [] },
35157
+ { api_key: [] },
35158
+ ],
35159
+ summary: '/unstable_partner/building_blocks/manage_devices',
35160
+ tags: [],
35161
+ 'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'],
35162
+ 'x-fern-sdk-method-name': 'manage_devices',
35163
+ 'x-fern-sdk-return-value': 'magic_link',
35164
+ 'x-response-key': 'magic_link',
35165
+ 'x-title': 'Manage Devices',
35166
+ 'x-undocumented': 'Experimental partner building blocks.',
35167
+ },
35168
+ },
35169
+ '/unstable_partner/building_blocks/organize_spaces': {
35170
+ post: {
35171
+ description: 'Creates a new building block magic link to organize spaces.',
35172
+ operationId: 'unstablePartnerBuildingBlocksOrganizeSpacesPost',
35173
+ requestBody: {
35174
+ content: {
35175
+ 'application/json': {
35176
+ schema: {
35177
+ properties: {
35178
+ customer_key: { type: 'string' },
35179
+ partner_resources: {
35180
+ items: {
35181
+ properties: {
35182
+ custom_metadata: {
35183
+ additionalProperties: { type: 'string' },
35184
+ type: 'object',
35185
+ },
35186
+ description: { type: 'string' },
35187
+ name: { type: 'string' },
35188
+ partner_resource_key: { type: 'string' },
35189
+ },
35190
+ required: ['partner_resource_key', 'name'],
35191
+ type: 'object',
35192
+ 'x-route-path': '/unstable_partner/resources',
35193
+ 'x-undocumented': 'Unreleased.',
35194
+ },
35195
+ minItems: 1,
35196
+ type: 'array',
35197
+ },
35198
+ },
35199
+ required: ['customer_key', 'partner_resources'],
35200
+ type: 'object',
35201
+ },
35202
+ },
35203
+ },
35204
+ },
35205
+ responses: {
35206
+ 200: {
35207
+ content: {
35208
+ 'application/json': {
35209
+ schema: {
35210
+ properties: {
35211
+ magic_link: { $ref: '#/components/schemas/magic_link' },
35212
+ ok: { type: 'boolean' },
35213
+ },
35214
+ required: ['magic_link', 'ok'],
35215
+ type: 'object',
35216
+ },
35217
+ },
35218
+ },
35219
+ description: 'OK',
35220
+ },
35221
+ 400: { description: 'Bad Request' },
35222
+ 401: { description: 'Unauthorized' },
35223
+ },
35224
+ security: [
35225
+ { pat_with_workspace: [] },
35226
+ { console_session_with_workspace: [] },
35227
+ { api_key: [] },
35228
+ ],
35229
+ summary: '/unstable_partner/building_blocks/organize_spaces',
35230
+ tags: [],
35231
+ 'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'],
35232
+ 'x-fern-sdk-method-name': 'organize_spaces',
35233
+ 'x-fern-sdk-return-value': 'magic_link',
35234
+ 'x-response-key': 'magic_link',
35235
+ 'x-title': 'Organize Spaces',
35236
+ 'x-undocumented': 'Experimental partner building blocks.',
35237
+ },
35238
+ },
35085
35239
  '/unstable_partner/resources/push': {
35086
35240
  post: {
35087
35241
  description: 'Send Seam some of your resources.',