@tachybase/plugin-auth-dingtalk 1.3.19 → 1.3.20

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.
Files changed (156) hide show
  1. package/dist/externalVersion.js +5 -5
  2. package/dist/node_modules/@alicloud/dingtalk/dist/agoal_1_0/client.d.ts +1750 -330
  3. package/dist/node_modules/@alicloud/dingtalk/dist/agoal_1_0/client.js +1733 -114
  4. package/dist/node_modules/@alicloud/dingtalk/dist/ai_paa_s_1_0/client.d.ts +294 -0
  5. package/dist/node_modules/@alicloud/dingtalk/dist/ai_paa_s_1_0/client.js +461 -2
  6. package/dist/node_modules/@alicloud/dingtalk/dist/assistant_1_0/client.d.ts +691 -7
  7. package/dist/node_modules/@alicloud/dingtalk/dist/assistant_1_0/client.js +1143 -37
  8. package/dist/node_modules/@alicloud/dingtalk/dist/ats_1_0/client.d.ts +202 -0
  9. package/dist/node_modules/@alicloud/dingtalk/dist/ats_1_0/client.js +335 -2
  10. package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.d.ts +21 -13
  11. package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.js +21 -0
  12. package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_1_0/client.d.ts +103 -1
  13. package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_1_0/client.js +169 -5
  14. package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_2_0/client.d.ts +3261 -901
  15. package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_2_0/client.js +4736 -1197
  16. package/dist/node_modules/@alicloud/dingtalk/dist/calendar_1_0/client.d.ts +145 -0
  17. package/dist/node_modules/@alicloud/dingtalk/dist/calendar_1_0/client.js +238 -6
  18. package/dist/node_modules/@alicloud/dingtalk/dist/card_1_0/client.d.ts +105 -0
  19. package/dist/node_modules/@alicloud/dingtalk/dist/card_1_0/client.js +181 -3
  20. package/dist/node_modules/@alicloud/dingtalk/dist/conference_1_0/client.d.ts +159 -2
  21. package/dist/node_modules/@alicloud/dingtalk/dist/conference_1_0/client.js +243 -3
  22. package/dist/node_modules/@alicloud/dingtalk/dist/contact_1_0/client.d.ts +399 -2
  23. package/dist/node_modules/@alicloud/dingtalk/dist/contact_1_0/client.js +614 -11
  24. package/dist/node_modules/@alicloud/dingtalk/dist/contract_1_0/client.d.ts +2789 -274
  25. package/dist/node_modules/@alicloud/dingtalk/dist/contract_1_0/client.js +4218 -407
  26. package/dist/node_modules/@alicloud/dingtalk/dist/crm_1_0/client.d.ts +81 -0
  27. package/dist/node_modules/@alicloud/dingtalk/dist/crm_1_0/client.js +133 -7
  28. package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.d.ts +168 -0
  29. package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.js +281 -11
  30. package/dist/node_modules/@alicloud/dingtalk/dist/diot_1_0/client.js +0 -1
  31. package/dist/node_modules/@alicloud/dingtalk/dist/doc_1_0/client.d.ts +1110 -24
  32. package/dist/node_modules/@alicloud/dingtalk/dist/doc_1_0/client.js +1714 -115
  33. package/dist/node_modules/@alicloud/dingtalk/dist/doc_2_0/client.d.ts +1073 -73
  34. package/dist/node_modules/@alicloud/dingtalk/dist/doc_2_0/client.js +1316 -39
  35. package/dist/node_modules/@alicloud/dingtalk/dist/edu_1_0/client.d.ts +5893 -2422
  36. package/dist/node_modules/@alicloud/dingtalk/dist/edu_1_0/client.js +7232 -1965
  37. package/dist/node_modules/@alicloud/dingtalk/dist/event_1_0/client.js +0 -1
  38. package/dist/node_modules/@alicloud/dingtalk/dist/exclusive_1_0/client.d.ts +851 -51
  39. package/dist/node_modules/@alicloud/dingtalk/dist/exclusive_1_0/client.js +1239 -66
  40. package/dist/node_modules/@alicloud/dingtalk/dist/flashmeeting_1_0/client.d.ts +92 -0
  41. package/dist/node_modules/@alicloud/dingtalk/dist/flashmeeting_1_0/client.js +166 -1
  42. package/dist/node_modules/@alicloud/dingtalk/dist/gateway_1_0/client.js +0 -1
  43. package/dist/node_modules/@alicloud/dingtalk/dist/hrbrain_1_0/client.d.ts +1373 -233
  44. package/dist/node_modules/@alicloud/dingtalk/dist/hrbrain_1_0/client.js +2004 -246
  45. package/dist/node_modules/@alicloud/dingtalk/dist/hrm_1_0/client.d.ts +598 -3
  46. package/dist/node_modules/@alicloud/dingtalk/dist/hrm_1_0/client.js +893 -33
  47. package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.d.ts +1373 -122
  48. package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.js +2099 -264
  49. package/dist/node_modules/@alicloud/dingtalk/dist/im_2_0/client.js +0 -1
  50. package/dist/node_modules/@alicloud/dingtalk/dist/index.d.ts +6 -0
  51. package/dist/node_modules/@alicloud/dingtalk/dist/index.js +2 -2
  52. package/dist/node_modules/@alicloud/dingtalk/dist/industry_1_0/client.d.ts +160 -0
  53. package/dist/node_modules/@alicloud/dingtalk/dist/industry_1_0/client.js +227 -14
  54. package/dist/node_modules/@alicloud/dingtalk/dist/live_1_0/client.d.ts +4 -2
  55. package/dist/node_modules/@alicloud/dingtalk/dist/live_1_0/client.js +6 -2
  56. package/dist/node_modules/@alicloud/dingtalk/dist/mail_1_0/client.d.ts +1089 -38
  57. package/dist/node_modules/@alicloud/dingtalk/dist/mail_1_0/client.js +1429 -62
  58. package/dist/node_modules/@alicloud/dingtalk/dist/manufacturing_1_0/client.js +0 -1
  59. package/dist/node_modules/@alicloud/dingtalk/dist/meter_1_0/client.d.ts +101 -0
  60. package/dist/node_modules/@alicloud/dingtalk/dist/meter_1_0/client.js +202 -0
  61. package/dist/node_modules/@alicloud/dingtalk/dist/micro_app_1_0/client.d.ts +113 -0
  62. package/dist/node_modules/@alicloud/dingtalk/dist/micro_app_1_0/client.js +171 -3
  63. package/dist/node_modules/@alicloud/dingtalk/dist/miniapp_1_0/client.js +0 -1
  64. package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.d.ts +940 -0
  65. package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.js +1545 -0
  66. package/dist/node_modules/@alicloud/dingtalk/dist/oauth2_1_0/client.js +0 -1
  67. package/dist/node_modules/@alicloud/dingtalk/dist/pedia_1_0/client.d.ts +1 -0
  68. package/dist/node_modules/@alicloud/dingtalk/dist/pedia_1_0/client.js +5 -0
  69. package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.d.ts +83 -0
  70. package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.js +68 -0
  71. package/dist/node_modules/@alicloud/dingtalk/dist/rooms_1_0/client.d.ts +90 -0
  72. package/dist/node_modules/@alicloud/dingtalk/dist/rooms_1_0/client.js +83 -1
  73. package/dist/node_modules/@alicloud/dingtalk/dist/salary_1_0/client.d.ts +642 -0
  74. package/dist/node_modules/@alicloud/dingtalk/dist/salary_1_0/client.js +919 -0
  75. package/dist/node_modules/@alicloud/dingtalk/dist/storage_1_0/client.d.ts +130 -0
  76. package/dist/node_modules/@alicloud/dingtalk/dist/storage_1_0/client.js +171 -6
  77. package/dist/node_modules/@alicloud/dingtalk/dist/storage_2_0/client.d.ts +283 -0
  78. package/dist/node_modules/@alicloud/dingtalk/dist/storage_2_0/client.js +340 -2
  79. package/dist/node_modules/@alicloud/dingtalk/dist/team_sphere_1_0/client.d.ts +223 -0
  80. package/dist/node_modules/@alicloud/dingtalk/dist/team_sphere_1_0/client.js +347 -4
  81. package/dist/node_modules/@alicloud/dingtalk/dist/todo_1_0/client.d.ts +42 -0
  82. package/dist/node_modules/@alicloud/dingtalk/dist/todo_1_0/client.js +53 -2
  83. package/dist/node_modules/@alicloud/dingtalk/dist/todo_e_e_1_0/client.d.ts +458 -4
  84. package/dist/node_modules/@alicloud/dingtalk/dist/todo_e_e_1_0/client.js +942 -153
  85. package/dist/node_modules/@alicloud/dingtalk/dist/trip_1_0/client.d.ts +5 -0
  86. package/dist/node_modules/@alicloud/dingtalk/dist/trip_1_0/client.js +2 -0
  87. package/dist/node_modules/@alicloud/dingtalk/dist/vip_member_1_0/client.d.ts +254 -0
  88. package/dist/node_modules/@alicloud/dingtalk/dist/vip_member_1_0/client.js +477 -1
  89. package/dist/node_modules/@alicloud/dingtalk/dist/watt_1_0/client.js +0 -1
  90. package/dist/node_modules/@alicloud/dingtalk/dist/wiki_2_0/client.d.ts +234 -0
  91. package/dist/node_modules/@alicloud/dingtalk/dist/wiki_2_0/client.js +298 -2
  92. package/dist/node_modules/@alicloud/dingtalk/dist/workflow_1_0/client.d.ts +746 -15
  93. package/dist/node_modules/@alicloud/dingtalk/dist/workflow_1_0/client.js +871 -20
  94. package/dist/node_modules/@alicloud/dingtalk/dist/yida_1_0/client.d.ts +402 -0
  95. package/dist/node_modules/@alicloud/dingtalk/dist/yida_1_0/client.js +412 -7
  96. package/dist/node_modules/@alicloud/dingtalk/dist/yida_2_0/client.d.ts +890 -112
  97. package/dist/node_modules/@alicloud/dingtalk/dist/yida_2_0/client.js +1063 -2
  98. package/dist/node_modules/@alicloud/dingtalk/meter_1_0.js +1 -0
  99. package/dist/node_modules/@alicloud/dingtalk/minutes_1_0.js +1 -0
  100. package/dist/node_modules/@alicloud/dingtalk/package.json +1 -1
  101. package/dist/node_modules/@alicloud/dingtalk/salary_1_0.js +1 -0
  102. package/dist/node_modules/@alicloud/dingtalk/src/agoal_1_0/client.ts +2695 -319
  103. package/dist/node_modules/@alicloud/dingtalk/src/ai_paa_s_1_0/client.ts +566 -0
  104. package/dist/node_modules/@alicloud/dingtalk/src/assistant_1_0/client.ts +1492 -117
  105. package/dist/node_modules/@alicloud/dingtalk/src/ats_1_0/client.ts +420 -0
  106. package/dist/node_modules/@alicloud/dingtalk/src/attendance_1_0/client.ts +45 -13
  107. package/dist/node_modules/@alicloud/dingtalk/src/bizfinance_1_0/client.ts +232 -2
  108. package/dist/node_modules/@alicloud/dingtalk/src/bizfinance_2_0/client.ts +6892 -2251
  109. package/dist/node_modules/@alicloud/dingtalk/src/calendar_1_0/client.ts +287 -0
  110. package/dist/node_modules/@alicloud/dingtalk/src/card_1_0/client.ts +224 -0
  111. package/dist/node_modules/@alicloud/dingtalk/src/conference_1_0/client.ts +297 -2
  112. package/dist/node_modules/@alicloud/dingtalk/src/contact_1_0/client.ts +811 -42
  113. package/dist/node_modules/@alicloud/dingtalk/src/contract_1_0/client.ts +5523 -617
  114. package/dist/node_modules/@alicloud/dingtalk/src/crm_1_0/client.ts +157 -0
  115. package/dist/node_modules/@alicloud/dingtalk/src/datacenter_1_0/client.ts +340 -0
  116. package/dist/node_modules/@alicloud/dingtalk/src/diot_1_0/client.ts +0 -1
  117. package/dist/node_modules/@alicloud/dingtalk/src/doc_1_0/client.ts +2802 -720
  118. package/dist/node_modules/@alicloud/dingtalk/src/doc_2_0/client.ts +1889 -140
  119. package/dist/node_modules/@alicloud/dingtalk/src/edu_1_0/client.ts +8496 -1557
  120. package/dist/node_modules/@alicloud/dingtalk/src/event_1_0/client.ts +0 -1
  121. package/dist/node_modules/@alicloud/dingtalk/src/exclusive_1_0/client.ts +1831 -283
  122. package/dist/node_modules/@alicloud/dingtalk/src/flashmeeting_1_0/client.ts +201 -0
  123. package/dist/node_modules/@alicloud/dingtalk/src/gateway_1_0/client.ts +0 -1
  124. package/dist/node_modules/@alicloud/dingtalk/src/hrbrain_1_0/client.ts +2742 -542
  125. package/dist/node_modules/@alicloud/dingtalk/src/hrm_1_0/client.ts +1182 -33
  126. package/dist/node_modules/@alicloud/dingtalk/src/im_1_0/client.ts +3100 -718
  127. package/dist/node_modules/@alicloud/dingtalk/src/im_2_0/client.ts +0 -1
  128. package/dist/node_modules/@alicloud/dingtalk/src/index.ts +6 -0
  129. package/dist/node_modules/@alicloud/dingtalk/src/industry_1_0/client.ts +319 -0
  130. package/dist/node_modules/@alicloud/dingtalk/src/live_1_0/client.ts +8 -2
  131. package/dist/node_modules/@alicloud/dingtalk/src/mail_1_0/client.ts +2029 -159
  132. package/dist/node_modules/@alicloud/dingtalk/src/manufacturing_1_0/client.ts +0 -1
  133. package/dist/node_modules/@alicloud/dingtalk/src/meter_1_0/client.ts +201 -0
  134. package/dist/node_modules/@alicloud/dingtalk/src/micro_app_1_0/client.ts +215 -1
  135. package/dist/node_modules/@alicloud/dingtalk/src/miniapp_1_0/client.ts +0 -1
  136. package/dist/node_modules/@alicloud/dingtalk/src/minutes_1_0/client.ts +1871 -0
  137. package/dist/node_modules/@alicloud/dingtalk/src/oauth2_1_0/client.ts +0 -1
  138. package/dist/node_modules/@alicloud/dingtalk/src/pedia_1_0/client.ts +7 -0
  139. package/dist/node_modules/@alicloud/dingtalk/src/project_1_0/client.ts +161 -0
  140. package/dist/node_modules/@alicloud/dingtalk/src/rooms_1_0/client.ts +147 -0
  141. package/dist/node_modules/@alicloud/dingtalk/src/salary_1_0/client.ts +1156 -0
  142. package/dist/node_modules/@alicloud/dingtalk/src/storage_1_0/client.ts +226 -0
  143. package/dist/node_modules/@alicloud/dingtalk/src/storage_2_0/client.ts +492 -0
  144. package/dist/node_modules/@alicloud/dingtalk/src/team_sphere_1_0/client.ts +442 -0
  145. package/dist/node_modules/@alicloud/dingtalk/src/todo_1_0/client.ts +89 -0
  146. package/dist/node_modules/@alicloud/dingtalk/src/todo_e_e_1_0/client.ts +1061 -88
  147. package/dist/node_modules/@alicloud/dingtalk/src/trip_1_0/client.ts +7 -0
  148. package/dist/node_modules/@alicloud/dingtalk/src/vip_member_1_0/client.ts +583 -0
  149. package/dist/node_modules/@alicloud/dingtalk/src/watt_1_0/client.ts +0 -1
  150. package/dist/node_modules/@alicloud/dingtalk/src/wiki_2_0/client.ts +423 -0
  151. package/dist/node_modules/@alicloud/dingtalk/src/workflow_1_0/client.ts +1304 -24
  152. package/dist/node_modules/@alicloud/dingtalk/src/yida_1_0/client.ts +774 -102
  153. package/dist/node_modules/@alicloud/dingtalk/src/yida_2_0/client.ts +1910 -429
  154. package/dist/node_modules/@alicloud/openapi-client/package.json +1 -1
  155. package/dist/node_modules/@alicloud/tea-util/package.json +1 -1
  156. package/package.json +8 -8
@@ -555,9 +555,15 @@ export class CreateEventHeaders extends $tea.Model {
555
555
  export class CreateEventRequest extends $tea.Model {
556
556
  attendees?: CreateEventRequestAttendees[];
557
557
  cardInstances?: CreateEventRequestCardInstances[];
558
+ categories?: CreateEventRequestCategories[];
558
559
  description?: string;
560
+ /**
561
+ * @remarks
562
+ * This parameter is required.
563
+ */
559
564
  end?: CreateEventRequestEnd;
560
565
  extra?: { [key: string]: string };
566
+ freeBusyStatus?: string;
561
567
  isAllDay?: boolean;
562
568
  location?: CreateEventRequestLocation;
563
569
  onlineMeetingInfo?: CreateEventRequestOnlineMeetingInfo;
@@ -579,9 +585,11 @@ export class CreateEventRequest extends $tea.Model {
579
585
  return {
580
586
  attendees: 'attendees',
581
587
  cardInstances: 'cardInstances',
588
+ categories: 'categories',
582
589
  description: 'description',
583
590
  end: 'end',
584
591
  extra: 'extra',
592
+ freeBusyStatus: 'freeBusyStatus',
585
593
  isAllDay: 'isAllDay',
586
594
  location: 'location',
587
595
  onlineMeetingInfo: 'onlineMeetingInfo',
@@ -598,9 +606,11 @@ export class CreateEventRequest extends $tea.Model {
598
606
  return {
599
607
  attendees: { 'type': 'array', 'itemType': CreateEventRequestAttendees },
600
608
  cardInstances: { 'type': 'array', 'itemType': CreateEventRequestCardInstances },
609
+ categories: { 'type': 'array', 'itemType': CreateEventRequestCategories },
601
610
  description: 'string',
602
611
  end: CreateEventRequestEnd,
603
612
  extra: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
613
+ freeBusyStatus: 'string',
604
614
  isAllDay: 'boolean',
605
615
  location: CreateEventRequestLocation,
606
616
  onlineMeetingInfo: CreateEventRequestOnlineMeetingInfo,
@@ -621,6 +631,7 @@ export class CreateEventRequest extends $tea.Model {
621
631
  export class CreateEventResponseBody extends $tea.Model {
622
632
  attendees?: CreateEventResponseBodyAttendees[];
623
633
  cardInstances?: CreateEventResponseBodyCardInstances[];
634
+ categories?: CreateEventResponseBodyCategories[];
624
635
  /**
625
636
  * @remarks
626
637
  * Use the UTC time format: yyyy-MM-ddTHH:mmZ
@@ -652,6 +663,7 @@ export class CreateEventResponseBody extends $tea.Model {
652
663
  return {
653
664
  attendees: 'attendees',
654
665
  cardInstances: 'cardInstances',
666
+ categories: 'categories',
655
667
  createTime: 'createTime',
656
668
  description: 'description',
657
669
  end: 'end',
@@ -674,6 +686,7 @@ export class CreateEventResponseBody extends $tea.Model {
674
686
  return {
675
687
  attendees: { 'type': 'array', 'itemType': CreateEventResponseBodyAttendees },
676
688
  cardInstances: { 'type': 'array', 'itemType': CreateEventResponseBodyCardInstances },
689
+ categories: { 'type': 'array', 'itemType': CreateEventResponseBodyCategories },
677
690
  createTime: 'string',
678
691
  description: 'string',
679
692
  end: CreateEventResponseBodyEnd,
@@ -2419,6 +2432,75 @@ export class ListCalendarsResponse extends $tea.Model {
2419
2432
  }
2420
2433
  }
2421
2434
 
2435
+ export class ListCategoriesHeaders extends $tea.Model {
2436
+ commonHeaders?: { [key: string]: string };
2437
+ xClientToken?: string;
2438
+ xAcsDingtalkAccessToken?: string;
2439
+ static names(): { [key: string]: string } {
2440
+ return {
2441
+ commonHeaders: 'commonHeaders',
2442
+ xClientToken: 'x-client-token',
2443
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
2444
+ };
2445
+ }
2446
+
2447
+ static types(): { [key: string]: any } {
2448
+ return {
2449
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2450
+ xClientToken: 'string',
2451
+ xAcsDingtalkAccessToken: 'string',
2452
+ };
2453
+ }
2454
+
2455
+ constructor(map?: { [key: string]: any }) {
2456
+ super(map);
2457
+ }
2458
+ }
2459
+
2460
+ export class ListCategoriesResponseBody extends $tea.Model {
2461
+ categories?: ListCategoriesResponseBodyCategories[];
2462
+ static names(): { [key: string]: string } {
2463
+ return {
2464
+ categories: 'categories',
2465
+ };
2466
+ }
2467
+
2468
+ static types(): { [key: string]: any } {
2469
+ return {
2470
+ categories: { 'type': 'array', 'itemType': ListCategoriesResponseBodyCategories },
2471
+ };
2472
+ }
2473
+
2474
+ constructor(map?: { [key: string]: any }) {
2475
+ super(map);
2476
+ }
2477
+ }
2478
+
2479
+ export class ListCategoriesResponse extends $tea.Model {
2480
+ headers?: { [key: string]: string };
2481
+ statusCode?: number;
2482
+ body?: ListCategoriesResponseBody;
2483
+ static names(): { [key: string]: string } {
2484
+ return {
2485
+ headers: 'headers',
2486
+ statusCode: 'statusCode',
2487
+ body: 'body',
2488
+ };
2489
+ }
2490
+
2491
+ static types(): { [key: string]: any } {
2492
+ return {
2493
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2494
+ statusCode: 'number',
2495
+ body: ListCategoriesResponseBody,
2496
+ };
2497
+ }
2498
+
2499
+ constructor(map?: { [key: string]: any }) {
2500
+ super(map);
2501
+ }
2502
+ }
2503
+
2422
2504
  export class ListEventsHeaders extends $tea.Model {
2423
2505
  commonHeaders?: { [key: string]: string };
2424
2506
  xAcsDingtalkAccessToken?: string;
@@ -3102,9 +3184,11 @@ export class PatchEventHeaders extends $tea.Model {
3102
3184
  export class PatchEventRequest extends $tea.Model {
3103
3185
  attendees?: PatchEventRequestAttendees[];
3104
3186
  cardInstances?: PatchEventRequestCardInstances[];
3187
+ categories?: PatchEventRequestCategories[];
3105
3188
  description?: string;
3106
3189
  end?: PatchEventRequestEnd;
3107
3190
  extra?: { [key: string]: string };
3191
+ freeBusyStatus?: string;
3108
3192
  /**
3109
3193
  * @remarks
3110
3194
  * This parameter is required.
@@ -3123,9 +3207,11 @@ export class PatchEventRequest extends $tea.Model {
3123
3207
  return {
3124
3208
  attendees: 'attendees',
3125
3209
  cardInstances: 'cardInstances',
3210
+ categories: 'categories',
3126
3211
  description: 'description',
3127
3212
  end: 'end',
3128
3213
  extra: 'extra',
3214
+ freeBusyStatus: 'freeBusyStatus',
3129
3215
  id: 'id',
3130
3216
  isAllDay: 'isAllDay',
3131
3217
  location: 'location',
@@ -3143,9 +3229,11 @@ export class PatchEventRequest extends $tea.Model {
3143
3229
  return {
3144
3230
  attendees: { 'type': 'array', 'itemType': PatchEventRequestAttendees },
3145
3231
  cardInstances: { 'type': 'array', 'itemType': PatchEventRequestCardInstances },
3232
+ categories: { 'type': 'array', 'itemType': PatchEventRequestCategories },
3146
3233
  description: 'string',
3147
3234
  end: PatchEventRequestEnd,
3148
3235
  extra: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3236
+ freeBusyStatus: 'string',
3149
3237
  id: 'string',
3150
3238
  isAllDay: 'boolean',
3151
3239
  location: PatchEventRequestLocation,
@@ -3167,6 +3255,7 @@ export class PatchEventRequest extends $tea.Model {
3167
3255
  export class PatchEventResponseBody extends $tea.Model {
3168
3256
  attendees?: PatchEventResponseBodyAttendees[];
3169
3257
  cardInstances?: PatchEventResponseBodyCardInstances[];
3258
+ categories?: PatchEventResponseBodyCategories[];
3170
3259
  /**
3171
3260
  * @remarks
3172
3261
  * Use the UTC time format: yyyy-MM-ddTHH:mmZ
@@ -3198,6 +3287,7 @@ export class PatchEventResponseBody extends $tea.Model {
3198
3287
  return {
3199
3288
  attendees: 'attendees',
3200
3289
  cardInstances: 'cardInstances',
3290
+ categories: 'categories',
3201
3291
  createTime: 'createTime',
3202
3292
  description: 'description',
3203
3293
  end: 'end',
@@ -3220,6 +3310,7 @@ export class PatchEventResponseBody extends $tea.Model {
3220
3310
  return {
3221
3311
  attendees: { 'type': 'array', 'itemType': PatchEventResponseBodyAttendees },
3222
3312
  cardInstances: { 'type': 'array', 'itemType': PatchEventResponseBodyCardInstances },
3313
+ categories: { 'type': 'array', 'itemType': PatchEventResponseBodyCategories },
3223
3314
  createTime: 'string',
3224
3315
  description: 'string',
3225
3316
  end: PatchEventResponseBodyEnd,
@@ -4063,6 +4154,28 @@ export class CreateEventRequestCardInstances extends $tea.Model {
4063
4154
  }
4064
4155
  }
4065
4156
 
4157
+ export class CreateEventRequestCategories extends $tea.Model {
4158
+ categoryId?: string;
4159
+ displayName?: string;
4160
+ static names(): { [key: string]: string } {
4161
+ return {
4162
+ categoryId: 'categoryId',
4163
+ displayName: 'displayName',
4164
+ };
4165
+ }
4166
+
4167
+ static types(): { [key: string]: any } {
4168
+ return {
4169
+ categoryId: 'string',
4170
+ displayName: 'string',
4171
+ };
4172
+ }
4173
+
4174
+ constructor(map?: { [key: string]: any }) {
4175
+ super(map);
4176
+ }
4177
+ }
4178
+
4066
4179
  export class CreateEventRequestEnd extends $tea.Model {
4067
4180
  /**
4068
4181
  * @example
@@ -4376,6 +4489,28 @@ export class CreateEventResponseBodyCardInstances extends $tea.Model {
4376
4489
  }
4377
4490
  }
4378
4491
 
4492
+ export class CreateEventResponseBodyCategories extends $tea.Model {
4493
+ categoryId?: string;
4494
+ displayName?: string;
4495
+ static names(): { [key: string]: string } {
4496
+ return {
4497
+ categoryId: 'categoryId',
4498
+ displayName: 'displayName',
4499
+ };
4500
+ }
4501
+
4502
+ static types(): { [key: string]: any } {
4503
+ return {
4504
+ categoryId: 'string',
4505
+ displayName: 'string',
4506
+ };
4507
+ }
4508
+
4509
+ constructor(map?: { [key: string]: any }) {
4510
+ super(map);
4511
+ }
4512
+ }
4513
+
4379
4514
  export class CreateEventResponseBodyEnd extends $tea.Model {
4380
4515
  date?: string;
4381
4516
  dateTime?: string;
@@ -6257,6 +6392,28 @@ export class ListCalendarsResponseBodyResponse extends $tea.Model {
6257
6392
  }
6258
6393
  }
6259
6394
 
6395
+ export class ListCategoriesResponseBodyCategories extends $tea.Model {
6396
+ displayName?: string;
6397
+ openCategoryId?: string;
6398
+ static names(): { [key: string]: string } {
6399
+ return {
6400
+ displayName: 'displayName',
6401
+ openCategoryId: 'openCategoryId',
6402
+ };
6403
+ }
6404
+
6405
+ static types(): { [key: string]: any } {
6406
+ return {
6407
+ displayName: 'string',
6408
+ openCategoryId: 'string',
6409
+ };
6410
+ }
6411
+
6412
+ constructor(map?: { [key: string]: any }) {
6413
+ super(map);
6414
+ }
6415
+ }
6416
+
6260
6417
  export class ListEventsResponseBodyEventsAttendees extends $tea.Model {
6261
6418
  displayName?: string;
6262
6419
  id?: string;
@@ -7322,6 +7479,25 @@ export class ListEventsViewResponseBodyEventsEnd extends $tea.Model {
7322
7479
  }
7323
7480
  }
7324
7481
 
7482
+ export class ListEventsViewResponseBodyEventsExtendedPropertiesPrivateProperties extends $tea.Model {
7483
+ dingtalkDetailUrl?: string;
7484
+ static names(): { [key: string]: string } {
7485
+ return {
7486
+ dingtalkDetailUrl: 'dingtalkDetailUrl',
7487
+ };
7488
+ }
7489
+
7490
+ static types(): { [key: string]: any } {
7491
+ return {
7492
+ dingtalkDetailUrl: 'string',
7493
+ };
7494
+ }
7495
+
7496
+ constructor(map?: { [key: string]: any }) {
7497
+ super(map);
7498
+ }
7499
+ }
7500
+
7325
7501
  export class ListEventsViewResponseBodyEventsExtendedPropertiesSharedProperties extends $tea.Model {
7326
7502
  belongCorpId?: string;
7327
7503
  sourceOpenCid?: string;
@@ -7345,15 +7521,18 @@ export class ListEventsViewResponseBodyEventsExtendedPropertiesSharedProperties
7345
7521
  }
7346
7522
 
7347
7523
  export class ListEventsViewResponseBodyEventsExtendedProperties extends $tea.Model {
7524
+ privateProperties?: ListEventsViewResponseBodyEventsExtendedPropertiesPrivateProperties;
7348
7525
  sharedProperties?: ListEventsViewResponseBodyEventsExtendedPropertiesSharedProperties;
7349
7526
  static names(): { [key: string]: string } {
7350
7527
  return {
7528
+ privateProperties: 'privateProperties',
7351
7529
  sharedProperties: 'sharedProperties',
7352
7530
  };
7353
7531
  }
7354
7532
 
7355
7533
  static types(): { [key: string]: any } {
7356
7534
  return {
7535
+ privateProperties: ListEventsViewResponseBodyEventsExtendedPropertiesPrivateProperties,
7357
7536
  sharedProperties: ListEventsViewResponseBodyEventsExtendedPropertiesSharedProperties,
7358
7537
  };
7359
7538
  }
@@ -8600,6 +8779,28 @@ export class PatchEventRequestCardInstances extends $tea.Model {
8600
8779
  }
8601
8780
  }
8602
8781
 
8782
+ export class PatchEventRequestCategories extends $tea.Model {
8783
+ categoryId?: string;
8784
+ displayName?: string;
8785
+ static names(): { [key: string]: string } {
8786
+ return {
8787
+ categoryId: 'categoryId',
8788
+ displayName: 'displayName',
8789
+ };
8790
+ }
8791
+
8792
+ static types(): { [key: string]: any } {
8793
+ return {
8794
+ categoryId: 'string',
8795
+ displayName: 'string',
8796
+ };
8797
+ }
8798
+
8799
+ constructor(map?: { [key: string]: any }) {
8800
+ super(map);
8801
+ }
8802
+ }
8803
+
8603
8804
  export class PatchEventRequestEnd extends $tea.Model {
8604
8805
  date?: string;
8605
8806
  dateTime?: string;
@@ -8897,6 +9098,28 @@ export class PatchEventResponseBodyCardInstances extends $tea.Model {
8897
9098
  }
8898
9099
  }
8899
9100
 
9101
+ export class PatchEventResponseBodyCategories extends $tea.Model {
9102
+ categoryId?: string;
9103
+ displayName?: string;
9104
+ static names(): { [key: string]: string } {
9105
+ return {
9106
+ categoryId: 'categoryId',
9107
+ displayName: 'displayName',
9108
+ };
9109
+ }
9110
+
9111
+ static types(): { [key: string]: any } {
9112
+ return {
9113
+ categoryId: 'string',
9114
+ displayName: 'string',
9115
+ };
9116
+ }
9117
+
9118
+ constructor(map?: { [key: string]: any }) {
9119
+ super(map);
9120
+ }
9121
+ }
9122
+
8900
9123
  export class PatchEventResponseBodyEnd extends $tea.Model {
8901
9124
  date?: string;
8902
9125
  dateTime?: string;
@@ -9617,6 +9840,10 @@ export default class Client extends OpenApi {
9617
9840
  body["cardInstances"] = request.cardInstances;
9618
9841
  }
9619
9842
 
9843
+ if (!Util.isUnset(request.categories)) {
9844
+ body["categories"] = request.categories;
9845
+ }
9846
+
9620
9847
  if (!Util.isUnset(request.description)) {
9621
9848
  body["description"] = request.description;
9622
9849
  }
@@ -9629,6 +9856,10 @@ export default class Client extends OpenApi {
9629
9856
  body["extra"] = request.extra;
9630
9857
  }
9631
9858
 
9859
+ if (!Util.isUnset(request.freeBusyStatus)) {
9860
+ body["freeBusyStatus"] = request.freeBusyStatus;
9861
+ }
9862
+
9632
9863
  if (!Util.isUnset(request.isAllDay)) {
9633
9864
  body["isAllDay"] = request.isAllDay;
9634
9865
  }
@@ -10730,6 +10961,54 @@ export default class Client extends OpenApi {
10730
10961
  return await this.listCalendarsWithOptions(userId, headers, runtime);
10731
10962
  }
10732
10963
 
10964
+ /**
10965
+ * 获取会议类型列表
10966
+ *
10967
+ * @param headers - ListCategoriesHeaders
10968
+ * @param runtime - runtime options for this request RuntimeOptions
10969
+ * @returns ListCategoriesResponse
10970
+ */
10971
+ async listCategoriesWithOptions(userId: string, headers: ListCategoriesHeaders, runtime: $Util.RuntimeOptions): Promise<ListCategoriesResponse> {
10972
+ let realHeaders : {[key: string ]: string} = { };
10973
+ if (!Util.isUnset(headers.commonHeaders)) {
10974
+ realHeaders = headers.commonHeaders;
10975
+ }
10976
+
10977
+ if (!Util.isUnset(headers.xClientToken)) {
10978
+ realHeaders["x-client-token"] = Util.toJSONString(headers.xClientToken);
10979
+ }
10980
+
10981
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
10982
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
10983
+ }
10984
+
10985
+ let req = new $OpenApi.OpenApiRequest({
10986
+ headers: realHeaders,
10987
+ });
10988
+ let params = new $OpenApi.Params({
10989
+ action: "ListCategories",
10990
+ version: "calendar_1.0",
10991
+ protocol: "HTTP",
10992
+ pathname: `/v1.0/calendar/categories`,
10993
+ method: "GET",
10994
+ authType: "AK",
10995
+ style: "ROA",
10996
+ reqBodyType: "none",
10997
+ bodyType: "json",
10998
+ });
10999
+ return $tea.cast<ListCategoriesResponse>(await this.execute(params, req, runtime), new ListCategoriesResponse({}));
11000
+ }
11001
+
11002
+ /**
11003
+ * 获取会议类型列表
11004
+ * @returns ListCategoriesResponse
11005
+ */
11006
+ async listCategories(userId: string): Promise<ListCategoriesResponse> {
11007
+ let runtime = new $Util.RuntimeOptions({ });
11008
+ let headers = new ListCategoriesHeaders({ });
11009
+ return await this.listCategoriesWithOptions(userId, headers, runtime);
11010
+ }
11011
+
10733
11012
  /**
10734
11013
  * 查询日程列表
10735
11014
  *
@@ -11173,6 +11452,10 @@ export default class Client extends OpenApi {
11173
11452
  body["cardInstances"] = request.cardInstances;
11174
11453
  }
11175
11454
 
11455
+ if (!Util.isUnset(request.categories)) {
11456
+ body["categories"] = request.categories;
11457
+ }
11458
+
11176
11459
  if (!Util.isUnset(request.description)) {
11177
11460
  body["description"] = request.description;
11178
11461
  }
@@ -11185,6 +11468,10 @@ export default class Client extends OpenApi {
11185
11468
  body["extra"] = request.extra;
11186
11469
  }
11187
11470
 
11471
+ if (!Util.isUnset(request.freeBusyStatus)) {
11472
+ body["freeBusyStatus"] = request.freeBusyStatus;
11473
+ }
11474
+
11188
11475
  if (!Util.isUnset(request.id)) {
11189
11476
  body["id"] = request.id;
11190
11477
  }