@seamapi/types 1.587.0 → 1.589.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.
@@ -31102,6 +31102,11 @@ declare const _default: {
31102
31102
  description: string;
31103
31103
  type: string;
31104
31104
  };
31105
+ customer_key: {
31106
+ description: string;
31107
+ minLength: number;
31108
+ type: string;
31109
+ };
31105
31110
  };
31106
31111
  required: string[];
31107
31112
  type: string;
@@ -31281,6 +31286,7 @@ declare const _default: {
31281
31286
  building_key?: never;
31282
31287
  listing_key?: never;
31283
31288
  property_listing_key?: never;
31289
+ site_key?: never;
31284
31290
  };
31285
31291
  required: string[];
31286
31292
  type: string;
@@ -31297,6 +31303,7 @@ declare const _default: {
31297
31303
  building_key?: never;
31298
31304
  listing_key?: never;
31299
31305
  property_listing_key?: never;
31306
+ site_key?: never;
31300
31307
  };
31301
31308
  required: string[];
31302
31309
  type: string;
@@ -31313,6 +31320,7 @@ declare const _default: {
31313
31320
  building_key?: never;
31314
31321
  listing_key?: never;
31315
31322
  property_listing_key?: never;
31323
+ site_key?: never;
31316
31324
  };
31317
31325
  required: string[];
31318
31326
  type: string;
@@ -31329,6 +31337,7 @@ declare const _default: {
31329
31337
  building_key?: never;
31330
31338
  listing_key?: never;
31331
31339
  property_listing_key?: never;
31340
+ site_key?: never;
31332
31341
  };
31333
31342
  required: string[];
31334
31343
  type: string;
@@ -31345,6 +31354,7 @@ declare const _default: {
31345
31354
  building_key?: never;
31346
31355
  listing_key?: never;
31347
31356
  property_listing_key?: never;
31357
+ site_key?: never;
31348
31358
  };
31349
31359
  required: string[];
31350
31360
  type: string;
@@ -31361,6 +31371,7 @@ declare const _default: {
31361
31371
  building_key?: never;
31362
31372
  listing_key?: never;
31363
31373
  property_listing_key?: never;
31374
+ site_key?: never;
31364
31375
  };
31365
31376
  required: string[];
31366
31377
  type: string;
@@ -31377,6 +31388,7 @@ declare const _default: {
31377
31388
  facility_key?: never;
31378
31389
  listing_key?: never;
31379
31390
  property_listing_key?: never;
31391
+ site_key?: never;
31380
31392
  };
31381
31393
  required: string[];
31382
31394
  type: string;
@@ -31393,6 +31405,7 @@ declare const _default: {
31393
31405
  facility_key?: never;
31394
31406
  building_key?: never;
31395
31407
  property_listing_key?: never;
31408
+ site_key?: never;
31396
31409
  };
31397
31410
  required: string[];
31398
31411
  type: string;
@@ -31409,6 +31422,24 @@ declare const _default: {
31409
31422
  facility_key?: never;
31410
31423
  building_key?: never;
31411
31424
  listing_key?: never;
31425
+ site_key?: never;
31426
+ };
31427
+ required: string[];
31428
+ type: string;
31429
+ } | {
31430
+ properties: {
31431
+ site_key: {
31432
+ type: string;
31433
+ };
31434
+ space_key?: never;
31435
+ property_key?: never;
31436
+ room_key?: never;
31437
+ common_area_key?: never;
31438
+ unit_key?: never;
31439
+ facility_key?: never;
31440
+ building_key?: never;
31441
+ listing_key?: never;
31442
+ property_listing_key?: never;
31412
31443
  };
31413
31444
  required: string[];
31414
31445
  type: string;
@@ -31699,6 +31730,10 @@ declare const _default: {
31699
31730
  description: string;
31700
31731
  type: string;
31701
31732
  };
31733
+ parent_site_key: {
31734
+ description: string;
31735
+ type: string;
31736
+ };
31702
31737
  };
31703
31738
  required: string[];
31704
31739
  type: string;
@@ -31947,6 +31982,10 @@ declare const _default: {
31947
31982
  description: string;
31948
31983
  type: string;
31949
31984
  };
31985
+ parent_site_key: {
31986
+ description: string;
31987
+ type: string;
31988
+ };
31950
31989
  room_key: {
31951
31990
  description: string;
31952
31991
  type: string;
@@ -31957,6 +31996,24 @@ declare const _default: {
31957
31996
  };
31958
31997
  type: string;
31959
31998
  };
31999
+ sites: {
32000
+ description: string;
32001
+ items: {
32002
+ properties: {
32003
+ name: {
32004
+ description: string;
32005
+ type: string;
32006
+ };
32007
+ site_key: {
32008
+ description: string;
32009
+ type: string;
32010
+ };
32011
+ };
32012
+ required: string[];
32013
+ type: string;
32014
+ };
32015
+ type: string;
32016
+ };
31960
32017
  spaces: {
31961
32018
  description: string;
31962
32019
  items: {
@@ -32009,6 +32066,10 @@ declare const _default: {
32009
32066
  description: string;
32010
32067
  type: string;
32011
32068
  };
32069
+ parent_site_key: {
32070
+ description: string;
32071
+ type: string;
32072
+ };
32012
32073
  unit_key: {
32013
32074
  description: string;
32014
32075
  type: string;
@@ -32631,6 +32692,10 @@ declare const _default: {
32631
32692
  description: string;
32632
32693
  type: string;
32633
32694
  };
32695
+ parent_site_key: {
32696
+ description: string;
32697
+ type: string;
32698
+ };
32634
32699
  };
32635
32700
  required: string[];
32636
32701
  type: string;
@@ -32879,6 +32944,10 @@ declare const _default: {
32879
32944
  description: string;
32880
32945
  type: string;
32881
32946
  };
32947
+ parent_site_key: {
32948
+ description: string;
32949
+ type: string;
32950
+ };
32882
32951
  room_key: {
32883
32952
  description: string;
32884
32953
  type: string;
@@ -32889,6 +32958,24 @@ declare const _default: {
32889
32958
  };
32890
32959
  type: string;
32891
32960
  };
32961
+ sites: {
32962
+ description: string;
32963
+ items: {
32964
+ properties: {
32965
+ name: {
32966
+ description: string;
32967
+ type: string;
32968
+ };
32969
+ site_key: {
32970
+ description: string;
32971
+ type: string;
32972
+ };
32973
+ };
32974
+ required: string[];
32975
+ type: string;
32976
+ };
32977
+ type: string;
32978
+ };
32892
32979
  spaces: {
32893
32980
  description: string;
32894
32981
  items: {
@@ -32941,6 +33028,10 @@ declare const _default: {
32941
33028
  description: string;
32942
33029
  type: string;
32943
33030
  };
33031
+ parent_site_key: {
33032
+ description: string;
33033
+ type: string;
33034
+ };
32944
33035
  unit_key: {
32945
33036
  description: string;
32946
33037
  type: string;
@@ -41937,6 +42028,7 @@ declare const _default: {
41937
42028
  building_key?: never;
41938
42029
  listing_key?: never;
41939
42030
  property_listing_key?: never;
42031
+ site_key?: never;
41940
42032
  };
41941
42033
  required: string[];
41942
42034
  type: string;
@@ -41953,6 +42045,7 @@ declare const _default: {
41953
42045
  building_key?: never;
41954
42046
  listing_key?: never;
41955
42047
  property_listing_key?: never;
42048
+ site_key?: never;
41956
42049
  };
41957
42050
  required: string[];
41958
42051
  type: string;
@@ -41969,6 +42062,7 @@ declare const _default: {
41969
42062
  building_key?: never;
41970
42063
  listing_key?: never;
41971
42064
  property_listing_key?: never;
42065
+ site_key?: never;
41972
42066
  };
41973
42067
  required: string[];
41974
42068
  type: string;
@@ -41985,6 +42079,7 @@ declare const _default: {
41985
42079
  building_key?: never;
41986
42080
  listing_key?: never;
41987
42081
  property_listing_key?: never;
42082
+ site_key?: never;
41988
42083
  };
41989
42084
  required: string[];
41990
42085
  type: string;
@@ -42001,6 +42096,7 @@ declare const _default: {
42001
42096
  building_key?: never;
42002
42097
  listing_key?: never;
42003
42098
  property_listing_key?: never;
42099
+ site_key?: never;
42004
42100
  };
42005
42101
  required: string[];
42006
42102
  type: string;
@@ -42017,6 +42113,7 @@ declare const _default: {
42017
42113
  building_key?: never;
42018
42114
  listing_key?: never;
42019
42115
  property_listing_key?: never;
42116
+ site_key?: never;
42020
42117
  };
42021
42118
  required: string[];
42022
42119
  type: string;
@@ -42033,6 +42130,7 @@ declare const _default: {
42033
42130
  facility_key?: never;
42034
42131
  listing_key?: never;
42035
42132
  property_listing_key?: never;
42133
+ site_key?: never;
42036
42134
  };
42037
42135
  required: string[];
42038
42136
  type: string;
@@ -42049,6 +42147,7 @@ declare const _default: {
42049
42147
  facility_key?: never;
42050
42148
  building_key?: never;
42051
42149
  property_listing_key?: never;
42150
+ site_key?: never;
42052
42151
  };
42053
42152
  required: string[];
42054
42153
  type: string;
@@ -42065,6 +42164,24 @@ declare const _default: {
42065
42164
  facility_key?: never;
42066
42165
  building_key?: never;
42067
42166
  listing_key?: never;
42167
+ site_key?: never;
42168
+ };
42169
+ required: string[];
42170
+ type: string;
42171
+ } | {
42172
+ properties: {
42173
+ site_key: {
42174
+ type: string;
42175
+ };
42176
+ space_key?: never;
42177
+ property_key?: never;
42178
+ room_key?: never;
42179
+ common_area_key?: never;
42180
+ unit_key?: never;
42181
+ facility_key?: never;
42182
+ building_key?: never;
42183
+ listing_key?: never;
42184
+ property_listing_key?: never;
42068
42185
  };
42069
42186
  required: string[];
42070
42187
  type: string;
@@ -42241,6 +42358,7 @@ declare const _default: {
42241
42358
  building_key?: never;
42242
42359
  listing_key?: never;
42243
42360
  property_listing_key?: never;
42361
+ site_key?: never;
42244
42362
  };
42245
42363
  required: string[];
42246
42364
  type: string;
@@ -42257,6 +42375,7 @@ declare const _default: {
42257
42375
  building_key?: never;
42258
42376
  listing_key?: never;
42259
42377
  property_listing_key?: never;
42378
+ site_key?: never;
42260
42379
  };
42261
42380
  required: string[];
42262
42381
  type: string;
@@ -42273,6 +42392,7 @@ declare const _default: {
42273
42392
  building_key?: never;
42274
42393
  listing_key?: never;
42275
42394
  property_listing_key?: never;
42395
+ site_key?: never;
42276
42396
  };
42277
42397
  required: string[];
42278
42398
  type: string;
@@ -42289,6 +42409,7 @@ declare const _default: {
42289
42409
  building_key?: never;
42290
42410
  listing_key?: never;
42291
42411
  property_listing_key?: never;
42412
+ site_key?: never;
42292
42413
  };
42293
42414
  required: string[];
42294
42415
  type: string;
@@ -42305,6 +42426,7 @@ declare const _default: {
42305
42426
  building_key?: never;
42306
42427
  listing_key?: never;
42307
42428
  property_listing_key?: never;
42429
+ site_key?: never;
42308
42430
  };
42309
42431
  required: string[];
42310
42432
  type: string;
@@ -42321,6 +42443,7 @@ declare const _default: {
42321
42443
  building_key?: never;
42322
42444
  listing_key?: never;
42323
42445
  property_listing_key?: never;
42446
+ site_key?: never;
42324
42447
  };
42325
42448
  required: string[];
42326
42449
  type: string;
@@ -42337,6 +42460,7 @@ declare const _default: {
42337
42460
  facility_key?: never;
42338
42461
  listing_key?: never;
42339
42462
  property_listing_key?: never;
42463
+ site_key?: never;
42340
42464
  };
42341
42465
  required: string[];
42342
42466
  type: string;
@@ -42353,6 +42477,7 @@ declare const _default: {
42353
42477
  facility_key?: never;
42354
42478
  building_key?: never;
42355
42479
  property_listing_key?: never;
42480
+ site_key?: never;
42356
42481
  };
42357
42482
  required: string[];
42358
42483
  type: string;
@@ -42369,6 +42494,24 @@ declare const _default: {
42369
42494
  facility_key?: never;
42370
42495
  building_key?: never;
42371
42496
  listing_key?: never;
42497
+ site_key?: never;
42498
+ };
42499
+ required: string[];
42500
+ type: string;
42501
+ } | {
42502
+ properties: {
42503
+ site_key: {
42504
+ type: string;
42505
+ };
42506
+ space_key?: never;
42507
+ property_key?: never;
42508
+ room_key?: never;
42509
+ common_area_key?: never;
42510
+ unit_key?: never;
42511
+ facility_key?: never;
42512
+ building_key?: never;
42513
+ listing_key?: never;
42514
+ property_listing_key?: never;
42372
42515
  };
42373
42516
  required: string[];
42374
42517
  type: string;
@@ -43899,6 +44042,9 @@ declare const _default: {
43899
44042
  needs_review: {
43900
44043
  type: string;
43901
44044
  };
44045
+ parent_partner_resource_key: {
44046
+ type: string;
44047
+ };
43902
44048
  partner_resource_key: {
43903
44049
  type: string;
43904
44050
  };
@@ -44010,6 +44156,9 @@ declare const _default: {
44010
44156
  needs_review: {
44011
44157
  type: string;
44012
44158
  };
44159
+ parent_partner_resource_key: {
44160
+ type: string;
44161
+ };
44013
44162
  partner_resource_key: {
44014
44163
  type: string;
44015
44164
  };
@@ -36714,9 +36714,14 @@ export default {
36714
36714
  { type: 'boolean' },
36715
36715
  ],
36716
36716
  },
36717
- description: 'Custom metadata that you want to associate with the connected account. Supports up to 50 JSON key:value pairs. [Adding custom metadata to a connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account) enables you to store custom information, like customer details or internal IDs from your application. Then, you can [filter connected accounts by the desired metadata](https://docs.seam.co/latest/core-concepts/connected-accounts/filtering-connected-accounts-by-custom-metadata).',
36717
+ description: 'Custom metadata that you want to associate with the connected account. Entirely replaces the existing custom metadata object. If a new Connect Webview contains custom metadata and is used to reconnect a connected account, the custom metadata from the Connect Webview will entirely replace the entire custom metadata object on the connected account. Supports up to 50 JSON key:value pairs. [Adding custom metadata to a connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account) enables you to store custom information, like customer details or internal IDs from your application. Then, you can [filter connected accounts by the desired metadata](https://docs.seam.co/latest/core-concepts/connected-accounts/filtering-connected-accounts-by-custom-metadata).',
36718
36718
  type: 'object',
36719
36719
  },
36720
+ customer_key: {
36721
+ description: 'The customer key to associate with this connected account. If provided, the connected account and all resources under the connected account will be moved to this customer. ',
36722
+ minLength: 1,
36723
+ type: 'string',
36724
+ },
36720
36725
  },
36721
36726
  required: ['connected_account_id'],
36722
36727
  type: 'object',
@@ -36927,6 +36932,13 @@ export default {
36927
36932
  required: ['property_listing_key'],
36928
36933
  type: 'object',
36929
36934
  },
36935
+ {
36936
+ properties: {
36937
+ site_key: { type: 'string' },
36938
+ },
36939
+ required: ['site_key'],
36940
+ type: 'object',
36941
+ },
36930
36942
  ],
36931
36943
  },
36932
36944
  {
@@ -37176,6 +37188,10 @@ export default {
37176
37188
  description: 'Your display name for this location resource.',
37177
37189
  type: 'string',
37178
37190
  },
37191
+ parent_site_key: {
37192
+ description: 'Your unique identifier for the site.',
37193
+ type: 'string',
37194
+ },
37179
37195
  },
37180
37196
  required: ['name', 'common_area_key'],
37181
37197
  type: 'object',
@@ -37408,6 +37424,10 @@ export default {
37408
37424
  description: 'Your display name for this location resource.',
37409
37425
  type: 'string',
37410
37426
  },
37427
+ parent_site_key: {
37428
+ description: 'Your unique identifier for the site.',
37429
+ type: 'string',
37430
+ },
37411
37431
  room_key: {
37412
37432
  description: 'Your unique identifier for the room.',
37413
37433
  type: 'string',
@@ -37418,6 +37438,24 @@ export default {
37418
37438
  },
37419
37439
  type: 'array',
37420
37440
  },
37441
+ sites: {
37442
+ description: 'List of general sites or areas.',
37443
+ items: {
37444
+ properties: {
37445
+ name: {
37446
+ description: 'Your display name for this location resource.',
37447
+ type: 'string',
37448
+ },
37449
+ site_key: {
37450
+ description: 'Your unique identifier for the site.',
37451
+ type: 'string',
37452
+ },
37453
+ },
37454
+ required: ['name', 'site_key'],
37455
+ type: 'object',
37456
+ },
37457
+ type: 'array',
37458
+ },
37421
37459
  spaces: {
37422
37460
  description: 'List of general spaces or areas.',
37423
37461
  items: {
@@ -37470,6 +37508,10 @@ export default {
37470
37508
  description: 'Your display name for this location resource.',
37471
37509
  type: 'string',
37472
37510
  },
37511
+ parent_site_key: {
37512
+ description: 'Your unique identifier for the site.',
37513
+ type: 'string',
37514
+ },
37473
37515
  unit_key: {
37474
37516
  description: 'Your unique identifier for the unit.',
37475
37517
  type: 'string',
@@ -38125,6 +38167,10 @@ export default {
38125
38167
  description: 'Your display name for this location resource.',
38126
38168
  type: 'string',
38127
38169
  },
38170
+ parent_site_key: {
38171
+ description: 'Your unique identifier for the site.',
38172
+ type: 'string',
38173
+ },
38128
38174
  },
38129
38175
  required: ['name', 'common_area_key'],
38130
38176
  type: 'object',
@@ -38357,6 +38403,10 @@ export default {
38357
38403
  description: 'Your display name for this location resource.',
38358
38404
  type: 'string',
38359
38405
  },
38406
+ parent_site_key: {
38407
+ description: 'Your unique identifier for the site.',
38408
+ type: 'string',
38409
+ },
38360
38410
  room_key: {
38361
38411
  description: 'Your unique identifier for the room.',
38362
38412
  type: 'string',
@@ -38367,6 +38417,24 @@ export default {
38367
38417
  },
38368
38418
  type: 'array',
38369
38419
  },
38420
+ sites: {
38421
+ description: 'List of general sites or areas.',
38422
+ items: {
38423
+ properties: {
38424
+ name: {
38425
+ description: 'Your display name for this location resource.',
38426
+ type: 'string',
38427
+ },
38428
+ site_key: {
38429
+ description: 'Your unique identifier for the site.',
38430
+ type: 'string',
38431
+ },
38432
+ },
38433
+ required: ['name', 'site_key'],
38434
+ type: 'object',
38435
+ },
38436
+ type: 'array',
38437
+ },
38370
38438
  spaces: {
38371
38439
  description: 'List of general spaces or areas.',
38372
38440
  items: {
@@ -38419,6 +38487,10 @@ export default {
38419
38487
  description: 'Your display name for this location resource.',
38420
38488
  type: 'string',
38421
38489
  },
38490
+ parent_site_key: {
38491
+ description: 'Your unique identifier for the site.',
38492
+ type: 'string',
38493
+ },
38422
38494
  unit_key: {
38423
38495
  description: 'Your unique identifier for the unit.',
38424
38496
  type: 'string',
@@ -47545,6 +47617,13 @@ export default {
47545
47617
  required: ['property_listing_key'],
47546
47618
  type: 'object',
47547
47619
  },
47620
+ {
47621
+ properties: {
47622
+ site_key: { type: 'string' },
47623
+ },
47624
+ required: ['site_key'],
47625
+ type: 'object',
47626
+ },
47548
47627
  ],
47549
47628
  },
47550
47629
  {
@@ -47748,6 +47827,13 @@ export default {
47748
47827
  required: ['property_listing_key'],
47749
47828
  type: 'object',
47750
47829
  },
47830
+ {
47831
+ properties: {
47832
+ site_key: { type: 'string' },
47833
+ },
47834
+ required: ['site_key'],
47835
+ type: 'object',
47836
+ },
47751
47837
  ],
47752
47838
  },
47753
47839
  {
@@ -49020,6 +49106,7 @@ export default {
49020
49106
  is_draft: { type: 'boolean' },
49021
49107
  name: { type: 'string' },
49022
49108
  needs_review: { type: 'boolean' },
49109
+ parent_partner_resource_key: { type: 'string' },
49023
49110
  partner_resource_key: { type: 'string' },
49024
49111
  },
49025
49112
  required: [
@@ -49119,6 +49206,7 @@ export default {
49119
49206
  is_draft: { type: 'boolean' },
49120
49207
  name: { type: 'string' },
49121
49208
  needs_review: { type: 'boolean' },
49209
+ parent_partner_resource_key: { type: 'string' },
49122
49210
  partner_resource_key: { type: 'string' },
49123
49211
  },
49124
49212
  required: [