@larksuiteoapi/node-sdk 1.46.0 → 1.47.1
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/README.md +1 -1
- package/es/index.js +2300 -972
- package/lib/index.js +2300 -973
- package/package.json +1 -3
- package/types/index.d.ts +2193 -297
package/types/index.d.ts
CHANGED
|
@@ -6214,6 +6214,29 @@ declare abstract class Client$10 extends Client$11 {
|
|
|
6214
6214
|
} | undefined;
|
|
6215
6215
|
mobile_default_ability?: "bot" | "gadget" | "web_app" | undefined;
|
|
6216
6216
|
pc_default_ability?: "bot" | "gadget" | "web_app" | undefined;
|
|
6217
|
+
secret?: string | undefined;
|
|
6218
|
+
event?: {
|
|
6219
|
+
subscription_type?: string | undefined;
|
|
6220
|
+
request_url?: string | undefined;
|
|
6221
|
+
subscribed_events?: string[] | undefined;
|
|
6222
|
+
} | undefined;
|
|
6223
|
+
callback?: {
|
|
6224
|
+
callback_type?: string | undefined;
|
|
6225
|
+
request_url?: string | undefined;
|
|
6226
|
+
subscribed_callbacks?: string[] | undefined;
|
|
6227
|
+
} | undefined;
|
|
6228
|
+
encryption?: {
|
|
6229
|
+
encryption_key?: string | undefined;
|
|
6230
|
+
verification_token?: string | undefined;
|
|
6231
|
+
} | undefined;
|
|
6232
|
+
security?: {
|
|
6233
|
+
redirect_urls?: string[] | undefined;
|
|
6234
|
+
allowed_ips?: string[] | undefined;
|
|
6235
|
+
h5_trusted_domains?: string[] | undefined;
|
|
6236
|
+
web_view_trusted_domains?: string[] | undefined;
|
|
6237
|
+
allowed_schemas?: string[] | undefined;
|
|
6238
|
+
allowed_server_domains?: string[] | undefined;
|
|
6239
|
+
} | undefined;
|
|
6217
6240
|
} | undefined;
|
|
6218
6241
|
} | undefined;
|
|
6219
6242
|
}>;
|
|
@@ -6268,6 +6291,29 @@ declare abstract class Client$10 extends Client$11 {
|
|
|
6268
6291
|
} | undefined;
|
|
6269
6292
|
mobile_default_ability?: "bot" | "gadget" | "web_app" | undefined;
|
|
6270
6293
|
pc_default_ability?: "bot" | "gadget" | "web_app" | undefined;
|
|
6294
|
+
secret?: string | undefined;
|
|
6295
|
+
event?: {
|
|
6296
|
+
subscription_type?: string | undefined;
|
|
6297
|
+
request_url?: string | undefined;
|
|
6298
|
+
subscribed_events?: string[] | undefined;
|
|
6299
|
+
} | undefined;
|
|
6300
|
+
callback?: {
|
|
6301
|
+
callback_type?: string | undefined;
|
|
6302
|
+
request_url?: string | undefined;
|
|
6303
|
+
subscribed_callbacks?: string[] | undefined;
|
|
6304
|
+
} | undefined;
|
|
6305
|
+
encryption?: {
|
|
6306
|
+
encryption_key?: string | undefined;
|
|
6307
|
+
verification_token?: string | undefined;
|
|
6308
|
+
} | undefined;
|
|
6309
|
+
security?: {
|
|
6310
|
+
redirect_urls?: string[] | undefined;
|
|
6311
|
+
allowed_ips?: string[] | undefined;
|
|
6312
|
+
h5_trusted_domains?: string[] | undefined;
|
|
6313
|
+
web_view_trusted_domains?: string[] | undefined;
|
|
6314
|
+
allowed_schemas?: string[] | undefined;
|
|
6315
|
+
allowed_server_domains?: string[] | undefined;
|
|
6316
|
+
} | undefined;
|
|
6271
6317
|
}[] | undefined;
|
|
6272
6318
|
total_count?: number | undefined;
|
|
6273
6319
|
} | null, void, unknown>;
|
|
@@ -6334,6 +6380,29 @@ declare abstract class Client$10 extends Client$11 {
|
|
|
6334
6380
|
} | undefined;
|
|
6335
6381
|
mobile_default_ability?: "bot" | "gadget" | "web_app" | undefined;
|
|
6336
6382
|
pc_default_ability?: "bot" | "gadget" | "web_app" | undefined;
|
|
6383
|
+
secret?: string | undefined;
|
|
6384
|
+
event?: {
|
|
6385
|
+
subscription_type?: string | undefined;
|
|
6386
|
+
request_url?: string | undefined;
|
|
6387
|
+
subscribed_events?: string[] | undefined;
|
|
6388
|
+
} | undefined;
|
|
6389
|
+
callback?: {
|
|
6390
|
+
callback_type?: string | undefined;
|
|
6391
|
+
request_url?: string | undefined;
|
|
6392
|
+
subscribed_callbacks?: string[] | undefined;
|
|
6393
|
+
} | undefined;
|
|
6394
|
+
encryption?: {
|
|
6395
|
+
encryption_key?: string | undefined;
|
|
6396
|
+
verification_token?: string | undefined;
|
|
6397
|
+
} | undefined;
|
|
6398
|
+
security?: {
|
|
6399
|
+
redirect_urls?: string[] | undefined;
|
|
6400
|
+
allowed_ips?: string[] | undefined;
|
|
6401
|
+
h5_trusted_domains?: string[] | undefined;
|
|
6402
|
+
web_view_trusted_domains?: string[] | undefined;
|
|
6403
|
+
allowed_schemas?: string[] | undefined;
|
|
6404
|
+
allowed_server_domains?: string[] | undefined;
|
|
6405
|
+
} | undefined;
|
|
6337
6406
|
}[] | undefined;
|
|
6338
6407
|
page_token?: string | undefined;
|
|
6339
6408
|
has_more?: boolean | undefined;
|
|
@@ -6352,6 +6421,29 @@ declare abstract class Client$10 extends Client$11 {
|
|
|
6352
6421
|
patch: (payload?: {
|
|
6353
6422
|
data?: {
|
|
6354
6423
|
common_categories?: Array<string>;
|
|
6424
|
+
secret?: string;
|
|
6425
|
+
event?: {
|
|
6426
|
+
subscription_type?: string;
|
|
6427
|
+
request_url?: string;
|
|
6428
|
+
subscribed_events?: Array<string>;
|
|
6429
|
+
};
|
|
6430
|
+
callback?: {
|
|
6431
|
+
callback_type?: string;
|
|
6432
|
+
request_url?: string;
|
|
6433
|
+
subscribed_callbacks?: Array<string>;
|
|
6434
|
+
};
|
|
6435
|
+
encryption?: {
|
|
6436
|
+
encryption_key?: string;
|
|
6437
|
+
verification_token?: string;
|
|
6438
|
+
};
|
|
6439
|
+
security?: {
|
|
6440
|
+
redirect_urls?: Array<string>;
|
|
6441
|
+
allowed_ips?: Array<string>;
|
|
6442
|
+
h5_trusted_domains?: Array<string>;
|
|
6443
|
+
web_view_trusted_domains?: Array<string>;
|
|
6444
|
+
allowed_schemas?: Array<string>;
|
|
6445
|
+
allowed_server_domains?: Array<string>;
|
|
6446
|
+
};
|
|
6355
6447
|
};
|
|
6356
6448
|
params: {
|
|
6357
6449
|
lang: "zh_cn" | "en_us" | "ja_jp";
|
|
@@ -6433,6 +6525,29 @@ declare abstract class Client$10 extends Client$11 {
|
|
|
6433
6525
|
};
|
|
6434
6526
|
mobile_default_ability?: "gadget" | "web_app" | "bot";
|
|
6435
6527
|
pc_default_ability?: "gadget" | "web_app" | "bot";
|
|
6528
|
+
secret?: string;
|
|
6529
|
+
event?: {
|
|
6530
|
+
subscription_type?: string;
|
|
6531
|
+
request_url?: string;
|
|
6532
|
+
subscribed_events?: Array<string>;
|
|
6533
|
+
};
|
|
6534
|
+
callback?: {
|
|
6535
|
+
callback_type?: string;
|
|
6536
|
+
request_url?: string;
|
|
6537
|
+
subscribed_callbacks?: Array<string>;
|
|
6538
|
+
};
|
|
6539
|
+
encryption?: {
|
|
6540
|
+
encryption_key?: string;
|
|
6541
|
+
verification_token?: string;
|
|
6542
|
+
};
|
|
6543
|
+
security?: {
|
|
6544
|
+
redirect_urls?: Array<string>;
|
|
6545
|
+
allowed_ips?: Array<string>;
|
|
6546
|
+
h5_trusted_domains?: Array<string>;
|
|
6547
|
+
web_view_trusted_domains?: Array<string>;
|
|
6548
|
+
allowed_schemas?: Array<string>;
|
|
6549
|
+
allowed_server_domains?: Array<string>;
|
|
6550
|
+
};
|
|
6436
6551
|
}>;
|
|
6437
6552
|
has_more: boolean;
|
|
6438
6553
|
page_token?: string | undefined;
|
|
@@ -7620,6 +7735,29 @@ declare abstract class Client$10 extends Client$11 {
|
|
|
7620
7735
|
} | undefined;
|
|
7621
7736
|
mobile_default_ability?: "bot" | "gadget" | "web_app" | undefined;
|
|
7622
7737
|
pc_default_ability?: "bot" | "gadget" | "web_app" | undefined;
|
|
7738
|
+
secret?: string | undefined;
|
|
7739
|
+
event?: {
|
|
7740
|
+
subscription_type?: string | undefined;
|
|
7741
|
+
request_url?: string | undefined;
|
|
7742
|
+
subscribed_events?: string[] | undefined;
|
|
7743
|
+
} | undefined;
|
|
7744
|
+
callback?: {
|
|
7745
|
+
callback_type?: string | undefined;
|
|
7746
|
+
request_url?: string | undefined;
|
|
7747
|
+
subscribed_callbacks?: string[] | undefined;
|
|
7748
|
+
} | undefined;
|
|
7749
|
+
encryption?: {
|
|
7750
|
+
encryption_key?: string | undefined;
|
|
7751
|
+
verification_token?: string | undefined;
|
|
7752
|
+
} | undefined;
|
|
7753
|
+
security?: {
|
|
7754
|
+
redirect_urls?: string[] | undefined;
|
|
7755
|
+
allowed_ips?: string[] | undefined;
|
|
7756
|
+
h5_trusted_domains?: string[] | undefined;
|
|
7757
|
+
web_view_trusted_domains?: string[] | undefined;
|
|
7758
|
+
allowed_schemas?: string[] | undefined;
|
|
7759
|
+
allowed_server_domains?: string[] | undefined;
|
|
7760
|
+
} | undefined;
|
|
7623
7761
|
} | undefined;
|
|
7624
7762
|
} | undefined;
|
|
7625
7763
|
}>;
|
|
@@ -7674,6 +7812,29 @@ declare abstract class Client$10 extends Client$11 {
|
|
|
7674
7812
|
} | undefined;
|
|
7675
7813
|
mobile_default_ability?: "bot" | "gadget" | "web_app" | undefined;
|
|
7676
7814
|
pc_default_ability?: "bot" | "gadget" | "web_app" | undefined;
|
|
7815
|
+
secret?: string | undefined;
|
|
7816
|
+
event?: {
|
|
7817
|
+
subscription_type?: string | undefined;
|
|
7818
|
+
request_url?: string | undefined;
|
|
7819
|
+
subscribed_events?: string[] | undefined;
|
|
7820
|
+
} | undefined;
|
|
7821
|
+
callback?: {
|
|
7822
|
+
callback_type?: string | undefined;
|
|
7823
|
+
request_url?: string | undefined;
|
|
7824
|
+
subscribed_callbacks?: string[] | undefined;
|
|
7825
|
+
} | undefined;
|
|
7826
|
+
encryption?: {
|
|
7827
|
+
encryption_key?: string | undefined;
|
|
7828
|
+
verification_token?: string | undefined;
|
|
7829
|
+
} | undefined;
|
|
7830
|
+
security?: {
|
|
7831
|
+
redirect_urls?: string[] | undefined;
|
|
7832
|
+
allowed_ips?: string[] | undefined;
|
|
7833
|
+
h5_trusted_domains?: string[] | undefined;
|
|
7834
|
+
web_view_trusted_domains?: string[] | undefined;
|
|
7835
|
+
allowed_schemas?: string[] | undefined;
|
|
7836
|
+
allowed_server_domains?: string[] | undefined;
|
|
7837
|
+
} | undefined;
|
|
7677
7838
|
}[] | undefined;
|
|
7678
7839
|
total_count?: number | undefined;
|
|
7679
7840
|
} | null, void, unknown>;
|
|
@@ -7740,6 +7901,29 @@ declare abstract class Client$10 extends Client$11 {
|
|
|
7740
7901
|
} | undefined;
|
|
7741
7902
|
mobile_default_ability?: "bot" | "gadget" | "web_app" | undefined;
|
|
7742
7903
|
pc_default_ability?: "bot" | "gadget" | "web_app" | undefined;
|
|
7904
|
+
secret?: string | undefined;
|
|
7905
|
+
event?: {
|
|
7906
|
+
subscription_type?: string | undefined;
|
|
7907
|
+
request_url?: string | undefined;
|
|
7908
|
+
subscribed_events?: string[] | undefined;
|
|
7909
|
+
} | undefined;
|
|
7910
|
+
callback?: {
|
|
7911
|
+
callback_type?: string | undefined;
|
|
7912
|
+
request_url?: string | undefined;
|
|
7913
|
+
subscribed_callbacks?: string[] | undefined;
|
|
7914
|
+
} | undefined;
|
|
7915
|
+
encryption?: {
|
|
7916
|
+
encryption_key?: string | undefined;
|
|
7917
|
+
verification_token?: string | undefined;
|
|
7918
|
+
} | undefined;
|
|
7919
|
+
security?: {
|
|
7920
|
+
redirect_urls?: string[] | undefined;
|
|
7921
|
+
allowed_ips?: string[] | undefined;
|
|
7922
|
+
h5_trusted_domains?: string[] | undefined;
|
|
7923
|
+
web_view_trusted_domains?: string[] | undefined;
|
|
7924
|
+
allowed_schemas?: string[] | undefined;
|
|
7925
|
+
allowed_server_domains?: string[] | undefined;
|
|
7926
|
+
} | undefined;
|
|
7743
7927
|
}[] | undefined;
|
|
7744
7928
|
page_token?: string | undefined;
|
|
7745
7929
|
has_more?: boolean | undefined;
|
|
@@ -7758,6 +7942,29 @@ declare abstract class Client$10 extends Client$11 {
|
|
|
7758
7942
|
patch: (payload?: {
|
|
7759
7943
|
data?: {
|
|
7760
7944
|
common_categories?: Array<string>;
|
|
7945
|
+
secret?: string;
|
|
7946
|
+
event?: {
|
|
7947
|
+
subscription_type?: string;
|
|
7948
|
+
request_url?: string;
|
|
7949
|
+
subscribed_events?: Array<string>;
|
|
7950
|
+
};
|
|
7951
|
+
callback?: {
|
|
7952
|
+
callback_type?: string;
|
|
7953
|
+
request_url?: string;
|
|
7954
|
+
subscribed_callbacks?: Array<string>;
|
|
7955
|
+
};
|
|
7956
|
+
encryption?: {
|
|
7957
|
+
encryption_key?: string;
|
|
7958
|
+
verification_token?: string;
|
|
7959
|
+
};
|
|
7960
|
+
security?: {
|
|
7961
|
+
redirect_urls?: Array<string>;
|
|
7962
|
+
allowed_ips?: Array<string>;
|
|
7963
|
+
h5_trusted_domains?: Array<string>;
|
|
7964
|
+
web_view_trusted_domains?: Array<string>;
|
|
7965
|
+
allowed_schemas?: Array<string>;
|
|
7966
|
+
allowed_server_domains?: Array<string>;
|
|
7967
|
+
};
|
|
7761
7968
|
};
|
|
7762
7969
|
params: {
|
|
7763
7970
|
lang: "zh_cn" | "en_us" | "ja_jp";
|
|
@@ -7839,6 +8046,29 @@ declare abstract class Client$10 extends Client$11 {
|
|
|
7839
8046
|
};
|
|
7840
8047
|
mobile_default_ability?: "gadget" | "web_app" | "bot";
|
|
7841
8048
|
pc_default_ability?: "gadget" | "web_app" | "bot";
|
|
8049
|
+
secret?: string;
|
|
8050
|
+
event?: {
|
|
8051
|
+
subscription_type?: string;
|
|
8052
|
+
request_url?: string;
|
|
8053
|
+
subscribed_events?: Array<string>;
|
|
8054
|
+
};
|
|
8055
|
+
callback?: {
|
|
8056
|
+
callback_type?: string;
|
|
8057
|
+
request_url?: string;
|
|
8058
|
+
subscribed_callbacks?: Array<string>;
|
|
8059
|
+
};
|
|
8060
|
+
encryption?: {
|
|
8061
|
+
encryption_key?: string;
|
|
8062
|
+
verification_token?: string;
|
|
8063
|
+
};
|
|
8064
|
+
security?: {
|
|
8065
|
+
redirect_urls?: Array<string>;
|
|
8066
|
+
allowed_ips?: Array<string>;
|
|
8067
|
+
h5_trusted_domains?: Array<string>;
|
|
8068
|
+
web_view_trusted_domains?: Array<string>;
|
|
8069
|
+
allowed_schemas?: Array<string>;
|
|
8070
|
+
allowed_server_domains?: Array<string>;
|
|
8071
|
+
};
|
|
7842
8072
|
}>;
|
|
7843
8073
|
has_more: boolean;
|
|
7844
8074
|
page_token?: string | undefined;
|
|
@@ -9380,7 +9610,7 @@ declare abstract class Client$$ extends Client$10 {
|
|
|
9380
9610
|
}>;
|
|
9381
9611
|
};
|
|
9382
9612
|
/**
|
|
9383
|
-
*
|
|
9613
|
+
* 审批查询
|
|
9384
9614
|
*/
|
|
9385
9615
|
task: {
|
|
9386
9616
|
/**
|
|
@@ -10917,7 +11147,7 @@ declare abstract class Client$$ extends Client$10 {
|
|
|
10917
11147
|
}>;
|
|
10918
11148
|
};
|
|
10919
11149
|
/**
|
|
10920
|
-
*
|
|
11150
|
+
* 审批查询
|
|
10921
11151
|
*/
|
|
10922
11152
|
task: {
|
|
10923
11153
|
/**
|
|
@@ -38074,10 +38304,14 @@ declare abstract class Client$L extends Client$M {
|
|
|
38074
38304
|
zh_cn?: string;
|
|
38075
38305
|
en_us?: string;
|
|
38076
38306
|
};
|
|
38307
|
+
active_status: number;
|
|
38077
38308
|
description?: {
|
|
38078
38309
|
zh_cn?: string;
|
|
38079
38310
|
en_us?: string;
|
|
38080
38311
|
};
|
|
38312
|
+
group_type: number;
|
|
38313
|
+
created_by: string;
|
|
38314
|
+
update_time: string;
|
|
38081
38315
|
org_truncation?: Array<{
|
|
38082
38316
|
org_key?: string;
|
|
38083
38317
|
type?: number;
|
|
@@ -39310,13 +39544,14 @@ declare abstract class Client$L extends Client$M {
|
|
|
39310
39544
|
params: {
|
|
39311
39545
|
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
|
|
39312
39546
|
department_id_type?: "open_department_id" | "department_id" | "people_corehr_department_id";
|
|
39313
|
-
employment_id
|
|
39547
|
+
employment_id?: string;
|
|
39314
39548
|
reference_object_api?: "cpst_item" | "cpst_indicator";
|
|
39315
39549
|
reference_object_id: string;
|
|
39316
39550
|
department_id?: string;
|
|
39317
39551
|
work_location_id?: string;
|
|
39318
39552
|
company_id?: string;
|
|
39319
39553
|
job_family_id?: string;
|
|
39554
|
+
job_id?: string;
|
|
39320
39555
|
job_level_id?: string;
|
|
39321
39556
|
employee_type_id?: string;
|
|
39322
39557
|
recruitment_type?: "experienced_professionals" | "recent_graduates" | "routine_intern";
|
|
@@ -41927,6 +42162,7 @@ declare abstract class Client$L extends Client$M {
|
|
|
41927
42162
|
value: string;
|
|
41928
42163
|
}>;
|
|
41929
42164
|
active: boolean;
|
|
42165
|
+
selectable?: boolean;
|
|
41930
42166
|
parent_id?: string;
|
|
41931
42167
|
pathway_ids?: Array<string>;
|
|
41932
42168
|
effective_time: string;
|
|
@@ -41955,6 +42191,7 @@ declare abstract class Client$L extends Client$M {
|
|
|
41955
42191
|
value: string;
|
|
41956
42192
|
}>;
|
|
41957
42193
|
active: boolean;
|
|
42194
|
+
selectable?: boolean | undefined;
|
|
41958
42195
|
parent_id?: string | undefined;
|
|
41959
42196
|
pathway_ids?: string[] | undefined;
|
|
41960
42197
|
effective_time: string;
|
|
@@ -42013,6 +42250,7 @@ declare abstract class Client$L extends Client$M {
|
|
|
42013
42250
|
value: string;
|
|
42014
42251
|
}>;
|
|
42015
42252
|
active: boolean;
|
|
42253
|
+
selectable?: boolean | undefined;
|
|
42016
42254
|
parent_id?: string | undefined;
|
|
42017
42255
|
pathway_ids?: string[] | undefined;
|
|
42018
42256
|
effective_time: string;
|
|
@@ -42054,6 +42292,7 @@ declare abstract class Client$L extends Client$M {
|
|
|
42054
42292
|
value: string;
|
|
42055
42293
|
}>;
|
|
42056
42294
|
active: boolean;
|
|
42295
|
+
selectable?: boolean | undefined;
|
|
42057
42296
|
parent_id?: string | undefined;
|
|
42058
42297
|
pathway_ids?: string[] | undefined;
|
|
42059
42298
|
effective_time: string;
|
|
@@ -42088,6 +42327,7 @@ declare abstract class Client$L extends Client$M {
|
|
|
42088
42327
|
value: string;
|
|
42089
42328
|
}>;
|
|
42090
42329
|
active?: boolean;
|
|
42330
|
+
selectable?: boolean;
|
|
42091
42331
|
parent_id?: string;
|
|
42092
42332
|
pathway_ids?: Array<string>;
|
|
42093
42333
|
effective_time?: string;
|
|
@@ -42119,6 +42359,7 @@ declare abstract class Client$L extends Client$M {
|
|
|
42119
42359
|
value: string;
|
|
42120
42360
|
}>;
|
|
42121
42361
|
active: boolean;
|
|
42362
|
+
selectable?: boolean | undefined;
|
|
42122
42363
|
parent_id?: string | undefined;
|
|
42123
42364
|
pathway_ids?: string[] | undefined;
|
|
42124
42365
|
effective_time: string;
|
|
@@ -47501,10 +47742,14 @@ declare abstract class Client$L extends Client$M {
|
|
|
47501
47742
|
zh_cn?: string;
|
|
47502
47743
|
en_us?: string;
|
|
47503
47744
|
};
|
|
47745
|
+
active_status: number;
|
|
47504
47746
|
description?: {
|
|
47505
47747
|
zh_cn?: string;
|
|
47506
47748
|
en_us?: string;
|
|
47507
47749
|
};
|
|
47750
|
+
group_type: number;
|
|
47751
|
+
created_by: string;
|
|
47752
|
+
update_time: string;
|
|
47508
47753
|
org_truncation?: Array<{
|
|
47509
47754
|
org_key?: string;
|
|
47510
47755
|
type?: number;
|
|
@@ -48737,13 +48982,14 @@ declare abstract class Client$L extends Client$M {
|
|
|
48737
48982
|
params: {
|
|
48738
48983
|
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
|
|
48739
48984
|
department_id_type?: "open_department_id" | "department_id" | "people_corehr_department_id";
|
|
48740
|
-
employment_id
|
|
48985
|
+
employment_id?: string;
|
|
48741
48986
|
reference_object_api?: "cpst_item" | "cpst_indicator";
|
|
48742
48987
|
reference_object_id: string;
|
|
48743
48988
|
department_id?: string;
|
|
48744
48989
|
work_location_id?: string;
|
|
48745
48990
|
company_id?: string;
|
|
48746
48991
|
job_family_id?: string;
|
|
48992
|
+
job_id?: string;
|
|
48747
48993
|
job_level_id?: string;
|
|
48748
48994
|
employee_type_id?: string;
|
|
48749
48995
|
recruitment_type?: "experienced_professionals" | "recent_graduates" | "routine_intern";
|
|
@@ -51354,6 +51600,7 @@ declare abstract class Client$L extends Client$M {
|
|
|
51354
51600
|
value: string;
|
|
51355
51601
|
}>;
|
|
51356
51602
|
active: boolean;
|
|
51603
|
+
selectable?: boolean;
|
|
51357
51604
|
parent_id?: string;
|
|
51358
51605
|
pathway_ids?: Array<string>;
|
|
51359
51606
|
effective_time: string;
|
|
@@ -51382,6 +51629,7 @@ declare abstract class Client$L extends Client$M {
|
|
|
51382
51629
|
value: string;
|
|
51383
51630
|
}>;
|
|
51384
51631
|
active: boolean;
|
|
51632
|
+
selectable?: boolean | undefined;
|
|
51385
51633
|
parent_id?: string | undefined;
|
|
51386
51634
|
pathway_ids?: string[] | undefined;
|
|
51387
51635
|
effective_time: string;
|
|
@@ -51440,6 +51688,7 @@ declare abstract class Client$L extends Client$M {
|
|
|
51440
51688
|
value: string;
|
|
51441
51689
|
}>;
|
|
51442
51690
|
active: boolean;
|
|
51691
|
+
selectable?: boolean | undefined;
|
|
51443
51692
|
parent_id?: string | undefined;
|
|
51444
51693
|
pathway_ids?: string[] | undefined;
|
|
51445
51694
|
effective_time: string;
|
|
@@ -51481,6 +51730,7 @@ declare abstract class Client$L extends Client$M {
|
|
|
51481
51730
|
value: string;
|
|
51482
51731
|
}>;
|
|
51483
51732
|
active: boolean;
|
|
51733
|
+
selectable?: boolean | undefined;
|
|
51484
51734
|
parent_id?: string | undefined;
|
|
51485
51735
|
pathway_ids?: string[] | undefined;
|
|
51486
51736
|
effective_time: string;
|
|
@@ -51515,6 +51765,7 @@ declare abstract class Client$L extends Client$M {
|
|
|
51515
51765
|
value: string;
|
|
51516
51766
|
}>;
|
|
51517
51767
|
active?: boolean;
|
|
51768
|
+
selectable?: boolean;
|
|
51518
51769
|
parent_id?: string;
|
|
51519
51770
|
pathway_ids?: Array<string>;
|
|
51520
51771
|
effective_time?: string;
|
|
@@ -51546,6 +51797,7 @@ declare abstract class Client$L extends Client$M {
|
|
|
51546
51797
|
value: string;
|
|
51547
51798
|
}>;
|
|
51548
51799
|
active: boolean;
|
|
51800
|
+
selectable?: boolean | undefined;
|
|
51549
51801
|
parent_id?: string | undefined;
|
|
51550
51802
|
pathway_ids?: string[] | undefined;
|
|
51551
51803
|
effective_time: string;
|
|
@@ -57003,7 +57255,6 @@ declare abstract class Client$L extends Client$M {
|
|
|
57003
57255
|
original_position?: string | undefined;
|
|
57004
57256
|
target_position?: string | undefined;
|
|
57005
57257
|
target_draft_position?: string | undefined;
|
|
57006
|
-
is_transfer_with_workforce?: boolean | undefined;
|
|
57007
57258
|
} | undefined;
|
|
57008
57259
|
}[] | undefined;
|
|
57009
57260
|
} | undefined;
|
|
@@ -58216,6 +58467,132 @@ declare abstract class Client$L extends Client$M {
|
|
|
58216
58467
|
} | undefined;
|
|
58217
58468
|
}>;
|
|
58218
58469
|
};
|
|
58470
|
+
/**
|
|
58471
|
+
* cost_allocation
|
|
58472
|
+
*/
|
|
58473
|
+
costAllocation: {
|
|
58474
|
+
/**
|
|
58475
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=cost_allocation&apiName=batch_query&version=v2 click to debug }
|
|
58476
|
+
*
|
|
58477
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_query&project=corehr&resource=cost_allocation&version=v2 document }
|
|
58478
|
+
*
|
|
58479
|
+
* 通过员工ID批量获取通道信息
|
|
58480
|
+
*/
|
|
58481
|
+
batchQuery: (payload?: {
|
|
58482
|
+
data: {
|
|
58483
|
+
employment_ids: Array<string>;
|
|
58484
|
+
};
|
|
58485
|
+
params?: {
|
|
58486
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
|
|
58487
|
+
};
|
|
58488
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
58489
|
+
code?: number | undefined;
|
|
58490
|
+
msg?: string | undefined;
|
|
58491
|
+
data?: {
|
|
58492
|
+
items?: {
|
|
58493
|
+
employment_id?: string | undefined;
|
|
58494
|
+
cost_allocations?: {
|
|
58495
|
+
wk_id?: string | undefined;
|
|
58496
|
+
effective_time?: string | undefined;
|
|
58497
|
+
expiration_time?: string | undefined;
|
|
58498
|
+
job_data_cost_center_id?: {
|
|
58499
|
+
cost_center_id?: string | undefined;
|
|
58500
|
+
rate?: number | undefined;
|
|
58501
|
+
new_rate?: number | undefined;
|
|
58502
|
+
}[] | undefined;
|
|
58503
|
+
job_data_id?: {
|
|
58504
|
+
wk_id?: string | undefined;
|
|
58505
|
+
} | undefined;
|
|
58506
|
+
reason?: string | undefined;
|
|
58507
|
+
}[] | undefined;
|
|
58508
|
+
}[] | undefined;
|
|
58509
|
+
} | undefined;
|
|
58510
|
+
}>;
|
|
58511
|
+
/**
|
|
58512
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=cost_allocation&apiName=create_version&version=v2 click to debug }
|
|
58513
|
+
*
|
|
58514
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create_version&project=corehr&resource=cost_allocation&version=v2 document }
|
|
58515
|
+
*
|
|
58516
|
+
* 创建成本分摊
|
|
58517
|
+
*/
|
|
58518
|
+
createVersion: (payload?: {
|
|
58519
|
+
data: {
|
|
58520
|
+
employment_id: string;
|
|
58521
|
+
cost_allocation?: {
|
|
58522
|
+
effective_time: string;
|
|
58523
|
+
expiration_time?: string;
|
|
58524
|
+
job_data_cost_center_id?: Array<{
|
|
58525
|
+
cost_center_id: string;
|
|
58526
|
+
new_rate: number;
|
|
58527
|
+
}>;
|
|
58528
|
+
reason?: string;
|
|
58529
|
+
};
|
|
58530
|
+
};
|
|
58531
|
+
params?: {
|
|
58532
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
|
|
58533
|
+
client_token?: string;
|
|
58534
|
+
};
|
|
58535
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
58536
|
+
code?: number | undefined;
|
|
58537
|
+
msg?: string | undefined;
|
|
58538
|
+
data?: {
|
|
58539
|
+
cost_allocation_id?: string | undefined;
|
|
58540
|
+
} | undefined;
|
|
58541
|
+
}>;
|
|
58542
|
+
/**
|
|
58543
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=cost_allocation&apiName=remove_version&version=v2 click to debug }
|
|
58544
|
+
*
|
|
58545
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=remove_version&project=corehr&resource=cost_allocation&version=v2 document }
|
|
58546
|
+
*
|
|
58547
|
+
* 删除成本分摊
|
|
58548
|
+
*/
|
|
58549
|
+
removeVersion: (payload?: {
|
|
58550
|
+
data: {
|
|
58551
|
+
employment_id: string;
|
|
58552
|
+
cost_allocation?: {
|
|
58553
|
+
wk_id: string;
|
|
58554
|
+
};
|
|
58555
|
+
};
|
|
58556
|
+
params?: {
|
|
58557
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
|
|
58558
|
+
client_token?: string;
|
|
58559
|
+
};
|
|
58560
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
58561
|
+
code?: number | undefined;
|
|
58562
|
+
msg?: string | undefined;
|
|
58563
|
+
data?: {} | undefined;
|
|
58564
|
+
}>;
|
|
58565
|
+
/**
|
|
58566
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=cost_allocation&apiName=update_version&version=v2 click to debug }
|
|
58567
|
+
*
|
|
58568
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=update_version&project=corehr&resource=cost_allocation&version=v2 document }
|
|
58569
|
+
*
|
|
58570
|
+
* 更新成本分摊
|
|
58571
|
+
*/
|
|
58572
|
+
updateVersion: (payload?: {
|
|
58573
|
+
data: {
|
|
58574
|
+
employment_id: string;
|
|
58575
|
+
cost_allocation?: {
|
|
58576
|
+
wk_id: string;
|
|
58577
|
+
effective_time?: string;
|
|
58578
|
+
expiration_time?: string;
|
|
58579
|
+
job_data_cost_center_id?: Array<{
|
|
58580
|
+
cost_center_id?: string;
|
|
58581
|
+
new_rate?: number;
|
|
58582
|
+
}>;
|
|
58583
|
+
reason?: string;
|
|
58584
|
+
};
|
|
58585
|
+
};
|
|
58586
|
+
params?: {
|
|
58587
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
|
|
58588
|
+
client_token?: string;
|
|
58589
|
+
};
|
|
58590
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
58591
|
+
code?: number | undefined;
|
|
58592
|
+
msg?: string | undefined;
|
|
58593
|
+
data?: {} | undefined;
|
|
58594
|
+
}>;
|
|
58595
|
+
};
|
|
58219
58596
|
/**
|
|
58220
58597
|
* cost_center
|
|
58221
58598
|
*/
|
|
@@ -58541,6 +58918,123 @@ declare abstract class Client$L extends Client$M {
|
|
|
58541
58918
|
} | undefined;
|
|
58542
58919
|
}>;
|
|
58543
58920
|
};
|
|
58921
|
+
/**
|
|
58922
|
+
* default_cost_center
|
|
58923
|
+
*/
|
|
58924
|
+
defaultCostCenter: {
|
|
58925
|
+
/**
|
|
58926
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=default_cost_center&apiName=batch_query&version=v2 click to debug }
|
|
58927
|
+
*
|
|
58928
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_query&project=corehr&resource=default_cost_center&version=v2 document }
|
|
58929
|
+
*/
|
|
58930
|
+
batchQuery: (payload?: {
|
|
58931
|
+
data: {
|
|
58932
|
+
employment_ids: Array<string>;
|
|
58933
|
+
};
|
|
58934
|
+
params?: {
|
|
58935
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
|
|
58936
|
+
};
|
|
58937
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
58938
|
+
code?: number | undefined;
|
|
58939
|
+
msg?: string | undefined;
|
|
58940
|
+
data?: {
|
|
58941
|
+
items?: {
|
|
58942
|
+
employment_id?: string | undefined;
|
|
58943
|
+
default_cost_centers?: {
|
|
58944
|
+
wk_id?: string | undefined;
|
|
58945
|
+
wk_tid?: string | undefined;
|
|
58946
|
+
effective_time?: string | undefined;
|
|
58947
|
+
cost_center_id?: string | undefined;
|
|
58948
|
+
job_data_id?: string | undefined;
|
|
58949
|
+
is_inherit?: boolean | undefined;
|
|
58950
|
+
inherit_source?: {
|
|
58951
|
+
enum_name: string;
|
|
58952
|
+
display?: {
|
|
58953
|
+
lang: string;
|
|
58954
|
+
value: string;
|
|
58955
|
+
}[] | undefined;
|
|
58956
|
+
} | undefined;
|
|
58957
|
+
reason?: string | undefined;
|
|
58958
|
+
}[] | undefined;
|
|
58959
|
+
}[] | undefined;
|
|
58960
|
+
} | undefined;
|
|
58961
|
+
}>;
|
|
58962
|
+
/**
|
|
58963
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=default_cost_center&apiName=create_version&version=v2 click to debug }
|
|
58964
|
+
*
|
|
58965
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create_version&project=corehr&resource=default_cost_center&version=v2 document }
|
|
58966
|
+
*/
|
|
58967
|
+
createVersion: (payload?: {
|
|
58968
|
+
data: {
|
|
58969
|
+
employment_id: string;
|
|
58970
|
+
default_cost_center?: {
|
|
58971
|
+
effective_time: string;
|
|
58972
|
+
cost_center_id?: string;
|
|
58973
|
+
is_inherit?: boolean;
|
|
58974
|
+
reason?: string;
|
|
58975
|
+
};
|
|
58976
|
+
};
|
|
58977
|
+
params?: {
|
|
58978
|
+
client_token?: string;
|
|
58979
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
|
|
58980
|
+
};
|
|
58981
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
58982
|
+
code?: number | undefined;
|
|
58983
|
+
msg?: string | undefined;
|
|
58984
|
+
data?: {
|
|
58985
|
+
wk_id?: string | undefined;
|
|
58986
|
+
wk_tid?: string | undefined;
|
|
58987
|
+
} | undefined;
|
|
58988
|
+
}>;
|
|
58989
|
+
/**
|
|
58990
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=default_cost_center&apiName=remove_version&version=v2 click to debug }
|
|
58991
|
+
*
|
|
58992
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=remove_version&project=corehr&resource=default_cost_center&version=v2 document }
|
|
58993
|
+
*/
|
|
58994
|
+
removeVersion: (payload?: {
|
|
58995
|
+
data: {
|
|
58996
|
+
employment_id: string;
|
|
58997
|
+
default_cost_center?: {
|
|
58998
|
+
wk_id: string;
|
|
58999
|
+
wk_tid: string;
|
|
59000
|
+
};
|
|
59001
|
+
};
|
|
59002
|
+
params?: {
|
|
59003
|
+
client_token?: string;
|
|
59004
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
|
|
59005
|
+
};
|
|
59006
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
59007
|
+
code?: number | undefined;
|
|
59008
|
+
msg?: string | undefined;
|
|
59009
|
+
data?: {} | undefined;
|
|
59010
|
+
}>;
|
|
59011
|
+
/**
|
|
59012
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=default_cost_center&apiName=update_version&version=v2 click to debug }
|
|
59013
|
+
*
|
|
59014
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=update_version&project=corehr&resource=default_cost_center&version=v2 document }
|
|
59015
|
+
*/
|
|
59016
|
+
updateVersion: (payload?: {
|
|
59017
|
+
data: {
|
|
59018
|
+
employment_id: string;
|
|
59019
|
+
default_cost_center?: {
|
|
59020
|
+
wk_id: string;
|
|
59021
|
+
wk_tid: string;
|
|
59022
|
+
effective_time?: string;
|
|
59023
|
+
cost_center_id?: string;
|
|
59024
|
+
is_inherit?: boolean;
|
|
59025
|
+
reason?: string;
|
|
59026
|
+
};
|
|
59027
|
+
};
|
|
59028
|
+
params?: {
|
|
59029
|
+
client_token?: string;
|
|
59030
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
|
|
59031
|
+
};
|
|
59032
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
59033
|
+
code?: number | undefined;
|
|
59034
|
+
msg?: string | undefined;
|
|
59035
|
+
data?: {} | undefined;
|
|
59036
|
+
}>;
|
|
59037
|
+
};
|
|
58544
59038
|
/**
|
|
58545
59039
|
* department
|
|
58546
59040
|
*/
|
|
@@ -64770,6 +65264,7 @@ declare abstract class Client$L extends Client$M {
|
|
|
64770
65264
|
value: string;
|
|
64771
65265
|
}>;
|
|
64772
65266
|
active: boolean;
|
|
65267
|
+
selectable?: boolean | undefined;
|
|
64773
65268
|
parent_id?: string | undefined;
|
|
64774
65269
|
pathway_ids?: string[] | undefined;
|
|
64775
65270
|
effective_time: string;
|
|
@@ -68210,6 +68705,19 @@ declare abstract class Client$L extends Client$M {
|
|
|
68210
68705
|
company_sponsored_visa?: boolean;
|
|
68211
68706
|
work_station?: string;
|
|
68212
68707
|
pathway?: string;
|
|
68708
|
+
default_cost_center?: {
|
|
68709
|
+
cost_center_id: string;
|
|
68710
|
+
is_herit: boolean;
|
|
68711
|
+
};
|
|
68712
|
+
cost_allocation?: {
|
|
68713
|
+
effective_time?: string;
|
|
68714
|
+
expiration_time?: string;
|
|
68715
|
+
cost_center_rates?: Array<{
|
|
68716
|
+
cost_center_id?: string;
|
|
68717
|
+
rate?: number;
|
|
68718
|
+
new_rate?: number;
|
|
68719
|
+
}>;
|
|
68720
|
+
};
|
|
68213
68721
|
};
|
|
68214
68722
|
education_info?: Array<{
|
|
68215
68723
|
school_name?: string;
|
|
@@ -68606,6 +69114,19 @@ declare abstract class Client$L extends Client$M {
|
|
|
68606
69114
|
service_company?: string;
|
|
68607
69115
|
non_compete_covenant?: boolean;
|
|
68608
69116
|
pathway?: string;
|
|
69117
|
+
default_cost_center?: {
|
|
69118
|
+
cost_center_id: string;
|
|
69119
|
+
is_herit: boolean;
|
|
69120
|
+
};
|
|
69121
|
+
cost_allocation?: {
|
|
69122
|
+
effective_time?: string;
|
|
69123
|
+
expiration_time?: string;
|
|
69124
|
+
cost_center_rates?: Array<{
|
|
69125
|
+
cost_center_id?: string;
|
|
69126
|
+
rate?: number;
|
|
69127
|
+
new_rate?: number;
|
|
69128
|
+
}>;
|
|
69129
|
+
};
|
|
68609
69130
|
};
|
|
68610
69131
|
standard_update_fields?: Array<string>;
|
|
68611
69132
|
custom_update_fields?: Array<string>;
|
|
@@ -69683,6 +70204,21 @@ declare abstract class Client$L extends Client$M {
|
|
|
69683
70204
|
expected_graduate_date?: string | undefined;
|
|
69684
70205
|
service_company?: string | undefined;
|
|
69685
70206
|
pathway?: string | undefined;
|
|
70207
|
+
default_cost_center?: {
|
|
70208
|
+
cost_center_id?: string | undefined;
|
|
70209
|
+
effective_time?: string | undefined;
|
|
70210
|
+
is_herit?: boolean | undefined;
|
|
70211
|
+
inherit_source?: string | undefined;
|
|
70212
|
+
} | undefined;
|
|
70213
|
+
cost_allocation?: {
|
|
70214
|
+
effective_time?: string | undefined;
|
|
70215
|
+
expiration_time?: string | undefined;
|
|
70216
|
+
cost_center_rates?: {
|
|
70217
|
+
cost_center_id?: string | undefined;
|
|
70218
|
+
rate?: number | undefined;
|
|
70219
|
+
new_rate?: number | undefined;
|
|
70220
|
+
}[] | undefined;
|
|
70221
|
+
} | undefined;
|
|
69686
70222
|
} | undefined;
|
|
69687
70223
|
onboarding_info?: {
|
|
69688
70224
|
offer_id?: string | undefined;
|
|
@@ -70851,6 +71387,21 @@ declare abstract class Client$L extends Client$M {
|
|
|
70851
71387
|
expected_graduate_date?: string | undefined;
|
|
70852
71388
|
service_company?: string | undefined;
|
|
70853
71389
|
pathway?: string | undefined;
|
|
71390
|
+
default_cost_center?: {
|
|
71391
|
+
cost_center_id?: string | undefined;
|
|
71392
|
+
effective_time?: string | undefined;
|
|
71393
|
+
is_herit?: boolean | undefined;
|
|
71394
|
+
inherit_source?: string | undefined;
|
|
71395
|
+
} | undefined;
|
|
71396
|
+
cost_allocation?: {
|
|
71397
|
+
effective_time?: string | undefined;
|
|
71398
|
+
expiration_time?: string | undefined;
|
|
71399
|
+
cost_center_rates?: {
|
|
71400
|
+
cost_center_id?: string | undefined;
|
|
71401
|
+
rate?: number | undefined;
|
|
71402
|
+
new_rate?: number | undefined;
|
|
71403
|
+
}[] | undefined;
|
|
71404
|
+
} | undefined;
|
|
70854
71405
|
} | undefined;
|
|
70855
71406
|
onboarding_info?: {
|
|
70856
71407
|
offer_id?: string | undefined;
|
|
@@ -72045,6 +72596,21 @@ declare abstract class Client$L extends Client$M {
|
|
|
72045
72596
|
expected_graduate_date?: string | undefined;
|
|
72046
72597
|
service_company?: string | undefined;
|
|
72047
72598
|
pathway?: string | undefined;
|
|
72599
|
+
default_cost_center?: {
|
|
72600
|
+
cost_center_id?: string | undefined;
|
|
72601
|
+
effective_time?: string | undefined;
|
|
72602
|
+
is_herit?: boolean | undefined;
|
|
72603
|
+
inherit_source?: string | undefined;
|
|
72604
|
+
} | undefined;
|
|
72605
|
+
cost_allocation?: {
|
|
72606
|
+
effective_time?: string | undefined;
|
|
72607
|
+
expiration_time?: string | undefined;
|
|
72608
|
+
cost_center_rates?: {
|
|
72609
|
+
cost_center_id?: string | undefined;
|
|
72610
|
+
rate?: number | undefined;
|
|
72611
|
+
new_rate?: number | undefined;
|
|
72612
|
+
}[] | undefined;
|
|
72613
|
+
} | undefined;
|
|
72048
72614
|
} | undefined;
|
|
72049
72615
|
onboarding_info?: {
|
|
72050
72616
|
offer_id?: string | undefined;
|
|
@@ -73229,6 +73795,21 @@ declare abstract class Client$L extends Client$M {
|
|
|
73229
73795
|
expected_graduate_date?: string | undefined;
|
|
73230
73796
|
service_company?: string | undefined;
|
|
73231
73797
|
pathway?: string | undefined;
|
|
73798
|
+
default_cost_center?: {
|
|
73799
|
+
cost_center_id?: string | undefined;
|
|
73800
|
+
effective_time?: string | undefined;
|
|
73801
|
+
is_herit?: boolean | undefined;
|
|
73802
|
+
inherit_source?: string | undefined;
|
|
73803
|
+
} | undefined;
|
|
73804
|
+
cost_allocation?: {
|
|
73805
|
+
effective_time?: string | undefined;
|
|
73806
|
+
expiration_time?: string | undefined;
|
|
73807
|
+
cost_center_rates?: {
|
|
73808
|
+
cost_center_id?: string | undefined;
|
|
73809
|
+
rate?: number | undefined;
|
|
73810
|
+
new_rate?: number | undefined;
|
|
73811
|
+
}[] | undefined;
|
|
73812
|
+
} | undefined;
|
|
73232
73813
|
} | undefined;
|
|
73233
73814
|
onboarding_info?: {
|
|
73234
73815
|
offer_id?: string | undefined;
|
|
@@ -95997,13 +96578,15 @@ declare abstract class Client$H extends Client$I {
|
|
|
95997
96578
|
msg?: string | undefined;
|
|
95998
96579
|
data?: {
|
|
95999
96580
|
revision_id?: number | undefined;
|
|
96000
|
-
create_time?:
|
|
96001
|
-
update_time?:
|
|
96581
|
+
create_time?: number | undefined;
|
|
96582
|
+
update_time?: number | undefined;
|
|
96002
96583
|
owner_id?: string | undefined;
|
|
96003
96584
|
owner_id_type?: "user_id" | "union_id" | "open_id" | undefined;
|
|
96004
96585
|
modifier_id?: string | undefined;
|
|
96005
96586
|
modifier_id_type?: "user_id" | "union_id" | "open_id" | undefined;
|
|
96006
96587
|
announcement_type?: "docx" | "doc" | undefined;
|
|
96588
|
+
create_time_v2?: string | undefined;
|
|
96589
|
+
update_time_v2?: string | undefined;
|
|
96007
96590
|
} | undefined;
|
|
96008
96591
|
}>;
|
|
96009
96592
|
};
|
|
@@ -149141,13 +149724,15 @@ declare abstract class Client$H extends Client$I {
|
|
|
149141
149724
|
msg?: string | undefined;
|
|
149142
149725
|
data?: {
|
|
149143
149726
|
revision_id?: number | undefined;
|
|
149144
|
-
create_time?:
|
|
149145
|
-
update_time?:
|
|
149727
|
+
create_time?: number | undefined;
|
|
149728
|
+
update_time?: number | undefined;
|
|
149146
149729
|
owner_id?: string | undefined;
|
|
149147
149730
|
owner_id_type?: "user_id" | "union_id" | "open_id" | undefined;
|
|
149148
149731
|
modifier_id?: string | undefined;
|
|
149149
149732
|
modifier_id_type?: "user_id" | "union_id" | "open_id" | undefined;
|
|
149150
149733
|
announcement_type?: "docx" | "doc" | undefined;
|
|
149734
|
+
create_time_v2?: string | undefined;
|
|
149735
|
+
update_time_v2?: string | undefined;
|
|
149151
149736
|
} | undefined;
|
|
149152
149737
|
}>;
|
|
149153
149738
|
};
|
|
@@ -182190,7 +182775,7 @@ declare abstract class Client$G extends Client$H {
|
|
|
182190
182775
|
}>;
|
|
182191
182776
|
};
|
|
182192
182777
|
/**
|
|
182193
|
-
*
|
|
182778
|
+
* 异步任务状态
|
|
182194
182779
|
*/
|
|
182195
182780
|
file: {
|
|
182196
182781
|
/**
|
|
@@ -183030,7 +183615,7 @@ declare abstract class Client$G extends Client$H {
|
|
|
183030
183615
|
}>;
|
|
183031
183616
|
};
|
|
183032
183617
|
/**
|
|
183033
|
-
*
|
|
183618
|
+
* 分片上传
|
|
183034
183619
|
*/
|
|
183035
183620
|
media: {
|
|
183036
183621
|
/**
|
|
@@ -184151,7 +184736,7 @@ declare abstract class Client$G extends Client$H {
|
|
|
184151
184736
|
}>;
|
|
184152
184737
|
};
|
|
184153
184738
|
/**
|
|
184154
|
-
*
|
|
184739
|
+
* 异步任务状态
|
|
184155
184740
|
*/
|
|
184156
184741
|
file: {
|
|
184157
184742
|
/**
|
|
@@ -184991,7 +185576,7 @@ declare abstract class Client$G extends Client$H {
|
|
|
184991
185576
|
}>;
|
|
184992
185577
|
};
|
|
184993
185578
|
/**
|
|
184994
|
-
*
|
|
185579
|
+
* 分片上传
|
|
184995
185580
|
*/
|
|
184996
185581
|
media: {
|
|
184997
185582
|
/**
|
|
@@ -190968,7 +191553,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
190968
191553
|
}>;
|
|
190969
191554
|
};
|
|
190970
191555
|
/**
|
|
190971
|
-
*
|
|
191556
|
+
* 投递
|
|
190972
191557
|
*/
|
|
190973
191558
|
application: {
|
|
190974
191559
|
/**
|
|
@@ -191552,6 +192137,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
191552
192137
|
id?: string | undefined;
|
|
191553
192138
|
name?: string | undefined;
|
|
191554
192139
|
size?: number | undefined;
|
|
192140
|
+
common_attachment_id?: string | undefined;
|
|
191555
192141
|
}[] | undefined;
|
|
191556
192142
|
customize_info_list?: {
|
|
191557
192143
|
object_id?: string | undefined;
|
|
@@ -191836,6 +192422,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
191836
192422
|
position_id?: string | undefined;
|
|
191837
192423
|
job_offered?: string | undefined;
|
|
191838
192424
|
job_grade_id?: string | undefined;
|
|
192425
|
+
common_attachment_id_list?: string[] | undefined;
|
|
191839
192426
|
} | undefined;
|
|
191840
192427
|
salary_plan?: {
|
|
191841
192428
|
currency?: string | undefined;
|
|
@@ -198859,6 +199446,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
198859
199446
|
job_requirement_id?: string;
|
|
198860
199447
|
job_process_type_id?: number;
|
|
198861
199448
|
attachment_id_list?: Array<string>;
|
|
199449
|
+
common_attachment_id_list?: Array<string>;
|
|
198862
199450
|
attachment_description?: string;
|
|
198863
199451
|
operator_user_id: string;
|
|
198864
199452
|
position_id?: string;
|
|
@@ -198915,6 +199503,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
198915
199503
|
job_requirement_id?: string | undefined;
|
|
198916
199504
|
job_process_type_id?: number | undefined;
|
|
198917
199505
|
attachment_id_list?: string[] | undefined;
|
|
199506
|
+
common_attachment_id_list?: string[] | undefined;
|
|
198918
199507
|
attachment_description?: string | undefined;
|
|
198919
199508
|
operator_user_id: string;
|
|
198920
199509
|
position_id?: string | undefined;
|
|
@@ -199076,6 +199665,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
199076
199665
|
position_id?: string | undefined;
|
|
199077
199666
|
job_offered?: string | undefined;
|
|
199078
199667
|
job_grade_id?: string | undefined;
|
|
199668
|
+
common_attachment_id_list?: string[] | undefined;
|
|
199079
199669
|
} | undefined;
|
|
199080
199670
|
salary_plan?: {
|
|
199081
199671
|
currency?: string | undefined;
|
|
@@ -199277,6 +199867,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
199277
199867
|
job_requirement_id?: string;
|
|
199278
199868
|
job_process_type_id?: number;
|
|
199279
199869
|
attachment_id_list?: Array<string>;
|
|
199870
|
+
common_attachment_id_list?: Array<string>;
|
|
199280
199871
|
attachment_description?: string;
|
|
199281
199872
|
operator_user_id: string;
|
|
199282
199873
|
position_id?: string;
|
|
@@ -199334,6 +199925,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
199334
199925
|
job_requirement_id?: string | undefined;
|
|
199335
199926
|
job_process_type_id?: number | undefined;
|
|
199336
199927
|
attachment_id_list?: string[] | undefined;
|
|
199928
|
+
common_attachment_id_list?: string[] | undefined;
|
|
199337
199929
|
attachment_description?: string | undefined;
|
|
199338
199930
|
operator_user_id: string;
|
|
199339
199931
|
position_id?: string | undefined;
|
|
@@ -202945,15 +203537,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
202945
203537
|
}, options?: IRequestOptions$1) => Promise<{
|
|
202946
203538
|
code?: number | undefined;
|
|
202947
203539
|
msg?: string | undefined;
|
|
202948
|
-
data?: {
|
|
202949
|
-
tripartite_agreement?: {
|
|
202950
|
-
id?: string | undefined;
|
|
202951
|
-
application_id?: string | undefined;
|
|
202952
|
-
state?: number | undefined;
|
|
202953
|
-
create_time?: string | undefined;
|
|
202954
|
-
modify_time?: string | undefined;
|
|
202955
|
-
} | undefined;
|
|
202956
|
-
} | undefined;
|
|
203540
|
+
data?: {} | undefined;
|
|
202957
203541
|
}>;
|
|
202958
203542
|
};
|
|
202959
203543
|
/**
|
|
@@ -204891,7 +205475,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
204891
205475
|
}>;
|
|
204892
205476
|
};
|
|
204893
205477
|
/**
|
|
204894
|
-
*
|
|
205478
|
+
* 投递
|
|
204895
205479
|
*/
|
|
204896
205480
|
application: {
|
|
204897
205481
|
/**
|
|
@@ -205475,6 +206059,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
205475
206059
|
id?: string | undefined;
|
|
205476
206060
|
name?: string | undefined;
|
|
205477
206061
|
size?: number | undefined;
|
|
206062
|
+
common_attachment_id?: string | undefined;
|
|
205478
206063
|
}[] | undefined;
|
|
205479
206064
|
customize_info_list?: {
|
|
205480
206065
|
object_id?: string | undefined;
|
|
@@ -205759,6 +206344,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
205759
206344
|
position_id?: string | undefined;
|
|
205760
206345
|
job_offered?: string | undefined;
|
|
205761
206346
|
job_grade_id?: string | undefined;
|
|
206347
|
+
common_attachment_id_list?: string[] | undefined;
|
|
205762
206348
|
} | undefined;
|
|
205763
206349
|
salary_plan?: {
|
|
205764
206350
|
currency?: string | undefined;
|
|
@@ -212782,6 +213368,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
212782
213368
|
job_requirement_id?: string;
|
|
212783
213369
|
job_process_type_id?: number;
|
|
212784
213370
|
attachment_id_list?: Array<string>;
|
|
213371
|
+
common_attachment_id_list?: Array<string>;
|
|
212785
213372
|
attachment_description?: string;
|
|
212786
213373
|
operator_user_id: string;
|
|
212787
213374
|
position_id?: string;
|
|
@@ -212838,6 +213425,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
212838
213425
|
job_requirement_id?: string | undefined;
|
|
212839
213426
|
job_process_type_id?: number | undefined;
|
|
212840
213427
|
attachment_id_list?: string[] | undefined;
|
|
213428
|
+
common_attachment_id_list?: string[] | undefined;
|
|
212841
213429
|
attachment_description?: string | undefined;
|
|
212842
213430
|
operator_user_id: string;
|
|
212843
213431
|
position_id?: string | undefined;
|
|
@@ -212999,6 +213587,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
212999
213587
|
position_id?: string | undefined;
|
|
213000
213588
|
job_offered?: string | undefined;
|
|
213001
213589
|
job_grade_id?: string | undefined;
|
|
213590
|
+
common_attachment_id_list?: string[] | undefined;
|
|
213002
213591
|
} | undefined;
|
|
213003
213592
|
salary_plan?: {
|
|
213004
213593
|
currency?: string | undefined;
|
|
@@ -213200,6 +213789,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
213200
213789
|
job_requirement_id?: string;
|
|
213201
213790
|
job_process_type_id?: number;
|
|
213202
213791
|
attachment_id_list?: Array<string>;
|
|
213792
|
+
common_attachment_id_list?: Array<string>;
|
|
213203
213793
|
attachment_description?: string;
|
|
213204
213794
|
operator_user_id: string;
|
|
213205
213795
|
position_id?: string;
|
|
@@ -213257,6 +213847,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
213257
213847
|
job_requirement_id?: string | undefined;
|
|
213258
213848
|
job_process_type_id?: number | undefined;
|
|
213259
213849
|
attachment_id_list?: string[] | undefined;
|
|
213850
|
+
common_attachment_id_list?: string[] | undefined;
|
|
213260
213851
|
attachment_description?: string | undefined;
|
|
213261
213852
|
operator_user_id: string;
|
|
213262
213853
|
position_id?: string | undefined;
|
|
@@ -216868,15 +217459,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
216868
217459
|
}, options?: IRequestOptions$1) => Promise<{
|
|
216869
217460
|
code?: number | undefined;
|
|
216870
217461
|
msg?: string | undefined;
|
|
216871
|
-
data?: {
|
|
216872
|
-
tripartite_agreement?: {
|
|
216873
|
-
id?: string | undefined;
|
|
216874
|
-
application_id?: string | undefined;
|
|
216875
|
-
state?: number | undefined;
|
|
216876
|
-
create_time?: string | undefined;
|
|
216877
|
-
modify_time?: string | undefined;
|
|
216878
|
-
} | undefined;
|
|
216879
|
-
} | undefined;
|
|
217462
|
+
data?: {} | undefined;
|
|
216880
217463
|
}>;
|
|
216881
217464
|
};
|
|
216882
217465
|
/**
|
|
@@ -227551,6 +228134,23 @@ declare abstract class Client$t extends Client$u {
|
|
|
227551
228134
|
geo?: string | undefined;
|
|
227552
228135
|
} | undefined;
|
|
227553
228136
|
}>;
|
|
228137
|
+
/**
|
|
228138
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=public_mailbox&apiName=remove_to_recycle_bin&version=v1 click to debug }
|
|
228139
|
+
*
|
|
228140
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=remove_to_recycle_bin&project=mail&resource=public_mailbox&version=v1 document }
|
|
228141
|
+
*/
|
|
228142
|
+
removeToRecycleBin: (payload?: {
|
|
228143
|
+
data?: {
|
|
228144
|
+
to_mail_address?: string;
|
|
228145
|
+
};
|
|
228146
|
+
path: {
|
|
228147
|
+
public_mailbox_id: string;
|
|
228148
|
+
};
|
|
228149
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
228150
|
+
code?: number | undefined;
|
|
228151
|
+
msg?: string | undefined;
|
|
228152
|
+
data?: {} | undefined;
|
|
228153
|
+
}>;
|
|
227554
228154
|
/**
|
|
227555
228155
|
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=public_mailbox&apiName=update&version=v1 click to debug }
|
|
227556
228156
|
*
|
|
@@ -227921,10 +228521,435 @@ declare abstract class Client$t extends Client$u {
|
|
|
227921
228521
|
data?: {} | undefined;
|
|
227922
228522
|
}>;
|
|
227923
228523
|
};
|
|
228524
|
+
/**
|
|
228525
|
+
* user_mailbox.event
|
|
228526
|
+
*/
|
|
228527
|
+
userMailboxEvent: {
|
|
228528
|
+
/**
|
|
228529
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.event&apiName=subscribe&version=v1 click to debug }
|
|
228530
|
+
*
|
|
228531
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=subscribe&project=mail&resource=user_mailbox.event&version=v1 document }
|
|
228532
|
+
*/
|
|
228533
|
+
subscribe: (payload?: {
|
|
228534
|
+
data: {
|
|
228535
|
+
event_type: number;
|
|
228536
|
+
};
|
|
228537
|
+
path: {
|
|
228538
|
+
user_mailbox_id: string;
|
|
228539
|
+
};
|
|
228540
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
228541
|
+
code?: number | undefined;
|
|
228542
|
+
msg?: string | undefined;
|
|
228543
|
+
data?: {} | undefined;
|
|
228544
|
+
}>;
|
|
228545
|
+
/**
|
|
228546
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.event&apiName=subscription&version=v1 click to debug }
|
|
228547
|
+
*
|
|
228548
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=subscription&project=mail&resource=user_mailbox.event&version=v1 document }
|
|
228549
|
+
*/
|
|
228550
|
+
subscription: (payload?: {
|
|
228551
|
+
path: {
|
|
228552
|
+
user_mailbox_id: string;
|
|
228553
|
+
};
|
|
228554
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
228555
|
+
code?: number | undefined;
|
|
228556
|
+
msg?: string | undefined;
|
|
228557
|
+
data?: {
|
|
228558
|
+
event_types?: number[] | undefined;
|
|
228559
|
+
} | undefined;
|
|
228560
|
+
}>;
|
|
228561
|
+
/**
|
|
228562
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.event&apiName=unsubscribe&version=v1 click to debug }
|
|
228563
|
+
*
|
|
228564
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=unsubscribe&project=mail&resource=user_mailbox.event&version=v1 document }
|
|
228565
|
+
*/
|
|
228566
|
+
unsubscribe: (payload?: {
|
|
228567
|
+
data: {
|
|
228568
|
+
event_type: number;
|
|
228569
|
+
};
|
|
228570
|
+
path: {
|
|
228571
|
+
user_mailbox_id: string;
|
|
228572
|
+
};
|
|
228573
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
228574
|
+
code?: number | undefined;
|
|
228575
|
+
msg?: string | undefined;
|
|
228576
|
+
data?: {} | undefined;
|
|
228577
|
+
}>;
|
|
228578
|
+
};
|
|
228579
|
+
/**
|
|
228580
|
+
* user_mailbox.folder
|
|
228581
|
+
*/
|
|
228582
|
+
userMailboxFolder: {
|
|
228583
|
+
/**
|
|
228584
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.folder&apiName=create&version=v1 click to debug }
|
|
228585
|
+
*
|
|
228586
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=mail&resource=user_mailbox.folder&version=v1 document }
|
|
228587
|
+
*/
|
|
228588
|
+
create: (payload?: {
|
|
228589
|
+
data: {
|
|
228590
|
+
name: string;
|
|
228591
|
+
parent_folder_id: string;
|
|
228592
|
+
};
|
|
228593
|
+
path: {
|
|
228594
|
+
user_mailbox_id: string;
|
|
228595
|
+
};
|
|
228596
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
228597
|
+
code?: number | undefined;
|
|
228598
|
+
msg?: string | undefined;
|
|
228599
|
+
data?: {
|
|
228600
|
+
folder?: {
|
|
228601
|
+
id?: string | undefined;
|
|
228602
|
+
name: string;
|
|
228603
|
+
parent_folder_id: string;
|
|
228604
|
+
folder_type?: number | undefined;
|
|
228605
|
+
unread_message_count?: number | undefined;
|
|
228606
|
+
unread_thread_count?: number | undefined;
|
|
228607
|
+
} | undefined;
|
|
228608
|
+
} | undefined;
|
|
228609
|
+
}>;
|
|
228610
|
+
/**
|
|
228611
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.folder&apiName=delete&version=v1 click to debug }
|
|
228612
|
+
*
|
|
228613
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=mail&resource=user_mailbox.folder&version=v1 document }
|
|
228614
|
+
*/
|
|
228615
|
+
delete: (payload?: {
|
|
228616
|
+
path: {
|
|
228617
|
+
user_mailbox_id: string;
|
|
228618
|
+
folder_id: string;
|
|
228619
|
+
};
|
|
228620
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
228621
|
+
code?: number | undefined;
|
|
228622
|
+
msg?: string | undefined;
|
|
228623
|
+
data?: {} | undefined;
|
|
228624
|
+
}>;
|
|
228625
|
+
/**
|
|
228626
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.folder&apiName=list&version=v1 click to debug }
|
|
228627
|
+
*
|
|
228628
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=mail&resource=user_mailbox.folder&version=v1 document }
|
|
228629
|
+
*/
|
|
228630
|
+
list: (payload?: {
|
|
228631
|
+
params?: {
|
|
228632
|
+
folder_type?: number;
|
|
228633
|
+
};
|
|
228634
|
+
path: {
|
|
228635
|
+
user_mailbox_id: string;
|
|
228636
|
+
};
|
|
228637
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
228638
|
+
code?: number | undefined;
|
|
228639
|
+
msg?: string | undefined;
|
|
228640
|
+
data?: {
|
|
228641
|
+
items?: {
|
|
228642
|
+
id?: string | undefined;
|
|
228643
|
+
name: string;
|
|
228644
|
+
parent_folder_id: string;
|
|
228645
|
+
folder_type?: number | undefined;
|
|
228646
|
+
unread_message_count?: number | undefined;
|
|
228647
|
+
unread_thread_count?: number | undefined;
|
|
228648
|
+
}[] | undefined;
|
|
228649
|
+
} | undefined;
|
|
228650
|
+
}>;
|
|
228651
|
+
/**
|
|
228652
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.folder&apiName=patch&version=v1 click to debug }
|
|
228653
|
+
*
|
|
228654
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=mail&resource=user_mailbox.folder&version=v1 document }
|
|
228655
|
+
*/
|
|
228656
|
+
patch: (payload?: {
|
|
228657
|
+
data?: {
|
|
228658
|
+
name?: string;
|
|
228659
|
+
parent_folder_id?: string;
|
|
228660
|
+
};
|
|
228661
|
+
path: {
|
|
228662
|
+
user_mailbox_id: string;
|
|
228663
|
+
folder_id: string;
|
|
228664
|
+
};
|
|
228665
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
228666
|
+
code?: number | undefined;
|
|
228667
|
+
msg?: string | undefined;
|
|
228668
|
+
data?: {} | undefined;
|
|
228669
|
+
}>;
|
|
228670
|
+
};
|
|
228671
|
+
/**
|
|
228672
|
+
* user_mailbox.mail_contact
|
|
228673
|
+
*/
|
|
228674
|
+
userMailboxMailContact: {
|
|
228675
|
+
/**
|
|
228676
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.mail_contact&apiName=create&version=v1 click to debug }
|
|
228677
|
+
*
|
|
228678
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=mail&resource=user_mailbox.mail_contact&version=v1 document }
|
|
228679
|
+
*/
|
|
228680
|
+
create: (payload?: {
|
|
228681
|
+
data: {
|
|
228682
|
+
name: string;
|
|
228683
|
+
company?: string;
|
|
228684
|
+
phone?: string;
|
|
228685
|
+
mail_address?: string;
|
|
228686
|
+
tag?: string;
|
|
228687
|
+
remark?: string;
|
|
228688
|
+
position?: string;
|
|
228689
|
+
};
|
|
228690
|
+
path: {
|
|
228691
|
+
user_mailbox_id: string;
|
|
228692
|
+
};
|
|
228693
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
228694
|
+
code?: number | undefined;
|
|
228695
|
+
msg?: string | undefined;
|
|
228696
|
+
data?: {
|
|
228697
|
+
mail_contact?: {
|
|
228698
|
+
id?: string | undefined;
|
|
228699
|
+
name: string;
|
|
228700
|
+
company?: string | undefined;
|
|
228701
|
+
phone?: string | undefined;
|
|
228702
|
+
mail_address?: string | undefined;
|
|
228703
|
+
tag?: string | undefined;
|
|
228704
|
+
remark?: string | undefined;
|
|
228705
|
+
avatar?: string | undefined;
|
|
228706
|
+
position?: string | undefined;
|
|
228707
|
+
} | undefined;
|
|
228708
|
+
} | undefined;
|
|
228709
|
+
}>;
|
|
228710
|
+
/**
|
|
228711
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.mail_contact&apiName=delete&version=v1 click to debug }
|
|
228712
|
+
*
|
|
228713
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=mail&resource=user_mailbox.mail_contact&version=v1 document }
|
|
228714
|
+
*/
|
|
228715
|
+
delete: (payload?: {
|
|
228716
|
+
path: {
|
|
228717
|
+
user_mailbox_id: string;
|
|
228718
|
+
mail_contact_id: string;
|
|
228719
|
+
};
|
|
228720
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
228721
|
+
code?: number | undefined;
|
|
228722
|
+
msg?: string | undefined;
|
|
228723
|
+
data?: {} | undefined;
|
|
228724
|
+
}>;
|
|
228725
|
+
listWithIterator: (payload?: {
|
|
228726
|
+
params: {
|
|
228727
|
+
page_size: number;
|
|
228728
|
+
page_token?: string;
|
|
228729
|
+
};
|
|
228730
|
+
path: {
|
|
228731
|
+
user_mailbox_id: string;
|
|
228732
|
+
};
|
|
228733
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
228734
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
228735
|
+
items?: {
|
|
228736
|
+
id?: string | undefined;
|
|
228737
|
+
name: string;
|
|
228738
|
+
company?: string | undefined;
|
|
228739
|
+
phone?: string | undefined;
|
|
228740
|
+
mail_address?: string | undefined;
|
|
228741
|
+
tag?: string | undefined;
|
|
228742
|
+
remark?: string | undefined;
|
|
228743
|
+
avatar?: string | undefined;
|
|
228744
|
+
position?: string | undefined;
|
|
228745
|
+
}[] | undefined;
|
|
228746
|
+
} | null, void, unknown>;
|
|
228747
|
+
}>;
|
|
228748
|
+
/**
|
|
228749
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.mail_contact&apiName=list&version=v1 click to debug }
|
|
228750
|
+
*
|
|
228751
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=mail&resource=user_mailbox.mail_contact&version=v1 document }
|
|
228752
|
+
*/
|
|
228753
|
+
list: (payload?: {
|
|
228754
|
+
params: {
|
|
228755
|
+
page_size: number;
|
|
228756
|
+
page_token?: string;
|
|
228757
|
+
};
|
|
228758
|
+
path: {
|
|
228759
|
+
user_mailbox_id: string;
|
|
228760
|
+
};
|
|
228761
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
228762
|
+
code?: number | undefined;
|
|
228763
|
+
msg?: string | undefined;
|
|
228764
|
+
data?: {
|
|
228765
|
+
items?: {
|
|
228766
|
+
id?: string | undefined;
|
|
228767
|
+
name: string;
|
|
228768
|
+
company?: string | undefined;
|
|
228769
|
+
phone?: string | undefined;
|
|
228770
|
+
mail_address?: string | undefined;
|
|
228771
|
+
tag?: string | undefined;
|
|
228772
|
+
remark?: string | undefined;
|
|
228773
|
+
avatar?: string | undefined;
|
|
228774
|
+
position?: string | undefined;
|
|
228775
|
+
}[] | undefined;
|
|
228776
|
+
page_token?: string | undefined;
|
|
228777
|
+
has_more?: boolean | undefined;
|
|
228778
|
+
} | undefined;
|
|
228779
|
+
}>;
|
|
228780
|
+
/**
|
|
228781
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.mail_contact&apiName=patch&version=v1 click to debug }
|
|
228782
|
+
*
|
|
228783
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=mail&resource=user_mailbox.mail_contact&version=v1 document }
|
|
228784
|
+
*/
|
|
228785
|
+
patch: (payload?: {
|
|
228786
|
+
data: {
|
|
228787
|
+
name: string;
|
|
228788
|
+
company?: string;
|
|
228789
|
+
phone?: string;
|
|
228790
|
+
mail_address?: string;
|
|
228791
|
+
tag?: string;
|
|
228792
|
+
remark?: string;
|
|
228793
|
+
position?: string;
|
|
228794
|
+
};
|
|
228795
|
+
path: {
|
|
228796
|
+
user_mailbox_id: string;
|
|
228797
|
+
mail_contact_id: string;
|
|
228798
|
+
};
|
|
228799
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
228800
|
+
code?: number | undefined;
|
|
228801
|
+
msg?: string | undefined;
|
|
228802
|
+
data?: {} | undefined;
|
|
228803
|
+
}>;
|
|
228804
|
+
};
|
|
228805
|
+
/**
|
|
228806
|
+
* user_mailbox.message.attachment
|
|
228807
|
+
*/
|
|
228808
|
+
userMailboxMessageAttachment: {
|
|
228809
|
+
/**
|
|
228810
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.message.attachment&apiName=download_url&version=v1 click to debug }
|
|
228811
|
+
*
|
|
228812
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=download_url&project=mail&resource=user_mailbox.message.attachment&version=v1 document }
|
|
228813
|
+
*/
|
|
228814
|
+
downloadUrl: (payload?: {
|
|
228815
|
+
params: {
|
|
228816
|
+
attachment_ids: Array<string>;
|
|
228817
|
+
};
|
|
228818
|
+
path: {
|
|
228819
|
+
user_mailbox_id: string;
|
|
228820
|
+
message_id: string;
|
|
228821
|
+
};
|
|
228822
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
228823
|
+
code?: number | undefined;
|
|
228824
|
+
msg?: string | undefined;
|
|
228825
|
+
data?: {
|
|
228826
|
+
download_urls?: {
|
|
228827
|
+
attachment_id?: string | undefined;
|
|
228828
|
+
download_url?: string | undefined;
|
|
228829
|
+
}[] | undefined;
|
|
228830
|
+
failed_ids?: string[] | undefined;
|
|
228831
|
+
} | undefined;
|
|
228832
|
+
}>;
|
|
228833
|
+
};
|
|
227924
228834
|
/**
|
|
227925
228835
|
* user_mailbox.message
|
|
227926
228836
|
*/
|
|
227927
228837
|
userMailboxMessage: {
|
|
228838
|
+
/**
|
|
228839
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.message&apiName=get&version=v1 click to debug }
|
|
228840
|
+
*
|
|
228841
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=mail&resource=user_mailbox.message&version=v1 document }
|
|
228842
|
+
*/
|
|
228843
|
+
get: (payload?: {
|
|
228844
|
+
path: {
|
|
228845
|
+
user_mailbox_id: string;
|
|
228846
|
+
message_id: string;
|
|
228847
|
+
};
|
|
228848
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
228849
|
+
code?: number | undefined;
|
|
228850
|
+
msg?: string | undefined;
|
|
228851
|
+
data?: {
|
|
228852
|
+
message?: {
|
|
228853
|
+
subject?: string | undefined;
|
|
228854
|
+
to?: {
|
|
228855
|
+
mail_address: string;
|
|
228856
|
+
name?: string | undefined;
|
|
228857
|
+
}[] | undefined;
|
|
228858
|
+
cc?: {
|
|
228859
|
+
mail_address: string;
|
|
228860
|
+
name?: string | undefined;
|
|
228861
|
+
}[] | undefined;
|
|
228862
|
+
bcc?: {
|
|
228863
|
+
mail_address: string;
|
|
228864
|
+
name?: string | undefined;
|
|
228865
|
+
}[] | undefined;
|
|
228866
|
+
head_from?: {
|
|
228867
|
+
mail_address: string;
|
|
228868
|
+
name?: string | undefined;
|
|
228869
|
+
} | undefined;
|
|
228870
|
+
body_html?: string | undefined;
|
|
228871
|
+
internal_date?: string | undefined;
|
|
228872
|
+
message_state?: number | undefined;
|
|
228873
|
+
smtp_message_id?: string | undefined;
|
|
228874
|
+
message_id?: string | undefined;
|
|
228875
|
+
body_plain_text?: string | undefined;
|
|
228876
|
+
attachments?: {
|
|
228877
|
+
filename: string;
|
|
228878
|
+
id?: string | undefined;
|
|
228879
|
+
attachment_type?: number | undefined;
|
|
228880
|
+
}[] | undefined;
|
|
228881
|
+
thread_id?: string | undefined;
|
|
228882
|
+
} | undefined;
|
|
228883
|
+
} | undefined;
|
|
228884
|
+
}>;
|
|
228885
|
+
/**
|
|
228886
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.message&apiName=get_by_card&version=v1 click to debug }
|
|
228887
|
+
*
|
|
228888
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get_by_card&project=mail&resource=user_mailbox.message&version=v1 document }
|
|
228889
|
+
*
|
|
228890
|
+
* 卡片ID获取邮件ID
|
|
228891
|
+
*/
|
|
228892
|
+
getByCard: (payload?: {
|
|
228893
|
+
params: {
|
|
228894
|
+
card_id: string;
|
|
228895
|
+
owner_id: string;
|
|
228896
|
+
user_id_type?: "open_id" | "user_id" | "union_id";
|
|
228897
|
+
};
|
|
228898
|
+
path: {
|
|
228899
|
+
user_mailbox_id: string;
|
|
228900
|
+
};
|
|
228901
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
228902
|
+
code?: number | undefined;
|
|
228903
|
+
msg?: string | undefined;
|
|
228904
|
+
data?: {
|
|
228905
|
+
owner_info: {
|
|
228906
|
+
type: string;
|
|
228907
|
+
owner_user_id?: string;
|
|
228908
|
+
public_mailbox_id?: string;
|
|
228909
|
+
};
|
|
228910
|
+
message_ids: Array<string>;
|
|
228911
|
+
card_id: string;
|
|
228912
|
+
} | undefined;
|
|
228913
|
+
}>;
|
|
228914
|
+
listWithIterator: (payload?: {
|
|
228915
|
+
params: {
|
|
228916
|
+
page_size: number;
|
|
228917
|
+
page_token?: string;
|
|
228918
|
+
folder_id: string;
|
|
228919
|
+
only_unread?: boolean;
|
|
228920
|
+
};
|
|
228921
|
+
path: {
|
|
228922
|
+
user_mailbox_id: string;
|
|
228923
|
+
};
|
|
228924
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
228925
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
228926
|
+
items?: string[] | undefined;
|
|
228927
|
+
} | null, void, unknown>;
|
|
228928
|
+
}>;
|
|
228929
|
+
/**
|
|
228930
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.message&apiName=list&version=v1 click to debug }
|
|
228931
|
+
*
|
|
228932
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=mail&resource=user_mailbox.message&version=v1 document }
|
|
228933
|
+
*/
|
|
228934
|
+
list: (payload?: {
|
|
228935
|
+
params: {
|
|
228936
|
+
page_size: number;
|
|
228937
|
+
page_token?: string;
|
|
228938
|
+
folder_id: string;
|
|
228939
|
+
only_unread?: boolean;
|
|
228940
|
+
};
|
|
228941
|
+
path: {
|
|
228942
|
+
user_mailbox_id: string;
|
|
228943
|
+
};
|
|
228944
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
228945
|
+
code?: number | undefined;
|
|
228946
|
+
msg?: string | undefined;
|
|
228947
|
+
data?: {
|
|
228948
|
+
items?: string[] | undefined;
|
|
228949
|
+
page_token?: string | undefined;
|
|
228950
|
+
has_more?: boolean | undefined;
|
|
228951
|
+
} | undefined;
|
|
228952
|
+
}>;
|
|
227928
228953
|
/**
|
|
227929
228954
|
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.message&apiName=send&version=v1 click to debug }
|
|
227930
228955
|
*
|
|
@@ -227967,6 +228992,166 @@ declare abstract class Client$t extends Client$u {
|
|
|
227967
228992
|
data?: {} | undefined;
|
|
227968
228993
|
}>;
|
|
227969
228994
|
};
|
|
228995
|
+
/**
|
|
228996
|
+
* user_mailbox.rule
|
|
228997
|
+
*/
|
|
228998
|
+
userMailboxRule: {
|
|
228999
|
+
/**
|
|
229000
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.rule&apiName=create&version=v1 click to debug }
|
|
229001
|
+
*
|
|
229002
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=mail&resource=user_mailbox.rule&version=v1 document }
|
|
229003
|
+
*/
|
|
229004
|
+
create: (payload?: {
|
|
229005
|
+
data: {
|
|
229006
|
+
condition: {
|
|
229007
|
+
match_type: number;
|
|
229008
|
+
items: Array<{
|
|
229009
|
+
type: number;
|
|
229010
|
+
operator?: number;
|
|
229011
|
+
input?: string;
|
|
229012
|
+
}>;
|
|
229013
|
+
};
|
|
229014
|
+
action: {
|
|
229015
|
+
items: Array<{
|
|
229016
|
+
type: number;
|
|
229017
|
+
input?: string;
|
|
229018
|
+
}>;
|
|
229019
|
+
};
|
|
229020
|
+
ignore_the_rest_of_rules: boolean;
|
|
229021
|
+
name: string;
|
|
229022
|
+
is_enable: boolean;
|
|
229023
|
+
};
|
|
229024
|
+
path: {
|
|
229025
|
+
user_mailbox_id: string;
|
|
229026
|
+
};
|
|
229027
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
229028
|
+
code?: number | undefined;
|
|
229029
|
+
msg?: string | undefined;
|
|
229030
|
+
data?: {
|
|
229031
|
+
rule?: {
|
|
229032
|
+
id?: string | undefined;
|
|
229033
|
+
condition: {
|
|
229034
|
+
match_type: number;
|
|
229035
|
+
items: Array<{
|
|
229036
|
+
type: number;
|
|
229037
|
+
operator?: number;
|
|
229038
|
+
input?: string;
|
|
229039
|
+
}>;
|
|
229040
|
+
};
|
|
229041
|
+
action: {
|
|
229042
|
+
items: Array<{
|
|
229043
|
+
type: number;
|
|
229044
|
+
input?: string;
|
|
229045
|
+
}>;
|
|
229046
|
+
};
|
|
229047
|
+
ignore_the_rest_of_rules: boolean;
|
|
229048
|
+
name: string;
|
|
229049
|
+
is_enable: boolean;
|
|
229050
|
+
} | undefined;
|
|
229051
|
+
} | undefined;
|
|
229052
|
+
}>;
|
|
229053
|
+
/**
|
|
229054
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.rule&apiName=delete&version=v1 click to debug }
|
|
229055
|
+
*
|
|
229056
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=mail&resource=user_mailbox.rule&version=v1 document }
|
|
229057
|
+
*/
|
|
229058
|
+
delete: (payload?: {
|
|
229059
|
+
path: {
|
|
229060
|
+
user_mailbox_id: string;
|
|
229061
|
+
rule_id: string;
|
|
229062
|
+
};
|
|
229063
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
229064
|
+
code?: number | undefined;
|
|
229065
|
+
msg?: string | undefined;
|
|
229066
|
+
data?: {} | undefined;
|
|
229067
|
+
}>;
|
|
229068
|
+
/**
|
|
229069
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.rule&apiName=list&version=v1 click to debug }
|
|
229070
|
+
*
|
|
229071
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=mail&resource=user_mailbox.rule&version=v1 document }
|
|
229072
|
+
*/
|
|
229073
|
+
list: (payload?: {
|
|
229074
|
+
path: {
|
|
229075
|
+
user_mailbox_id: string;
|
|
229076
|
+
};
|
|
229077
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
229078
|
+
code?: number | undefined;
|
|
229079
|
+
msg?: string | undefined;
|
|
229080
|
+
data?: {
|
|
229081
|
+
items?: {
|
|
229082
|
+
id?: string | undefined;
|
|
229083
|
+
condition: {
|
|
229084
|
+
match_type: number;
|
|
229085
|
+
items: Array<{
|
|
229086
|
+
type: number;
|
|
229087
|
+
operator?: number;
|
|
229088
|
+
input?: string;
|
|
229089
|
+
}>;
|
|
229090
|
+
};
|
|
229091
|
+
action: {
|
|
229092
|
+
items: Array<{
|
|
229093
|
+
type: number;
|
|
229094
|
+
input?: string;
|
|
229095
|
+
}>;
|
|
229096
|
+
};
|
|
229097
|
+
ignore_the_rest_of_rules: boolean;
|
|
229098
|
+
name: string;
|
|
229099
|
+
is_enable: boolean;
|
|
229100
|
+
}[] | undefined;
|
|
229101
|
+
} | undefined;
|
|
229102
|
+
}>;
|
|
229103
|
+
/**
|
|
229104
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.rule&apiName=reorder&version=v1 click to debug }
|
|
229105
|
+
*
|
|
229106
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=reorder&project=mail&resource=user_mailbox.rule&version=v1 document }
|
|
229107
|
+
*/
|
|
229108
|
+
reorder: (payload?: {
|
|
229109
|
+
data: {
|
|
229110
|
+
rule_ids: Array<string>;
|
|
229111
|
+
};
|
|
229112
|
+
path: {
|
|
229113
|
+
user_mailbox_id: string;
|
|
229114
|
+
};
|
|
229115
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
229116
|
+
code?: number | undefined;
|
|
229117
|
+
msg?: string | undefined;
|
|
229118
|
+
data?: {} | undefined;
|
|
229119
|
+
}>;
|
|
229120
|
+
/**
|
|
229121
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.rule&apiName=update&version=v1 click to debug }
|
|
229122
|
+
*
|
|
229123
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=update&project=mail&resource=user_mailbox.rule&version=v1 document }
|
|
229124
|
+
*/
|
|
229125
|
+
update: (payload?: {
|
|
229126
|
+
data: {
|
|
229127
|
+
condition: {
|
|
229128
|
+
match_type: number;
|
|
229129
|
+
items: Array<{
|
|
229130
|
+
type: number;
|
|
229131
|
+
operator?: number;
|
|
229132
|
+
input?: string;
|
|
229133
|
+
}>;
|
|
229134
|
+
};
|
|
229135
|
+
action: {
|
|
229136
|
+
items: Array<{
|
|
229137
|
+
type: number;
|
|
229138
|
+
input?: string;
|
|
229139
|
+
}>;
|
|
229140
|
+
};
|
|
229141
|
+
ignore_the_rest_of_rules: boolean;
|
|
229142
|
+
name: string;
|
|
229143
|
+
is_enable: boolean;
|
|
229144
|
+
};
|
|
229145
|
+
path: {
|
|
229146
|
+
user_mailbox_id: string;
|
|
229147
|
+
rule_id: string;
|
|
229148
|
+
};
|
|
229149
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
229150
|
+
code?: number | undefined;
|
|
229151
|
+
msg?: string | undefined;
|
|
229152
|
+
data?: {} | undefined;
|
|
229153
|
+
}>;
|
|
229154
|
+
};
|
|
227970
229155
|
v1: {
|
|
227971
229156
|
/**
|
|
227972
229157
|
* 邮件组别名
|
|
@@ -228950,6 +230135,23 @@ declare abstract class Client$t extends Client$u {
|
|
|
228950
230135
|
geo?: string | undefined;
|
|
228951
230136
|
} | undefined;
|
|
228952
230137
|
}>;
|
|
230138
|
+
/**
|
|
230139
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=public_mailbox&apiName=remove_to_recycle_bin&version=v1 click to debug }
|
|
230140
|
+
*
|
|
230141
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=remove_to_recycle_bin&project=mail&resource=public_mailbox&version=v1 document }
|
|
230142
|
+
*/
|
|
230143
|
+
removeToRecycleBin: (payload?: {
|
|
230144
|
+
data?: {
|
|
230145
|
+
to_mail_address?: string;
|
|
230146
|
+
};
|
|
230147
|
+
path: {
|
|
230148
|
+
public_mailbox_id: string;
|
|
230149
|
+
};
|
|
230150
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
230151
|
+
code?: number | undefined;
|
|
230152
|
+
msg?: string | undefined;
|
|
230153
|
+
data?: {} | undefined;
|
|
230154
|
+
}>;
|
|
228953
230155
|
/**
|
|
228954
230156
|
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=public_mailbox&apiName=update&version=v1 click to debug }
|
|
228955
230157
|
*
|
|
@@ -229320,10 +230522,435 @@ declare abstract class Client$t extends Client$u {
|
|
|
229320
230522
|
data?: {} | undefined;
|
|
229321
230523
|
}>;
|
|
229322
230524
|
};
|
|
230525
|
+
/**
|
|
230526
|
+
* user_mailbox.event
|
|
230527
|
+
*/
|
|
230528
|
+
userMailboxEvent: {
|
|
230529
|
+
/**
|
|
230530
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.event&apiName=subscribe&version=v1 click to debug }
|
|
230531
|
+
*
|
|
230532
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=subscribe&project=mail&resource=user_mailbox.event&version=v1 document }
|
|
230533
|
+
*/
|
|
230534
|
+
subscribe: (payload?: {
|
|
230535
|
+
data: {
|
|
230536
|
+
event_type: number;
|
|
230537
|
+
};
|
|
230538
|
+
path: {
|
|
230539
|
+
user_mailbox_id: string;
|
|
230540
|
+
};
|
|
230541
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
230542
|
+
code?: number | undefined;
|
|
230543
|
+
msg?: string | undefined;
|
|
230544
|
+
data?: {} | undefined;
|
|
230545
|
+
}>;
|
|
230546
|
+
/**
|
|
230547
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.event&apiName=subscription&version=v1 click to debug }
|
|
230548
|
+
*
|
|
230549
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=subscription&project=mail&resource=user_mailbox.event&version=v1 document }
|
|
230550
|
+
*/
|
|
230551
|
+
subscription: (payload?: {
|
|
230552
|
+
path: {
|
|
230553
|
+
user_mailbox_id: string;
|
|
230554
|
+
};
|
|
230555
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
230556
|
+
code?: number | undefined;
|
|
230557
|
+
msg?: string | undefined;
|
|
230558
|
+
data?: {
|
|
230559
|
+
event_types?: number[] | undefined;
|
|
230560
|
+
} | undefined;
|
|
230561
|
+
}>;
|
|
230562
|
+
/**
|
|
230563
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.event&apiName=unsubscribe&version=v1 click to debug }
|
|
230564
|
+
*
|
|
230565
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=unsubscribe&project=mail&resource=user_mailbox.event&version=v1 document }
|
|
230566
|
+
*/
|
|
230567
|
+
unsubscribe: (payload?: {
|
|
230568
|
+
data: {
|
|
230569
|
+
event_type: number;
|
|
230570
|
+
};
|
|
230571
|
+
path: {
|
|
230572
|
+
user_mailbox_id: string;
|
|
230573
|
+
};
|
|
230574
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
230575
|
+
code?: number | undefined;
|
|
230576
|
+
msg?: string | undefined;
|
|
230577
|
+
data?: {} | undefined;
|
|
230578
|
+
}>;
|
|
230579
|
+
};
|
|
230580
|
+
/**
|
|
230581
|
+
* user_mailbox.folder
|
|
230582
|
+
*/
|
|
230583
|
+
userMailboxFolder: {
|
|
230584
|
+
/**
|
|
230585
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.folder&apiName=create&version=v1 click to debug }
|
|
230586
|
+
*
|
|
230587
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=mail&resource=user_mailbox.folder&version=v1 document }
|
|
230588
|
+
*/
|
|
230589
|
+
create: (payload?: {
|
|
230590
|
+
data: {
|
|
230591
|
+
name: string;
|
|
230592
|
+
parent_folder_id: string;
|
|
230593
|
+
};
|
|
230594
|
+
path: {
|
|
230595
|
+
user_mailbox_id: string;
|
|
230596
|
+
};
|
|
230597
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
230598
|
+
code?: number | undefined;
|
|
230599
|
+
msg?: string | undefined;
|
|
230600
|
+
data?: {
|
|
230601
|
+
folder?: {
|
|
230602
|
+
id?: string | undefined;
|
|
230603
|
+
name: string;
|
|
230604
|
+
parent_folder_id: string;
|
|
230605
|
+
folder_type?: number | undefined;
|
|
230606
|
+
unread_message_count?: number | undefined;
|
|
230607
|
+
unread_thread_count?: number | undefined;
|
|
230608
|
+
} | undefined;
|
|
230609
|
+
} | undefined;
|
|
230610
|
+
}>;
|
|
230611
|
+
/**
|
|
230612
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.folder&apiName=delete&version=v1 click to debug }
|
|
230613
|
+
*
|
|
230614
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=mail&resource=user_mailbox.folder&version=v1 document }
|
|
230615
|
+
*/
|
|
230616
|
+
delete: (payload?: {
|
|
230617
|
+
path: {
|
|
230618
|
+
user_mailbox_id: string;
|
|
230619
|
+
folder_id: string;
|
|
230620
|
+
};
|
|
230621
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
230622
|
+
code?: number | undefined;
|
|
230623
|
+
msg?: string | undefined;
|
|
230624
|
+
data?: {} | undefined;
|
|
230625
|
+
}>;
|
|
230626
|
+
/**
|
|
230627
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.folder&apiName=list&version=v1 click to debug }
|
|
230628
|
+
*
|
|
230629
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=mail&resource=user_mailbox.folder&version=v1 document }
|
|
230630
|
+
*/
|
|
230631
|
+
list: (payload?: {
|
|
230632
|
+
params?: {
|
|
230633
|
+
folder_type?: number;
|
|
230634
|
+
};
|
|
230635
|
+
path: {
|
|
230636
|
+
user_mailbox_id: string;
|
|
230637
|
+
};
|
|
230638
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
230639
|
+
code?: number | undefined;
|
|
230640
|
+
msg?: string | undefined;
|
|
230641
|
+
data?: {
|
|
230642
|
+
items?: {
|
|
230643
|
+
id?: string | undefined;
|
|
230644
|
+
name: string;
|
|
230645
|
+
parent_folder_id: string;
|
|
230646
|
+
folder_type?: number | undefined;
|
|
230647
|
+
unread_message_count?: number | undefined;
|
|
230648
|
+
unread_thread_count?: number | undefined;
|
|
230649
|
+
}[] | undefined;
|
|
230650
|
+
} | undefined;
|
|
230651
|
+
}>;
|
|
230652
|
+
/**
|
|
230653
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.folder&apiName=patch&version=v1 click to debug }
|
|
230654
|
+
*
|
|
230655
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=mail&resource=user_mailbox.folder&version=v1 document }
|
|
230656
|
+
*/
|
|
230657
|
+
patch: (payload?: {
|
|
230658
|
+
data?: {
|
|
230659
|
+
name?: string;
|
|
230660
|
+
parent_folder_id?: string;
|
|
230661
|
+
};
|
|
230662
|
+
path: {
|
|
230663
|
+
user_mailbox_id: string;
|
|
230664
|
+
folder_id: string;
|
|
230665
|
+
};
|
|
230666
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
230667
|
+
code?: number | undefined;
|
|
230668
|
+
msg?: string | undefined;
|
|
230669
|
+
data?: {} | undefined;
|
|
230670
|
+
}>;
|
|
230671
|
+
};
|
|
230672
|
+
/**
|
|
230673
|
+
* user_mailbox.mail_contact
|
|
230674
|
+
*/
|
|
230675
|
+
userMailboxMailContact: {
|
|
230676
|
+
/**
|
|
230677
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.mail_contact&apiName=create&version=v1 click to debug }
|
|
230678
|
+
*
|
|
230679
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=mail&resource=user_mailbox.mail_contact&version=v1 document }
|
|
230680
|
+
*/
|
|
230681
|
+
create: (payload?: {
|
|
230682
|
+
data: {
|
|
230683
|
+
name: string;
|
|
230684
|
+
company?: string;
|
|
230685
|
+
phone?: string;
|
|
230686
|
+
mail_address?: string;
|
|
230687
|
+
tag?: string;
|
|
230688
|
+
remark?: string;
|
|
230689
|
+
position?: string;
|
|
230690
|
+
};
|
|
230691
|
+
path: {
|
|
230692
|
+
user_mailbox_id: string;
|
|
230693
|
+
};
|
|
230694
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
230695
|
+
code?: number | undefined;
|
|
230696
|
+
msg?: string | undefined;
|
|
230697
|
+
data?: {
|
|
230698
|
+
mail_contact?: {
|
|
230699
|
+
id?: string | undefined;
|
|
230700
|
+
name: string;
|
|
230701
|
+
company?: string | undefined;
|
|
230702
|
+
phone?: string | undefined;
|
|
230703
|
+
mail_address?: string | undefined;
|
|
230704
|
+
tag?: string | undefined;
|
|
230705
|
+
remark?: string | undefined;
|
|
230706
|
+
avatar?: string | undefined;
|
|
230707
|
+
position?: string | undefined;
|
|
230708
|
+
} | undefined;
|
|
230709
|
+
} | undefined;
|
|
230710
|
+
}>;
|
|
230711
|
+
/**
|
|
230712
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.mail_contact&apiName=delete&version=v1 click to debug }
|
|
230713
|
+
*
|
|
230714
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=mail&resource=user_mailbox.mail_contact&version=v1 document }
|
|
230715
|
+
*/
|
|
230716
|
+
delete: (payload?: {
|
|
230717
|
+
path: {
|
|
230718
|
+
user_mailbox_id: string;
|
|
230719
|
+
mail_contact_id: string;
|
|
230720
|
+
};
|
|
230721
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
230722
|
+
code?: number | undefined;
|
|
230723
|
+
msg?: string | undefined;
|
|
230724
|
+
data?: {} | undefined;
|
|
230725
|
+
}>;
|
|
230726
|
+
listWithIterator: (payload?: {
|
|
230727
|
+
params: {
|
|
230728
|
+
page_size: number;
|
|
230729
|
+
page_token?: string;
|
|
230730
|
+
};
|
|
230731
|
+
path: {
|
|
230732
|
+
user_mailbox_id: string;
|
|
230733
|
+
};
|
|
230734
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
230735
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
230736
|
+
items?: {
|
|
230737
|
+
id?: string | undefined;
|
|
230738
|
+
name: string;
|
|
230739
|
+
company?: string | undefined;
|
|
230740
|
+
phone?: string | undefined;
|
|
230741
|
+
mail_address?: string | undefined;
|
|
230742
|
+
tag?: string | undefined;
|
|
230743
|
+
remark?: string | undefined;
|
|
230744
|
+
avatar?: string | undefined;
|
|
230745
|
+
position?: string | undefined;
|
|
230746
|
+
}[] | undefined;
|
|
230747
|
+
} | null, void, unknown>;
|
|
230748
|
+
}>;
|
|
230749
|
+
/**
|
|
230750
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.mail_contact&apiName=list&version=v1 click to debug }
|
|
230751
|
+
*
|
|
230752
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=mail&resource=user_mailbox.mail_contact&version=v1 document }
|
|
230753
|
+
*/
|
|
230754
|
+
list: (payload?: {
|
|
230755
|
+
params: {
|
|
230756
|
+
page_size: number;
|
|
230757
|
+
page_token?: string;
|
|
230758
|
+
};
|
|
230759
|
+
path: {
|
|
230760
|
+
user_mailbox_id: string;
|
|
230761
|
+
};
|
|
230762
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
230763
|
+
code?: number | undefined;
|
|
230764
|
+
msg?: string | undefined;
|
|
230765
|
+
data?: {
|
|
230766
|
+
items?: {
|
|
230767
|
+
id?: string | undefined;
|
|
230768
|
+
name: string;
|
|
230769
|
+
company?: string | undefined;
|
|
230770
|
+
phone?: string | undefined;
|
|
230771
|
+
mail_address?: string | undefined;
|
|
230772
|
+
tag?: string | undefined;
|
|
230773
|
+
remark?: string | undefined;
|
|
230774
|
+
avatar?: string | undefined;
|
|
230775
|
+
position?: string | undefined;
|
|
230776
|
+
}[] | undefined;
|
|
230777
|
+
page_token?: string | undefined;
|
|
230778
|
+
has_more?: boolean | undefined;
|
|
230779
|
+
} | undefined;
|
|
230780
|
+
}>;
|
|
230781
|
+
/**
|
|
230782
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.mail_contact&apiName=patch&version=v1 click to debug }
|
|
230783
|
+
*
|
|
230784
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=mail&resource=user_mailbox.mail_contact&version=v1 document }
|
|
230785
|
+
*/
|
|
230786
|
+
patch: (payload?: {
|
|
230787
|
+
data: {
|
|
230788
|
+
name: string;
|
|
230789
|
+
company?: string;
|
|
230790
|
+
phone?: string;
|
|
230791
|
+
mail_address?: string;
|
|
230792
|
+
tag?: string;
|
|
230793
|
+
remark?: string;
|
|
230794
|
+
position?: string;
|
|
230795
|
+
};
|
|
230796
|
+
path: {
|
|
230797
|
+
user_mailbox_id: string;
|
|
230798
|
+
mail_contact_id: string;
|
|
230799
|
+
};
|
|
230800
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
230801
|
+
code?: number | undefined;
|
|
230802
|
+
msg?: string | undefined;
|
|
230803
|
+
data?: {} | undefined;
|
|
230804
|
+
}>;
|
|
230805
|
+
};
|
|
230806
|
+
/**
|
|
230807
|
+
* user_mailbox.message.attachment
|
|
230808
|
+
*/
|
|
230809
|
+
userMailboxMessageAttachment: {
|
|
230810
|
+
/**
|
|
230811
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.message.attachment&apiName=download_url&version=v1 click to debug }
|
|
230812
|
+
*
|
|
230813
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=download_url&project=mail&resource=user_mailbox.message.attachment&version=v1 document }
|
|
230814
|
+
*/
|
|
230815
|
+
downloadUrl: (payload?: {
|
|
230816
|
+
params: {
|
|
230817
|
+
attachment_ids: Array<string>;
|
|
230818
|
+
};
|
|
230819
|
+
path: {
|
|
230820
|
+
user_mailbox_id: string;
|
|
230821
|
+
message_id: string;
|
|
230822
|
+
};
|
|
230823
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
230824
|
+
code?: number | undefined;
|
|
230825
|
+
msg?: string | undefined;
|
|
230826
|
+
data?: {
|
|
230827
|
+
download_urls?: {
|
|
230828
|
+
attachment_id?: string | undefined;
|
|
230829
|
+
download_url?: string | undefined;
|
|
230830
|
+
}[] | undefined;
|
|
230831
|
+
failed_ids?: string[] | undefined;
|
|
230832
|
+
} | undefined;
|
|
230833
|
+
}>;
|
|
230834
|
+
};
|
|
229323
230835
|
/**
|
|
229324
230836
|
* user_mailbox.message
|
|
229325
230837
|
*/
|
|
229326
230838
|
userMailboxMessage: {
|
|
230839
|
+
/**
|
|
230840
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.message&apiName=get&version=v1 click to debug }
|
|
230841
|
+
*
|
|
230842
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=mail&resource=user_mailbox.message&version=v1 document }
|
|
230843
|
+
*/
|
|
230844
|
+
get: (payload?: {
|
|
230845
|
+
path: {
|
|
230846
|
+
user_mailbox_id: string;
|
|
230847
|
+
message_id: string;
|
|
230848
|
+
};
|
|
230849
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
230850
|
+
code?: number | undefined;
|
|
230851
|
+
msg?: string | undefined;
|
|
230852
|
+
data?: {
|
|
230853
|
+
message?: {
|
|
230854
|
+
subject?: string | undefined;
|
|
230855
|
+
to?: {
|
|
230856
|
+
mail_address: string;
|
|
230857
|
+
name?: string | undefined;
|
|
230858
|
+
}[] | undefined;
|
|
230859
|
+
cc?: {
|
|
230860
|
+
mail_address: string;
|
|
230861
|
+
name?: string | undefined;
|
|
230862
|
+
}[] | undefined;
|
|
230863
|
+
bcc?: {
|
|
230864
|
+
mail_address: string;
|
|
230865
|
+
name?: string | undefined;
|
|
230866
|
+
}[] | undefined;
|
|
230867
|
+
head_from?: {
|
|
230868
|
+
mail_address: string;
|
|
230869
|
+
name?: string | undefined;
|
|
230870
|
+
} | undefined;
|
|
230871
|
+
body_html?: string | undefined;
|
|
230872
|
+
internal_date?: string | undefined;
|
|
230873
|
+
message_state?: number | undefined;
|
|
230874
|
+
smtp_message_id?: string | undefined;
|
|
230875
|
+
message_id?: string | undefined;
|
|
230876
|
+
body_plain_text?: string | undefined;
|
|
230877
|
+
attachments?: {
|
|
230878
|
+
filename: string;
|
|
230879
|
+
id?: string | undefined;
|
|
230880
|
+
attachment_type?: number | undefined;
|
|
230881
|
+
}[] | undefined;
|
|
230882
|
+
thread_id?: string | undefined;
|
|
230883
|
+
} | undefined;
|
|
230884
|
+
} | undefined;
|
|
230885
|
+
}>;
|
|
230886
|
+
/**
|
|
230887
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.message&apiName=get_by_card&version=v1 click to debug }
|
|
230888
|
+
*
|
|
230889
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get_by_card&project=mail&resource=user_mailbox.message&version=v1 document }
|
|
230890
|
+
*
|
|
230891
|
+
* 卡片ID获取邮件ID
|
|
230892
|
+
*/
|
|
230893
|
+
getByCard: (payload?: {
|
|
230894
|
+
params: {
|
|
230895
|
+
card_id: string;
|
|
230896
|
+
owner_id: string;
|
|
230897
|
+
user_id_type?: "open_id" | "user_id" | "union_id";
|
|
230898
|
+
};
|
|
230899
|
+
path: {
|
|
230900
|
+
user_mailbox_id: string;
|
|
230901
|
+
};
|
|
230902
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
230903
|
+
code?: number | undefined;
|
|
230904
|
+
msg?: string | undefined;
|
|
230905
|
+
data?: {
|
|
230906
|
+
owner_info: {
|
|
230907
|
+
type: string;
|
|
230908
|
+
owner_user_id?: string;
|
|
230909
|
+
public_mailbox_id?: string;
|
|
230910
|
+
};
|
|
230911
|
+
message_ids: Array<string>;
|
|
230912
|
+
card_id: string;
|
|
230913
|
+
} | undefined;
|
|
230914
|
+
}>;
|
|
230915
|
+
listWithIterator: (payload?: {
|
|
230916
|
+
params: {
|
|
230917
|
+
page_size: number;
|
|
230918
|
+
page_token?: string;
|
|
230919
|
+
folder_id: string;
|
|
230920
|
+
only_unread?: boolean;
|
|
230921
|
+
};
|
|
230922
|
+
path: {
|
|
230923
|
+
user_mailbox_id: string;
|
|
230924
|
+
};
|
|
230925
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
230926
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
230927
|
+
items?: string[] | undefined;
|
|
230928
|
+
} | null, void, unknown>;
|
|
230929
|
+
}>;
|
|
230930
|
+
/**
|
|
230931
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.message&apiName=list&version=v1 click to debug }
|
|
230932
|
+
*
|
|
230933
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=mail&resource=user_mailbox.message&version=v1 document }
|
|
230934
|
+
*/
|
|
230935
|
+
list: (payload?: {
|
|
230936
|
+
params: {
|
|
230937
|
+
page_size: number;
|
|
230938
|
+
page_token?: string;
|
|
230939
|
+
folder_id: string;
|
|
230940
|
+
only_unread?: boolean;
|
|
230941
|
+
};
|
|
230942
|
+
path: {
|
|
230943
|
+
user_mailbox_id: string;
|
|
230944
|
+
};
|
|
230945
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
230946
|
+
code?: number | undefined;
|
|
230947
|
+
msg?: string | undefined;
|
|
230948
|
+
data?: {
|
|
230949
|
+
items?: string[] | undefined;
|
|
230950
|
+
page_token?: string | undefined;
|
|
230951
|
+
has_more?: boolean | undefined;
|
|
230952
|
+
} | undefined;
|
|
230953
|
+
}>;
|
|
229327
230954
|
/**
|
|
229328
230955
|
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.message&apiName=send&version=v1 click to debug }
|
|
229329
230956
|
*
|
|
@@ -229366,6 +230993,166 @@ declare abstract class Client$t extends Client$u {
|
|
|
229366
230993
|
data?: {} | undefined;
|
|
229367
230994
|
}>;
|
|
229368
230995
|
};
|
|
230996
|
+
/**
|
|
230997
|
+
* user_mailbox.rule
|
|
230998
|
+
*/
|
|
230999
|
+
userMailboxRule: {
|
|
231000
|
+
/**
|
|
231001
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.rule&apiName=create&version=v1 click to debug }
|
|
231002
|
+
*
|
|
231003
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=mail&resource=user_mailbox.rule&version=v1 document }
|
|
231004
|
+
*/
|
|
231005
|
+
create: (payload?: {
|
|
231006
|
+
data: {
|
|
231007
|
+
condition: {
|
|
231008
|
+
match_type: number;
|
|
231009
|
+
items: Array<{
|
|
231010
|
+
type: number;
|
|
231011
|
+
operator?: number;
|
|
231012
|
+
input?: string;
|
|
231013
|
+
}>;
|
|
231014
|
+
};
|
|
231015
|
+
action: {
|
|
231016
|
+
items: Array<{
|
|
231017
|
+
type: number;
|
|
231018
|
+
input?: string;
|
|
231019
|
+
}>;
|
|
231020
|
+
};
|
|
231021
|
+
ignore_the_rest_of_rules: boolean;
|
|
231022
|
+
name: string;
|
|
231023
|
+
is_enable: boolean;
|
|
231024
|
+
};
|
|
231025
|
+
path: {
|
|
231026
|
+
user_mailbox_id: string;
|
|
231027
|
+
};
|
|
231028
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
231029
|
+
code?: number | undefined;
|
|
231030
|
+
msg?: string | undefined;
|
|
231031
|
+
data?: {
|
|
231032
|
+
rule?: {
|
|
231033
|
+
id?: string | undefined;
|
|
231034
|
+
condition: {
|
|
231035
|
+
match_type: number;
|
|
231036
|
+
items: Array<{
|
|
231037
|
+
type: number;
|
|
231038
|
+
operator?: number;
|
|
231039
|
+
input?: string;
|
|
231040
|
+
}>;
|
|
231041
|
+
};
|
|
231042
|
+
action: {
|
|
231043
|
+
items: Array<{
|
|
231044
|
+
type: number;
|
|
231045
|
+
input?: string;
|
|
231046
|
+
}>;
|
|
231047
|
+
};
|
|
231048
|
+
ignore_the_rest_of_rules: boolean;
|
|
231049
|
+
name: string;
|
|
231050
|
+
is_enable: boolean;
|
|
231051
|
+
} | undefined;
|
|
231052
|
+
} | undefined;
|
|
231053
|
+
}>;
|
|
231054
|
+
/**
|
|
231055
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.rule&apiName=delete&version=v1 click to debug }
|
|
231056
|
+
*
|
|
231057
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=mail&resource=user_mailbox.rule&version=v1 document }
|
|
231058
|
+
*/
|
|
231059
|
+
delete: (payload?: {
|
|
231060
|
+
path: {
|
|
231061
|
+
user_mailbox_id: string;
|
|
231062
|
+
rule_id: string;
|
|
231063
|
+
};
|
|
231064
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
231065
|
+
code?: number | undefined;
|
|
231066
|
+
msg?: string | undefined;
|
|
231067
|
+
data?: {} | undefined;
|
|
231068
|
+
}>;
|
|
231069
|
+
/**
|
|
231070
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.rule&apiName=list&version=v1 click to debug }
|
|
231071
|
+
*
|
|
231072
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=mail&resource=user_mailbox.rule&version=v1 document }
|
|
231073
|
+
*/
|
|
231074
|
+
list: (payload?: {
|
|
231075
|
+
path: {
|
|
231076
|
+
user_mailbox_id: string;
|
|
231077
|
+
};
|
|
231078
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
231079
|
+
code?: number | undefined;
|
|
231080
|
+
msg?: string | undefined;
|
|
231081
|
+
data?: {
|
|
231082
|
+
items?: {
|
|
231083
|
+
id?: string | undefined;
|
|
231084
|
+
condition: {
|
|
231085
|
+
match_type: number;
|
|
231086
|
+
items: Array<{
|
|
231087
|
+
type: number;
|
|
231088
|
+
operator?: number;
|
|
231089
|
+
input?: string;
|
|
231090
|
+
}>;
|
|
231091
|
+
};
|
|
231092
|
+
action: {
|
|
231093
|
+
items: Array<{
|
|
231094
|
+
type: number;
|
|
231095
|
+
input?: string;
|
|
231096
|
+
}>;
|
|
231097
|
+
};
|
|
231098
|
+
ignore_the_rest_of_rules: boolean;
|
|
231099
|
+
name: string;
|
|
231100
|
+
is_enable: boolean;
|
|
231101
|
+
}[] | undefined;
|
|
231102
|
+
} | undefined;
|
|
231103
|
+
}>;
|
|
231104
|
+
/**
|
|
231105
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.rule&apiName=reorder&version=v1 click to debug }
|
|
231106
|
+
*
|
|
231107
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=reorder&project=mail&resource=user_mailbox.rule&version=v1 document }
|
|
231108
|
+
*/
|
|
231109
|
+
reorder: (payload?: {
|
|
231110
|
+
data: {
|
|
231111
|
+
rule_ids: Array<string>;
|
|
231112
|
+
};
|
|
231113
|
+
path: {
|
|
231114
|
+
user_mailbox_id: string;
|
|
231115
|
+
};
|
|
231116
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
231117
|
+
code?: number | undefined;
|
|
231118
|
+
msg?: string | undefined;
|
|
231119
|
+
data?: {} | undefined;
|
|
231120
|
+
}>;
|
|
231121
|
+
/**
|
|
231122
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.rule&apiName=update&version=v1 click to debug }
|
|
231123
|
+
*
|
|
231124
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=update&project=mail&resource=user_mailbox.rule&version=v1 document }
|
|
231125
|
+
*/
|
|
231126
|
+
update: (payload?: {
|
|
231127
|
+
data: {
|
|
231128
|
+
condition: {
|
|
231129
|
+
match_type: number;
|
|
231130
|
+
items: Array<{
|
|
231131
|
+
type: number;
|
|
231132
|
+
operator?: number;
|
|
231133
|
+
input?: string;
|
|
231134
|
+
}>;
|
|
231135
|
+
};
|
|
231136
|
+
action: {
|
|
231137
|
+
items: Array<{
|
|
231138
|
+
type: number;
|
|
231139
|
+
input?: string;
|
|
231140
|
+
}>;
|
|
231141
|
+
};
|
|
231142
|
+
ignore_the_rest_of_rules: boolean;
|
|
231143
|
+
name: string;
|
|
231144
|
+
is_enable: boolean;
|
|
231145
|
+
};
|
|
231146
|
+
path: {
|
|
231147
|
+
user_mailbox_id: string;
|
|
231148
|
+
rule_id: string;
|
|
231149
|
+
};
|
|
231150
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
231151
|
+
code?: number | undefined;
|
|
231152
|
+
msg?: string | undefined;
|
|
231153
|
+
data?: {} | undefined;
|
|
231154
|
+
}>;
|
|
231155
|
+
};
|
|
229369
231156
|
};
|
|
229370
231157
|
};
|
|
229371
231158
|
}
|
|
@@ -235915,6 +237702,7 @@ declare abstract class Client$c extends Client$d {
|
|
|
235915
237702
|
data?: {
|
|
235916
237703
|
title?: string;
|
|
235917
237704
|
folder_token?: string;
|
|
237705
|
+
without_mount?: boolean;
|
|
235918
237706
|
};
|
|
235919
237707
|
}, options?: IRequestOptions$1) => Promise<{
|
|
235920
237708
|
code?: number | undefined;
|
|
@@ -235925,6 +237713,7 @@ declare abstract class Client$c extends Client$d {
|
|
|
235925
237713
|
folder_token?: string | undefined;
|
|
235926
237714
|
url?: string | undefined;
|
|
235927
237715
|
spreadsheet_token?: string | undefined;
|
|
237716
|
+
without_mount?: boolean | undefined;
|
|
235928
237717
|
} | undefined;
|
|
235929
237718
|
} | undefined;
|
|
235930
237719
|
}>;
|
|
@@ -236754,6 +238543,7 @@ declare abstract class Client$c extends Client$d {
|
|
|
236754
238543
|
data?: {
|
|
236755
238544
|
title?: string;
|
|
236756
238545
|
folder_token?: string;
|
|
238546
|
+
without_mount?: boolean;
|
|
236757
238547
|
};
|
|
236758
238548
|
}, options?: IRequestOptions$1) => Promise<{
|
|
236759
238549
|
code?: number | undefined;
|
|
@@ -236764,6 +238554,7 @@ declare abstract class Client$c extends Client$d {
|
|
|
236764
238554
|
folder_token?: string | undefined;
|
|
236765
238555
|
url?: string | undefined;
|
|
236766
238556
|
spreadsheet_token?: string | undefined;
|
|
238557
|
+
without_mount?: boolean | undefined;
|
|
236767
238558
|
} | undefined;
|
|
236768
238559
|
} | undefined;
|
|
236769
238560
|
}>;
|
|
@@ -237608,6 +239399,7 @@ declare abstract class Client$b extends Client$c {
|
|
|
237608
239399
|
data: {
|
|
237609
239400
|
speech: {
|
|
237610
239401
|
speech?: string;
|
|
239402
|
+
speech_key?: string;
|
|
237611
239403
|
};
|
|
237612
239404
|
config: {
|
|
237613
239405
|
file_id: string;
|
|
@@ -237637,6 +239429,7 @@ declare abstract class Client$b extends Client$c {
|
|
|
237637
239429
|
data: {
|
|
237638
239430
|
speech: {
|
|
237639
239431
|
speech?: string;
|
|
239432
|
+
speech_key?: string;
|
|
237640
239433
|
};
|
|
237641
239434
|
config: {
|
|
237642
239435
|
stream_id: string;
|
|
@@ -237676,6 +239469,7 @@ declare abstract class Client$b extends Client$c {
|
|
|
237676
239469
|
data: {
|
|
237677
239470
|
speech: {
|
|
237678
239471
|
speech?: string;
|
|
239472
|
+
speech_key?: string;
|
|
237679
239473
|
};
|
|
237680
239474
|
config: {
|
|
237681
239475
|
file_id: string;
|
|
@@ -237705,6 +239499,7 @@ declare abstract class Client$b extends Client$c {
|
|
|
237705
239499
|
data: {
|
|
237706
239500
|
speech: {
|
|
237707
239501
|
speech?: string;
|
|
239502
|
+
speech_key?: string;
|
|
237708
239503
|
};
|
|
237709
239504
|
config: {
|
|
237710
239505
|
stream_id: string;
|
|
@@ -239719,6 +241514,7 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
239719
241514
|
resource_type?: string;
|
|
239720
241515
|
resource_id: string;
|
|
239721
241516
|
user_id_type?: string;
|
|
241517
|
+
updated_mesc?: string;
|
|
239722
241518
|
};
|
|
239723
241519
|
}, options?: IRequestOptions$1) => Promise<{
|
|
239724
241520
|
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
@@ -239755,6 +241551,7 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
239755
241551
|
resource_type?: string;
|
|
239756
241552
|
resource_id: string;
|
|
239757
241553
|
user_id_type?: string;
|
|
241554
|
+
updated_mesc?: string;
|
|
239758
241555
|
};
|
|
239759
241556
|
}, options?: IRequestOptions$1) => Promise<{
|
|
239760
241557
|
code?: number | undefined;
|
|
@@ -240192,6 +241989,7 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
240192
241989
|
user_id_type?: "open_id" | "user_id" | "union_id";
|
|
240193
241990
|
resource_type?: string;
|
|
240194
241991
|
resource_id?: string;
|
|
241992
|
+
update_msec?: string;
|
|
240195
241993
|
};
|
|
240196
241994
|
}, options?: IRequestOptions$1) => Promise<{
|
|
240197
241995
|
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
@@ -240252,6 +242050,7 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
240252
242050
|
user_id_type?: "open_id" | "user_id" | "union_id";
|
|
240253
242051
|
resource_type?: string;
|
|
240254
242052
|
resource_id?: string;
|
|
242053
|
+
update_msec?: string;
|
|
240255
242054
|
};
|
|
240256
242055
|
}, options?: IRequestOptions$1) => Promise<{
|
|
240257
242056
|
code?: number | undefined;
|
|
@@ -240584,6 +242383,7 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
240584
242383
|
resource_type: string;
|
|
240585
242384
|
resource_id?: string;
|
|
240586
242385
|
user_id_type?: string;
|
|
242386
|
+
update_msec?: string;
|
|
240587
242387
|
};
|
|
240588
242388
|
}, options?: IRequestOptions$1) => Promise<{
|
|
240589
242389
|
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
@@ -240606,6 +242406,7 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
240606
242406
|
resource_type: string;
|
|
240607
242407
|
resource_id?: string;
|
|
240608
242408
|
user_id_type?: string;
|
|
242409
|
+
update_msec?: string;
|
|
240609
242410
|
};
|
|
240610
242411
|
}, options?: IRequestOptions$1) => Promise<{
|
|
240611
242412
|
code?: number | undefined;
|
|
@@ -240960,6 +242761,10 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
240960
242761
|
id?: string | undefined;
|
|
240961
242762
|
completed_at?: string | undefined;
|
|
240962
242763
|
}[] | undefined;
|
|
242764
|
+
positive_reminders?: {
|
|
242765
|
+
id?: string | undefined;
|
|
242766
|
+
relative_fire_minute: number;
|
|
242767
|
+
}[] | undefined;
|
|
240963
242768
|
} | undefined;
|
|
240964
242769
|
} | undefined;
|
|
240965
242770
|
}>;
|
|
@@ -241144,6 +242949,10 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
241144
242949
|
id?: string | undefined;
|
|
241145
242950
|
completed_at?: string | undefined;
|
|
241146
242951
|
}[] | undefined;
|
|
242952
|
+
positive_reminders?: {
|
|
242953
|
+
id?: string | undefined;
|
|
242954
|
+
relative_fire_minute: number;
|
|
242955
|
+
}[] | undefined;
|
|
241147
242956
|
} | undefined;
|
|
241148
242957
|
} | undefined;
|
|
241149
242958
|
}>;
|
|
@@ -241327,6 +243136,10 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
241327
243136
|
id?: string | undefined;
|
|
241328
243137
|
completed_at?: string | undefined;
|
|
241329
243138
|
}[] | undefined;
|
|
243139
|
+
positive_reminders?: {
|
|
243140
|
+
id?: string | undefined;
|
|
243141
|
+
relative_fire_minute: number;
|
|
243142
|
+
}[] | undefined;
|
|
241330
243143
|
} | undefined;
|
|
241331
243144
|
} | undefined;
|
|
241332
243145
|
}>;
|
|
@@ -241456,6 +243269,9 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
241456
243269
|
token: string;
|
|
241457
243270
|
block_id: string;
|
|
241458
243271
|
};
|
|
243272
|
+
positive_reminders?: Array<{
|
|
243273
|
+
relative_fire_minute: number;
|
|
243274
|
+
}>;
|
|
241459
243275
|
};
|
|
241460
243276
|
params?: {
|
|
241461
243277
|
user_id_type?: string;
|
|
@@ -241624,6 +243440,10 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
241624
243440
|
id?: string | undefined;
|
|
241625
243441
|
completed_at?: string | undefined;
|
|
241626
243442
|
}[] | undefined;
|
|
243443
|
+
positive_reminders?: {
|
|
243444
|
+
id?: string | undefined;
|
|
243445
|
+
relative_fire_minute: number;
|
|
243446
|
+
}[] | undefined;
|
|
241627
243447
|
} | undefined;
|
|
241628
243448
|
} | undefined;
|
|
241629
243449
|
}>;
|
|
@@ -241817,6 +243637,10 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
241817
243637
|
id?: string | undefined;
|
|
241818
243638
|
completed_at?: string | undefined;
|
|
241819
243639
|
}[] | undefined;
|
|
243640
|
+
positive_reminders?: {
|
|
243641
|
+
id?: string | undefined;
|
|
243642
|
+
relative_fire_minute: number;
|
|
243643
|
+
}[] | undefined;
|
|
241820
243644
|
} | undefined;
|
|
241821
243645
|
} | undefined;
|
|
241822
243646
|
}>;
|
|
@@ -241990,6 +243814,10 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
241990
243814
|
id?: string | undefined;
|
|
241991
243815
|
completed_at?: string | undefined;
|
|
241992
243816
|
}[] | undefined;
|
|
243817
|
+
positive_reminders?: {
|
|
243818
|
+
id?: string | undefined;
|
|
243819
|
+
relative_fire_minute: number;
|
|
243820
|
+
}[] | undefined;
|
|
241993
243821
|
}[] | undefined;
|
|
241994
243822
|
} | null, void, unknown>;
|
|
241995
243823
|
}>;
|
|
@@ -242170,273 +243998,284 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
242170
243998
|
id?: string | undefined;
|
|
242171
243999
|
completed_at?: string | undefined;
|
|
242172
244000
|
}[] | undefined;
|
|
242173
|
-
|
|
242174
|
-
|
|
242175
|
-
|
|
242176
|
-
|
|
242177
|
-
|
|
242178
|
-
|
|
242179
|
-
|
|
242180
|
-
|
|
242181
|
-
|
|
242182
|
-
|
|
242183
|
-
|
|
242184
|
-
|
|
242185
|
-
|
|
242186
|
-
|
|
242187
|
-
|
|
242188
|
-
|
|
242189
|
-
|
|
242190
|
-
|
|
242191
|
-
|
|
242192
|
-
|
|
242193
|
-
|
|
242194
|
-
|
|
242195
|
-
|
|
242196
|
-
|
|
242197
|
-
|
|
242198
|
-
|
|
242199
|
-
|
|
242200
|
-
|
|
242201
|
-
|
|
242202
|
-
|
|
242203
|
-
|
|
242204
|
-
|
|
242205
|
-
|
|
242206
|
-
|
|
242207
|
-
|
|
242208
|
-
|
|
242209
|
-
|
|
242210
|
-
|
|
242211
|
-
|
|
242212
|
-
|
|
242213
|
-
|
|
242214
|
-
|
|
242215
|
-
|
|
242216
|
-
|
|
242217
|
-
|
|
242218
|
-
|
|
242219
|
-
|
|
242220
|
-
|
|
242221
|
-
|
|
242222
|
-
|
|
242223
|
-
|
|
242224
|
-
|
|
242225
|
-
|
|
242226
|
-
|
|
242227
|
-
|
|
242228
|
-
|
|
242229
|
-
|
|
242230
|
-
|
|
242231
|
-
|
|
242232
|
-
|
|
242233
|
-
|
|
242234
|
-
|
|
242235
|
-
|
|
242236
|
-
|
|
242237
|
-
|
|
242238
|
-
|
|
242239
|
-
|
|
242240
|
-
|
|
242241
|
-
|
|
242242
|
-
|
|
242243
|
-
|
|
242244
|
-
|
|
242245
|
-
|
|
242246
|
-
|
|
242247
|
-
|
|
242248
|
-
|
|
242249
|
-
|
|
242250
|
-
|
|
242251
|
-
};
|
|
242252
|
-
|
|
242253
|
-
|
|
242254
|
-
|
|
242255
|
-
|
|
242256
|
-
|
|
242257
|
-
|
|
242258
|
-
|
|
242259
|
-
|
|
242260
|
-
|
|
242261
|
-
|
|
242262
|
-
|
|
242263
|
-
|
|
242264
|
-
|
|
242265
|
-
|
|
242266
|
-
|
|
242267
|
-
|
|
242268
|
-
|
|
242269
|
-
|
|
242270
|
-
|
|
242271
|
-
|
|
242272
|
-
|
|
242273
|
-
|
|
242274
|
-
|
|
242275
|
-
|
|
242276
|
-
|
|
242277
|
-
|
|
242278
|
-
|
|
242279
|
-
|
|
242280
|
-
|
|
242281
|
-
|
|
242282
|
-
|
|
242283
|
-
|
|
242284
|
-
|
|
242285
|
-
|
|
242286
|
-
|
|
242287
|
-
|
|
242288
|
-
|
|
244001
|
+
positive_reminders?: {
|
|
244002
|
+
id?: string | undefined;
|
|
244003
|
+
relative_fire_minute: number;
|
|
244004
|
+
}[] | undefined;
|
|
244005
|
+
}[] | undefined;
|
|
244006
|
+
page_token?: string | undefined;
|
|
244007
|
+
has_more?: boolean | undefined;
|
|
244008
|
+
} | undefined;
|
|
244009
|
+
}>;
|
|
244010
|
+
/**
|
|
244011
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=patch&version=v2 click to debug }
|
|
244012
|
+
*
|
|
244013
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=task&resource=task&version=v2 document }
|
|
244014
|
+
*/
|
|
244015
|
+
patch: (payload?: {
|
|
244016
|
+
data: {
|
|
244017
|
+
task?: {
|
|
244018
|
+
summary?: string;
|
|
244019
|
+
description?: string;
|
|
244020
|
+
due?: {
|
|
244021
|
+
timestamp?: string;
|
|
244022
|
+
is_all_day?: boolean;
|
|
244023
|
+
};
|
|
244024
|
+
extra?: string;
|
|
244025
|
+
completed_at?: string;
|
|
244026
|
+
repeat_rule?: string;
|
|
244027
|
+
custom_complete?: {
|
|
244028
|
+
pc?: {
|
|
244029
|
+
href?: string;
|
|
244030
|
+
tip?: {
|
|
244031
|
+
en_us?: string;
|
|
244032
|
+
zh_cn?: string;
|
|
244033
|
+
zh_hk?: string;
|
|
244034
|
+
zh_tw?: string;
|
|
244035
|
+
ja_jp?: string;
|
|
244036
|
+
fr_fr?: string;
|
|
244037
|
+
it_it?: string;
|
|
244038
|
+
de_de?: string;
|
|
244039
|
+
ru_ru?: string;
|
|
244040
|
+
th_th?: string;
|
|
244041
|
+
es_es?: string;
|
|
244042
|
+
ko_kr?: string;
|
|
244043
|
+
};
|
|
244044
|
+
};
|
|
244045
|
+
ios?: {
|
|
244046
|
+
href?: string;
|
|
244047
|
+
tip?: {
|
|
244048
|
+
en_us?: string;
|
|
244049
|
+
zh_cn?: string;
|
|
244050
|
+
zh_hk?: string;
|
|
244051
|
+
zh_tw?: string;
|
|
244052
|
+
ja_jp?: string;
|
|
244053
|
+
fr_fr?: string;
|
|
244054
|
+
it_it?: string;
|
|
244055
|
+
de_de?: string;
|
|
244056
|
+
ru_ru?: string;
|
|
244057
|
+
th_th?: string;
|
|
244058
|
+
es_es?: string;
|
|
244059
|
+
ko_kr?: string;
|
|
244060
|
+
};
|
|
244061
|
+
};
|
|
244062
|
+
android?: {
|
|
244063
|
+
href?: string;
|
|
244064
|
+
tip?: {
|
|
244065
|
+
en_us?: string;
|
|
244066
|
+
zh_cn?: string;
|
|
244067
|
+
zh_hk?: string;
|
|
244068
|
+
zh_tw?: string;
|
|
244069
|
+
ja_jp?: string;
|
|
244070
|
+
fr_fr?: string;
|
|
244071
|
+
it_it?: string;
|
|
244072
|
+
de_de?: string;
|
|
244073
|
+
ru_ru?: string;
|
|
244074
|
+
th_th?: string;
|
|
244075
|
+
es_es?: string;
|
|
244076
|
+
ko_kr?: string;
|
|
244077
|
+
};
|
|
244078
|
+
};
|
|
244079
|
+
};
|
|
244080
|
+
start?: {
|
|
244081
|
+
timestamp?: string;
|
|
244082
|
+
is_all_day?: boolean;
|
|
244083
|
+
};
|
|
244084
|
+
mode?: number;
|
|
244085
|
+
is_milestone?: boolean;
|
|
244086
|
+
custom_fields?: Array<{
|
|
244087
|
+
guid: string;
|
|
244088
|
+
number_value?: string;
|
|
244089
|
+
member_value?: Array<{
|
|
244090
|
+
id?: string;
|
|
244091
|
+
type?: string;
|
|
244092
|
+
name?: string;
|
|
244093
|
+
}>;
|
|
244094
|
+
datetime_value?: string;
|
|
244095
|
+
single_select_value?: string;
|
|
244096
|
+
multi_select_value?: Array<string>;
|
|
244097
|
+
text_value?: string;
|
|
244098
|
+
}>;
|
|
244099
|
+
positive_reminders?: Array<{
|
|
244100
|
+
relative_fire_minute: number;
|
|
244101
|
+
}>;
|
|
244102
|
+
};
|
|
244103
|
+
update_fields: Array<string>;
|
|
244104
|
+
};
|
|
244105
|
+
params?: {
|
|
244106
|
+
user_id_type?: string;
|
|
244107
|
+
};
|
|
244108
|
+
path: {
|
|
244109
|
+
task_guid: string;
|
|
244110
|
+
};
|
|
244111
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
244112
|
+
code?: number | undefined;
|
|
244113
|
+
msg?: string | undefined;
|
|
244114
|
+
data?: {
|
|
244115
|
+
task?: {
|
|
244116
|
+
guid?: string | undefined;
|
|
244117
|
+
summary?: string | undefined;
|
|
244118
|
+
description?: string | undefined;
|
|
244119
|
+
due?: {
|
|
244120
|
+
timestamp?: string | undefined;
|
|
244121
|
+
is_all_day?: boolean | undefined;
|
|
244122
|
+
} | undefined;
|
|
244123
|
+
reminders?: {
|
|
244124
|
+
id?: string | undefined;
|
|
244125
|
+
relative_fire_minute: number;
|
|
244126
|
+
}[] | undefined;
|
|
244127
|
+
creator?: {
|
|
244128
|
+
id?: string | undefined;
|
|
244129
|
+
type?: string | undefined;
|
|
244130
|
+
role?: string | undefined;
|
|
244131
|
+
name?: string | undefined;
|
|
244132
|
+
} | undefined;
|
|
244133
|
+
members?: {
|
|
244134
|
+
id?: string | undefined;
|
|
244135
|
+
type?: string | undefined;
|
|
244136
|
+
role?: string | undefined;
|
|
244137
|
+
name?: string | undefined;
|
|
244138
|
+
}[] | undefined;
|
|
244139
|
+
completed_at?: string | undefined;
|
|
244140
|
+
attachments?: {
|
|
244141
|
+
guid?: string | undefined;
|
|
244142
|
+
file_token?: string | undefined;
|
|
244143
|
+
name?: string | undefined;
|
|
244144
|
+
size?: number | undefined;
|
|
244145
|
+
resource?: {
|
|
244146
|
+
type?: string | undefined;
|
|
244147
|
+
id?: string | undefined;
|
|
244148
|
+
} | undefined;
|
|
244149
|
+
uploader?: {
|
|
244150
|
+
id?: string | undefined;
|
|
244151
|
+
type?: string | undefined;
|
|
244152
|
+
role?: string | undefined;
|
|
244153
|
+
name?: string | undefined;
|
|
244154
|
+
} | undefined;
|
|
244155
|
+
is_cover?: boolean | undefined;
|
|
244156
|
+
uploaded_at?: string | undefined;
|
|
244157
|
+
}[] | undefined;
|
|
244158
|
+
origin?: {
|
|
244159
|
+
platform_i18n_name?: {
|
|
244160
|
+
en_us?: string | undefined;
|
|
244161
|
+
zh_cn?: string | undefined;
|
|
244162
|
+
zh_hk?: string | undefined;
|
|
244163
|
+
zh_tw?: string | undefined;
|
|
244164
|
+
ja_jp?: string | undefined;
|
|
244165
|
+
fr_fr?: string | undefined;
|
|
244166
|
+
it_it?: string | undefined;
|
|
244167
|
+
de_de?: string | undefined;
|
|
244168
|
+
ru_ru?: string | undefined;
|
|
244169
|
+
th_th?: string | undefined;
|
|
244170
|
+
es_es?: string | undefined;
|
|
244171
|
+
ko_kr?: string | undefined;
|
|
244172
|
+
} | undefined;
|
|
244173
|
+
href?: {
|
|
244174
|
+
url?: string | undefined;
|
|
244175
|
+
title?: string | undefined;
|
|
244176
|
+
} | undefined;
|
|
244177
|
+
} | undefined;
|
|
244178
|
+
extra?: string | undefined;
|
|
244179
|
+
tasklists?: {
|
|
244180
|
+
tasklist_guid?: string | undefined;
|
|
244181
|
+
section_guid?: string | undefined;
|
|
244182
|
+
}[] | undefined;
|
|
244183
|
+
repeat_rule?: string | undefined;
|
|
244184
|
+
parent_task_guid?: string | undefined;
|
|
244185
|
+
mode?: number | undefined;
|
|
244186
|
+
source?: number | undefined;
|
|
244187
|
+
custom_complete?: {
|
|
244188
|
+
pc?: {
|
|
244189
|
+
href?: string | undefined;
|
|
244190
|
+
tip?: {
|
|
244191
|
+
en_us?: string | undefined;
|
|
244192
|
+
zh_cn?: string | undefined;
|
|
244193
|
+
zh_hk?: string | undefined;
|
|
244194
|
+
zh_tw?: string | undefined;
|
|
244195
|
+
ja_jp?: string | undefined;
|
|
244196
|
+
fr_fr?: string | undefined;
|
|
244197
|
+
it_it?: string | undefined;
|
|
244198
|
+
de_de?: string | undefined;
|
|
244199
|
+
ru_ru?: string | undefined;
|
|
244200
|
+
th_th?: string | undefined;
|
|
244201
|
+
es_es?: string | undefined;
|
|
244202
|
+
ko_kr?: string | undefined;
|
|
244203
|
+
} | undefined;
|
|
244204
|
+
} | undefined;
|
|
244205
|
+
ios?: {
|
|
244206
|
+
href?: string | undefined;
|
|
244207
|
+
tip?: {
|
|
244208
|
+
en_us?: string | undefined;
|
|
244209
|
+
zh_cn?: string | undefined;
|
|
244210
|
+
zh_hk?: string | undefined;
|
|
244211
|
+
zh_tw?: string | undefined;
|
|
244212
|
+
ja_jp?: string | undefined;
|
|
244213
|
+
fr_fr?: string | undefined;
|
|
244214
|
+
it_it?: string | undefined;
|
|
244215
|
+
de_de?: string | undefined;
|
|
244216
|
+
ru_ru?: string | undefined;
|
|
244217
|
+
th_th?: string | undefined;
|
|
244218
|
+
es_es?: string | undefined;
|
|
244219
|
+
ko_kr?: string | undefined;
|
|
244220
|
+
} | undefined;
|
|
244221
|
+
} | undefined;
|
|
244222
|
+
android?: {
|
|
244223
|
+
href?: string | undefined;
|
|
244224
|
+
tip?: {
|
|
244225
|
+
en_us?: string | undefined;
|
|
244226
|
+
zh_cn?: string | undefined;
|
|
244227
|
+
zh_hk?: string | undefined;
|
|
244228
|
+
zh_tw?: string | undefined;
|
|
244229
|
+
ja_jp?: string | undefined;
|
|
244230
|
+
fr_fr?: string | undefined;
|
|
244231
|
+
it_it?: string | undefined;
|
|
244232
|
+
de_de?: string | undefined;
|
|
244233
|
+
ru_ru?: string | undefined;
|
|
244234
|
+
th_th?: string | undefined;
|
|
244235
|
+
es_es?: string | undefined;
|
|
244236
|
+
ko_kr?: string | undefined;
|
|
244237
|
+
} | undefined;
|
|
244238
|
+
} | undefined;
|
|
244239
|
+
} | undefined;
|
|
244240
|
+
task_id?: string | undefined;
|
|
244241
|
+
created_at?: string | undefined;
|
|
244242
|
+
updated_at?: string | undefined;
|
|
244243
|
+
status?: string | undefined;
|
|
244244
|
+
url?: string | undefined;
|
|
244245
|
+
start?: {
|
|
244246
|
+
timestamp?: string | undefined;
|
|
244247
|
+
is_all_day?: boolean | undefined;
|
|
244248
|
+
} | undefined;
|
|
244249
|
+
subtask_count?: number | undefined;
|
|
244250
|
+
is_milestone?: boolean | undefined;
|
|
244251
|
+
custom_fields?: {
|
|
244252
|
+
guid?: string | undefined;
|
|
244253
|
+
type?: string | undefined;
|
|
244254
|
+
number_value?: string | undefined;
|
|
244255
|
+
datetime_value?: string | undefined;
|
|
244256
|
+
member_value?: {
|
|
244257
|
+
id?: string | undefined;
|
|
244258
|
+
type?: string | undefined;
|
|
244259
|
+
role?: string | undefined;
|
|
244260
|
+
name?: string | undefined;
|
|
244261
|
+
}[] | undefined;
|
|
244262
|
+
single_select_value?: string | undefined;
|
|
244263
|
+
multi_select_value?: string[] | undefined;
|
|
244264
|
+
name?: string | undefined;
|
|
244265
|
+
text_value?: string | undefined;
|
|
244266
|
+
}[] | undefined;
|
|
244267
|
+
dependencies?: {
|
|
244268
|
+
type: "prev" | "next";
|
|
244269
|
+
task_guid: string;
|
|
244270
|
+
}[] | undefined;
|
|
244271
|
+
assignee_related?: {
|
|
244272
|
+
id?: string | undefined;
|
|
244273
|
+
completed_at?: string | undefined;
|
|
244274
|
+
}[] | undefined;
|
|
244275
|
+
positive_reminders?: {
|
|
242289
244276
|
id?: string | undefined;
|
|
242290
244277
|
relative_fire_minute: number;
|
|
242291
244278
|
}[] | undefined;
|
|
242292
|
-
creator?: {
|
|
242293
|
-
id?: string | undefined;
|
|
242294
|
-
type?: string | undefined;
|
|
242295
|
-
role?: string | undefined;
|
|
242296
|
-
name?: string | undefined;
|
|
242297
|
-
} | undefined;
|
|
242298
|
-
members?: {
|
|
242299
|
-
id?: string | undefined;
|
|
242300
|
-
type?: string | undefined;
|
|
242301
|
-
role?: string | undefined;
|
|
242302
|
-
name?: string | undefined;
|
|
242303
|
-
}[] | undefined;
|
|
242304
|
-
completed_at?: string | undefined;
|
|
242305
|
-
attachments?: {
|
|
242306
|
-
guid?: string | undefined;
|
|
242307
|
-
file_token?: string | undefined;
|
|
242308
|
-
name?: string | undefined;
|
|
242309
|
-
size?: number | undefined;
|
|
242310
|
-
resource?: {
|
|
242311
|
-
type?: string | undefined;
|
|
242312
|
-
id?: string | undefined;
|
|
242313
|
-
} | undefined;
|
|
242314
|
-
uploader?: {
|
|
242315
|
-
id?: string | undefined;
|
|
242316
|
-
type?: string | undefined;
|
|
242317
|
-
role?: string | undefined;
|
|
242318
|
-
name?: string | undefined;
|
|
242319
|
-
} | undefined;
|
|
242320
|
-
is_cover?: boolean | undefined;
|
|
242321
|
-
uploaded_at?: string | undefined;
|
|
242322
|
-
}[] | undefined;
|
|
242323
|
-
origin?: {
|
|
242324
|
-
platform_i18n_name?: {
|
|
242325
|
-
en_us?: string | undefined;
|
|
242326
|
-
zh_cn?: string | undefined;
|
|
242327
|
-
zh_hk?: string | undefined;
|
|
242328
|
-
zh_tw?: string | undefined;
|
|
242329
|
-
ja_jp?: string | undefined;
|
|
242330
|
-
fr_fr?: string | undefined;
|
|
242331
|
-
it_it?: string | undefined;
|
|
242332
|
-
de_de?: string | undefined;
|
|
242333
|
-
ru_ru?: string | undefined;
|
|
242334
|
-
th_th?: string | undefined;
|
|
242335
|
-
es_es?: string | undefined;
|
|
242336
|
-
ko_kr?: string | undefined;
|
|
242337
|
-
} | undefined;
|
|
242338
|
-
href?: {
|
|
242339
|
-
url?: string | undefined;
|
|
242340
|
-
title?: string | undefined;
|
|
242341
|
-
} | undefined;
|
|
242342
|
-
} | undefined;
|
|
242343
|
-
extra?: string | undefined;
|
|
242344
|
-
tasklists?: {
|
|
242345
|
-
tasklist_guid?: string | undefined;
|
|
242346
|
-
section_guid?: string | undefined;
|
|
242347
|
-
}[] | undefined;
|
|
242348
|
-
repeat_rule?: string | undefined;
|
|
242349
|
-
parent_task_guid?: string | undefined;
|
|
242350
|
-
mode?: number | undefined;
|
|
242351
|
-
source?: number | undefined;
|
|
242352
|
-
custom_complete?: {
|
|
242353
|
-
pc?: {
|
|
242354
|
-
href?: string | undefined;
|
|
242355
|
-
tip?: {
|
|
242356
|
-
en_us?: string | undefined;
|
|
242357
|
-
zh_cn?: string | undefined;
|
|
242358
|
-
zh_hk?: string | undefined;
|
|
242359
|
-
zh_tw?: string | undefined;
|
|
242360
|
-
ja_jp?: string | undefined;
|
|
242361
|
-
fr_fr?: string | undefined;
|
|
242362
|
-
it_it?: string | undefined;
|
|
242363
|
-
de_de?: string | undefined;
|
|
242364
|
-
ru_ru?: string | undefined;
|
|
242365
|
-
th_th?: string | undefined;
|
|
242366
|
-
es_es?: string | undefined;
|
|
242367
|
-
ko_kr?: string | undefined;
|
|
242368
|
-
} | undefined;
|
|
242369
|
-
} | undefined;
|
|
242370
|
-
ios?: {
|
|
242371
|
-
href?: string | undefined;
|
|
242372
|
-
tip?: {
|
|
242373
|
-
en_us?: string | undefined;
|
|
242374
|
-
zh_cn?: string | undefined;
|
|
242375
|
-
zh_hk?: string | undefined;
|
|
242376
|
-
zh_tw?: string | undefined;
|
|
242377
|
-
ja_jp?: string | undefined;
|
|
242378
|
-
fr_fr?: string | undefined;
|
|
242379
|
-
it_it?: string | undefined;
|
|
242380
|
-
de_de?: string | undefined;
|
|
242381
|
-
ru_ru?: string | undefined;
|
|
242382
|
-
th_th?: string | undefined;
|
|
242383
|
-
es_es?: string | undefined;
|
|
242384
|
-
ko_kr?: string | undefined;
|
|
242385
|
-
} | undefined;
|
|
242386
|
-
} | undefined;
|
|
242387
|
-
android?: {
|
|
242388
|
-
href?: string | undefined;
|
|
242389
|
-
tip?: {
|
|
242390
|
-
en_us?: string | undefined;
|
|
242391
|
-
zh_cn?: string | undefined;
|
|
242392
|
-
zh_hk?: string | undefined;
|
|
242393
|
-
zh_tw?: string | undefined;
|
|
242394
|
-
ja_jp?: string | undefined;
|
|
242395
|
-
fr_fr?: string | undefined;
|
|
242396
|
-
it_it?: string | undefined;
|
|
242397
|
-
de_de?: string | undefined;
|
|
242398
|
-
ru_ru?: string | undefined;
|
|
242399
|
-
th_th?: string | undefined;
|
|
242400
|
-
es_es?: string | undefined;
|
|
242401
|
-
ko_kr?: string | undefined;
|
|
242402
|
-
} | undefined;
|
|
242403
|
-
} | undefined;
|
|
242404
|
-
} | undefined;
|
|
242405
|
-
task_id?: string | undefined;
|
|
242406
|
-
created_at?: string | undefined;
|
|
242407
|
-
updated_at?: string | undefined;
|
|
242408
|
-
status?: string | undefined;
|
|
242409
|
-
url?: string | undefined;
|
|
242410
|
-
start?: {
|
|
242411
|
-
timestamp?: string | undefined;
|
|
242412
|
-
is_all_day?: boolean | undefined;
|
|
242413
|
-
} | undefined;
|
|
242414
|
-
subtask_count?: number | undefined;
|
|
242415
|
-
is_milestone?: boolean | undefined;
|
|
242416
|
-
custom_fields?: {
|
|
242417
|
-
guid?: string | undefined;
|
|
242418
|
-
type?: string | undefined;
|
|
242419
|
-
number_value?: string | undefined;
|
|
242420
|
-
datetime_value?: string | undefined;
|
|
242421
|
-
member_value?: {
|
|
242422
|
-
id?: string | undefined;
|
|
242423
|
-
type?: string | undefined;
|
|
242424
|
-
role?: string | undefined;
|
|
242425
|
-
name?: string | undefined;
|
|
242426
|
-
}[] | undefined;
|
|
242427
|
-
single_select_value?: string | undefined;
|
|
242428
|
-
multi_select_value?: string[] | undefined;
|
|
242429
|
-
name?: string | undefined;
|
|
242430
|
-
text_value?: string | undefined;
|
|
242431
|
-
}[] | undefined;
|
|
242432
|
-
dependencies?: {
|
|
242433
|
-
type: "prev" | "next";
|
|
242434
|
-
task_guid: string;
|
|
242435
|
-
}[] | undefined;
|
|
242436
|
-
assignee_related?: {
|
|
242437
|
-
id?: string | undefined;
|
|
242438
|
-
completed_at?: string | undefined;
|
|
242439
|
-
}[] | undefined;
|
|
242440
244279
|
} | undefined;
|
|
242441
244280
|
} | undefined;
|
|
242442
244281
|
}>;
|
|
@@ -242648,6 +244487,10 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
242648
244487
|
id?: string | undefined;
|
|
242649
244488
|
completed_at?: string | undefined;
|
|
242650
244489
|
}[] | undefined;
|
|
244490
|
+
positive_reminders?: {
|
|
244491
|
+
id?: string | undefined;
|
|
244492
|
+
relative_fire_minute: number;
|
|
244493
|
+
}[] | undefined;
|
|
242651
244494
|
} | undefined;
|
|
242652
244495
|
} | undefined;
|
|
242653
244496
|
}>;
|
|
@@ -242830,6 +244673,10 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
242830
244673
|
id?: string | undefined;
|
|
242831
244674
|
completed_at?: string | undefined;
|
|
242832
244675
|
}[] | undefined;
|
|
244676
|
+
positive_reminders?: {
|
|
244677
|
+
id?: string | undefined;
|
|
244678
|
+
relative_fire_minute: number;
|
|
244679
|
+
}[] | undefined;
|
|
242833
244680
|
} | undefined;
|
|
242834
244681
|
} | undefined;
|
|
242835
244682
|
}>;
|
|
@@ -243012,6 +244859,10 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
243012
244859
|
id?: string | undefined;
|
|
243013
244860
|
completed_at?: string | undefined;
|
|
243014
244861
|
}[] | undefined;
|
|
244862
|
+
positive_reminders?: {
|
|
244863
|
+
id?: string | undefined;
|
|
244864
|
+
relative_fire_minute: number;
|
|
244865
|
+
}[] | undefined;
|
|
243015
244866
|
} | undefined;
|
|
243016
244867
|
} | undefined;
|
|
243017
244868
|
}>;
|
|
@@ -243337,6 +245188,10 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
243337
245188
|
id?: string | undefined;
|
|
243338
245189
|
completed_at?: string | undefined;
|
|
243339
245190
|
}[] | undefined;
|
|
245191
|
+
positive_reminders?: {
|
|
245192
|
+
id?: string | undefined;
|
|
245193
|
+
relative_fire_minute: number;
|
|
245194
|
+
}[] | undefined;
|
|
243340
245195
|
} | undefined;
|
|
243341
245196
|
} | undefined;
|
|
243342
245197
|
}>;
|
|
@@ -243511,6 +245366,10 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
243511
245366
|
id?: string | undefined;
|
|
243512
245367
|
completed_at?: string | undefined;
|
|
243513
245368
|
}[] | undefined;
|
|
245369
|
+
positive_reminders?: {
|
|
245370
|
+
id?: string | undefined;
|
|
245371
|
+
relative_fire_minute: number;
|
|
245372
|
+
}[] | undefined;
|
|
243514
245373
|
}[] | undefined;
|
|
243515
245374
|
} | null, void, unknown>;
|
|
243516
245375
|
}>;
|
|
@@ -243692,6 +245551,10 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
243692
245551
|
id?: string | undefined;
|
|
243693
245552
|
completed_at?: string | undefined;
|
|
243694
245553
|
}[] | undefined;
|
|
245554
|
+
positive_reminders?: {
|
|
245555
|
+
id?: string | undefined;
|
|
245556
|
+
relative_fire_minute: number;
|
|
245557
|
+
}[] | undefined;
|
|
243695
245558
|
}[] | undefined;
|
|
243696
245559
|
page_token?: string | undefined;
|
|
243697
245560
|
has_more?: boolean | undefined;
|
|
@@ -243916,6 +245779,7 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
243916
245779
|
url?: string | undefined;
|
|
243917
245780
|
created_at?: string | undefined;
|
|
243918
245781
|
updated_at?: string | undefined;
|
|
245782
|
+
archive_msec?: string | undefined;
|
|
243919
245783
|
} | undefined;
|
|
243920
245784
|
} | undefined;
|
|
243921
245785
|
}>;
|
|
@@ -243933,6 +245797,7 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
243933
245797
|
role?: string;
|
|
243934
245798
|
name?: string;
|
|
243935
245799
|
}>;
|
|
245800
|
+
archive_tasklist?: boolean;
|
|
243936
245801
|
};
|
|
243937
245802
|
params?: {
|
|
243938
245803
|
user_id_type?: string;
|
|
@@ -243965,6 +245830,7 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
243965
245830
|
url?: string | undefined;
|
|
243966
245831
|
created_at?: string | undefined;
|
|
243967
245832
|
updated_at?: string | undefined;
|
|
245833
|
+
archive_msec?: string | undefined;
|
|
243968
245834
|
} | undefined;
|
|
243969
245835
|
} | undefined;
|
|
243970
245836
|
}>;
|
|
@@ -244022,6 +245888,7 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
244022
245888
|
url?: string | undefined;
|
|
244023
245889
|
created_at?: string | undefined;
|
|
244024
245890
|
updated_at?: string | undefined;
|
|
245891
|
+
archive_msec?: string | undefined;
|
|
244025
245892
|
} | undefined;
|
|
244026
245893
|
} | undefined;
|
|
244027
245894
|
}>;
|
|
@@ -244057,6 +245924,7 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
244057
245924
|
url?: string | undefined;
|
|
244058
245925
|
created_at?: string | undefined;
|
|
244059
245926
|
updated_at?: string | undefined;
|
|
245927
|
+
archive_msec?: string | undefined;
|
|
244060
245928
|
}[] | undefined;
|
|
244061
245929
|
} | null, void, unknown>;
|
|
244062
245930
|
}>;
|
|
@@ -244099,6 +245967,7 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
244099
245967
|
url?: string | undefined;
|
|
244100
245968
|
created_at?: string | undefined;
|
|
244101
245969
|
updated_at?: string | undefined;
|
|
245970
|
+
archive_msec?: string | undefined;
|
|
244102
245971
|
}[] | undefined;
|
|
244103
245972
|
page_token?: string | undefined;
|
|
244104
245973
|
has_more?: boolean | undefined;
|
|
@@ -244119,6 +245988,7 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
244119
245988
|
role?: string;
|
|
244120
245989
|
name?: string;
|
|
244121
245990
|
};
|
|
245991
|
+
archive_tasklist?: boolean;
|
|
244122
245992
|
};
|
|
244123
245993
|
update_fields: Array<string>;
|
|
244124
245994
|
origin_owner_to_role?: "editor" | "viewer" | "none";
|
|
@@ -244157,6 +246027,7 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
244157
246027
|
url?: string | undefined;
|
|
244158
246028
|
created_at?: string | undefined;
|
|
244159
246029
|
updated_at?: string | undefined;
|
|
246030
|
+
archive_msec?: string | undefined;
|
|
244160
246031
|
} | undefined;
|
|
244161
246032
|
} | undefined;
|
|
244162
246033
|
}>;
|
|
@@ -244208,6 +246079,7 @@ declare abstract class Client$8 extends Client$9 {
|
|
|
244208
246079
|
url?: string | undefined;
|
|
244209
246080
|
created_at?: string | undefined;
|
|
244210
246081
|
updated_at?: string | undefined;
|
|
246082
|
+
archive_msec?: string | undefined;
|
|
244211
246083
|
} | undefined;
|
|
244212
246084
|
} | undefined;
|
|
244213
246085
|
}>;
|
|
@@ -256261,6 +258133,30 @@ interface IHandles extends IOtherEventHandles {
|
|
|
256261
258133
|
user_agent?: string;
|
|
256262
258134
|
};
|
|
256263
258135
|
}) => Promise<any> | any;
|
|
258136
|
+
/**
|
|
258137
|
+
|
|
258138
|
+
*/
|
|
258139
|
+
"mail.user_mailbox.event.message_received_v1"?: (data: {
|
|
258140
|
+
event_id?: string;
|
|
258141
|
+
token?: string;
|
|
258142
|
+
create_time?: string;
|
|
258143
|
+
event_type?: string;
|
|
258144
|
+
tenant_key?: string;
|
|
258145
|
+
ts?: string;
|
|
258146
|
+
uuid?: string;
|
|
258147
|
+
type?: string;
|
|
258148
|
+
app_id?: string;
|
|
258149
|
+
mail_address?: string;
|
|
258150
|
+
message_id?: string;
|
|
258151
|
+
mailbox_type?: number;
|
|
258152
|
+
subscriber?: {
|
|
258153
|
+
user_ids?: Array<{
|
|
258154
|
+
union_id?: string;
|
|
258155
|
+
user_id?: string;
|
|
258156
|
+
open_id?: string;
|
|
258157
|
+
}>;
|
|
258158
|
+
};
|
|
258159
|
+
}) => Promise<any> | any;
|
|
256264
258160
|
/**
|
|
256265
258161
|
|
|
256266
258162
|
*/
|