@kl1/contracts 1.1.29 → 1.1.30
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 +68 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +68 -0
- package/dist/index.mjs.map +1 -1
- package/dist/src/contract.d.ts +250 -0
- package/dist/src/contract.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/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 +125 -0
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/schema.d.ts +7 -0
- package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/src/ticket/index.d.ts +125 -0
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/schema.d.ts +7 -0
- package/dist/src/ticket/schema.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/src/contract.d.ts
CHANGED
@@ -74549,6 +74549,131 @@ export declare const ticketContract: {
|
|
74549
74549
|
'x-client-timezone'?: string | undefined;
|
74550
74550
|
}>>>;
|
74551
74551
|
};
|
74552
|
+
getTicketReasonRequired: {
|
74553
|
+
method: "GET";
|
74554
|
+
responses: {
|
74555
|
+
200: import("zod").ZodObject<{
|
74556
|
+
requestId: import("zod").ZodString;
|
74557
|
+
ticketReasonRequired: import("zod").ZodString;
|
74558
|
+
}, "strip", import("zod").ZodTypeAny, {
|
74559
|
+
requestId: string;
|
74560
|
+
ticketReasonRequired: string;
|
74561
|
+
}, {
|
74562
|
+
requestId: string;
|
74563
|
+
ticketReasonRequired: string;
|
74564
|
+
}>;
|
74565
|
+
400: import("zod").ZodObject<{
|
74566
|
+
message: import("zod").ZodString;
|
74567
|
+
}, "strip", import("zod").ZodTypeAny, {
|
74568
|
+
message: string;
|
74569
|
+
}, {
|
74570
|
+
message: string;
|
74571
|
+
}>;
|
74572
|
+
401: import("zod").ZodObject<{
|
74573
|
+
message: import("zod").ZodString;
|
74574
|
+
error: import("zod").ZodAny;
|
74575
|
+
}, "strip", import("zod").ZodTypeAny, {
|
74576
|
+
message: string;
|
74577
|
+
error?: any;
|
74578
|
+
}, {
|
74579
|
+
message: string;
|
74580
|
+
error?: any;
|
74581
|
+
}>;
|
74582
|
+
500: import("zod").ZodObject<{
|
74583
|
+
message: import("zod").ZodString;
|
74584
|
+
error: import("zod").ZodAny;
|
74585
|
+
}, "strip", import("zod").ZodTypeAny, {
|
74586
|
+
message: string;
|
74587
|
+
error?: any;
|
74588
|
+
}, {
|
74589
|
+
message: string;
|
74590
|
+
error?: any;
|
74591
|
+
}>;
|
74592
|
+
};
|
74593
|
+
path: "ticket/gs/ticket-reason-required";
|
74594
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
74595
|
+
'x-tenant': import("zod").ZodString;
|
74596
|
+
authorization: import("zod").ZodString;
|
74597
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
74598
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
74599
|
+
}, "strip", import("zod").ZodTypeAny, {
|
74600
|
+
'x-tenant': string;
|
74601
|
+
authorization: string;
|
74602
|
+
'x-client-timezone': string;
|
74603
|
+
'x-code'?: string | undefined;
|
74604
|
+
}, {
|
74605
|
+
'x-tenant': string;
|
74606
|
+
authorization: string;
|
74607
|
+
'x-code'?: string | undefined;
|
74608
|
+
'x-client-timezone'?: string | undefined;
|
74609
|
+
}>>>;
|
74610
|
+
};
|
74611
|
+
updateTicketReasonRequired: {
|
74612
|
+
body: import("zod").ZodObject<{
|
74613
|
+
ticketReasonRequired: import("zod").ZodString;
|
74614
|
+
}, "strip", import("zod").ZodTypeAny, {
|
74615
|
+
ticketReasonRequired: string;
|
74616
|
+
}, {
|
74617
|
+
ticketReasonRequired: string;
|
74618
|
+
}>;
|
74619
|
+
method: "PATCH";
|
74620
|
+
responses: {
|
74621
|
+
200: import("zod").ZodObject<{
|
74622
|
+
requestId: import("zod").ZodString;
|
74623
|
+
ticketReasonRequired: import("zod").ZodString;
|
74624
|
+
}, "strip", import("zod").ZodTypeAny, {
|
74625
|
+
requestId: string;
|
74626
|
+
ticketReasonRequired: string;
|
74627
|
+
}, {
|
74628
|
+
requestId: string;
|
74629
|
+
ticketReasonRequired: string;
|
74630
|
+
}>;
|
74631
|
+
400: import("zod").ZodObject<{
|
74632
|
+
message: import("zod").ZodString;
|
74633
|
+
}, "strip", import("zod").ZodTypeAny, {
|
74634
|
+
message: string;
|
74635
|
+
}, {
|
74636
|
+
message: string;
|
74637
|
+
}>;
|
74638
|
+
401: import("zod").ZodObject<{
|
74639
|
+
message: import("zod").ZodString;
|
74640
|
+
error: import("zod").ZodAny;
|
74641
|
+
}, "strip", import("zod").ZodTypeAny, {
|
74642
|
+
message: string;
|
74643
|
+
error?: any;
|
74644
|
+
}, {
|
74645
|
+
message: string;
|
74646
|
+
error?: any;
|
74647
|
+
}>;
|
74648
|
+
500: import("zod").ZodObject<{
|
74649
|
+
message: import("zod").ZodString;
|
74650
|
+
error: import("zod").ZodAny;
|
74651
|
+
}, "strip", import("zod").ZodTypeAny, {
|
74652
|
+
message: string;
|
74653
|
+
error?: any;
|
74654
|
+
}, {
|
74655
|
+
message: string;
|
74656
|
+
error?: any;
|
74657
|
+
}>;
|
74658
|
+
};
|
74659
|
+
path: "ticket/gs/ticket-reason-required";
|
74660
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
74661
|
+
'x-tenant': import("zod").ZodString;
|
74662
|
+
authorization: import("zod").ZodString;
|
74663
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
74664
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
74665
|
+
}, "strip", import("zod").ZodTypeAny, {
|
74666
|
+
'x-tenant': string;
|
74667
|
+
authorization: string;
|
74668
|
+
'x-client-timezone': string;
|
74669
|
+
'x-code'?: string | undefined;
|
74670
|
+
}, {
|
74671
|
+
'x-tenant': string;
|
74672
|
+
authorization: string;
|
74673
|
+
'x-code'?: string | undefined;
|
74674
|
+
'x-client-timezone'?: string | undefined;
|
74675
|
+
}>>>;
|
74676
|
+
};
|
74552
74677
|
};
|
74553
74678
|
};
|
74554
74679
|
export declare const extensionContract: {
|
@@ -137920,6 +138045,131 @@ export declare const telephonyContract: {
|
|
137920
138045
|
'x-client-timezone'?: string | undefined;
|
137921
138046
|
}>>>;
|
137922
138047
|
};
|
138048
|
+
getCallRedirectSetting: {
|
138049
|
+
method: "GET";
|
138050
|
+
responses: {
|
138051
|
+
200: import("zod").ZodObject<{
|
138052
|
+
requestId: import("zod").ZodString;
|
138053
|
+
callRedirectTo: import("zod").ZodString;
|
138054
|
+
}, "strip", import("zod").ZodTypeAny, {
|
138055
|
+
requestId: string;
|
138056
|
+
callRedirectTo: string;
|
138057
|
+
}, {
|
138058
|
+
requestId: string;
|
138059
|
+
callRedirectTo: string;
|
138060
|
+
}>;
|
138061
|
+
400: import("zod").ZodObject<{
|
138062
|
+
message: import("zod").ZodString;
|
138063
|
+
}, "strip", import("zod").ZodTypeAny, {
|
138064
|
+
message: string;
|
138065
|
+
}, {
|
138066
|
+
message: string;
|
138067
|
+
}>;
|
138068
|
+
401: import("zod").ZodObject<{
|
138069
|
+
message: import("zod").ZodString;
|
138070
|
+
error: import("zod").ZodAny;
|
138071
|
+
}, "strip", import("zod").ZodTypeAny, {
|
138072
|
+
message: string;
|
138073
|
+
error?: any;
|
138074
|
+
}, {
|
138075
|
+
message: string;
|
138076
|
+
error?: any;
|
138077
|
+
}>;
|
138078
|
+
500: import("zod").ZodObject<{
|
138079
|
+
message: import("zod").ZodString;
|
138080
|
+
error: import("zod").ZodAny;
|
138081
|
+
}, "strip", import("zod").ZodTypeAny, {
|
138082
|
+
message: string;
|
138083
|
+
error?: any;
|
138084
|
+
}, {
|
138085
|
+
message: string;
|
138086
|
+
error?: any;
|
138087
|
+
}>;
|
138088
|
+
};
|
138089
|
+
path: "telephony-cdr/call-redirect-setting";
|
138090
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
138091
|
+
'x-tenant': import("zod").ZodString;
|
138092
|
+
authorization: import("zod").ZodString;
|
138093
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
138094
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
138095
|
+
}, "strip", import("zod").ZodTypeAny, {
|
138096
|
+
'x-tenant': string;
|
138097
|
+
authorization: string;
|
138098
|
+
'x-client-timezone': string;
|
138099
|
+
'x-code'?: string | undefined;
|
138100
|
+
}, {
|
138101
|
+
'x-tenant': string;
|
138102
|
+
authorization: string;
|
138103
|
+
'x-code'?: string | undefined;
|
138104
|
+
'x-client-timezone'?: string | undefined;
|
138105
|
+
}>>>;
|
138106
|
+
};
|
138107
|
+
updateCallRedirectSetting: {
|
138108
|
+
body: import("zod").ZodObject<{
|
138109
|
+
callRedirectTo: import("zod").ZodString;
|
138110
|
+
}, "strip", import("zod").ZodTypeAny, {
|
138111
|
+
callRedirectTo: string;
|
138112
|
+
}, {
|
138113
|
+
callRedirectTo: string;
|
138114
|
+
}>;
|
138115
|
+
method: "PATCH";
|
138116
|
+
responses: {
|
138117
|
+
200: import("zod").ZodObject<{
|
138118
|
+
requestId: import("zod").ZodString;
|
138119
|
+
callRedirectTo: import("zod").ZodString;
|
138120
|
+
}, "strip", import("zod").ZodTypeAny, {
|
138121
|
+
requestId: string;
|
138122
|
+
callRedirectTo: string;
|
138123
|
+
}, {
|
138124
|
+
requestId: string;
|
138125
|
+
callRedirectTo: string;
|
138126
|
+
}>;
|
138127
|
+
400: import("zod").ZodObject<{
|
138128
|
+
message: import("zod").ZodString;
|
138129
|
+
}, "strip", import("zod").ZodTypeAny, {
|
138130
|
+
message: string;
|
138131
|
+
}, {
|
138132
|
+
message: string;
|
138133
|
+
}>;
|
138134
|
+
401: import("zod").ZodObject<{
|
138135
|
+
message: import("zod").ZodString;
|
138136
|
+
error: import("zod").ZodAny;
|
138137
|
+
}, "strip", import("zod").ZodTypeAny, {
|
138138
|
+
message: string;
|
138139
|
+
error?: any;
|
138140
|
+
}, {
|
138141
|
+
message: string;
|
138142
|
+
error?: any;
|
138143
|
+
}>;
|
138144
|
+
500: import("zod").ZodObject<{
|
138145
|
+
message: import("zod").ZodString;
|
138146
|
+
error: import("zod").ZodAny;
|
138147
|
+
}, "strip", import("zod").ZodTypeAny, {
|
138148
|
+
message: string;
|
138149
|
+
error?: any;
|
138150
|
+
}, {
|
138151
|
+
message: string;
|
138152
|
+
error?: any;
|
138153
|
+
}>;
|
138154
|
+
};
|
138155
|
+
path: "telephony-cdr/call-redirect-setting";
|
138156
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
138157
|
+
'x-tenant': import("zod").ZodString;
|
138158
|
+
authorization: import("zod").ZodString;
|
138159
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
138160
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
138161
|
+
}, "strip", import("zod").ZodTypeAny, {
|
138162
|
+
'x-tenant': string;
|
138163
|
+
authorization: string;
|
138164
|
+
'x-client-timezone': string;
|
138165
|
+
'x-code'?: string | undefined;
|
138166
|
+
}, {
|
138167
|
+
'x-tenant': string;
|
138168
|
+
authorization: string;
|
138169
|
+
'x-code'?: string | undefined;
|
138170
|
+
'x-client-timezone'?: string | undefined;
|
138171
|
+
}>>>;
|
138172
|
+
};
|
137923
138173
|
};
|
137924
138174
|
};
|
137925
138175
|
export declare const notificationContract: {
|