@seamapi/types 1.456.0 → 1.457.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.
@@ -1,7 +1,12 @@
1
1
  import { z } from 'zod';
2
2
  import { access_grants_batch } from './access_grants.js';
3
+ import { access_methods_batch } from './access_methods.js';
3
4
  import { spaces_batch } from './spaces.js';
4
- export const batch = z.union([spaces_batch, access_grants_batch]).describe(`
5
+ export const batch = z.union([
6
+ spaces_batch,
7
+ access_grants_batch,
8
+ access_methods_batch,
9
+ ]).describe(`
5
10
  ---
6
11
  route_path: /
7
12
  ---
@@ -1 +1 @@
1
- {"version":3,"file":"batch.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/batches/batch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,YAAY,EAAE,mBAAmB,CAAC,CAAC,CAAC,QAAQ,CAAC;;;;;CAK1E,CAAC,CAAA"}
1
+ {"version":3,"file":"batch.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/batches/batch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;IAC3B,YAAY;IACZ,mBAAmB;IACnB,oBAAoB;CACrB,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
@@ -1,3 +1,4 @@
1
1
  export * from './access_grants.js';
2
+ export * from './access_methods.js';
2
3
  export * from './batch.js';
3
4
  export * from './spaces.js';
@@ -1,4 +1,5 @@
1
1
  export * from './access_grants.js';
2
+ export * from './access_methods.js';
2
3
  export * from './batch.js';
3
4
  export * from './spaces.js';
4
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/batches/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/batches/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
@@ -17829,6 +17829,291 @@ declare const _default: {
17829
17829
  'x-title': string;
17830
17830
  };
17831
17831
  };
17832
+ '/access_methods/get_related': {
17833
+ get: {
17834
+ description: string;
17835
+ operationId: string;
17836
+ parameters: ({
17837
+ in: string;
17838
+ name: string;
17839
+ required: boolean;
17840
+ schema: {
17841
+ description: string;
17842
+ items: {
17843
+ format: string;
17844
+ type: string;
17845
+ enum?: never;
17846
+ };
17847
+ type: string;
17848
+ };
17849
+ } | {
17850
+ in: string;
17851
+ name: string;
17852
+ required: boolean;
17853
+ schema: {
17854
+ items: {
17855
+ enum: string[];
17856
+ type: string;
17857
+ format?: never;
17858
+ };
17859
+ type: string;
17860
+ description?: never;
17861
+ };
17862
+ })[];
17863
+ responses: {
17864
+ 200: {
17865
+ content: {
17866
+ 'application/json': {
17867
+ schema: {
17868
+ properties: {
17869
+ batch: {
17870
+ description: string;
17871
+ oneOf: ({
17872
+ description: string;
17873
+ properties: {
17874
+ acs_entrances: {
17875
+ items: {
17876
+ $ref: string;
17877
+ };
17878
+ type: string;
17879
+ };
17880
+ batch_type: {
17881
+ enum: string[];
17882
+ type: string;
17883
+ };
17884
+ devices: {
17885
+ items: {
17886
+ $ref: string;
17887
+ };
17888
+ type: string;
17889
+ };
17890
+ spaces: {
17891
+ items: {
17892
+ $ref: string;
17893
+ };
17894
+ type: string;
17895
+ };
17896
+ };
17897
+ required: string[];
17898
+ type: string;
17899
+ } | {
17900
+ properties: {
17901
+ acs_entrances: {
17902
+ items: {
17903
+ $ref: string;
17904
+ };
17905
+ type: string;
17906
+ };
17907
+ batch_type: {
17908
+ enum: string[];
17909
+ type: string;
17910
+ };
17911
+ devices: {
17912
+ items: {
17913
+ $ref: string;
17914
+ };
17915
+ type: string;
17916
+ };
17917
+ spaces: {
17918
+ items: {
17919
+ $ref: string;
17920
+ };
17921
+ type: string;
17922
+ };
17923
+ };
17924
+ required: string[];
17925
+ type: string;
17926
+ description?: never;
17927
+ })[];
17928
+ 'x-route-path': string;
17929
+ };
17930
+ ok: {
17931
+ type: string;
17932
+ };
17933
+ };
17934
+ required: string[];
17935
+ type: string;
17936
+ };
17937
+ };
17938
+ };
17939
+ description: string;
17940
+ };
17941
+ 400: {
17942
+ description: string;
17943
+ };
17944
+ 401: {
17945
+ description: string;
17946
+ };
17947
+ };
17948
+ security: ({
17949
+ pat_with_workspace: never[];
17950
+ console_session_with_workspace?: never;
17951
+ api_key?: never;
17952
+ } | {
17953
+ console_session_with_workspace: never[];
17954
+ pat_with_workspace?: never;
17955
+ api_key?: never;
17956
+ } | {
17957
+ api_key: never[];
17958
+ pat_with_workspace?: never;
17959
+ console_session_with_workspace?: never;
17960
+ })[];
17961
+ summary: string;
17962
+ tags: never[];
17963
+ 'x-batch-type': string;
17964
+ 'x-draft': string;
17965
+ 'x-fern-sdk-group-name': string[];
17966
+ 'x-fern-sdk-method-name': string;
17967
+ 'x-fern-sdk-return-value': string;
17968
+ 'x-response-key': string;
17969
+ 'x-title': string;
17970
+ };
17971
+ post: {
17972
+ description: string;
17973
+ operationId: string;
17974
+ requestBody: {
17975
+ content: {
17976
+ 'application/json': {
17977
+ schema: {
17978
+ properties: {
17979
+ access_method_ids: {
17980
+ description: string;
17981
+ items: {
17982
+ format: string;
17983
+ type: string;
17984
+ };
17985
+ type: string;
17986
+ };
17987
+ exclude: {
17988
+ items: {
17989
+ enum: string[];
17990
+ type: string;
17991
+ };
17992
+ type: string;
17993
+ };
17994
+ include: {
17995
+ items: {
17996
+ enum: string[];
17997
+ type: string;
17998
+ };
17999
+ type: string;
18000
+ };
18001
+ };
18002
+ required: string[];
18003
+ type: string;
18004
+ };
18005
+ };
18006
+ };
18007
+ };
18008
+ responses: {
18009
+ 200: {
18010
+ content: {
18011
+ 'application/json': {
18012
+ schema: {
18013
+ properties: {
18014
+ batch: {
18015
+ description: string;
18016
+ oneOf: ({
18017
+ description: string;
18018
+ properties: {
18019
+ acs_entrances: {
18020
+ items: {
18021
+ $ref: string;
18022
+ };
18023
+ type: string;
18024
+ };
18025
+ batch_type: {
18026
+ enum: string[];
18027
+ type: string;
18028
+ };
18029
+ devices: {
18030
+ items: {
18031
+ $ref: string;
18032
+ };
18033
+ type: string;
18034
+ };
18035
+ spaces: {
18036
+ items: {
18037
+ $ref: string;
18038
+ };
18039
+ type: string;
18040
+ };
18041
+ };
18042
+ required: string[];
18043
+ type: string;
18044
+ } | {
18045
+ properties: {
18046
+ acs_entrances: {
18047
+ items: {
18048
+ $ref: string;
18049
+ };
18050
+ type: string;
18051
+ };
18052
+ batch_type: {
18053
+ enum: string[];
18054
+ type: string;
18055
+ };
18056
+ devices: {
18057
+ items: {
18058
+ $ref: string;
18059
+ };
18060
+ type: string;
18061
+ };
18062
+ spaces: {
18063
+ items: {
18064
+ $ref: string;
18065
+ };
18066
+ type: string;
18067
+ };
18068
+ };
18069
+ required: string[];
18070
+ type: string;
18071
+ description?: never;
18072
+ })[];
18073
+ 'x-route-path': string;
18074
+ };
18075
+ ok: {
18076
+ type: string;
18077
+ };
18078
+ };
18079
+ required: string[];
18080
+ type: string;
18081
+ };
18082
+ };
18083
+ };
18084
+ description: string;
18085
+ };
18086
+ 400: {
18087
+ description: string;
18088
+ };
18089
+ 401: {
18090
+ description: string;
18091
+ };
18092
+ };
18093
+ security: ({
18094
+ pat_with_workspace: never[];
18095
+ console_session_with_workspace?: never;
18096
+ api_key?: never;
18097
+ } | {
18098
+ console_session_with_workspace: never[];
18099
+ pat_with_workspace?: never;
18100
+ api_key?: never;
18101
+ } | {
18102
+ api_key: never[];
18103
+ pat_with_workspace?: never;
18104
+ console_session_with_workspace?: never;
18105
+ })[];
18106
+ summary: string;
18107
+ tags: never[];
18108
+ 'x-batch-type': string;
18109
+ 'x-draft': string;
18110
+ 'x-fern-sdk-group-name': string[];
18111
+ 'x-fern-sdk-method-name': string;
18112
+ 'x-fern-sdk-return-value': string;
18113
+ 'x-response-key': string;
18114
+ 'x-title': string;
18115
+ };
18116
+ };
17832
18117
  '/access_methods/list': {
17833
18118
  get: {
17834
18119
  description: string;