@kl1/contracts 1.2.76-uat → 1.2.78-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/channel/index.d.ts +25 -25
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +50 -50
- package/dist/index.js +9 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -22360,7 +22360,7 @@ export declare const apiContract: {
|
|
22360
22360
|
requestId: string;
|
22361
22361
|
}>;
|
22362
22362
|
};
|
22363
|
-
path: "channel
|
22363
|
+
path: "/channel";
|
22364
22364
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
22365
22365
|
'x-tenant': import("zod").ZodString;
|
22366
22366
|
'x-service-token': import("zod").ZodString;
|
@@ -22777,7 +22777,7 @@ export declare const apiContract: {
|
|
22777
22777
|
error?: any;
|
22778
22778
|
}>;
|
22779
22779
|
};
|
22780
|
-
path: "channel/disconnect/:channelId";
|
22780
|
+
path: "ms/channel/disconnect/:channelId";
|
22781
22781
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
22782
22782
|
'x-tenant': import("zod").ZodString;
|
22783
22783
|
'x-service-token': import("zod").ZodString;
|
@@ -23569,7 +23569,7 @@ export declare const apiContract: {
|
|
23569
23569
|
error?: any;
|
23570
23570
|
}>;
|
23571
23571
|
};
|
23572
|
-
path: "channel/delete/:channelId";
|
23572
|
+
path: "ms/channel/delete/:channelId";
|
23573
23573
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
23574
23574
|
'x-tenant': import("zod").ZodString;
|
23575
23575
|
'x-service-token': import("zod").ZodString;
|
@@ -24367,7 +24367,7 @@ export declare const apiContract: {
|
|
24367
24367
|
error?: any;
|
24368
24368
|
}>;
|
24369
24369
|
};
|
24370
|
-
path: "channel/rename/:channelId";
|
24370
|
+
path: "ms/channel/rename/:channelId";
|
24371
24371
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
24372
24372
|
'x-tenant': import("zod").ZodString;
|
24373
24373
|
'x-service-token': import("zod").ZodString;
|
@@ -25159,7 +25159,7 @@ export declare const apiContract: {
|
|
25159
25159
|
error?: any;
|
25160
25160
|
}>;
|
25161
25161
|
};
|
25162
|
-
path: "channel/reconnect/:channelId";
|
25162
|
+
path: "ms/channel/reconnect/:channelId";
|
25163
25163
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
25164
25164
|
'x-tenant': import("zod").ZodString;
|
25165
25165
|
'x-service-token': import("zod").ZodString;
|
@@ -26149,7 +26149,7 @@ export declare const apiContract: {
|
|
26149
26149
|
error?: any;
|
26150
26150
|
}>;
|
26151
26151
|
};
|
26152
|
-
path: "channel/relogin";
|
26152
|
+
path: "ms/channel/relogin";
|
26153
26153
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
26154
26154
|
'x-tenant': import("zod").ZodString;
|
26155
26155
|
'x-service-token': import("zod").ZodString;
|
@@ -26207,7 +26207,7 @@ export declare const apiContract: {
|
|
26207
26207
|
error?: any;
|
26208
26208
|
}>;
|
26209
26209
|
};
|
26210
|
-
path: "channel/check-new-tenant";
|
26210
|
+
path: "ms/channel/check-new-tenant";
|
26211
26211
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
26212
26212
|
'x-tenant': import("zod").ZodString;
|
26213
26213
|
'x-service-token': import("zod").ZodString;
|
@@ -26260,7 +26260,7 @@ export declare const apiContract: {
|
|
26260
26260
|
error?: any;
|
26261
26261
|
}>;
|
26262
26262
|
};
|
26263
|
-
path: "channel/update-new-tenant";
|
26263
|
+
path: "ms/channel/update-new-tenant";
|
26264
26264
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
26265
26265
|
'x-tenant': import("zod").ZodString;
|
26266
26266
|
'x-service-token': import("zod").ZodString;
|
@@ -27058,7 +27058,7 @@ export declare const apiContract: {
|
|
27058
27058
|
error?: any;
|
27059
27059
|
}>;
|
27060
27060
|
};
|
27061
|
-
path: "
|
27061
|
+
path: "/csat/:channelId";
|
27062
27062
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
27063
27063
|
'x-tenant': import("zod").ZodString;
|
27064
27064
|
'x-service-token': import("zod").ZodString;
|
@@ -27290,7 +27290,7 @@ export declare const apiContract: {
|
|
27290
27290
|
error?: any;
|
27291
27291
|
}>;
|
27292
27292
|
};
|
27293
|
-
path: "
|
27293
|
+
path: "ms/messenger/pages";
|
27294
27294
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
27295
27295
|
'x-tenant': import("zod").ZodString;
|
27296
27296
|
'x-service-token': import("zod").ZodString;
|
@@ -27586,7 +27586,7 @@ export declare const apiContract: {
|
|
27586
27586
|
error?: any;
|
27587
27587
|
}>;
|
27588
27588
|
};
|
27589
|
-
path: "
|
27589
|
+
path: "ms/messenger/facebook-businesses";
|
27590
27590
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
27591
27591
|
'x-tenant': import("zod").ZodString;
|
27592
27592
|
'x-service-token': import("zod").ZodString;
|
@@ -27882,7 +27882,7 @@ export declare const apiContract: {
|
|
27882
27882
|
error?: any;
|
27883
27883
|
}>;
|
27884
27884
|
};
|
27885
|
-
path: "
|
27885
|
+
path: "ms/messenger/facebook-business-pages";
|
27886
27886
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
27887
27887
|
'x-tenant': import("zod").ZodString;
|
27888
27888
|
'x-service-token': import("zod").ZodString;
|
@@ -28872,7 +28872,7 @@ export declare const apiContract: {
|
|
28872
28872
|
error?: any;
|
28873
28873
|
}>;
|
28874
28874
|
};
|
28875
|
-
path: "
|
28875
|
+
path: "ms/messenger/connect";
|
28876
28876
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
28877
28877
|
'x-tenant': import("zod").ZodString;
|
28878
28878
|
'x-service-token': import("zod").ZodString;
|
@@ -28933,7 +28933,7 @@ export declare const apiContract: {
|
|
28933
28933
|
error?: any;
|
28934
28934
|
}>;
|
28935
28935
|
};
|
28936
|
-
path: "
|
28936
|
+
path: "ms/line/connect";
|
28937
28937
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
28938
28938
|
'x-tenant': import("zod").ZodString;
|
28939
28939
|
'x-service-token': import("zod").ZodString;
|
@@ -29123,7 +29123,7 @@ export declare const apiContract: {
|
|
29123
29123
|
error?: any;
|
29124
29124
|
}>;
|
29125
29125
|
};
|
29126
|
-
path: "
|
29126
|
+
path: "ms/instagram/pages";
|
29127
29127
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
29128
29128
|
'x-tenant': import("zod").ZodString;
|
29129
29129
|
'x-service-token': import("zod").ZodString;
|
@@ -30113,7 +30113,7 @@ export declare const apiContract: {
|
|
30113
30113
|
error?: any;
|
30114
30114
|
}>;
|
30115
30115
|
};
|
30116
|
-
path: "
|
30116
|
+
path: "ms/instagram/connect";
|
30117
30117
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
30118
30118
|
'x-tenant': import("zod").ZodString;
|
30119
30119
|
'x-service-token': import("zod").ZodString;
|
@@ -30919,7 +30919,7 @@ export declare const apiContract: {
|
|
30919
30919
|
error?: any;
|
30920
30920
|
}>;
|
30921
30921
|
};
|
30922
|
-
path: "
|
30922
|
+
path: "ms/viber/connect";
|
30923
30923
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
30924
30924
|
'x-tenant': import("zod").ZodString;
|
30925
30925
|
'x-service-token': import("zod").ZodString;
|
@@ -31725,7 +31725,7 @@ export declare const apiContract: {
|
|
31725
31725
|
error?: any;
|
31726
31726
|
}>;
|
31727
31727
|
};
|
31728
|
-
path: "
|
31728
|
+
path: "ms/telegram/connect";
|
31729
31729
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
31730
31730
|
'x-tenant': import("zod").ZodString;
|
31731
31731
|
'x-service-token': import("zod").ZodString;
|
@@ -32581,7 +32581,7 @@ export declare const apiContract: {
|
|
32581
32581
|
error?: any;
|
32582
32582
|
}>;
|
32583
32583
|
};
|
32584
|
-
path: "
|
32584
|
+
path: "ms/webchat/connect";
|
32585
32585
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
32586
32586
|
'x-tenant': import("zod").ZodString;
|
32587
32587
|
'x-service-token': import("zod").ZodString;
|
@@ -33567,7 +33567,7 @@ export declare const apiContract: {
|
|
33567
33567
|
error?: any;
|
33568
33568
|
}>;
|
33569
33569
|
};
|
33570
|
-
path: "
|
33570
|
+
path: "ms/whatsapp/connect";
|
33571
33571
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
33572
33572
|
'x-tenant': import("zod").ZodString;
|
33573
33573
|
'x-service-token': import("zod").ZodString;
|
@@ -33651,7 +33651,7 @@ export declare const apiContract: {
|
|
33651
33651
|
error?: any;
|
33652
33652
|
}>;
|
33653
33653
|
};
|
33654
|
-
path: "
|
33654
|
+
path: "ms/whatsapp/templates";
|
33655
33655
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
33656
33656
|
'x-tenant': import("zod").ZodString;
|
33657
33657
|
'x-service-token': import("zod").ZodString;
|
@@ -33714,7 +33714,7 @@ export declare const apiContract: {
|
|
33714
33714
|
error?: any;
|
33715
33715
|
}>;
|
33716
33716
|
};
|
33717
|
-
path: "
|
33717
|
+
path: "ms/whatsapp/mobile";
|
33718
33718
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
33719
33719
|
'x-tenant': import("zod").ZodString;
|
33720
33720
|
'x-service-token': import("zod").ZodString;
|
@@ -33788,7 +33788,7 @@ export declare const apiContract: {
|
|
33788
33788
|
error?: any;
|
33789
33789
|
}>;
|
33790
33790
|
};
|
33791
|
-
path: "
|
33791
|
+
path: "ms/whatsapp/mobile/qr";
|
33792
33792
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
33793
33793
|
'x-tenant': import("zod").ZodString;
|
33794
33794
|
'x-service-token': import("zod").ZodString;
|
@@ -33845,7 +33845,7 @@ export declare const apiContract: {
|
|
33845
33845
|
error?: any;
|
33846
33846
|
}>;
|
33847
33847
|
};
|
33848
|
-
path: "
|
33848
|
+
path: "ms/whatsapp/mobile/:instanceId";
|
33849
33849
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
33850
33850
|
'x-tenant': import("zod").ZodString;
|
33851
33851
|
'x-service-token': import("zod").ZodString;
|
@@ -34641,7 +34641,7 @@ export declare const apiContract: {
|
|
34641
34641
|
error?: any;
|
34642
34642
|
}>;
|
34643
34643
|
};
|
34644
|
-
path: "
|
34644
|
+
path: "/lazada/connect";
|
34645
34645
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
34646
34646
|
'x-tenant': import("zod").ZodString;
|
34647
34647
|
'x-service-token': import("zod").ZodString;
|
@@ -311032,7 +311032,7 @@ export declare const channelSettingContract: {
|
|
311032
311032
|
requestId: string;
|
311033
311033
|
}>;
|
311034
311034
|
};
|
311035
|
-
path: "ms/settings
|
311035
|
+
path: "ms/settings//channel";
|
311036
311036
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
311037
311037
|
'x-tenant': import("zod").ZodString;
|
311038
311038
|
'x-service-token': import("zod").ZodString;
|
@@ -311449,7 +311449,7 @@ export declare const channelSettingContract: {
|
|
311449
311449
|
error?: any;
|
311450
311450
|
}>;
|
311451
311451
|
};
|
311452
|
-
path: "ms/settings/channel/disconnect/:channelId";
|
311452
|
+
path: "ms/settings/ms/channel/disconnect/:channelId";
|
311453
311453
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
311454
311454
|
'x-tenant': import("zod").ZodString;
|
311455
311455
|
'x-service-token': import("zod").ZodString;
|
@@ -312241,7 +312241,7 @@ export declare const channelSettingContract: {
|
|
312241
312241
|
error?: any;
|
312242
312242
|
}>;
|
312243
312243
|
};
|
312244
|
-
path: "ms/settings/channel/delete/:channelId";
|
312244
|
+
path: "ms/settings/ms/channel/delete/:channelId";
|
312245
312245
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
312246
312246
|
'x-tenant': import("zod").ZodString;
|
312247
312247
|
'x-service-token': import("zod").ZodString;
|
@@ -313039,7 +313039,7 @@ export declare const channelSettingContract: {
|
|
313039
313039
|
error?: any;
|
313040
313040
|
}>;
|
313041
313041
|
};
|
313042
|
-
path: "ms/settings/channel/rename/:channelId";
|
313042
|
+
path: "ms/settings/ms/channel/rename/:channelId";
|
313043
313043
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
313044
313044
|
'x-tenant': import("zod").ZodString;
|
313045
313045
|
'x-service-token': import("zod").ZodString;
|
@@ -313831,7 +313831,7 @@ export declare const channelSettingContract: {
|
|
313831
313831
|
error?: any;
|
313832
313832
|
}>;
|
313833
313833
|
};
|
313834
|
-
path: "ms/settings/channel/reconnect/:channelId";
|
313834
|
+
path: "ms/settings/ms/channel/reconnect/:channelId";
|
313835
313835
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
313836
313836
|
'x-tenant': import("zod").ZodString;
|
313837
313837
|
'x-service-token': import("zod").ZodString;
|
@@ -314821,7 +314821,7 @@ export declare const channelSettingContract: {
|
|
314821
314821
|
error?: any;
|
314822
314822
|
}>;
|
314823
314823
|
};
|
314824
|
-
path: "ms/settings/channel/relogin";
|
314824
|
+
path: "ms/settings/ms/channel/relogin";
|
314825
314825
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
314826
314826
|
'x-tenant': import("zod").ZodString;
|
314827
314827
|
'x-service-token': import("zod").ZodString;
|
@@ -314879,7 +314879,7 @@ export declare const channelSettingContract: {
|
|
314879
314879
|
error?: any;
|
314880
314880
|
}>;
|
314881
314881
|
};
|
314882
|
-
path: "ms/settings/channel/check-new-tenant";
|
314882
|
+
path: "ms/settings/ms/channel/check-new-tenant";
|
314883
314883
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
314884
314884
|
'x-tenant': import("zod").ZodString;
|
314885
314885
|
'x-service-token': import("zod").ZodString;
|
@@ -314932,7 +314932,7 @@ export declare const channelSettingContract: {
|
|
314932
314932
|
error?: any;
|
314933
314933
|
}>;
|
314934
314934
|
};
|
314935
|
-
path: "ms/settings/channel/update-new-tenant";
|
314935
|
+
path: "ms/settings/ms/channel/update-new-tenant";
|
314936
314936
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
314937
314937
|
'x-tenant': import("zod").ZodString;
|
314938
314938
|
'x-service-token': import("zod").ZodString;
|
@@ -315730,7 +315730,7 @@ export declare const channelSettingContract: {
|
|
315730
315730
|
error?: any;
|
315731
315731
|
}>;
|
315732
315732
|
};
|
315733
|
-
path: "ms/settings
|
315733
|
+
path: "ms/settings//csat/:channelId";
|
315734
315734
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
315735
315735
|
'x-tenant': import("zod").ZodString;
|
315736
315736
|
'x-service-token': import("zod").ZodString;
|
@@ -315962,7 +315962,7 @@ export declare const channelSettingContract: {
|
|
315962
315962
|
error?: any;
|
315963
315963
|
}>;
|
315964
315964
|
};
|
315965
|
-
path: "ms/settings/
|
315965
|
+
path: "ms/settings/ms/messenger/pages";
|
315966
315966
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
315967
315967
|
'x-tenant': import("zod").ZodString;
|
315968
315968
|
'x-service-token': import("zod").ZodString;
|
@@ -316258,7 +316258,7 @@ export declare const channelSettingContract: {
|
|
316258
316258
|
error?: any;
|
316259
316259
|
}>;
|
316260
316260
|
};
|
316261
|
-
path: "ms/settings/
|
316261
|
+
path: "ms/settings/ms/messenger/facebook-businesses";
|
316262
316262
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
316263
316263
|
'x-tenant': import("zod").ZodString;
|
316264
316264
|
'x-service-token': import("zod").ZodString;
|
@@ -316554,7 +316554,7 @@ export declare const channelSettingContract: {
|
|
316554
316554
|
error?: any;
|
316555
316555
|
}>;
|
316556
316556
|
};
|
316557
|
-
path: "ms/settings/
|
316557
|
+
path: "ms/settings/ms/messenger/facebook-business-pages";
|
316558
316558
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
316559
316559
|
'x-tenant': import("zod").ZodString;
|
316560
316560
|
'x-service-token': import("zod").ZodString;
|
@@ -317544,7 +317544,7 @@ export declare const channelSettingContract: {
|
|
317544
317544
|
error?: any;
|
317545
317545
|
}>;
|
317546
317546
|
};
|
317547
|
-
path: "ms/settings/
|
317547
|
+
path: "ms/settings/ms/messenger/connect";
|
317548
317548
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
317549
317549
|
'x-tenant': import("zod").ZodString;
|
317550
317550
|
'x-service-token': import("zod").ZodString;
|
@@ -317605,7 +317605,7 @@ export declare const channelSettingContract: {
|
|
317605
317605
|
error?: any;
|
317606
317606
|
}>;
|
317607
317607
|
};
|
317608
|
-
path: "ms/settings/
|
317608
|
+
path: "ms/settings/ms/line/connect";
|
317609
317609
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
317610
317610
|
'x-tenant': import("zod").ZodString;
|
317611
317611
|
'x-service-token': import("zod").ZodString;
|
@@ -317795,7 +317795,7 @@ export declare const channelSettingContract: {
|
|
317795
317795
|
error?: any;
|
317796
317796
|
}>;
|
317797
317797
|
};
|
317798
|
-
path: "ms/settings/
|
317798
|
+
path: "ms/settings/ms/instagram/pages";
|
317799
317799
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
317800
317800
|
'x-tenant': import("zod").ZodString;
|
317801
317801
|
'x-service-token': import("zod").ZodString;
|
@@ -318785,7 +318785,7 @@ export declare const channelSettingContract: {
|
|
318785
318785
|
error?: any;
|
318786
318786
|
}>;
|
318787
318787
|
};
|
318788
|
-
path: "ms/settings/
|
318788
|
+
path: "ms/settings/ms/instagram/connect";
|
318789
318789
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
318790
318790
|
'x-tenant': import("zod").ZodString;
|
318791
318791
|
'x-service-token': import("zod").ZodString;
|
@@ -319591,7 +319591,7 @@ export declare const channelSettingContract: {
|
|
319591
319591
|
error?: any;
|
319592
319592
|
}>;
|
319593
319593
|
};
|
319594
|
-
path: "ms/settings/
|
319594
|
+
path: "ms/settings/ms/viber/connect";
|
319595
319595
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
319596
319596
|
'x-tenant': import("zod").ZodString;
|
319597
319597
|
'x-service-token': import("zod").ZodString;
|
@@ -320397,7 +320397,7 @@ export declare const channelSettingContract: {
|
|
320397
320397
|
error?: any;
|
320398
320398
|
}>;
|
320399
320399
|
};
|
320400
|
-
path: "ms/settings/
|
320400
|
+
path: "ms/settings/ms/telegram/connect";
|
320401
320401
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
320402
320402
|
'x-tenant': import("zod").ZodString;
|
320403
320403
|
'x-service-token': import("zod").ZodString;
|
@@ -321253,7 +321253,7 @@ export declare const channelSettingContract: {
|
|
321253
321253
|
error?: any;
|
321254
321254
|
}>;
|
321255
321255
|
};
|
321256
|
-
path: "ms/settings/
|
321256
|
+
path: "ms/settings/ms/webchat/connect";
|
321257
321257
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
321258
321258
|
'x-tenant': import("zod").ZodString;
|
321259
321259
|
'x-service-token': import("zod").ZodString;
|
@@ -322239,7 +322239,7 @@ export declare const channelSettingContract: {
|
|
322239
322239
|
error?: any;
|
322240
322240
|
}>;
|
322241
322241
|
};
|
322242
|
-
path: "ms/settings/
|
322242
|
+
path: "ms/settings/ms/whatsapp/connect";
|
322243
322243
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
322244
322244
|
'x-tenant': import("zod").ZodString;
|
322245
322245
|
'x-service-token': import("zod").ZodString;
|
@@ -322323,7 +322323,7 @@ export declare const channelSettingContract: {
|
|
322323
322323
|
error?: any;
|
322324
322324
|
}>;
|
322325
322325
|
};
|
322326
|
-
path: "ms/settings/
|
322326
|
+
path: "ms/settings/ms/whatsapp/templates";
|
322327
322327
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
322328
322328
|
'x-tenant': import("zod").ZodString;
|
322329
322329
|
'x-service-token': import("zod").ZodString;
|
@@ -322386,7 +322386,7 @@ export declare const channelSettingContract: {
|
|
322386
322386
|
error?: any;
|
322387
322387
|
}>;
|
322388
322388
|
};
|
322389
|
-
path: "ms/settings/
|
322389
|
+
path: "ms/settings/ms/whatsapp/mobile";
|
322390
322390
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
322391
322391
|
'x-tenant': import("zod").ZodString;
|
322392
322392
|
'x-service-token': import("zod").ZodString;
|
@@ -322460,7 +322460,7 @@ export declare const channelSettingContract: {
|
|
322460
322460
|
error?: any;
|
322461
322461
|
}>;
|
322462
322462
|
};
|
322463
|
-
path: "ms/settings/
|
322463
|
+
path: "ms/settings/ms/whatsapp/mobile/qr";
|
322464
322464
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
322465
322465
|
'x-tenant': import("zod").ZodString;
|
322466
322466
|
'x-service-token': import("zod").ZodString;
|
@@ -322517,7 +322517,7 @@ export declare const channelSettingContract: {
|
|
322517
322517
|
error?: any;
|
322518
322518
|
}>;
|
322519
322519
|
};
|
322520
|
-
path: "ms/settings/
|
322520
|
+
path: "ms/settings/ms/whatsapp/mobile/:instanceId";
|
322521
322521
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
322522
322522
|
'x-tenant': import("zod").ZodString;
|
322523
322523
|
'x-service-token': import("zod").ZodString;
|
@@ -323313,7 +323313,7 @@ export declare const channelSettingContract: {
|
|
323313
323313
|
error?: any;
|
323314
323314
|
}>;
|
323315
323315
|
};
|
323316
|
-
path: "ms/settings
|
323316
|
+
path: "ms/settings//lazada/connect";
|
323317
323317
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
323318
323318
|
'x-tenant': import("zod").ZodString;
|
323319
323319
|
'x-service-token': import("zod").ZodString;
|
package/dist/index.js
CHANGED
@@ -2634,7 +2634,7 @@ var channelContract = (0, import_core7.initContract)().router(
|
|
2634
2634
|
{
|
2635
2635
|
getChannels: {
|
2636
2636
|
method: "GET",
|
2637
|
-
path: "/",
|
2637
|
+
path: "/channel",
|
2638
2638
|
responses: {
|
2639
2639
|
200: DefaultSuccessResponseSchema.extend({
|
2640
2640
|
data: ChannelSchema.array()
|
@@ -2645,7 +2645,7 @@ var channelContract = (0, import_core7.initContract)().router(
|
|
2645
2645
|
},
|
2646
2646
|
disconnect: {
|
2647
2647
|
method: "POST",
|
2648
|
-
path: "/disconnect/:channelId",
|
2648
|
+
path: "ms/channel/disconnect/:channelId",
|
2649
2649
|
pathParams: import_zod41.default.object({
|
2650
2650
|
channelId: import_zod41.default.string().uuid()
|
2651
2651
|
}),
|
@@ -2660,7 +2660,7 @@ var channelContract = (0, import_core7.initContract)().router(
|
|
2660
2660
|
},
|
2661
2661
|
delete: {
|
2662
2662
|
method: "DELETE",
|
2663
|
-
path: "/delete/:channelId",
|
2663
|
+
path: "ms/channel/delete/:channelId",
|
2664
2664
|
pathParams: import_zod41.default.object({
|
2665
2665
|
channelId: import_zod41.default.string().uuid()
|
2666
2666
|
}),
|
@@ -2675,7 +2675,7 @@ var channelContract = (0, import_core7.initContract)().router(
|
|
2675
2675
|
},
|
2676
2676
|
rename: {
|
2677
2677
|
method: "POST",
|
2678
|
-
path: "/rename/:channelId",
|
2678
|
+
path: "ms/channel/rename/:channelId",
|
2679
2679
|
pathParams: import_zod41.default.object({
|
2680
2680
|
channelId: import_zod41.default.string().uuid()
|
2681
2681
|
}),
|
@@ -2692,7 +2692,7 @@ var channelContract = (0, import_core7.initContract)().router(
|
|
2692
2692
|
},
|
2693
2693
|
reconnect: {
|
2694
2694
|
method: "POST",
|
2695
|
-
path: "/reconnect/:channelId",
|
2695
|
+
path: "ms/channel/reconnect/:channelId",
|
2696
2696
|
pathParams: import_zod41.default.object({
|
2697
2697
|
channelId: import_zod41.default.string().uuid()
|
2698
2698
|
}),
|
@@ -2707,7 +2707,7 @@ var channelContract = (0, import_core7.initContract)().router(
|
|
2707
2707
|
},
|
2708
2708
|
relogin: {
|
2709
2709
|
method: "POST",
|
2710
|
-
path: "/relogin",
|
2710
|
+
path: "ms/channel/relogin",
|
2711
2711
|
responses: {
|
2712
2712
|
200: DefaultSuccessResponseSchema.extend({
|
2713
2713
|
channel: ChannelSchema
|
@@ -2719,7 +2719,7 @@ var channelContract = (0, import_core7.initContract)().router(
|
|
2719
2719
|
},
|
2720
2720
|
checknewTenant: {
|
2721
2721
|
method: "GET",
|
2722
|
-
path: "/check-new-tenant",
|
2722
|
+
path: "ms/channel/check-new-tenant",
|
2723
2723
|
responses: {
|
2724
2724
|
200: DefaultSuccessResponseSchema.extend({
|
2725
2725
|
data: tenantCheckedSchema
|
@@ -2730,7 +2730,7 @@ var channelContract = (0, import_core7.initContract)().router(
|
|
2730
2730
|
},
|
2731
2731
|
updateNewTenant: {
|
2732
2732
|
method: "PATCH",
|
2733
|
-
path: "/update-new-tenant",
|
2733
|
+
path: "ms/channel/update-new-tenant",
|
2734
2734
|
responses: {
|
2735
2735
|
200: DefaultSuccessResponseSchema.extend({
|
2736
2736
|
message: import_zod41.default.string()
|
@@ -2770,8 +2770,7 @@ var channelContract = (0, import_core7.initContract)().router(
|
|
2770
2770
|
lazada
|
2771
2771
|
},
|
2772
2772
|
{
|
2773
|
-
baseHeaders: DefaultHeaderSchema
|
2774
|
-
pathPrefix: "channel"
|
2773
|
+
baseHeaders: DefaultHeaderSchema
|
2775
2774
|
}
|
2776
2775
|
);
|
2777
2776
|
var channelFacebookFeedContract = (0, import_core7.initContract)().router(
|