@seamapi/types 1.152.0 → 1.153.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.
@@ -9,8 +9,8 @@ declare const connect_webview: z.ZodObject<{
9
9
  device_selection_mode: z.ZodEnum<["none", "single", "multiple"]>;
10
10
  accepted_providers: z.ZodArray<z.ZodString, "many">;
11
11
  accepted_devices: z.ZodArray<z.ZodString, "many">;
12
- any_provider_allowed: z.ZodBoolean;
13
12
  any_device_allowed: z.ZodBoolean;
13
+ any_provider_allowed: z.ZodBoolean;
14
14
  login_successful: z.ZodBoolean;
15
15
  status: z.ZodEnum<["pending", "failed", "authorized"]>;
16
16
  custom_redirect_url: z.ZodNullable<z.ZodString>;
@@ -30,8 +30,8 @@ declare const connect_webview: z.ZodObject<{
30
30
  device_selection_mode: "none" | "single" | "multiple";
31
31
  accepted_providers: string[];
32
32
  accepted_devices: string[];
33
- any_provider_allowed: boolean;
34
33
  any_device_allowed: boolean;
34
+ any_provider_allowed: boolean;
35
35
  login_successful: boolean;
36
36
  custom_redirect_url: string | null;
37
37
  custom_redirect_failure_url: string | null;
@@ -50,8 +50,8 @@ declare const connect_webview: z.ZodObject<{
50
50
  device_selection_mode: "none" | "single" | "multiple";
51
51
  accepted_providers: string[];
52
52
  accepted_devices: string[];
53
- any_provider_allowed: boolean;
54
53
  any_device_allowed: boolean;
54
+ any_provider_allowed: boolean;
55
55
  login_successful: boolean;
56
56
  custom_redirect_url: string | null;
57
57
  custom_redirect_failure_url: string | null;
@@ -560,6 +560,7 @@ declare const _default: {
560
560
  connect_webview: {
561
561
  properties: {
562
562
  accepted_devices: {
563
+ description: string;
563
564
  items: {
564
565
  type: string;
565
566
  };
@@ -572,6 +573,7 @@ declare const _default: {
572
573
  type: string;
573
574
  };
574
575
  any_device_allowed: {
576
+ description: string;
575
577
  type: string;
576
578
  };
577
579
  any_provider_allowed: {
@@ -19036,9 +19038,19 @@ interface Routes {
19036
19038
  url: string;
19037
19039
  device_selection_mode: 'none' | 'single' | 'multiple';
19038
19040
  accepted_providers: string[];
19041
+ /**
19042
+ ---
19043
+ deprecated: Unused. Will be removed.
19044
+ ---
19045
+ */
19039
19046
  accepted_devices: string[];
19040
- any_provider_allowed: boolean;
19047
+ /**
19048
+ ---
19049
+ deprecated: Unused. Will be removed.
19050
+ ---
19051
+ */
19041
19052
  any_device_allowed: boolean;
19053
+ any_provider_allowed: boolean;
19042
19054
  login_successful: boolean;
19043
19055
  status: 'pending' | 'failed' | 'authorized';
19044
19056
  custom_redirect_url: string | null;
@@ -19080,9 +19092,19 @@ interface Routes {
19080
19092
  url: string;
19081
19093
  device_selection_mode: 'none' | 'single' | 'multiple';
19082
19094
  accepted_providers: string[];
19095
+ /**
19096
+ ---
19097
+ deprecated: Unused. Will be removed.
19098
+ ---
19099
+ */
19083
19100
  accepted_devices: string[];
19084
- any_provider_allowed: boolean;
19101
+ /**
19102
+ ---
19103
+ deprecated: Unused. Will be removed.
19104
+ ---
19105
+ */
19085
19106
  any_device_allowed: boolean;
19107
+ any_provider_allowed: boolean;
19086
19108
  login_successful: boolean;
19087
19109
  status: 'pending' | 'failed' | 'authorized';
19088
19110
  custom_redirect_url: string | null;
@@ -19115,9 +19137,19 @@ interface Routes {
19115
19137
  url: string;
19116
19138
  device_selection_mode: 'none' | 'single' | 'multiple';
19117
19139
  accepted_providers: string[];
19140
+ /**
19141
+ ---
19142
+ deprecated: Unused. Will be removed.
19143
+ ---
19144
+ */
19118
19145
  accepted_devices: string[];
19119
- any_provider_allowed: boolean;
19146
+ /**
19147
+ ---
19148
+ deprecated: Unused. Will be removed.
19149
+ ---
19150
+ */
19120
19151
  any_device_allowed: boolean;
19152
+ any_provider_allowed: boolean;
19121
19153
  login_successful: boolean;
19122
19154
  status: 'pending' | 'failed' | 'authorized';
19123
19155
  custom_redirect_url: string | null;
@@ -9,8 +9,8 @@ export declare const connect_webview: z.ZodObject<{
9
9
  device_selection_mode: z.ZodEnum<["none", "single", "multiple"]>;
10
10
  accepted_providers: z.ZodArray<z.ZodString, "many">;
11
11
  accepted_devices: z.ZodArray<z.ZodString, "many">;
12
- any_provider_allowed: z.ZodBoolean;
13
12
  any_device_allowed: z.ZodBoolean;
13
+ any_provider_allowed: z.ZodBoolean;
14
14
  login_successful: z.ZodBoolean;
15
15
  status: z.ZodEnum<["pending", "failed", "authorized"]>;
16
16
  custom_redirect_url: z.ZodNullable<z.ZodString>;
@@ -30,8 +30,8 @@ export declare const connect_webview: z.ZodObject<{
30
30
  device_selection_mode: "none" | "multiple" | "single";
31
31
  accepted_providers: string[];
32
32
  accepted_devices: string[];
33
- any_provider_allowed: boolean;
34
33
  any_device_allowed: boolean;
34
+ any_provider_allowed: boolean;
35
35
  login_successful: boolean;
36
36
  custom_redirect_url: string | null;
37
37
  custom_redirect_failure_url: string | null;
@@ -50,8 +50,8 @@ export declare const connect_webview: z.ZodObject<{
50
50
  device_selection_mode: "none" | "multiple" | "single";
51
51
  accepted_providers: string[];
52
52
  accepted_devices: string[];
53
- any_provider_allowed: boolean;
54
53
  any_device_allowed: boolean;
54
+ any_provider_allowed: boolean;
55
55
  login_successful: boolean;
56
56
  custom_redirect_url: string | null;
57
57
  custom_redirect_failure_url: string | null;
@@ -14,10 +14,17 @@ export const connect_webview = z.object({
14
14
  device_selection_mode: connect_webview_device_selection_mode,
15
15
  // TODO: Use enum value.
16
16
  accepted_providers: z.array(z.string()),
17
- // TODO: Use enum value.
18
- accepted_devices: z.array(z.string()),
17
+ accepted_devices: z.array(z.string()).describe(`
18
+ ---
19
+ deprecated: Unused. Will be removed.
20
+ ---
21
+ `),
22
+ any_device_allowed: z.boolean().describe(`
23
+ ---
24
+ deprecated: Unused. Will be removed.
25
+ ---
26
+ `),
19
27
  any_provider_allowed: z.boolean(),
20
- any_device_allowed: z.boolean(),
21
28
  login_successful: z.boolean(),
22
29
  status: z.enum(['pending', 'failed', 'authorized']),
23
30
  custom_redirect_url: z.string().url().nullable(),
@@ -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;IACrC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAClD,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACrB,qBAAqB,EAAE,qCAAqC;IAE5D,wBAAwB;IACxB,kBAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAEvC,wBAAwB;IACxB,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAErC,oBAAoB,EAAE,CAAC,CAAC,OAAO,EAAE;IACjC,kBAAkB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC/B,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC7B,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;IACnD,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAChD,2BAA2B,EA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C,QAAQ,CAC5C;;;;OAIG,CACJ;IACD,kBAAkB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CACtC;;;;OAIG,CACJ;IAED,oBAAoB,EAAE,CAAC,CAAC,OAAO,EAAE;IACjC,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC7B,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;IACnD,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAChD,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACxD,eAAe;IACf,gCAAgC,EAAE,CAAC,CAAC,OAAO,EAAE;IAC7C,wBAAwB,EAAE,CAAC,CAAC,OAAO,EAAE;IACrC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC/C,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAA"}
@@ -486,6 +486,7 @@ declare const _default: {
486
486
  connect_webview: {
487
487
  properties: {
488
488
  accepted_devices: {
489
+ description: string;
489
490
  items: {
490
491
  type: string;
491
492
  };
@@ -498,6 +499,7 @@ declare const _default: {
498
499
  type: string;
499
500
  };
500
501
  any_device_allowed: {
502
+ description: string;
501
503
  type: string;
502
504
  };
503
505
  any_provider_allowed: {
@@ -397,9 +397,16 @@ export default {
397
397
  },
398
398
  connect_webview: {
399
399
  properties: {
400
- accepted_devices: { items: { type: 'string' }, type: 'array' },
400
+ accepted_devices: {
401
+ description: '\n ---\n deprecated: Unused. Will be removed.\n ---\n ',
402
+ items: { type: 'string' },
403
+ type: 'array',
404
+ },
401
405
  accepted_providers: { items: { type: 'string' }, type: 'array' },
402
- any_device_allowed: { type: 'boolean' },
406
+ any_device_allowed: {
407
+ description: '\n ---\n deprecated: Unused. Will be removed.\n ---\n ',
408
+ type: 'boolean',
409
+ },
403
410
  any_provider_allowed: { type: 'boolean' },
404
411
  authorized_at: {
405
412
  format: 'date-time',
@@ -450,8 +457,8 @@ export default {
450
457
  'device_selection_mode',
451
458
  'accepted_providers',
452
459
  'accepted_devices',
453
- 'any_provider_allowed',
454
460
  'any_device_allowed',
461
+ 'any_provider_allowed',
455
462
  'login_successful',
456
463
  'status',
457
464
  'custom_redirect_url',