@seamapi/types 1.444.1 → 1.445.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 +10 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +17 -28
- package/dist/index.cjs +10 -8
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +3 -0
- package/lib/seam/connect/models/connect-webviews/connect-webview.js +4 -0
- package/lib/seam/connect/models/connect-webviews/connect-webview.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +6 -26
- package/lib/seam/connect/openapi.js +8 -7
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +8 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/connect-webviews/connect-webview.ts +4 -0
- package/src/lib/seam/connect/openapi.ts +10 -7
- package/src/lib/seam/connect/route-types.ts +8 -2
|
@@ -21,6 +21,7 @@ export declare const connect_webview: z.ZodObject<{
|
|
|
21
21
|
wait_for_device_creation: z.ZodBoolean;
|
|
22
22
|
authorized_at: z.ZodNullable<z.ZodString>;
|
|
23
23
|
selected_provider: z.ZodNullable<z.ZodString>;
|
|
24
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
24
25
|
}, "strip", z.ZodTypeAny, {
|
|
25
26
|
url: string;
|
|
26
27
|
status: "failed" | "pending" | "authorized";
|
|
@@ -42,6 +43,7 @@ export declare const connect_webview: z.ZodObject<{
|
|
|
42
43
|
wait_for_device_creation: boolean;
|
|
43
44
|
authorized_at: string | null;
|
|
44
45
|
selected_provider: string | null;
|
|
46
|
+
customer_key?: string | undefined;
|
|
45
47
|
}, {
|
|
46
48
|
url: string;
|
|
47
49
|
status: "failed" | "pending" | "authorized";
|
|
@@ -63,5 +65,6 @@ export declare const connect_webview: z.ZodObject<{
|
|
|
63
65
|
wait_for_device_creation: boolean;
|
|
64
66
|
authorized_at: string | null;
|
|
65
67
|
selected_provider: string | null;
|
|
68
|
+
customer_key?: string | undefined;
|
|
66
69
|
}>;
|
|
67
70
|
export type ConnectWebview = z.infer<typeof connect_webview>;
|
|
@@ -80,6 +80,10 @@ export const connect_webview = z.object({
|
|
|
80
80
|
.string()
|
|
81
81
|
.nullable()
|
|
82
82
|
.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).'),
|
|
83
|
+
customer_key: z
|
|
84
|
+
.string()
|
|
85
|
+
.optional()
|
|
86
|
+
.describe('The customer key associated with this webview, if any.'),
|
|
83
87
|
}).describe(`
|
|
84
88
|
---
|
|
85
89
|
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;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAE/D,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;S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PAA6P,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;
|
|
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;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAE/D,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,MAA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;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,wDAAwD,CAAC;CACtE,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;CAeX,CAAC,CAAA"}
|
|
@@ -3901,6 +3901,10 @@ declare const _default: {
|
|
|
3901
3901
|
nullable: boolean;
|
|
3902
3902
|
type: string;
|
|
3903
3903
|
};
|
|
3904
|
+
customer_key: {
|
|
3905
|
+
description: string;
|
|
3906
|
+
type: string;
|
|
3907
|
+
};
|
|
3904
3908
|
device_selection_mode: {
|
|
3905
3909
|
enum: string[];
|
|
3906
3910
|
type: string;
|
|
@@ -26040,8 +26044,8 @@ declare const _default: {
|
|
|
26040
26044
|
description: string;
|
|
26041
26045
|
type: string;
|
|
26042
26046
|
};
|
|
26043
|
-
|
|
26044
|
-
|
|
26047
|
+
customer_key: {
|
|
26048
|
+
description: string;
|
|
26045
26049
|
type: string;
|
|
26046
26050
|
};
|
|
26047
26051
|
device_selection_mode: {
|
|
@@ -26434,26 +26438,11 @@ declare const _default: {
|
|
|
26434
26438
|
description: string;
|
|
26435
26439
|
operationId: string;
|
|
26436
26440
|
parameters: ({
|
|
26437
|
-
in: string;
|
|
26438
|
-
name: string;
|
|
26439
|
-
schema: {
|
|
26440
|
-
items: {
|
|
26441
|
-
type: string;
|
|
26442
|
-
};
|
|
26443
|
-
type: string;
|
|
26444
|
-
description?: never;
|
|
26445
|
-
additionalProperties?: never;
|
|
26446
|
-
default?: never;
|
|
26447
|
-
format?: never;
|
|
26448
|
-
nullable?: never;
|
|
26449
|
-
};
|
|
26450
|
-
} | {
|
|
26451
26441
|
in: string;
|
|
26452
26442
|
name: string;
|
|
26453
26443
|
schema: {
|
|
26454
26444
|
description: string;
|
|
26455
26445
|
type: string;
|
|
26456
|
-
items?: never;
|
|
26457
26446
|
additionalProperties?: never;
|
|
26458
26447
|
default?: never;
|
|
26459
26448
|
format?: never;
|
|
@@ -26470,7 +26459,6 @@ declare const _default: {
|
|
|
26470
26459
|
};
|
|
26471
26460
|
description: string;
|
|
26472
26461
|
type: string;
|
|
26473
|
-
items?: never;
|
|
26474
26462
|
default?: never;
|
|
26475
26463
|
format?: never;
|
|
26476
26464
|
nullable?: never;
|
|
@@ -26483,7 +26471,6 @@ declare const _default: {
|
|
|
26483
26471
|
description: string;
|
|
26484
26472
|
format: string;
|
|
26485
26473
|
type: string;
|
|
26486
|
-
items?: never;
|
|
26487
26474
|
additionalProperties?: never;
|
|
26488
26475
|
nullable?: never;
|
|
26489
26476
|
};
|
|
@@ -26494,7 +26481,6 @@ declare const _default: {
|
|
|
26494
26481
|
description: string;
|
|
26495
26482
|
nullable: boolean;
|
|
26496
26483
|
type: string;
|
|
26497
|
-
items?: never;
|
|
26498
26484
|
additionalProperties?: never;
|
|
26499
26485
|
default?: never;
|
|
26500
26486
|
format?: never;
|
|
@@ -26589,12 +26575,6 @@ declare const _default: {
|
|
|
26589
26575
|
description: string;
|
|
26590
26576
|
type: string;
|
|
26591
26577
|
};
|
|
26592
|
-
customer_ids: {
|
|
26593
|
-
items: {
|
|
26594
|
-
type: string;
|
|
26595
|
-
};
|
|
26596
|
-
type: string;
|
|
26597
|
-
};
|
|
26598
26578
|
limit: {
|
|
26599
26579
|
default: number;
|
|
26600
26580
|
description: string;
|
|
@@ -7633,6 +7633,10 @@ export default {
|
|
|
7633
7633
|
nullable: true,
|
|
7634
7634
|
type: 'string',
|
|
7635
7635
|
},
|
|
7636
|
+
customer_key: {
|
|
7637
|
+
description: 'The customer key associated with this webview, if any.',
|
|
7638
|
+
type: 'string',
|
|
7639
|
+
},
|
|
7636
7640
|
device_selection_mode: {
|
|
7637
7641
|
enum: ['none', 'single', 'multiple'],
|
|
7638
7642
|
type: 'string',
|
|
@@ -32746,7 +32750,10 @@ export default {
|
|
|
32746
32750
|
description: 'URL that you want to redirect the user to after the provider login is complete.',
|
|
32747
32751
|
type: 'string',
|
|
32748
32752
|
},
|
|
32749
|
-
|
|
32753
|
+
customer_key: {
|
|
32754
|
+
description: 'Optional unique string key that can be used to identify the customer. If provided, the customer will be created or retrieved based on this key.',
|
|
32755
|
+
type: 'string',
|
|
32756
|
+
},
|
|
32750
32757
|
device_selection_mode: {
|
|
32751
32758
|
enum: ['none', 'single', 'multiple'],
|
|
32752
32759
|
type: 'string',
|
|
@@ -33024,11 +33031,6 @@ export default {
|
|
|
33024
33031
|
description: 'Returns a list of all [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews).',
|
|
33025
33032
|
operationId: 'connectWebviewsListGet',
|
|
33026
33033
|
parameters: [
|
|
33027
|
-
{
|
|
33028
|
-
in: 'query',
|
|
33029
|
-
name: 'customer_ids',
|
|
33030
|
-
schema: { items: { type: 'string' }, type: 'array' },
|
|
33031
|
-
},
|
|
33032
33034
|
{
|
|
33033
33035
|
in: 'query',
|
|
33034
33036
|
name: 'user_identifier_key',
|
|
@@ -33121,7 +33123,6 @@ export default {
|
|
|
33121
33123
|
description: 'Custom metadata pairs by which you want to [filter Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/filtering-connect-webviews-by-custom-metadata). Returns Connect Webviews with `custom_metadata` that contains all of the provided key:value pairs.',
|
|
33122
33124
|
type: 'object',
|
|
33123
33125
|
},
|
|
33124
|
-
customer_ids: { items: { type: 'string' }, type: 'array' },
|
|
33125
33126
|
limit: {
|
|
33126
33127
|
default: 500,
|
|
33127
33128
|
description: 'Maximum number of records to return per page.',
|