@kl1/contracts 1.2.49-uat → 1.2.51-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/activity-log/index.d.ts +3 -3
- package/dist/api-contracts/src/attribute/index.d.ts +21 -21
- package/dist/api-contracts/src/auth/index.d.ts +15 -15
- package/dist/api-contracts/src/automation-queue/index.d.ts +21 -21
- package/dist/api-contracts/src/base-contract.d.ts +3 -3
- package/dist/api-contracts/src/category/index.d.ts +18 -18
- package/dist/api-contracts/src/channel/index.d.ts +66 -66
- package/dist/api-contracts/src/chat/index.d.ts +60 -60
- package/dist/api-contracts/src/comment/index.d.ts +16 -16
- package/dist/api-contracts/src/company/index.d.ts +5 -5
- package/dist/api-contracts/src/contact/index.d.ts +56 -56
- package/dist/api-contracts/src/contract.d.ts +795 -795
- package/dist/api-contracts/src/cx-intelligence/index.d.ts +9 -9
- package/dist/api-contracts/src/cx-log/index.d.ts +9 -9
- package/dist/api-contracts/src/dashboard/index.d.ts +54 -54
- package/dist/api-contracts/src/extension/index.d.ts +21 -21
- package/dist/api-contracts/src/mail/account-contract.d.ts +33 -33
- package/dist/api-contracts/src/mail/mail-contract.d.ts +33 -33
- package/dist/api-contracts/src/permission/index.d.ts +3 -3
- package/dist/api-contracts/src/presence-status/index.d.ts +15 -15
- package/dist/api-contracts/src/role/index.d.ts +15 -15
- package/dist/api-contracts/src/subscription/index.d.ts +55 -76
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/schema.d.ts +0 -53
- package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/index.d.ts +12 -12
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +9 -9
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +42 -42
- package/dist/api-contracts/src/telephony-extension/index.d.ts +3 -3
- package/dist/api-contracts/src/ticket/index.d.ts +76 -76
- package/dist/api-contracts/src/upload/index.d.ts +6 -6
- package/dist/api-contracts/src/user/index.d.ts +18 -18
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +6 -6
- package/dist/api-contracts/src/widget/index.d.ts +27 -27
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +18 -18
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -165,17 +165,17 @@ export declare const roleContract: {
|
|
165
165
|
path: "role";
|
166
166
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
167
167
|
'x-tenant': z.ZodString;
|
168
|
-
|
168
|
+
'x-service-token': z.ZodString;
|
169
169
|
'x-code': z.ZodOptional<z.ZodString>;
|
170
170
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
171
171
|
}, "strip", z.ZodTypeAny, {
|
172
172
|
'x-tenant': string;
|
173
|
-
|
173
|
+
'x-service-token': string;
|
174
174
|
'x-client-timezone': string;
|
175
175
|
'x-code'?: string | undefined;
|
176
176
|
}, {
|
177
177
|
'x-tenant': string;
|
178
|
-
|
178
|
+
'x-service-token': string;
|
179
179
|
'x-code'?: string | undefined;
|
180
180
|
'x-client-timezone'?: string | undefined;
|
181
181
|
}>>>;
|
@@ -335,17 +335,17 @@ export declare const roleContract: {
|
|
335
335
|
path: "role";
|
336
336
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
337
337
|
'x-tenant': z.ZodString;
|
338
|
-
|
338
|
+
'x-service-token': z.ZodString;
|
339
339
|
'x-code': z.ZodOptional<z.ZodString>;
|
340
340
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
341
341
|
}, "strip", z.ZodTypeAny, {
|
342
342
|
'x-tenant': string;
|
343
|
-
|
343
|
+
'x-service-token': string;
|
344
344
|
'x-client-timezone': string;
|
345
345
|
'x-code'?: string | undefined;
|
346
346
|
}, {
|
347
347
|
'x-tenant': string;
|
348
|
-
|
348
|
+
'x-service-token': string;
|
349
349
|
'x-code'?: string | undefined;
|
350
350
|
'x-client-timezone'?: string | undefined;
|
351
351
|
}>>>;
|
@@ -519,17 +519,17 @@ export declare const roleContract: {
|
|
519
519
|
path: "role/:id";
|
520
520
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
521
521
|
'x-tenant': z.ZodString;
|
522
|
-
|
522
|
+
'x-service-token': z.ZodString;
|
523
523
|
'x-code': z.ZodOptional<z.ZodString>;
|
524
524
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
525
525
|
}, "strip", z.ZodTypeAny, {
|
526
526
|
'x-tenant': string;
|
527
|
-
|
527
|
+
'x-service-token': string;
|
528
528
|
'x-client-timezone': string;
|
529
529
|
'x-code'?: string | undefined;
|
530
530
|
}, {
|
531
531
|
'x-tenant': string;
|
532
|
-
|
532
|
+
'x-service-token': string;
|
533
533
|
'x-code'?: string | undefined;
|
534
534
|
'x-client-timezone'?: string | undefined;
|
535
535
|
}>>>;
|
@@ -570,17 +570,17 @@ export declare const roleContract: {
|
|
570
570
|
path: "role/:id";
|
571
571
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
572
572
|
'x-tenant': z.ZodString;
|
573
|
-
|
573
|
+
'x-service-token': z.ZodString;
|
574
574
|
'x-code': z.ZodOptional<z.ZodString>;
|
575
575
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
576
576
|
}, "strip", z.ZodTypeAny, {
|
577
577
|
'x-tenant': string;
|
578
|
-
|
578
|
+
'x-service-token': string;
|
579
579
|
'x-client-timezone': string;
|
580
580
|
'x-code'?: string | undefined;
|
581
581
|
}, {
|
582
582
|
'x-tenant': string;
|
583
|
-
|
583
|
+
'x-service-token': string;
|
584
584
|
'x-code'?: string | undefined;
|
585
585
|
'x-client-timezone'?: string | undefined;
|
586
586
|
}>>>;
|
@@ -695,17 +695,17 @@ export declare const roleContract: {
|
|
695
695
|
path: "role/:id";
|
696
696
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
697
697
|
'x-tenant': z.ZodString;
|
698
|
-
|
698
|
+
'x-service-token': z.ZodString;
|
699
699
|
'x-code': z.ZodOptional<z.ZodString>;
|
700
700
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
701
701
|
}, "strip", z.ZodTypeAny, {
|
702
702
|
'x-tenant': string;
|
703
|
-
|
703
|
+
'x-service-token': string;
|
704
704
|
'x-client-timezone': string;
|
705
705
|
'x-code'?: string | undefined;
|
706
706
|
}, {
|
707
707
|
'x-tenant': string;
|
708
|
-
|
708
|
+
'x-service-token': string;
|
709
709
|
'x-code'?: string | undefined;
|
710
710
|
'x-client-timezone'?: string | undefined;
|
711
711
|
}>>>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { z } from 'zod';
|
2
|
-
import { ProductPriceSchema, ProductSchema, SubscriptionProuctSchema, SubscriptionSchema } from './schema';
|
2
|
+
import { CustomerSchema, ProductPriceSchema, ProductSchema, SubscriptionProuctSchema, SubscriptionSchema } from './schema';
|
3
3
|
import { UpdateSubscriptionSchema, TopUpBalanceSchema } from './validation';
|
4
4
|
export type UpdateSubscriptionBody = z.infer<typeof UpdateSubscriptionSchema>;
|
5
5
|
export type topUpBalanceBody = z.infer<typeof TopUpBalanceSchema>;
|
@@ -7,6 +7,7 @@ export type Subscription = z.infer<typeof SubscriptionSchema>;
|
|
7
7
|
export type SubscriptionProuct = z.infer<typeof SubscriptionProuctSchema>;
|
8
8
|
export type ProductPrice = z.infer<typeof ProductPriceSchema>;
|
9
9
|
export type Product = z.infer<typeof ProductSchema>;
|
10
|
+
export type Customer = z.infer<typeof CustomerSchema>;
|
10
11
|
export declare const subscriptionContract: {
|
11
12
|
getSubscription: {
|
12
13
|
method: "GET";
|
@@ -14,6 +15,37 @@ export declare const subscriptionContract: {
|
|
14
15
|
responses: {
|
15
16
|
200: z.ZodObject<{
|
16
17
|
requestId: z.ZodString;
|
18
|
+
customer: z.ZodObject<{
|
19
|
+
id: z.ZodString;
|
20
|
+
createdAt: z.ZodDate;
|
21
|
+
updatedAt: z.ZodDate;
|
22
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
23
|
+
provider: z.ZodString;
|
24
|
+
customerId: z.ZodString;
|
25
|
+
email: z.ZodString;
|
26
|
+
name: z.ZodString;
|
27
|
+
balance: z.ZodNumber;
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
29
|
+
id: string;
|
30
|
+
name: string;
|
31
|
+
email: string;
|
32
|
+
createdAt: Date;
|
33
|
+
updatedAt: Date;
|
34
|
+
deletedAt: Date | null;
|
35
|
+
provider: string;
|
36
|
+
customerId: string;
|
37
|
+
balance: number;
|
38
|
+
}, {
|
39
|
+
id: string;
|
40
|
+
name: string;
|
41
|
+
email: string;
|
42
|
+
createdAt: Date;
|
43
|
+
updatedAt: Date;
|
44
|
+
deletedAt: Date | null;
|
45
|
+
provider: string;
|
46
|
+
customerId: string;
|
47
|
+
balance: number;
|
48
|
+
}>;
|
17
49
|
subscription: z.ZodObject<{
|
18
50
|
id: z.ZodString;
|
19
51
|
createdAt: z.ZodDate;
|
@@ -789,37 +821,6 @@ export declare const subscriptionContract: {
|
|
789
821
|
includedQuantity: number;
|
790
822
|
}[];
|
791
823
|
}>;
|
792
|
-
customer: z.ZodObject<{
|
793
|
-
id: z.ZodString;
|
794
|
-
createdAt: z.ZodDate;
|
795
|
-
updatedAt: z.ZodDate;
|
796
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
797
|
-
provider: z.ZodString;
|
798
|
-
customerId: z.ZodString;
|
799
|
-
email: z.ZodString;
|
800
|
-
name: z.ZodString;
|
801
|
-
balance: z.ZodNumber;
|
802
|
-
}, "strip", z.ZodTypeAny, {
|
803
|
-
id: string;
|
804
|
-
name: string;
|
805
|
-
email: string;
|
806
|
-
createdAt: Date;
|
807
|
-
updatedAt: Date;
|
808
|
-
deletedAt: Date | null;
|
809
|
-
provider: string;
|
810
|
-
customerId: string;
|
811
|
-
balance: number;
|
812
|
-
}, {
|
813
|
-
id: string;
|
814
|
-
name: string;
|
815
|
-
email: string;
|
816
|
-
createdAt: Date;
|
817
|
-
updatedAt: Date;
|
818
|
-
deletedAt: Date | null;
|
819
|
-
provider: string;
|
820
|
-
customerId: string;
|
821
|
-
balance: number;
|
822
|
-
}>;
|
823
824
|
}, "strip", z.ZodTypeAny, {
|
824
825
|
type: string;
|
825
826
|
interval: string;
|
@@ -961,17 +962,6 @@ export declare const subscriptionContract: {
|
|
961
962
|
limit: number;
|
962
963
|
subscriptionItemId: string;
|
963
964
|
}[];
|
964
|
-
customer: {
|
965
|
-
id: string;
|
966
|
-
name: string;
|
967
|
-
email: string;
|
968
|
-
createdAt: Date;
|
969
|
-
updatedAt: Date;
|
970
|
-
deletedAt: Date | null;
|
971
|
-
provider: string;
|
972
|
-
customerId: string;
|
973
|
-
balance: number;
|
974
|
-
};
|
975
965
|
}, {
|
976
966
|
type: string;
|
977
967
|
interval: string;
|
@@ -1113,20 +1103,20 @@ export declare const subscriptionContract: {
|
|
1113
1103
|
limit: number;
|
1114
1104
|
subscriptionItemId: string;
|
1115
1105
|
}[];
|
1116
|
-
customer: {
|
1117
|
-
id: string;
|
1118
|
-
name: string;
|
1119
|
-
email: string;
|
1120
|
-
createdAt: Date;
|
1121
|
-
updatedAt: Date;
|
1122
|
-
deletedAt: Date | null;
|
1123
|
-
provider: string;
|
1124
|
-
customerId: string;
|
1125
|
-
balance: number;
|
1126
|
-
};
|
1127
1106
|
}>;
|
1128
1107
|
}, "strip", z.ZodTypeAny, {
|
1129
1108
|
requestId: string;
|
1109
|
+
customer: {
|
1110
|
+
id: string;
|
1111
|
+
name: string;
|
1112
|
+
email: string;
|
1113
|
+
createdAt: Date;
|
1114
|
+
updatedAt: Date;
|
1115
|
+
deletedAt: Date | null;
|
1116
|
+
provider: string;
|
1117
|
+
customerId: string;
|
1118
|
+
balance: number;
|
1119
|
+
};
|
1130
1120
|
subscription: {
|
1131
1121
|
type: string;
|
1132
1122
|
interval: string;
|
@@ -1268,20 +1258,20 @@ export declare const subscriptionContract: {
|
|
1268
1258
|
limit: number;
|
1269
1259
|
subscriptionItemId: string;
|
1270
1260
|
}[];
|
1271
|
-
customer: {
|
1272
|
-
id: string;
|
1273
|
-
name: string;
|
1274
|
-
email: string;
|
1275
|
-
createdAt: Date;
|
1276
|
-
updatedAt: Date;
|
1277
|
-
deletedAt: Date | null;
|
1278
|
-
provider: string;
|
1279
|
-
customerId: string;
|
1280
|
-
balance: number;
|
1281
|
-
};
|
1282
1261
|
};
|
1283
1262
|
}, {
|
1284
1263
|
requestId: string;
|
1264
|
+
customer: {
|
1265
|
+
id: string;
|
1266
|
+
name: string;
|
1267
|
+
email: string;
|
1268
|
+
createdAt: Date;
|
1269
|
+
updatedAt: Date;
|
1270
|
+
deletedAt: Date | null;
|
1271
|
+
provider: string;
|
1272
|
+
customerId: string;
|
1273
|
+
balance: number;
|
1274
|
+
};
|
1285
1275
|
subscription: {
|
1286
1276
|
type: string;
|
1287
1277
|
interval: string;
|
@@ -1423,17 +1413,6 @@ export declare const subscriptionContract: {
|
|
1423
1413
|
limit: number;
|
1424
1414
|
subscriptionItemId: string;
|
1425
1415
|
}[];
|
1426
|
-
customer: {
|
1427
|
-
id: string;
|
1428
|
-
name: string;
|
1429
|
-
email: string;
|
1430
|
-
createdAt: Date;
|
1431
|
-
updatedAt: Date;
|
1432
|
-
deletedAt: Date | null;
|
1433
|
-
provider: string;
|
1434
|
-
customerId: string;
|
1435
|
-
balance: number;
|
1436
|
-
};
|
1437
1416
|
};
|
1438
1417
|
}>;
|
1439
1418
|
500: z.ZodObject<{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/subscription/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAO,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,EACL,kBAAkB,EAClB,aAAa,EACb,wBAAwB,EACxB,kBAAkB,EACnB,MAAM,UAAU,CAAC;AAClB,OAAO,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sub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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqEhC,CAAC"}
|
@@ -1804,37 +1804,6 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
1804
1804
|
includedQuantity: number;
|
1805
1805
|
}[];
|
1806
1806
|
}>;
|
1807
|
-
customer: z.ZodObject<{
|
1808
|
-
id: z.ZodString;
|
1809
|
-
createdAt: z.ZodDate;
|
1810
|
-
updatedAt: z.ZodDate;
|
1811
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
1812
|
-
provider: z.ZodString;
|
1813
|
-
customerId: z.ZodString;
|
1814
|
-
email: z.ZodString;
|
1815
|
-
name: z.ZodString;
|
1816
|
-
balance: z.ZodNumber;
|
1817
|
-
}, "strip", z.ZodTypeAny, {
|
1818
|
-
id: string;
|
1819
|
-
name: string;
|
1820
|
-
email: string;
|
1821
|
-
createdAt: Date;
|
1822
|
-
updatedAt: Date;
|
1823
|
-
deletedAt: Date | null;
|
1824
|
-
provider: string;
|
1825
|
-
customerId: string;
|
1826
|
-
balance: number;
|
1827
|
-
}, {
|
1828
|
-
id: string;
|
1829
|
-
name: string;
|
1830
|
-
email: string;
|
1831
|
-
createdAt: Date;
|
1832
|
-
updatedAt: Date;
|
1833
|
-
deletedAt: Date | null;
|
1834
|
-
provider: string;
|
1835
|
-
customerId: string;
|
1836
|
-
balance: number;
|
1837
|
-
}>;
|
1838
1807
|
}, "strip", z.ZodTypeAny, {
|
1839
1808
|
type: string;
|
1840
1809
|
interval: string;
|
@@ -1976,17 +1945,6 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
1976
1945
|
limit: number;
|
1977
1946
|
subscriptionItemId: string;
|
1978
1947
|
}[];
|
1979
|
-
customer: {
|
1980
|
-
id: string;
|
1981
|
-
name: string;
|
1982
|
-
email: string;
|
1983
|
-
createdAt: Date;
|
1984
|
-
updatedAt: Date;
|
1985
|
-
deletedAt: Date | null;
|
1986
|
-
provider: string;
|
1987
|
-
customerId: string;
|
1988
|
-
balance: number;
|
1989
|
-
};
|
1990
1948
|
}, {
|
1991
1949
|
type: string;
|
1992
1950
|
interval: string;
|
@@ -2128,16 +2086,5 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
2128
2086
|
limit: number;
|
2129
2087
|
subscriptionItemId: string;
|
2130
2088
|
}[];
|
2131
|
-
customer: {
|
2132
|
-
id: string;
|
2133
|
-
name: string;
|
2134
|
-
email: string;
|
2135
|
-
createdAt: Date;
|
2136
|
-
updatedAt: Date;
|
2137
|
-
deletedAt: Date | null;
|
2138
|
-
provider: string;
|
2139
|
-
customerId: string;
|
2140
|
-
balance: number;
|
2141
|
-
};
|
2142
2089
|
}>;
|
2143
2090
|
//# sourceMappingURL=schema.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.d.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc7B,CAAC"}
|
@@ -73,17 +73,17 @@ export declare const tagContract: {
|
|
73
73
|
path: "tags";
|
74
74
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
75
75
|
'x-tenant': z.ZodString;
|
76
|
-
|
76
|
+
'x-service-token': z.ZodString;
|
77
77
|
'x-code': z.ZodOptional<z.ZodString>;
|
78
78
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
79
79
|
}, "strip", z.ZodTypeAny, {
|
80
80
|
'x-tenant': string;
|
81
|
-
|
81
|
+
'x-service-token': string;
|
82
82
|
'x-client-timezone': string;
|
83
83
|
'x-code'?: string | undefined;
|
84
84
|
}, {
|
85
85
|
'x-tenant': string;
|
86
|
-
|
86
|
+
'x-service-token': string;
|
87
87
|
'x-code'?: string | undefined;
|
88
88
|
'x-client-timezone'?: string | undefined;
|
89
89
|
}>>>;
|
@@ -155,17 +155,17 @@ export declare const tagContract: {
|
|
155
155
|
path: "tags";
|
156
156
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
157
157
|
'x-tenant': z.ZodString;
|
158
|
-
|
158
|
+
'x-service-token': z.ZodString;
|
159
159
|
'x-code': z.ZodOptional<z.ZodString>;
|
160
160
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
161
161
|
}, "strip", z.ZodTypeAny, {
|
162
162
|
'x-tenant': string;
|
163
|
-
|
163
|
+
'x-service-token': string;
|
164
164
|
'x-client-timezone': string;
|
165
165
|
'x-code'?: string | undefined;
|
166
166
|
}, {
|
167
167
|
'x-tenant': string;
|
168
|
-
|
168
|
+
'x-service-token': string;
|
169
169
|
'x-code'?: string | undefined;
|
170
170
|
'x-client-timezone'?: string | undefined;
|
171
171
|
}>>>;
|
@@ -241,17 +241,17 @@ export declare const tagContract: {
|
|
241
241
|
path: "tags/:id";
|
242
242
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
243
243
|
'x-tenant': z.ZodString;
|
244
|
-
|
244
|
+
'x-service-token': z.ZodString;
|
245
245
|
'x-code': z.ZodOptional<z.ZodString>;
|
246
246
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
247
247
|
}, "strip", z.ZodTypeAny, {
|
248
248
|
'x-tenant': string;
|
249
|
-
|
249
|
+
'x-service-token': string;
|
250
250
|
'x-client-timezone': string;
|
251
251
|
'x-code'?: string | undefined;
|
252
252
|
}, {
|
253
253
|
'x-tenant': string;
|
254
|
-
|
254
|
+
'x-service-token': string;
|
255
255
|
'x-code'?: string | undefined;
|
256
256
|
'x-client-timezone'?: string | undefined;
|
257
257
|
}>>>;
|
@@ -291,17 +291,17 @@ export declare const tagContract: {
|
|
291
291
|
path: "tags/:id";
|
292
292
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
293
293
|
'x-tenant': z.ZodString;
|
294
|
-
|
294
|
+
'x-service-token': z.ZodString;
|
295
295
|
'x-code': z.ZodOptional<z.ZodString>;
|
296
296
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
297
297
|
}, "strip", z.ZodTypeAny, {
|
298
298
|
'x-tenant': string;
|
299
|
-
|
299
|
+
'x-service-token': string;
|
300
300
|
'x-client-timezone': string;
|
301
301
|
'x-code'?: string | undefined;
|
302
302
|
}, {
|
303
303
|
'x-tenant': string;
|
304
|
-
|
304
|
+
'x-service-token': string;
|
305
305
|
'x-code'?: string | undefined;
|
306
306
|
'x-client-timezone'?: string | undefined;
|
307
307
|
}>>>;
|
@@ -391,17 +391,17 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
391
391
|
path: "telephony/agents/presence_status";
|
392
392
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
393
393
|
'x-tenant': z.ZodString;
|
394
|
-
|
394
|
+
'x-service-token': z.ZodString;
|
395
395
|
'x-code': z.ZodOptional<z.ZodString>;
|
396
396
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
397
397
|
}, "strip", z.ZodTypeAny, {
|
398
398
|
'x-tenant': string;
|
399
|
-
|
399
|
+
'x-service-token': string;
|
400
400
|
'x-client-timezone': string;
|
401
401
|
'x-code'?: string | undefined;
|
402
402
|
}, {
|
403
403
|
'x-tenant': string;
|
404
|
-
|
404
|
+
'x-service-token': string;
|
405
405
|
'x-code'?: string | undefined;
|
406
406
|
'x-client-timezone'?: string | undefined;
|
407
407
|
}>>>;
|
@@ -802,17 +802,17 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
802
802
|
path: "telephony/presence_status/check_update/:userId";
|
803
803
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
804
804
|
'x-tenant': z.ZodString;
|
805
|
-
|
805
|
+
'x-service-token': z.ZodString;
|
806
806
|
'x-code': z.ZodOptional<z.ZodString>;
|
807
807
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
808
808
|
}, "strip", z.ZodTypeAny, {
|
809
809
|
'x-tenant': string;
|
810
|
-
|
810
|
+
'x-service-token': string;
|
811
811
|
'x-client-timezone': string;
|
812
812
|
'x-code'?: string | undefined;
|
813
813
|
}, {
|
814
814
|
'x-tenant': string;
|
815
|
-
|
815
|
+
'x-service-token': string;
|
816
816
|
'x-code'?: string | undefined;
|
817
817
|
'x-client-timezone'?: string | undefined;
|
818
818
|
}>>>;
|
@@ -1349,17 +1349,17 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
1349
1349
|
path: "telephony/presence_status/user";
|
1350
1350
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1351
1351
|
'x-tenant': z.ZodString;
|
1352
|
-
|
1352
|
+
'x-service-token': z.ZodString;
|
1353
1353
|
'x-code': z.ZodOptional<z.ZodString>;
|
1354
1354
|
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
1355
1355
|
}, "strip", z.ZodTypeAny, {
|
1356
1356
|
'x-tenant': string;
|
1357
|
-
|
1357
|
+
'x-service-token': string;
|
1358
1358
|
'x-client-timezone': string;
|
1359
1359
|
'x-code'?: string | undefined;
|
1360
1360
|
}, {
|
1361
1361
|
'x-tenant': string;
|
1362
|
-
|
1362
|
+
'x-service-token': string;
|
1363
1363
|
'x-code'?: string | undefined;
|
1364
1364
|
'x-client-timezone'?: string | undefined;
|
1365
1365
|
}>>>;
|