@seamapi/types 1.640.0 → 1.641.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.
@@ -18913,13 +18913,13 @@ export declare const access_methods_batch: z.ZodObject<{
18913
18913
  secondary_color: z.ZodOptional<z.ZodString>;
18914
18914
  logo_url: z.ZodOptional<z.ZodString>;
18915
18915
  }, "strip", z.ZodTypeAny, {
18916
- logo_url?: string | undefined;
18917
18916
  primary_color?: string | undefined;
18918
18917
  secondary_color?: string | undefined;
18919
- }, {
18920
18918
  logo_url?: string | undefined;
18919
+ }, {
18921
18920
  primary_color?: string | undefined;
18922
18921
  secondary_color?: string | undefined;
18922
+ logo_url?: string | undefined;
18923
18923
  }>>;
18924
18924
  }, "strip", z.ZodTypeAny, {
18925
18925
  workspace_id: string;
@@ -18931,9 +18931,9 @@ export declare const access_methods_batch: z.ZodObject<{
18931
18931
  instant_key_id: string;
18932
18932
  customization_profile_id?: string | undefined;
18933
18933
  customization?: {
18934
- logo_url?: string | undefined;
18935
18934
  primary_color?: string | undefined;
18936
18935
  secondary_color?: string | undefined;
18936
+ logo_url?: string | undefined;
18937
18937
  } | undefined;
18938
18938
  }, {
18939
18939
  workspace_id: string;
@@ -18945,9 +18945,9 @@ export declare const access_methods_batch: z.ZodObject<{
18945
18945
  instant_key_id: string;
18946
18946
  customization_profile_id?: string | undefined;
18947
18947
  customization?: {
18948
- logo_url?: string | undefined;
18949
18948
  primary_color?: string | undefined;
18950
18949
  secondary_color?: string | undefined;
18950
+ logo_url?: string | undefined;
18951
18951
  } | undefined;
18952
18952
  }>, "many">>;
18953
18953
  client_sessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -19797,9 +19797,9 @@ export declare const access_methods_batch: z.ZodObject<{
19797
19797
  instant_key_id: string;
19798
19798
  customization_profile_id?: string | undefined;
19799
19799
  customization?: {
19800
- logo_url?: string | undefined;
19801
19800
  primary_color?: string | undefined;
19802
19801
  secondary_color?: string | undefined;
19802
+ logo_url?: string | undefined;
19803
19803
  } | undefined;
19804
19804
  }[] | undefined;
19805
19805
  client_sessions?: {
@@ -20623,9 +20623,9 @@ export declare const access_methods_batch: z.ZodObject<{
20623
20623
  instant_key_id: string;
20624
20624
  customization_profile_id?: string | undefined;
20625
20625
  customization?: {
20626
- logo_url?: string | undefined;
20627
20626
  primary_color?: string | undefined;
20628
20627
  secondary_color?: string | undefined;
20628
+ logo_url?: string | undefined;
20629
20629
  } | undefined;
20630
20630
  }[] | undefined;
20631
20631
  client_sessions?: {
@@ -38747,13 +38747,13 @@ export declare const workspaces_batch: z.ZodObject<{
38747
38747
  secondary_color: z.ZodOptional<z.ZodString>;
38748
38748
  logo_url: z.ZodOptional<z.ZodString>;
38749
38749
  }, "strip", z.ZodTypeAny, {
38750
- logo_url?: string | undefined;
38751
38750
  primary_color?: string | undefined;
38752
38751
  secondary_color?: string | undefined;
38753
- }, {
38754
38752
  logo_url?: string | undefined;
38753
+ }, {
38755
38754
  primary_color?: string | undefined;
38756
38755
  secondary_color?: string | undefined;
38756
+ logo_url?: string | undefined;
38757
38757
  }>>;
38758
38758
  }, "strip", z.ZodTypeAny, {
38759
38759
  workspace_id: string;
@@ -38765,9 +38765,9 @@ export declare const workspaces_batch: z.ZodObject<{
38765
38765
  instant_key_id: string;
38766
38766
  customization_profile_id?: string | undefined;
38767
38767
  customization?: {
38768
- logo_url?: string | undefined;
38769
38768
  primary_color?: string | undefined;
38770
38769
  secondary_color?: string | undefined;
38770
+ logo_url?: string | undefined;
38771
38771
  } | undefined;
38772
38772
  }, {
38773
38773
  workspace_id: string;
@@ -38779,9 +38779,9 @@ export declare const workspaces_batch: z.ZodObject<{
38779
38779
  instant_key_id: string;
38780
38780
  customization_profile_id?: string | undefined;
38781
38781
  customization?: {
38782
- logo_url?: string | undefined;
38783
38782
  primary_color?: string | undefined;
38784
38783
  secondary_color?: string | undefined;
38784
+ logo_url?: string | undefined;
38785
38785
  } | undefined;
38786
38786
  }>, "many">>;
38787
38787
  access_codes: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -41938,22 +41938,50 @@ export declare const workspaces_batch: z.ZodObject<{
41938
41938
  logo_url: z.ZodOptional<z.ZodString>;
41939
41939
  primary_color: z.ZodOptional<z.ZodString>;
41940
41940
  secondary_color: z.ZodOptional<z.ZodString>;
41941
+ customer_portal_theme: z.ZodOptional<z.ZodObject<{
41942
+ primary_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
41943
+ primary_foreground_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
41944
+ secondary_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
41945
+ secondary_foreground_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
41946
+ }, "strip", z.ZodTypeAny, {
41947
+ primary_color?: string | undefined;
41948
+ primary_foreground_color?: string | undefined;
41949
+ secondary_color?: string | undefined;
41950
+ secondary_foreground_color?: string | undefined;
41951
+ }, {
41952
+ primary_color?: string | undefined;
41953
+ primary_foreground_color?: string | undefined;
41954
+ secondary_color?: string | undefined;
41955
+ secondary_foreground_color?: string | undefined;
41956
+ }>>;
41941
41957
  }, "strip", z.ZodTypeAny, {
41942
41958
  name: string | null;
41943
41959
  workspace_id: string;
41944
41960
  created_at: string;
41945
41961
  customization_profile_id: string;
41946
- logo_url?: string | undefined;
41947
41962
  primary_color?: string | undefined;
41948
41963
  secondary_color?: string | undefined;
41964
+ logo_url?: string | undefined;
41965
+ customer_portal_theme?: {
41966
+ primary_color?: string | undefined;
41967
+ primary_foreground_color?: string | undefined;
41968
+ secondary_color?: string | undefined;
41969
+ secondary_foreground_color?: string | undefined;
41970
+ } | undefined;
41949
41971
  }, {
41950
41972
  name: string | null;
41951
41973
  workspace_id: string;
41952
41974
  created_at: string;
41953
41975
  customization_profile_id: string;
41954
- logo_url?: string | undefined;
41955
41976
  primary_color?: string | undefined;
41956
41977
  secondary_color?: string | undefined;
41978
+ logo_url?: string | undefined;
41979
+ customer_portal_theme?: {
41980
+ primary_color?: string | undefined;
41981
+ primary_foreground_color?: string | undefined;
41982
+ secondary_color?: string | undefined;
41983
+ secondary_foreground_color?: string | undefined;
41984
+ } | undefined;
41957
41985
  }>, "many">>;
41958
41986
  }, "strip", z.ZodTypeAny, {
41959
41987
  batch_type: "workspaces";
@@ -42954,9 +42982,9 @@ export declare const workspaces_batch: z.ZodObject<{
42954
42982
  instant_key_id: string;
42955
42983
  customization_profile_id?: string | undefined;
42956
42984
  customization?: {
42957
- logo_url?: string | undefined;
42958
42985
  primary_color?: string | undefined;
42959
42986
  secondary_color?: string | undefined;
42987
+ logo_url?: string | undefined;
42960
42988
  } | undefined;
42961
42989
  }[] | undefined;
42962
42990
  client_sessions?: {
@@ -45969,9 +45997,15 @@ export declare const workspaces_batch: z.ZodObject<{
45969
45997
  workspace_id: string;
45970
45998
  created_at: string;
45971
45999
  customization_profile_id: string;
45972
- logo_url?: string | undefined;
45973
46000
  primary_color?: string | undefined;
45974
46001
  secondary_color?: string | undefined;
46002
+ logo_url?: string | undefined;
46003
+ customer_portal_theme?: {
46004
+ primary_color?: string | undefined;
46005
+ primary_foreground_color?: string | undefined;
46006
+ secondary_color?: string | undefined;
46007
+ secondary_foreground_color?: string | undefined;
46008
+ } | undefined;
45975
46009
  }[] | undefined;
45976
46010
  }, {
45977
46011
  batch_type: "workspaces";
@@ -46972,9 +47006,9 @@ export declare const workspaces_batch: z.ZodObject<{
46972
47006
  instant_key_id: string;
46973
47007
  customization_profile_id?: string | undefined;
46974
47008
  customization?: {
46975
- logo_url?: string | undefined;
46976
47009
  primary_color?: string | undefined;
46977
47010
  secondary_color?: string | undefined;
47011
+ logo_url?: string | undefined;
46978
47012
  } | undefined;
46979
47013
  }[] | undefined;
46980
47014
  client_sessions?: {
@@ -49987,9 +50021,15 @@ export declare const workspaces_batch: z.ZodObject<{
49987
50021
  workspace_id: string;
49988
50022
  created_at: string;
49989
50023
  customization_profile_id: string;
49990
- logo_url?: string | undefined;
49991
50024
  primary_color?: string | undefined;
49992
50025
  secondary_color?: string | undefined;
50026
+ logo_url?: string | undefined;
50027
+ customer_portal_theme?: {
50028
+ primary_color?: string | undefined;
50029
+ primary_foreground_color?: string | undefined;
50030
+ secondary_color?: string | undefined;
50031
+ secondary_foreground_color?: string | undefined;
50032
+ } | undefined;
49993
50033
  }[] | undefined;
49994
50034
  }>;
49995
50035
  export declare const batch: z.ZodObject<{
@@ -67724,13 +67764,13 @@ export declare const batch: z.ZodObject<{
67724
67764
  secondary_color: z.ZodOptional<z.ZodString>;
67725
67765
  logo_url: z.ZodOptional<z.ZodString>;
67726
67766
  }, "strip", z.ZodTypeAny, {
67727
- logo_url?: string | undefined;
67728
67767
  primary_color?: string | undefined;
67729
67768
  secondary_color?: string | undefined;
67730
- }, {
67731
67769
  logo_url?: string | undefined;
67770
+ }, {
67732
67771
  primary_color?: string | undefined;
67733
67772
  secondary_color?: string | undefined;
67773
+ logo_url?: string | undefined;
67734
67774
  }>>;
67735
67775
  }, "strip", z.ZodTypeAny, {
67736
67776
  workspace_id: string;
@@ -67742,9 +67782,9 @@ export declare const batch: z.ZodObject<{
67742
67782
  instant_key_id: string;
67743
67783
  customization_profile_id?: string | undefined;
67744
67784
  customization?: {
67745
- logo_url?: string | undefined;
67746
67785
  primary_color?: string | undefined;
67747
67786
  secondary_color?: string | undefined;
67787
+ logo_url?: string | undefined;
67748
67788
  } | undefined;
67749
67789
  }, {
67750
67790
  workspace_id: string;
@@ -67756,9 +67796,9 @@ export declare const batch: z.ZodObject<{
67756
67796
  instant_key_id: string;
67757
67797
  customization_profile_id?: string | undefined;
67758
67798
  customization?: {
67759
- logo_url?: string | undefined;
67760
67799
  primary_color?: string | undefined;
67761
67800
  secondary_color?: string | undefined;
67801
+ logo_url?: string | undefined;
67762
67802
  } | undefined;
67763
67803
  }>, "many">>;
67764
67804
  access_codes: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -70915,22 +70955,50 @@ export declare const batch: z.ZodObject<{
70915
70955
  logo_url: z.ZodOptional<z.ZodString>;
70916
70956
  primary_color: z.ZodOptional<z.ZodString>;
70917
70957
  secondary_color: z.ZodOptional<z.ZodString>;
70958
+ customer_portal_theme: z.ZodOptional<z.ZodObject<{
70959
+ primary_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
70960
+ primary_foreground_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
70961
+ secondary_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
70962
+ secondary_foreground_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
70963
+ }, "strip", z.ZodTypeAny, {
70964
+ primary_color?: string | undefined;
70965
+ primary_foreground_color?: string | undefined;
70966
+ secondary_color?: string | undefined;
70967
+ secondary_foreground_color?: string | undefined;
70968
+ }, {
70969
+ primary_color?: string | undefined;
70970
+ primary_foreground_color?: string | undefined;
70971
+ secondary_color?: string | undefined;
70972
+ secondary_foreground_color?: string | undefined;
70973
+ }>>;
70918
70974
  }, "strip", z.ZodTypeAny, {
70919
70975
  name: string | null;
70920
70976
  workspace_id: string;
70921
70977
  created_at: string;
70922
70978
  customization_profile_id: string;
70923
- logo_url?: string | undefined;
70924
70979
  primary_color?: string | undefined;
70925
70980
  secondary_color?: string | undefined;
70981
+ logo_url?: string | undefined;
70982
+ customer_portal_theme?: {
70983
+ primary_color?: string | undefined;
70984
+ primary_foreground_color?: string | undefined;
70985
+ secondary_color?: string | undefined;
70986
+ secondary_foreground_color?: string | undefined;
70987
+ } | undefined;
70926
70988
  }, {
70927
70989
  name: string | null;
70928
70990
  workspace_id: string;
70929
70991
  created_at: string;
70930
70992
  customization_profile_id: string;
70931
- logo_url?: string | undefined;
70932
70993
  primary_color?: string | undefined;
70933
70994
  secondary_color?: string | undefined;
70995
+ logo_url?: string | undefined;
70996
+ customer_portal_theme?: {
70997
+ primary_color?: string | undefined;
70998
+ primary_foreground_color?: string | undefined;
70999
+ secondary_color?: string | undefined;
71000
+ secondary_foreground_color?: string | undefined;
71001
+ } | undefined;
70934
71002
  }>, "many">>;
70935
71003
  }, "strip", z.ZodTypeAny, {
70936
71004
  batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
@@ -71862,9 +71930,9 @@ export declare const batch: z.ZodObject<{
71862
71930
  instant_key_id: string;
71863
71931
  customization_profile_id?: string | undefined;
71864
71932
  customization?: {
71865
- logo_url?: string | undefined;
71866
71933
  primary_color?: string | undefined;
71867
71934
  secondary_color?: string | undefined;
71935
+ logo_url?: string | undefined;
71868
71936
  } | undefined;
71869
71937
  }[] | undefined;
71870
71938
  client_sessions?: {
@@ -74877,9 +74945,15 @@ export declare const batch: z.ZodObject<{
74877
74945
  workspace_id: string;
74878
74946
  created_at: string;
74879
74947
  customization_profile_id: string;
74880
- logo_url?: string | undefined;
74881
74948
  primary_color?: string | undefined;
74882
74949
  secondary_color?: string | undefined;
74950
+ logo_url?: string | undefined;
74951
+ customer_portal_theme?: {
74952
+ primary_color?: string | undefined;
74953
+ primary_foreground_color?: string | undefined;
74954
+ secondary_color?: string | undefined;
74955
+ secondary_foreground_color?: string | undefined;
74956
+ } | undefined;
74883
74957
  }[] | undefined;
74884
74958
  }, {
74885
74959
  batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
@@ -75811,9 +75885,9 @@ export declare const batch: z.ZodObject<{
75811
75885
  instant_key_id: string;
75812
75886
  customization_profile_id?: string | undefined;
75813
75887
  customization?: {
75814
- logo_url?: string | undefined;
75815
75888
  primary_color?: string | undefined;
75816
75889
  secondary_color?: string | undefined;
75890
+ logo_url?: string | undefined;
75817
75891
  } | undefined;
75818
75892
  }[] | undefined;
75819
75893
  client_sessions?: {
@@ -78826,9 +78900,15 @@ export declare const batch: z.ZodObject<{
78826
78900
  workspace_id: string;
78827
78901
  created_at: string;
78828
78902
  customization_profile_id: string;
78829
- logo_url?: string | undefined;
78830
78903
  primary_color?: string | undefined;
78831
78904
  secondary_color?: string | undefined;
78905
+ logo_url?: string | undefined;
78906
+ customer_portal_theme?: {
78907
+ primary_color?: string | undefined;
78908
+ primary_foreground_color?: string | undefined;
78909
+ secondary_color?: string | undefined;
78910
+ secondary_foreground_color?: string | undefined;
78911
+ } | undefined;
78832
78912
  }[] | undefined;
78833
78913
  }>;
78834
78914
  export type WorkspacesBatch = z.infer<typeof workspaces_batch>;
@@ -46,13 +46,16 @@ export declare const portal_configuration_base: z.ZodObject<{
46
46
  configure: z.ZodDefault<z.ZodObject<{
47
47
  exclude: z.ZodDefault<z.ZodBoolean>;
48
48
  } & {
49
+ customization_profile_id: z.ZodOptional<z.ZodString>;
49
50
  allow_access_automation_rule_customization: z.ZodDefault<z.ZodBoolean>;
50
51
  allow_instant_key_customization: z.ZodDefault<z.ZodBoolean>;
51
52
  }, "strip", z.ZodTypeAny, {
52
53
  exclude: boolean;
53
54
  allow_access_automation_rule_customization: boolean;
54
55
  allow_instant_key_customization: boolean;
56
+ customization_profile_id?: string | undefined;
55
57
  }, {
58
+ customization_profile_id?: string | undefined;
56
59
  exclude?: boolean | undefined;
57
60
  allow_access_automation_rule_customization?: boolean | undefined;
58
61
  allow_instant_key_customization?: boolean | undefined;
@@ -78,6 +81,7 @@ export declare const portal_configuration_base: z.ZodObject<{
78
81
  exclude: boolean;
79
82
  allow_access_automation_rule_customization: boolean;
80
83
  allow_instant_key_customization: boolean;
84
+ customization_profile_id?: string | undefined;
81
85
  };
82
86
  }, {
83
87
  connect?: {
@@ -97,6 +101,7 @@ export declare const portal_configuration_base: z.ZodObject<{
97
101
  exclude?: boolean | undefined;
98
102
  } | undefined;
99
103
  configure?: {
104
+ customization_profile_id?: string | undefined;
100
105
  exclude?: boolean | undefined;
101
106
  allow_access_automation_rule_customization?: boolean | undefined;
102
107
  allow_instant_key_customization?: boolean | undefined;
@@ -262,6 +267,7 @@ export declare const portal_configuration_base: z.ZodObject<{
262
267
  exclude: boolean;
263
268
  allow_access_automation_rule_customization: boolean;
264
269
  allow_instant_key_customization: boolean;
270
+ customization_profile_id?: string | undefined;
265
271
  };
266
272
  };
267
273
  is_embedded: boolean;
@@ -313,6 +319,7 @@ export declare const portal_configuration_base: z.ZodObject<{
313
319
  exclude?: boolean | undefined;
314
320
  } | undefined;
315
321
  configure?: {
322
+ customization_profile_id?: string | undefined;
316
323
  exclude?: boolean | undefined;
317
324
  allow_access_automation_rule_customization?: boolean | undefined;
318
325
  allow_instant_key_customization?: boolean | undefined;
@@ -396,13 +403,16 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
396
403
  configure: z.ZodDefault<z.ZodObject<{
397
404
  exclude: z.ZodDefault<z.ZodBoolean>;
398
405
  } & {
406
+ customization_profile_id: z.ZodOptional<z.ZodString>;
399
407
  allow_access_automation_rule_customization: z.ZodDefault<z.ZodBoolean>;
400
408
  allow_instant_key_customization: z.ZodDefault<z.ZodBoolean>;
401
409
  }, "strip", z.ZodTypeAny, {
402
410
  exclude: boolean;
403
411
  allow_access_automation_rule_customization: boolean;
404
412
  allow_instant_key_customization: boolean;
413
+ customization_profile_id?: string | undefined;
405
414
  }, {
415
+ customization_profile_id?: string | undefined;
406
416
  exclude?: boolean | undefined;
407
417
  allow_access_automation_rule_customization?: boolean | undefined;
408
418
  allow_instant_key_customization?: boolean | undefined;
@@ -428,6 +438,7 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
428
438
  exclude: boolean;
429
439
  allow_access_automation_rule_customization: boolean;
430
440
  allow_instant_key_customization: boolean;
441
+ customization_profile_id?: string | undefined;
431
442
  };
432
443
  }, {
433
444
  connect?: {
@@ -447,6 +458,7 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
447
458
  exclude?: boolean | undefined;
448
459
  } | undefined;
449
460
  configure?: {
461
+ customization_profile_id?: string | undefined;
450
462
  exclude?: boolean | undefined;
451
463
  allow_access_automation_rule_customization?: boolean | undefined;
452
464
  allow_instant_key_customization?: boolean | undefined;
@@ -612,6 +624,7 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
612
624
  exclude: boolean;
613
625
  allow_access_automation_rule_customization: boolean;
614
626
  allow_instant_key_customization: boolean;
627
+ customization_profile_id?: string | undefined;
615
628
  };
616
629
  };
617
630
  is_embedded: boolean;
@@ -663,6 +676,7 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
663
676
  exclude?: boolean | undefined;
664
677
  } | undefined;
665
678
  configure?: {
679
+ customization_profile_id?: string | undefined;
666
680
  exclude?: boolean | undefined;
667
681
  allow_access_automation_rule_customization?: boolean | undefined;
668
682
  allow_instant_key_customization?: boolean | undefined;
@@ -30,6 +30,11 @@ const base_manage_feature = base_feature.extend({
30
30
  });
31
31
  const base_organize_feature = base_feature;
32
32
  const base_configure_feature = base_feature.extend({
33
+ customization_profile_id: z
34
+ .string()
35
+ .uuid()
36
+ .optional()
37
+ .describe('The ID of the customization profile to use for the portal.'),
33
38
  allow_access_automation_rule_customization: z
34
39
  .boolean()
35
40
  .default(false)
@@ -1 +1 @@
1
- {"version":3,"file":"customer-portal.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer-portal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAA;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAE9D,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,OAAO,EAAE,CAAC;SACP,OAAO,EAAE;SACT,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CAAC,kDAAkD,CAAC;CAChE,CAAC,CAAA;AAEF,MAAM,oBAAoB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC/C,kBAAkB,EAAE,CAAC;SAClB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CACP,sIAAsI,CACvI;IACH,kBAAkB,EAAE,CAAC;SAClB,KAAK,CAAC,CAAC,CAAC,MAAM,EAA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C,CAAA;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,QAAQ,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE,CAAC;IACnC,WAAW,EAAE,CAAC;SACX,OAAO,EAAE;SACT,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CAAC,wDAAwD,CAAC;IACrE,YAAY,EAAE,CAAC;SACZ,MAAM,CAAC;QACN,MAAM,EAAE,CAAC;aACN,KAAK,CAAC,CAAC,oBAAoB,EAAE,wBAAwB,CAAC,CAAC;aACvD,QAAQ,EAAE;KACd,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CAAC,2DAA2D,CAAC;CACzE,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,yBAAyB;KAC1D,OAAO,CAAC;IACP,QAAQ,EAAE;QACR,OAAO,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;QAC3B,QAAQ,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;QAC5B,MAAM,EAAE;YACN,OAAO,EAAE,KAAK;YACd,8BAA8B,EAAE,KAAK;YACrC,wBAAwB,EAAE,KAAK;SAChC;QACD,cAAc,EAAE;YACd,OAAO,EAAE,KAAK;SACf;QACD,SAAS,EAAE;YACT,OAAO,EAAE,KAAK;YACd,+BAA+B,EAAE,KAAK,EAAE,UAAU;YAClD,0CAA0C,EAAE,KAAK,EAAE,UAAU;SAC9D;KACF;IACD,WAAW,EAAE,KAAK;CACnB,CAAC;KACD,QAAQ,CAAC,qCAAqC,CAAC,CAAA"}
1
+ {"version":3,"file":"customer-portal.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer-portal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAA;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAE9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,EAAE,KAAK;SAChC;QACD,cAAc,EAAE;YACd,OAAO,EAAE,KAAK;SACf;QACD,SAAS,EAAE;YACT,OAAO,EAAE,KAAK;YACd,+BAA+B,EAAE,KAAK,EAAE,UAAU;YAClD,0CAA0C,EAAE,KAAK,EAAE,UAAU;SAC9D;KACF;IACD,WAAW,EAAE,KAAK;CACnB,CAAC;KACD,QAAQ,CAAC,qCAAqC,CAAC,CAAA"}
@@ -1,4 +1,20 @@
1
1
  import { z } from 'zod';
2
+ export declare const customer_portal_theme: z.ZodObject<{
3
+ primary_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
4
+ primary_foreground_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
5
+ secondary_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
6
+ secondary_foreground_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ primary_color?: string | undefined;
9
+ primary_foreground_color?: string | undefined;
10
+ secondary_color?: string | undefined;
11
+ secondary_foreground_color?: string | undefined;
12
+ }, {
13
+ primary_color?: string | undefined;
14
+ primary_foreground_color?: string | undefined;
15
+ secondary_color?: string | undefined;
16
+ secondary_foreground_color?: string | undefined;
17
+ }>;
2
18
  export declare const customization_profile: z.ZodObject<{
3
19
  workspace_id: z.ZodString;
4
20
  name: z.ZodNullable<z.ZodString>;
@@ -7,21 +23,49 @@ export declare const customization_profile: z.ZodObject<{
7
23
  logo_url: z.ZodOptional<z.ZodString>;
8
24
  primary_color: z.ZodOptional<z.ZodString>;
9
25
  secondary_color: z.ZodOptional<z.ZodString>;
26
+ customer_portal_theme: z.ZodOptional<z.ZodObject<{
27
+ primary_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
28
+ primary_foreground_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
29
+ secondary_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
30
+ secondary_foreground_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
31
+ }, "strip", z.ZodTypeAny, {
32
+ primary_color?: string | undefined;
33
+ primary_foreground_color?: string | undefined;
34
+ secondary_color?: string | undefined;
35
+ secondary_foreground_color?: string | undefined;
36
+ }, {
37
+ primary_color?: string | undefined;
38
+ primary_foreground_color?: string | undefined;
39
+ secondary_color?: string | undefined;
40
+ secondary_foreground_color?: string | undefined;
41
+ }>>;
10
42
  }, "strip", z.ZodTypeAny, {
11
43
  name: string | null;
12
44
  workspace_id: string;
13
45
  created_at: string;
14
46
  customization_profile_id: string;
15
- logo_url?: string | undefined;
16
47
  primary_color?: string | undefined;
17
48
  secondary_color?: string | undefined;
49
+ logo_url?: string | undefined;
50
+ customer_portal_theme?: {
51
+ primary_color?: string | undefined;
52
+ primary_foreground_color?: string | undefined;
53
+ secondary_color?: string | undefined;
54
+ secondary_foreground_color?: string | undefined;
55
+ } | undefined;
18
56
  }, {
19
57
  name: string | null;
20
58
  workspace_id: string;
21
59
  created_at: string;
22
60
  customization_profile_id: string;
23
- logo_url?: string | undefined;
24
61
  primary_color?: string | undefined;
25
62
  secondary_color?: string | undefined;
63
+ logo_url?: string | undefined;
64
+ customer_portal_theme?: {
65
+ primary_color?: string | undefined;
66
+ primary_foreground_color?: string | undefined;
67
+ secondary_color?: string | undefined;
68
+ secondary_foreground_color?: string | undefined;
69
+ } | undefined;
26
70
  }>;
27
71
  export type CustomizationProfile = z.infer<typeof customization_profile>;
@@ -1,4 +1,11 @@
1
1
  import { z } from 'zod';
2
+ import { hex_color_code } from '../colors.js';
3
+ export const customer_portal_theme = z.object({
4
+ primary_color: hex_color_code.optional(),
5
+ primary_foreground_color: hex_color_code.optional(),
6
+ secondary_color: hex_color_code.optional(),
7
+ secondary_foreground_color: hex_color_code.optional(),
8
+ });
2
9
  export const customization_profile = z.object({
3
10
  workspace_id: z.string().uuid(),
4
11
  name: z.string().nullable(),
@@ -7,6 +14,7 @@ export const customization_profile = z.object({
7
14
  logo_url: z.string().url().optional(),
8
15
  primary_color: z.string().optional(),
9
16
  secondary_color: z.string().optional(),
17
+ customer_portal_theme: customer_portal_theme.optional(),
10
18
  }).describe(`
11
19
  ---
12
20
  title: Customization Profile
@@ -1 +1 @@
1
- {"version":3,"file":"customization-profile.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customization-profiles/customization-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,wBAAwB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC3C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACrC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC,QAAQ,CAAC;;;;;;;CAOX,CAAC,CAAA"}
1
+ {"version":3,"file":"customization-profile.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customization-profiles/customization-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,aAAa,EAAE,cAAc,CAAC,QAAQ,EAAE;IACxC,wBAAwB,EAAE,cAAc,CAAC,QAAQ,EAAE;IACnD,eAAe,EAAE,cAAc,CAAC,QAAQ,EAAE;IAC1C,0BAA0B,EAAE,cAAc,CAAC,QAAQ,EAAE;CACtD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,wBAAwB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC3C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACrC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,qBAAqB,EAAE,qBAAqB,CAAC,QAAQ,EAAE;CACxD,CAAC,CAAC,QAAQ,CAAC;;;;;;;CAOX,CAAC,CAAA"}
@@ -13,13 +13,13 @@ export declare const instant_key: z.ZodObject<{
13
13
  secondary_color: z.ZodOptional<z.ZodString>;
14
14
  logo_url: z.ZodOptional<z.ZodString>;
15
15
  }, "strip", z.ZodTypeAny, {
16
- logo_url?: string | undefined;
17
16
  primary_color?: string | undefined;
18
17
  secondary_color?: string | undefined;
19
- }, {
20
18
  logo_url?: string | undefined;
19
+ }, {
21
20
  primary_color?: string | undefined;
22
21
  secondary_color?: string | undefined;
22
+ logo_url?: string | undefined;
23
23
  }>>;
24
24
  }, "strip", z.ZodTypeAny, {
25
25
  workspace_id: string;
@@ -31,9 +31,9 @@ export declare const instant_key: z.ZodObject<{
31
31
  instant_key_id: string;
32
32
  customization_profile_id?: string | undefined;
33
33
  customization?: {
34
- logo_url?: string | undefined;
35
34
  primary_color?: string | undefined;
36
35
  secondary_color?: string | undefined;
36
+ logo_url?: string | undefined;
37
37
  } | undefined;
38
38
  }, {
39
39
  workspace_id: string;
@@ -45,9 +45,9 @@ export declare const instant_key: z.ZodObject<{
45
45
  instant_key_id: string;
46
46
  customization_profile_id?: string | undefined;
47
47
  customization?: {
48
- logo_url?: string | undefined;
49
48
  primary_color?: string | undefined;
50
49
  secondary_color?: string | undefined;
50
+ logo_url?: string | undefined;
51
51
  } | undefined;
52
52
  }>;
53
53
  export type InstantKey = z.infer<typeof instant_key>;