@kl1/contracts 1.3.24 → 1.3.25

Sign up to get free protection for your applications and to get access to all the features.
@@ -13439,7 +13439,7 @@ export declare const apiContract: {
13439
13439
  channelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
13440
13440
  trunks: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
13441
13441
  queueId: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
13442
- agentIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
13442
+ agentIds: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodArray<import("zod").ZodString, "many">, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>]>, string[], string[] | Record<string, string>>>;
13443
13443
  direction: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"inbound">, import("zod").ZodLiteral<"outbound">]>, "many">>;
13444
13444
  disposition: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
13445
13445
  sentimentScore: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"positive">, import("zod").ZodLiteral<"neutral">, import("zod").ZodLiteral<"negative">]>, "many">>;
@@ -13505,7 +13505,7 @@ export declare const apiContract: {
13505
13505
  channelIds?: string[] | undefined;
13506
13506
  trunks?: string[] | undefined;
13507
13507
  queueId?: string[] | undefined;
13508
- agentIds?: string[] | undefined;
13508
+ agentIds?: string[] | Record<string, string> | undefined;
13509
13509
  direction?: ("inbound" | "outbound")[] | undefined;
13510
13510
  disposition?: string[] | undefined;
13511
13511
  sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
@@ -23985,7 +23985,7 @@ export declare const apiContract: {
23985
23985
  channelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
23986
23986
  trunks: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
23987
23987
  queueId: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
23988
- agentIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
23988
+ agentIds: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodArray<import("zod").ZodString, "many">, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>]>, string[], string[] | Record<string, string>>>;
23989
23989
  direction: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"inbound">, import("zod").ZodLiteral<"outbound">]>, "many">>;
23990
23990
  disposition: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
23991
23991
  sentimentScore: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"positive">, import("zod").ZodLiteral<"neutral">, import("zod").ZodLiteral<"negative">]>, "many">>;
@@ -24051,7 +24051,7 @@ export declare const apiContract: {
24051
24051
  channelIds?: string[] | undefined;
24052
24052
  trunks?: string[] | undefined;
24053
24053
  queueId?: string[] | undefined;
24054
- agentIds?: string[] | undefined;
24054
+ agentIds?: string[] | Record<string, string> | undefined;
24055
24055
  direction?: ("inbound" | "outbound")[] | undefined;
24056
24056
  disposition?: string[] | undefined;
24057
24057
  sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
@@ -30575,6 +30575,248 @@ export declare const apiContract: {
30575
30575
  'x-client-timezone'?: string | undefined;
30576
30576
  }>>>;
30577
30577
  };
30578
+ getContactProfileWidgets: {
30579
+ summary: "Get contact profile widgets";
30580
+ method: "GET";
30581
+ responses: {
30582
+ 200: import("zod").ZodArray<import("zod").ZodObject<{
30583
+ id: import("zod").ZodString;
30584
+ createdAt: import("zod").ZodDate;
30585
+ updatedAt: import("zod").ZodDate;
30586
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
30587
+ name: import("zod").ZodString;
30588
+ description: import("zod").ZodNullable<import("zod").ZodString>;
30589
+ position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
30590
+ fields: import("zod").ZodObject<{
30591
+ data: import("zod").ZodArray<import("zod").ZodString, "many">;
30592
+ }, "strip", import("zod").ZodTypeAny, {
30593
+ data: string[];
30594
+ }, {
30595
+ data: string[];
30596
+ }>;
30597
+ url: import("zod").ZodString;
30598
+ type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
30599
+ headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
30600
+ key: import("zod").ZodString;
30601
+ value: import("zod").ZodString;
30602
+ }, "strip", import("zod").ZodTypeAny, {
30603
+ key: string;
30604
+ value: string;
30605
+ }, {
30606
+ key: string;
30607
+ value: string;
30608
+ }>, "many">>;
30609
+ method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
30610
+ fileKey: import("zod").ZodNullable<import("zod").ZodString>;
30611
+ fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
30612
+ }, "strip", import("zod").ZodTypeAny, {
30613
+ name: string;
30614
+ type: "custom" | "iframe" | null;
30615
+ id: string;
30616
+ url: string;
30617
+ position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
30618
+ method: "get" | "post" | null;
30619
+ description: string | null;
30620
+ createdAt: Date;
30621
+ updatedAt: Date;
30622
+ deletedAt: Date | null;
30623
+ headers: {
30624
+ key: string;
30625
+ value: string;
30626
+ }[] | null;
30627
+ fileKey: string | null;
30628
+ fileUrl: string | null;
30629
+ fields: {
30630
+ data: string[];
30631
+ };
30632
+ }, {
30633
+ name: string;
30634
+ type: "custom" | "iframe" | null;
30635
+ id: string;
30636
+ url: string;
30637
+ position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
30638
+ method: "get" | "post" | null;
30639
+ description: string | null;
30640
+ createdAt: Date;
30641
+ updatedAt: Date;
30642
+ deletedAt: Date | null;
30643
+ headers: {
30644
+ key: string;
30645
+ value: string;
30646
+ }[] | null;
30647
+ fileKey: string | null;
30648
+ fileUrl: string | null;
30649
+ fields: {
30650
+ data: string[];
30651
+ };
30652
+ }>, "many">;
30653
+ 400: import("zod").ZodObject<{
30654
+ message: import("zod").ZodString;
30655
+ }, "strip", import("zod").ZodTypeAny, {
30656
+ message: string;
30657
+ }, {
30658
+ message: string;
30659
+ }>;
30660
+ 401: import("zod").ZodObject<{
30661
+ message: import("zod").ZodString;
30662
+ error: import("zod").ZodAny;
30663
+ }, "strip", import("zod").ZodTypeAny, {
30664
+ message: string;
30665
+ error?: any;
30666
+ }, {
30667
+ message: string;
30668
+ error?: any;
30669
+ }>;
30670
+ 500: import("zod").ZodObject<{
30671
+ message: import("zod").ZodString;
30672
+ error: import("zod").ZodAny;
30673
+ }, "strip", import("zod").ZodTypeAny, {
30674
+ message: string;
30675
+ error?: any;
30676
+ }, {
30677
+ message: string;
30678
+ error?: any;
30679
+ }>;
30680
+ };
30681
+ path: "ms/widget/contact_profile";
30682
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
30683
+ 'x-tenant': import("zod").ZodString;
30684
+ 'x-service-token': import("zod").ZodString;
30685
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
30686
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
30687
+ }, "strip", import("zod").ZodTypeAny, {
30688
+ 'x-tenant': string;
30689
+ 'x-service-token': string;
30690
+ 'x-client-timezone': string;
30691
+ 'x-code'?: string | undefined;
30692
+ }, {
30693
+ 'x-tenant': string;
30694
+ 'x-service-token': string;
30695
+ 'x-code'?: string | undefined;
30696
+ 'x-client-timezone'?: string | undefined;
30697
+ }>>>;
30698
+ };
30699
+ getInboxDetailWidgets: {
30700
+ summary: "Get inbox detail widgets";
30701
+ method: "GET";
30702
+ responses: {
30703
+ 200: import("zod").ZodArray<import("zod").ZodObject<{
30704
+ id: import("zod").ZodString;
30705
+ createdAt: import("zod").ZodDate;
30706
+ updatedAt: import("zod").ZodDate;
30707
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
30708
+ name: import("zod").ZodString;
30709
+ description: import("zod").ZodNullable<import("zod").ZodString>;
30710
+ position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
30711
+ fields: import("zod").ZodObject<{
30712
+ data: import("zod").ZodArray<import("zod").ZodString, "many">;
30713
+ }, "strip", import("zod").ZodTypeAny, {
30714
+ data: string[];
30715
+ }, {
30716
+ data: string[];
30717
+ }>;
30718
+ url: import("zod").ZodString;
30719
+ type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
30720
+ headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
30721
+ key: import("zod").ZodString;
30722
+ value: import("zod").ZodString;
30723
+ }, "strip", import("zod").ZodTypeAny, {
30724
+ key: string;
30725
+ value: string;
30726
+ }, {
30727
+ key: string;
30728
+ value: string;
30729
+ }>, "many">>;
30730
+ method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
30731
+ fileKey: import("zod").ZodNullable<import("zod").ZodString>;
30732
+ fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
30733
+ }, "strip", import("zod").ZodTypeAny, {
30734
+ name: string;
30735
+ type: "custom" | "iframe" | null;
30736
+ id: string;
30737
+ url: string;
30738
+ position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
30739
+ method: "get" | "post" | null;
30740
+ description: string | null;
30741
+ createdAt: Date;
30742
+ updatedAt: Date;
30743
+ deletedAt: Date | null;
30744
+ headers: {
30745
+ key: string;
30746
+ value: string;
30747
+ }[] | null;
30748
+ fileKey: string | null;
30749
+ fileUrl: string | null;
30750
+ fields: {
30751
+ data: string[];
30752
+ };
30753
+ }, {
30754
+ name: string;
30755
+ type: "custom" | "iframe" | null;
30756
+ id: string;
30757
+ url: string;
30758
+ position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
30759
+ method: "get" | "post" | null;
30760
+ description: string | null;
30761
+ createdAt: Date;
30762
+ updatedAt: Date;
30763
+ deletedAt: Date | null;
30764
+ headers: {
30765
+ key: string;
30766
+ value: string;
30767
+ }[] | null;
30768
+ fileKey: string | null;
30769
+ fileUrl: string | null;
30770
+ fields: {
30771
+ data: string[];
30772
+ };
30773
+ }>, "many">;
30774
+ 400: import("zod").ZodObject<{
30775
+ message: import("zod").ZodString;
30776
+ }, "strip", import("zod").ZodTypeAny, {
30777
+ message: string;
30778
+ }, {
30779
+ message: string;
30780
+ }>;
30781
+ 401: import("zod").ZodObject<{
30782
+ message: import("zod").ZodString;
30783
+ error: import("zod").ZodAny;
30784
+ }, "strip", import("zod").ZodTypeAny, {
30785
+ message: string;
30786
+ error?: any;
30787
+ }, {
30788
+ message: string;
30789
+ error?: any;
30790
+ }>;
30791
+ 500: import("zod").ZodObject<{
30792
+ message: import("zod").ZodString;
30793
+ error: import("zod").ZodAny;
30794
+ }, "strip", import("zod").ZodTypeAny, {
30795
+ message: string;
30796
+ error?: any;
30797
+ }, {
30798
+ message: string;
30799
+ error?: any;
30800
+ }>;
30801
+ };
30802
+ path: "ms/widget/inbox_detail";
30803
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
30804
+ 'x-tenant': import("zod").ZodString;
30805
+ 'x-service-token': import("zod").ZodString;
30806
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
30807
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
30808
+ }, "strip", import("zod").ZodTypeAny, {
30809
+ 'x-tenant': string;
30810
+ 'x-service-token': string;
30811
+ 'x-client-timezone': string;
30812
+ 'x-code'?: string | undefined;
30813
+ }, {
30814
+ 'x-tenant': string;
30815
+ 'x-service-token': string;
30816
+ 'x-code'?: string | undefined;
30817
+ 'x-client-timezone'?: string | undefined;
30818
+ }>>>;
30819
+ };
30578
30820
  getWidgetById: {
30579
30821
  summary: "Get widget by id";
30580
30822
  method: "GET";
@@ -30719,13 +30961,54 @@ export declare const apiContract: {
30719
30961
  responses: {
30720
30962
  201: import("zod").ZodObject<{
30721
30963
  requestId: import("zod").ZodString;
30722
- url: import("zod").ZodString;
30964
+ widget: import("zod").ZodObject<{
30965
+ token: import("zod").ZodNullable<import("zod").ZodString>;
30966
+ headers: import("zod").ZodArray<import("zod").ZodObject<{
30967
+ key: import("zod").ZodString;
30968
+ value: import("zod").ZodString;
30969
+ }, "strip", import("zod").ZodTypeAny, {
30970
+ key: string;
30971
+ value: string;
30972
+ }, {
30973
+ key: string;
30974
+ value: string;
30975
+ }>, "many">;
30976
+ url: import("zod").ZodString;
30977
+ }, "strip", import("zod").ZodTypeAny, {
30978
+ url: string;
30979
+ headers: {
30980
+ key: string;
30981
+ value: string;
30982
+ }[];
30983
+ token: string | null;
30984
+ }, {
30985
+ url: string;
30986
+ headers: {
30987
+ key: string;
30988
+ value: string;
30989
+ }[];
30990
+ token: string | null;
30991
+ }>;
30723
30992
  }, "strip", import("zod").ZodTypeAny, {
30724
- url: string;
30725
30993
  requestId: string;
30994
+ widget: {
30995
+ url: string;
30996
+ headers: {
30997
+ key: string;
30998
+ value: string;
30999
+ }[];
31000
+ token: string | null;
31001
+ };
30726
31002
  }, {
30727
- url: string;
30728
31003
  requestId: string;
31004
+ widget: {
31005
+ url: string;
31006
+ headers: {
31007
+ key: string;
31008
+ value: string;
31009
+ }[];
31010
+ token: string | null;
31011
+ };
30729
31012
  }>;
30730
31013
  400: import("zod").ZodObject<{
30731
31014
  message: import("zod").ZodString;
@@ -324889,6 +325172,248 @@ export declare const widgetSettingContract: {
324889
325172
  'x-client-timezone'?: string | undefined;
324890
325173
  }>>>;
324891
325174
  };
325175
+ getContactProfileWidgets: {
325176
+ summary: "Get contact profile widgets";
325177
+ method: "GET";
325178
+ responses: {
325179
+ 200: import("zod").ZodArray<import("zod").ZodObject<{
325180
+ id: import("zod").ZodString;
325181
+ createdAt: import("zod").ZodDate;
325182
+ updatedAt: import("zod").ZodDate;
325183
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
325184
+ name: import("zod").ZodString;
325185
+ description: import("zod").ZodNullable<import("zod").ZodString>;
325186
+ position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
325187
+ fields: import("zod").ZodObject<{
325188
+ data: import("zod").ZodArray<import("zod").ZodString, "many">;
325189
+ }, "strip", import("zod").ZodTypeAny, {
325190
+ data: string[];
325191
+ }, {
325192
+ data: string[];
325193
+ }>;
325194
+ url: import("zod").ZodString;
325195
+ type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
325196
+ headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
325197
+ key: import("zod").ZodString;
325198
+ value: import("zod").ZodString;
325199
+ }, "strip", import("zod").ZodTypeAny, {
325200
+ key: string;
325201
+ value: string;
325202
+ }, {
325203
+ key: string;
325204
+ value: string;
325205
+ }>, "many">>;
325206
+ method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
325207
+ fileKey: import("zod").ZodNullable<import("zod").ZodString>;
325208
+ fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
325209
+ }, "strip", import("zod").ZodTypeAny, {
325210
+ name: string;
325211
+ type: "custom" | "iframe" | null;
325212
+ id: string;
325213
+ url: string;
325214
+ position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
325215
+ method: "get" | "post" | null;
325216
+ description: string | null;
325217
+ createdAt: Date;
325218
+ updatedAt: Date;
325219
+ deletedAt: Date | null;
325220
+ headers: {
325221
+ key: string;
325222
+ value: string;
325223
+ }[] | null;
325224
+ fileKey: string | null;
325225
+ fileUrl: string | null;
325226
+ fields: {
325227
+ data: string[];
325228
+ };
325229
+ }, {
325230
+ name: string;
325231
+ type: "custom" | "iframe" | null;
325232
+ id: string;
325233
+ url: string;
325234
+ position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
325235
+ method: "get" | "post" | null;
325236
+ description: string | null;
325237
+ createdAt: Date;
325238
+ updatedAt: Date;
325239
+ deletedAt: Date | null;
325240
+ headers: {
325241
+ key: string;
325242
+ value: string;
325243
+ }[] | null;
325244
+ fileKey: string | null;
325245
+ fileUrl: string | null;
325246
+ fields: {
325247
+ data: string[];
325248
+ };
325249
+ }>, "many">;
325250
+ 400: import("zod").ZodObject<{
325251
+ message: import("zod").ZodString;
325252
+ }, "strip", import("zod").ZodTypeAny, {
325253
+ message: string;
325254
+ }, {
325255
+ message: string;
325256
+ }>;
325257
+ 401: import("zod").ZodObject<{
325258
+ message: import("zod").ZodString;
325259
+ error: import("zod").ZodAny;
325260
+ }, "strip", import("zod").ZodTypeAny, {
325261
+ message: string;
325262
+ error?: any;
325263
+ }, {
325264
+ message: string;
325265
+ error?: any;
325266
+ }>;
325267
+ 500: import("zod").ZodObject<{
325268
+ message: import("zod").ZodString;
325269
+ error: import("zod").ZodAny;
325270
+ }, "strip", import("zod").ZodTypeAny, {
325271
+ message: string;
325272
+ error?: any;
325273
+ }, {
325274
+ message: string;
325275
+ error?: any;
325276
+ }>;
325277
+ };
325278
+ path: "ms/settings/ms/widget/contact_profile";
325279
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
325280
+ 'x-tenant': import("zod").ZodString;
325281
+ 'x-service-token': import("zod").ZodString;
325282
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
325283
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
325284
+ }, "strip", import("zod").ZodTypeAny, {
325285
+ 'x-tenant': string;
325286
+ 'x-service-token': string;
325287
+ 'x-client-timezone': string;
325288
+ 'x-code'?: string | undefined;
325289
+ }, {
325290
+ 'x-tenant': string;
325291
+ 'x-service-token': string;
325292
+ 'x-code'?: string | undefined;
325293
+ 'x-client-timezone'?: string | undefined;
325294
+ }>>>;
325295
+ };
325296
+ getInboxDetailWidgets: {
325297
+ summary: "Get inbox detail widgets";
325298
+ method: "GET";
325299
+ responses: {
325300
+ 200: import("zod").ZodArray<import("zod").ZodObject<{
325301
+ id: import("zod").ZodString;
325302
+ createdAt: import("zod").ZodDate;
325303
+ updatedAt: import("zod").ZodDate;
325304
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
325305
+ name: import("zod").ZodString;
325306
+ description: import("zod").ZodNullable<import("zod").ZodString>;
325307
+ position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
325308
+ fields: import("zod").ZodObject<{
325309
+ data: import("zod").ZodArray<import("zod").ZodString, "many">;
325310
+ }, "strip", import("zod").ZodTypeAny, {
325311
+ data: string[];
325312
+ }, {
325313
+ data: string[];
325314
+ }>;
325315
+ url: import("zod").ZodString;
325316
+ type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
325317
+ headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
325318
+ key: import("zod").ZodString;
325319
+ value: import("zod").ZodString;
325320
+ }, "strip", import("zod").ZodTypeAny, {
325321
+ key: string;
325322
+ value: string;
325323
+ }, {
325324
+ key: string;
325325
+ value: string;
325326
+ }>, "many">>;
325327
+ method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
325328
+ fileKey: import("zod").ZodNullable<import("zod").ZodString>;
325329
+ fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
325330
+ }, "strip", import("zod").ZodTypeAny, {
325331
+ name: string;
325332
+ type: "custom" | "iframe" | null;
325333
+ id: string;
325334
+ url: string;
325335
+ position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
325336
+ method: "get" | "post" | null;
325337
+ description: string | null;
325338
+ createdAt: Date;
325339
+ updatedAt: Date;
325340
+ deletedAt: Date | null;
325341
+ headers: {
325342
+ key: string;
325343
+ value: string;
325344
+ }[] | null;
325345
+ fileKey: string | null;
325346
+ fileUrl: string | null;
325347
+ fields: {
325348
+ data: string[];
325349
+ };
325350
+ }, {
325351
+ name: string;
325352
+ type: "custom" | "iframe" | null;
325353
+ id: string;
325354
+ url: string;
325355
+ position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
325356
+ method: "get" | "post" | null;
325357
+ description: string | null;
325358
+ createdAt: Date;
325359
+ updatedAt: Date;
325360
+ deletedAt: Date | null;
325361
+ headers: {
325362
+ key: string;
325363
+ value: string;
325364
+ }[] | null;
325365
+ fileKey: string | null;
325366
+ fileUrl: string | null;
325367
+ fields: {
325368
+ data: string[];
325369
+ };
325370
+ }>, "many">;
325371
+ 400: import("zod").ZodObject<{
325372
+ message: import("zod").ZodString;
325373
+ }, "strip", import("zod").ZodTypeAny, {
325374
+ message: string;
325375
+ }, {
325376
+ message: string;
325377
+ }>;
325378
+ 401: import("zod").ZodObject<{
325379
+ message: import("zod").ZodString;
325380
+ error: import("zod").ZodAny;
325381
+ }, "strip", import("zod").ZodTypeAny, {
325382
+ message: string;
325383
+ error?: any;
325384
+ }, {
325385
+ message: string;
325386
+ error?: any;
325387
+ }>;
325388
+ 500: import("zod").ZodObject<{
325389
+ message: import("zod").ZodString;
325390
+ error: import("zod").ZodAny;
325391
+ }, "strip", import("zod").ZodTypeAny, {
325392
+ message: string;
325393
+ error?: any;
325394
+ }, {
325395
+ message: string;
325396
+ error?: any;
325397
+ }>;
325398
+ };
325399
+ path: "ms/settings/ms/widget/inbox_detail";
325400
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
325401
+ 'x-tenant': import("zod").ZodString;
325402
+ 'x-service-token': import("zod").ZodString;
325403
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
325404
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
325405
+ }, "strip", import("zod").ZodTypeAny, {
325406
+ 'x-tenant': string;
325407
+ 'x-service-token': string;
325408
+ 'x-client-timezone': string;
325409
+ 'x-code'?: string | undefined;
325410
+ }, {
325411
+ 'x-tenant': string;
325412
+ 'x-service-token': string;
325413
+ 'x-code'?: string | undefined;
325414
+ 'x-client-timezone'?: string | undefined;
325415
+ }>>>;
325416
+ };
324892
325417
  getWidgetById: {
324893
325418
  summary: "Get widget by id";
324894
325419
  method: "GET";
@@ -325033,13 +325558,54 @@ export declare const widgetSettingContract: {
325033
325558
  responses: {
325034
325559
  201: import("zod").ZodObject<{
325035
325560
  requestId: import("zod").ZodString;
325036
- url: import("zod").ZodString;
325561
+ widget: import("zod").ZodObject<{
325562
+ token: import("zod").ZodNullable<import("zod").ZodString>;
325563
+ headers: import("zod").ZodArray<import("zod").ZodObject<{
325564
+ key: import("zod").ZodString;
325565
+ value: import("zod").ZodString;
325566
+ }, "strip", import("zod").ZodTypeAny, {
325567
+ key: string;
325568
+ value: string;
325569
+ }, {
325570
+ key: string;
325571
+ value: string;
325572
+ }>, "many">;
325573
+ url: import("zod").ZodString;
325574
+ }, "strip", import("zod").ZodTypeAny, {
325575
+ url: string;
325576
+ headers: {
325577
+ key: string;
325578
+ value: string;
325579
+ }[];
325580
+ token: string | null;
325581
+ }, {
325582
+ url: string;
325583
+ headers: {
325584
+ key: string;
325585
+ value: string;
325586
+ }[];
325587
+ token: string | null;
325588
+ }>;
325037
325589
  }, "strip", import("zod").ZodTypeAny, {
325038
- url: string;
325039
325590
  requestId: string;
325591
+ widget: {
325592
+ url: string;
325593
+ headers: {
325594
+ key: string;
325595
+ value: string;
325596
+ }[];
325597
+ token: string | null;
325598
+ };
325040
325599
  }, {
325041
- url: string;
325042
325600
  requestId: string;
325601
+ widget: {
325602
+ url: string;
325603
+ headers: {
325604
+ key: string;
325605
+ value: string;
325606
+ }[];
325607
+ token: string | null;
325608
+ };
325043
325609
  }>;
325044
325610
  400: import("zod").ZodObject<{
325045
325611
  message: import("zod").ZodString;