@seamapi/types 1.686.0 → 1.688.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 +17 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +38 -6
- package/dist/index.cjs +17 -3
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +5 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +3 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js +7 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -1
- package/lib/seam/connect/models/devices/device-provider.js +1 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +6 -0
- package/lib/seam/connect/openapi.js +7 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +24 -6
- package/package.json +1 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +7 -2
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +7 -0
- package/src/lib/seam/connect/route-types.ts +24 -6
|
@@ -11653,7 +11653,8 @@ export type Routes = {
|
|
|
11653
11653
|
connected_account_id: string;
|
|
11654
11654
|
/** Date and time at which the connected account was created. */
|
|
11655
11655
|
created_at?: string | undefined;
|
|
11656
|
-
/** User identifier associated with the connected account.
|
|
11656
|
+
/** User identifier associated with the connected account.
|
|
11657
|
+
* @deprecated Use `display_name` instead.*/
|
|
11657
11658
|
user_identifier?: {
|
|
11658
11659
|
/** Username of the user identifier associated with the connected account. */
|
|
11659
11660
|
username?: string | undefined;
|
|
@@ -11670,6 +11671,8 @@ export type Routes = {
|
|
|
11670
11671
|
account_type?: string | undefined;
|
|
11671
11672
|
/** Display name for the connected account type. */
|
|
11672
11673
|
account_type_display_name: string;
|
|
11674
|
+
/** Display name for the connected account. */
|
|
11675
|
+
display_name: string;
|
|
11673
11676
|
/** Errors associated with the connected account. */
|
|
11674
11677
|
errors: ({
|
|
11675
11678
|
/** Date and time at which Seam created the error. */
|
|
@@ -26151,7 +26154,8 @@ export type Routes = {
|
|
|
26151
26154
|
connected_account_id: string;
|
|
26152
26155
|
/** Date and time at which the connected account was created. */
|
|
26153
26156
|
created_at?: string | undefined;
|
|
26154
|
-
/** User identifier associated with the connected account.
|
|
26157
|
+
/** User identifier associated with the connected account.
|
|
26158
|
+
* @deprecated Use `display_name` instead.*/
|
|
26155
26159
|
user_identifier?: {
|
|
26156
26160
|
/** Username of the user identifier associated with the connected account. */
|
|
26157
26161
|
username?: string | undefined;
|
|
@@ -26168,6 +26172,8 @@ export type Routes = {
|
|
|
26168
26172
|
account_type?: string | undefined;
|
|
26169
26173
|
/** Display name for the connected account type. */
|
|
26170
26174
|
account_type_display_name: string;
|
|
26175
|
+
/** Display name for the connected account. */
|
|
26176
|
+
display_name: string;
|
|
26171
26177
|
/** Errors associated with the connected account. */
|
|
26172
26178
|
errors: ({
|
|
26173
26179
|
/** Date and time at which Seam created the error. */
|
|
@@ -26303,7 +26309,8 @@ export type Routes = {
|
|
|
26303
26309
|
connected_account_id: string;
|
|
26304
26310
|
/** Date and time at which the connected account was created. */
|
|
26305
26311
|
created_at?: string | undefined;
|
|
26306
|
-
/** User identifier associated with the connected account.
|
|
26312
|
+
/** User identifier associated with the connected account.
|
|
26313
|
+
* @deprecated Use `display_name` instead.*/
|
|
26307
26314
|
user_identifier?: {
|
|
26308
26315
|
/** Username of the user identifier associated with the connected account. */
|
|
26309
26316
|
username?: string | undefined;
|
|
@@ -26320,6 +26327,8 @@ export type Routes = {
|
|
|
26320
26327
|
account_type?: string | undefined;
|
|
26321
26328
|
/** Display name for the connected account type. */
|
|
26322
26329
|
account_type_display_name: string;
|
|
26330
|
+
/** Display name for the connected account. */
|
|
26331
|
+
display_name: string;
|
|
26323
26332
|
/** Errors associated with the connected account. */
|
|
26324
26333
|
errors: ({
|
|
26325
26334
|
/** Date and time at which Seam created the error. */
|
|
@@ -26489,7 +26498,8 @@ export type Routes = {
|
|
|
26489
26498
|
connected_account_id: string;
|
|
26490
26499
|
/** Date and time at which the connected account was created. */
|
|
26491
26500
|
created_at?: string | undefined;
|
|
26492
|
-
/** User identifier associated with the connected account.
|
|
26501
|
+
/** User identifier associated with the connected account.
|
|
26502
|
+
* @deprecated Use `display_name` instead.*/
|
|
26493
26503
|
user_identifier?: {
|
|
26494
26504
|
/** Username of the user identifier associated with the connected account. */
|
|
26495
26505
|
username?: string | undefined;
|
|
@@ -26506,6 +26516,8 @@ export type Routes = {
|
|
|
26506
26516
|
account_type?: string | undefined;
|
|
26507
26517
|
/** Display name for the connected account type. */
|
|
26508
26518
|
account_type_display_name: string;
|
|
26519
|
+
/** Display name for the connected account. */
|
|
26520
|
+
display_name: string;
|
|
26509
26521
|
/** Errors associated with the connected account. */
|
|
26510
26522
|
errors: ({
|
|
26511
26523
|
/** Date and time at which Seam created the error. */
|
|
@@ -57287,7 +57299,8 @@ export type Routes = {
|
|
|
57287
57299
|
connected_account_id: string;
|
|
57288
57300
|
/** Date and time at which the connected account was created. */
|
|
57289
57301
|
created_at?: string | undefined;
|
|
57290
|
-
/** User identifier associated with the connected account.
|
|
57302
|
+
/** User identifier associated with the connected account.
|
|
57303
|
+
* @deprecated Use `display_name` instead.*/
|
|
57291
57304
|
user_identifier?: {
|
|
57292
57305
|
/** Username of the user identifier associated with the connected account. */
|
|
57293
57306
|
username?: string | undefined;
|
|
@@ -57304,6 +57317,8 @@ export type Routes = {
|
|
|
57304
57317
|
account_type?: string | undefined;
|
|
57305
57318
|
/** Display name for the connected account type. */
|
|
57306
57319
|
account_type_display_name: string;
|
|
57320
|
+
/** Display name for the connected account. */
|
|
57321
|
+
display_name: string;
|
|
57307
57322
|
/** Errors associated with the connected account. */
|
|
57308
57323
|
errors: ({
|
|
57309
57324
|
/** Date and time at which Seam created the error. */
|
|
@@ -81196,7 +81211,8 @@ export type Routes = {
|
|
|
81196
81211
|
connected_account_id: string;
|
|
81197
81212
|
/** Date and time at which the connected account was created. */
|
|
81198
81213
|
created_at?: string | undefined;
|
|
81199
|
-
/** User identifier associated with the connected account.
|
|
81214
|
+
/** User identifier associated with the connected account.
|
|
81215
|
+
* @deprecated Use `display_name` instead.*/
|
|
81200
81216
|
user_identifier?: {
|
|
81201
81217
|
/** Username of the user identifier associated with the connected account. */
|
|
81202
81218
|
username?: string | undefined;
|
|
@@ -81213,6 +81229,8 @@ export type Routes = {
|
|
|
81213
81229
|
account_type?: string | undefined;
|
|
81214
81230
|
/** Display name for the connected account type. */
|
|
81215
81231
|
account_type_display_name: string;
|
|
81232
|
+
/** Display name for the connected account. */
|
|
81233
|
+
display_name: string;
|
|
81216
81234
|
/** Errors associated with the connected account. */
|
|
81217
81235
|
errors: ({
|
|
81218
81236
|
/** Date and time at which Seam created the error. */
|
package/package.json
CHANGED
|
@@ -292,12 +292,17 @@ export const connected_account = z.object({
|
|
|
292
292
|
'Indicates whether the user identifier associated with the connected account is exclusive.',
|
|
293
293
|
),
|
|
294
294
|
})
|
|
295
|
-
.optional()
|
|
296
|
-
|
|
295
|
+
.optional().describe(`
|
|
296
|
+
---
|
|
297
|
+
deprecated: Use \`display_name\` instead.
|
|
298
|
+
---
|
|
299
|
+
User identifier associated with the connected account.
|
|
300
|
+
`),
|
|
297
301
|
account_type: z.string().optional().describe('Type of connected account.'),
|
|
298
302
|
account_type_display_name: z
|
|
299
303
|
.string()
|
|
300
304
|
.describe('Display name for the connected account type.'),
|
|
305
|
+
display_name: z.string().describe('Display name for the connected account.'),
|
|
301
306
|
errors: z
|
|
302
307
|
.array(connected_account_error)
|
|
303
308
|
.describe('Errors associated with the connected account.'),
|
|
@@ -9227,6 +9227,10 @@ export default {
|
|
|
9227
9227
|
'Your unique key for the customer associated with this connected account.',
|
|
9228
9228
|
type: 'string',
|
|
9229
9229
|
},
|
|
9230
|
+
display_name: {
|
|
9231
|
+
description: 'Display name for the connected account.',
|
|
9232
|
+
type: 'string',
|
|
9233
|
+
},
|
|
9230
9234
|
errors: {
|
|
9231
9235
|
description: 'Errors associated with the connected account.',
|
|
9232
9236
|
items: {
|
|
@@ -9394,6 +9398,7 @@ export default {
|
|
|
9394
9398
|
type: 'array',
|
|
9395
9399
|
},
|
|
9396
9400
|
user_identifier: {
|
|
9401
|
+
deprecated: true,
|
|
9397
9402
|
description:
|
|
9398
9403
|
'User identifier associated with the connected account.',
|
|
9399
9404
|
properties: {
|
|
@@ -9424,6 +9429,7 @@ export default {
|
|
|
9424
9429
|
},
|
|
9425
9430
|
},
|
|
9426
9431
|
type: 'object',
|
|
9432
|
+
'x-deprecated': 'Use `display_name` instead.',
|
|
9427
9433
|
},
|
|
9428
9434
|
warnings: {
|
|
9429
9435
|
description: 'Warnings associated with the connected account.',
|
|
@@ -9592,6 +9598,7 @@ export default {
|
|
|
9592
9598
|
required: [
|
|
9593
9599
|
'connected_account_id',
|
|
9594
9600
|
'account_type_display_name',
|
|
9601
|
+
'display_name',
|
|
9595
9602
|
'errors',
|
|
9596
9603
|
'warnings',
|
|
9597
9604
|
'custom_metadata',
|
|
@@ -13320,7 +13320,8 @@ export type Routes = {
|
|
|
13320
13320
|
connected_account_id: string
|
|
13321
13321
|
/** Date and time at which the connected account was created. */
|
|
13322
13322
|
created_at?: string | undefined
|
|
13323
|
-
/** User identifier associated with the connected account.
|
|
13323
|
+
/** User identifier associated with the connected account.
|
|
13324
|
+
* @deprecated Use `display_name` instead.*/
|
|
13324
13325
|
user_identifier?:
|
|
13325
13326
|
| {
|
|
13326
13327
|
/** Username of the user identifier associated with the connected account. */
|
|
@@ -13339,6 +13340,8 @@ export type Routes = {
|
|
|
13339
13340
|
account_type?: string | undefined
|
|
13340
13341
|
/** Display name for the connected account type. */
|
|
13341
13342
|
account_type_display_name: string
|
|
13343
|
+
/** Display name for the connected account. */
|
|
13344
|
+
display_name: string
|
|
13342
13345
|
/** Errors associated with the connected account. */
|
|
13343
13346
|
errors: (
|
|
13344
13347
|
| {
|
|
@@ -30276,7 +30279,8 @@ export type Routes = {
|
|
|
30276
30279
|
connected_account_id: string
|
|
30277
30280
|
/** Date and time at which the connected account was created. */
|
|
30278
30281
|
created_at?: string | undefined
|
|
30279
|
-
/** User identifier associated with the connected account.
|
|
30282
|
+
/** User identifier associated with the connected account.
|
|
30283
|
+
* @deprecated Use `display_name` instead.*/
|
|
30280
30284
|
user_identifier?:
|
|
30281
30285
|
| {
|
|
30282
30286
|
/** Username of the user identifier associated with the connected account. */
|
|
@@ -30295,6 +30299,8 @@ export type Routes = {
|
|
|
30295
30299
|
account_type?: string | undefined
|
|
30296
30300
|
/** Display name for the connected account type. */
|
|
30297
30301
|
account_type_display_name: string
|
|
30302
|
+
/** Display name for the connected account. */
|
|
30303
|
+
display_name: string
|
|
30298
30304
|
/** Errors associated with the connected account. */
|
|
30299
30305
|
errors: (
|
|
30300
30306
|
| {
|
|
@@ -30446,7 +30452,8 @@ export type Routes = {
|
|
|
30446
30452
|
connected_account_id: string
|
|
30447
30453
|
/** Date and time at which the connected account was created. */
|
|
30448
30454
|
created_at?: string | undefined
|
|
30449
|
-
/** User identifier associated with the connected account.
|
|
30455
|
+
/** User identifier associated with the connected account.
|
|
30456
|
+
* @deprecated Use `display_name` instead.*/
|
|
30450
30457
|
user_identifier?:
|
|
30451
30458
|
| {
|
|
30452
30459
|
/** Username of the user identifier associated with the connected account. */
|
|
@@ -30465,6 +30472,8 @@ export type Routes = {
|
|
|
30465
30472
|
account_type?: string | undefined
|
|
30466
30473
|
/** Display name for the connected account type. */
|
|
30467
30474
|
account_type_display_name: string
|
|
30475
|
+
/** Display name for the connected account. */
|
|
30476
|
+
display_name: string
|
|
30468
30477
|
/** Errors associated with the connected account. */
|
|
30469
30478
|
errors: (
|
|
30470
30479
|
| {
|
|
@@ -30652,7 +30661,8 @@ export type Routes = {
|
|
|
30652
30661
|
connected_account_id: string
|
|
30653
30662
|
/** Date and time at which the connected account was created. */
|
|
30654
30663
|
created_at?: string | undefined
|
|
30655
|
-
/** User identifier associated with the connected account.
|
|
30664
|
+
/** User identifier associated with the connected account.
|
|
30665
|
+
* @deprecated Use `display_name` instead.*/
|
|
30656
30666
|
user_identifier?:
|
|
30657
30667
|
| {
|
|
30658
30668
|
/** Username of the user identifier associated with the connected account. */
|
|
@@ -30671,6 +30681,8 @@ export type Routes = {
|
|
|
30671
30681
|
account_type?: string | undefined
|
|
30672
30682
|
/** Display name for the connected account type. */
|
|
30673
30683
|
account_type_display_name: string
|
|
30684
|
+
/** Display name for the connected account. */
|
|
30685
|
+
display_name: string
|
|
30674
30686
|
/** Errors associated with the connected account. */
|
|
30675
30687
|
errors: (
|
|
30676
30688
|
| {
|
|
@@ -68658,7 +68670,8 @@ export type Routes = {
|
|
|
68658
68670
|
connected_account_id: string
|
|
68659
68671
|
/** Date and time at which the connected account was created. */
|
|
68660
68672
|
created_at?: string | undefined
|
|
68661
|
-
/** User identifier associated with the connected account.
|
|
68673
|
+
/** User identifier associated with the connected account.
|
|
68674
|
+
* @deprecated Use `display_name` instead.*/
|
|
68662
68675
|
user_identifier?:
|
|
68663
68676
|
| {
|
|
68664
68677
|
/** Username of the user identifier associated with the connected account. */
|
|
@@ -68677,6 +68690,8 @@ export type Routes = {
|
|
|
68677
68690
|
account_type?: string | undefined
|
|
68678
68691
|
/** Display name for the connected account type. */
|
|
68679
68692
|
account_type_display_name: string
|
|
68693
|
+
/** Display name for the connected account. */
|
|
68694
|
+
display_name: string
|
|
68680
68695
|
/** Errors associated with the connected account. */
|
|
68681
68696
|
errors: (
|
|
68682
68697
|
| {
|
|
@@ -97012,7 +97027,8 @@ export type Routes = {
|
|
|
97012
97027
|
connected_account_id: string
|
|
97013
97028
|
/** Date and time at which the connected account was created. */
|
|
97014
97029
|
created_at?: string | undefined
|
|
97015
|
-
/** User identifier associated with the connected account.
|
|
97030
|
+
/** User identifier associated with the connected account.
|
|
97031
|
+
* @deprecated Use `display_name` instead.*/
|
|
97016
97032
|
user_identifier?:
|
|
97017
97033
|
| {
|
|
97018
97034
|
/** Username of the user identifier associated with the connected account. */
|
|
@@ -97031,6 +97047,8 @@ export type Routes = {
|
|
|
97031
97047
|
account_type?: string | undefined
|
|
97032
97048
|
/** Display name for the connected account type. */
|
|
97033
97049
|
account_type_display_name: string
|
|
97050
|
+
/** Display name for the connected account. */
|
|
97051
|
+
display_name: string
|
|
97034
97052
|
/** Errors associated with the connected account. */
|
|
97035
97053
|
errors: (
|
|
97036
97054
|
| {
|