@seamapi/types 1.594.0 → 1.595.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.
@@ -70784,6 +70784,172 @@ declare const _default: {
70784
70784
  'x-title': string;
70785
70785
  };
70786
70786
  };
70787
+ '/access_grants/unmanaged/update': {
70788
+ patch: {
70789
+ description: string;
70790
+ operationId: string;
70791
+ requestBody: {
70792
+ content: {
70793
+ 'application/json': {
70794
+ schema: {
70795
+ properties: {
70796
+ access_grant_id: {
70797
+ description: string;
70798
+ format: string;
70799
+ type: string;
70800
+ };
70801
+ access_grant_key: {
70802
+ description: string;
70803
+ type: string;
70804
+ };
70805
+ is_managed: {
70806
+ description: string;
70807
+ enum: boolean[];
70808
+ type: string;
70809
+ };
70810
+ };
70811
+ required: string[];
70812
+ type: string;
70813
+ };
70814
+ };
70815
+ };
70816
+ };
70817
+ responses: {
70818
+ 200: {
70819
+ content: {
70820
+ 'application/json': {
70821
+ schema: {
70822
+ properties: {
70823
+ ok: {
70824
+ type: string;
70825
+ };
70826
+ };
70827
+ required: string[];
70828
+ type: string;
70829
+ };
70830
+ };
70831
+ };
70832
+ description: string;
70833
+ };
70834
+ 400: {
70835
+ description: string;
70836
+ };
70837
+ 401: {
70838
+ description: string;
70839
+ };
70840
+ };
70841
+ security: ({
70842
+ pat_with_workspace: never[];
70843
+ console_session_with_workspace?: never;
70844
+ api_key?: never;
70845
+ client_session_with_customer?: never;
70846
+ } | {
70847
+ console_session_with_workspace: never[];
70848
+ pat_with_workspace?: never;
70849
+ api_key?: never;
70850
+ client_session_with_customer?: never;
70851
+ } | {
70852
+ api_key: never[];
70853
+ pat_with_workspace?: never;
70854
+ console_session_with_workspace?: never;
70855
+ client_session_with_customer?: never;
70856
+ } | {
70857
+ client_session_with_customer: never[];
70858
+ pat_with_workspace?: never;
70859
+ console_session_with_workspace?: never;
70860
+ api_key?: never;
70861
+ })[];
70862
+ summary: string;
70863
+ tags: never[];
70864
+ 'x-draft': string;
70865
+ 'x-fern-sdk-group-name': string[];
70866
+ 'x-fern-sdk-method-name': string;
70867
+ 'x-response-key': null;
70868
+ 'x-title': string;
70869
+ };
70870
+ post: {
70871
+ description: string;
70872
+ operationId: string;
70873
+ requestBody: {
70874
+ content: {
70875
+ 'application/json': {
70876
+ schema: {
70877
+ properties: {
70878
+ access_grant_id: {
70879
+ description: string;
70880
+ format: string;
70881
+ type: string;
70882
+ };
70883
+ access_grant_key: {
70884
+ description: string;
70885
+ type: string;
70886
+ };
70887
+ is_managed: {
70888
+ description: string;
70889
+ enum: boolean[];
70890
+ type: string;
70891
+ };
70892
+ };
70893
+ required: string[];
70894
+ type: string;
70895
+ };
70896
+ };
70897
+ };
70898
+ };
70899
+ responses: {
70900
+ 200: {
70901
+ content: {
70902
+ 'application/json': {
70903
+ schema: {
70904
+ properties: {
70905
+ ok: {
70906
+ type: string;
70907
+ };
70908
+ };
70909
+ required: string[];
70910
+ type: string;
70911
+ };
70912
+ };
70913
+ };
70914
+ description: string;
70915
+ };
70916
+ 400: {
70917
+ description: string;
70918
+ };
70919
+ 401: {
70920
+ description: string;
70921
+ };
70922
+ };
70923
+ security: ({
70924
+ pat_with_workspace: never[];
70925
+ console_session_with_workspace?: never;
70926
+ api_key?: never;
70927
+ client_session_with_customer?: never;
70928
+ } | {
70929
+ console_session_with_workspace: never[];
70930
+ pat_with_workspace?: never;
70931
+ api_key?: never;
70932
+ client_session_with_customer?: never;
70933
+ } | {
70934
+ api_key: never[];
70935
+ pat_with_workspace?: never;
70936
+ console_session_with_workspace?: never;
70937
+ client_session_with_customer?: never;
70938
+ } | {
70939
+ client_session_with_customer: never[];
70940
+ pat_with_workspace?: never;
70941
+ console_session_with_workspace?: never;
70942
+ api_key?: never;
70943
+ })[];
70944
+ summary: string;
70945
+ tags: never[];
70946
+ 'x-draft': string;
70947
+ 'x-fern-sdk-group-name': string[];
70948
+ 'x-fern-sdk-method-name': string;
70949
+ 'x-response-key': null;
70950
+ 'x-title': string;
70951
+ };
70952
+ };
70787
70953
  '/access_grants/update': {
70788
70954
  patch: {
70789
70955
  description: string;
@@ -104757,6 +104923,170 @@ declare const _default: {
104757
104923
  'x-title': string;
104758
104924
  };
104759
104925
  };
104926
+ '/user_identities/unmanaged/update': {
104927
+ patch: {
104928
+ description: string;
104929
+ operationId: string;
104930
+ requestBody: {
104931
+ content: {
104932
+ 'application/json': {
104933
+ schema: {
104934
+ properties: {
104935
+ is_managed: {
104936
+ description: string;
104937
+ enum: boolean[];
104938
+ type: string;
104939
+ };
104940
+ user_identity_id: {
104941
+ description: string;
104942
+ format: string;
104943
+ type: string;
104944
+ };
104945
+ user_identity_key: {
104946
+ description: string;
104947
+ type: string;
104948
+ };
104949
+ };
104950
+ required: string[];
104951
+ type: string;
104952
+ };
104953
+ };
104954
+ };
104955
+ };
104956
+ responses: {
104957
+ 200: {
104958
+ content: {
104959
+ 'application/json': {
104960
+ schema: {
104961
+ properties: {
104962
+ ok: {
104963
+ type: string;
104964
+ };
104965
+ };
104966
+ required: string[];
104967
+ type: string;
104968
+ };
104969
+ };
104970
+ };
104971
+ description: string;
104972
+ };
104973
+ 400: {
104974
+ description: string;
104975
+ };
104976
+ 401: {
104977
+ description: string;
104978
+ };
104979
+ };
104980
+ security: ({
104981
+ api_key: never[];
104982
+ client_session?: never;
104983
+ pat_with_workspace?: never;
104984
+ console_session_with_workspace?: never;
104985
+ } | {
104986
+ client_session: never[];
104987
+ api_key?: never;
104988
+ pat_with_workspace?: never;
104989
+ console_session_with_workspace?: never;
104990
+ } | {
104991
+ pat_with_workspace: never[];
104992
+ api_key?: never;
104993
+ client_session?: never;
104994
+ console_session_with_workspace?: never;
104995
+ } | {
104996
+ console_session_with_workspace: never[];
104997
+ api_key?: never;
104998
+ client_session?: never;
104999
+ pat_with_workspace?: never;
105000
+ })[];
105001
+ summary: string;
105002
+ tags: string[];
105003
+ 'x-fern-sdk-group-name': string[];
105004
+ 'x-fern-sdk-method-name': string;
105005
+ 'x-response-key': null;
105006
+ 'x-title': string;
105007
+ };
105008
+ post: {
105009
+ description: string;
105010
+ operationId: string;
105011
+ requestBody: {
105012
+ content: {
105013
+ 'application/json': {
105014
+ schema: {
105015
+ properties: {
105016
+ is_managed: {
105017
+ description: string;
105018
+ enum: boolean[];
105019
+ type: string;
105020
+ };
105021
+ user_identity_id: {
105022
+ description: string;
105023
+ format: string;
105024
+ type: string;
105025
+ };
105026
+ user_identity_key: {
105027
+ description: string;
105028
+ type: string;
105029
+ };
105030
+ };
105031
+ required: string[];
105032
+ type: string;
105033
+ };
105034
+ };
105035
+ };
105036
+ };
105037
+ responses: {
105038
+ 200: {
105039
+ content: {
105040
+ 'application/json': {
105041
+ schema: {
105042
+ properties: {
105043
+ ok: {
105044
+ type: string;
105045
+ };
105046
+ };
105047
+ required: string[];
105048
+ type: string;
105049
+ };
105050
+ };
105051
+ };
105052
+ description: string;
105053
+ };
105054
+ 400: {
105055
+ description: string;
105056
+ };
105057
+ 401: {
105058
+ description: string;
105059
+ };
105060
+ };
105061
+ security: ({
105062
+ api_key: never[];
105063
+ client_session?: never;
105064
+ pat_with_workspace?: never;
105065
+ console_session_with_workspace?: never;
105066
+ } | {
105067
+ client_session: never[];
105068
+ api_key?: never;
105069
+ pat_with_workspace?: never;
105070
+ console_session_with_workspace?: never;
105071
+ } | {
105072
+ pat_with_workspace: never[];
105073
+ api_key?: never;
105074
+ client_session?: never;
105075
+ console_session_with_workspace?: never;
105076
+ } | {
105077
+ console_session_with_workspace: never[];
105078
+ api_key?: never;
105079
+ client_session?: never;
105080
+ pat_with_workspace?: never;
105081
+ })[];
105082
+ summary: string;
105083
+ tags: string[];
105084
+ 'x-fern-sdk-group-name': string[];
105085
+ 'x-fern-sdk-method-name': string;
105086
+ 'x-response-key': null;
105087
+ 'x-title': string;
105088
+ };
105089
+ };
104760
105090
  '/user_identities/update': {
104761
105091
  patch: {
104762
105092
  description: string;
@@ -119304,6 +119634,22 @@ type Routes = {
119304
119634
  }[];
119305
119635
  };
119306
119636
  };
119637
+ '/access_grants/unmanaged/update': {
119638
+ route: '/access_grants/unmanaged/update';
119639
+ method: 'PATCH' | 'POST';
119640
+ queryParams: {};
119641
+ jsonBody: {
119642
+ /** ID of the unmanaged Access Grant to update. */
119643
+ access_grant_id: string;
119644
+ /** Must be set to true to convert the unmanaged access grant to managed. */
119645
+ is_managed: true;
119646
+ /** Unique key for the access grant. If not provided, the existing key will be preserved. */
119647
+ access_grant_key?: string | undefined;
119648
+ };
119649
+ commonParams: {};
119650
+ formData: {};
119651
+ jsonResponse: {};
119652
+ };
119307
119653
  '/access_grants/update': {
119308
119654
  route: '/access_grants/update';
119309
119655
  method: 'POST' | 'PATCH';
@@ -187474,6 +187820,22 @@ type Routes = {
187474
187820
  }[];
187475
187821
  };
187476
187822
  };
187823
+ '/user_identities/unmanaged/update': {
187824
+ route: '/user_identities/unmanaged/update';
187825
+ method: 'PATCH' | 'POST';
187826
+ queryParams: {};
187827
+ jsonBody: {
187828
+ /** ID of the unmanaged user identity that you want to update. */
187829
+ user_identity_id: string;
187830
+ /** Must be set to true to convert the unmanaged user identity to managed. */
187831
+ is_managed: true;
187832
+ /** Unique key for the user identity. If not provided, the existing key will be preserved. */
187833
+ user_identity_key?: string | undefined;
187834
+ };
187835
+ commonParams: {};
187836
+ formData: {};
187837
+ jsonResponse: {};
187838
+ };
187477
187839
  '/user_identities/update': {
187478
187840
  route: '/user_identities/update';
187479
187841
  method: 'PATCH' | 'POST';
package/dist/index.cjs CHANGED
@@ -32883,6 +32883,126 @@ var openapi_default = {
32883
32883
  "x-title": "List Unmanaged Access Grants"
32884
32884
  }
32885
32885
  },
32886
+ "/access_grants/unmanaged/update": {
32887
+ patch: {
32888
+ description: "Updates an unmanaged Access Grant to make it managed.\n\nThis endpoint can only be used to convert unmanaged access grants to managed ones by setting `is_managed` to `true`. It cannot be used to convert managed access grants back to unmanaged.\n\nWhen converting an unmanaged access grant to managed, all associated access methods will also be converted to managed.",
32889
+ operationId: "accessGrantsUnmanagedUpdatePatch",
32890
+ requestBody: {
32891
+ content: {
32892
+ "application/json": {
32893
+ schema: {
32894
+ properties: {
32895
+ access_grant_id: {
32896
+ description: "ID of the unmanaged Access Grant to update.",
32897
+ format: "uuid",
32898
+ type: "string"
32899
+ },
32900
+ access_grant_key: {
32901
+ description: "Unique key for the access grant. If not provided, the existing key will be preserved.",
32902
+ type: "string"
32903
+ },
32904
+ is_managed: {
32905
+ description: "Must be set to true to convert the unmanaged access grant to managed.",
32906
+ enum: [true],
32907
+ type: "boolean"
32908
+ }
32909
+ },
32910
+ required: ["access_grant_id", "is_managed"],
32911
+ type: "object"
32912
+ }
32913
+ }
32914
+ }
32915
+ },
32916
+ responses: {
32917
+ 200: {
32918
+ content: {
32919
+ "application/json": {
32920
+ schema: {
32921
+ properties: { ok: { type: "boolean" } },
32922
+ required: ["ok"],
32923
+ type: "object"
32924
+ }
32925
+ }
32926
+ },
32927
+ description: "OK"
32928
+ },
32929
+ 400: { description: "Bad Request" },
32930
+ 401: { description: "Unauthorized" }
32931
+ },
32932
+ security: [
32933
+ { pat_with_workspace: [] },
32934
+ { console_session_with_workspace: [] },
32935
+ { api_key: [] },
32936
+ { client_session_with_customer: [] }
32937
+ ],
32938
+ summary: "/access_grants/unmanaged/update",
32939
+ tags: [],
32940
+ "x-draft": "Early access.",
32941
+ "x-fern-sdk-group-name": ["access_grants", "unmanaged"],
32942
+ "x-fern-sdk-method-name": "update",
32943
+ "x-response-key": null,
32944
+ "x-title": "Update an Unmanaged Access Grant"
32945
+ },
32946
+ post: {
32947
+ description: "Updates an unmanaged Access Grant to make it managed.\n\nThis endpoint can only be used to convert unmanaged access grants to managed ones by setting `is_managed` to `true`. It cannot be used to convert managed access grants back to unmanaged.\n\nWhen converting an unmanaged access grant to managed, all associated access methods will also be converted to managed.",
32948
+ operationId: "accessGrantsUnmanagedUpdatePost",
32949
+ requestBody: {
32950
+ content: {
32951
+ "application/json": {
32952
+ schema: {
32953
+ properties: {
32954
+ access_grant_id: {
32955
+ description: "ID of the unmanaged Access Grant to update.",
32956
+ format: "uuid",
32957
+ type: "string"
32958
+ },
32959
+ access_grant_key: {
32960
+ description: "Unique key for the access grant. If not provided, the existing key will be preserved.",
32961
+ type: "string"
32962
+ },
32963
+ is_managed: {
32964
+ description: "Must be set to true to convert the unmanaged access grant to managed.",
32965
+ enum: [true],
32966
+ type: "boolean"
32967
+ }
32968
+ },
32969
+ required: ["access_grant_id", "is_managed"],
32970
+ type: "object"
32971
+ }
32972
+ }
32973
+ }
32974
+ },
32975
+ responses: {
32976
+ 200: {
32977
+ content: {
32978
+ "application/json": {
32979
+ schema: {
32980
+ properties: { ok: { type: "boolean" } },
32981
+ required: ["ok"],
32982
+ type: "object"
32983
+ }
32984
+ }
32985
+ },
32986
+ description: "OK"
32987
+ },
32988
+ 400: { description: "Bad Request" },
32989
+ 401: { description: "Unauthorized" }
32990
+ },
32991
+ security: [
32992
+ { pat_with_workspace: [] },
32993
+ { console_session_with_workspace: [] },
32994
+ { api_key: [] },
32995
+ { client_session_with_customer: [] }
32996
+ ],
32997
+ summary: "/access_grants/unmanaged/update",
32998
+ tags: [],
32999
+ "x-draft": "Early access.",
33000
+ "x-fern-sdk-group-name": ["access_grants", "unmanaged"],
33001
+ "x-fern-sdk-method-name": "update",
33002
+ "x-response-key": null,
33003
+ "x-title": "Update an Unmanaged Access Grant"
33004
+ }
33005
+ },
32886
33006
  "/access_grants/update": {
32887
33007
  patch: {
32888
33008
  description: "Updates an existing Access Grant's time window.",
@@ -62590,6 +62710,124 @@ var openapi_default = {
62590
62710
  "x-title": "List Unmanaged User Identities"
62591
62711
  }
62592
62712
  },
62713
+ "/user_identities/unmanaged/update": {
62714
+ patch: {
62715
+ description: "Updates an unmanaged [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) to make it managed.\n\nThis endpoint can only be used to convert unmanaged user identities to managed ones by setting `is_managed` to `true`. It cannot be used to convert managed user identities back to unmanaged.",
62716
+ operationId: "userIdentitiesUnmanagedUpdatePatch",
62717
+ requestBody: {
62718
+ content: {
62719
+ "application/json": {
62720
+ schema: {
62721
+ properties: {
62722
+ is_managed: {
62723
+ description: "Must be set to true to convert the unmanaged user identity to managed.",
62724
+ enum: [true],
62725
+ type: "boolean"
62726
+ },
62727
+ user_identity_id: {
62728
+ description: "ID of the unmanaged user identity that you want to update.",
62729
+ format: "uuid",
62730
+ type: "string"
62731
+ },
62732
+ user_identity_key: {
62733
+ description: "Unique key for the user identity. If not provided, the existing key will be preserved.",
62734
+ type: "string"
62735
+ }
62736
+ },
62737
+ required: ["user_identity_id", "is_managed"],
62738
+ type: "object"
62739
+ }
62740
+ }
62741
+ }
62742
+ },
62743
+ responses: {
62744
+ 200: {
62745
+ content: {
62746
+ "application/json": {
62747
+ schema: {
62748
+ properties: { ok: { type: "boolean" } },
62749
+ required: ["ok"],
62750
+ type: "object"
62751
+ }
62752
+ }
62753
+ },
62754
+ description: "OK"
62755
+ },
62756
+ 400: { description: "Bad Request" },
62757
+ 401: { description: "Unauthorized" }
62758
+ },
62759
+ security: [
62760
+ { api_key: [] },
62761
+ { client_session: [] },
62762
+ { pat_with_workspace: [] },
62763
+ { console_session_with_workspace: [] }
62764
+ ],
62765
+ summary: "/user_identities/unmanaged/update",
62766
+ tags: ["/user_identities"],
62767
+ "x-fern-sdk-group-name": ["user_identities", "unmanaged"],
62768
+ "x-fern-sdk-method-name": "update",
62769
+ "x-response-key": null,
62770
+ "x-title": "Update an Unmanaged User Identity"
62771
+ },
62772
+ post: {
62773
+ description: "Updates an unmanaged [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) to make it managed.\n\nThis endpoint can only be used to convert unmanaged user identities to managed ones by setting `is_managed` to `true`. It cannot be used to convert managed user identities back to unmanaged.",
62774
+ operationId: "userIdentitiesUnmanagedUpdatePost",
62775
+ requestBody: {
62776
+ content: {
62777
+ "application/json": {
62778
+ schema: {
62779
+ properties: {
62780
+ is_managed: {
62781
+ description: "Must be set to true to convert the unmanaged user identity to managed.",
62782
+ enum: [true],
62783
+ type: "boolean"
62784
+ },
62785
+ user_identity_id: {
62786
+ description: "ID of the unmanaged user identity that you want to update.",
62787
+ format: "uuid",
62788
+ type: "string"
62789
+ },
62790
+ user_identity_key: {
62791
+ description: "Unique key for the user identity. If not provided, the existing key will be preserved.",
62792
+ type: "string"
62793
+ }
62794
+ },
62795
+ required: ["user_identity_id", "is_managed"],
62796
+ type: "object"
62797
+ }
62798
+ }
62799
+ }
62800
+ },
62801
+ responses: {
62802
+ 200: {
62803
+ content: {
62804
+ "application/json": {
62805
+ schema: {
62806
+ properties: { ok: { type: "boolean" } },
62807
+ required: ["ok"],
62808
+ type: "object"
62809
+ }
62810
+ }
62811
+ },
62812
+ description: "OK"
62813
+ },
62814
+ 400: { description: "Bad Request" },
62815
+ 401: { description: "Unauthorized" }
62816
+ },
62817
+ security: [
62818
+ { api_key: [] },
62819
+ { client_session: [] },
62820
+ { pat_with_workspace: [] },
62821
+ { console_session_with_workspace: [] }
62822
+ ],
62823
+ summary: "/user_identities/unmanaged/update",
62824
+ tags: ["/user_identities"],
62825
+ "x-fern-sdk-group-name": ["user_identities", "unmanaged"],
62826
+ "x-fern-sdk-method-name": "update",
62827
+ "x-response-key": null,
62828
+ "x-title": "Update an Unmanaged User Identity"
62829
+ }
62830
+ },
62593
62831
  "/user_identities/update": {
62594
62832
  patch: {
62595
62833
  description: "Updates a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",