@kl1/contracts 1.1.82-uat → 1.1.84-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/contract.d.ts +643 -107
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/index.d.ts +559 -0
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -0
- package/dist/api-contracts/src/presence-status/schema.d.ts +31 -0
- package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -0
- package/dist/api-contracts/src/presence-status/validation.d.ts +28 -0
- package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -0
- package/dist/api-contracts/src/subscription/index.d.ts +36 -1
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/validation.d.ts +7 -0
- package/dist/api-contracts/src/subscription/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +40 -99
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +12 -31
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +16 -8
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +24 -16
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/index.js +1527 -1400
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1526 -1400
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -27520,79 +27520,6 @@ export declare const apiContract: {
|
|
27520
27520
|
};
|
27521
27521
|
};
|
27522
27522
|
agentPresenceStatus: {
|
27523
|
-
getAllStatus: {
|
27524
|
-
summary: "Get all telephony presence status list.";
|
27525
|
-
method: "GET";
|
27526
|
-
path: "telephony/presence_status";
|
27527
|
-
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
27528
|
-
'x-tenant': import("zod").ZodString;
|
27529
|
-
authorization: import("zod").ZodString;
|
27530
|
-
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
27531
|
-
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
27532
|
-
}, "strip", import("zod").ZodTypeAny, {
|
27533
|
-
'x-tenant': string;
|
27534
|
-
authorization: string;
|
27535
|
-
'x-client-timezone': string;
|
27536
|
-
'x-code'?: string | undefined;
|
27537
|
-
}, {
|
27538
|
-
'x-tenant': string;
|
27539
|
-
authorization: string;
|
27540
|
-
'x-code'?: string | undefined;
|
27541
|
-
'x-client-timezone'?: string | undefined;
|
27542
|
-
}>>>;
|
27543
|
-
responses: {
|
27544
|
-
200: import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
27545
|
-
id: import("zod").ZodString;
|
27546
|
-
createdAt: import("zod").ZodDate;
|
27547
|
-
updatedAt: import("zod").ZodDate;
|
27548
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
27549
|
-
}, {
|
27550
|
-
status: import("zod").ZodString;
|
27551
|
-
description: import("zod").ZodString;
|
27552
|
-
}>, "strip", import("zod").ZodTypeAny, {
|
27553
|
-
id: string;
|
27554
|
-
description: string;
|
27555
|
-
status: string;
|
27556
|
-
createdAt: Date;
|
27557
|
-
updatedAt: Date;
|
27558
|
-
deletedAt: Date | null;
|
27559
|
-
}, {
|
27560
|
-
id: string;
|
27561
|
-
description: string;
|
27562
|
-
status: string;
|
27563
|
-
createdAt: Date;
|
27564
|
-
updatedAt: Date;
|
27565
|
-
deletedAt: Date | null;
|
27566
|
-
}>, "many">;
|
27567
|
-
400: import("zod").ZodObject<{
|
27568
|
-
message: import("zod").ZodString;
|
27569
|
-
}, "strip", import("zod").ZodTypeAny, {
|
27570
|
-
message: string;
|
27571
|
-
}, {
|
27572
|
-
message: string;
|
27573
|
-
}>;
|
27574
|
-
401: import("zod").ZodObject<{
|
27575
|
-
message: import("zod").ZodString;
|
27576
|
-
error: import("zod").ZodAny;
|
27577
|
-
}, "strip", import("zod").ZodTypeAny, {
|
27578
|
-
message: string;
|
27579
|
-
error?: any;
|
27580
|
-
}, {
|
27581
|
-
message: string;
|
27582
|
-
error?: any;
|
27583
|
-
}>;
|
27584
|
-
500: import("zod").ZodObject<{
|
27585
|
-
message: import("zod").ZodString;
|
27586
|
-
error: import("zod").ZodAny;
|
27587
|
-
}, "strip", import("zod").ZodTypeAny, {
|
27588
|
-
message: string;
|
27589
|
-
error?: any;
|
27590
|
-
}, {
|
27591
|
-
message: string;
|
27592
|
-
error?: any;
|
27593
|
-
}>;
|
27594
|
-
};
|
27595
|
-
};
|
27596
27523
|
getAllAgentStatus: {
|
27597
27524
|
summary: "Get all user presence status list.";
|
27598
27525
|
method: "GET";
|
@@ -27824,24 +27751,26 @@ export declare const apiContract: {
|
|
27824
27751
|
telephonySignature: string | null;
|
27825
27752
|
};
|
27826
27753
|
}>;
|
27827
|
-
presenceStatus: import("zod").ZodObject<
|
27754
|
+
presenceStatus: import("zod").ZodObject<{
|
27828
27755
|
id: import("zod").ZodString;
|
27829
27756
|
createdAt: import("zod").ZodDate;
|
27830
27757
|
updatedAt: import("zod").ZodDate;
|
27831
27758
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
27832
|
-
}, {
|
27833
27759
|
status: import("zod").ZodString;
|
27834
|
-
description: import("zod").
|
27835
|
-
|
27760
|
+
description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
27761
|
+
position: import("zod").ZodNumber;
|
27762
|
+
}, "strip", import("zod").ZodTypeAny, {
|
27836
27763
|
id: string;
|
27837
|
-
|
27764
|
+
position: number;
|
27765
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
27838
27766
|
status: string;
|
27839
27767
|
createdAt: Date;
|
27840
27768
|
updatedAt: Date;
|
27841
27769
|
deletedAt: Date | null;
|
27842
27770
|
}, {
|
27843
27771
|
id: string;
|
27844
|
-
|
27772
|
+
position: number;
|
27773
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
27845
27774
|
status: string;
|
27846
27775
|
createdAt: Date;
|
27847
27776
|
updatedAt: Date;
|
@@ -27899,7 +27828,8 @@ export declare const apiContract: {
|
|
27899
27828
|
deletedAt: Date | null;
|
27900
27829
|
presenceStatus: {
|
27901
27830
|
id: string;
|
27902
|
-
|
27831
|
+
position: number;
|
27832
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
27903
27833
|
status: string;
|
27904
27834
|
createdAt: Date;
|
27905
27835
|
updatedAt: Date;
|
@@ -27957,7 +27887,8 @@ export declare const apiContract: {
|
|
27957
27887
|
deletedAt: Date | null;
|
27958
27888
|
presenceStatus: {
|
27959
27889
|
id: string;
|
27960
|
-
|
27890
|
+
position: number;
|
27891
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
27961
27892
|
status: string;
|
27962
27893
|
createdAt: Date;
|
27963
27894
|
updatedAt: Date;
|
@@ -28232,24 +28163,26 @@ export declare const apiContract: {
|
|
28232
28163
|
telephonySignature: string | null;
|
28233
28164
|
};
|
28234
28165
|
}>;
|
28235
|
-
presenceStatus: import("zod").ZodObject<
|
28166
|
+
presenceStatus: import("zod").ZodObject<{
|
28236
28167
|
id: import("zod").ZodString;
|
28237
28168
|
createdAt: import("zod").ZodDate;
|
28238
28169
|
updatedAt: import("zod").ZodDate;
|
28239
28170
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
28240
|
-
}, {
|
28241
28171
|
status: import("zod").ZodString;
|
28242
|
-
description: import("zod").
|
28243
|
-
|
28172
|
+
description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
28173
|
+
position: import("zod").ZodNumber;
|
28174
|
+
}, "strip", import("zod").ZodTypeAny, {
|
28244
28175
|
id: string;
|
28245
|
-
|
28176
|
+
position: number;
|
28177
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
28246
28178
|
status: string;
|
28247
28179
|
createdAt: Date;
|
28248
28180
|
updatedAt: Date;
|
28249
28181
|
deletedAt: Date | null;
|
28250
28182
|
}, {
|
28251
28183
|
id: string;
|
28252
|
-
|
28184
|
+
position: number;
|
28185
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
28253
28186
|
status: string;
|
28254
28187
|
createdAt: Date;
|
28255
28188
|
updatedAt: Date;
|
@@ -28307,7 +28240,8 @@ export declare const apiContract: {
|
|
28307
28240
|
deletedAt: Date | null;
|
28308
28241
|
presenceStatus: {
|
28309
28242
|
id: string;
|
28310
|
-
|
28243
|
+
position: number;
|
28244
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
28311
28245
|
status: string;
|
28312
28246
|
createdAt: Date;
|
28313
28247
|
updatedAt: Date;
|
@@ -28365,7 +28299,8 @@ export declare const apiContract: {
|
|
28365
28299
|
deletedAt: Date | null;
|
28366
28300
|
presenceStatus: {
|
28367
28301
|
id: string;
|
28368
|
-
|
28302
|
+
position: number;
|
28303
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
28369
28304
|
status: string;
|
28370
28305
|
createdAt: Date;
|
28371
28306
|
updatedAt: Date;
|
@@ -28652,24 +28587,26 @@ export declare const apiContract: {
|
|
28652
28587
|
telephonySignature: string | null;
|
28653
28588
|
};
|
28654
28589
|
}>;
|
28655
|
-
presenceStatus: import("zod").ZodObject<
|
28590
|
+
presenceStatus: import("zod").ZodObject<{
|
28656
28591
|
id: import("zod").ZodString;
|
28657
28592
|
createdAt: import("zod").ZodDate;
|
28658
28593
|
updatedAt: import("zod").ZodDate;
|
28659
28594
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
28660
|
-
}, {
|
28661
28595
|
status: import("zod").ZodString;
|
28662
|
-
description: import("zod").
|
28663
|
-
|
28596
|
+
description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
28597
|
+
position: import("zod").ZodNumber;
|
28598
|
+
}, "strip", import("zod").ZodTypeAny, {
|
28664
28599
|
id: string;
|
28665
|
-
|
28600
|
+
position: number;
|
28601
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
28666
28602
|
status: string;
|
28667
28603
|
createdAt: Date;
|
28668
28604
|
updatedAt: Date;
|
28669
28605
|
deletedAt: Date | null;
|
28670
28606
|
}, {
|
28671
28607
|
id: string;
|
28672
|
-
|
28608
|
+
position: number;
|
28609
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
28673
28610
|
status: string;
|
28674
28611
|
createdAt: Date;
|
28675
28612
|
updatedAt: Date;
|
@@ -28727,7 +28664,8 @@ export declare const apiContract: {
|
|
28727
28664
|
deletedAt: Date | null;
|
28728
28665
|
presenceStatus: {
|
28729
28666
|
id: string;
|
28730
|
-
|
28667
|
+
position: number;
|
28668
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
28731
28669
|
status: string;
|
28732
28670
|
createdAt: Date;
|
28733
28671
|
updatedAt: Date;
|
@@ -28785,7 +28723,8 @@ export declare const apiContract: {
|
|
28785
28723
|
deletedAt: Date | null;
|
28786
28724
|
presenceStatus: {
|
28787
28725
|
id: string;
|
28788
|
-
|
28726
|
+
position: number;
|
28727
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
28789
28728
|
status: string;
|
28790
28729
|
createdAt: Date;
|
28791
28730
|
updatedAt: Date;
|
@@ -28846,7 +28785,8 @@ export declare const apiContract: {
|
|
28846
28785
|
deletedAt: Date | null;
|
28847
28786
|
presenceStatus: {
|
28848
28787
|
id: string;
|
28849
|
-
|
28788
|
+
position: number;
|
28789
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
28850
28790
|
status: string;
|
28851
28791
|
createdAt: Date;
|
28852
28792
|
updatedAt: Date;
|
@@ -28907,7 +28847,8 @@ export declare const apiContract: {
|
|
28907
28847
|
deletedAt: Date | null;
|
28908
28848
|
presenceStatus: {
|
28909
28849
|
id: string;
|
28910
|
-
|
28850
|
+
position: number;
|
28851
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
28911
28852
|
status: string;
|
28912
28853
|
createdAt: Date;
|
28913
28854
|
updatedAt: Date;
|
@@ -29039,7 +28980,8 @@ export declare const apiContract: {
|
|
29039
28980
|
deletedAt: Date | null;
|
29040
28981
|
previousPresenceStatus: {
|
29041
28982
|
id: string;
|
29042
|
-
|
28983
|
+
position: number;
|
28984
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
29043
28985
|
status: string;
|
29044
28986
|
createdAt: Date;
|
29045
28987
|
updatedAt: Date;
|
@@ -29047,7 +28989,8 @@ export declare const apiContract: {
|
|
29047
28989
|
};
|
29048
28990
|
newPresenceStatus: {
|
29049
28991
|
id: string;
|
29050
|
-
|
28992
|
+
position: number;
|
28993
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
29051
28994
|
status: string;
|
29052
28995
|
createdAt: Date;
|
29053
28996
|
updatedAt: Date;
|
@@ -29105,7 +29048,8 @@ export declare const apiContract: {
|
|
29105
29048
|
deletedAt: Date | null;
|
29106
29049
|
previousPresenceStatus: {
|
29107
29050
|
id: string;
|
29108
|
-
|
29051
|
+
position: number;
|
29052
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
29109
29053
|
status: string;
|
29110
29054
|
createdAt: Date;
|
29111
29055
|
updatedAt: Date;
|
@@ -29113,7 +29057,8 @@ export declare const apiContract: {
|
|
29113
29057
|
};
|
29114
29058
|
newPresenceStatus: {
|
29115
29059
|
id: string;
|
29116
|
-
|
29060
|
+
position: number;
|
29061
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
29117
29062
|
status: string;
|
29118
29063
|
createdAt: Date;
|
29119
29064
|
updatedAt: Date;
|
@@ -29173,7 +29118,8 @@ export declare const apiContract: {
|
|
29173
29118
|
deletedAt: Date | null;
|
29174
29119
|
previousPresenceStatus: {
|
29175
29120
|
id: string;
|
29176
|
-
|
29121
|
+
position: number;
|
29122
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
29177
29123
|
status: string;
|
29178
29124
|
createdAt: Date;
|
29179
29125
|
updatedAt: Date;
|
@@ -29181,7 +29127,8 @@ export declare const apiContract: {
|
|
29181
29127
|
};
|
29182
29128
|
newPresenceStatus: {
|
29183
29129
|
id: string;
|
29184
|
-
|
29130
|
+
position: number;
|
29131
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
29185
29132
|
status: string;
|
29186
29133
|
createdAt: Date;
|
29187
29134
|
updatedAt: Date;
|
@@ -29245,7 +29192,8 @@ export declare const apiContract: {
|
|
29245
29192
|
deletedAt: Date | null;
|
29246
29193
|
previousPresenceStatus: {
|
29247
29194
|
id: string;
|
29248
|
-
|
29195
|
+
position: number;
|
29196
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
29249
29197
|
status: string;
|
29250
29198
|
createdAt: Date;
|
29251
29199
|
updatedAt: Date;
|
@@ -29253,7 +29201,8 @@ export declare const apiContract: {
|
|
29253
29201
|
};
|
29254
29202
|
newPresenceStatus: {
|
29255
29203
|
id: string;
|
29256
|
-
|
29204
|
+
position: number;
|
29205
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
29257
29206
|
status: string;
|
29258
29207
|
createdAt: Date;
|
29259
29208
|
updatedAt: Date;
|
@@ -34112,6 +34061,40 @@ export declare const apiContract: {
|
|
34112
34061
|
}>;
|
34113
34062
|
};
|
34114
34063
|
};
|
34064
|
+
topUpBalance: {
|
34065
|
+
body: import("zod").ZodObject<{
|
34066
|
+
quantity: import("zod").ZodNumber;
|
34067
|
+
}, "strip", import("zod").ZodTypeAny, {
|
34068
|
+
quantity: number;
|
34069
|
+
}, {
|
34070
|
+
quantity: number;
|
34071
|
+
}>;
|
34072
|
+
method: "POST";
|
34073
|
+
path: "subscriptions/top-up";
|
34074
|
+
responses: {
|
34075
|
+
200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
34076
|
+
requestId: import("zod").ZodString;
|
34077
|
+
}, {
|
34078
|
+
checkoutUrl: import("zod").ZodString;
|
34079
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
34080
|
+
requestId: string;
|
34081
|
+
checkoutUrl: string;
|
34082
|
+
}, {
|
34083
|
+
requestId: string;
|
34084
|
+
checkoutUrl: string;
|
34085
|
+
}>;
|
34086
|
+
500: import("zod").ZodObject<{
|
34087
|
+
message: import("zod").ZodString;
|
34088
|
+
error: import("zod").ZodAny;
|
34089
|
+
}, "strip", import("zod").ZodTypeAny, {
|
34090
|
+
message: string;
|
34091
|
+
error?: any;
|
34092
|
+
}, {
|
34093
|
+
message: string;
|
34094
|
+
error?: any;
|
34095
|
+
}>;
|
34096
|
+
};
|
34097
|
+
};
|
34115
34098
|
getAvailablePlan: {
|
34116
34099
|
method: "GET";
|
34117
34100
|
query: null;
|
@@ -241328,4 +241311,557 @@ export declare const memberSettingContract: {
|
|
241328
241311
|
};
|
241329
241312
|
};
|
241330
241313
|
};
|
241314
|
+
export declare const presenceStatusContract: {
|
241315
|
+
presenceStatus: {
|
241316
|
+
getAllStatus: {
|
241317
|
+
summary: "Get all presence status list.";
|
241318
|
+
method: "GET";
|
241319
|
+
path: "presence_status";
|
241320
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
241321
|
+
'x-tenant': import("zod").ZodString;
|
241322
|
+
authorization: import("zod").ZodString;
|
241323
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
241324
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
241325
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241326
|
+
'x-tenant': string;
|
241327
|
+
authorization: string;
|
241328
|
+
'x-client-timezone': string;
|
241329
|
+
'x-code'?: string | undefined;
|
241330
|
+
}, {
|
241331
|
+
'x-tenant': string;
|
241332
|
+
authorization: string;
|
241333
|
+
'x-code'?: string | undefined;
|
241334
|
+
'x-client-timezone'?: string | undefined;
|
241335
|
+
}>>>;
|
241336
|
+
responses: {
|
241337
|
+
200: import("zod").ZodObject<{
|
241338
|
+
total: import("zod").ZodNumber;
|
241339
|
+
data: import("zod").ZodArray<import("zod").ZodObject<{
|
241340
|
+
id: import("zod").ZodString;
|
241341
|
+
createdAt: import("zod").ZodDate;
|
241342
|
+
updatedAt: import("zod").ZodDate;
|
241343
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
241344
|
+
status: import("zod").ZodString;
|
241345
|
+
description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
241346
|
+
position: import("zod").ZodNumber;
|
241347
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241348
|
+
id: string;
|
241349
|
+
position: number;
|
241350
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
241351
|
+
status: string;
|
241352
|
+
createdAt: Date;
|
241353
|
+
updatedAt: Date;
|
241354
|
+
deletedAt: Date | null;
|
241355
|
+
}, {
|
241356
|
+
id: string;
|
241357
|
+
position: number;
|
241358
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
241359
|
+
status: string;
|
241360
|
+
createdAt: Date;
|
241361
|
+
updatedAt: Date;
|
241362
|
+
deletedAt: Date | null;
|
241363
|
+
}>, "many">;
|
241364
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241365
|
+
data: {
|
241366
|
+
id: string;
|
241367
|
+
position: number;
|
241368
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
241369
|
+
status: string;
|
241370
|
+
createdAt: Date;
|
241371
|
+
updatedAt: Date;
|
241372
|
+
deletedAt: Date | null;
|
241373
|
+
}[];
|
241374
|
+
total: number;
|
241375
|
+
}, {
|
241376
|
+
data: {
|
241377
|
+
id: string;
|
241378
|
+
position: number;
|
241379
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
241380
|
+
status: string;
|
241381
|
+
createdAt: Date;
|
241382
|
+
updatedAt: Date;
|
241383
|
+
deletedAt: Date | null;
|
241384
|
+
}[];
|
241385
|
+
total: number;
|
241386
|
+
}>;
|
241387
|
+
400: import("zod").ZodObject<{
|
241388
|
+
message: import("zod").ZodString;
|
241389
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241390
|
+
message: string;
|
241391
|
+
}, {
|
241392
|
+
message: string;
|
241393
|
+
}>;
|
241394
|
+
401: import("zod").ZodObject<{
|
241395
|
+
message: import("zod").ZodString;
|
241396
|
+
error: import("zod").ZodAny;
|
241397
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241398
|
+
message: string;
|
241399
|
+
error?: any;
|
241400
|
+
}, {
|
241401
|
+
message: string;
|
241402
|
+
error?: any;
|
241403
|
+
}>;
|
241404
|
+
500: import("zod").ZodObject<{
|
241405
|
+
message: import("zod").ZodString;
|
241406
|
+
error: import("zod").ZodAny;
|
241407
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241408
|
+
message: string;
|
241409
|
+
error?: any;
|
241410
|
+
}, {
|
241411
|
+
message: string;
|
241412
|
+
error?: any;
|
241413
|
+
}>;
|
241414
|
+
};
|
241415
|
+
};
|
241416
|
+
createPresenceStatus: {
|
241417
|
+
body: import("zod").ZodObject<{
|
241418
|
+
status: import("zod").ZodString;
|
241419
|
+
description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
241420
|
+
position: import("zod").ZodNumber;
|
241421
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241422
|
+
position: number;
|
241423
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
241424
|
+
status: string;
|
241425
|
+
}, {
|
241426
|
+
position: number;
|
241427
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
241428
|
+
status: string;
|
241429
|
+
}>;
|
241430
|
+
summary: "Create a new presence status.";
|
241431
|
+
method: "POST";
|
241432
|
+
path: "presence_status";
|
241433
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
241434
|
+
'x-tenant': import("zod").ZodString;
|
241435
|
+
authorization: import("zod").ZodString;
|
241436
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
241437
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
241438
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241439
|
+
'x-tenant': string;
|
241440
|
+
authorization: string;
|
241441
|
+
'x-client-timezone': string;
|
241442
|
+
'x-code'?: string | undefined;
|
241443
|
+
}, {
|
241444
|
+
'x-tenant': string;
|
241445
|
+
authorization: string;
|
241446
|
+
'x-code'?: string | undefined;
|
241447
|
+
'x-client-timezone'?: string | undefined;
|
241448
|
+
}>>>;
|
241449
|
+
responses: {
|
241450
|
+
201: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
241451
|
+
requestId: import("zod").ZodString;
|
241452
|
+
}, {
|
241453
|
+
presenceStatus: import("zod").ZodObject<{
|
241454
|
+
id: import("zod").ZodString;
|
241455
|
+
createdAt: import("zod").ZodDate;
|
241456
|
+
updatedAt: import("zod").ZodDate;
|
241457
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
241458
|
+
status: import("zod").ZodString;
|
241459
|
+
description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
241460
|
+
position: import("zod").ZodNumber;
|
241461
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241462
|
+
id: string;
|
241463
|
+
position: number;
|
241464
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
241465
|
+
status: string;
|
241466
|
+
createdAt: Date;
|
241467
|
+
updatedAt: Date;
|
241468
|
+
deletedAt: Date | null;
|
241469
|
+
}, {
|
241470
|
+
id: string;
|
241471
|
+
position: number;
|
241472
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
241473
|
+
status: string;
|
241474
|
+
createdAt: Date;
|
241475
|
+
updatedAt: Date;
|
241476
|
+
deletedAt: Date | null;
|
241477
|
+
}>;
|
241478
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
241479
|
+
requestId: string;
|
241480
|
+
presenceStatus: {
|
241481
|
+
id: string;
|
241482
|
+
position: number;
|
241483
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
241484
|
+
status: string;
|
241485
|
+
createdAt: Date;
|
241486
|
+
updatedAt: Date;
|
241487
|
+
deletedAt: Date | null;
|
241488
|
+
};
|
241489
|
+
}, {
|
241490
|
+
requestId: string;
|
241491
|
+
presenceStatus: {
|
241492
|
+
id: string;
|
241493
|
+
position: number;
|
241494
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
241495
|
+
status: string;
|
241496
|
+
createdAt: Date;
|
241497
|
+
updatedAt: Date;
|
241498
|
+
deletedAt: Date | null;
|
241499
|
+
};
|
241500
|
+
}>;
|
241501
|
+
400: import("zod").ZodObject<{
|
241502
|
+
message: import("zod").ZodString;
|
241503
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241504
|
+
message: string;
|
241505
|
+
}, {
|
241506
|
+
message: string;
|
241507
|
+
}>;
|
241508
|
+
401: import("zod").ZodObject<{
|
241509
|
+
message: import("zod").ZodString;
|
241510
|
+
error: import("zod").ZodAny;
|
241511
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241512
|
+
message: string;
|
241513
|
+
error?: any;
|
241514
|
+
}, {
|
241515
|
+
message: string;
|
241516
|
+
error?: any;
|
241517
|
+
}>;
|
241518
|
+
404: import("zod").ZodObject<{
|
241519
|
+
message: import("zod").ZodString;
|
241520
|
+
error: import("zod").ZodAny;
|
241521
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241522
|
+
message: string;
|
241523
|
+
error?: any;
|
241524
|
+
}, {
|
241525
|
+
message: string;
|
241526
|
+
error?: any;
|
241527
|
+
}>;
|
241528
|
+
422: import("zod").ZodObject<{
|
241529
|
+
message: import("zod").ZodString;
|
241530
|
+
error: import("zod").ZodAny;
|
241531
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241532
|
+
message: string;
|
241533
|
+
error?: any;
|
241534
|
+
}, {
|
241535
|
+
message: string;
|
241536
|
+
error?: any;
|
241537
|
+
}>;
|
241538
|
+
500: import("zod").ZodObject<{
|
241539
|
+
message: import("zod").ZodString;
|
241540
|
+
error: import("zod").ZodAny;
|
241541
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241542
|
+
message: string;
|
241543
|
+
error?: any;
|
241544
|
+
}, {
|
241545
|
+
message: string;
|
241546
|
+
error?: any;
|
241547
|
+
}>;
|
241548
|
+
};
|
241549
|
+
};
|
241550
|
+
getPresenceStatusById: {
|
241551
|
+
summary: "Get presence status by id";
|
241552
|
+
method: "GET";
|
241553
|
+
pathParams: import("zod").ZodObject<{
|
241554
|
+
id: import("zod").ZodString;
|
241555
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241556
|
+
id: string;
|
241557
|
+
}, {
|
241558
|
+
id: string;
|
241559
|
+
}>;
|
241560
|
+
path: "presence_status/:id";
|
241561
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
241562
|
+
'x-tenant': import("zod").ZodString;
|
241563
|
+
authorization: import("zod").ZodString;
|
241564
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
241565
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
241566
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241567
|
+
'x-tenant': string;
|
241568
|
+
authorization: string;
|
241569
|
+
'x-client-timezone': string;
|
241570
|
+
'x-code'?: string | undefined;
|
241571
|
+
}, {
|
241572
|
+
'x-tenant': string;
|
241573
|
+
authorization: string;
|
241574
|
+
'x-code'?: string | undefined;
|
241575
|
+
'x-client-timezone'?: string | undefined;
|
241576
|
+
}>>>;
|
241577
|
+
responses: {
|
241578
|
+
200: import("zod").ZodObject<{
|
241579
|
+
id: import("zod").ZodString;
|
241580
|
+
createdAt: import("zod").ZodDate;
|
241581
|
+
updatedAt: import("zod").ZodDate;
|
241582
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
241583
|
+
status: import("zod").ZodString;
|
241584
|
+
description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
241585
|
+
position: import("zod").ZodNumber;
|
241586
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241587
|
+
id: string;
|
241588
|
+
position: number;
|
241589
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
241590
|
+
status: string;
|
241591
|
+
createdAt: Date;
|
241592
|
+
updatedAt: Date;
|
241593
|
+
deletedAt: Date | null;
|
241594
|
+
}, {
|
241595
|
+
id: string;
|
241596
|
+
position: number;
|
241597
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
241598
|
+
status: string;
|
241599
|
+
createdAt: Date;
|
241600
|
+
updatedAt: Date;
|
241601
|
+
deletedAt: Date | null;
|
241602
|
+
}>;
|
241603
|
+
400: import("zod").ZodObject<{
|
241604
|
+
message: import("zod").ZodString;
|
241605
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241606
|
+
message: string;
|
241607
|
+
}, {
|
241608
|
+
message: string;
|
241609
|
+
}>;
|
241610
|
+
401: import("zod").ZodObject<{
|
241611
|
+
message: import("zod").ZodString;
|
241612
|
+
error: import("zod").ZodAny;
|
241613
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241614
|
+
message: string;
|
241615
|
+
error?: any;
|
241616
|
+
}, {
|
241617
|
+
message: string;
|
241618
|
+
error?: any;
|
241619
|
+
}>;
|
241620
|
+
404: import("zod").ZodObject<{
|
241621
|
+
message: import("zod").ZodString;
|
241622
|
+
error: import("zod").ZodAny;
|
241623
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241624
|
+
message: string;
|
241625
|
+
error?: any;
|
241626
|
+
}, {
|
241627
|
+
message: string;
|
241628
|
+
error?: any;
|
241629
|
+
}>;
|
241630
|
+
422: import("zod").ZodObject<{
|
241631
|
+
message: import("zod").ZodString;
|
241632
|
+
error: import("zod").ZodAny;
|
241633
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241634
|
+
message: string;
|
241635
|
+
error?: any;
|
241636
|
+
}, {
|
241637
|
+
message: string;
|
241638
|
+
error?: any;
|
241639
|
+
}>;
|
241640
|
+
500: import("zod").ZodObject<{
|
241641
|
+
message: import("zod").ZodString;
|
241642
|
+
error: import("zod").ZodAny;
|
241643
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241644
|
+
message: string;
|
241645
|
+
error?: any;
|
241646
|
+
}, {
|
241647
|
+
message: string;
|
241648
|
+
error?: any;
|
241649
|
+
}>;
|
241650
|
+
};
|
241651
|
+
};
|
241652
|
+
updatePresenceStatus: {
|
241653
|
+
body: import("zod").ZodObject<{
|
241654
|
+
status: import("zod").ZodString;
|
241655
|
+
description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
241656
|
+
position: import("zod").ZodNumber;
|
241657
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241658
|
+
position: number;
|
241659
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
241660
|
+
status: string;
|
241661
|
+
}, {
|
241662
|
+
position: number;
|
241663
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
241664
|
+
status: string;
|
241665
|
+
}>;
|
241666
|
+
summary: "Update a presence status.";
|
241667
|
+
method: "PATCH";
|
241668
|
+
pathParams: import("zod").ZodObject<{
|
241669
|
+
id: import("zod").ZodString;
|
241670
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241671
|
+
id: string;
|
241672
|
+
}, {
|
241673
|
+
id: string;
|
241674
|
+
}>;
|
241675
|
+
path: "presence_status/:id";
|
241676
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
241677
|
+
'x-tenant': import("zod").ZodString;
|
241678
|
+
authorization: import("zod").ZodString;
|
241679
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
241680
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
241681
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241682
|
+
'x-tenant': string;
|
241683
|
+
authorization: string;
|
241684
|
+
'x-client-timezone': string;
|
241685
|
+
'x-code'?: string | undefined;
|
241686
|
+
}, {
|
241687
|
+
'x-tenant': string;
|
241688
|
+
authorization: string;
|
241689
|
+
'x-code'?: string | undefined;
|
241690
|
+
'x-client-timezone'?: string | undefined;
|
241691
|
+
}>>>;
|
241692
|
+
responses: {
|
241693
|
+
201: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
241694
|
+
requestId: import("zod").ZodString;
|
241695
|
+
}, {
|
241696
|
+
presenceStatus: import("zod").ZodObject<{
|
241697
|
+
id: import("zod").ZodString;
|
241698
|
+
createdAt: import("zod").ZodDate;
|
241699
|
+
updatedAt: import("zod").ZodDate;
|
241700
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
241701
|
+
status: import("zod").ZodString;
|
241702
|
+
description: import("zod").ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
241703
|
+
position: import("zod").ZodNumber;
|
241704
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241705
|
+
id: string;
|
241706
|
+
position: number;
|
241707
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
241708
|
+
status: string;
|
241709
|
+
createdAt: Date;
|
241710
|
+
updatedAt: Date;
|
241711
|
+
deletedAt: Date | null;
|
241712
|
+
}, {
|
241713
|
+
id: string;
|
241714
|
+
position: number;
|
241715
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
241716
|
+
status: string;
|
241717
|
+
createdAt: Date;
|
241718
|
+
updatedAt: Date;
|
241719
|
+
deletedAt: Date | null;
|
241720
|
+
}>;
|
241721
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
241722
|
+
requestId: string;
|
241723
|
+
presenceStatus: {
|
241724
|
+
id: string;
|
241725
|
+
position: number;
|
241726
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
241727
|
+
status: string;
|
241728
|
+
createdAt: Date;
|
241729
|
+
updatedAt: Date;
|
241730
|
+
deletedAt: Date | null;
|
241731
|
+
};
|
241732
|
+
}, {
|
241733
|
+
requestId: string;
|
241734
|
+
presenceStatus: {
|
241735
|
+
id: string;
|
241736
|
+
position: number;
|
241737
|
+
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
241738
|
+
status: string;
|
241739
|
+
createdAt: Date;
|
241740
|
+
updatedAt: Date;
|
241741
|
+
deletedAt: Date | null;
|
241742
|
+
};
|
241743
|
+
}>;
|
241744
|
+
400: import("zod").ZodObject<{
|
241745
|
+
message: import("zod").ZodString;
|
241746
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241747
|
+
message: string;
|
241748
|
+
}, {
|
241749
|
+
message: string;
|
241750
|
+
}>;
|
241751
|
+
401: import("zod").ZodObject<{
|
241752
|
+
message: import("zod").ZodString;
|
241753
|
+
error: import("zod").ZodAny;
|
241754
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241755
|
+
message: string;
|
241756
|
+
error?: any;
|
241757
|
+
}, {
|
241758
|
+
message: string;
|
241759
|
+
error?: any;
|
241760
|
+
}>;
|
241761
|
+
404: import("zod").ZodObject<{
|
241762
|
+
message: import("zod").ZodString;
|
241763
|
+
error: import("zod").ZodAny;
|
241764
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241765
|
+
message: string;
|
241766
|
+
error?: any;
|
241767
|
+
}, {
|
241768
|
+
message: string;
|
241769
|
+
error?: any;
|
241770
|
+
}>;
|
241771
|
+
422: import("zod").ZodObject<{
|
241772
|
+
message: import("zod").ZodString;
|
241773
|
+
error: import("zod").ZodAny;
|
241774
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241775
|
+
message: string;
|
241776
|
+
error?: any;
|
241777
|
+
}, {
|
241778
|
+
message: string;
|
241779
|
+
error?: any;
|
241780
|
+
}>;
|
241781
|
+
500: import("zod").ZodObject<{
|
241782
|
+
message: import("zod").ZodString;
|
241783
|
+
error: import("zod").ZodAny;
|
241784
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241785
|
+
message: string;
|
241786
|
+
error?: any;
|
241787
|
+
}, {
|
241788
|
+
message: string;
|
241789
|
+
error?: any;
|
241790
|
+
}>;
|
241791
|
+
};
|
241792
|
+
};
|
241793
|
+
deletePresenceStatus: {
|
241794
|
+
body: null;
|
241795
|
+
summary: "Delete a presence status.";
|
241796
|
+
method: "DELETE";
|
241797
|
+
pathParams: import("zod").ZodObject<{
|
241798
|
+
id: import("zod").ZodString;
|
241799
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241800
|
+
id: string;
|
241801
|
+
}, {
|
241802
|
+
id: string;
|
241803
|
+
}>;
|
241804
|
+
path: "presence_status/:id";
|
241805
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
241806
|
+
'x-tenant': import("zod").ZodString;
|
241807
|
+
authorization: import("zod").ZodString;
|
241808
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
241809
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
241810
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241811
|
+
'x-tenant': string;
|
241812
|
+
authorization: string;
|
241813
|
+
'x-client-timezone': string;
|
241814
|
+
'x-code'?: string | undefined;
|
241815
|
+
}, {
|
241816
|
+
'x-tenant': string;
|
241817
|
+
authorization: string;
|
241818
|
+
'x-code'?: string | undefined;
|
241819
|
+
'x-client-timezone'?: string | undefined;
|
241820
|
+
}>>>;
|
241821
|
+
responses: {
|
241822
|
+
200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
241823
|
+
requestId: import("zod").ZodString;
|
241824
|
+
}, {
|
241825
|
+
message: import("zod").ZodString;
|
241826
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
241827
|
+
message: string;
|
241828
|
+
requestId: string;
|
241829
|
+
}, {
|
241830
|
+
message: string;
|
241831
|
+
requestId: string;
|
241832
|
+
}>;
|
241833
|
+
404: import("zod").ZodObject<{
|
241834
|
+
message: import("zod").ZodString;
|
241835
|
+
error: import("zod").ZodAny;
|
241836
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241837
|
+
message: string;
|
241838
|
+
error?: any;
|
241839
|
+
}, {
|
241840
|
+
message: string;
|
241841
|
+
error?: any;
|
241842
|
+
}>;
|
241843
|
+
422: import("zod").ZodObject<{
|
241844
|
+
message: import("zod").ZodString;
|
241845
|
+
error: import("zod").ZodAny;
|
241846
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241847
|
+
message: string;
|
241848
|
+
error?: any;
|
241849
|
+
}, {
|
241850
|
+
message: string;
|
241851
|
+
error?: any;
|
241852
|
+
}>;
|
241853
|
+
500: import("zod").ZodObject<{
|
241854
|
+
message: import("zod").ZodString;
|
241855
|
+
error: import("zod").ZodAny;
|
241856
|
+
}, "strip", import("zod").ZodTypeAny, {
|
241857
|
+
message: string;
|
241858
|
+
error?: any;
|
241859
|
+
}, {
|
241860
|
+
message: string;
|
241861
|
+
error?: any;
|
241862
|
+
}>;
|
241863
|
+
};
|
241864
|
+
};
|
241865
|
+
};
|
241866
|
+
};
|
241331
241867
|
//# sourceMappingURL=contract.d.ts.map
|