@seamapi/types 1.780.0 → 1.782.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.
@@ -4340,6 +4340,20 @@ declare const acs_access_group: z.ZodObject<{
4340
4340
  external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group", "dormakaba_ambiance_access_group"]>;
4341
4341
  external_type_display_name: z.ZodString;
4342
4342
  created_at: z.ZodString;
4343
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
4344
+ created_at: z.ZodString;
4345
+ message: z.ZodString;
4346
+ } & {
4347
+ error_code: z.ZodLiteral<"failed_to_create_on_acs_system">;
4348
+ }, "strip", z.ZodTypeAny, {
4349
+ message: string;
4350
+ created_at: string;
4351
+ error_code: "failed_to_create_on_acs_system";
4352
+ }, {
4353
+ message: string;
4354
+ created_at: string;
4355
+ error_code: "failed_to_create_on_acs_system";
4356
+ }>]>, "many">;
4343
4357
  warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4344
4358
  created_at: z.ZodString;
4345
4359
  message: z.ZodString;
@@ -4609,6 +4623,11 @@ declare const acs_access_group: z.ZodObject<{
4609
4623
  display_name: string;
4610
4624
  workspace_id: string;
4611
4625
  created_at: string;
4626
+ errors: {
4627
+ message: string;
4628
+ created_at: string;
4629
+ error_code: "failed_to_create_on_acs_system";
4630
+ }[];
4612
4631
  connected_account_id: string;
4613
4632
  warnings: ({
4614
4633
  message: string;
@@ -4696,6 +4715,11 @@ declare const acs_access_group: z.ZodObject<{
4696
4715
  display_name: string;
4697
4716
  workspace_id: string;
4698
4717
  created_at: string;
4718
+ errors: {
4719
+ message: string;
4720
+ created_at: string;
4721
+ error_code: "failed_to_create_on_acs_system";
4722
+ }[];
4699
4723
  connected_account_id: string;
4700
4724
  warnings: ({
4701
4725
  message: string;
@@ -4791,6 +4815,20 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
4791
4815
  external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group", "dormakaba_ambiance_access_group"]>;
4792
4816
  external_type_display_name: z.ZodString;
4793
4817
  created_at: z.ZodString;
4818
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
4819
+ created_at: z.ZodString;
4820
+ message: z.ZodString;
4821
+ } & {
4822
+ error_code: z.ZodLiteral<"failed_to_create_on_acs_system">;
4823
+ }, "strip", z.ZodTypeAny, {
4824
+ message: string;
4825
+ created_at: string;
4826
+ error_code: "failed_to_create_on_acs_system";
4827
+ }, {
4828
+ message: string;
4829
+ created_at: string;
4830
+ error_code: "failed_to_create_on_acs_system";
4831
+ }>]>, "many">;
4794
4832
  warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4795
4833
  created_at: z.ZodString;
4796
4834
  message: z.ZodString;
@@ -5060,6 +5098,11 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
5060
5098
  display_name: string;
5061
5099
  workspace_id: string;
5062
5100
  created_at: string;
5101
+ errors: {
5102
+ message: string;
5103
+ created_at: string;
5104
+ error_code: "failed_to_create_on_acs_system";
5105
+ }[];
5063
5106
  connected_account_id: string;
5064
5107
  warnings: ({
5065
5108
  message: string;
@@ -5147,6 +5190,11 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
5147
5190
  display_name: string;
5148
5191
  workspace_id: string;
5149
5192
  created_at: string;
5193
+ errors: {
5194
+ message: string;
5195
+ created_at: string;
5196
+ error_code: "failed_to_create_on_acs_system";
5197
+ }[];
5150
5198
  connected_account_id: string;
5151
5199
  warnings: ({
5152
5200
  message: string;
@@ -18392,6 +18440,20 @@ declare const batch: z.ZodObject<{
18392
18440
  external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group", "dormakaba_ambiance_access_group"]>;
18393
18441
  external_type_display_name: z.ZodString;
18394
18442
  created_at: z.ZodString;
18443
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
18444
+ created_at: z.ZodString;
18445
+ message: z.ZodString;
18446
+ } & {
18447
+ error_code: z.ZodLiteral<"failed_to_create_on_acs_system">;
18448
+ }, "strip", z.ZodTypeAny, {
18449
+ message: string;
18450
+ created_at: string;
18451
+ error_code: "failed_to_create_on_acs_system";
18452
+ }, {
18453
+ message: string;
18454
+ created_at: string;
18455
+ error_code: "failed_to_create_on_acs_system";
18456
+ }>]>, "many">;
18395
18457
  warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<{
18396
18458
  created_at: z.ZodString;
18397
18459
  message: z.ZodString;
@@ -18661,6 +18723,11 @@ declare const batch: z.ZodObject<{
18661
18723
  display_name: string;
18662
18724
  workspace_id: string;
18663
18725
  created_at: string;
18726
+ errors: {
18727
+ message: string;
18728
+ created_at: string;
18729
+ error_code: "failed_to_create_on_acs_system";
18730
+ }[];
18664
18731
  connected_account_id: string;
18665
18732
  warnings: ({
18666
18733
  message: string;
@@ -18748,6 +18815,11 @@ declare const batch: z.ZodObject<{
18748
18815
  display_name: string;
18749
18816
  workspace_id: string;
18750
18817
  created_at: string;
18818
+ errors: {
18819
+ message: string;
18820
+ created_at: string;
18821
+ error_code: "failed_to_create_on_acs_system";
18822
+ }[];
18751
18823
  connected_account_id: string;
18752
18824
  warnings: ({
18753
18825
  message: string;
@@ -24235,6 +24307,20 @@ declare const batch: z.ZodObject<{
24235
24307
  external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group", "dormakaba_ambiance_access_group"]>;
24236
24308
  external_type_display_name: z.ZodString;
24237
24309
  created_at: z.ZodString;
24310
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
24311
+ created_at: z.ZodString;
24312
+ message: z.ZodString;
24313
+ } & {
24314
+ error_code: z.ZodLiteral<"failed_to_create_on_acs_system">;
24315
+ }, "strip", z.ZodTypeAny, {
24316
+ message: string;
24317
+ created_at: string;
24318
+ error_code: "failed_to_create_on_acs_system";
24319
+ }, {
24320
+ message: string;
24321
+ created_at: string;
24322
+ error_code: "failed_to_create_on_acs_system";
24323
+ }>]>, "many">;
24238
24324
  warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<{
24239
24325
  created_at: z.ZodString;
24240
24326
  message: z.ZodString;
@@ -24504,6 +24590,11 @@ declare const batch: z.ZodObject<{
24504
24590
  display_name: string;
24505
24591
  workspace_id: string;
24506
24592
  created_at: string;
24593
+ errors: {
24594
+ message: string;
24595
+ created_at: string;
24596
+ error_code: "failed_to_create_on_acs_system";
24597
+ }[];
24507
24598
  connected_account_id: string;
24508
24599
  warnings: ({
24509
24600
  message: string;
@@ -24591,6 +24682,11 @@ declare const batch: z.ZodObject<{
24591
24682
  display_name: string;
24592
24683
  workspace_id: string;
24593
24684
  created_at: string;
24685
+ errors: {
24686
+ message: string;
24687
+ created_at: string;
24688
+ error_code: "failed_to_create_on_acs_system";
24689
+ }[];
24594
24690
  connected_account_id: string;
24595
24691
  warnings: ({
24596
24692
  message: string;
@@ -38494,6 +38590,11 @@ declare const batch: z.ZodObject<{
38494
38590
  display_name: string;
38495
38591
  workspace_id: string;
38496
38592
  created_at: string;
38593
+ errors: {
38594
+ message: string;
38595
+ created_at: string;
38596
+ error_code: "failed_to_create_on_acs_system";
38597
+ }[];
38497
38598
  connected_account_id: string;
38498
38599
  warnings: ({
38499
38600
  message: string;
@@ -39659,6 +39760,11 @@ declare const batch: z.ZodObject<{
39659
39760
  display_name: string;
39660
39761
  workspace_id: string;
39661
39762
  created_at: string;
39763
+ errors: {
39764
+ message: string;
39765
+ created_at: string;
39766
+ error_code: "failed_to_create_on_acs_system";
39767
+ }[];
39662
39768
  connected_account_id: string;
39663
39769
  warnings: ({
39664
39770
  message: string;
@@ -43357,6 +43463,11 @@ declare const batch: z.ZodObject<{
43357
43463
  display_name: string;
43358
43464
  workspace_id: string;
43359
43465
  created_at: string;
43466
+ errors: {
43467
+ message: string;
43468
+ created_at: string;
43469
+ error_code: "failed_to_create_on_acs_system";
43470
+ }[];
43360
43471
  connected_account_id: string;
43361
43472
  warnings: ({
43362
43473
  message: string;
@@ -44522,6 +44633,11 @@ declare const batch: z.ZodObject<{
44522
44633
  display_name: string;
44523
44634
  workspace_id: string;
44524
44635
  created_at: string;
44636
+ errors: {
44637
+ message: string;
44638
+ created_at: string;
44639
+ error_code: "failed_to_create_on_acs_system";
44640
+ }[];
44525
44641
  connected_account_id: string;
44526
44642
  warnings: ({
44527
44643
  message: string;
@@ -63597,6 +63713,37 @@ declare const _default: {
63597
63713
  display_name: {
63598
63714
  type: string;
63599
63715
  };
63716
+ errors: {
63717
+ description: string;
63718
+ items: {
63719
+ description: string;
63720
+ discriminator: {
63721
+ propertyName: string;
63722
+ };
63723
+ oneOf: {
63724
+ description: string;
63725
+ properties: {
63726
+ created_at: {
63727
+ description: string;
63728
+ format: string;
63729
+ type: string;
63730
+ };
63731
+ error_code: {
63732
+ description: string;
63733
+ enum: string[];
63734
+ type: string;
63735
+ };
63736
+ message: {
63737
+ description: string;
63738
+ type: string;
63739
+ };
63740
+ };
63741
+ required: string[];
63742
+ type: string;
63743
+ }[];
63744
+ };
63745
+ type: string;
63746
+ };
63600
63747
  external_type: {
63601
63748
  description: string;
63602
63749
  enum: string[];
@@ -79428,6 +79575,37 @@ declare const _default: {
79428
79575
  display_name: {
79429
79576
  type: string;
79430
79577
  };
79578
+ errors: {
79579
+ description: string;
79580
+ items: {
79581
+ description: string;
79582
+ discriminator: {
79583
+ propertyName: string;
79584
+ };
79585
+ oneOf: {
79586
+ description: string;
79587
+ properties: {
79588
+ created_at: {
79589
+ description: string;
79590
+ format: string;
79591
+ type: string;
79592
+ };
79593
+ error_code: {
79594
+ description: string;
79595
+ enum: string[];
79596
+ type: string;
79597
+ };
79598
+ message: {
79599
+ description: string;
79600
+ type: string;
79601
+ };
79602
+ };
79603
+ required: string[];
79604
+ type: string;
79605
+ }[];
79606
+ };
79607
+ type: string;
79608
+ };
79431
79609
  external_type: {
79432
79610
  description: string;
79433
79611
  enum: string[];
@@ -124782,6 +124960,8 @@ declare const _default: {
124782
124960
  format?: never;
124783
124961
  'x-draft'?: never;
124784
124962
  'x-undocumented'?: never;
124963
+ default?: never;
124964
+ nullable?: never;
124785
124965
  };
124786
124966
  } | {
124787
124967
  in: string;
@@ -124793,6 +124973,8 @@ declare const _default: {
124793
124973
  format?: never;
124794
124974
  'x-draft'?: never;
124795
124975
  'x-undocumented'?: never;
124976
+ default?: never;
124977
+ nullable?: never;
124796
124978
  };
124797
124979
  } | {
124798
124980
  in: string;
@@ -124804,6 +124986,34 @@ declare const _default: {
124804
124986
  'x-draft': string;
124805
124987
  'x-undocumented': string;
124806
124988
  minLength?: never;
124989
+ default?: never;
124990
+ nullable?: never;
124991
+ };
124992
+ } | {
124993
+ in: string;
124994
+ name: string;
124995
+ schema: {
124996
+ default: number;
124997
+ description: string;
124998
+ format: string;
124999
+ type: string;
125000
+ minLength?: never;
125001
+ 'x-draft'?: never;
125002
+ 'x-undocumented'?: never;
125003
+ nullable?: never;
125004
+ };
125005
+ } | {
125006
+ in: string;
125007
+ name: string;
125008
+ schema: {
125009
+ description: string;
125010
+ nullable: boolean;
125011
+ type: string;
125012
+ minLength?: never;
125013
+ format?: never;
125014
+ 'x-draft'?: never;
125015
+ 'x-undocumented'?: never;
125016
+ default?: never;
124807
125017
  };
124808
125018
  })[];
124809
125019
  responses: {
@@ -124815,6 +125025,9 @@ declare const _default: {
124815
125025
  ok: {
124816
125026
  type: string;
124817
125027
  };
125028
+ pagination: {
125029
+ $ref: string;
125030
+ };
124818
125031
  spaces: {
124819
125032
  items: {
124820
125033
  $ref: string;
@@ -124885,6 +125098,17 @@ declare const _default: {
124885
125098
  description: string;
124886
125099
  type: string;
124887
125100
  };
125101
+ limit: {
125102
+ default: number;
125103
+ description: string;
125104
+ format: string;
125105
+ type: string;
125106
+ };
125107
+ page_cursor: {
125108
+ description: string;
125109
+ nullable: boolean;
125110
+ type: string;
125111
+ };
124888
125112
  search: {
124889
125113
  description: string;
124890
125114
  minLength: number;
@@ -124909,6 +125133,9 @@ declare const _default: {
124909
125133
  ok: {
124910
125134
  type: string;
124911
125135
  };
125136
+ pagination: {
125137
+ $ref: string;
125138
+ };
124912
125139
  spaces: {
124913
125140
  items: {
124914
125141
  $ref: string;
@@ -148242,6 +148469,15 @@ type Routes = {
148242
148469
  external_type_display_name: string;
148243
148470
  /** Date and time at which the access group was created. */
148244
148471
  created_at: string;
148472
+ /** Errors associated with the `acs_access_group`. */
148473
+ errors: {
148474
+ /** Date and time at which Seam created the error. */
148475
+ created_at: string;
148476
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148477
+ message: string;
148478
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
148479
+ error_code: 'failed_to_create_on_acs_system';
148480
+ }[];
148245
148481
  /** Warnings associated with the `acs_access_group`. */
148246
148482
  warnings: ({
148247
148483
  /** Date and time at which Seam created the warning. */
@@ -153123,6 +153359,15 @@ type Routes = {
153123
153359
  external_type_display_name: string;
153124
153360
  /** Date and time at which the access group was created. */
153125
153361
  created_at: string;
153362
+ /** Errors associated with the `acs_access_group`. */
153363
+ errors: {
153364
+ /** Date and time at which Seam created the error. */
153365
+ created_at: string;
153366
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
153367
+ message: string;
153368
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
153369
+ error_code: 'failed_to_create_on_acs_system';
153370
+ }[];
153126
153371
  /** Warnings associated with the `acs_access_group`. */
153127
153372
  warnings: ({
153128
153373
  /** Date and time at which Seam created the warning. */
@@ -153298,6 +153543,15 @@ type Routes = {
153298
153543
  external_type_display_name: string;
153299
153544
  /** Date and time at which the access group was created. */
153300
153545
  created_at: string;
153546
+ /** Errors associated with the `acs_access_group`. */
153547
+ errors: {
153548
+ /** Date and time at which Seam created the error. */
153549
+ created_at: string;
153550
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
153551
+ message: string;
153552
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
153553
+ error_code: 'failed_to_create_on_acs_system';
153554
+ }[];
153301
153555
  /** Warnings associated with the `acs_access_group`. */
153302
153556
  warnings: ({
153303
153557
  /** Date and time at which Seam created the warning. */
@@ -153879,6 +154133,15 @@ type Routes = {
153879
154133
  external_type_display_name: string;
153880
154134
  /** Date and time at which the access group was created. */
153881
154135
  created_at: string;
154136
+ /** Errors associated with the `acs_access_group`. */
154137
+ errors: {
154138
+ /** Date and time at which Seam created the error. */
154139
+ created_at: string;
154140
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
154141
+ message: string;
154142
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
154143
+ error_code: 'failed_to_create_on_acs_system';
154144
+ }[];
153882
154145
  /** Warnings associated with the `acs_access_group`. */
153883
154146
  warnings: ({
153884
154147
  /** Date and time at which Seam created the warning. */
@@ -154052,6 +154315,15 @@ type Routes = {
154052
154315
  external_type_display_name: string;
154053
154316
  /** Date and time at which the access group was created. */
154054
154317
  created_at: string;
154318
+ /** Errors associated with the `acs_access_group`. */
154319
+ errors: {
154320
+ /** Date and time at which Seam created the error. */
154321
+ created_at: string;
154322
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
154323
+ message: string;
154324
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
154325
+ error_code: 'failed_to_create_on_acs_system';
154326
+ }[];
154055
154327
  /** Warnings associated with the `acs_access_group`. */
154056
154328
  warnings: ({
154057
154329
  /** Date and time at which Seam created the warning. */
@@ -205355,6 +205627,10 @@ type Routes = {
205355
205627
  connected_account_id?: string | undefined;
205356
205628
  /** Filter spaces by space_key. */
205357
205629
  space_key?: string | undefined;
205630
+ /** Maximum number of records to return per page. */
205631
+ limit?: number;
205632
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
205633
+ page_cursor?: (string | undefined) | null;
205358
205634
  };
205359
205635
  formData: {};
205360
205636
  jsonResponse: {
@@ -205380,6 +205656,15 @@ type Routes = {
205380
205656
  /** */
205381
205657
  parent_space_key?: string | undefined;
205382
205658
  }[];
205659
+ /** Information about the current page of results. */
205660
+ pagination: {
205661
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
205662
+ next_page_cursor: string | null;
205663
+ /** Indicates whether there is another page of results after this one. */
205664
+ has_next_page: boolean;
205665
+ /** URL to get the next page of results. */
205666
+ next_page_url: string | null;
205667
+ };
205383
205668
  };
205384
205669
  maxDuration: undefined;
205385
205670
  };
@@ -228208,6 +228493,15 @@ type Routes = {
228208
228493
  external_type_display_name: string;
228209
228494
  /** Date and time at which the access group was created. */
228210
228495
  created_at: string;
228496
+ /** Errors associated with the `acs_access_group`. */
228497
+ errors: {
228498
+ /** Date and time at which Seam created the error. */
228499
+ created_at: string;
228500
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
228501
+ message: string;
228502
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
228503
+ error_code: 'failed_to_create_on_acs_system';
228504
+ }[];
228211
228505
  /** Warnings associated with the `acs_access_group`. */
228212
228506
  warnings: ({
228213
228507
  /** Date and time at which Seam created the warning. */
@@ -229964,6 +230258,15 @@ type Routes = {
229964
230258
  external_type_display_name: string;
229965
230259
  /** Date and time at which the access group was created. */
229966
230260
  created_at: string;
230261
+ /** Errors associated with the `acs_access_group`. */
230262
+ errors: {
230263
+ /** Date and time at which Seam created the error. */
230264
+ created_at: string;
230265
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
230266
+ message: string;
230267
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
230268
+ error_code: 'failed_to_create_on_acs_system';
230269
+ }[];
229967
230270
  /** Warnings associated with the `acs_access_group`. */
229968
230271
  warnings: ({
229969
230272
  /** Date and time at which Seam created the warning. */