@seamapi/types 1.141.0 → 1.142.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.
@@ -8939,20 +8939,25 @@ declare const _default: {
8939
8939
  };
8940
8940
  };
8941
8941
  security: ({
8942
- access_token: never[];
8943
- seam_workspace: never[];
8944
- seam_client_session_token?: never;
8945
- client_session_token?: never;
8942
+ client_session: never[];
8943
+ pat_with_workspace?: never;
8944
+ console_session?: never;
8945
+ api_key?: never;
8946
8946
  } | {
8947
- seam_client_session_token: never[];
8948
- access_token?: never;
8949
- seam_workspace?: never;
8950
- client_session_token?: never;
8947
+ pat_with_workspace: never[];
8948
+ client_session?: never;
8949
+ console_session?: never;
8950
+ api_key?: never;
8951
8951
  } | {
8952
- client_session_token: never[];
8953
- access_token?: never;
8954
- seam_workspace?: never;
8955
- seam_client_session_token?: never;
8952
+ console_session: never[];
8953
+ client_session?: never;
8954
+ pat_with_workspace?: never;
8955
+ api_key?: never;
8956
+ } | {
8957
+ api_key: never[];
8958
+ client_session?: never;
8959
+ pat_with_workspace?: never;
8960
+ console_session?: never;
8956
8961
  })[];
8957
8962
  summary: string;
8958
8963
  tags: string[];
@@ -10676,6 +10681,20 @@ declare const _default: {
10676
10681
  };
10677
10682
  type: string;
10678
10683
  };
10684
+ exclude_if: {
10685
+ items: {
10686
+ enum: string[];
10687
+ type: string;
10688
+ };
10689
+ type: string;
10690
+ };
10691
+ include_if: {
10692
+ items: {
10693
+ enum: string[];
10694
+ type: string;
10695
+ };
10696
+ type: string;
10697
+ };
10679
10698
  limit: {
10680
10699
  default: number;
10681
10700
  nullable: boolean;
@@ -11024,6 +11043,20 @@ declare const _default: {
11024
11043
  };
11025
11044
  type: string;
11026
11045
  };
11046
+ exclude_if: {
11047
+ items: {
11048
+ enum: string[];
11049
+ type: string;
11050
+ };
11051
+ type: string;
11052
+ };
11053
+ include_if: {
11054
+ items: {
11055
+ enum: string[];
11056
+ type: string;
11057
+ };
11058
+ type: string;
11059
+ };
11027
11060
  limit: {
11028
11061
  default: number;
11029
11062
  nullable: boolean;
@@ -12055,6 +12088,20 @@ declare const _default: {
12055
12088
  };
12056
12089
  type: string;
12057
12090
  };
12091
+ exclude_if: {
12092
+ items: {
12093
+ enum: string[];
12094
+ type: string;
12095
+ };
12096
+ type: string;
12097
+ };
12098
+ include_if: {
12099
+ items: {
12100
+ enum: string[];
12101
+ type: string;
12102
+ };
12103
+ type: string;
12104
+ };
12058
12105
  limit: {
12059
12106
  default: number;
12060
12107
  nullable: boolean;
@@ -14480,6 +14527,20 @@ declare const _default: {
14480
14527
  };
14481
14528
  type: string;
14482
14529
  };
14530
+ exclude_if: {
14531
+ items: {
14532
+ enum: string[];
14533
+ type: string;
14534
+ };
14535
+ type: string;
14536
+ };
14537
+ include_if: {
14538
+ items: {
14539
+ enum: string[];
14540
+ type: string;
14541
+ };
14542
+ type: string;
14543
+ };
14483
14544
  limit: {
14484
14545
  default: number;
14485
14546
  nullable: boolean;
@@ -19700,6 +19761,8 @@ interface Routes {
19700
19761
  created_before?: Date | undefined;
19701
19762
  user_identifier_key?: string | undefined;
19702
19763
  custom_metadata_has?: Record<string, string | boolean | null> | undefined;
19764
+ include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
19765
+ exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
19703
19766
  };
19704
19767
  formData: {};
19705
19768
  jsonResponse: {
@@ -20319,6 +20382,8 @@ interface Routes {
20319
20382
  created_before?: Date | undefined;
20320
20383
  user_identifier_key?: string | undefined;
20321
20384
  custom_metadata_has?: Record<string, string | boolean | null> | undefined;
20385
+ include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
20386
+ exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
20322
20387
  };
20323
20388
  formData: {};
20324
20389
  jsonResponse: {
@@ -21550,6 +21615,8 @@ interface Routes {
21550
21615
  created_before?: Date | undefined;
21551
21616
  user_identifier_key?: string | undefined;
21552
21617
  custom_metadata_has?: Record<string, string | boolean | null> | undefined;
21618
+ include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
21619
+ exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
21553
21620
  };
21554
21621
  formData: {};
21555
21622
  jsonResponse: {
@@ -23748,6 +23815,8 @@ interface Routes {
23748
23815
  created_before?: Date | undefined;
23749
23816
  user_identifier_key?: string | undefined;
23750
23817
  custom_metadata_has?: Record<string, string | boolean | null> | undefined;
23818
+ include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
23819
+ exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
23751
23820
  };
23752
23821
  formData: {};
23753
23822
  jsonResponse: {
@@ -118,8 +118,8 @@ declare const device_model_category_specific_properties: z.ZodDiscriminatedUnion
118
118
  }>;
119
119
  can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
120
120
  can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
121
- can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
122
121
  can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
122
+ can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
123
123
  }, "strip", z.ZodTypeAny, {
124
124
  main_category: "smartlock";
125
125
  physical_properties: {
@@ -135,8 +135,8 @@ declare const device_model_category_specific_properties: z.ZodDiscriminatedUnion
135
135
  };
136
136
  can_remotely_unlock?: true | undefined;
137
137
  can_remotely_lock?: true | undefined;
138
- can_program_offline_access_codes?: true | undefined;
139
138
  can_program_online_access_codes?: true | undefined;
139
+ can_program_offline_access_codes?: true | undefined;
140
140
  }, {
141
141
  main_category: "smartlock";
142
142
  physical_properties: {
@@ -152,8 +152,8 @@ declare const device_model_category_specific_properties: z.ZodDiscriminatedUnion
152
152
  };
153
153
  can_remotely_unlock?: true | undefined;
154
154
  can_remotely_lock?: true | undefined;
155
- can_program_offline_access_codes?: true | undefined;
156
155
  can_program_online_access_codes?: true | undefined;
156
+ can_program_offline_access_codes?: true | undefined;
157
157
  }>, z.ZodObject<{
158
158
  main_category: z.ZodLiteral<"sensor">;
159
159
  physical_properties: z.ZodObject<{
@@ -884,8 +884,8 @@ declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
884
884
  }>;
885
885
  can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
886
886
  can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
887
- can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
888
887
  can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
888
+ can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
889
889
  }, "strip", z.ZodTypeAny, {
890
890
  main_category: "smartlock";
891
891
  physical_properties: {
@@ -901,8 +901,8 @@ declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
901
901
  };
902
902
  can_remotely_unlock?: true | undefined;
903
903
  can_remotely_lock?: true | undefined;
904
- can_program_offline_access_codes?: true | undefined;
905
904
  can_program_online_access_codes?: true | undefined;
905
+ can_program_offline_access_codes?: true | undefined;
906
906
  }, {
907
907
  main_category: "smartlock";
908
908
  physical_properties: {
@@ -918,8 +918,8 @@ declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
918
918
  };
919
919
  can_remotely_unlock?: true | undefined;
920
920
  can_remotely_lock?: true | undefined;
921
- can_program_offline_access_codes?: true | undefined;
922
921
  can_program_online_access_codes?: true | undefined;
922
+ can_program_offline_access_codes?: true | undefined;
923
923
  }>, z.ZodObject<{
924
924
  main_category: z.ZodLiteral<"sensor">;
925
925
  physical_properties: z.ZodObject<{
@@ -1525,8 +1525,8 @@ declare const routes: {
1525
1525
  }>;
1526
1526
  can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
1527
1527
  can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
1528
- can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
1529
1528
  can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
1529
+ can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
1530
1530
  }, "strip", z.ZodTypeAny, {
1531
1531
  main_category: "smartlock";
1532
1532
  physical_properties: {
@@ -1542,8 +1542,8 @@ declare const routes: {
1542
1542
  };
1543
1543
  can_remotely_unlock?: true | undefined;
1544
1544
  can_remotely_lock?: true | undefined;
1545
- can_program_offline_access_codes?: true | undefined;
1546
1545
  can_program_online_access_codes?: true | undefined;
1546
+ can_program_offline_access_codes?: true | undefined;
1547
1547
  }, {
1548
1548
  main_category: "smartlock";
1549
1549
  physical_properties: {
@@ -1559,8 +1559,8 @@ declare const routes: {
1559
1559
  };
1560
1560
  can_remotely_unlock?: true | undefined;
1561
1561
  can_remotely_lock?: true | undefined;
1562
- can_program_offline_access_codes?: true | undefined;
1563
1562
  can_program_online_access_codes?: true | undefined;
1563
+ can_program_offline_access_codes?: true | undefined;
1564
1564
  }>, z.ZodObject<{
1565
1565
  main_category: z.ZodLiteral<"sensor">;
1566
1566
  physical_properties: z.ZodObject<{
@@ -1797,8 +1797,8 @@ declare const routes: {
1797
1797
  };
1798
1798
  can_remotely_unlock?: true | undefined;
1799
1799
  can_remotely_lock?: true | undefined;
1800
- can_program_offline_access_codes?: true | undefined;
1801
1800
  can_program_online_access_codes?: true | undefined;
1801
+ can_program_offline_access_codes?: true | undefined;
1802
1802
  }) | ({
1803
1803
  display_name: string;
1804
1804
  description: string;
@@ -2150,8 +2150,8 @@ declare const routes: {
2150
2150
  };
2151
2151
  can_remotely_unlock?: true | undefined;
2152
2152
  can_remotely_lock?: true | undefined;
2153
- can_program_offline_access_codes?: true | undefined;
2154
2153
  can_program_online_access_codes?: true | undefined;
2154
+ can_program_offline_access_codes?: true | undefined;
2155
2155
  }) | ({
2156
2156
  display_name: string;
2157
2157
  description: string;
@@ -2768,8 +2768,8 @@ declare const routes: {
2768
2768
  }>;
2769
2769
  can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
2770
2770
  can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
2771
- can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
2772
2771
  can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
2772
+ can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
2773
2773
  }, "strip", z.ZodTypeAny, {
2774
2774
  main_category: "smartlock";
2775
2775
  physical_properties: {
@@ -2785,8 +2785,8 @@ declare const routes: {
2785
2785
  };
2786
2786
  can_remotely_unlock?: true | undefined;
2787
2787
  can_remotely_lock?: true | undefined;
2788
- can_program_offline_access_codes?: true | undefined;
2789
2788
  can_program_online_access_codes?: true | undefined;
2789
+ can_program_offline_access_codes?: true | undefined;
2790
2790
  }, {
2791
2791
  main_category: "smartlock";
2792
2792
  physical_properties: {
@@ -2802,8 +2802,8 @@ declare const routes: {
2802
2802
  };
2803
2803
  can_remotely_unlock?: true | undefined;
2804
2804
  can_remotely_lock?: true | undefined;
2805
- can_program_offline_access_codes?: true | undefined;
2806
2805
  can_program_online_access_codes?: true | undefined;
2806
+ can_program_offline_access_codes?: true | undefined;
2807
2807
  }>, z.ZodObject<{
2808
2808
  main_category: z.ZodLiteral<"sensor">;
2809
2809
  physical_properties: z.ZodObject<{
@@ -3040,8 +3040,8 @@ declare const routes: {
3040
3040
  };
3041
3041
  can_remotely_unlock?: true | undefined;
3042
3042
  can_remotely_lock?: true | undefined;
3043
- can_program_offline_access_codes?: true | undefined;
3044
3043
  can_program_online_access_codes?: true | undefined;
3044
+ can_program_offline_access_codes?: true | undefined;
3045
3045
  } | {
3046
3046
  main_category: "sensor";
3047
3047
  physical_properties: {
@@ -3148,8 +3148,8 @@ declare const routes: {
3148
3148
  };
3149
3149
  can_remotely_unlock?: true | undefined;
3150
3150
  can_remotely_lock?: true | undefined;
3151
- can_program_offline_access_codes?: true | undefined;
3152
3151
  can_program_online_access_codes?: true | undefined;
3152
+ can_program_offline_access_codes?: true | undefined;
3153
3153
  } | {
3154
3154
  main_category: "sensor";
3155
3155
  physical_properties: {
@@ -8865,20 +8865,25 @@ declare const _default: {
8865
8865
  };
8866
8866
  };
8867
8867
  security: ({
8868
- access_token: never[];
8869
- seam_workspace: never[];
8870
- seam_client_session_token?: never;
8871
- client_session_token?: never;
8868
+ client_session: never[];
8869
+ pat_with_workspace?: never;
8870
+ console_session?: never;
8871
+ api_key?: never;
8872
8872
  } | {
8873
- seam_client_session_token: never[];
8874
- access_token?: never;
8875
- seam_workspace?: never;
8876
- client_session_token?: never;
8873
+ pat_with_workspace: never[];
8874
+ client_session?: never;
8875
+ console_session?: never;
8876
+ api_key?: never;
8877
8877
  } | {
8878
- client_session_token: never[];
8879
- access_token?: never;
8880
- seam_workspace?: never;
8881
- seam_client_session_token?: never;
8878
+ console_session: never[];
8879
+ client_session?: never;
8880
+ pat_with_workspace?: never;
8881
+ api_key?: never;
8882
+ } | {
8883
+ api_key: never[];
8884
+ client_session?: never;
8885
+ pat_with_workspace?: never;
8886
+ console_session?: never;
8882
8887
  })[];
8883
8888
  summary: string;
8884
8889
  tags: string[];
@@ -10602,6 +10607,20 @@ declare const _default: {
10602
10607
  };
10603
10608
  type: string;
10604
10609
  };
10610
+ exclude_if: {
10611
+ items: {
10612
+ enum: string[];
10613
+ type: string;
10614
+ };
10615
+ type: string;
10616
+ };
10617
+ include_if: {
10618
+ items: {
10619
+ enum: string[];
10620
+ type: string;
10621
+ };
10622
+ type: string;
10623
+ };
10605
10624
  limit: {
10606
10625
  default: number;
10607
10626
  nullable: boolean;
@@ -10950,6 +10969,20 @@ declare const _default: {
10950
10969
  };
10951
10970
  type: string;
10952
10971
  };
10972
+ exclude_if: {
10973
+ items: {
10974
+ enum: string[];
10975
+ type: string;
10976
+ };
10977
+ type: string;
10978
+ };
10979
+ include_if: {
10980
+ items: {
10981
+ enum: string[];
10982
+ type: string;
10983
+ };
10984
+ type: string;
10985
+ };
10953
10986
  limit: {
10954
10987
  default: number;
10955
10988
  nullable: boolean;
@@ -11981,6 +12014,20 @@ declare const _default: {
11981
12014
  };
11982
12015
  type: string;
11983
12016
  };
12017
+ exclude_if: {
12018
+ items: {
12019
+ enum: string[];
12020
+ type: string;
12021
+ };
12022
+ type: string;
12023
+ };
12024
+ include_if: {
12025
+ items: {
12026
+ enum: string[];
12027
+ type: string;
12028
+ };
12029
+ type: string;
12030
+ };
11984
12031
  limit: {
11985
12032
  default: number;
11986
12033
  nullable: boolean;
@@ -14406,6 +14453,20 @@ declare const _default: {
14406
14453
  };
14407
14454
  type: string;
14408
14455
  };
14456
+ exclude_if: {
14457
+ items: {
14458
+ enum: string[];
14459
+ type: string;
14460
+ };
14461
+ type: string;
14462
+ };
14463
+ include_if: {
14464
+ items: {
14465
+ enum: string[];
14466
+ type: string;
14467
+ };
14468
+ type: string;
14469
+ };
14409
14470
  limit: {
14410
14471
  default: number;
14411
14472
  nullable: boolean;
@@ -6457,9 +6457,10 @@ export default {
6457
6457
  401: { description: 'Unauthorized' },
6458
6458
  },
6459
6459
  security: [
6460
- { access_token: [], seam_workspace: [] },
6461
- { seam_client_session_token: [] },
6462
- { client_session_token: [] },
6460
+ { client_session: [] },
6461
+ { pat_with_workspace: [] },
6462
+ { console_session: [] },
6463
+ { api_key: [] },
6463
6464
  ],
6464
6465
  summary: '/action_attempts/get',
6465
6466
  tags: ['/action_attempts'],
@@ -7817,6 +7818,30 @@ export default {
7817
7818
  },
7818
7819
  type: 'array',
7819
7820
  },
7821
+ exclude_if: {
7822
+ items: {
7823
+ enum: [
7824
+ 'can_remotely_unlock',
7825
+ 'can_remotely_lock',
7826
+ 'can_program_online_access_codes',
7827
+ 'can_simulate_removal',
7828
+ ],
7829
+ type: 'string',
7830
+ },
7831
+ type: 'array',
7832
+ },
7833
+ include_if: {
7834
+ items: {
7835
+ enum: [
7836
+ 'can_remotely_unlock',
7837
+ 'can_remotely_lock',
7838
+ 'can_program_online_access_codes',
7839
+ 'can_simulate_removal',
7840
+ ],
7841
+ type: 'string',
7842
+ },
7843
+ type: 'array',
7844
+ },
7820
7845
  limit: { default: 500, nullable: true, type: 'number' },
7821
7846
  manufacturer: {
7822
7847
  enum: [
@@ -8184,6 +8209,30 @@ export default {
8184
8209
  },
8185
8210
  type: 'array',
8186
8211
  },
8212
+ exclude_if: {
8213
+ items: {
8214
+ enum: [
8215
+ 'can_remotely_unlock',
8216
+ 'can_remotely_lock',
8217
+ 'can_program_online_access_codes',
8218
+ 'can_simulate_removal',
8219
+ ],
8220
+ type: 'string',
8221
+ },
8222
+ type: 'array',
8223
+ },
8224
+ include_if: {
8225
+ items: {
8226
+ enum: [
8227
+ 'can_remotely_unlock',
8228
+ 'can_remotely_lock',
8229
+ 'can_program_online_access_codes',
8230
+ 'can_simulate_removal',
8231
+ ],
8232
+ type: 'string',
8233
+ },
8234
+ type: 'array',
8235
+ },
8187
8236
  limit: { default: 500, nullable: true, type: 'number' },
8188
8237
  manufacturer: {
8189
8238
  enum: [
@@ -9121,6 +9170,30 @@ export default {
9121
9170
  },
9122
9171
  type: 'array',
9123
9172
  },
9173
+ exclude_if: {
9174
+ items: {
9175
+ enum: [
9176
+ 'can_remotely_unlock',
9177
+ 'can_remotely_lock',
9178
+ 'can_program_online_access_codes',
9179
+ 'can_simulate_removal',
9180
+ ],
9181
+ type: 'string',
9182
+ },
9183
+ type: 'array',
9184
+ },
9185
+ include_if: {
9186
+ items: {
9187
+ enum: [
9188
+ 'can_remotely_unlock',
9189
+ 'can_remotely_lock',
9190
+ 'can_program_online_access_codes',
9191
+ 'can_simulate_removal',
9192
+ ],
9193
+ type: 'string',
9194
+ },
9195
+ type: 'array',
9196
+ },
9124
9197
  limit: { default: 500, nullable: true, type: 'number' },
9125
9198
  manufacturer: {
9126
9199
  enum: [
@@ -10831,6 +10904,30 @@ export default {
10831
10904
  },
10832
10905
  type: 'array',
10833
10906
  },
10907
+ exclude_if: {
10908
+ items: {
10909
+ enum: [
10910
+ 'can_remotely_unlock',
10911
+ 'can_remotely_lock',
10912
+ 'can_program_online_access_codes',
10913
+ 'can_simulate_removal',
10914
+ ],
10915
+ type: 'string',
10916
+ },
10917
+ type: 'array',
10918
+ },
10919
+ include_if: {
10920
+ items: {
10921
+ enum: [
10922
+ 'can_remotely_unlock',
10923
+ 'can_remotely_lock',
10924
+ 'can_program_online_access_codes',
10925
+ 'can_simulate_removal',
10926
+ ],
10927
+ type: 'string',
10928
+ },
10929
+ type: 'array',
10930
+ },
10834
10931
  limit: { default: 500, nullable: true, type: 'number' },
10835
10932
  manufacturer: {
10836
10933
  enum: [