@larksuiteoapi/node-sdk 1.34.0 → 1.36.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@larksuiteoapi/node-sdk",
3
- "version": "1.34.0",
3
+ "version": "1.36.0",
4
4
  "description": "larksuite open sdk for nodejs",
5
5
  "keywords": [
6
6
  "feishu",
package/types/index.d.ts CHANGED
@@ -11,6 +11,7 @@
11
11
  */
12
12
 
13
13
  import { AxiosInstance, AxiosRequestConfig } from 'axios';
14
+ import { Readable } from 'stream';
14
15
  import fs from 'fs';
15
16
 
16
17
  declare const defaultHttpInstance: AxiosInstance;
@@ -143,6 +144,7 @@ declare abstract class Client$$ {
143
144
  };
144
145
  }, options?: IRequestOptions$1) => Promise<{
145
146
  writeFile: (filePath: string) => Promise<unknown>;
147
+ getReadableStream: () => Readable;
146
148
  }>;
147
149
  };
148
150
  /**
@@ -408,6 +410,7 @@ declare abstract class Client$$ {
408
410
  };
409
411
  }, options?: IRequestOptions$1) => Promise<{
410
412
  writeFile: (filePath: string) => Promise<unknown>;
413
+ getReadableStream: () => Readable;
411
414
  }>;
412
415
  /**
413
416
  * {@link https://open.feishu.cn/api-explorer?project=acs&resource=user.face&apiName=update&version=v1 click to debug }
@@ -610,6 +613,7 @@ declare abstract class Client$$ {
610
613
  };
611
614
  }, options?: IRequestOptions$1) => Promise<{
612
615
  writeFile: (filePath: string) => Promise<unknown>;
616
+ getReadableStream: () => Readable;
613
617
  }>;
614
618
  };
615
619
  /**
@@ -875,6 +879,7 @@ declare abstract class Client$$ {
875
879
  };
876
880
  }, options?: IRequestOptions$1) => Promise<{
877
881
  writeFile: (filePath: string) => Promise<unknown>;
882
+ getReadableStream: () => Readable;
878
883
  }>;
879
884
  /**
880
885
  * {@link https://open.feishu.cn/api-explorer?project=acs&resource=user.face&apiName=update&version=v1 click to debug }
@@ -9227,6 +9232,7 @@ declare abstract class Client$W extends Client$X {
9227
9232
  };
9228
9233
  }, options?: IRequestOptions$1) => Promise<{
9229
9234
  writeFile: (filePath: string) => Promise<unknown>;
9235
+ getReadableStream: () => Readable;
9230
9236
  }>;
9231
9237
  /**
9232
9238
  * {@link https://open.feishu.cn/api-explorer?project=attendance&resource=file&apiName=upload&version=v1 click to debug }
@@ -11483,6 +11489,7 @@ declare abstract class Client$W extends Client$X {
11483
11489
  };
11484
11490
  }, options?: IRequestOptions$1) => Promise<{
11485
11491
  writeFile: (filePath: string) => Promise<unknown>;
11492
+ getReadableStream: () => Readable;
11486
11493
  }>;
11487
11494
  /**
11488
11495
  * {@link https://open.feishu.cn/api-explorer?project=attendance&resource=file&apiName=upload&version=v1 click to debug }
@@ -15373,6 +15380,7 @@ declare abstract class Client$S extends Client$T {
15373
15380
  };
15374
15381
  }, options?: IRequestOptions$1) => Promise<{
15375
15382
  writeFile: (filePath: string) => Promise<unknown>;
15383
+ getReadableStream: () => Readable;
15376
15384
  }>;
15377
15385
  /**
15378
15386
  * {@link https://open.feishu.cn/api-explorer?project=baike&resource=file&apiName=upload&version=v1 click to debug }
@@ -16651,6 +16659,7 @@ declare abstract class Client$S extends Client$T {
16651
16659
  };
16652
16660
  }, options?: IRequestOptions$1) => Promise<{
16653
16661
  writeFile: (filePath: string) => Promise<unknown>;
16662
+ getReadableStream: () => Readable;
16654
16663
  }>;
16655
16664
  /**
16656
16665
  * {@link https://open.feishu.cn/api-explorer?project=baike&resource=file&apiName=upload&version=v1 click to debug }
@@ -22492,6 +22501,7 @@ declare abstract class Client$P extends Client$Q {
22492
22501
  };
22493
22502
  }, options?: IRequestOptions$1) => Promise<{
22494
22503
  writeFile: (filePath: string) => Promise<unknown>;
22504
+ getReadableStream: () => Readable;
22495
22505
  }>;
22496
22506
  };
22497
22507
  /**
@@ -37524,6 +37534,7 @@ declare abstract class Client$I extends Client$J {
37524
37534
  };
37525
37535
  }, options?: IRequestOptions$1) => Promise<{
37526
37536
  writeFile: (filePath: string) => Promise<unknown>;
37537
+ getReadableStream: () => Readable;
37527
37538
  }>;
37528
37539
  };
37529
37540
  /**
@@ -46696,6 +46707,7 @@ declare abstract class Client$I extends Client$J {
46696
46707
  };
46697
46708
  }, options?: IRequestOptions$1) => Promise<{
46698
46709
  writeFile: (filePath: string) => Promise<unknown>;
46710
+ getReadableStream: () => Readable;
46699
46711
  }>;
46700
46712
  };
46701
46713
  /**
@@ -119987,6 +119999,7 @@ declare abstract class Client$E extends Client$F {
119987
119999
  };
119988
120000
  }, options?: IRequestOptions$1) => Promise<{
119989
120001
  writeFile: (filePath: string) => Promise<unknown>;
120002
+ getReadableStream: () => Readable;
119990
120003
  }>;
119991
120004
  /**
119992
120005
  * {@link https://open.feishu.cn/api-explorer?project=drive&resource=export_task&apiName=get&version=v1 click to debug }
@@ -120684,6 +120697,7 @@ declare abstract class Client$E extends Client$F {
120684
120697
  };
120685
120698
  }, options?: IRequestOptions$1) => Promise<{
120686
120699
  writeFile: (filePath: string) => Promise<unknown>;
120700
+ getReadableStream: () => Readable;
120687
120701
  }>;
120688
120702
  /**
120689
120703
  * {@link https://open.feishu.cn/api-explorer?project=drive&resource=file&apiName=get_subscribe&version=v1 click to debug }
@@ -121394,6 +121408,7 @@ declare abstract class Client$E extends Client$F {
121394
121408
  };
121395
121409
  }, options?: IRequestOptions$1) => Promise<{
121396
121410
  writeFile: (filePath: string) => Promise<unknown>;
121411
+ getReadableStream: () => Readable;
121397
121412
  }>;
121398
121413
  /**
121399
121414
  * {@link https://open.feishu.cn/api-explorer?project=drive&resource=media&apiName=upload_all&version=v1 click to debug }
@@ -121943,6 +121958,7 @@ declare abstract class Client$E extends Client$F {
121943
121958
  };
121944
121959
  }, options?: IRequestOptions$1) => Promise<{
121945
121960
  writeFile: (filePath: string) => Promise<unknown>;
121961
+ getReadableStream: () => Readable;
121946
121962
  }>;
121947
121963
  /**
121948
121964
  * {@link https://open.feishu.cn/api-explorer?project=drive&resource=export_task&apiName=get&version=v1 click to debug }
@@ -122640,6 +122656,7 @@ declare abstract class Client$E extends Client$F {
122640
122656
  };
122641
122657
  }, options?: IRequestOptions$1) => Promise<{
122642
122658
  writeFile: (filePath: string) => Promise<unknown>;
122659
+ getReadableStream: () => Readable;
122643
122660
  }>;
122644
122661
  /**
122645
122662
  * {@link https://open.feishu.cn/api-explorer?project=drive&resource=file&apiName=get_subscribe&version=v1 click to debug }
@@ -123350,6 +123367,7 @@ declare abstract class Client$E extends Client$F {
123350
123367
  };
123351
123368
  }, options?: IRequestOptions$1) => Promise<{
123352
123369
  writeFile: (filePath: string) => Promise<unknown>;
123370
+ getReadableStream: () => Readable;
123353
123371
  }>;
123354
123372
  /**
123355
123373
  * {@link https://open.feishu.cn/api-explorer?project=drive&resource=media&apiName=upload_all&version=v1 click to debug }
@@ -123975,6 +123993,7 @@ declare abstract class Client$C extends Client$D {
123975
123993
  };
123976
123994
  }, options?: IRequestOptions$1) => Promise<{
123977
123995
  writeFile: (filePath: string) => Promise<unknown>;
123996
+ getReadableStream: () => Readable;
123978
123997
  }>;
123979
123998
  };
123980
123999
  /**
@@ -124373,6 +124392,7 @@ declare abstract class Client$C extends Client$D {
124373
124392
  };
124374
124393
  }, options?: IRequestOptions$1) => Promise<{
124375
124394
  writeFile: (filePath: string) => Promise<unknown>;
124395
+ getReadableStream: () => Readable;
124376
124396
  }>;
124377
124397
  };
124378
124398
  /**
@@ -125772,6 +125792,7 @@ declare abstract class Client$v extends Client$w {
125772
125792
  };
125773
125793
  }, options?: IRequestOptions$1) => Promise<{
125774
125794
  writeFile: (filePath: string) => Promise<unknown>;
125795
+ getReadableStream: () => Readable;
125775
125796
  }>;
125776
125797
  /**
125777
125798
  * {@link https://open.feishu.cn/api-explorer?project=helpdesk&resource=faq&apiName=get&version=v1 click to debug }
@@ -126759,6 +126780,7 @@ declare abstract class Client$v extends Client$w {
126759
126780
  };
126760
126781
  }, options?: IRequestOptions$1) => Promise<{
126761
126782
  writeFile: (filePath: string) => Promise<unknown>;
126783
+ getReadableStream: () => Readable;
126762
126784
  }>;
126763
126785
  /**
126764
126786
  * {@link https://open.feishu.cn/api-explorer?project=helpdesk&resource=ticket&apiName=update&version=v1 click to debug }
@@ -127763,6 +127785,7 @@ declare abstract class Client$v extends Client$w {
127763
127785
  };
127764
127786
  }, options?: IRequestOptions$1) => Promise<{
127765
127787
  writeFile: (filePath: string) => Promise<unknown>;
127788
+ getReadableStream: () => Readable;
127766
127789
  }>;
127767
127790
  /**
127768
127791
  * {@link https://open.feishu.cn/api-explorer?project=helpdesk&resource=faq&apiName=get&version=v1 click to debug }
@@ -128750,6 +128773,7 @@ declare abstract class Client$v extends Client$w {
128750
128773
  };
128751
128774
  }, options?: IRequestOptions$1) => Promise<{
128752
128775
  writeFile: (filePath: string) => Promise<unknown>;
128776
+ getReadableStream: () => Readable;
128753
128777
  }>;
128754
128778
  /**
128755
128779
  * {@link https://open.feishu.cn/api-explorer?project=helpdesk&resource=ticket&apiName=update&version=v1 click to debug }
@@ -154606,6 +154630,7 @@ declare abstract class Client$s extends Client$t {
154606
154630
  };
154607
154631
  }, options?: IRequestOptions$1) => Promise<{
154608
154632
  writeFile: (filePath: string) => Promise<unknown>;
154633
+ getReadableStream: () => Readable;
154609
154634
  }>;
154610
154635
  };
154611
154636
  /**
@@ -154648,6 +154673,7 @@ declare abstract class Client$s extends Client$t {
154648
154673
  };
154649
154674
  }, options?: IRequestOptions$1) => Promise<{
154650
154675
  writeFile: (filePath: string) => Promise<unknown>;
154676
+ getReadableStream: () => Readable;
154651
154677
  }>;
154652
154678
  };
154653
154679
  /**
@@ -155561,6 +155587,7 @@ declare abstract class Client$s extends Client$t {
155561
155587
  };
155562
155588
  }, options?: IRequestOptions$1) => Promise<{
155563
155589
  writeFile: (filePath: string) => Promise<unknown>;
155590
+ getReadableStream: () => Readable;
155564
155591
  }>;
155565
155592
  };
155566
155593
  /**
@@ -157244,6 +157271,7 @@ declare abstract class Client$s extends Client$t {
157244
157271
  };
157245
157272
  }, options?: IRequestOptions$1) => Promise<{
157246
157273
  writeFile: (filePath: string) => Promise<unknown>;
157274
+ getReadableStream: () => Readable;
157247
157275
  }>;
157248
157276
  };
157249
157277
  /**
@@ -157286,6 +157314,7 @@ declare abstract class Client$s extends Client$t {
157286
157314
  };
157287
157315
  }, options?: IRequestOptions$1) => Promise<{
157288
157316
  writeFile: (filePath: string) => Promise<unknown>;
157317
+ getReadableStream: () => Readable;
157289
157318
  }>;
157290
157319
  };
157291
157320
  /**
@@ -158199,6 +158228,7 @@ declare abstract class Client$s extends Client$t {
158199
158228
  };
158200
158229
  }, options?: IRequestOptions$1) => Promise<{
158201
158230
  writeFile: (filePath: string) => Promise<unknown>;
158231
+ getReadableStream: () => Readable;
158202
158232
  }>;
158203
158233
  };
158204
158234
  /**
@@ -160082,6 +160112,7 @@ declare abstract class Client$r extends Client$s {
160082
160112
  };
160083
160113
  }, options?: IRequestOptions$1) => Promise<{
160084
160114
  writeFile: (filePath: string) => Promise<unknown>;
160115
+ getReadableStream: () => Readable;
160085
160116
  }>;
160086
160117
  /**
160087
160118
  * {@link https://open.feishu.cn/api-explorer?project=lingo&resource=file&apiName=upload&version=v1 click to debug }
@@ -176315,6 +176346,7 @@ declare abstract class Client$4 extends Client$5 {
176315
176346
  };
176316
176347
  }, options?: IRequestOptions$1) => Promise<{
176317
176348
  writeFile: (filePath: string) => Promise<unknown>;
176349
+ getReadableStream: () => Readable;
176318
176350
  }>;
176319
176351
  /**
176320
176352
  * {@link https://open.feishu.cn/api-explorer?project=vc&resource=export&apiName=get&version=v1 click to debug }
@@ -178970,6 +179002,7 @@ declare abstract class Client$4 extends Client$5 {
178970
179002
  };
178971
179003
  }, options?: IRequestOptions$1) => Promise<{
178972
179004
  writeFile: (filePath: string) => Promise<unknown>;
179005
+ getReadableStream: () => Readable;
178973
179006
  }>;
178974
179007
  /**
178975
179008
  * {@link https://open.feishu.cn/api-explorer?project=vc&resource=export&apiName=get&version=v1 click to debug }