@kl1/contracts 1.0.76 → 1.0.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1520 -1516
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1520 -1516
- package/dist/index.mjs.map +1 -1
- package/dist/src/channel/index.d.ts +33 -29
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/contract.d.ts +59 -310
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +25 -21
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/instagram/validation.d.ts +25 -21
- package/dist/src/instagram/validation.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +1 -260
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/line/schema.d.ts +0 -259
- package/dist/src/line/schema.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/src/contract.d.ts
CHANGED
@@ -33249,40 +33249,44 @@ export declare const apiContract: {
|
|
33249
33249
|
data: import("zod").ZodObject<{
|
33250
33250
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
33251
33251
|
access_token: import("zod").ZodString;
|
33252
|
-
|
33253
|
-
|
33254
|
-
id: import("zod").ZodString;
|
33252
|
+
instagram_business_account: import("zod").ZodObject<{
|
33253
|
+
username: import("zod").ZodString;
|
33255
33254
|
name: import("zod").ZodString;
|
33255
|
+
ig_id: import("zod").ZodNumber;
|
33256
|
+
id: import("zod").ZodString;
|
33256
33257
|
}, "strip", import("zod").ZodTypeAny, {
|
33257
33258
|
id: string;
|
33258
33259
|
name: string;
|
33260
|
+
username: string;
|
33261
|
+
ig_id: number;
|
33259
33262
|
}, {
|
33260
33263
|
id: string;
|
33261
33264
|
name: string;
|
33262
|
-
|
33265
|
+
username: string;
|
33266
|
+
ig_id: number;
|
33267
|
+
}>;
|
33263
33268
|
id: import("zod").ZodString;
|
33264
33269
|
name: import("zod").ZodString;
|
33265
|
-
tasks: import("zod").ZodArray<import("zod").ZodString, "many">;
|
33266
33270
|
}, "strip", import("zod").ZodTypeAny, {
|
33267
33271
|
id: string;
|
33268
33272
|
name: string;
|
33269
|
-
category: string;
|
33270
33273
|
access_token: string;
|
33271
|
-
|
33274
|
+
instagram_business_account: {
|
33272
33275
|
id: string;
|
33273
33276
|
name: string;
|
33274
|
-
|
33275
|
-
|
33277
|
+
username: string;
|
33278
|
+
ig_id: number;
|
33279
|
+
};
|
33276
33280
|
}, {
|
33277
33281
|
id: string;
|
33278
33282
|
name: string;
|
33279
|
-
category: string;
|
33280
33283
|
access_token: string;
|
33281
|
-
|
33284
|
+
instagram_business_account: {
|
33282
33285
|
id: string;
|
33283
33286
|
name: string;
|
33284
|
-
|
33285
|
-
|
33287
|
+
username: string;
|
33288
|
+
ig_id: number;
|
33289
|
+
};
|
33286
33290
|
}>, "many">;
|
33287
33291
|
paging: import("zod").ZodOptional<import("zod").ZodObject<{
|
33288
33292
|
cursors: import("zod").ZodObject<{
|
@@ -33310,13 +33314,13 @@ export declare const apiContract: {
|
|
33310
33314
|
data: {
|
33311
33315
|
id: string;
|
33312
33316
|
name: string;
|
33313
|
-
category: string;
|
33314
33317
|
access_token: string;
|
33315
|
-
|
33318
|
+
instagram_business_account: {
|
33316
33319
|
id: string;
|
33317
33320
|
name: string;
|
33318
|
-
|
33319
|
-
|
33321
|
+
username: string;
|
33322
|
+
ig_id: number;
|
33323
|
+
};
|
33320
33324
|
}[];
|
33321
33325
|
paging?: {
|
33322
33326
|
cursors: {
|
@@ -33328,13 +33332,13 @@ export declare const apiContract: {
|
|
33328
33332
|
data: {
|
33329
33333
|
id: string;
|
33330
33334
|
name: string;
|
33331
|
-
category: string;
|
33332
33335
|
access_token: string;
|
33333
|
-
|
33336
|
+
instagram_business_account: {
|
33334
33337
|
id: string;
|
33335
33338
|
name: string;
|
33336
|
-
|
33337
|
-
|
33339
|
+
username: string;
|
33340
|
+
ig_id: number;
|
33341
|
+
};
|
33338
33342
|
}[];
|
33339
33343
|
paging?: {
|
33340
33344
|
cursors: {
|
@@ -33348,13 +33352,13 @@ export declare const apiContract: {
|
|
33348
33352
|
data: {
|
33349
33353
|
id: string;
|
33350
33354
|
name: string;
|
33351
|
-
category: string;
|
33352
33355
|
access_token: string;
|
33353
|
-
|
33356
|
+
instagram_business_account: {
|
33354
33357
|
id: string;
|
33355
33358
|
name: string;
|
33356
|
-
|
33357
|
-
|
33359
|
+
username: string;
|
33360
|
+
ig_id: number;
|
33361
|
+
};
|
33358
33362
|
}[];
|
33359
33363
|
paging?: {
|
33360
33364
|
cursors: {
|
@@ -33369,13 +33373,13 @@ export declare const apiContract: {
|
|
33369
33373
|
data: {
|
33370
33374
|
id: string;
|
33371
33375
|
name: string;
|
33372
|
-
category: string;
|
33373
33376
|
access_token: string;
|
33374
|
-
|
33377
|
+
instagram_business_account: {
|
33375
33378
|
id: string;
|
33376
33379
|
name: string;
|
33377
|
-
|
33378
|
-
|
33380
|
+
username: string;
|
33381
|
+
ig_id: number;
|
33382
|
+
};
|
33379
33383
|
}[];
|
33380
33384
|
paging?: {
|
33381
33385
|
cursors: {
|
@@ -80869,207 +80873,22 @@ export declare const platformContract: {
|
|
80869
80873
|
lineSecret: import("zod").ZodOptional<import("zod").ZodString>;
|
80870
80874
|
actor: import("zod").ZodOptional<import("zod").ZodObject<{
|
80871
80875
|
id: import("zod").ZodString;
|
80872
|
-
createdAt: import("zod").ZodDate;
|
80873
|
-
updatedAt: import("zod").ZodDate;
|
80874
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
80875
80876
|
name: import("zod").ZodString;
|
80876
80877
|
email: import("zod").ZodString;
|
80877
|
-
emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
80878
|
-
password: import("zod").ZodString;
|
80879
80878
|
address: import("zod").ZodNullable<import("zod").ZodString>;
|
80880
80879
|
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
80880
|
}, "strip", import("zod").ZodTypeAny, {
|
80988
80881
|
id: string;
|
80989
80882
|
address: string | null;
|
80990
80883
|
name: string;
|
80991
80884
|
email: string;
|
80992
|
-
createdAt: Date;
|
80993
|
-
updatedAt: Date;
|
80994
|
-
deletedAt: Date | null;
|
80995
|
-
emailVerifiedAt: Date | null;
|
80996
|
-
password: string;
|
80997
80885
|
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
80886
|
}, {
|
81031
80887
|
id: string;
|
81032
80888
|
address: string | null;
|
81033
80889
|
name: string;
|
81034
80890
|
email: string;
|
81035
|
-
createdAt: Date;
|
81036
|
-
updatedAt: Date;
|
81037
|
-
deletedAt: Date | null;
|
81038
|
-
emailVerifiedAt: Date | null;
|
81039
|
-
password: string;
|
81040
80891
|
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
80892
|
}>>;
|
81074
80893
|
}, "strip", import("zod").ZodTypeAny, {
|
81075
80894
|
name: string;
|
@@ -81082,44 +80901,7 @@ export declare const platformContract: {
|
|
81082
80901
|
address: string | null;
|
81083
80902
|
name: string;
|
81084
80903
|
email: string;
|
81085
|
-
createdAt: Date;
|
81086
|
-
updatedAt: Date;
|
81087
|
-
deletedAt: Date | null;
|
81088
|
-
emailVerifiedAt: Date | null;
|
81089
|
-
password: string;
|
81090
80904
|
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
80905
|
} | undefined;
|
81124
80906
|
}, {
|
81125
80907
|
name: string;
|
@@ -81132,44 +80914,7 @@ export declare const platformContract: {
|
|
81132
80914
|
address: string | null;
|
81133
80915
|
name: string;
|
81134
80916
|
email: string;
|
81135
|
-
createdAt: Date;
|
81136
|
-
updatedAt: Date;
|
81137
|
-
deletedAt: Date | null;
|
81138
|
-
emailVerifiedAt: Date | null;
|
81139
|
-
password: string;
|
81140
80917
|
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
80918
|
} | undefined;
|
81174
80919
|
}>;
|
81175
80920
|
summary: "Connect to LINE channel";
|
@@ -81196,7 +80941,7 @@ export declare const platformContract: {
|
|
81196
80941
|
error?: any;
|
81197
80942
|
}>;
|
81198
80943
|
};
|
81199
|
-
path: "connect";
|
80944
|
+
path: "/connect";
|
81200
80945
|
};
|
81201
80946
|
sendMessage: {
|
81202
80947
|
body: import("zod").ZodObject<{
|
@@ -99858,40 +99603,44 @@ export declare const platformContract: {
|
|
99858
99603
|
requestId: import("zod").ZodString;
|
99859
99604
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
99860
99605
|
access_token: import("zod").ZodString;
|
99861
|
-
|
99862
|
-
|
99863
|
-
id: import("zod").ZodString;
|
99606
|
+
instagram_business_account: import("zod").ZodObject<{
|
99607
|
+
username: import("zod").ZodString;
|
99864
99608
|
name: import("zod").ZodString;
|
99609
|
+
ig_id: import("zod").ZodNumber;
|
99610
|
+
id: import("zod").ZodString;
|
99865
99611
|
}, "strip", import("zod").ZodTypeAny, {
|
99866
99612
|
id: string;
|
99867
99613
|
name: string;
|
99614
|
+
username: string;
|
99615
|
+
ig_id: number;
|
99868
99616
|
}, {
|
99869
99617
|
id: string;
|
99870
99618
|
name: string;
|
99871
|
-
|
99619
|
+
username: string;
|
99620
|
+
ig_id: number;
|
99621
|
+
}>;
|
99872
99622
|
id: import("zod").ZodString;
|
99873
99623
|
name: import("zod").ZodString;
|
99874
|
-
tasks: import("zod").ZodArray<import("zod").ZodString, "many">;
|
99875
99624
|
}, "strip", import("zod").ZodTypeAny, {
|
99876
99625
|
id: string;
|
99877
99626
|
name: string;
|
99878
|
-
category: string;
|
99879
99627
|
access_token: string;
|
99880
|
-
|
99628
|
+
instagram_business_account: {
|
99881
99629
|
id: string;
|
99882
99630
|
name: string;
|
99883
|
-
|
99884
|
-
|
99631
|
+
username: string;
|
99632
|
+
ig_id: number;
|
99633
|
+
};
|
99885
99634
|
}, {
|
99886
99635
|
id: string;
|
99887
99636
|
name: string;
|
99888
|
-
category: string;
|
99889
99637
|
access_token: string;
|
99890
|
-
|
99638
|
+
instagram_business_account: {
|
99891
99639
|
id: string;
|
99892
99640
|
name: string;
|
99893
|
-
|
99894
|
-
|
99641
|
+
username: string;
|
99642
|
+
ig_id: number;
|
99643
|
+
};
|
99895
99644
|
}>, "many">;
|
99896
99645
|
paging: import("zod").ZodOptional<import("zod").ZodObject<{
|
99897
99646
|
cursors: import("zod").ZodObject<{
|
@@ -99919,13 +99668,13 @@ export declare const platformContract: {
|
|
99919
99668
|
data: {
|
99920
99669
|
id: string;
|
99921
99670
|
name: string;
|
99922
|
-
category: string;
|
99923
99671
|
access_token: string;
|
99924
|
-
|
99672
|
+
instagram_business_account: {
|
99925
99673
|
id: string;
|
99926
99674
|
name: string;
|
99927
|
-
|
99928
|
-
|
99675
|
+
username: string;
|
99676
|
+
ig_id: number;
|
99677
|
+
};
|
99929
99678
|
}[];
|
99930
99679
|
requestId: string;
|
99931
99680
|
paging?: {
|
@@ -99938,13 +99687,13 @@ export declare const platformContract: {
|
|
99938
99687
|
data: {
|
99939
99688
|
id: string;
|
99940
99689
|
name: string;
|
99941
|
-
category: string;
|
99942
99690
|
access_token: string;
|
99943
|
-
|
99691
|
+
instagram_business_account: {
|
99944
99692
|
id: string;
|
99945
99693
|
name: string;
|
99946
|
-
|
99947
|
-
|
99694
|
+
username: string;
|
99695
|
+
ig_id: number;
|
99696
|
+
};
|
99948
99697
|
}[];
|
99949
99698
|
requestId: string;
|
99950
99699
|
paging?: {
|