@kl1/contracts 1.0.75 → 1.0.77

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.
@@ -2342,7 +2342,7 @@ export declare const channelContract: {
2342
2342
  error?: any;
2343
2343
  }>;
2344
2344
  };
2345
- path: "channel/rename/:channelId";
2345
+ path: "channel/reconnect/:channelId";
2346
2346
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2347
2347
  'x-tenant': z.ZodString;
2348
2348
  authorization: z.ZodString;
@@ -31302,7 +31302,7 @@ export declare const apiContract: {
31302
31302
  error?: any;
31303
31303
  }>;
31304
31304
  };
31305
- path: "channel/rename/:channelId";
31305
+ path: "channel/reconnect/:channelId";
31306
31306
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
31307
31307
  'x-tenant': import("zod").ZodString;
31308
31308
  authorization: import("zod").ZodString;
@@ -80869,207 +80869,22 @@ export declare const platformContract: {
80869
80869
  lineSecret: import("zod").ZodOptional<import("zod").ZodString>;
80870
80870
  actor: import("zod").ZodOptional<import("zod").ZodObject<{
80871
80871
  id: import("zod").ZodString;
80872
- createdAt: import("zod").ZodDate;
80873
- updatedAt: import("zod").ZodDate;
80874
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
80875
80872
  name: import("zod").ZodString;
80876
80873
  email: import("zod").ZodString;
80877
- emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
80878
- password: import("zod").ZodString;
80879
80874
  address: import("zod").ZodNullable<import("zod").ZodString>;
80880
80875
  phone: import("zod").ZodNullable<import("zod").ZodString>;
80881
- notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
80882
- roles: import("zod").ZodArray<import("zod").ZodObject<{
80883
- id: import("zod").ZodString;
80884
- createdAt: import("zod").ZodDate;
80885
- updatedAt: import("zod").ZodDate;
80886
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
80887
- systemName: import("zod").ZodString;
80888
- displayName: import("zod").ZodString;
80889
- description: import("zod").ZodNullable<import("zod").ZodString>;
80890
- permissions: import("zod").ZodArray<import("zod").ZodObject<{
80891
- id: import("zod").ZodString;
80892
- createdAt: import("zod").ZodDate;
80893
- updatedAt: import("zod").ZodDate;
80894
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
80895
- systemName: import("zod").ZodString;
80896
- displayName: import("zod").ZodString;
80897
- description: import("zod").ZodNullable<import("zod").ZodString>;
80898
- }, "strip", import("zod").ZodTypeAny, {
80899
- id: string;
80900
- description: string | null;
80901
- createdAt: Date;
80902
- updatedAt: Date;
80903
- deletedAt: Date | null;
80904
- systemName: string;
80905
- displayName: string;
80906
- }, {
80907
- id: string;
80908
- description: string | null;
80909
- createdAt: Date;
80910
- updatedAt: Date;
80911
- deletedAt: Date | null;
80912
- systemName: string;
80913
- displayName: string;
80914
- }>, "many">;
80915
- }, "strip", import("zod").ZodTypeAny, {
80916
- id: string;
80917
- description: string | null;
80918
- createdAt: Date;
80919
- updatedAt: Date;
80920
- deletedAt: Date | null;
80921
- systemName: string;
80922
- displayName: string;
80923
- permissions: {
80924
- id: string;
80925
- description: string | null;
80926
- createdAt: Date;
80927
- updatedAt: Date;
80928
- deletedAt: Date | null;
80929
- systemName: string;
80930
- displayName: string;
80931
- }[];
80932
- }, {
80933
- id: string;
80934
- description: string | null;
80935
- createdAt: Date;
80936
- updatedAt: Date;
80937
- deletedAt: Date | null;
80938
- systemName: string;
80939
- displayName: string;
80940
- permissions: {
80941
- id: string;
80942
- description: string | null;
80943
- createdAt: Date;
80944
- updatedAt: Date;
80945
- deletedAt: Date | null;
80946
- systemName: string;
80947
- displayName: string;
80948
- }[];
80949
- }>, "many">;
80950
- extension: import("zod").ZodObject<{
80951
- id: import("zod").ZodString;
80952
- createdAt: import("zod").ZodDate;
80953
- updatedAt: import("zod").ZodDate;
80954
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
80955
- userId: import("zod").ZodNullable<import("zod").ZodString>;
80956
- sipServerUrl: import("zod").ZodString;
80957
- sipUserName: import("zod").ZodString;
80958
- webphoneLoginUser: import("zod").ZodString;
80959
- extensionId: import("zod").ZodNullable<import("zod").ZodString>;
80960
- extensionName: import("zod").ZodString;
80961
- telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
80962
- }, "strip", import("zod").ZodTypeAny, {
80963
- id: string;
80964
- createdAt: Date;
80965
- updatedAt: Date;
80966
- deletedAt: Date | null;
80967
- userId: string | null;
80968
- sipServerUrl: string;
80969
- sipUserName: string;
80970
- webphoneLoginUser: string;
80971
- extensionId: string | null;
80972
- extensionName: string;
80973
- telephonySignature: string | null;
80974
- }, {
80975
- id: string;
80976
- createdAt: Date;
80977
- updatedAt: Date;
80978
- deletedAt: Date | null;
80979
- userId: string | null;
80980
- sipServerUrl: string;
80981
- sipUserName: string;
80982
- webphoneLoginUser: string;
80983
- extensionId: string | null;
80984
- extensionName: string;
80985
- telephonySignature: string | null;
80986
- }>;
80987
80876
  }, "strip", import("zod").ZodTypeAny, {
80988
80877
  id: string;
80989
80878
  address: string | null;
80990
80879
  name: string;
80991
80880
  email: string;
80992
- createdAt: Date;
80993
- updatedAt: Date;
80994
- deletedAt: Date | null;
80995
- emailVerifiedAt: Date | null;
80996
- password: string;
80997
80881
  phone: string | null;
80998
- notificationCount: number | null;
80999
- roles: {
81000
- id: string;
81001
- description: string | null;
81002
- createdAt: Date;
81003
- updatedAt: Date;
81004
- deletedAt: Date | null;
81005
- systemName: string;
81006
- displayName: string;
81007
- permissions: {
81008
- id: string;
81009
- description: string | null;
81010
- createdAt: Date;
81011
- updatedAt: Date;
81012
- deletedAt: Date | null;
81013
- systemName: string;
81014
- displayName: string;
81015
- }[];
81016
- }[];
81017
- extension: {
81018
- id: string;
81019
- createdAt: Date;
81020
- updatedAt: Date;
81021
- deletedAt: Date | null;
81022
- userId: string | null;
81023
- sipServerUrl: string;
81024
- sipUserName: string;
81025
- webphoneLoginUser: string;
81026
- extensionId: string | null;
81027
- extensionName: string;
81028
- telephonySignature: string | null;
81029
- };
81030
80882
  }, {
81031
80883
  id: string;
81032
80884
  address: string | null;
81033
80885
  name: string;
81034
80886
  email: string;
81035
- createdAt: Date;
81036
- updatedAt: Date;
81037
- deletedAt: Date | null;
81038
- emailVerifiedAt: Date | null;
81039
- password: string;
81040
80887
  phone: string | null;
81041
- notificationCount: number | null;
81042
- roles: {
81043
- id: string;
81044
- description: string | null;
81045
- createdAt: Date;
81046
- updatedAt: Date;
81047
- deletedAt: Date | null;
81048
- systemName: string;
81049
- displayName: string;
81050
- permissions: {
81051
- id: string;
81052
- description: string | null;
81053
- createdAt: Date;
81054
- updatedAt: Date;
81055
- deletedAt: Date | null;
81056
- systemName: string;
81057
- displayName: string;
81058
- }[];
81059
- }[];
81060
- extension: {
81061
- id: string;
81062
- createdAt: Date;
81063
- updatedAt: Date;
81064
- deletedAt: Date | null;
81065
- userId: string | null;
81066
- sipServerUrl: string;
81067
- sipUserName: string;
81068
- webphoneLoginUser: string;
81069
- extensionId: string | null;
81070
- extensionName: string;
81071
- telephonySignature: string | null;
81072
- };
81073
80888
  }>>;
81074
80889
  }, "strip", import("zod").ZodTypeAny, {
81075
80890
  name: string;
@@ -81082,44 +80897,7 @@ export declare const platformContract: {
81082
80897
  address: string | null;
81083
80898
  name: string;
81084
80899
  email: string;
81085
- createdAt: Date;
81086
- updatedAt: Date;
81087
- deletedAt: Date | null;
81088
- emailVerifiedAt: Date | null;
81089
- password: string;
81090
80900
  phone: string | null;
81091
- notificationCount: number | null;
81092
- roles: {
81093
- id: string;
81094
- description: string | null;
81095
- createdAt: Date;
81096
- updatedAt: Date;
81097
- deletedAt: Date | null;
81098
- systemName: string;
81099
- displayName: string;
81100
- permissions: {
81101
- id: string;
81102
- description: string | null;
81103
- createdAt: Date;
81104
- updatedAt: Date;
81105
- deletedAt: Date | null;
81106
- systemName: string;
81107
- displayName: string;
81108
- }[];
81109
- }[];
81110
- extension: {
81111
- id: string;
81112
- createdAt: Date;
81113
- updatedAt: Date;
81114
- deletedAt: Date | null;
81115
- userId: string | null;
81116
- sipServerUrl: string;
81117
- sipUserName: string;
81118
- webphoneLoginUser: string;
81119
- extensionId: string | null;
81120
- extensionName: string;
81121
- telephonySignature: string | null;
81122
- };
81123
80901
  } | undefined;
81124
80902
  }, {
81125
80903
  name: string;
@@ -81132,44 +80910,7 @@ export declare const platformContract: {
81132
80910
  address: string | null;
81133
80911
  name: string;
81134
80912
  email: string;
81135
- createdAt: Date;
81136
- updatedAt: Date;
81137
- deletedAt: Date | null;
81138
- emailVerifiedAt: Date | null;
81139
- password: string;
81140
80913
  phone: string | null;
81141
- notificationCount: number | null;
81142
- roles: {
81143
- id: string;
81144
- description: string | null;
81145
- createdAt: Date;
81146
- updatedAt: Date;
81147
- deletedAt: Date | null;
81148
- systemName: string;
81149
- displayName: string;
81150
- permissions: {
81151
- id: string;
81152
- description: string | null;
81153
- createdAt: Date;
81154
- updatedAt: Date;
81155
- deletedAt: Date | null;
81156
- systemName: string;
81157
- displayName: string;
81158
- }[];
81159
- }[];
81160
- extension: {
81161
- id: string;
81162
- createdAt: Date;
81163
- updatedAt: Date;
81164
- deletedAt: Date | null;
81165
- userId: string | null;
81166
- sipServerUrl: string;
81167
- sipUserName: string;
81168
- webphoneLoginUser: string;
81169
- extensionId: string | null;
81170
- extensionName: string;
81171
- telephonySignature: string | null;
81172
- };
81173
80914
  } | undefined;
81174
80915
  }>;
81175
80916
  summary: "Connect to LINE channel";
@@ -81196,7 +80937,7 @@ export declare const platformContract: {
81196
80937
  error?: any;
81197
80938
  }>;
81198
80939
  };
81199
- path: "connect";
80940
+ path: "/connect";
81200
80941
  };
81201
80942
  sendMessage: {
81202
80943
  body: import("zod").ZodObject<{
@@ -99858,40 +99599,44 @@ export declare const platformContract: {
99858
99599
  requestId: import("zod").ZodString;
99859
99600
  data: import("zod").ZodArray<import("zod").ZodObject<{
99860
99601
  access_token: import("zod").ZodString;
99861
- category: import("zod").ZodString;
99862
- category_list: import("zod").ZodArray<import("zod").ZodObject<{
99863
- id: import("zod").ZodString;
99602
+ instagram_business_account: import("zod").ZodObject<{
99603
+ username: import("zod").ZodString;
99864
99604
  name: import("zod").ZodString;
99605
+ ig_id: import("zod").ZodNumber;
99606
+ id: import("zod").ZodString;
99865
99607
  }, "strip", import("zod").ZodTypeAny, {
99866
99608
  id: string;
99867
99609
  name: string;
99610
+ username: string;
99611
+ ig_id: number;
99868
99612
  }, {
99869
99613
  id: string;
99870
99614
  name: string;
99871
- }>, "many">;
99615
+ username: string;
99616
+ ig_id: number;
99617
+ }>;
99872
99618
  id: import("zod").ZodString;
99873
99619
  name: import("zod").ZodString;
99874
- tasks: import("zod").ZodArray<import("zod").ZodString, "many">;
99875
99620
  }, "strip", import("zod").ZodTypeAny, {
99876
99621
  id: string;
99877
99622
  name: string;
99878
- category: string;
99879
99623
  access_token: string;
99880
- category_list: {
99624
+ instagram_business_account: {
99881
99625
  id: string;
99882
99626
  name: string;
99883
- }[];
99884
- tasks: string[];
99627
+ username: string;
99628
+ ig_id: number;
99629
+ };
99885
99630
  }, {
99886
99631
  id: string;
99887
99632
  name: string;
99888
- category: string;
99889
99633
  access_token: string;
99890
- category_list: {
99634
+ instagram_business_account: {
99891
99635
  id: string;
99892
99636
  name: string;
99893
- }[];
99894
- tasks: string[];
99637
+ username: string;
99638
+ ig_id: number;
99639
+ };
99895
99640
  }>, "many">;
99896
99641
  paging: import("zod").ZodOptional<import("zod").ZodObject<{
99897
99642
  cursors: import("zod").ZodObject<{
@@ -99919,13 +99664,13 @@ export declare const platformContract: {
99919
99664
  data: {
99920
99665
  id: string;
99921
99666
  name: string;
99922
- category: string;
99923
99667
  access_token: string;
99924
- category_list: {
99668
+ instagram_business_account: {
99925
99669
  id: string;
99926
99670
  name: string;
99927
- }[];
99928
- tasks: string[];
99671
+ username: string;
99672
+ ig_id: number;
99673
+ };
99929
99674
  }[];
99930
99675
  requestId: string;
99931
99676
  paging?: {
@@ -99938,13 +99683,13 @@ export declare const platformContract: {
99938
99683
  data: {
99939
99684
  id: string;
99940
99685
  name: string;
99941
- category: string;
99942
99686
  access_token: string;
99943
- category_list: {
99687
+ instagram_business_account: {
99944
99688
  id: string;
99945
99689
  name: string;
99946
- }[];
99947
- tasks: string[];
99690
+ username: string;
99691
+ ig_id: number;
99692
+ };
99948
99693
  }[];
99949
99694
  requestId: string;
99950
99695
  paging?: {