@seamapi/types 1.414.2 → 1.416.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 +15 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +34 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +3 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js +4 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/partner/magic-link.d.ts +2 -2
- package/lib/seam/connect/openapi.d.ts +12 -0
- package/lib/seam/connect/openapi.js +11 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +17 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +13 -1
- package/src/lib/seam/connect/route-types.ts +17 -0
|
@@ -19282,6 +19282,8 @@ export interface Routes {
|
|
|
19282
19282
|
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
19283
19283
|
/** Maximum number of records to return per page. */
|
|
19284
19284
|
limit?: number;
|
|
19285
|
+
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
19286
|
+
page_cursor?: (string | undefined) | null;
|
|
19285
19287
|
};
|
|
19286
19288
|
formData: {};
|
|
19287
19289
|
jsonResponse: {
|
|
@@ -19328,6 +19330,15 @@ export interface Routes {
|
|
|
19328
19330
|
/** Selected provider of the Connect Webview, one of the [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). */
|
|
19329
19331
|
selected_provider: string | null;
|
|
19330
19332
|
}>;
|
|
19333
|
+
/** Information about the current page of results. */
|
|
19334
|
+
pagination: {
|
|
19335
|
+
/** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
|
|
19336
|
+
next_page_cursor: string | null;
|
|
19337
|
+
/** Indicates whether there is another page of results after this one. */
|
|
19338
|
+
has_next_page: boolean;
|
|
19339
|
+
/** URL to get the next page of results. */
|
|
19340
|
+
next_page_url: string | null;
|
|
19341
|
+
};
|
|
19331
19342
|
};
|
|
19332
19343
|
};
|
|
19333
19344
|
'/connected_accounts/delete': {
|
|
@@ -19482,6 +19493,8 @@ export interface Routes {
|
|
|
19482
19493
|
custom_metadata: Record<string, string | boolean>;
|
|
19483
19494
|
/** Indicates whether Seam should [import all new devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#automatically_manage_new_devices) for the connected account to make these devices available for use and management by the Seam API. */
|
|
19484
19495
|
automatically_manage_new_devices: boolean;
|
|
19496
|
+
/** Your unique key for the customer associated with this connected account. */
|
|
19497
|
+
customer_key?: string | undefined;
|
|
19485
19498
|
};
|
|
19486
19499
|
};
|
|
19487
19500
|
};
|
|
@@ -19626,6 +19639,8 @@ export interface Routes {
|
|
|
19626
19639
|
custom_metadata: Record<string, string | boolean>;
|
|
19627
19640
|
/** Indicates whether Seam should [import all new devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#automatically_manage_new_devices) for the connected account to make these devices available for use and management by the Seam API. */
|
|
19628
19641
|
automatically_manage_new_devices: boolean;
|
|
19642
|
+
/** Your unique key for the customer associated with this connected account. */
|
|
19643
|
+
customer_key?: string | undefined;
|
|
19629
19644
|
}>;
|
|
19630
19645
|
/** Information about the current page of results. */
|
|
19631
19646
|
pagination: {
|
|
@@ -19789,6 +19804,8 @@ export interface Routes {
|
|
|
19789
19804
|
custom_metadata: Record<string, string | boolean>;
|
|
19790
19805
|
/** Indicates whether Seam should [import all new devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#automatically_manage_new_devices) for the connected account to make these devices available for use and management by the Seam API. */
|
|
19791
19806
|
automatically_manage_new_devices: boolean;
|
|
19807
|
+
/** Your unique key for the customer associated with this connected account. */
|
|
19808
|
+
customer_key?: string | undefined;
|
|
19792
19809
|
};
|
|
19793
19810
|
};
|
|
19794
19811
|
};
|
package/package.json
CHANGED
|
@@ -302,6 +302,12 @@ export const connected_account = z.object({
|
|
|
302
302
|
.describe(
|
|
303
303
|
'Indicates whether Seam should [import all new devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#automatically_manage_new_devices) for the connected account to make these devices available for use and management by the Seam API.',
|
|
304
304
|
),
|
|
305
|
+
customer_key: z
|
|
306
|
+
.string()
|
|
307
|
+
.optional()
|
|
308
|
+
.describe(
|
|
309
|
+
'Your unique key for the customer associated with this connected account.',
|
|
310
|
+
),
|
|
305
311
|
}).describe(`
|
|
306
312
|
---
|
|
307
313
|
route_path: /connected_accounts
|
|
@@ -7690,6 +7690,11 @@ export default {
|
|
|
7690
7690
|
'Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application.',
|
|
7691
7691
|
type: 'object',
|
|
7692
7692
|
},
|
|
7693
|
+
customer_key: {
|
|
7694
|
+
description:
|
|
7695
|
+
'Your unique key for the customer associated with this connected account.',
|
|
7696
|
+
type: 'string',
|
|
7697
|
+
},
|
|
7693
7698
|
errors: {
|
|
7694
7699
|
description: 'Errors associated with the connected account.',
|
|
7695
7700
|
items: {
|
|
@@ -29200,6 +29205,12 @@ export default {
|
|
|
29200
29205
|
format: 'float',
|
|
29201
29206
|
type: 'number',
|
|
29202
29207
|
},
|
|
29208
|
+
page_cursor: {
|
|
29209
|
+
description:
|
|
29210
|
+
"Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
29211
|
+
nullable: true,
|
|
29212
|
+
type: 'string',
|
|
29213
|
+
},
|
|
29203
29214
|
user_identifier_key: {
|
|
29204
29215
|
description:
|
|
29205
29216
|
'Your user ID for the user by which you want to filter Connect Webviews.',
|
|
@@ -29222,8 +29233,9 @@ export default {
|
|
|
29222
29233
|
type: 'array',
|
|
29223
29234
|
},
|
|
29224
29235
|
ok: { type: 'boolean' },
|
|
29236
|
+
pagination: { $ref: '#/components/schemas/pagination' },
|
|
29225
29237
|
},
|
|
29226
|
-
required: ['connect_webviews', 'ok'],
|
|
29238
|
+
required: ['connect_webviews', 'pagination', 'ok'],
|
|
29227
29239
|
type: 'object',
|
|
29228
29240
|
},
|
|
29229
29241
|
},
|
|
@@ -22342,6 +22342,8 @@ export interface Routes {
|
|
|
22342
22342
|
custom_metadata_has?: Record<string, string | boolean> | undefined
|
|
22343
22343
|
/** Maximum number of records to return per page. */
|
|
22344
22344
|
limit?: number
|
|
22345
|
+
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
22346
|
+
page_cursor?: (string | undefined) | null
|
|
22345
22347
|
}
|
|
22346
22348
|
formData: {}
|
|
22347
22349
|
jsonResponse: {
|
|
@@ -22390,6 +22392,15 @@ export interface Routes {
|
|
|
22390
22392
|
/** Selected provider of the Connect Webview, one of the [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). */
|
|
22391
22393
|
selected_provider: string | null
|
|
22392
22394
|
}>
|
|
22395
|
+
/** Information about the current page of results. */
|
|
22396
|
+
pagination: {
|
|
22397
|
+
/** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
|
|
22398
|
+
next_page_cursor: string | null
|
|
22399
|
+
/** Indicates whether there is another page of results after this one. */
|
|
22400
|
+
has_next_page: boolean
|
|
22401
|
+
/** URL to get the next page of results. */
|
|
22402
|
+
next_page_url: string | null
|
|
22403
|
+
}
|
|
22393
22404
|
}
|
|
22394
22405
|
}
|
|
22395
22406
|
'/connected_accounts/delete': {
|
|
@@ -22557,6 +22568,8 @@ export interface Routes {
|
|
|
22557
22568
|
custom_metadata: Record<string, string | boolean>
|
|
22558
22569
|
/** Indicates whether Seam should [import all new devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#automatically_manage_new_devices) for the connected account to make these devices available for use and management by the Seam API. */
|
|
22559
22570
|
automatically_manage_new_devices: boolean
|
|
22571
|
+
/** Your unique key for the customer associated with this connected account. */
|
|
22572
|
+
customer_key?: string | undefined
|
|
22560
22573
|
}
|
|
22561
22574
|
}
|
|
22562
22575
|
}
|
|
@@ -22712,6 +22725,8 @@ export interface Routes {
|
|
|
22712
22725
|
custom_metadata: Record<string, string | boolean>
|
|
22713
22726
|
/** Indicates whether Seam should [import all new devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#automatically_manage_new_devices) for the connected account to make these devices available for use and management by the Seam API. */
|
|
22714
22727
|
automatically_manage_new_devices: boolean
|
|
22728
|
+
/** Your unique key for the customer associated with this connected account. */
|
|
22729
|
+
customer_key?: string | undefined
|
|
22715
22730
|
}>
|
|
22716
22731
|
/** Information about the current page of results. */
|
|
22717
22732
|
pagination: {
|
|
@@ -22886,6 +22901,8 @@ export interface Routes {
|
|
|
22886
22901
|
custom_metadata: Record<string, string | boolean>
|
|
22887
22902
|
/** Indicates whether Seam should [import all new devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#automatically_manage_new_devices) for the connected account to make these devices available for use and management by the Seam API. */
|
|
22888
22903
|
automatically_manage_new_devices: boolean
|
|
22904
|
+
/** Your unique key for the customer associated with this connected account. */
|
|
22905
|
+
customer_key?: string | undefined
|
|
22889
22906
|
}
|
|
22890
22907
|
}
|
|
22891
22908
|
}
|