@kl1/contracts 1.1.44-uat → 1.1.46-uat

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.
@@ -9623,13 +9623,13 @@ export declare const apiContract: {
9623
9623
  updateSla: {
9624
9624
  body: import("zod").ZodObject<{
9625
9625
  roomId: import("zod").ZodString;
9626
- slaStatus: import("zod").ZodEnum<["meet", "unmeet"]>;
9626
+ slaStatus: import("zod").ZodEnum<["meet", "unmeet", "-"]>;
9627
9627
  }, "strip", import("zod").ZodTypeAny, {
9628
9628
  roomId: string;
9629
- slaStatus: "meet" | "unmeet";
9629
+ slaStatus: "meet" | "unmeet" | "-";
9630
9630
  }, {
9631
9631
  roomId: string;
9632
- slaStatus: "meet" | "unmeet";
9632
+ slaStatus: "meet" | "unmeet" | "-";
9633
9633
  }>;
9634
9634
  method: "POST";
9635
9635
  responses: {
@@ -9900,163 +9900,163 @@ export declare const apiContract: {
9900
9900
  requestId: import("zod").ZodString;
9901
9901
  queuecallDashboard: import("zod").ZodObject<{
9902
9902
  totalTelephonyQueueCallCountList: import("zod").ZodObject<{
9903
- totalQueueCall: import("zod").ZodString;
9904
- totalMissedQueueCall: import("zod").ZodString;
9905
- totalAnsweredQueueCall: import("zod").ZodString;
9906
- totalAbandonedQueueCall: import("zod").ZodString;
9907
- totalAverageRingDuration: import("zod").ZodString;
9908
- totalAverageTalkDuration: import("zod").ZodString;
9909
- totalAverageCallDuration: import("zod").ZodString;
9910
- totalSla: import("zod").ZodString;
9903
+ totalQueueCall: import("zod").ZodNumber;
9904
+ totalMissedQueueCall: import("zod").ZodNumber;
9905
+ totalAnsweredQueueCall: import("zod").ZodNumber;
9906
+ totalAbandonedQueueCall: import("zod").ZodNumber;
9907
+ totalAverageRingDuration: import("zod").ZodNumber;
9908
+ totalAverageTalkDuration: import("zod").ZodNumber;
9909
+ totalAverageCallDuration: import("zod").ZodNumber;
9910
+ totalSla: import("zod").ZodNumber;
9911
9911
  totalMissedCallPercent: import("zod").ZodString;
9912
- totalMaximumRingDuration: import("zod").ZodString;
9912
+ totalMaximumRingDuration: import("zod").ZodNumber;
9913
9913
  }, "strip", import("zod").ZodTypeAny, {
9914
- totalQueueCall: string;
9915
- totalMissedQueueCall: string;
9916
- totalAnsweredQueueCall: string;
9917
- totalAbandonedQueueCall: string;
9918
- totalAverageRingDuration: string;
9919
- totalAverageTalkDuration: string;
9920
- totalAverageCallDuration: string;
9921
- totalSla: string;
9914
+ totalQueueCall: number;
9915
+ totalMissedQueueCall: number;
9916
+ totalAnsweredQueueCall: number;
9917
+ totalAbandonedQueueCall: number;
9918
+ totalAverageRingDuration: number;
9919
+ totalAverageTalkDuration: number;
9920
+ totalAverageCallDuration: number;
9921
+ totalSla: number;
9922
9922
  totalMissedCallPercent: string;
9923
- totalMaximumRingDuration: string;
9923
+ totalMaximumRingDuration: number;
9924
9924
  }, {
9925
- totalQueueCall: string;
9926
- totalMissedQueueCall: string;
9927
- totalAnsweredQueueCall: string;
9928
- totalAbandonedQueueCall: string;
9929
- totalAverageRingDuration: string;
9930
- totalAverageTalkDuration: string;
9931
- totalAverageCallDuration: string;
9932
- totalSla: string;
9925
+ totalQueueCall: number;
9926
+ totalMissedQueueCall: number;
9927
+ totalAnsweredQueueCall: number;
9928
+ totalAbandonedQueueCall: number;
9929
+ totalAverageRingDuration: number;
9930
+ totalAverageTalkDuration: number;
9931
+ totalAverageCallDuration: number;
9932
+ totalSla: number;
9933
9933
  totalMissedCallPercent: string;
9934
- totalMaximumRingDuration: string;
9934
+ totalMaximumRingDuration: number;
9935
9935
  }>;
9936
9936
  telephonyQueueCallCountListByQueueNumber: import("zod").ZodArray<import("zod").ZodObject<{
9937
9937
  queueNumber: import("zod").ZodString;
9938
9938
  queueName: import("zod").ZodString;
9939
9939
  yeastarQueueCallCountList: import("zod").ZodObject<{
9940
- totalQueueCall: import("zod").ZodString;
9941
- totalMissedQueueCall: import("zod").ZodString;
9942
- totalAnsweredQueueCall: import("zod").ZodString;
9943
- totalAbandonedQueueCall: import("zod").ZodString;
9944
- totalAverageTalkDuration: import("zod").ZodString;
9945
- totalAverageCallDuration: import("zod").ZodString;
9946
- totalAverageRingDuration: import("zod").ZodString;
9947
- totalSla: import("zod").ZodString;
9940
+ totalQueueCall: import("zod").ZodNumber;
9941
+ totalMissedQueueCall: import("zod").ZodNumber;
9942
+ totalAnsweredQueueCall: import("zod").ZodNumber;
9943
+ totalAbandonedQueueCall: import("zod").ZodNumber;
9944
+ totalAverageTalkDuration: import("zod").ZodNumber;
9945
+ totalAverageCallDuration: import("zod").ZodNumber;
9946
+ totalAverageRingDuration: import("zod").ZodNumber;
9947
+ totalSla: import("zod").ZodNumber;
9948
9948
  totalMissedCallPercent: import("zod").ZodString;
9949
- totalMaximumRingDuration: import("zod").ZodString;
9949
+ totalMaximumRingDuration: import("zod").ZodNumber;
9950
9950
  }, "strip", import("zod").ZodTypeAny, {
9951
- totalQueueCall: string;
9952
- totalMissedQueueCall: string;
9953
- totalAnsweredQueueCall: string;
9954
- totalAbandonedQueueCall: string;
9955
- totalAverageRingDuration: string;
9956
- totalAverageTalkDuration: string;
9957
- totalAverageCallDuration: string;
9958
- totalSla: string;
9951
+ totalQueueCall: number;
9952
+ totalMissedQueueCall: number;
9953
+ totalAnsweredQueueCall: number;
9954
+ totalAbandonedQueueCall: number;
9955
+ totalAverageRingDuration: number;
9956
+ totalAverageTalkDuration: number;
9957
+ totalAverageCallDuration: number;
9958
+ totalSla: number;
9959
9959
  totalMissedCallPercent: string;
9960
- totalMaximumRingDuration: string;
9960
+ totalMaximumRingDuration: number;
9961
9961
  }, {
9962
- totalQueueCall: string;
9963
- totalMissedQueueCall: string;
9964
- totalAnsweredQueueCall: string;
9965
- totalAbandonedQueueCall: string;
9966
- totalAverageRingDuration: string;
9967
- totalAverageTalkDuration: string;
9968
- totalAverageCallDuration: string;
9969
- totalSla: string;
9962
+ totalQueueCall: number;
9963
+ totalMissedQueueCall: number;
9964
+ totalAnsweredQueueCall: number;
9965
+ totalAbandonedQueueCall: number;
9966
+ totalAverageRingDuration: number;
9967
+ totalAverageTalkDuration: number;
9968
+ totalAverageCallDuration: number;
9969
+ totalSla: number;
9970
9970
  totalMissedCallPercent: string;
9971
- totalMaximumRingDuration: string;
9971
+ totalMaximumRingDuration: number;
9972
9972
  }>;
9973
9973
  }, "strip", import("zod").ZodTypeAny, {
9974
9974
  queueName: string;
9975
9975
  queueNumber: string;
9976
9976
  yeastarQueueCallCountList: {
9977
- totalQueueCall: string;
9978
- totalMissedQueueCall: string;
9979
- totalAnsweredQueueCall: string;
9980
- totalAbandonedQueueCall: string;
9981
- totalAverageRingDuration: string;
9982
- totalAverageTalkDuration: string;
9983
- totalAverageCallDuration: string;
9984
- totalSla: string;
9977
+ totalQueueCall: number;
9978
+ totalMissedQueueCall: number;
9979
+ totalAnsweredQueueCall: number;
9980
+ totalAbandonedQueueCall: number;
9981
+ totalAverageRingDuration: number;
9982
+ totalAverageTalkDuration: number;
9983
+ totalAverageCallDuration: number;
9984
+ totalSla: number;
9985
9985
  totalMissedCallPercent: string;
9986
- totalMaximumRingDuration: string;
9986
+ totalMaximumRingDuration: number;
9987
9987
  };
9988
9988
  }, {
9989
9989
  queueName: string;
9990
9990
  queueNumber: string;
9991
9991
  yeastarQueueCallCountList: {
9992
- totalQueueCall: string;
9993
- totalMissedQueueCall: string;
9994
- totalAnsweredQueueCall: string;
9995
- totalAbandonedQueueCall: string;
9996
- totalAverageRingDuration: string;
9997
- totalAverageTalkDuration: string;
9998
- totalAverageCallDuration: string;
9999
- totalSla: string;
9992
+ totalQueueCall: number;
9993
+ totalMissedQueueCall: number;
9994
+ totalAnsweredQueueCall: number;
9995
+ totalAbandonedQueueCall: number;
9996
+ totalAverageRingDuration: number;
9997
+ totalAverageTalkDuration: number;
9998
+ totalAverageCallDuration: number;
9999
+ totalSla: number;
10000
10000
  totalMissedCallPercent: string;
10001
- totalMaximumRingDuration: string;
10001
+ totalMaximumRingDuration: number;
10002
10002
  };
10003
10003
  }>, "many">;
10004
10004
  }, "strip", import("zod").ZodTypeAny, {
10005
10005
  totalTelephonyQueueCallCountList: {
10006
- totalQueueCall: string;
10007
- totalMissedQueueCall: string;
10008
- totalAnsweredQueueCall: string;
10009
- totalAbandonedQueueCall: string;
10010
- totalAverageRingDuration: string;
10011
- totalAverageTalkDuration: string;
10012
- totalAverageCallDuration: string;
10013
- totalSla: string;
10006
+ totalQueueCall: number;
10007
+ totalMissedQueueCall: number;
10008
+ totalAnsweredQueueCall: number;
10009
+ totalAbandonedQueueCall: number;
10010
+ totalAverageRingDuration: number;
10011
+ totalAverageTalkDuration: number;
10012
+ totalAverageCallDuration: number;
10013
+ totalSla: number;
10014
10014
  totalMissedCallPercent: string;
10015
- totalMaximumRingDuration: string;
10015
+ totalMaximumRingDuration: number;
10016
10016
  };
10017
10017
  telephonyQueueCallCountListByQueueNumber: {
10018
10018
  queueName: string;
10019
10019
  queueNumber: string;
10020
10020
  yeastarQueueCallCountList: {
10021
- totalQueueCall: string;
10022
- totalMissedQueueCall: string;
10023
- totalAnsweredQueueCall: string;
10024
- totalAbandonedQueueCall: string;
10025
- totalAverageRingDuration: string;
10026
- totalAverageTalkDuration: string;
10027
- totalAverageCallDuration: string;
10028
- totalSla: string;
10021
+ totalQueueCall: number;
10022
+ totalMissedQueueCall: number;
10023
+ totalAnsweredQueueCall: number;
10024
+ totalAbandonedQueueCall: number;
10025
+ totalAverageRingDuration: number;
10026
+ totalAverageTalkDuration: number;
10027
+ totalAverageCallDuration: number;
10028
+ totalSla: number;
10029
10029
  totalMissedCallPercent: string;
10030
- totalMaximumRingDuration: string;
10030
+ totalMaximumRingDuration: number;
10031
10031
  };
10032
10032
  }[];
10033
10033
  }, {
10034
10034
  totalTelephonyQueueCallCountList: {
10035
- totalQueueCall: string;
10036
- totalMissedQueueCall: string;
10037
- totalAnsweredQueueCall: string;
10038
- totalAbandonedQueueCall: string;
10039
- totalAverageRingDuration: string;
10040
- totalAverageTalkDuration: string;
10041
- totalAverageCallDuration: string;
10042
- totalSla: string;
10035
+ totalQueueCall: number;
10036
+ totalMissedQueueCall: number;
10037
+ totalAnsweredQueueCall: number;
10038
+ totalAbandonedQueueCall: number;
10039
+ totalAverageRingDuration: number;
10040
+ totalAverageTalkDuration: number;
10041
+ totalAverageCallDuration: number;
10042
+ totalSla: number;
10043
10043
  totalMissedCallPercent: string;
10044
- totalMaximumRingDuration: string;
10044
+ totalMaximumRingDuration: number;
10045
10045
  };
10046
10046
  telephonyQueueCallCountListByQueueNumber: {
10047
10047
  queueName: string;
10048
10048
  queueNumber: string;
10049
10049
  yeastarQueueCallCountList: {
10050
- totalQueueCall: string;
10051
- totalMissedQueueCall: string;
10052
- totalAnsweredQueueCall: string;
10053
- totalAbandonedQueueCall: string;
10054
- totalAverageRingDuration: string;
10055
- totalAverageTalkDuration: string;
10056
- totalAverageCallDuration: string;
10057
- totalSla: string;
10050
+ totalQueueCall: number;
10051
+ totalMissedQueueCall: number;
10052
+ totalAnsweredQueueCall: number;
10053
+ totalAbandonedQueueCall: number;
10054
+ totalAverageRingDuration: number;
10055
+ totalAverageTalkDuration: number;
10056
+ totalAverageCallDuration: number;
10057
+ totalSla: number;
10058
10058
  totalMissedCallPercent: string;
10059
- totalMaximumRingDuration: string;
10059
+ totalMaximumRingDuration: number;
10060
10060
  };
10061
10061
  }[];
10062
10062
  }>;
@@ -10064,31 +10064,31 @@ export declare const apiContract: {
10064
10064
  requestId: string;
10065
10065
  queuecallDashboard: {
10066
10066
  totalTelephonyQueueCallCountList: {
10067
- totalQueueCall: string;
10068
- totalMissedQueueCall: string;
10069
- totalAnsweredQueueCall: string;
10070
- totalAbandonedQueueCall: string;
10071
- totalAverageRingDuration: string;
10072
- totalAverageTalkDuration: string;
10073
- totalAverageCallDuration: string;
10074
- totalSla: string;
10067
+ totalQueueCall: number;
10068
+ totalMissedQueueCall: number;
10069
+ totalAnsweredQueueCall: number;
10070
+ totalAbandonedQueueCall: number;
10071
+ totalAverageRingDuration: number;
10072
+ totalAverageTalkDuration: number;
10073
+ totalAverageCallDuration: number;
10074
+ totalSla: number;
10075
10075
  totalMissedCallPercent: string;
10076
- totalMaximumRingDuration: string;
10076
+ totalMaximumRingDuration: number;
10077
10077
  };
10078
10078
  telephonyQueueCallCountListByQueueNumber: {
10079
10079
  queueName: string;
10080
10080
  queueNumber: string;
10081
10081
  yeastarQueueCallCountList: {
10082
- totalQueueCall: string;
10083
- totalMissedQueueCall: string;
10084
- totalAnsweredQueueCall: string;
10085
- totalAbandonedQueueCall: string;
10086
- totalAverageRingDuration: string;
10087
- totalAverageTalkDuration: string;
10088
- totalAverageCallDuration: string;
10089
- totalSla: string;
10082
+ totalQueueCall: number;
10083
+ totalMissedQueueCall: number;
10084
+ totalAnsweredQueueCall: number;
10085
+ totalAbandonedQueueCall: number;
10086
+ totalAverageRingDuration: number;
10087
+ totalAverageTalkDuration: number;
10088
+ totalAverageCallDuration: number;
10089
+ totalSla: number;
10090
10090
  totalMissedCallPercent: string;
10091
- totalMaximumRingDuration: string;
10091
+ totalMaximumRingDuration: number;
10092
10092
  };
10093
10093
  }[];
10094
10094
  };
@@ -10096,31 +10096,31 @@ export declare const apiContract: {
10096
10096
  requestId: string;
10097
10097
  queuecallDashboard: {
10098
10098
  totalTelephonyQueueCallCountList: {
10099
- totalQueueCall: string;
10100
- totalMissedQueueCall: string;
10101
- totalAnsweredQueueCall: string;
10102
- totalAbandonedQueueCall: string;
10103
- totalAverageRingDuration: string;
10104
- totalAverageTalkDuration: string;
10105
- totalAverageCallDuration: string;
10106
- totalSla: string;
10099
+ totalQueueCall: number;
10100
+ totalMissedQueueCall: number;
10101
+ totalAnsweredQueueCall: number;
10102
+ totalAbandonedQueueCall: number;
10103
+ totalAverageRingDuration: number;
10104
+ totalAverageTalkDuration: number;
10105
+ totalAverageCallDuration: number;
10106
+ totalSla: number;
10107
10107
  totalMissedCallPercent: string;
10108
- totalMaximumRingDuration: string;
10108
+ totalMaximumRingDuration: number;
10109
10109
  };
10110
10110
  telephonyQueueCallCountListByQueueNumber: {
10111
10111
  queueName: string;
10112
10112
  queueNumber: string;
10113
10113
  yeastarQueueCallCountList: {
10114
- totalQueueCall: string;
10115
- totalMissedQueueCall: string;
10116
- totalAnsweredQueueCall: string;
10117
- totalAbandonedQueueCall: string;
10118
- totalAverageRingDuration: string;
10119
- totalAverageTalkDuration: string;
10120
- totalAverageCallDuration: string;
10121
- totalSla: string;
10114
+ totalQueueCall: number;
10115
+ totalMissedQueueCall: number;
10116
+ totalAnsweredQueueCall: number;
10117
+ totalAbandonedQueueCall: number;
10118
+ totalAverageRingDuration: number;
10119
+ totalAverageTalkDuration: number;
10120
+ totalAverageCallDuration: number;
10121
+ totalSla: number;
10122
10122
  totalMissedCallPercent: string;
10123
- totalMaximumRingDuration: string;
10123
+ totalMaximumRingDuration: number;
10124
10124
  };
10125
10125
  }[];
10126
10126
  };
@@ -10725,7 +10725,16 @@ export declare const apiContract: {
10725
10725
  getMessageChannelData: {
10726
10726
  summary: "Get message channel data";
10727
10727
  method: "GET";
10728
- query: null;
10728
+ query: import("zod").ZodObject<{
10729
+ selectedDate: import("zod").ZodString;
10730
+ time: import("zod").ZodEnum<["byDay", "byMonth"]>;
10731
+ }, "strip", import("zod").ZodTypeAny, {
10732
+ time: "byDay" | "byMonth";
10733
+ selectedDate: string;
10734
+ }, {
10735
+ time: "byDay" | "byMonth";
10736
+ selectedDate: string;
10737
+ }>;
10729
10738
  responses: {
10730
10739
  200: import("zod").ZodObject<{
10731
10740
  requestId: import("zod").ZodString;
@@ -32075,6 +32084,334 @@ export declare const apiContract: {
32075
32084
  path: "/bots/";
32076
32085
  };
32077
32086
  };
32087
+ subscription: {
32088
+ getSubscription: {
32089
+ method: "GET";
32090
+ query: null;
32091
+ responses: {
32092
+ 200: import("zod").ZodObject<{
32093
+ requestId: import("zod").ZodString;
32094
+ subscription: import("zod").ZodObject<{
32095
+ id: import("zod").ZodString;
32096
+ createdAt: import("zod").ZodDate;
32097
+ updatedAt: import("zod").ZodDate;
32098
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
32099
+ provider: import("zod").ZodString;
32100
+ type: import("zod").ZodString;
32101
+ subscriptionId: import("zod").ZodString;
32102
+ interval: import("zod").ZodString;
32103
+ quantity: import("zod").ZodNumber;
32104
+ amount: import("zod").ZodNumber;
32105
+ startAt: import("zod").ZodNullable<import("zod").ZodDate>;
32106
+ expireAt: import("zod").ZodDate;
32107
+ status: import("zod").ZodString;
32108
+ name: import("zod").ZodNullable<import("zod").ZodString>;
32109
+ subscriptionProducts: import("zod").ZodArray<import("zod").ZodObject<{
32110
+ id: import("zod").ZodString;
32111
+ createdAt: import("zod").ZodDate;
32112
+ updatedAt: import("zod").ZodDate;
32113
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
32114
+ limit: import("zod").ZodNumber;
32115
+ subscriptionItemId: import("zod").ZodString;
32116
+ usage: import("zod").ZodNullable<import("zod").ZodNumber>;
32117
+ product: import("zod").ZodObject<{
32118
+ id: import("zod").ZodString;
32119
+ createdAt: import("zod").ZodDate;
32120
+ updatedAt: import("zod").ZodDate;
32121
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
32122
+ provider: import("zod").ZodString;
32123
+ productId: import("zod").ZodString;
32124
+ name: import("zod").ZodString;
32125
+ type: import("zod").ZodString;
32126
+ omnichannel: import("zod").ZodString;
32127
+ usageType: import("zod").ZodNullable<import("zod").ZodString>;
32128
+ }, "strip", import("zod").ZodTypeAny, {
32129
+ type: string;
32130
+ id: string;
32131
+ name: string;
32132
+ createdAt: Date;
32133
+ updatedAt: Date;
32134
+ deletedAt: Date | null;
32135
+ provider: string;
32136
+ productId: string;
32137
+ omnichannel: string;
32138
+ usageType: string | null;
32139
+ }, {
32140
+ type: string;
32141
+ id: string;
32142
+ name: string;
32143
+ createdAt: Date;
32144
+ updatedAt: Date;
32145
+ deletedAt: Date | null;
32146
+ provider: string;
32147
+ productId: string;
32148
+ omnichannel: string;
32149
+ usageType: string | null;
32150
+ }>;
32151
+ }, "strip", import("zod").ZodTypeAny, {
32152
+ id: string;
32153
+ product: {
32154
+ type: string;
32155
+ id: string;
32156
+ name: string;
32157
+ createdAt: Date;
32158
+ updatedAt: Date;
32159
+ deletedAt: Date | null;
32160
+ provider: string;
32161
+ productId: string;
32162
+ omnichannel: string;
32163
+ usageType: string | null;
32164
+ };
32165
+ createdAt: Date;
32166
+ updatedAt: Date;
32167
+ deletedAt: Date | null;
32168
+ limit: number;
32169
+ subscriptionItemId: string;
32170
+ usage: number | null;
32171
+ }, {
32172
+ id: string;
32173
+ product: {
32174
+ type: string;
32175
+ id: string;
32176
+ name: string;
32177
+ createdAt: Date;
32178
+ updatedAt: Date;
32179
+ deletedAt: Date | null;
32180
+ provider: string;
32181
+ productId: string;
32182
+ omnichannel: string;
32183
+ usageType: string | null;
32184
+ };
32185
+ createdAt: Date;
32186
+ updatedAt: Date;
32187
+ deletedAt: Date | null;
32188
+ limit: number;
32189
+ subscriptionItemId: string;
32190
+ usage: number | null;
32191
+ }>, "many">;
32192
+ }, "strip", import("zod").ZodTypeAny, {
32193
+ type: string;
32194
+ interval: string;
32195
+ id: string;
32196
+ name: string | null;
32197
+ status: string;
32198
+ createdAt: Date;
32199
+ updatedAt: Date;
32200
+ deletedAt: Date | null;
32201
+ provider: string;
32202
+ subscriptionId: string;
32203
+ quantity: number;
32204
+ amount: number;
32205
+ startAt: Date | null;
32206
+ expireAt: Date;
32207
+ subscriptionProducts: {
32208
+ id: string;
32209
+ product: {
32210
+ type: string;
32211
+ id: string;
32212
+ name: string;
32213
+ createdAt: Date;
32214
+ updatedAt: Date;
32215
+ deletedAt: Date | null;
32216
+ provider: string;
32217
+ productId: string;
32218
+ omnichannel: string;
32219
+ usageType: string | null;
32220
+ };
32221
+ createdAt: Date;
32222
+ updatedAt: Date;
32223
+ deletedAt: Date | null;
32224
+ limit: number;
32225
+ subscriptionItemId: string;
32226
+ usage: number | null;
32227
+ }[];
32228
+ }, {
32229
+ type: string;
32230
+ interval: string;
32231
+ id: string;
32232
+ name: string | null;
32233
+ status: string;
32234
+ createdAt: Date;
32235
+ updatedAt: Date;
32236
+ deletedAt: Date | null;
32237
+ provider: string;
32238
+ subscriptionId: string;
32239
+ quantity: number;
32240
+ amount: number;
32241
+ startAt: Date | null;
32242
+ expireAt: Date;
32243
+ subscriptionProducts: {
32244
+ id: string;
32245
+ product: {
32246
+ type: string;
32247
+ id: string;
32248
+ name: string;
32249
+ createdAt: Date;
32250
+ updatedAt: Date;
32251
+ deletedAt: Date | null;
32252
+ provider: string;
32253
+ productId: string;
32254
+ omnichannel: string;
32255
+ usageType: string | null;
32256
+ };
32257
+ createdAt: Date;
32258
+ updatedAt: Date;
32259
+ deletedAt: Date | null;
32260
+ limit: number;
32261
+ subscriptionItemId: string;
32262
+ usage: number | null;
32263
+ }[];
32264
+ }>;
32265
+ }, "strip", import("zod").ZodTypeAny, {
32266
+ requestId: string;
32267
+ subscription: {
32268
+ type: string;
32269
+ interval: string;
32270
+ id: string;
32271
+ name: string | null;
32272
+ status: string;
32273
+ createdAt: Date;
32274
+ updatedAt: Date;
32275
+ deletedAt: Date | null;
32276
+ provider: string;
32277
+ subscriptionId: string;
32278
+ quantity: number;
32279
+ amount: number;
32280
+ startAt: Date | null;
32281
+ expireAt: Date;
32282
+ subscriptionProducts: {
32283
+ id: string;
32284
+ product: {
32285
+ type: string;
32286
+ id: string;
32287
+ name: string;
32288
+ createdAt: Date;
32289
+ updatedAt: Date;
32290
+ deletedAt: Date | null;
32291
+ provider: string;
32292
+ productId: string;
32293
+ omnichannel: string;
32294
+ usageType: string | null;
32295
+ };
32296
+ createdAt: Date;
32297
+ updatedAt: Date;
32298
+ deletedAt: Date | null;
32299
+ limit: number;
32300
+ subscriptionItemId: string;
32301
+ usage: number | null;
32302
+ }[];
32303
+ };
32304
+ }, {
32305
+ requestId: string;
32306
+ subscription: {
32307
+ type: string;
32308
+ interval: string;
32309
+ id: string;
32310
+ name: string | null;
32311
+ status: string;
32312
+ createdAt: Date;
32313
+ updatedAt: Date;
32314
+ deletedAt: Date | null;
32315
+ provider: string;
32316
+ subscriptionId: string;
32317
+ quantity: number;
32318
+ amount: number;
32319
+ startAt: Date | null;
32320
+ expireAt: Date;
32321
+ subscriptionProducts: {
32322
+ id: string;
32323
+ product: {
32324
+ type: string;
32325
+ id: string;
32326
+ name: string;
32327
+ createdAt: Date;
32328
+ updatedAt: Date;
32329
+ deletedAt: Date | null;
32330
+ provider: string;
32331
+ productId: string;
32332
+ omnichannel: string;
32333
+ usageType: string | null;
32334
+ };
32335
+ createdAt: Date;
32336
+ updatedAt: Date;
32337
+ deletedAt: Date | null;
32338
+ limit: number;
32339
+ subscriptionItemId: string;
32340
+ usage: number | null;
32341
+ }[];
32342
+ };
32343
+ }>;
32344
+ 500: import("zod").ZodObject<{
32345
+ message: import("zod").ZodString;
32346
+ error: import("zod").ZodAny;
32347
+ }, "strip", import("zod").ZodTypeAny, {
32348
+ message: string;
32349
+ error?: any;
32350
+ }, {
32351
+ message: string;
32352
+ error?: any;
32353
+ }>;
32354
+ };
32355
+ path: "subscriptions/";
32356
+ };
32357
+ updateSubscription: {
32358
+ body: import("zod").ZodObject<{
32359
+ subscriptionId: import("zod").ZodString;
32360
+ subscriptionProducts: import("zod").ZodArray<import("zod").ZodObject<{
32361
+ productId: import("zod").ZodString;
32362
+ quantity: import("zod").ZodNumber;
32363
+ }, "strip", import("zod").ZodTypeAny, {
32364
+ productId: string;
32365
+ quantity: number;
32366
+ }, {
32367
+ productId: string;
32368
+ quantity: number;
32369
+ }>, "many">;
32370
+ }, "strip", import("zod").ZodTypeAny, {
32371
+ subscriptionId: string;
32372
+ subscriptionProducts: {
32373
+ productId: string;
32374
+ quantity: number;
32375
+ }[];
32376
+ }, {
32377
+ subscriptionId: string;
32378
+ subscriptionProducts: {
32379
+ productId: string;
32380
+ quantity: number;
32381
+ }[];
32382
+ }>;
32383
+ method: "PATCH";
32384
+ responses: {
32385
+ 200: import("zod").ZodObject<{
32386
+ requestId: import("zod").ZodString;
32387
+ message: import("zod").ZodString;
32388
+ requireCheckout: import("zod").ZodBoolean;
32389
+ checkoutUrl: import("zod").ZodNullable<import("zod").ZodString>;
32390
+ }, "strip", import("zod").ZodTypeAny, {
32391
+ message: string;
32392
+ requestId: string;
32393
+ requireCheckout: boolean;
32394
+ checkoutUrl: string | null;
32395
+ }, {
32396
+ message: string;
32397
+ requestId: string;
32398
+ requireCheckout: boolean;
32399
+ checkoutUrl: string | null;
32400
+ }>;
32401
+ 500: import("zod").ZodObject<{
32402
+ message: import("zod").ZodString;
32403
+ error: import("zod").ZodAny;
32404
+ }, "strip", import("zod").ZodTypeAny, {
32405
+ message: string;
32406
+ error?: any;
32407
+ }, {
32408
+ message: string;
32409
+ error?: any;
32410
+ }>;
32411
+ };
32412
+ path: "subscriptions/";
32413
+ };
32414
+ };
32078
32415
  };
32079
32416
  export declare const contactContract: {
32080
32417
  contact: {
@@ -113688,7 +114025,7 @@ export declare const platformBotpressContract: {
113688
114025
  }, {
113689
114026
  name: string;
113690
114027
  }>;
113691
- botpressUserMetadata: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
114028
+ botpressUserMetadata: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
113692
114029
  botpressBotId: import("zod").ZodString;
113693
114030
  id: import("zod").ZodString;
113694
114031
  name: import("zod").ZodString;
@@ -113700,29 +114037,29 @@ export declare const platformBotpressContract: {
113700
114037
  id: string;
113701
114038
  name: string;
113702
114039
  botpressBotId: string;
113703
- }>, "many">>;
114040
+ }>, "many">>>;
113704
114041
  }, "strip", import("zod").ZodTypeAny, {
113705
114042
  id: string;
113706
114043
  contact: {
113707
114044
  name: string;
113708
114045
  };
113709
114046
  socialPlatformId: string;
113710
- botpressUserMetadata: {
114047
+ botpressUserMetadata?: {
113711
114048
  id: string;
113712
114049
  name: string;
113713
114050
  botpressBotId: string;
113714
- }[] | null;
114051
+ }[] | null | undefined;
113715
114052
  }, {
113716
114053
  id: string;
113717
114054
  contact: {
113718
114055
  name: string;
113719
114056
  };
113720
114057
  socialPlatformId: string;
113721
- botpressUserMetadata: {
114058
+ botpressUserMetadata?: {
113722
114059
  id: string;
113723
114060
  name: string;
113724
114061
  botpressBotId: string;
113725
- }[] | null;
114062
+ }[] | null | undefined;
113726
114063
  }>;
113727
114064
  }, "strip", import("zod").ZodTypeAny, {
113728
114065
  id: string;
@@ -113740,11 +114077,11 @@ export declare const platformBotpressContract: {
113740
114077
  name: string;
113741
114078
  };
113742
114079
  socialPlatformId: string;
113743
- botpressUserMetadata: {
114080
+ botpressUserMetadata?: {
113744
114081
  id: string;
113745
114082
  name: string;
113746
114083
  botpressBotId: string;
113747
- }[] | null;
114084
+ }[] | null | undefined;
113748
114085
  };
113749
114086
  botpressConversationMetadata?: {
113750
114087
  id: string;
@@ -113765,11 +114102,11 @@ export declare const platformBotpressContract: {
113765
114102
  name: string;
113766
114103
  };
113767
114104
  socialPlatformId: string;
113768
- botpressUserMetadata: {
114105
+ botpressUserMetadata?: {
113769
114106
  id: string;
113770
114107
  name: string;
113771
114108
  botpressBotId: string;
113772
- }[] | null;
114109
+ }[] | null | undefined;
113773
114110
  };
113774
114111
  botpressConversationMetadata?: {
113775
114112
  id: string;
@@ -113793,11 +114130,11 @@ export declare const platformBotpressContract: {
113793
114130
  name: string;
113794
114131
  };
113795
114132
  socialPlatformId: string;
113796
- botpressUserMetadata: {
114133
+ botpressUserMetadata?: {
113797
114134
  id: string;
113798
114135
  name: string;
113799
114136
  botpressBotId: string;
113800
- }[] | null;
114137
+ }[] | null | undefined;
113801
114138
  };
113802
114139
  botpressConversationMetadata?: {
113803
114140
  id: string;
@@ -113822,11 +114159,11 @@ export declare const platformBotpressContract: {
113822
114159
  name: string;
113823
114160
  };
113824
114161
  socialPlatformId: string;
113825
- botpressUserMetadata: {
114162
+ botpressUserMetadata?: {
113826
114163
  id: string;
113827
114164
  name: string;
113828
114165
  botpressBotId: string;
113829
- }[] | null;
114166
+ }[] | null | undefined;
113830
114167
  };
113831
114168
  botpressConversationMetadata?: {
113832
114169
  id: string;
@@ -122088,7 +122425,9 @@ export declare const telephonyContract: {
122088
122425
  agentCallsOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
122089
122426
  page: import("zod").ZodOptional<import("zod").ZodNumber>;
122090
122427
  pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
122428
+ module: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"cdrs">, import("zod").ZodLiteral<"call-logs">]>>>;
122091
122429
  }, "strip", import("zod").ZodTypeAny, {
122430
+ module: "cdrs" | "call-logs";
122092
122431
  type?: string[] | undefined;
122093
122432
  status?: string[] | undefined;
122094
122433
  userId?: string | undefined;
@@ -122116,6 +122455,7 @@ export declare const telephonyContract: {
122116
122455
  agentCallsOnly?: boolean | undefined;
122117
122456
  page?: number | undefined;
122118
122457
  pageSize?: number | undefined;
122458
+ module?: "cdrs" | "call-logs" | undefined;
122119
122459
  }>;
122120
122460
  responses: {
122121
122461
  200: null;