@seamapi/types 1.474.0 → 1.475.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.
@@ -28979,6 +28979,26 @@ type ConnectedAccount = z.infer<typeof connected_account>;
28979
28979
  declare const custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
28980
28980
  type CustomMetadata = z.output<typeof custom_metadata>;
28981
28981
 
28982
+ declare const customization_profile: z.ZodObject<{
28983
+ workspace_id: z.ZodString;
28984
+ customization_profile_id: z.ZodString;
28985
+ logo_url: z.ZodOptional<z.ZodString>;
28986
+ primary_color: z.ZodOptional<z.ZodString>;
28987
+ secondary_color: z.ZodOptional<z.ZodString>;
28988
+ }, "strip", z.ZodTypeAny, {
28989
+ workspace_id: string;
28990
+ customization_profile_id: string;
28991
+ logo_url?: string | undefined;
28992
+ primary_color?: string | undefined;
28993
+ secondary_color?: string | undefined;
28994
+ }, {
28995
+ workspace_id: string;
28996
+ customization_profile_id: string;
28997
+ logo_url?: string | undefined;
28998
+ primary_color?: string | undefined;
28999
+ secondary_color?: string | undefined;
29000
+ }>;
29001
+
28982
29002
  declare const device_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
28983
29003
  message: z.ZodString;
28984
29004
  created_at: z.ZodString;
@@ -40578,6 +40598,7 @@ declare const schemas_common_succeeded_action_attempt: typeof common_succeeded_a
40578
40598
  declare const schemas_connect_webview: typeof connect_webview;
40579
40599
  declare const schemas_connected_account: typeof connected_account;
40580
40600
  declare const schemas_custom_metadata: typeof custom_metadata;
40601
+ declare const schemas_customization_profile: typeof customization_profile;
40581
40602
  declare const schemas_device: typeof device;
40582
40603
  declare const schemas_device_provider: typeof device_provider;
40583
40604
  declare const schemas_instant_key: typeof instant_key;
@@ -40597,7 +40618,7 @@ declare const schemas_user_identity: typeof user_identity;
40597
40618
  declare const schemas_webhook: typeof webhook;
40598
40619
  declare const schemas_workspace: typeof workspace;
40599
40620
  declare namespace schemas {
40600
- export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_encoder as acs_encoder, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_batch as batch, schemas_bridge as bridge, schemas_bridge_client_session as bridge_client_session, schemas_building_block_type as building_block_type, schemas_client_session as client_session, schemas_common_failed_action_attempt as common_failed_action_attempt, schemas_common_pending_action_attempt as common_pending_action_attempt, schemas_common_succeeded_action_attempt as common_succeeded_action_attempt, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_device as device, schemas_device_provider as device_provider, schemas_instant_key as instant_key, schemas_magic_link as magic_link, schemas_noise_threshold as noise_threshold, schemas_pagination as pagination, schemas_seam_event as seam_event, schemas_thermostat_daily_program as thermostat_daily_program, schemas_thermostat_schedule as thermostat_schedule, schemas_thermostat_weekly_program as thermostat_weekly_program, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_access_group as unmanaged_acs_access_group, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_acs_user as unmanaged_acs_user, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
40621
+ export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_encoder as acs_encoder, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_batch as batch, schemas_bridge as bridge, schemas_bridge_client_session as bridge_client_session, schemas_building_block_type as building_block_type, schemas_client_session as client_session, schemas_common_failed_action_attempt as common_failed_action_attempt, schemas_common_pending_action_attempt as common_pending_action_attempt, schemas_common_succeeded_action_attempt as common_succeeded_action_attempt, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_customization_profile as customization_profile, schemas_device as device, schemas_device_provider as device_provider, schemas_instant_key as instant_key, schemas_magic_link as magic_link, schemas_noise_threshold as noise_threshold, schemas_pagination as pagination, schemas_seam_event as seam_event, schemas_thermostat_daily_program as thermostat_daily_program, schemas_thermostat_schedule as thermostat_schedule, schemas_thermostat_weekly_program as thermostat_weekly_program, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_access_group as unmanaged_acs_access_group, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_acs_user as unmanaged_acs_user, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
40601
40622
  }
40602
40623
 
40603
40624
  declare const _default: {
@@ -88302,6 +88323,526 @@ declare const _default: {
88302
88323
  'x-title': string;
88303
88324
  };
88304
88325
  };
88326
+ '/workspaces/customization_profiles/create': {
88327
+ post: {
88328
+ description: string;
88329
+ operationId: string;
88330
+ requestBody: {
88331
+ content: {
88332
+ 'application/json': {
88333
+ schema: {
88334
+ properties: {
88335
+ primary_color: {
88336
+ type: string;
88337
+ };
88338
+ secondary_color: {
88339
+ type: string;
88340
+ };
88341
+ };
88342
+ required: string[];
88343
+ type: string;
88344
+ };
88345
+ };
88346
+ };
88347
+ };
88348
+ responses: {
88349
+ 200: {
88350
+ content: {
88351
+ 'application/json': {
88352
+ schema: {
88353
+ properties: {
88354
+ customization_profile: {
88355
+ properties: {
88356
+ customization_profile_id: {
88357
+ format: string;
88358
+ type: string;
88359
+ };
88360
+ logo_url: {
88361
+ type: string;
88362
+ };
88363
+ primary_color: {
88364
+ type: string;
88365
+ };
88366
+ secondary_color: {
88367
+ type: string;
88368
+ };
88369
+ workspace_id: {
88370
+ format: string;
88371
+ type: string;
88372
+ };
88373
+ };
88374
+ required: string[];
88375
+ type: string;
88376
+ };
88377
+ ok: {
88378
+ type: string;
88379
+ };
88380
+ };
88381
+ required: string[];
88382
+ type: string;
88383
+ };
88384
+ };
88385
+ };
88386
+ description: string;
88387
+ };
88388
+ 400: {
88389
+ description: string;
88390
+ };
88391
+ 401: {
88392
+ description: string;
88393
+ };
88394
+ };
88395
+ security: {
88396
+ client_session_with_customer: never[];
88397
+ }[];
88398
+ summary: string;
88399
+ tags: string[];
88400
+ 'x-fern-sdk-group-name': string[];
88401
+ 'x-fern-sdk-method-name': string;
88402
+ 'x-fern-sdk-return-value': string;
88403
+ 'x-response-key': string;
88404
+ 'x-title': string;
88405
+ };
88406
+ };
88407
+ '/workspaces/customization_profiles/get': {
88408
+ get: {
88409
+ description: string;
88410
+ operationId: string;
88411
+ parameters: {
88412
+ in: string;
88413
+ name: string;
88414
+ required: boolean;
88415
+ schema: {
88416
+ format: string;
88417
+ type: string;
88418
+ };
88419
+ }[];
88420
+ responses: {
88421
+ 200: {
88422
+ content: {
88423
+ 'application/json': {
88424
+ schema: {
88425
+ properties: {
88426
+ customization_profile: {
88427
+ properties: {
88428
+ customization_profile_id: {
88429
+ format: string;
88430
+ type: string;
88431
+ };
88432
+ logo_url: {
88433
+ type: string;
88434
+ };
88435
+ primary_color: {
88436
+ type: string;
88437
+ };
88438
+ secondary_color: {
88439
+ type: string;
88440
+ };
88441
+ workspace_id: {
88442
+ format: string;
88443
+ type: string;
88444
+ };
88445
+ };
88446
+ required: string[];
88447
+ type: string;
88448
+ };
88449
+ ok: {
88450
+ type: string;
88451
+ };
88452
+ };
88453
+ required: string[];
88454
+ type: string;
88455
+ };
88456
+ };
88457
+ };
88458
+ description: string;
88459
+ };
88460
+ 400: {
88461
+ description: string;
88462
+ };
88463
+ 401: {
88464
+ description: string;
88465
+ };
88466
+ };
88467
+ security: {
88468
+ client_session_with_customer: never[];
88469
+ }[];
88470
+ summary: string;
88471
+ tags: string[];
88472
+ 'x-fern-sdk-group-name': string[];
88473
+ 'x-fern-sdk-method-name': string;
88474
+ 'x-fern-sdk-return-value': string;
88475
+ 'x-response-key': string;
88476
+ 'x-title': string;
88477
+ };
88478
+ post: {
88479
+ description: string;
88480
+ operationId: string;
88481
+ requestBody: {
88482
+ content: {
88483
+ 'application/json': {
88484
+ schema: {
88485
+ properties: {
88486
+ customization_profile_id: {
88487
+ format: string;
88488
+ type: string;
88489
+ };
88490
+ };
88491
+ required: string[];
88492
+ type: string;
88493
+ };
88494
+ };
88495
+ };
88496
+ };
88497
+ responses: {
88498
+ 200: {
88499
+ content: {
88500
+ 'application/json': {
88501
+ schema: {
88502
+ properties: {
88503
+ customization_profile: {
88504
+ properties: {
88505
+ customization_profile_id: {
88506
+ format: string;
88507
+ type: string;
88508
+ };
88509
+ logo_url: {
88510
+ type: string;
88511
+ };
88512
+ primary_color: {
88513
+ type: string;
88514
+ };
88515
+ secondary_color: {
88516
+ type: string;
88517
+ };
88518
+ workspace_id: {
88519
+ format: string;
88520
+ type: string;
88521
+ };
88522
+ };
88523
+ required: string[];
88524
+ type: string;
88525
+ };
88526
+ ok: {
88527
+ type: string;
88528
+ };
88529
+ };
88530
+ required: string[];
88531
+ type: string;
88532
+ };
88533
+ };
88534
+ };
88535
+ description: string;
88536
+ };
88537
+ 400: {
88538
+ description: string;
88539
+ };
88540
+ 401: {
88541
+ description: string;
88542
+ };
88543
+ };
88544
+ security: {
88545
+ client_session_with_customer: never[];
88546
+ }[];
88547
+ summary: string;
88548
+ tags: string[];
88549
+ 'x-fern-sdk-group-name': string[];
88550
+ 'x-fern-sdk-method-name': string;
88551
+ 'x-fern-sdk-return-value': string;
88552
+ 'x-response-key': string;
88553
+ 'x-title': string;
88554
+ };
88555
+ };
88556
+ '/workspaces/customization_profiles/list': {
88557
+ get: {
88558
+ description: string;
88559
+ operationId: string;
88560
+ responses: {
88561
+ 200: {
88562
+ content: {
88563
+ 'application/json': {
88564
+ schema: {
88565
+ properties: {
88566
+ customization_profiles: {
88567
+ items: {
88568
+ properties: {
88569
+ customization_profile_id: {
88570
+ format: string;
88571
+ type: string;
88572
+ };
88573
+ logo_url: {
88574
+ type: string;
88575
+ };
88576
+ primary_color: {
88577
+ type: string;
88578
+ };
88579
+ secondary_color: {
88580
+ type: string;
88581
+ };
88582
+ workspace_id: {
88583
+ format: string;
88584
+ type: string;
88585
+ };
88586
+ };
88587
+ required: string[];
88588
+ type: string;
88589
+ };
88590
+ type: string;
88591
+ };
88592
+ ok: {
88593
+ type: string;
88594
+ };
88595
+ };
88596
+ required: string[];
88597
+ type: string;
88598
+ };
88599
+ };
88600
+ };
88601
+ description: string;
88602
+ };
88603
+ 400: {
88604
+ description: string;
88605
+ };
88606
+ 401: {
88607
+ description: string;
88608
+ };
88609
+ };
88610
+ security: {
88611
+ client_session_with_customer: never[];
88612
+ }[];
88613
+ summary: string;
88614
+ tags: string[];
88615
+ 'x-fern-sdk-group-name': string[];
88616
+ 'x-fern-sdk-method-name': string;
88617
+ 'x-fern-sdk-return-value': string;
88618
+ 'x-response-key': string;
88619
+ 'x-title': string;
88620
+ };
88621
+ post: {
88622
+ description: string;
88623
+ operationId: string;
88624
+ responses: {
88625
+ 200: {
88626
+ content: {
88627
+ 'application/json': {
88628
+ schema: {
88629
+ properties: {
88630
+ customization_profiles: {
88631
+ items: {
88632
+ properties: {
88633
+ customization_profile_id: {
88634
+ format: string;
88635
+ type: string;
88636
+ };
88637
+ logo_url: {
88638
+ type: string;
88639
+ };
88640
+ primary_color: {
88641
+ type: string;
88642
+ };
88643
+ secondary_color: {
88644
+ type: string;
88645
+ };
88646
+ workspace_id: {
88647
+ format: string;
88648
+ type: string;
88649
+ };
88650
+ };
88651
+ required: string[];
88652
+ type: string;
88653
+ };
88654
+ type: string;
88655
+ };
88656
+ ok: {
88657
+ type: string;
88658
+ };
88659
+ };
88660
+ required: string[];
88661
+ type: string;
88662
+ };
88663
+ };
88664
+ };
88665
+ description: string;
88666
+ };
88667
+ 400: {
88668
+ description: string;
88669
+ };
88670
+ 401: {
88671
+ description: string;
88672
+ };
88673
+ };
88674
+ security: {
88675
+ client_session_with_customer: never[];
88676
+ }[];
88677
+ summary: string;
88678
+ tags: string[];
88679
+ 'x-fern-sdk-group-name': string[];
88680
+ 'x-fern-sdk-method-name': string;
88681
+ 'x-fern-sdk-return-value': string;
88682
+ 'x-response-key': string;
88683
+ 'x-title': string;
88684
+ };
88685
+ };
88686
+ '/workspaces/customization_profiles/update': {
88687
+ patch: {
88688
+ description: string;
88689
+ operationId: string;
88690
+ requestBody: {
88691
+ content: {
88692
+ 'application/json': {
88693
+ schema: {
88694
+ properties: {
88695
+ customization_profile_id: {
88696
+ format: string;
88697
+ type: string;
88698
+ };
88699
+ primary_color: {
88700
+ type: string;
88701
+ };
88702
+ secondary_color: {
88703
+ type: string;
88704
+ };
88705
+ };
88706
+ required: string[];
88707
+ type: string;
88708
+ };
88709
+ };
88710
+ };
88711
+ };
88712
+ responses: {
88713
+ 200: {
88714
+ content: {
88715
+ 'application/json': {
88716
+ schema: {
88717
+ properties: {
88718
+ ok: {
88719
+ type: string;
88720
+ };
88721
+ };
88722
+ required: string[];
88723
+ type: string;
88724
+ };
88725
+ };
88726
+ };
88727
+ description: string;
88728
+ };
88729
+ 400: {
88730
+ description: string;
88731
+ };
88732
+ 401: {
88733
+ description: string;
88734
+ };
88735
+ };
88736
+ security: {
88737
+ client_session_with_customer: never[];
88738
+ }[];
88739
+ summary: string;
88740
+ tags: string[];
88741
+ 'x-fern-sdk-group-name': string[];
88742
+ 'x-fern-sdk-method-name': string;
88743
+ 'x-response-key': null;
88744
+ 'x-title': string;
88745
+ };
88746
+ post: {
88747
+ description: string;
88748
+ operationId: string;
88749
+ requestBody: {
88750
+ content: {
88751
+ 'application/json': {
88752
+ schema: {
88753
+ properties: {
88754
+ customization_profile_id: {
88755
+ format: string;
88756
+ type: string;
88757
+ };
88758
+ primary_color: {
88759
+ type: string;
88760
+ };
88761
+ secondary_color: {
88762
+ type: string;
88763
+ };
88764
+ };
88765
+ required: string[];
88766
+ type: string;
88767
+ };
88768
+ };
88769
+ };
88770
+ };
88771
+ responses: {
88772
+ 200: {
88773
+ content: {
88774
+ 'application/json': {
88775
+ schema: {
88776
+ properties: {
88777
+ ok: {
88778
+ type: string;
88779
+ };
88780
+ };
88781
+ required: string[];
88782
+ type: string;
88783
+ };
88784
+ };
88785
+ };
88786
+ description: string;
88787
+ };
88788
+ 400: {
88789
+ description: string;
88790
+ };
88791
+ 401: {
88792
+ description: string;
88793
+ };
88794
+ };
88795
+ security: {
88796
+ client_session_with_customer: never[];
88797
+ }[];
88798
+ summary: string;
88799
+ tags: string[];
88800
+ 'x-fern-sdk-group-name': string[];
88801
+ 'x-fern-sdk-method-name': string;
88802
+ 'x-response-key': null;
88803
+ 'x-title': string;
88804
+ };
88805
+ };
88806
+ '/workspaces/customization_profiles/upload_images': {
88807
+ post: {
88808
+ description: string;
88809
+ operationId: string;
88810
+ responses: {
88811
+ 200: {
88812
+ content: {
88813
+ 'application/json': {
88814
+ schema: {
88815
+ properties: {
88816
+ ok: {
88817
+ type: string;
88818
+ };
88819
+ };
88820
+ required: string[];
88821
+ type: string;
88822
+ };
88823
+ };
88824
+ };
88825
+ description: string;
88826
+ };
88827
+ 400: {
88828
+ description: string;
88829
+ };
88830
+ 401: {
88831
+ description: string;
88832
+ };
88833
+ };
88834
+ security: {
88835
+ client_session_with_customer: never[];
88836
+ }[];
88837
+ summary: string;
88838
+ tags: string[];
88839
+ 'x-fern-sdk-group-name': string[];
88840
+ 'x-fern-sdk-method-name': string;
88841
+ 'x-response-key': null;
88842
+ 'x-title': string;
88843
+ 'x-undocumented': string;
88844
+ };
88845
+ };
88305
88846
  '/workspaces/find_resources': {
88306
88847
  get: {
88307
88848
  description: string;
@@ -164887,6 +165428,84 @@ type Routes = {
164887
165428
  };
164888
165429
  };
164889
165430
  };
165431
+ '/workspaces/customization_profiles/create': {
165432
+ route: '/workspaces/customization_profiles/create';
165433
+ method: 'POST';
165434
+ queryParams: {};
165435
+ jsonBody: {
165436
+ primary_color: string;
165437
+ secondary_color: string;
165438
+ };
165439
+ commonParams: {};
165440
+ formData: {};
165441
+ jsonResponse: {
165442
+ customization_profile: {
165443
+ workspace_id: string;
165444
+ customization_profile_id: string;
165445
+ logo_url?: string | undefined;
165446
+ primary_color?: string | undefined;
165447
+ secondary_color?: string | undefined;
165448
+ };
165449
+ };
165450
+ };
165451
+ '/workspaces/customization_profiles/get': {
165452
+ route: '/workspaces/customization_profiles/get';
165453
+ method: 'POST' | 'GET';
165454
+ queryParams: {};
165455
+ jsonBody: {};
165456
+ commonParams: {
165457
+ customization_profile_id: string;
165458
+ };
165459
+ formData: {};
165460
+ jsonResponse: {
165461
+ customization_profile: {
165462
+ workspace_id: string;
165463
+ customization_profile_id: string;
165464
+ logo_url?: string | undefined;
165465
+ primary_color?: string | undefined;
165466
+ secondary_color?: string | undefined;
165467
+ };
165468
+ };
165469
+ };
165470
+ '/workspaces/customization_profiles/list': {
165471
+ route: '/workspaces/customization_profiles/list';
165472
+ method: 'POST' | 'GET';
165473
+ queryParams: {};
165474
+ jsonBody: {};
165475
+ commonParams: {};
165476
+ formData: {};
165477
+ jsonResponse: {
165478
+ customization_profiles: {
165479
+ workspace_id: string;
165480
+ customization_profile_id: string;
165481
+ logo_url?: string | undefined;
165482
+ primary_color?: string | undefined;
165483
+ secondary_color?: string | undefined;
165484
+ }[];
165485
+ };
165486
+ };
165487
+ '/workspaces/customization_profiles/update': {
165488
+ route: '/workspaces/customization_profiles/update';
165489
+ method: 'POST' | 'PATCH';
165490
+ queryParams: {};
165491
+ jsonBody: {
165492
+ customization_profile_id: string;
165493
+ primary_color?: string | undefined;
165494
+ secondary_color?: string | undefined;
165495
+ };
165496
+ commonParams: {};
165497
+ formData: {};
165498
+ jsonResponse: {};
165499
+ };
165500
+ '/workspaces/customization_profiles/upload_images': {
165501
+ route: '/workspaces/customization_profiles/upload_images';
165502
+ method: 'POST';
165503
+ queryParams: {};
165504
+ jsonBody: {};
165505
+ commonParams: {};
165506
+ formData: {};
165507
+ jsonResponse: {};
165508
+ };
164890
165509
  '/workspaces/find_resources': {
164891
165510
  route: '/workspaces/find_resources';
164892
165511
  method: 'GET' | 'POST';