@seamapi/types 1.556.0 → 1.558.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.
@@ -13354,6 +13354,10 @@ export type Routes = {
13354
13354
  /**
13355
13355
  * @deprecated Use `company_name` instead.*/
13356
13356
  connect_partner_name: (string | null) | null;
13357
+ /** Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
13358
+ publishable_key?: string | undefined;
13359
+ /** Indicates whether publishable key authentication is enabled for this workspace. */
13360
+ is_publishable_key_auth_enabled: boolean;
13357
13361
  }[] | undefined;
13358
13362
  spaces?: {
13359
13363
  /** ID of the space. */
@@ -18214,7 +18218,7 @@ export type Routes = {
18214
18218
  } | undefined;
18215
18219
  event_type: 'connected_account.connected';
18216
18220
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
18217
- connect_webview_id: string;
18221
+ connect_webview_id?: string | undefined;
18218
18222
  /** The customer key associated with this connected account, if any. */
18219
18223
  customer_key?: string | undefined;
18220
18224
  } | {
@@ -36201,7 +36205,7 @@ export type Routes = {
36201
36205
  } | undefined;
36202
36206
  event_type: 'connected_account.connected';
36203
36207
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
36204
- connect_webview_id: string;
36208
+ connect_webview_id?: string | undefined;
36205
36209
  /** The customer key associated with this connected account, if any. */
36206
36210
  customer_key?: string | undefined;
36207
36211
  } | {
@@ -38125,7 +38129,7 @@ export type Routes = {
38125
38129
  } | undefined;
38126
38130
  event_type: 'connected_account.connected';
38127
38131
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
38128
- connect_webview_id: string;
38132
+ connect_webview_id?: string | undefined;
38129
38133
  /** The customer key associated with this connected account, if any. */
38130
38134
  customer_key?: string | undefined;
38131
38135
  } | {
@@ -57212,7 +57216,7 @@ export type Routes = {
57212
57216
  } | undefined;
57213
57217
  event_type: 'connected_account.connected';
57214
57218
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
57215
- connect_webview_id: string;
57219
+ connect_webview_id?: string | undefined;
57216
57220
  /** The customer key associated with this connected account, if any. */
57217
57221
  customer_key?: string | undefined;
57218
57222
  } | {
@@ -79845,6 +79849,10 @@ export type Routes = {
79845
79849
  /**
79846
79850
  * @deprecated Use `company_name` instead.*/
79847
79851
  connect_partner_name: (string | null) | null;
79852
+ /** Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
79853
+ publishable_key?: string | undefined;
79854
+ /** Indicates whether publishable key authentication is enabled for this workspace. */
79855
+ is_publishable_key_auth_enabled: boolean;
79848
79856
  };
79849
79857
  };
79850
79858
  };
@@ -80025,6 +80033,10 @@ export type Routes = {
80025
80033
  /**
80026
80034
  * @deprecated Use `company_name` instead.*/
80027
80035
  connect_partner_name: (string | null) | null;
80036
+ /** Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
80037
+ publishable_key?: string | undefined;
80038
+ /** Indicates whether publishable key authentication is enabled for this workspace. */
80039
+ is_publishable_key_auth_enabled: boolean;
80028
80040
  }[] | undefined;
80029
80041
  spaces?: {
80030
80042
  /** ID of the space. */
@@ -84885,7 +84897,7 @@ export type Routes = {
84885
84897
  } | undefined;
84886
84898
  event_type: 'connected_account.connected';
84887
84899
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
84888
- connect_webview_id: string;
84900
+ connect_webview_id?: string | undefined;
84889
84901
  /** The customer key associated with this connected account, if any. */
84890
84902
  customer_key?: string | undefined;
84891
84903
  } | {
@@ -87071,6 +87083,10 @@ export type Routes = {
87071
87083
  /**
87072
87084
  * @deprecated Use `company_name` instead.*/
87073
87085
  connect_partner_name: (string | null) | null;
87086
+ /** Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
87087
+ publishable_key?: string | undefined;
87088
+ /** Indicates whether publishable key authentication is enabled for this workspace. */
87089
+ is_publishable_key_auth_enabled: boolean;
87074
87090
  };
87075
87091
  };
87076
87092
  };
@@ -87108,6 +87124,10 @@ export type Routes = {
87108
87124
  /**
87109
87125
  * @deprecated Use `company_name` instead.*/
87110
87126
  connect_partner_name: (string | null) | null;
87127
+ /** Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
87128
+ publishable_key?: string | undefined;
87129
+ /** Indicates whether publishable key authentication is enabled for this workspace. */
87130
+ is_publishable_key_auth_enabled: boolean;
87111
87131
  }[];
87112
87132
  };
87113
87133
  };
@@ -88386,6 +88406,8 @@ export type Routes = {
88386
88406
  /** Logo shape for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
88387
88407
  logo_shape?: (('circle' | 'square') | null) | undefined;
88388
88408
  } | undefined;
88409
+ /** Indicates whether publishable key authentication is enabled for this workspace. */
88410
+ is_publishable_key_auth_enabled?: boolean | undefined;
88389
88411
  /** Indicates whether the workspace is suspended. */
88390
88412
  is_suspended?: boolean | undefined;
88391
88413
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.556.0",
3
+ "version": "1.558.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -27,7 +27,7 @@ const connect_webview_id = z
27
27
  export const connected_account_connected_event = connected_account_event.extend(
28
28
  {
29
29
  event_type: z.literal('connected_account.connected'),
30
- connect_webview_id,
30
+ connect_webview_id: connect_webview_id.optional(),
31
31
  customer_key: z
32
32
  .string()
33
33
  .optional()
@@ -70,6 +70,17 @@ export const workspace = z.object({
70
70
  `,
71
71
  )
72
72
  .nullable(),
73
+ publishable_key: z
74
+ .string()
75
+ .optional()
76
+ .describe(
77
+ 'Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications.',
78
+ ),
79
+ is_publishable_key_auth_enabled: z
80
+ .boolean()
81
+ .describe(
82
+ 'Indicates whether publishable key authentication is enabled for this workspace.',
83
+ ),
73
84
  }).describe(`
74
85
  ---
75
86
  route_path: /workspaces
@@ -16000,7 +16000,6 @@ export default {
16000
16000
  'occurred_at',
16001
16001
  'connected_account_id',
16002
16002
  'event_type',
16003
- 'connect_webview_id',
16004
16003
  ],
16005
16004
  type: 'object',
16006
16005
  'x-route-path': '/connected_accounts',
@@ -25639,6 +25638,11 @@ export default {
25639
25638
  },
25640
25639
  type: 'object',
25641
25640
  },
25641
+ is_publishable_key_auth_enabled: {
25642
+ description:
25643
+ 'Indicates whether publishable key authentication is enabled for this workspace.',
25644
+ type: 'boolean',
25645
+ },
25642
25646
  is_sandbox: {
25643
25647
  description:
25644
25648
  'Indicates whether the workspace is a [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces).',
@@ -25654,6 +25658,11 @@ export default {
25654
25658
  'Name of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).',
25655
25659
  type: 'string',
25656
25660
  },
25661
+ publishable_key: {
25662
+ description:
25663
+ 'Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications.',
25664
+ type: 'string',
25665
+ },
25657
25666
  workspace_id: {
25658
25667
  description:
25659
25668
  'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).',
@@ -25669,6 +25678,7 @@ export default {
25669
25678
  'connect_webview_customization',
25670
25679
  'is_suspended',
25671
25680
  'connect_partner_name',
25681
+ 'is_publishable_key_auth_enabled',
25672
25682
  ],
25673
25683
  type: 'object',
25674
25684
  'x-route-path': '/workspaces',
@@ -59340,6 +59350,11 @@ export default {
59340
59350
  },
59341
59351
  type: 'object',
59342
59352
  },
59353
+ is_publishable_key_auth_enabled: {
59354
+ description:
59355
+ 'Indicates whether publishable key authentication is enabled for this workspace.',
59356
+ type: 'boolean',
59357
+ },
59343
59358
  is_suspended: {
59344
59359
  description:
59345
59360
  'Indicates whether the workspace is suspended.',
@@ -59417,6 +59432,11 @@ export default {
59417
59432
  },
59418
59433
  type: 'object',
59419
59434
  },
59435
+ is_publishable_key_auth_enabled: {
59436
+ description:
59437
+ 'Indicates whether publishable key authentication is enabled for this workspace.',
59438
+ type: 'boolean',
59439
+ },
59420
59440
  is_suspended: {
59421
59441
  description:
59422
59442
  'Indicates whether the workspace is suspended.',
@@ -15295,6 +15295,10 @@ export type Routes = {
15295
15295
  /**
15296
15296
  * @deprecated Use `company_name` instead.*/
15297
15297
  connect_partner_name: (string | null) | null
15298
+ /** Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
15299
+ publishable_key?: string | undefined
15300
+ /** Indicates whether publishable key authentication is enabled for this workspace. */
15301
+ is_publishable_key_auth_enabled: boolean
15298
15302
  }[]
15299
15303
  | undefined
15300
15304
  spaces?:
@@ -21167,7 +21171,7 @@ export type Routes = {
21167
21171
  | undefined
21168
21172
  event_type: 'connected_account.connected'
21169
21173
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
21170
- connect_webview_id: string
21174
+ connect_webview_id?: string | undefined
21171
21175
  /** The customer key associated with this connected account, if any. */
21172
21176
  customer_key?: string | undefined
21173
21177
  }
@@ -42649,7 +42653,7 @@ export type Routes = {
42649
42653
  | undefined
42650
42654
  event_type: 'connected_account.connected'
42651
42655
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
42652
- connect_webview_id: string
42656
+ connect_webview_id?: string | undefined
42653
42657
  /** The customer key associated with this connected account, if any. */
42654
42658
  customer_key?: string | undefined
42655
42659
  }
@@ -45099,7 +45103,7 @@ export type Routes = {
45099
45103
  | undefined
45100
45104
  event_type: 'connected_account.connected'
45101
45105
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
45102
- connect_webview_id: string
45106
+ connect_webview_id?: string | undefined
45103
45107
  /** The customer key associated with this connected account, if any. */
45104
45108
  customer_key?: string | undefined
45105
45109
  }
@@ -68088,7 +68092,7 @@ export type Routes = {
68088
68092
  | undefined
68089
68093
  event_type: 'connected_account.connected'
68090
68094
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
68091
- connect_webview_id: string
68095
+ connect_webview_id?: string | undefined
68092
68096
  /** The customer key associated with this connected account, if any. */
68093
68097
  customer_key?: string | undefined
68094
68098
  }
@@ -94947,6 +94951,10 @@ export type Routes = {
94947
94951
  /**
94948
94952
  * @deprecated Use `company_name` instead.*/
94949
94953
  connect_partner_name: (string | null) | null
94954
+ /** Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
94955
+ publishable_key?: string | undefined
94956
+ /** Indicates whether publishable key authentication is enabled for this workspace. */
94957
+ is_publishable_key_auth_enabled: boolean
94950
94958
  }
94951
94959
  }
94952
94960
  }
@@ -95133,6 +95141,10 @@ export type Routes = {
95133
95141
  /**
95134
95142
  * @deprecated Use `company_name` instead.*/
95135
95143
  connect_partner_name: (string | null) | null
95144
+ /** Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
95145
+ publishable_key?: string | undefined
95146
+ /** Indicates whether publishable key authentication is enabled for this workspace. */
95147
+ is_publishable_key_auth_enabled: boolean
95136
95148
  }[]
95137
95149
  | undefined
95138
95150
  spaces?:
@@ -101005,7 +101017,7 @@ export type Routes = {
101005
101017
  | undefined
101006
101018
  event_type: 'connected_account.connected'
101007
101019
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
101008
- connect_webview_id: string
101020
+ connect_webview_id?: string | undefined
101009
101021
  /** The customer key associated with this connected account, if any. */
101010
101022
  customer_key?: string | undefined
101011
101023
  }
@@ -103545,6 +103557,10 @@ export type Routes = {
103545
103557
  /**
103546
103558
  * @deprecated Use `company_name` instead.*/
103547
103559
  connect_partner_name: (string | null) | null
103560
+ /** Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
103561
+ publishable_key?: string | undefined
103562
+ /** Indicates whether publishable key authentication is enabled for this workspace. */
103563
+ is_publishable_key_auth_enabled: boolean
103548
103564
  }
103549
103565
  }
103550
103566
  }
@@ -103582,6 +103598,10 @@ export type Routes = {
103582
103598
  /**
103583
103599
  * @deprecated Use `company_name` instead.*/
103584
103600
  connect_partner_name: (string | null) | null
103601
+ /** Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
103602
+ publishable_key?: string | undefined
103603
+ /** Indicates whether publishable key authentication is enabled for this workspace. */
103604
+ is_publishable_key_auth_enabled: boolean
103585
103605
  }[]
103586
103606
  }
103587
103607
  }
@@ -105051,6 +105071,8 @@ export type Routes = {
105051
105071
  logo_shape?: (('circle' | 'square') | null) | undefined
105052
105072
  }
105053
105073
  | undefined
105074
+ /** Indicates whether publishable key authentication is enabled for this workspace. */
105075
+ is_publishable_key_auth_enabled?: boolean | undefined
105054
105076
  /** Indicates whether the workspace is suspended. */
105055
105077
  is_suspended?: boolean | undefined
105056
105078
  }