@seamapi/types 1.403.0 → 1.404.1
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 +120 -34
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +107 -5
- package/lib/seam/connect/models/connect-webviews/connect-webview.js +55 -15
- package/lib/seam/connect/models/connect-webviews/connect-webview.js.map +1 -1
- package/lib/seam/connect/models/custom-metadata.js +5 -2
- package/lib/seam/connect/models/custom-metadata.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +33 -1
- package/lib/seam/connect/openapi.js +76 -15
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +74 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/connect-webviews/connect-webview.ts +79 -15
- package/src/lib/seam/connect/models/custom-metadata.ts +8 -4
- package/src/lib/seam/connect/openapi.ts +95 -15
- package/src/lib/seam/connect/route-types.ts +74 -4
package/dist/connect.d.cts
CHANGED
|
@@ -24288,6 +24288,7 @@ declare const _default: {
|
|
|
24288
24288
|
'x-undocumented': string;
|
|
24289
24289
|
};
|
|
24290
24290
|
accepted_providers: {
|
|
24291
|
+
description: string;
|
|
24291
24292
|
items: {
|
|
24292
24293
|
type: string;
|
|
24293
24294
|
};
|
|
@@ -24300,26 +24301,32 @@ declare const _default: {
|
|
|
24300
24301
|
'x-undocumented': string;
|
|
24301
24302
|
};
|
|
24302
24303
|
any_provider_allowed: {
|
|
24304
|
+
description: string;
|
|
24303
24305
|
type: string;
|
|
24304
24306
|
};
|
|
24305
24307
|
authorized_at: {
|
|
24308
|
+
description: string;
|
|
24306
24309
|
format: string;
|
|
24307
24310
|
nullable: boolean;
|
|
24308
24311
|
type: string;
|
|
24309
24312
|
};
|
|
24310
24313
|
automatically_manage_new_devices: {
|
|
24314
|
+
description: string;
|
|
24311
24315
|
type: string;
|
|
24312
24316
|
};
|
|
24313
24317
|
connect_webview_id: {
|
|
24318
|
+
description: string;
|
|
24314
24319
|
format: string;
|
|
24315
24320
|
type: string;
|
|
24316
24321
|
};
|
|
24317
24322
|
connected_account_id: {
|
|
24323
|
+
description: string;
|
|
24318
24324
|
format: string;
|
|
24319
24325
|
nullable: boolean;
|
|
24320
24326
|
type: string;
|
|
24321
24327
|
};
|
|
24322
24328
|
created_at: {
|
|
24329
|
+
description: string;
|
|
24323
24330
|
format: string;
|
|
24324
24331
|
type: string;
|
|
24325
24332
|
};
|
|
@@ -24329,14 +24336,17 @@ declare const _default: {
|
|
|
24329
24336
|
type: string;
|
|
24330
24337
|
}[];
|
|
24331
24338
|
};
|
|
24339
|
+
description: string;
|
|
24332
24340
|
type: string;
|
|
24333
24341
|
};
|
|
24334
24342
|
custom_redirect_failure_url: {
|
|
24343
|
+
description: string;
|
|
24335
24344
|
format: string;
|
|
24336
24345
|
nullable: boolean;
|
|
24337
24346
|
type: string;
|
|
24338
24347
|
};
|
|
24339
24348
|
custom_redirect_url: {
|
|
24349
|
+
description: string;
|
|
24340
24350
|
format: string;
|
|
24341
24351
|
nullable: boolean;
|
|
24342
24352
|
type: string;
|
|
@@ -24346,24 +24356,30 @@ declare const _default: {
|
|
|
24346
24356
|
type: string;
|
|
24347
24357
|
};
|
|
24348
24358
|
login_successful: {
|
|
24359
|
+
description: string;
|
|
24349
24360
|
type: string;
|
|
24350
24361
|
};
|
|
24351
24362
|
selected_provider: {
|
|
24363
|
+
description: string;
|
|
24352
24364
|
nullable: boolean;
|
|
24353
24365
|
type: string;
|
|
24354
24366
|
};
|
|
24355
24367
|
status: {
|
|
24368
|
+
description: string;
|
|
24356
24369
|
enum: string[];
|
|
24357
24370
|
type: string;
|
|
24358
24371
|
};
|
|
24359
24372
|
url: {
|
|
24373
|
+
description: string;
|
|
24360
24374
|
format: string;
|
|
24361
24375
|
type: string;
|
|
24362
24376
|
};
|
|
24363
24377
|
wait_for_device_creation: {
|
|
24378
|
+
description: string;
|
|
24364
24379
|
type: string;
|
|
24365
24380
|
};
|
|
24366
24381
|
workspace_id: {
|
|
24382
|
+
description: string;
|
|
24367
24383
|
format: string;
|
|
24368
24384
|
type: string;
|
|
24369
24385
|
};
|
|
@@ -24398,6 +24414,7 @@ declare const _default: {
|
|
|
24398
24414
|
type: string;
|
|
24399
24415
|
}[];
|
|
24400
24416
|
};
|
|
24417
|
+
description: string;
|
|
24401
24418
|
type: string;
|
|
24402
24419
|
};
|
|
24403
24420
|
errors: {
|
|
@@ -24652,6 +24669,7 @@ declare const _default: {
|
|
|
24652
24669
|
type: string;
|
|
24653
24670
|
}[];
|
|
24654
24671
|
};
|
|
24672
|
+
description: string;
|
|
24655
24673
|
type: string;
|
|
24656
24674
|
};
|
|
24657
24675
|
device_id: {
|
|
@@ -38228,13 +38246,22 @@ declare const _default: {
|
|
|
38228
38246
|
'application/json': {
|
|
38229
38247
|
schema: {
|
|
38230
38248
|
properties: {
|
|
38249
|
+
acs_system_id: {
|
|
38250
|
+
description: string;
|
|
38251
|
+
format: string;
|
|
38252
|
+
type: string;
|
|
38253
|
+
};
|
|
38231
38254
|
acs_user_id: {
|
|
38232
38255
|
description: string;
|
|
38233
38256
|
format: string;
|
|
38234
38257
|
type: string;
|
|
38235
38258
|
};
|
|
38259
|
+
user_identity_id: {
|
|
38260
|
+
description: string;
|
|
38261
|
+
format: string;
|
|
38262
|
+
type: string;
|
|
38263
|
+
};
|
|
38236
38264
|
};
|
|
38237
|
-
required: string[];
|
|
38238
38265
|
type: string;
|
|
38239
38266
|
};
|
|
38240
38267
|
};
|
|
@@ -38319,6 +38346,11 @@ declare const _default: {
|
|
|
38319
38346
|
format: string;
|
|
38320
38347
|
type: string;
|
|
38321
38348
|
};
|
|
38349
|
+
user_identity_id: {
|
|
38350
|
+
description: string;
|
|
38351
|
+
format: string;
|
|
38352
|
+
type: string;
|
|
38353
|
+
};
|
|
38322
38354
|
};
|
|
38323
38355
|
required: string[];
|
|
38324
38356
|
type: string;
|
|
@@ -68982,8 +69014,12 @@ interface Routes {
|
|
|
68982
69014
|
queryParams: {};
|
|
68983
69015
|
jsonBody: {};
|
|
68984
69016
|
commonParams: {
|
|
68985
|
-
/** ID of the access system user for whom you want to list accessible entrances. */
|
|
68986
|
-
acs_user_id
|
|
69017
|
+
/** ID of the access system user for whom you want to list accessible entrances. You can only provide acs_user_id or user_identity_id. */
|
|
69018
|
+
acs_user_id?: string | undefined;
|
|
69019
|
+
/** ID of the user identity for whom you want to list accessible entrances. You can only provide acs_user_id or user_identity_id. */
|
|
69020
|
+
user_identity_id?: string | undefined;
|
|
69021
|
+
/** ID of the access system for which you want to list accessible entrances. You can only provide acs_system_id with user_identity_id. */
|
|
69022
|
+
acs_system_id?: string | undefined;
|
|
68987
69023
|
};
|
|
68988
69024
|
formData: {};
|
|
68989
69025
|
jsonResponse: {
|
|
@@ -69057,8 +69093,10 @@ interface Routes {
|
|
|
69057
69093
|
queryParams: {};
|
|
69058
69094
|
jsonBody: {};
|
|
69059
69095
|
commonParams: {
|
|
69060
|
-
/** ID of the access system user that you want to remove from an access group. */
|
|
69061
|
-
acs_user_id
|
|
69096
|
+
/** ID of the access system user that you want to remove from an access group. You can only provide acs_user_id or user_identity_id. */
|
|
69097
|
+
acs_user_id?: string | undefined;
|
|
69098
|
+
/** ID of the user identity that you want to remove from an access group. You can only provide acs_user_id or user_identity_id. */
|
|
69099
|
+
user_identity_id?: string | undefined;
|
|
69062
69100
|
/** ID of the access group from which you want to remove an access system user. */
|
|
69063
69101
|
acs_access_group_id: string;
|
|
69064
69102
|
};
|
|
@@ -72050,12 +72088,18 @@ interface Routes {
|
|
|
72050
72088
|
|
|
72051
72089
|
To list all providers within a category, use `/devices/list_device_providers` with the desired `provider_category` filter. To list all provider keys, use `/devices/list_device_providers` with no filters. */
|
|
72052
72090
|
connect_webview: {
|
|
72091
|
+
/** ID of the Connect Webview. */
|
|
72053
72092
|
connect_webview_id: string;
|
|
72093
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the Connect Webview. */
|
|
72054
72094
|
workspace_id: string;
|
|
72095
|
+
/** Date and time at which the Connect Webview was created. */
|
|
72055
72096
|
created_at: string;
|
|
72097
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the Connect Webview. */
|
|
72056
72098
|
connected_account_id: string | null;
|
|
72099
|
+
/** URL for the Connect Webview. You use the URL to display the Connect Webview flow to your user. */
|
|
72057
72100
|
url: string;
|
|
72058
72101
|
device_selection_mode: 'none' | 'single' | 'multiple';
|
|
72102
|
+
/** List of accepted [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). */
|
|
72059
72103
|
accepted_providers: string[];
|
|
72060
72104
|
/**
|
|
72061
72105
|
* @deprecated Unused. Will be removed. */
|
|
@@ -72063,15 +72107,25 @@ interface Routes {
|
|
|
72063
72107
|
/**
|
|
72064
72108
|
* @deprecated Unused. Will be removed. */
|
|
72065
72109
|
any_device_allowed: boolean;
|
|
72110
|
+
/** Indicates whether any provider is allowed. */
|
|
72066
72111
|
any_provider_allowed: boolean;
|
|
72112
|
+
/** Indicates whether the user logged in successfully using the Connect Webview. */
|
|
72067
72113
|
login_successful: boolean;
|
|
72114
|
+
/** Status of the Connect Webview. `authorized` indicates that the user has successfully logged into their device or system account, thereby completing the Connect Webview. */
|
|
72068
72115
|
status: 'pending' | 'failed' | 'authorized';
|
|
72116
|
+
/** URL to which the Connect Webview should redirect when the user successfully pairs a device or system. If you do not set the `custom_redirect_failure_url`, the Connect Webview redirects to the `custom_redirect_url` when an unexpected error occurs. */
|
|
72069
72117
|
custom_redirect_url: string | null;
|
|
72118
|
+
/** URL to which the Connect Webview should redirect when an unexpected error occurs. */
|
|
72070
72119
|
custom_redirect_failure_url: string | null;
|
|
72120
|
+
/** 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. */
|
|
72071
72121
|
custom_metadata: Record<string, string | boolean>;
|
|
72122
|
+
/** 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. */
|
|
72072
72123
|
automatically_manage_new_devices: boolean;
|
|
72124
|
+
/** Indicates whether Seam should [finish syncing all devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#wait_for_device_creation) in a newly-connected account before completing the associated Connect Webview. */
|
|
72073
72125
|
wait_for_device_creation: boolean;
|
|
72126
|
+
/** Date and time at which the user authorized (through the Connect Webview) the management of their devices. */
|
|
72074
72127
|
authorized_at: string | null;
|
|
72128
|
+
/** 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). */
|
|
72075
72129
|
selected_provider: string | null;
|
|
72076
72130
|
};
|
|
72077
72131
|
};
|
|
@@ -72111,12 +72165,18 @@ interface Routes {
|
|
|
72111
72165
|
|
|
72112
72166
|
To list all providers within a category, use `/devices/list_device_providers` with the desired `provider_category` filter. To list all provider keys, use `/devices/list_device_providers` with no filters. */
|
|
72113
72167
|
connect_webview: {
|
|
72168
|
+
/** ID of the Connect Webview. */
|
|
72114
72169
|
connect_webview_id: string;
|
|
72170
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the Connect Webview. */
|
|
72115
72171
|
workspace_id: string;
|
|
72172
|
+
/** Date and time at which the Connect Webview was created. */
|
|
72116
72173
|
created_at: string;
|
|
72174
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the Connect Webview. */
|
|
72117
72175
|
connected_account_id: string | null;
|
|
72176
|
+
/** URL for the Connect Webview. You use the URL to display the Connect Webview flow to your user. */
|
|
72118
72177
|
url: string;
|
|
72119
72178
|
device_selection_mode: 'none' | 'single' | 'multiple';
|
|
72179
|
+
/** List of accepted [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). */
|
|
72120
72180
|
accepted_providers: string[];
|
|
72121
72181
|
/**
|
|
72122
72182
|
* @deprecated Unused. Will be removed. */
|
|
@@ -72124,15 +72184,25 @@ interface Routes {
|
|
|
72124
72184
|
/**
|
|
72125
72185
|
* @deprecated Unused. Will be removed. */
|
|
72126
72186
|
any_device_allowed: boolean;
|
|
72187
|
+
/** Indicates whether any provider is allowed. */
|
|
72127
72188
|
any_provider_allowed: boolean;
|
|
72189
|
+
/** Indicates whether the user logged in successfully using the Connect Webview. */
|
|
72128
72190
|
login_successful: boolean;
|
|
72191
|
+
/** Status of the Connect Webview. `authorized` indicates that the user has successfully logged into their device or system account, thereby completing the Connect Webview. */
|
|
72129
72192
|
status: 'pending' | 'failed' | 'authorized';
|
|
72193
|
+
/** URL to which the Connect Webview should redirect when the user successfully pairs a device or system. If you do not set the `custom_redirect_failure_url`, the Connect Webview redirects to the `custom_redirect_url` when an unexpected error occurs. */
|
|
72130
72194
|
custom_redirect_url: string | null;
|
|
72195
|
+
/** URL to which the Connect Webview should redirect when an unexpected error occurs. */
|
|
72131
72196
|
custom_redirect_failure_url: string | null;
|
|
72197
|
+
/** 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. */
|
|
72132
72198
|
custom_metadata: Record<string, string | boolean>;
|
|
72199
|
+
/** 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. */
|
|
72133
72200
|
automatically_manage_new_devices: boolean;
|
|
72201
|
+
/** Indicates whether Seam should [finish syncing all devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#wait_for_device_creation) in a newly-connected account before completing the associated Connect Webview. */
|
|
72134
72202
|
wait_for_device_creation: boolean;
|
|
72203
|
+
/** Date and time at which the user authorized (through the Connect Webview) the management of their devices. */
|
|
72135
72204
|
authorized_at: string | null;
|
|
72205
|
+
/** 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). */
|
|
72136
72206
|
selected_provider: string | null;
|
|
72137
72207
|
};
|
|
72138
72208
|
};
|
|
@@ -72153,12 +72223,18 @@ interface Routes {
|
|
|
72153
72223
|
formData: {};
|
|
72154
72224
|
jsonResponse: {
|
|
72155
72225
|
connect_webviews: Array<{
|
|
72226
|
+
/** ID of the Connect Webview. */
|
|
72156
72227
|
connect_webview_id: string;
|
|
72228
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the Connect Webview. */
|
|
72157
72229
|
workspace_id: string;
|
|
72230
|
+
/** Date and time at which the Connect Webview was created. */
|
|
72158
72231
|
created_at: string;
|
|
72232
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the Connect Webview. */
|
|
72159
72233
|
connected_account_id: string | null;
|
|
72234
|
+
/** URL for the Connect Webview. You use the URL to display the Connect Webview flow to your user. */
|
|
72160
72235
|
url: string;
|
|
72161
72236
|
device_selection_mode: 'none' | 'single' | 'multiple';
|
|
72237
|
+
/** List of accepted [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). */
|
|
72162
72238
|
accepted_providers: string[];
|
|
72163
72239
|
/**
|
|
72164
72240
|
* @deprecated Unused. Will be removed. */
|
|
@@ -72166,15 +72242,25 @@ interface Routes {
|
|
|
72166
72242
|
/**
|
|
72167
72243
|
* @deprecated Unused. Will be removed. */
|
|
72168
72244
|
any_device_allowed: boolean;
|
|
72245
|
+
/** Indicates whether any provider is allowed. */
|
|
72169
72246
|
any_provider_allowed: boolean;
|
|
72247
|
+
/** Indicates whether the user logged in successfully using the Connect Webview. */
|
|
72170
72248
|
login_successful: boolean;
|
|
72249
|
+
/** Status of the Connect Webview. `authorized` indicates that the user has successfully logged into their device or system account, thereby completing the Connect Webview. */
|
|
72171
72250
|
status: 'pending' | 'failed' | 'authorized';
|
|
72251
|
+
/** URL to which the Connect Webview should redirect when the user successfully pairs a device or system. If you do not set the `custom_redirect_failure_url`, the Connect Webview redirects to the `custom_redirect_url` when an unexpected error occurs. */
|
|
72172
72252
|
custom_redirect_url: string | null;
|
|
72253
|
+
/** URL to which the Connect Webview should redirect when an unexpected error occurs. */
|
|
72173
72254
|
custom_redirect_failure_url: string | null;
|
|
72255
|
+
/** 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. */
|
|
72174
72256
|
custom_metadata: Record<string, string | boolean>;
|
|
72257
|
+
/** 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. */
|
|
72175
72258
|
automatically_manage_new_devices: boolean;
|
|
72259
|
+
/** Indicates whether Seam should [finish syncing all devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#wait_for_device_creation) in a newly-connected account before completing the associated Connect Webview. */
|
|
72176
72260
|
wait_for_device_creation: boolean;
|
|
72261
|
+
/** Date and time at which the user authorized (through the Connect Webview) the management of their devices. */
|
|
72177
72262
|
authorized_at: string | null;
|
|
72263
|
+
/** 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). */
|
|
72178
72264
|
selected_provider: string | null;
|
|
72179
72265
|
}>;
|
|
72180
72266
|
};
|
|
@@ -72288,6 +72374,7 @@ interface Routes {
|
|
|
72288
72374
|
}>;
|
|
72289
72375
|
};
|
|
72290
72376
|
}>;
|
|
72377
|
+
/** 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. */
|
|
72291
72378
|
custom_metadata: Record<string, string | boolean>;
|
|
72292
72379
|
automatically_manage_new_devices: boolean;
|
|
72293
72380
|
};
|
|
@@ -72391,6 +72478,7 @@ interface Routes {
|
|
|
72391
72478
|
}>;
|
|
72392
72479
|
};
|
|
72393
72480
|
}>;
|
|
72481
|
+
/** 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. */
|
|
72394
72482
|
custom_metadata: Record<string, string | boolean>;
|
|
72395
72483
|
automatically_manage_new_devices: boolean;
|
|
72396
72484
|
}>;
|
|
@@ -72501,6 +72589,7 @@ interface Routes {
|
|
|
72501
72589
|
}>;
|
|
72502
72590
|
};
|
|
72503
72591
|
}>;
|
|
72592
|
+
/** 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. */
|
|
72504
72593
|
custom_metadata: Record<string, string | boolean>;
|
|
72505
72594
|
automatically_manage_new_devices: boolean;
|
|
72506
72595
|
};
|
|
@@ -73272,6 +73361,7 @@ interface Routes {
|
|
|
73272
73361
|
created_at: string;
|
|
73273
73362
|
/** Indicates whether Seam manages the device. */
|
|
73274
73363
|
is_managed: true;
|
|
73364
|
+
/** 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. */
|
|
73275
73365
|
custom_metadata: Record<string, string | boolean>;
|
|
73276
73366
|
can_remotely_unlock?: boolean | undefined;
|
|
73277
73367
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -74067,6 +74157,7 @@ interface Routes {
|
|
|
74067
74157
|
created_at: string;
|
|
74068
74158
|
/** Indicates whether Seam manages the device. */
|
|
74069
74159
|
is_managed: true;
|
|
74160
|
+
/** 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. */
|
|
74070
74161
|
custom_metadata: Record<string, string | boolean>;
|
|
74071
74162
|
can_remotely_unlock?: boolean | undefined;
|
|
74072
74163
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -78306,6 +78397,7 @@ interface Routes {
|
|
|
78306
78397
|
created_at: string;
|
|
78307
78398
|
/** Indicates whether Seam manages the device. */
|
|
78308
78399
|
is_managed: true;
|
|
78400
|
+
/** 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. */
|
|
78309
78401
|
custom_metadata: Record<string, string | boolean>;
|
|
78310
78402
|
can_remotely_unlock?: boolean | undefined;
|
|
78311
78403
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -79060,6 +79152,7 @@ interface Routes {
|
|
|
79060
79152
|
created_at: string;
|
|
79061
79153
|
/** Indicates whether Seam manages the device. */
|
|
79062
79154
|
is_managed: true;
|
|
79155
|
+
/** 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. */
|
|
79063
79156
|
custom_metadata: Record<string, string | boolean>;
|
|
79064
79157
|
can_remotely_unlock?: boolean | undefined;
|
|
79065
79158
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -79855,6 +79948,7 @@ interface Routes {
|
|
|
79855
79948
|
created_at: string;
|
|
79856
79949
|
/** Indicates whether Seam manages the device. */
|
|
79857
79950
|
is_managed: true;
|
|
79951
|
+
/** 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. */
|
|
79858
79952
|
custom_metadata: Record<string, string | boolean>;
|
|
79859
79953
|
can_remotely_unlock?: boolean | undefined;
|
|
79860
79954
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -80608,6 +80702,7 @@ interface Routes {
|
|
|
80608
80702
|
created_at: string;
|
|
80609
80703
|
/** Indicates whether Seam manages the device. */
|
|
80610
80704
|
is_managed: true;
|
|
80705
|
+
/** 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. */
|
|
80611
80706
|
custom_metadata: Record<string, string | boolean>;
|
|
80612
80707
|
can_remotely_unlock?: boolean | undefined;
|
|
80613
80708
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -85901,6 +85996,7 @@ interface Routes {
|
|
|
85901
85996
|
created_at: string;
|
|
85902
85997
|
/** Indicates whether Seam manages the device. */
|
|
85903
85998
|
is_managed: true;
|
|
85999
|
+
/** 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. */
|
|
85904
86000
|
custom_metadata: Record<string, string | boolean>;
|
|
85905
86001
|
can_remotely_unlock?: boolean | undefined;
|
|
85906
86002
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -86654,6 +86750,7 @@ interface Routes {
|
|
|
86654
86750
|
created_at: string;
|
|
86655
86751
|
/** Indicates whether Seam manages the device. */
|
|
86656
86752
|
is_managed: true;
|
|
86753
|
+
/** 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. */
|
|
86657
86754
|
custom_metadata: Record<string, string | boolean>;
|
|
86658
86755
|
can_remotely_unlock?: boolean | undefined;
|
|
86659
86756
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -95119,6 +95216,7 @@ interface Routes {
|
|
|
95119
95216
|
created_at: string;
|
|
95120
95217
|
/** Indicates whether Seam manages the device. */
|
|
95121
95218
|
is_managed: true;
|
|
95219
|
+
/** 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. */
|
|
95122
95220
|
custom_metadata: Record<string, string | boolean>;
|
|
95123
95221
|
can_remotely_unlock?: boolean | undefined;
|
|
95124
95222
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -98162,6 +98260,7 @@ interface Routes {
|
|
|
98162
98260
|
created_at: string;
|
|
98163
98261
|
/** Indicates whether Seam manages the device. */
|
|
98164
98262
|
is_managed: true;
|
|
98263
|
+
/** 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. */
|
|
98165
98264
|
custom_metadata: Record<string, string | boolean>;
|
|
98166
98265
|
can_remotely_unlock?: boolean | undefined;
|
|
98167
98266
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -98915,6 +99014,7 @@ interface Routes {
|
|
|
98915
99014
|
created_at: string;
|
|
98916
99015
|
/** Indicates whether Seam manages the device. */
|
|
98917
99016
|
is_managed: true;
|
|
99017
|
+
/** 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. */
|
|
98918
99018
|
custom_metadata: Record<string, string | boolean>;
|
|
98919
99019
|
can_remotely_unlock?: boolean | undefined;
|
|
98920
99020
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -105207,6 +105307,7 @@ interface Routes {
|
|
|
105207
105307
|
created_at: string;
|
|
105208
105308
|
/** Indicates whether Seam manages the device. */
|
|
105209
105309
|
is_managed: true;
|
|
105310
|
+
/** 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. */
|
|
105210
105311
|
custom_metadata: Record<string, string | boolean>;
|
|
105211
105312
|
can_remotely_unlock?: boolean | undefined;
|
|
105212
105313
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -105962,6 +106063,7 @@ interface Routes {
|
|
|
105962
106063
|
created_at: string;
|
|
105963
106064
|
/** Indicates whether Seam manages the device. */
|
|
105964
106065
|
is_managed: true;
|
|
106066
|
+
/** 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. */
|
|
105965
106067
|
custom_metadata: Record<string, string | boolean>;
|
|
105966
106068
|
can_remotely_unlock?: boolean | undefined;
|
|
105967
106069
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -6,14 +6,29 @@ export const connect_webview_device_selection_mode = z.enum([
|
|
|
6
6
|
'multiple',
|
|
7
7
|
]);
|
|
8
8
|
export const connect_webview = z.object({
|
|
9
|
-
connect_webview_id: z.string().uuid(),
|
|
10
|
-
workspace_id: z
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
connect_webview_id: z.string().uuid().describe('ID of the Connect Webview.'),
|
|
10
|
+
workspace_id: z
|
|
11
|
+
.string()
|
|
12
|
+
.uuid()
|
|
13
|
+
.describe('ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the Connect Webview.'),
|
|
14
|
+
created_at: z
|
|
15
|
+
.string()
|
|
16
|
+
.datetime()
|
|
17
|
+
.describe('Date and time at which the Connect Webview was created.'),
|
|
18
|
+
connected_account_id: z
|
|
19
|
+
.string()
|
|
20
|
+
.uuid()
|
|
21
|
+
.nullable()
|
|
22
|
+
.describe('ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the Connect Webview.'),
|
|
23
|
+
url: z
|
|
24
|
+
.string()
|
|
25
|
+
.url()
|
|
26
|
+
.describe('URL for the Connect Webview. You use the URL to display the Connect Webview flow to your user.'),
|
|
14
27
|
device_selection_mode: connect_webview_device_selection_mode,
|
|
15
28
|
// TODO: Use enum value.
|
|
16
|
-
accepted_providers: z
|
|
29
|
+
accepted_providers: z
|
|
30
|
+
.array(z.string())
|
|
31
|
+
.describe('List of accepted [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews).'),
|
|
17
32
|
accepted_devices: z.array(z.string()).describe(`
|
|
18
33
|
---
|
|
19
34
|
undocumented: Unused. Will be removed.
|
|
@@ -26,16 +41,41 @@ export const connect_webview = z.object({
|
|
|
26
41
|
deprecated: Unused. Will be removed.
|
|
27
42
|
---
|
|
28
43
|
`),
|
|
29
|
-
any_provider_allowed: z
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
44
|
+
any_provider_allowed: z
|
|
45
|
+
.boolean()
|
|
46
|
+
.describe('Indicates whether any provider is allowed.'),
|
|
47
|
+
login_successful: z
|
|
48
|
+
.boolean()
|
|
49
|
+
.describe('Indicates whether the user logged in successfully using the Connect Webview.'),
|
|
50
|
+
status: z
|
|
51
|
+
.enum(['pending', 'failed', 'authorized'])
|
|
52
|
+
.describe('Status of the Connect Webview. `authorized` indicates that the user has successfully logged into their device or system account, thereby completing the Connect Webview.'),
|
|
53
|
+
custom_redirect_url: z
|
|
54
|
+
.string()
|
|
55
|
+
.url()
|
|
56
|
+
.nullable()
|
|
57
|
+
.describe('URL to which the Connect Webview should redirect when the user successfully pairs a device or system. If you do not set the `custom_redirect_failure_url`, the Connect Webview redirects to the `custom_redirect_url` when an unexpected error occurs.'),
|
|
58
|
+
custom_redirect_failure_url: z
|
|
59
|
+
.string()
|
|
60
|
+
.url()
|
|
61
|
+
.nullable()
|
|
62
|
+
.describe('URL to which the Connect Webview should redirect when an unexpected error occurs.'),
|
|
34
63
|
custom_metadata,
|
|
35
|
-
automatically_manage_new_devices: z
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
64
|
+
automatically_manage_new_devices: z
|
|
65
|
+
.boolean()
|
|
66
|
+
.describe('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.'),
|
|
67
|
+
wait_for_device_creation: z
|
|
68
|
+
.boolean()
|
|
69
|
+
.describe('Indicates whether Seam should [finish syncing all devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#wait_for_device_creation) in a newly-connected account before completing the associated Connect Webview.'),
|
|
70
|
+
authorized_at: z
|
|
71
|
+
.string()
|
|
72
|
+
.datetime()
|
|
73
|
+
.nullable()
|
|
74
|
+
.describe('Date and time at which the user authorized (through the Connect Webview) the management of their devices.'),
|
|
75
|
+
selected_provider: z
|
|
76
|
+
.string()
|
|
77
|
+
.nullable()
|
|
78
|
+
.describe('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).'),
|
|
39
79
|
}).describe(`
|
|
40
80
|
---
|
|
41
81
|
route_path: /connect_webviews
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect-webview.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/connect-webviews/connect-webview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAEvD,MAAM,CAAC,MAAM,qCAAqC,GAAG,CAAC,CAAC,IAAI,CAAC;IAC1D,MAAM;IACN,QAAQ;IACR,UAAU;CACX,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"connect-webview.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/connect-webviews/connect-webview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAEvD,MAAM,CAAC,MAAM,qCAAqC,GAAG,CAAC,CAAC,IAAI,CAAC;IAC1D,MAAM;IACN,QAAQ;IACR,UAAU;CACX,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;IAC5E,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,gHAAgH,CACjH;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;IACtE,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,kIAAkI,CACnI;IACH,GAAG,EAAE,CAAC;SACH,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,CACP,gGAAgG,CACjG;IACH,qBAAqB,EAAE,qCAAqC;IAE5D,wBAAwB;IACxB,kBAAkB,EAAE,CAAC;SAClB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,CACP,qLAAqL,CACtL;IAEH,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,CAC5C;;;;;OAKG,CACJ;IACD,kBAAkB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CACtC;;;;;OAKG,CACJ;IAED,oBAAoB,EAAE,CAAC;SACpB,OAAO,EAAE;SACT,QAAQ,CAAC,4CAA4C,CAAC;IACzD,gBAAgB,EAAE,CAAC;SAChB,OAAO,EAAE;SACT,QAAQ,CACP,8EAA8E,CAC/E;IACH,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;SACzC,QAAQ,CACP,0KAA0K,CAC3K;IACH,mBAAmB,EAAE,CAAC;SACnB,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CACP,wPAAwP,CACzP;IACH,2BAA2B,EAAE,CAAC;SAC3B,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CACP,mFAAmF,CACpF;IACH,eAAe;IACf,gCAAgC,EAAE,CAAC;SAChC,OAAO,EAAE;SACT,QAAQ,CACP,oRAAoR,CACrR;IACH,wBAAwB,EAAE,CAAC;SACxB,OAAO,EAAE;SACT,QAAQ,CACP,6PAA6P,CAC9P;IACH,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,2GAA2G,CAC5G;IACH,iBAAiB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,yNAAyN,CAC1N;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;CAeX,CAAC,CAAA"}
|
|
@@ -3,6 +3,9 @@ export const custom_metadata_input = z
|
|
|
3
3
|
.record(z.string().max(40), z.union([z.string().max(500), z.boolean(), z.null()]))
|
|
4
4
|
.refine((val) => Object.keys(val).length <= 50, {
|
|
5
5
|
message: 'Custom metadata is limited to a maximum of 50 keys',
|
|
6
|
-
})
|
|
7
|
-
|
|
6
|
+
})
|
|
7
|
+
.describe('Set of up to 50 key:value pairs, with key names up to 40 characters long. Accepts string or Boolean values. Strings are limited to 500 characters. 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.');
|
|
8
|
+
export const custom_metadata = z
|
|
9
|
+
.record(z.string(), z.union([z.string(), z.boolean()]))
|
|
10
|
+
.describe('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.');
|
|
8
11
|
//# sourceMappingURL=custom-metadata.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-metadata.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/custom-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC;KACnC,MAAM,CACL,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAClB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CACtD;KACA,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,IAAI,EAAE,EAAE;IAC9C,OAAO,EAAE,oDAAoD;CAC9D,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"custom-metadata.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/custom-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC;KACnC,MAAM,CACL,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAClB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CACtD;KACA,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,IAAI,EAAE,EAAE;IAC9C,OAAO,EAAE,oDAAoD;CAC9D,CAAC;KACD,QAAQ,CACP,2oBAA2oB,CAC5oB,CAAA;AAEH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC;KAC7B,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;KACtD,QAAQ,CACP,+gBAA+gB,CAChhB,CAAA"}
|