@seamapi/types 1.113.2 → 1.114.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.
- package/dist/connect.cjs +107 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +174 -0
- package/lib/seam/connect/openapi.d.ts +159 -0
- package/lib/seam/connect/openapi.js +107 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +15 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +107 -0
- package/src/lib/seam/connect/route-types.ts +15 -0
package/dist/connect.d.cts
CHANGED
|
@@ -16036,6 +16036,165 @@ declare const _default: {
|
|
|
16036
16036
|
'x-fern-sdk-method-name': string;
|
|
16037
16037
|
};
|
|
16038
16038
|
};
|
|
16039
|
+
'/user_identities/update': {
|
|
16040
|
+
patch: {
|
|
16041
|
+
operationId: string;
|
|
16042
|
+
requestBody: {
|
|
16043
|
+
content: {
|
|
16044
|
+
'application/json': {
|
|
16045
|
+
schema: {
|
|
16046
|
+
properties: {
|
|
16047
|
+
email_address: {
|
|
16048
|
+
format: string;
|
|
16049
|
+
nullable: boolean;
|
|
16050
|
+
type: string;
|
|
16051
|
+
};
|
|
16052
|
+
full_name: {
|
|
16053
|
+
minLength: number;
|
|
16054
|
+
nullable: boolean;
|
|
16055
|
+
type: string;
|
|
16056
|
+
};
|
|
16057
|
+
phone_number: {
|
|
16058
|
+
nullable: boolean;
|
|
16059
|
+
type: string;
|
|
16060
|
+
};
|
|
16061
|
+
user_identity_id: {
|
|
16062
|
+
format: string;
|
|
16063
|
+
type: string;
|
|
16064
|
+
};
|
|
16065
|
+
user_identity_key: {
|
|
16066
|
+
minLength: number;
|
|
16067
|
+
nullable: boolean;
|
|
16068
|
+
type: string;
|
|
16069
|
+
};
|
|
16070
|
+
};
|
|
16071
|
+
required: string[];
|
|
16072
|
+
type: string;
|
|
16073
|
+
};
|
|
16074
|
+
};
|
|
16075
|
+
};
|
|
16076
|
+
};
|
|
16077
|
+
responses: {
|
|
16078
|
+
200: {
|
|
16079
|
+
content: {
|
|
16080
|
+
'application/json': {
|
|
16081
|
+
schema: {
|
|
16082
|
+
properties: {
|
|
16083
|
+
ok: {
|
|
16084
|
+
type: string;
|
|
16085
|
+
};
|
|
16086
|
+
};
|
|
16087
|
+
required: string[];
|
|
16088
|
+
type: string;
|
|
16089
|
+
};
|
|
16090
|
+
};
|
|
16091
|
+
};
|
|
16092
|
+
description: string;
|
|
16093
|
+
};
|
|
16094
|
+
400: {
|
|
16095
|
+
description: string;
|
|
16096
|
+
};
|
|
16097
|
+
401: {
|
|
16098
|
+
description: string;
|
|
16099
|
+
};
|
|
16100
|
+
};
|
|
16101
|
+
security: ({
|
|
16102
|
+
pat_with_workspace: never[];
|
|
16103
|
+
console_session?: never;
|
|
16104
|
+
api_key?: never;
|
|
16105
|
+
} | {
|
|
16106
|
+
console_session: never[];
|
|
16107
|
+
pat_with_workspace?: never;
|
|
16108
|
+
api_key?: never;
|
|
16109
|
+
} | {
|
|
16110
|
+
api_key: never[];
|
|
16111
|
+
pat_with_workspace?: never;
|
|
16112
|
+
console_session?: never;
|
|
16113
|
+
})[];
|
|
16114
|
+
summary: string;
|
|
16115
|
+
tags: string[];
|
|
16116
|
+
'x-fern-ignore': boolean;
|
|
16117
|
+
};
|
|
16118
|
+
post: {
|
|
16119
|
+
operationId: string;
|
|
16120
|
+
requestBody: {
|
|
16121
|
+
content: {
|
|
16122
|
+
'application/json': {
|
|
16123
|
+
schema: {
|
|
16124
|
+
properties: {
|
|
16125
|
+
email_address: {
|
|
16126
|
+
format: string;
|
|
16127
|
+
nullable: boolean;
|
|
16128
|
+
type: string;
|
|
16129
|
+
};
|
|
16130
|
+
full_name: {
|
|
16131
|
+
minLength: number;
|
|
16132
|
+
nullable: boolean;
|
|
16133
|
+
type: string;
|
|
16134
|
+
};
|
|
16135
|
+
phone_number: {
|
|
16136
|
+
nullable: boolean;
|
|
16137
|
+
type: string;
|
|
16138
|
+
};
|
|
16139
|
+
user_identity_id: {
|
|
16140
|
+
format: string;
|
|
16141
|
+
type: string;
|
|
16142
|
+
};
|
|
16143
|
+
user_identity_key: {
|
|
16144
|
+
minLength: number;
|
|
16145
|
+
nullable: boolean;
|
|
16146
|
+
type: string;
|
|
16147
|
+
};
|
|
16148
|
+
};
|
|
16149
|
+
required: string[];
|
|
16150
|
+
type: string;
|
|
16151
|
+
};
|
|
16152
|
+
};
|
|
16153
|
+
};
|
|
16154
|
+
};
|
|
16155
|
+
responses: {
|
|
16156
|
+
200: {
|
|
16157
|
+
content: {
|
|
16158
|
+
'application/json': {
|
|
16159
|
+
schema: {
|
|
16160
|
+
properties: {
|
|
16161
|
+
ok: {
|
|
16162
|
+
type: string;
|
|
16163
|
+
};
|
|
16164
|
+
};
|
|
16165
|
+
required: string[];
|
|
16166
|
+
type: string;
|
|
16167
|
+
};
|
|
16168
|
+
};
|
|
16169
|
+
};
|
|
16170
|
+
description: string;
|
|
16171
|
+
};
|
|
16172
|
+
400: {
|
|
16173
|
+
description: string;
|
|
16174
|
+
};
|
|
16175
|
+
401: {
|
|
16176
|
+
description: string;
|
|
16177
|
+
};
|
|
16178
|
+
};
|
|
16179
|
+
security: ({
|
|
16180
|
+
pat_with_workspace: never[];
|
|
16181
|
+
console_session?: never;
|
|
16182
|
+
api_key?: never;
|
|
16183
|
+
} | {
|
|
16184
|
+
console_session: never[];
|
|
16185
|
+
pat_with_workspace?: never;
|
|
16186
|
+
api_key?: never;
|
|
16187
|
+
} | {
|
|
16188
|
+
api_key: never[];
|
|
16189
|
+
pat_with_workspace?: never;
|
|
16190
|
+
console_session?: never;
|
|
16191
|
+
})[];
|
|
16192
|
+
summary: string;
|
|
16193
|
+
tags: string[];
|
|
16194
|
+
'x-fern-sdk-group-name': string[];
|
|
16195
|
+
'x-fern-sdk-method-name': string;
|
|
16196
|
+
};
|
|
16197
|
+
};
|
|
16039
16198
|
'/webhooks/create': {
|
|
16040
16199
|
post: {
|
|
16041
16200
|
operationId: string;
|
|
@@ -24385,6 +24544,21 @@ interface Routes {
|
|
|
24385
24544
|
formData: {};
|
|
24386
24545
|
jsonResponse: {};
|
|
24387
24546
|
};
|
|
24547
|
+
'/user_identities/update': {
|
|
24548
|
+
route: '/user_identities/update';
|
|
24549
|
+
method: 'PATCH' | 'POST';
|
|
24550
|
+
queryParams: {};
|
|
24551
|
+
jsonBody: {
|
|
24552
|
+
user_identity_id: string;
|
|
24553
|
+
user_identity_key?: (string | null) | undefined;
|
|
24554
|
+
email_address?: (string | null) | undefined;
|
|
24555
|
+
phone_number?: (string | null) | undefined;
|
|
24556
|
+
full_name?: (string | null) | undefined;
|
|
24557
|
+
};
|
|
24558
|
+
commonParams: {};
|
|
24559
|
+
formData: {};
|
|
24560
|
+
jsonResponse: {};
|
|
24561
|
+
};
|
|
24388
24562
|
'/webhooks/create': {
|
|
24389
24563
|
route: '/webhooks/create';
|
|
24390
24564
|
method: 'POST';
|
|
@@ -15962,6 +15962,165 @@ declare const _default: {
|
|
|
15962
15962
|
'x-fern-sdk-method-name': string;
|
|
15963
15963
|
};
|
|
15964
15964
|
};
|
|
15965
|
+
'/user_identities/update': {
|
|
15966
|
+
patch: {
|
|
15967
|
+
operationId: string;
|
|
15968
|
+
requestBody: {
|
|
15969
|
+
content: {
|
|
15970
|
+
'application/json': {
|
|
15971
|
+
schema: {
|
|
15972
|
+
properties: {
|
|
15973
|
+
email_address: {
|
|
15974
|
+
format: string;
|
|
15975
|
+
nullable: boolean;
|
|
15976
|
+
type: string;
|
|
15977
|
+
};
|
|
15978
|
+
full_name: {
|
|
15979
|
+
minLength: number;
|
|
15980
|
+
nullable: boolean;
|
|
15981
|
+
type: string;
|
|
15982
|
+
};
|
|
15983
|
+
phone_number: {
|
|
15984
|
+
nullable: boolean;
|
|
15985
|
+
type: string;
|
|
15986
|
+
};
|
|
15987
|
+
user_identity_id: {
|
|
15988
|
+
format: string;
|
|
15989
|
+
type: string;
|
|
15990
|
+
};
|
|
15991
|
+
user_identity_key: {
|
|
15992
|
+
minLength: number;
|
|
15993
|
+
nullable: boolean;
|
|
15994
|
+
type: string;
|
|
15995
|
+
};
|
|
15996
|
+
};
|
|
15997
|
+
required: string[];
|
|
15998
|
+
type: string;
|
|
15999
|
+
};
|
|
16000
|
+
};
|
|
16001
|
+
};
|
|
16002
|
+
};
|
|
16003
|
+
responses: {
|
|
16004
|
+
200: {
|
|
16005
|
+
content: {
|
|
16006
|
+
'application/json': {
|
|
16007
|
+
schema: {
|
|
16008
|
+
properties: {
|
|
16009
|
+
ok: {
|
|
16010
|
+
type: string;
|
|
16011
|
+
};
|
|
16012
|
+
};
|
|
16013
|
+
required: string[];
|
|
16014
|
+
type: string;
|
|
16015
|
+
};
|
|
16016
|
+
};
|
|
16017
|
+
};
|
|
16018
|
+
description: string;
|
|
16019
|
+
};
|
|
16020
|
+
400: {
|
|
16021
|
+
description: string;
|
|
16022
|
+
};
|
|
16023
|
+
401: {
|
|
16024
|
+
description: string;
|
|
16025
|
+
};
|
|
16026
|
+
};
|
|
16027
|
+
security: ({
|
|
16028
|
+
pat_with_workspace: never[];
|
|
16029
|
+
console_session?: never;
|
|
16030
|
+
api_key?: never;
|
|
16031
|
+
} | {
|
|
16032
|
+
console_session: never[];
|
|
16033
|
+
pat_with_workspace?: never;
|
|
16034
|
+
api_key?: never;
|
|
16035
|
+
} | {
|
|
16036
|
+
api_key: never[];
|
|
16037
|
+
pat_with_workspace?: never;
|
|
16038
|
+
console_session?: never;
|
|
16039
|
+
})[];
|
|
16040
|
+
summary: string;
|
|
16041
|
+
tags: string[];
|
|
16042
|
+
'x-fern-ignore': boolean;
|
|
16043
|
+
};
|
|
16044
|
+
post: {
|
|
16045
|
+
operationId: string;
|
|
16046
|
+
requestBody: {
|
|
16047
|
+
content: {
|
|
16048
|
+
'application/json': {
|
|
16049
|
+
schema: {
|
|
16050
|
+
properties: {
|
|
16051
|
+
email_address: {
|
|
16052
|
+
format: string;
|
|
16053
|
+
nullable: boolean;
|
|
16054
|
+
type: string;
|
|
16055
|
+
};
|
|
16056
|
+
full_name: {
|
|
16057
|
+
minLength: number;
|
|
16058
|
+
nullable: boolean;
|
|
16059
|
+
type: string;
|
|
16060
|
+
};
|
|
16061
|
+
phone_number: {
|
|
16062
|
+
nullable: boolean;
|
|
16063
|
+
type: string;
|
|
16064
|
+
};
|
|
16065
|
+
user_identity_id: {
|
|
16066
|
+
format: string;
|
|
16067
|
+
type: string;
|
|
16068
|
+
};
|
|
16069
|
+
user_identity_key: {
|
|
16070
|
+
minLength: number;
|
|
16071
|
+
nullable: boolean;
|
|
16072
|
+
type: string;
|
|
16073
|
+
};
|
|
16074
|
+
};
|
|
16075
|
+
required: string[];
|
|
16076
|
+
type: string;
|
|
16077
|
+
};
|
|
16078
|
+
};
|
|
16079
|
+
};
|
|
16080
|
+
};
|
|
16081
|
+
responses: {
|
|
16082
|
+
200: {
|
|
16083
|
+
content: {
|
|
16084
|
+
'application/json': {
|
|
16085
|
+
schema: {
|
|
16086
|
+
properties: {
|
|
16087
|
+
ok: {
|
|
16088
|
+
type: string;
|
|
16089
|
+
};
|
|
16090
|
+
};
|
|
16091
|
+
required: string[];
|
|
16092
|
+
type: string;
|
|
16093
|
+
};
|
|
16094
|
+
};
|
|
16095
|
+
};
|
|
16096
|
+
description: string;
|
|
16097
|
+
};
|
|
16098
|
+
400: {
|
|
16099
|
+
description: string;
|
|
16100
|
+
};
|
|
16101
|
+
401: {
|
|
16102
|
+
description: string;
|
|
16103
|
+
};
|
|
16104
|
+
};
|
|
16105
|
+
security: ({
|
|
16106
|
+
pat_with_workspace: never[];
|
|
16107
|
+
console_session?: never;
|
|
16108
|
+
api_key?: never;
|
|
16109
|
+
} | {
|
|
16110
|
+
console_session: never[];
|
|
16111
|
+
pat_with_workspace?: never;
|
|
16112
|
+
api_key?: never;
|
|
16113
|
+
} | {
|
|
16114
|
+
api_key: never[];
|
|
16115
|
+
pat_with_workspace?: never;
|
|
16116
|
+
console_session?: never;
|
|
16117
|
+
})[];
|
|
16118
|
+
summary: string;
|
|
16119
|
+
tags: string[];
|
|
16120
|
+
'x-fern-sdk-group-name': string[];
|
|
16121
|
+
'x-fern-sdk-method-name': string;
|
|
16122
|
+
};
|
|
16123
|
+
};
|
|
15965
16124
|
'/webhooks/create': {
|
|
15966
16125
|
post: {
|
|
15967
16126
|
operationId: string;
|
|
@@ -11797,6 +11797,113 @@ export default {
|
|
|
11797
11797
|
'x-fern-sdk-method-name': 'revoke_access_to_device',
|
|
11798
11798
|
},
|
|
11799
11799
|
},
|
|
11800
|
+
'/user_identities/update': {
|
|
11801
|
+
patch: {
|
|
11802
|
+
operationId: 'userIdentitiesUpdatePatch',
|
|
11803
|
+
requestBody: {
|
|
11804
|
+
content: {
|
|
11805
|
+
'application/json': {
|
|
11806
|
+
schema: {
|
|
11807
|
+
properties: {
|
|
11808
|
+
email_address: {
|
|
11809
|
+
format: 'email',
|
|
11810
|
+
nullable: true,
|
|
11811
|
+
type: 'string',
|
|
11812
|
+
},
|
|
11813
|
+
full_name: { minLength: 1, nullable: true, type: 'string' },
|
|
11814
|
+
phone_number: { nullable: true, type: 'string' },
|
|
11815
|
+
user_identity_id: { format: 'uuid', type: 'string' },
|
|
11816
|
+
user_identity_key: {
|
|
11817
|
+
minLength: 1,
|
|
11818
|
+
nullable: true,
|
|
11819
|
+
type: 'string',
|
|
11820
|
+
},
|
|
11821
|
+
},
|
|
11822
|
+
required: ['user_identity_id'],
|
|
11823
|
+
type: 'object',
|
|
11824
|
+
},
|
|
11825
|
+
},
|
|
11826
|
+
},
|
|
11827
|
+
},
|
|
11828
|
+
responses: {
|
|
11829
|
+
200: {
|
|
11830
|
+
content: {
|
|
11831
|
+
'application/json': {
|
|
11832
|
+
schema: {
|
|
11833
|
+
properties: { ok: { type: 'boolean' } },
|
|
11834
|
+
required: ['ok'],
|
|
11835
|
+
type: 'object',
|
|
11836
|
+
},
|
|
11837
|
+
},
|
|
11838
|
+
},
|
|
11839
|
+
description: 'OK',
|
|
11840
|
+
},
|
|
11841
|
+
400: { description: 'Bad Request' },
|
|
11842
|
+
401: { description: 'Unauthorized' },
|
|
11843
|
+
},
|
|
11844
|
+
security: [
|
|
11845
|
+
{ pat_with_workspace: [] },
|
|
11846
|
+
{ console_session: [] },
|
|
11847
|
+
{ api_key: [] },
|
|
11848
|
+
],
|
|
11849
|
+
summary: '/user_identities/update',
|
|
11850
|
+
tags: ['/user_identities'],
|
|
11851
|
+
'x-fern-ignore': true,
|
|
11852
|
+
},
|
|
11853
|
+
post: {
|
|
11854
|
+
operationId: 'userIdentitiesUpdatePost',
|
|
11855
|
+
requestBody: {
|
|
11856
|
+
content: {
|
|
11857
|
+
'application/json': {
|
|
11858
|
+
schema: {
|
|
11859
|
+
properties: {
|
|
11860
|
+
email_address: {
|
|
11861
|
+
format: 'email',
|
|
11862
|
+
nullable: true,
|
|
11863
|
+
type: 'string',
|
|
11864
|
+
},
|
|
11865
|
+
full_name: { minLength: 1, nullable: true, type: 'string' },
|
|
11866
|
+
phone_number: { nullable: true, type: 'string' },
|
|
11867
|
+
user_identity_id: { format: 'uuid', type: 'string' },
|
|
11868
|
+
user_identity_key: {
|
|
11869
|
+
minLength: 1,
|
|
11870
|
+
nullable: true,
|
|
11871
|
+
type: 'string',
|
|
11872
|
+
},
|
|
11873
|
+
},
|
|
11874
|
+
required: ['user_identity_id'],
|
|
11875
|
+
type: 'object',
|
|
11876
|
+
},
|
|
11877
|
+
},
|
|
11878
|
+
},
|
|
11879
|
+
},
|
|
11880
|
+
responses: {
|
|
11881
|
+
200: {
|
|
11882
|
+
content: {
|
|
11883
|
+
'application/json': {
|
|
11884
|
+
schema: {
|
|
11885
|
+
properties: { ok: { type: 'boolean' } },
|
|
11886
|
+
required: ['ok'],
|
|
11887
|
+
type: 'object',
|
|
11888
|
+
},
|
|
11889
|
+
},
|
|
11890
|
+
},
|
|
11891
|
+
description: 'OK',
|
|
11892
|
+
},
|
|
11893
|
+
400: { description: 'Bad Request' },
|
|
11894
|
+
401: { description: 'Unauthorized' },
|
|
11895
|
+
},
|
|
11896
|
+
security: [
|
|
11897
|
+
{ pat_with_workspace: [] },
|
|
11898
|
+
{ console_session: [] },
|
|
11899
|
+
{ api_key: [] },
|
|
11900
|
+
],
|
|
11901
|
+
summary: '/user_identities/update',
|
|
11902
|
+
tags: ['/user_identities'],
|
|
11903
|
+
'x-fern-sdk-group-name': ['user_identities'],
|
|
11904
|
+
'x-fern-sdk-method-name': 'update',
|
|
11905
|
+
},
|
|
11906
|
+
},
|
|
11800
11907
|
'/webhooks/create': {
|
|
11801
11908
|
post: {
|
|
11802
11909
|
operationId: 'webhooksCreatePost',
|