@seamapi/http 1.47.0 → 1.49.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 +32 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +46 -18
- package/dist/index.cjs +32 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/resolve-action-attempt.d.ts +20 -20
- package/lib/seam/connect/routes/access-grants/access-grants.d.ts +13 -0
- package/lib/seam/connect/routes/access-grants/access-grants.js +9 -0
- package/lib/seam/connect/routes/access-grants/access-grants.js.map +1 -1
- package/lib/seam/connect/routes/access-methods/access-methods.d.ts +13 -0
- package/lib/seam/connect/routes/access-methods/access-methods.js +9 -0
- package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +6 -4
- package/lib/seam/connect/routes/seam-http-endpoints.js +14 -0
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/src/lib/seam/connect/routes/access-grants/access-grants.ts +36 -0
- package/src/lib/seam/connect/routes/access-methods/access-methods.ts +36 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +35 -0
- package/src/lib/version.ts +1 -1
|
@@ -98,6 +98,9 @@ import {
|
|
|
98
98
|
type AccessGrantsDeleteRequest,
|
|
99
99
|
type AccessGrantsGetOptions,
|
|
100
100
|
type AccessGrantsGetParameters,
|
|
101
|
+
type AccessGrantsGetRelatedOptions,
|
|
102
|
+
type AccessGrantsGetRelatedParameters,
|
|
103
|
+
type AccessGrantsGetRelatedRequest,
|
|
101
104
|
type AccessGrantsGetRequest,
|
|
102
105
|
type AccessGrantsListOptions,
|
|
103
106
|
type AccessGrantsListParameters,
|
|
@@ -116,6 +119,9 @@ import {
|
|
|
116
119
|
type AccessMethodsEncodeRequest,
|
|
117
120
|
type AccessMethodsGetOptions,
|
|
118
121
|
type AccessMethodsGetParameters,
|
|
122
|
+
type AccessMethodsGetRelatedOptions,
|
|
123
|
+
type AccessMethodsGetRelatedParameters,
|
|
124
|
+
type AccessMethodsGetRelatedRequest,
|
|
119
125
|
type AccessMethodsGetRequest,
|
|
120
126
|
type AccessMethodsListOptions,
|
|
121
127
|
type AccessMethodsListParameters,
|
|
@@ -1225,6 +1231,19 @@ export class SeamHttpEndpoints {
|
|
|
1225
1231
|
}
|
|
1226
1232
|
}
|
|
1227
1233
|
|
|
1234
|
+
get ['/access_grants/get_related'](): (
|
|
1235
|
+
parameters?: AccessGrantsGetRelatedParameters,
|
|
1236
|
+
options?: AccessGrantsGetRelatedOptions,
|
|
1237
|
+
) => AccessGrantsGetRelatedRequest {
|
|
1238
|
+
const { client, defaults } = this
|
|
1239
|
+
return function accessGrantsGetRelated(
|
|
1240
|
+
...args: Parameters<SeamHttpAccessGrants['getRelated']>
|
|
1241
|
+
): ReturnType<SeamHttpAccessGrants['getRelated']> {
|
|
1242
|
+
const seam = SeamHttpAccessGrants.fromClient(client, defaults)
|
|
1243
|
+
return seam.getRelated(...args)
|
|
1244
|
+
}
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1228
1247
|
get ['/access_grants/list'](): (
|
|
1229
1248
|
parameters?: AccessGrantsListParameters,
|
|
1230
1249
|
options?: AccessGrantsListOptions,
|
|
@@ -1290,6 +1309,19 @@ export class SeamHttpEndpoints {
|
|
|
1290
1309
|
}
|
|
1291
1310
|
}
|
|
1292
1311
|
|
|
1312
|
+
get ['/access_methods/get_related'](): (
|
|
1313
|
+
parameters?: AccessMethodsGetRelatedParameters,
|
|
1314
|
+
options?: AccessMethodsGetRelatedOptions,
|
|
1315
|
+
) => AccessMethodsGetRelatedRequest {
|
|
1316
|
+
const { client, defaults } = this
|
|
1317
|
+
return function accessMethodsGetRelated(
|
|
1318
|
+
...args: Parameters<SeamHttpAccessMethods['getRelated']>
|
|
1319
|
+
): ReturnType<SeamHttpAccessMethods['getRelated']> {
|
|
1320
|
+
const seam = SeamHttpAccessMethods.fromClient(client, defaults)
|
|
1321
|
+
return seam.getRelated(...args)
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1293
1325
|
get ['/access_methods/list'](): (
|
|
1294
1326
|
parameters?: AccessMethodsListParameters,
|
|
1295
1327
|
options?: AccessMethodsListOptions,
|
|
@@ -4126,8 +4158,10 @@ export type SeamHttpEndpointQueryPaths =
|
|
|
4126
4158
|
| '/access_codes/unmanaged/get'
|
|
4127
4159
|
| '/access_codes/unmanaged/list'
|
|
4128
4160
|
| '/access_grants/get'
|
|
4161
|
+
| '/access_grants/get_related'
|
|
4129
4162
|
| '/access_grants/list'
|
|
4130
4163
|
| '/access_methods/get'
|
|
4164
|
+
| '/access_methods/get_related'
|
|
4131
4165
|
| '/access_methods/list'
|
|
4132
4166
|
| '/acs/access_groups/get'
|
|
4133
4167
|
| '/acs/access_groups/list'
|
|
@@ -4212,6 +4246,7 @@ export type SeamHttpEndpointQueryPaths =
|
|
|
4212
4246
|
|
|
4213
4247
|
export type SeamHttpEndpointPaginatedQueryPaths =
|
|
4214
4248
|
| '/access_codes/list'
|
|
4249
|
+
| '/access_codes/unmanaged/list'
|
|
4215
4250
|
| '/acs/users/list'
|
|
4216
4251
|
| '/connect_webviews/list'
|
|
4217
4252
|
| '/connected_accounts/list'
|
package/src/lib/version.ts
CHANGED