@seamapi/types 1.593.0 → 1.594.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 +79 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +178 -0
- package/dist/index.cjs +79 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +102 -0
- package/lib/seam/connect/openapi.js +79 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +76 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +84 -0
- package/src/lib/seam/connect/route-types.ts +76 -0
|
@@ -18487,6 +18487,108 @@ declare const _default: {
|
|
|
18487
18487
|
'x-title': string;
|
|
18488
18488
|
};
|
|
18489
18489
|
};
|
|
18490
|
+
'/access_grants/request_access_methods': {
|
|
18491
|
+
post: {
|
|
18492
|
+
description: string;
|
|
18493
|
+
operationId: string;
|
|
18494
|
+
requestBody: {
|
|
18495
|
+
content: {
|
|
18496
|
+
'application/json': {
|
|
18497
|
+
schema: {
|
|
18498
|
+
properties: {
|
|
18499
|
+
access_grant_id: {
|
|
18500
|
+
description: string;
|
|
18501
|
+
format: string;
|
|
18502
|
+
type: string;
|
|
18503
|
+
};
|
|
18504
|
+
requested_access_methods: {
|
|
18505
|
+
description: string;
|
|
18506
|
+
items: {
|
|
18507
|
+
properties: {
|
|
18508
|
+
code: {
|
|
18509
|
+
description: string;
|
|
18510
|
+
maxLength: number;
|
|
18511
|
+
minLength: number;
|
|
18512
|
+
pattern: string;
|
|
18513
|
+
type: string;
|
|
18514
|
+
};
|
|
18515
|
+
mode: {
|
|
18516
|
+
description: string;
|
|
18517
|
+
enum: string[];
|
|
18518
|
+
type: string;
|
|
18519
|
+
};
|
|
18520
|
+
};
|
|
18521
|
+
required: string[];
|
|
18522
|
+
type: string;
|
|
18523
|
+
};
|
|
18524
|
+
minItems: number;
|
|
18525
|
+
type: string;
|
|
18526
|
+
};
|
|
18527
|
+
};
|
|
18528
|
+
required: string[];
|
|
18529
|
+
type: string;
|
|
18530
|
+
};
|
|
18531
|
+
};
|
|
18532
|
+
};
|
|
18533
|
+
};
|
|
18534
|
+
responses: {
|
|
18535
|
+
200: {
|
|
18536
|
+
content: {
|
|
18537
|
+
'application/json': {
|
|
18538
|
+
schema: {
|
|
18539
|
+
properties: {
|
|
18540
|
+
access_grant: {
|
|
18541
|
+
$ref: string;
|
|
18542
|
+
};
|
|
18543
|
+
ok: {
|
|
18544
|
+
type: string;
|
|
18545
|
+
};
|
|
18546
|
+
};
|
|
18547
|
+
required: string[];
|
|
18548
|
+
type: string;
|
|
18549
|
+
};
|
|
18550
|
+
};
|
|
18551
|
+
};
|
|
18552
|
+
description: string;
|
|
18553
|
+
};
|
|
18554
|
+
400: {
|
|
18555
|
+
description: string;
|
|
18556
|
+
};
|
|
18557
|
+
401: {
|
|
18558
|
+
description: string;
|
|
18559
|
+
};
|
|
18560
|
+
};
|
|
18561
|
+
security: ({
|
|
18562
|
+
pat_with_workspace: never[];
|
|
18563
|
+
console_session_with_workspace?: never;
|
|
18564
|
+
api_key?: never;
|
|
18565
|
+
client_session_with_customer?: never;
|
|
18566
|
+
} | {
|
|
18567
|
+
console_session_with_workspace: never[];
|
|
18568
|
+
pat_with_workspace?: never;
|
|
18569
|
+
api_key?: never;
|
|
18570
|
+
client_session_with_customer?: never;
|
|
18571
|
+
} | {
|
|
18572
|
+
api_key: never[];
|
|
18573
|
+
pat_with_workspace?: never;
|
|
18574
|
+
console_session_with_workspace?: never;
|
|
18575
|
+
client_session_with_customer?: never;
|
|
18576
|
+
} | {
|
|
18577
|
+
client_session_with_customer: never[];
|
|
18578
|
+
pat_with_workspace?: never;
|
|
18579
|
+
console_session_with_workspace?: never;
|
|
18580
|
+
api_key?: never;
|
|
18581
|
+
})[];
|
|
18582
|
+
summary: string;
|
|
18583
|
+
tags: never[];
|
|
18584
|
+
'x-draft': string;
|
|
18585
|
+
'x-fern-sdk-group-name': string[];
|
|
18586
|
+
'x-fern-sdk-method-name': string;
|
|
18587
|
+
'x-fern-sdk-return-value': string;
|
|
18588
|
+
'x-response-key': string;
|
|
18589
|
+
'x-title': string;
|
|
18590
|
+
};
|
|
18591
|
+
};
|
|
18490
18592
|
'/access_grants/unmanaged/get': {
|
|
18491
18593
|
get: {
|
|
18492
18594
|
description: string;
|
|
@@ -26209,6 +26209,85 @@ export default {
|
|
|
26209
26209
|
'x-title': 'List Access Grants',
|
|
26210
26210
|
},
|
|
26211
26211
|
},
|
|
26212
|
+
'/access_grants/request_access_methods': {
|
|
26213
|
+
post: {
|
|
26214
|
+
description: 'Adds additional requested access methods to an existing Access Grant.',
|
|
26215
|
+
operationId: 'accessGrantsRequestAccessMethodsPost',
|
|
26216
|
+
requestBody: {
|
|
26217
|
+
content: {
|
|
26218
|
+
'application/json': {
|
|
26219
|
+
schema: {
|
|
26220
|
+
properties: {
|
|
26221
|
+
access_grant_id: {
|
|
26222
|
+
description: 'ID of the Access Grant to add access methods to.',
|
|
26223
|
+
format: 'uuid',
|
|
26224
|
+
type: 'string',
|
|
26225
|
+
},
|
|
26226
|
+
requested_access_methods: {
|
|
26227
|
+
description: 'Array of requested access methods to add to the access grant.',
|
|
26228
|
+
items: {
|
|
26229
|
+
properties: {
|
|
26230
|
+
code: {
|
|
26231
|
+
description: "Specific PIN code to use for this access method. Only applicable when mode is 'code'.",
|
|
26232
|
+
maxLength: 9,
|
|
26233
|
+
minLength: 4,
|
|
26234
|
+
pattern: '^\\d+$',
|
|
26235
|
+
type: 'string',
|
|
26236
|
+
},
|
|
26237
|
+
mode: {
|
|
26238
|
+
description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
26239
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
26240
|
+
type: 'string',
|
|
26241
|
+
},
|
|
26242
|
+
},
|
|
26243
|
+
required: ['mode'],
|
|
26244
|
+
type: 'object',
|
|
26245
|
+
},
|
|
26246
|
+
minItems: 1,
|
|
26247
|
+
type: 'array',
|
|
26248
|
+
},
|
|
26249
|
+
},
|
|
26250
|
+
required: ['access_grant_id', 'requested_access_methods'],
|
|
26251
|
+
type: 'object',
|
|
26252
|
+
},
|
|
26253
|
+
},
|
|
26254
|
+
},
|
|
26255
|
+
},
|
|
26256
|
+
responses: {
|
|
26257
|
+
200: {
|
|
26258
|
+
content: {
|
|
26259
|
+
'application/json': {
|
|
26260
|
+
schema: {
|
|
26261
|
+
properties: {
|
|
26262
|
+
access_grant: { $ref: '#/components/schemas/access_grant' },
|
|
26263
|
+
ok: { type: 'boolean' },
|
|
26264
|
+
},
|
|
26265
|
+
required: ['access_grant', 'ok'],
|
|
26266
|
+
type: 'object',
|
|
26267
|
+
},
|
|
26268
|
+
},
|
|
26269
|
+
},
|
|
26270
|
+
description: 'OK',
|
|
26271
|
+
},
|
|
26272
|
+
400: { description: 'Bad Request' },
|
|
26273
|
+
401: { description: 'Unauthorized' },
|
|
26274
|
+
},
|
|
26275
|
+
security: [
|
|
26276
|
+
{ pat_with_workspace: [] },
|
|
26277
|
+
{ console_session_with_workspace: [] },
|
|
26278
|
+
{ api_key: [] },
|
|
26279
|
+
{ client_session_with_customer: [] },
|
|
26280
|
+
],
|
|
26281
|
+
summary: '/access_grants/request_access_methods',
|
|
26282
|
+
tags: [],
|
|
26283
|
+
'x-draft': 'Early access.',
|
|
26284
|
+
'x-fern-sdk-group-name': ['access_grants'],
|
|
26285
|
+
'x-fern-sdk-method-name': 'request_access_methods',
|
|
26286
|
+
'x-fern-sdk-return-value': 'access_grant',
|
|
26287
|
+
'x-response-key': 'access_grant',
|
|
26288
|
+
'x-title': 'Add Requested Access Methods to Access Grant',
|
|
26289
|
+
},
|
|
26290
|
+
},
|
|
26212
26291
|
'/access_grants/unmanaged/get': {
|
|
26213
26292
|
get: {
|
|
26214
26293
|
description: 'Get an unmanaged Access Grant (where is_managed = false).',
|