@seamapi/types 1.591.0 → 1.592.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.
@@ -31346,6 +31346,8 @@ export type Routes = {
31346
31346
  connect?: {
31347
31347
  /** Whether to exclude this feature from the portal. */
31348
31348
  exclude?: boolean;
31349
+ /** List of provider keys to allow for the connect feature. These providers will be shown when the customer tries to connect an account. */
31350
+ accepted_providers?: string[] | undefined;
31349
31351
  /** List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account. */
31350
31352
  excluded_providers?: string[] | undefined;
31351
31353
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.591.0",
3
+ "version": "1.592.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -11,6 +11,12 @@ const base_feature = z.object({
11
11
  })
12
12
 
13
13
  const base_connect_feature = base_feature.extend({
14
+ accepted_providers: z
15
+ .array(z.string())
16
+ .optional()
17
+ .describe(
18
+ 'List of provider keys to allow for the connect feature. These providers will be shown when the customer tries to connect an account.',
19
+ ),
14
20
  excluded_providers: z
15
21
  .array(z.string())
16
22
  .optional()
@@ -40480,6 +40480,12 @@ export default {
40480
40480
  description:
40481
40481
  'Configuration for the connect accounts feature.',
40482
40482
  properties: {
40483
+ accepted_providers: {
40484
+ description:
40485
+ 'List of provider keys to allow for the connect feature. These providers will be shown when the customer tries to connect an account.',
40486
+ items: { type: 'string' },
40487
+ type: 'array',
40488
+ },
40483
40489
  exclude: {
40484
40490
  default: false,
40485
40491
  description:
@@ -36423,6 +36423,8 @@ export type Routes = {
36423
36423
  connect?: {
36424
36424
  /** Whether to exclude this feature from the portal. */
36425
36425
  exclude?: boolean
36426
+ /** List of provider keys to allow for the connect feature. These providers will be shown when the customer tries to connect an account. */
36427
+ accepted_providers?: string[] | undefined
36426
36428
  /** List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account. */
36427
36429
  excluded_providers?: string[] | undefined
36428
36430
  }