@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.
- package/dist/index.js +439 -352
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +438 -352
- package/dist/index.mjs.map +1 -1
- package/dist/src/botpress/index.d.ts +14 -14
- package/dist/src/botpress/validation.d.ts +14 -14
- package/dist/src/botpress/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +502 -162
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +3 -3
- package/dist/src/dashboard/index.d.ts +156 -146
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +207 -207
- package/dist/src/dashboard/validation.d.ts +10 -0
- package/dist/src/dashboard/validation.d.ts.map +1 -1
- package/dist/src/export/index.d.ts +43 -0
- package/dist/src/export/index.d.ts.map +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/subscription/index.d.ts +332 -0
- package/dist/src/subscription/index.d.ts.map +1 -0
- package/dist/src/subscription/schema.d.ts +290 -0
- package/dist/src/subscription/schema.d.ts.map +1 -0
- package/dist/src/subscription/validation.d.ts +27 -0
- package/dist/src/subscription/validation.d.ts.map +1 -0
- package/dist/src/telephony-cdr/index.d.ts +3 -0
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/validation.d.ts +3 -0
- package/dist/src/telephony-cdr/validation.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/src/contract.d.ts
CHANGED
@@ -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").
|
9904
|
-
totalMissedQueueCall: import("zod").
|
9905
|
-
totalAnsweredQueueCall: import("zod").
|
9906
|
-
totalAbandonedQueueCall: import("zod").
|
9907
|
-
totalAverageRingDuration: import("zod").
|
9908
|
-
totalAverageTalkDuration: import("zod").
|
9909
|
-
totalAverageCallDuration: import("zod").
|
9910
|
-
totalSla: import("zod").
|
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").
|
9912
|
+
totalMaximumRingDuration: import("zod").ZodNumber;
|
9913
9913
|
}, "strip", import("zod").ZodTypeAny, {
|
9914
|
-
totalQueueCall:
|
9915
|
-
totalMissedQueueCall:
|
9916
|
-
totalAnsweredQueueCall:
|
9917
|
-
totalAbandonedQueueCall:
|
9918
|
-
totalAverageRingDuration:
|
9919
|
-
totalAverageTalkDuration:
|
9920
|
-
totalAverageCallDuration:
|
9921
|
-
totalSla:
|
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:
|
9923
|
+
totalMaximumRingDuration: number;
|
9924
9924
|
}, {
|
9925
|
-
totalQueueCall:
|
9926
|
-
totalMissedQueueCall:
|
9927
|
-
totalAnsweredQueueCall:
|
9928
|
-
totalAbandonedQueueCall:
|
9929
|
-
totalAverageRingDuration:
|
9930
|
-
totalAverageTalkDuration:
|
9931
|
-
totalAverageCallDuration:
|
9932
|
-
totalSla:
|
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:
|
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").
|
9941
|
-
totalMissedQueueCall: import("zod").
|
9942
|
-
totalAnsweredQueueCall: import("zod").
|
9943
|
-
totalAbandonedQueueCall: import("zod").
|
9944
|
-
totalAverageTalkDuration: import("zod").
|
9945
|
-
totalAverageCallDuration: import("zod").
|
9946
|
-
totalAverageRingDuration: import("zod").
|
9947
|
-
totalSla: import("zod").
|
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").
|
9949
|
+
totalMaximumRingDuration: import("zod").ZodNumber;
|
9950
9950
|
}, "strip", import("zod").ZodTypeAny, {
|
9951
|
-
totalQueueCall:
|
9952
|
-
totalMissedQueueCall:
|
9953
|
-
totalAnsweredQueueCall:
|
9954
|
-
totalAbandonedQueueCall:
|
9955
|
-
totalAverageRingDuration:
|
9956
|
-
totalAverageTalkDuration:
|
9957
|
-
totalAverageCallDuration:
|
9958
|
-
totalSla:
|
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:
|
9960
|
+
totalMaximumRingDuration: number;
|
9961
9961
|
}, {
|
9962
|
-
totalQueueCall:
|
9963
|
-
totalMissedQueueCall:
|
9964
|
-
totalAnsweredQueueCall:
|
9965
|
-
totalAbandonedQueueCall:
|
9966
|
-
totalAverageRingDuration:
|
9967
|
-
totalAverageTalkDuration:
|
9968
|
-
totalAverageCallDuration:
|
9969
|
-
totalSla:
|
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:
|
9971
|
+
totalMaximumRingDuration: number;
|
9972
9972
|
}>;
|
9973
9973
|
}, "strip", import("zod").ZodTypeAny, {
|
9974
9974
|
queueName: string;
|
9975
9975
|
queueNumber: string;
|
9976
9976
|
yeastarQueueCallCountList: {
|
9977
|
-
totalQueueCall:
|
9978
|
-
totalMissedQueueCall:
|
9979
|
-
totalAnsweredQueueCall:
|
9980
|
-
totalAbandonedQueueCall:
|
9981
|
-
totalAverageRingDuration:
|
9982
|
-
totalAverageTalkDuration:
|
9983
|
-
totalAverageCallDuration:
|
9984
|
-
totalSla:
|
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:
|
9986
|
+
totalMaximumRingDuration: number;
|
9987
9987
|
};
|
9988
9988
|
}, {
|
9989
9989
|
queueName: string;
|
9990
9990
|
queueNumber: string;
|
9991
9991
|
yeastarQueueCallCountList: {
|
9992
|
-
totalQueueCall:
|
9993
|
-
totalMissedQueueCall:
|
9994
|
-
totalAnsweredQueueCall:
|
9995
|
-
totalAbandonedQueueCall:
|
9996
|
-
totalAverageRingDuration:
|
9997
|
-
totalAverageTalkDuration:
|
9998
|
-
totalAverageCallDuration:
|
9999
|
-
totalSla:
|
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:
|
10001
|
+
totalMaximumRingDuration: number;
|
10002
10002
|
};
|
10003
10003
|
}>, "many">;
|
10004
10004
|
}, "strip", import("zod").ZodTypeAny, {
|
10005
10005
|
totalTelephonyQueueCallCountList: {
|
10006
|
-
totalQueueCall:
|
10007
|
-
totalMissedQueueCall:
|
10008
|
-
totalAnsweredQueueCall:
|
10009
|
-
totalAbandonedQueueCall:
|
10010
|
-
totalAverageRingDuration:
|
10011
|
-
totalAverageTalkDuration:
|
10012
|
-
totalAverageCallDuration:
|
10013
|
-
totalSla:
|
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:
|
10015
|
+
totalMaximumRingDuration: number;
|
10016
10016
|
};
|
10017
10017
|
telephonyQueueCallCountListByQueueNumber: {
|
10018
10018
|
queueName: string;
|
10019
10019
|
queueNumber: string;
|
10020
10020
|
yeastarQueueCallCountList: {
|
10021
|
-
totalQueueCall:
|
10022
|
-
totalMissedQueueCall:
|
10023
|
-
totalAnsweredQueueCall:
|
10024
|
-
totalAbandonedQueueCall:
|
10025
|
-
totalAverageRingDuration:
|
10026
|
-
totalAverageTalkDuration:
|
10027
|
-
totalAverageCallDuration:
|
10028
|
-
totalSla:
|
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:
|
10030
|
+
totalMaximumRingDuration: number;
|
10031
10031
|
};
|
10032
10032
|
}[];
|
10033
10033
|
}, {
|
10034
10034
|
totalTelephonyQueueCallCountList: {
|
10035
|
-
totalQueueCall:
|
10036
|
-
totalMissedQueueCall:
|
10037
|
-
totalAnsweredQueueCall:
|
10038
|
-
totalAbandonedQueueCall:
|
10039
|
-
totalAverageRingDuration:
|
10040
|
-
totalAverageTalkDuration:
|
10041
|
-
totalAverageCallDuration:
|
10042
|
-
totalSla:
|
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:
|
10044
|
+
totalMaximumRingDuration: number;
|
10045
10045
|
};
|
10046
10046
|
telephonyQueueCallCountListByQueueNumber: {
|
10047
10047
|
queueName: string;
|
10048
10048
|
queueNumber: string;
|
10049
10049
|
yeastarQueueCallCountList: {
|
10050
|
-
totalQueueCall:
|
10051
|
-
totalMissedQueueCall:
|
10052
|
-
totalAnsweredQueueCall:
|
10053
|
-
totalAbandonedQueueCall:
|
10054
|
-
totalAverageRingDuration:
|
10055
|
-
totalAverageTalkDuration:
|
10056
|
-
totalAverageCallDuration:
|
10057
|
-
totalSla:
|
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:
|
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:
|
10068
|
-
totalMissedQueueCall:
|
10069
|
-
totalAnsweredQueueCall:
|
10070
|
-
totalAbandonedQueueCall:
|
10071
|
-
totalAverageRingDuration:
|
10072
|
-
totalAverageTalkDuration:
|
10073
|
-
totalAverageCallDuration:
|
10074
|
-
totalSla:
|
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:
|
10076
|
+
totalMaximumRingDuration: number;
|
10077
10077
|
};
|
10078
10078
|
telephonyQueueCallCountListByQueueNumber: {
|
10079
10079
|
queueName: string;
|
10080
10080
|
queueNumber: string;
|
10081
10081
|
yeastarQueueCallCountList: {
|
10082
|
-
totalQueueCall:
|
10083
|
-
totalMissedQueueCall:
|
10084
|
-
totalAnsweredQueueCall:
|
10085
|
-
totalAbandonedQueueCall:
|
10086
|
-
totalAverageRingDuration:
|
10087
|
-
totalAverageTalkDuration:
|
10088
|
-
totalAverageCallDuration:
|
10089
|
-
totalSla:
|
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:
|
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:
|
10100
|
-
totalMissedQueueCall:
|
10101
|
-
totalAnsweredQueueCall:
|
10102
|
-
totalAbandonedQueueCall:
|
10103
|
-
totalAverageRingDuration:
|
10104
|
-
totalAverageTalkDuration:
|
10105
|
-
totalAverageCallDuration:
|
10106
|
-
totalSla:
|
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:
|
10108
|
+
totalMaximumRingDuration: number;
|
10109
10109
|
};
|
10110
10110
|
telephonyQueueCallCountListByQueueNumber: {
|
10111
10111
|
queueName: string;
|
10112
10112
|
queueNumber: string;
|
10113
10113
|
yeastarQueueCallCountList: {
|
10114
|
-
totalQueueCall:
|
10115
|
-
totalMissedQueueCall:
|
10116
|
-
totalAnsweredQueueCall:
|
10117
|
-
totalAbandonedQueueCall:
|
10118
|
-
totalAverageRingDuration:
|
10119
|
-
totalAverageTalkDuration:
|
10120
|
-
totalAverageCallDuration:
|
10121
|
-
totalSla:
|
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:
|
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:
|
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;
|