@tachybase/plugin-auth-dingtalk 1.3.19 → 1.3.21

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
@@ -2489,6 +2489,11 @@ export class GetTravelProcessDetailResponseBodyResult extends $tea.Model {
2489
2489
  * staffIdxyy
2490
2490
  */
2491
2491
  originatorIdOnBehalf?: string;
2492
+ /**
2493
+ * @example
2494
+ * NONE
2495
+ */
2496
+ processBizAction?: string;
2492
2497
  /**
2493
2498
  * @example
2494
2499
  * AG3U12xWRFex63hxxxxx
@@ -2543,6 +2548,7 @@ export class GetTravelProcessDetailResponseBodyResult extends $tea.Model {
2543
2548
  memo: 'memo',
2544
2549
  originatorId: 'originatorId',
2545
2550
  originatorIdOnBehalf: 'originatorIdOnBehalf',
2551
+ processBizAction: 'processBizAction',
2546
2552
  processInstanceId: 'processInstanceId',
2547
2553
  processResult: 'processResult',
2548
2554
  processStatus: 'processStatus',
@@ -2576,6 +2582,7 @@ export class GetTravelProcessDetailResponseBodyResult extends $tea.Model {
2576
2582
  memo: 'string',
2577
2583
  originatorId: 'string',
2578
2584
  originatorIdOnBehalf: 'string',
2585
+ processBizAction: 'string',
2579
2586
  processInstanceId: 'string',
2580
2587
  processResult: 'string',
2581
2588
  processStatus: 'string',
@@ -7,6 +7,333 @@ import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
7
7
  import OpenApiUtil from '@alicloud/openapi-util';
8
8
  import * as $tea from '@alicloud/tea-typescript';
9
9
 
10
+ export class DirectRedeemVipMemberByMobileHeaders extends $tea.Model {
11
+ commonHeaders?: { [key: string]: string };
12
+ xAcsDingtalkAccessToken?: string;
13
+ static names(): { [key: string]: string } {
14
+ return {
15
+ commonHeaders: 'commonHeaders',
16
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
23
+ xAcsDingtalkAccessToken: 'string',
24
+ };
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
32
+ export class DirectRedeemVipMemberByMobileRequest extends $tea.Model {
33
+ bizRequestId?: string;
34
+ channel?: string;
35
+ dingtalkId?: string;
36
+ duration?: number;
37
+ mobile?: string;
38
+ uuid?: string;
39
+ static names(): { [key: string]: string } {
40
+ return {
41
+ bizRequestId: 'bizRequestId',
42
+ channel: 'channel',
43
+ dingtalkId: 'dingtalkId',
44
+ duration: 'duration',
45
+ mobile: 'mobile',
46
+ uuid: 'uuid',
47
+ };
48
+ }
49
+
50
+ static types(): { [key: string]: any } {
51
+ return {
52
+ bizRequestId: 'string',
53
+ channel: 'string',
54
+ dingtalkId: 'string',
55
+ duration: 'number',
56
+ mobile: 'string',
57
+ uuid: 'string',
58
+ };
59
+ }
60
+
61
+ constructor(map?: { [key: string]: any }) {
62
+ super(map);
63
+ }
64
+ }
65
+
66
+ export class DirectRedeemVipMemberByMobileResponseBody extends $tea.Model {
67
+ bizRequestId?: string;
68
+ errorCode?: string;
69
+ errorMsg?: string;
70
+ result?: boolean;
71
+ static names(): { [key: string]: string } {
72
+ return {
73
+ bizRequestId: 'bizRequestId',
74
+ errorCode: 'errorCode',
75
+ errorMsg: 'errorMsg',
76
+ result: 'result',
77
+ };
78
+ }
79
+
80
+ static types(): { [key: string]: any } {
81
+ return {
82
+ bizRequestId: 'string',
83
+ errorCode: 'string',
84
+ errorMsg: 'string',
85
+ result: 'boolean',
86
+ };
87
+ }
88
+
89
+ constructor(map?: { [key: string]: any }) {
90
+ super(map);
91
+ }
92
+ }
93
+
94
+ export class DirectRedeemVipMemberByMobileResponse extends $tea.Model {
95
+ headers?: { [key: string]: string };
96
+ statusCode?: number;
97
+ body?: DirectRedeemVipMemberByMobileResponseBody;
98
+ static names(): { [key: string]: string } {
99
+ return {
100
+ headers: 'headers',
101
+ statusCode: 'statusCode',
102
+ body: 'body',
103
+ };
104
+ }
105
+
106
+ static types(): { [key: string]: any } {
107
+ return {
108
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
109
+ statusCode: 'number',
110
+ body: DirectRedeemVipMemberByMobileResponseBody,
111
+ };
112
+ }
113
+
114
+ constructor(map?: { [key: string]: any }) {
115
+ super(map);
116
+ }
117
+ }
118
+
119
+ export class InvalidRedeemVipMemberByBizRequestIdHeaders extends $tea.Model {
120
+ commonHeaders?: { [key: string]: string };
121
+ xAcsDingtalkAccessToken?: string;
122
+ static names(): { [key: string]: string } {
123
+ return {
124
+ commonHeaders: 'commonHeaders',
125
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
126
+ };
127
+ }
128
+
129
+ static types(): { [key: string]: any } {
130
+ return {
131
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
132
+ xAcsDingtalkAccessToken: 'string',
133
+ };
134
+ }
135
+
136
+ constructor(map?: { [key: string]: any }) {
137
+ super(map);
138
+ }
139
+ }
140
+
141
+ export class InvalidRedeemVipMemberByBizRequestIdRequest extends $tea.Model {
142
+ bizRequestId?: string;
143
+ channel?: string;
144
+ dingtalkId?: string;
145
+ duration?: number;
146
+ mobile?: string;
147
+ uuid?: string;
148
+ static names(): { [key: string]: string } {
149
+ return {
150
+ bizRequestId: 'bizRequestId',
151
+ channel: 'channel',
152
+ dingtalkId: 'dingtalkId',
153
+ duration: 'duration',
154
+ mobile: 'mobile',
155
+ uuid: 'uuid',
156
+ };
157
+ }
158
+
159
+ static types(): { [key: string]: any } {
160
+ return {
161
+ bizRequestId: 'string',
162
+ channel: 'string',
163
+ dingtalkId: 'string',
164
+ duration: 'number',
165
+ mobile: 'string',
166
+ uuid: 'string',
167
+ };
168
+ }
169
+
170
+ constructor(map?: { [key: string]: any }) {
171
+ super(map);
172
+ }
173
+ }
174
+
175
+ export class InvalidRedeemVipMemberByBizRequestIdResponseBody extends $tea.Model {
176
+ bizRequestId?: string;
177
+ errorCode?: string;
178
+ errorMsg?: string;
179
+ result?: string;
180
+ static names(): { [key: string]: string } {
181
+ return {
182
+ bizRequestId: 'bizRequestId',
183
+ errorCode: 'errorCode',
184
+ errorMsg: 'errorMsg',
185
+ result: 'result',
186
+ };
187
+ }
188
+
189
+ static types(): { [key: string]: any } {
190
+ return {
191
+ bizRequestId: 'string',
192
+ errorCode: 'string',
193
+ errorMsg: 'string',
194
+ result: 'string',
195
+ };
196
+ }
197
+
198
+ constructor(map?: { [key: string]: any }) {
199
+ super(map);
200
+ }
201
+ }
202
+
203
+ export class InvalidRedeemVipMemberByBizRequestIdResponse extends $tea.Model {
204
+ headers?: { [key: string]: string };
205
+ statusCode?: number;
206
+ body?: InvalidRedeemVipMemberByBizRequestIdResponseBody;
207
+ static names(): { [key: string]: string } {
208
+ return {
209
+ headers: 'headers',
210
+ statusCode: 'statusCode',
211
+ body: 'body',
212
+ };
213
+ }
214
+
215
+ static types(): { [key: string]: any } {
216
+ return {
217
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
218
+ statusCode: 'number',
219
+ body: InvalidRedeemVipMemberByBizRequestIdResponseBody,
220
+ };
221
+ }
222
+
223
+ constructor(map?: { [key: string]: any }) {
224
+ super(map);
225
+ }
226
+ }
227
+
228
+ export class QueryRedeemVipMemberHeaders extends $tea.Model {
229
+ commonHeaders?: { [key: string]: string };
230
+ xAcsDingtalkAccessToken?: string;
231
+ static names(): { [key: string]: string } {
232
+ return {
233
+ commonHeaders: 'commonHeaders',
234
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
235
+ };
236
+ }
237
+
238
+ static types(): { [key: string]: any } {
239
+ return {
240
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
241
+ xAcsDingtalkAccessToken: 'string',
242
+ };
243
+ }
244
+
245
+ constructor(map?: { [key: string]: any }) {
246
+ super(map);
247
+ }
248
+ }
249
+
250
+ export class QueryRedeemVipMemberRequest extends $tea.Model {
251
+ bizRequestId?: string;
252
+ channel?: string;
253
+ dingtalkId?: string;
254
+ duration?: number;
255
+ mobile?: string;
256
+ uuid?: string;
257
+ static names(): { [key: string]: string } {
258
+ return {
259
+ bizRequestId: 'bizRequestId',
260
+ channel: 'channel',
261
+ dingtalkId: 'dingtalkId',
262
+ duration: 'duration',
263
+ mobile: 'mobile',
264
+ uuid: 'uuid',
265
+ };
266
+ }
267
+
268
+ static types(): { [key: string]: any } {
269
+ return {
270
+ bizRequestId: 'string',
271
+ channel: 'string',
272
+ dingtalkId: 'string',
273
+ duration: 'number',
274
+ mobile: 'string',
275
+ uuid: 'string',
276
+ };
277
+ }
278
+
279
+ constructor(map?: { [key: string]: any }) {
280
+ super(map);
281
+ }
282
+ }
283
+
284
+ export class QueryRedeemVipMemberResponseBody extends $tea.Model {
285
+ errorCode?: string;
286
+ errorMsg?: string;
287
+ queryResults?: QueryRedeemVipMemberResponseBodyQueryResults[];
288
+ result?: boolean;
289
+ static names(): { [key: string]: string } {
290
+ return {
291
+ errorCode: 'errorCode',
292
+ errorMsg: 'errorMsg',
293
+ queryResults: 'queryResults',
294
+ result: 'result',
295
+ };
296
+ }
297
+
298
+ static types(): { [key: string]: any } {
299
+ return {
300
+ errorCode: 'string',
301
+ errorMsg: 'string',
302
+ queryResults: { 'type': 'array', 'itemType': QueryRedeemVipMemberResponseBodyQueryResults },
303
+ result: 'boolean',
304
+ };
305
+ }
306
+
307
+ constructor(map?: { [key: string]: any }) {
308
+ super(map);
309
+ }
310
+ }
311
+
312
+ export class QueryRedeemVipMemberResponse extends $tea.Model {
313
+ headers?: { [key: string]: string };
314
+ statusCode?: number;
315
+ body?: QueryRedeemVipMemberResponseBody;
316
+ static names(): { [key: string]: string } {
317
+ return {
318
+ headers: 'headers',
319
+ statusCode: 'statusCode',
320
+ body: 'body',
321
+ };
322
+ }
323
+
324
+ static types(): { [key: string]: any } {
325
+ return {
326
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
327
+ statusCode: 'number',
328
+ body: QueryRedeemVipMemberResponseBody,
329
+ };
330
+ }
331
+
332
+ constructor(map?: { [key: string]: any }) {
333
+ super(map);
334
+ }
335
+ }
336
+
10
337
  export class QueryVipMemberInfoHeaders extends $tea.Model {
11
338
  commonHeaders?: { [key: string]: string };
12
339
  xAcsDingtalkAccessToken?: string;
@@ -49,15 +376,18 @@ export class QueryVipMemberInfoRequest extends $tea.Model {
49
376
  }
50
377
 
51
378
  export class QueryVipMemberInfoResponseBody extends $tea.Model {
379
+ expireTime?: string;
52
380
  isVip?: boolean;
53
381
  static names(): { [key: string]: string } {
54
382
  return {
383
+ expireTime: 'expireTime',
55
384
  isVip: 'isVip',
56
385
  };
57
386
  }
58
387
 
59
388
  static types(): { [key: string]: any } {
60
389
  return {
390
+ expireTime: 'string',
61
391
  isVip: 'boolean',
62
392
  };
63
393
  }
@@ -92,6 +422,37 @@ export class QueryVipMemberInfoResponse extends $tea.Model {
92
422
  }
93
423
  }
94
424
 
425
+ export class QueryRedeemVipMemberResponseBodyQueryResults extends $tea.Model {
426
+ action?: string;
427
+ actionTime?: string;
428
+ dingtalkId?: string;
429
+ duration?: number;
430
+ nick?: string;
431
+ static names(): { [key: string]: string } {
432
+ return {
433
+ action: 'action',
434
+ actionTime: 'actionTime',
435
+ dingtalkId: 'dingtalkId',
436
+ duration: 'duration',
437
+ nick: 'nick',
438
+ };
439
+ }
440
+
441
+ static types(): { [key: string]: any } {
442
+ return {
443
+ action: 'string',
444
+ actionTime: 'string',
445
+ dingtalkId: 'string',
446
+ duration: 'number',
447
+ nick: 'string',
448
+ };
449
+ }
450
+
451
+ constructor(map?: { [key: string]: any }) {
452
+ super(map);
453
+ }
454
+ }
455
+
95
456
 
96
457
  export default class Client extends OpenApi {
97
458
 
@@ -107,6 +468,228 @@ export default class Client extends OpenApi {
107
468
  }
108
469
 
109
470
 
471
+ /**
472
+ * 通过手机号直充365会员
473
+ *
474
+ * @param request - DirectRedeemVipMemberByMobileRequest
475
+ * @param headers - DirectRedeemVipMemberByMobileHeaders
476
+ * @param runtime - runtime options for this request RuntimeOptions
477
+ * @returns DirectRedeemVipMemberByMobileResponse
478
+ */
479
+ async directRedeemVipMemberByMobileWithOptions(request: DirectRedeemVipMemberByMobileRequest, headers: DirectRedeemVipMemberByMobileHeaders, runtime: $Util.RuntimeOptions): Promise<DirectRedeemVipMemberByMobileResponse> {
480
+ Util.validateModel(request);
481
+ let body : {[key: string ]: any} = { };
482
+ if (!Util.isUnset(request.bizRequestId)) {
483
+ body["bizRequestId"] = request.bizRequestId;
484
+ }
485
+
486
+ if (!Util.isUnset(request.channel)) {
487
+ body["channel"] = request.channel;
488
+ }
489
+
490
+ if (!Util.isUnset(request.dingtalkId)) {
491
+ body["dingtalkId"] = request.dingtalkId;
492
+ }
493
+
494
+ if (!Util.isUnset(request.duration)) {
495
+ body["duration"] = request.duration;
496
+ }
497
+
498
+ if (!Util.isUnset(request.mobile)) {
499
+ body["mobile"] = request.mobile;
500
+ }
501
+
502
+ if (!Util.isUnset(request.uuid)) {
503
+ body["uuid"] = request.uuid;
504
+ }
505
+
506
+ let realHeaders : {[key: string ]: string} = { };
507
+ if (!Util.isUnset(headers.commonHeaders)) {
508
+ realHeaders = headers.commonHeaders;
509
+ }
510
+
511
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
512
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
513
+ }
514
+
515
+ let req = new $OpenApi.OpenApiRequest({
516
+ headers: realHeaders,
517
+ body: OpenApiUtil.parseToMap(body),
518
+ });
519
+ let params = new $OpenApi.Params({
520
+ action: "DirectRedeemVipMemberByMobile",
521
+ version: "vipMember_1.0",
522
+ protocol: "HTTP",
523
+ pathname: `/v1.0/vipMember/users/directRedeemVip`,
524
+ method: "POST",
525
+ authType: "AK",
526
+ style: "ROA",
527
+ reqBodyType: "none",
528
+ bodyType: "json",
529
+ });
530
+ return $tea.cast<DirectRedeemVipMemberByMobileResponse>(await this.execute(params, req, runtime), new DirectRedeemVipMemberByMobileResponse({}));
531
+ }
532
+
533
+ /**
534
+ * 通过手机号直充365会员
535
+ *
536
+ * @param request - DirectRedeemVipMemberByMobileRequest
537
+ * @returns DirectRedeemVipMemberByMobileResponse
538
+ */
539
+ async directRedeemVipMemberByMobile(request: DirectRedeemVipMemberByMobileRequest): Promise<DirectRedeemVipMemberByMobileResponse> {
540
+ let runtime = new $Util.RuntimeOptions({ });
541
+ let headers = new DirectRedeemVipMemberByMobileHeaders({ });
542
+ return await this.directRedeemVipMemberByMobileWithOptions(request, headers, runtime);
543
+ }
544
+
545
+ /**
546
+ * 通过虚拟订单号作废365会员权益
547
+ *
548
+ * @param request - InvalidRedeemVipMemberByBizRequestIdRequest
549
+ * @param headers - InvalidRedeemVipMemberByBizRequestIdHeaders
550
+ * @param runtime - runtime options for this request RuntimeOptions
551
+ * @returns InvalidRedeemVipMemberByBizRequestIdResponse
552
+ */
553
+ async invalidRedeemVipMemberByBizRequestIdWithOptions(request: InvalidRedeemVipMemberByBizRequestIdRequest, headers: InvalidRedeemVipMemberByBizRequestIdHeaders, runtime: $Util.RuntimeOptions): Promise<InvalidRedeemVipMemberByBizRequestIdResponse> {
554
+ Util.validateModel(request);
555
+ let body : {[key: string ]: any} = { };
556
+ if (!Util.isUnset(request.bizRequestId)) {
557
+ body["bizRequestId"] = request.bizRequestId;
558
+ }
559
+
560
+ if (!Util.isUnset(request.channel)) {
561
+ body["channel"] = request.channel;
562
+ }
563
+
564
+ if (!Util.isUnset(request.dingtalkId)) {
565
+ body["dingtalkId"] = request.dingtalkId;
566
+ }
567
+
568
+ if (!Util.isUnset(request.duration)) {
569
+ body["duration"] = request.duration;
570
+ }
571
+
572
+ if (!Util.isUnset(request.mobile)) {
573
+ body["mobile"] = request.mobile;
574
+ }
575
+
576
+ if (!Util.isUnset(request.uuid)) {
577
+ body["uuid"] = request.uuid;
578
+ }
579
+
580
+ let realHeaders : {[key: string ]: string} = { };
581
+ if (!Util.isUnset(headers.commonHeaders)) {
582
+ realHeaders = headers.commonHeaders;
583
+ }
584
+
585
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
586
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
587
+ }
588
+
589
+ let req = new $OpenApi.OpenApiRequest({
590
+ headers: realHeaders,
591
+ body: OpenApiUtil.parseToMap(body),
592
+ });
593
+ let params = new $OpenApi.Params({
594
+ action: "InvalidRedeemVipMemberByBizRequestId",
595
+ version: "vipMember_1.0",
596
+ protocol: "HTTP",
597
+ pathname: `/v1.0/vipMember/users/invalidRedeemVip`,
598
+ method: "POST",
599
+ authType: "AK",
600
+ style: "ROA",
601
+ reqBodyType: "none",
602
+ bodyType: "json",
603
+ });
604
+ return $tea.cast<InvalidRedeemVipMemberByBizRequestIdResponse>(await this.execute(params, req, runtime), new InvalidRedeemVipMemberByBizRequestIdResponse({}));
605
+ }
606
+
607
+ /**
608
+ * 通过虚拟订单号作废365会员权益
609
+ *
610
+ * @param request - InvalidRedeemVipMemberByBizRequestIdRequest
611
+ * @returns InvalidRedeemVipMemberByBizRequestIdResponse
612
+ */
613
+ async invalidRedeemVipMemberByBizRequestId(request: InvalidRedeemVipMemberByBizRequestIdRequest): Promise<InvalidRedeemVipMemberByBizRequestIdResponse> {
614
+ let runtime = new $Util.RuntimeOptions({ });
615
+ let headers = new InvalidRedeemVipMemberByBizRequestIdHeaders({ });
616
+ return await this.invalidRedeemVipMemberByBizRequestIdWithOptions(request, headers, runtime);
617
+ }
618
+
619
+ /**
620
+ * 查询365会员直充信息
621
+ *
622
+ * @param request - QueryRedeemVipMemberRequest
623
+ * @param headers - QueryRedeemVipMemberHeaders
624
+ * @param runtime - runtime options for this request RuntimeOptions
625
+ * @returns QueryRedeemVipMemberResponse
626
+ */
627
+ async queryRedeemVipMemberWithOptions(request: QueryRedeemVipMemberRequest, headers: QueryRedeemVipMemberHeaders, runtime: $Util.RuntimeOptions): Promise<QueryRedeemVipMemberResponse> {
628
+ Util.validateModel(request);
629
+ let body : {[key: string ]: any} = { };
630
+ if (!Util.isUnset(request.bizRequestId)) {
631
+ body["bizRequestId"] = request.bizRequestId;
632
+ }
633
+
634
+ if (!Util.isUnset(request.channel)) {
635
+ body["channel"] = request.channel;
636
+ }
637
+
638
+ if (!Util.isUnset(request.dingtalkId)) {
639
+ body["dingtalkId"] = request.dingtalkId;
640
+ }
641
+
642
+ if (!Util.isUnset(request.duration)) {
643
+ body["duration"] = request.duration;
644
+ }
645
+
646
+ if (!Util.isUnset(request.mobile)) {
647
+ body["mobile"] = request.mobile;
648
+ }
649
+
650
+ if (!Util.isUnset(request.uuid)) {
651
+ body["uuid"] = request.uuid;
652
+ }
653
+
654
+ let realHeaders : {[key: string ]: string} = { };
655
+ if (!Util.isUnset(headers.commonHeaders)) {
656
+ realHeaders = headers.commonHeaders;
657
+ }
658
+
659
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
660
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
661
+ }
662
+
663
+ let req = new $OpenApi.OpenApiRequest({
664
+ headers: realHeaders,
665
+ body: OpenApiUtil.parseToMap(body),
666
+ });
667
+ let params = new $OpenApi.Params({
668
+ action: "QueryRedeemVipMember",
669
+ version: "vipMember_1.0",
670
+ protocol: "HTTP",
671
+ pathname: `/v1.0/vipMember/users/queryRedeemVip`,
672
+ method: "POST",
673
+ authType: "AK",
674
+ style: "ROA",
675
+ reqBodyType: "none",
676
+ bodyType: "json",
677
+ });
678
+ return $tea.cast<QueryRedeemVipMemberResponse>(await this.execute(params, req, runtime), new QueryRedeemVipMemberResponse({}));
679
+ }
680
+
681
+ /**
682
+ * 查询365会员直充信息
683
+ *
684
+ * @param request - QueryRedeemVipMemberRequest
685
+ * @returns QueryRedeemVipMemberResponse
686
+ */
687
+ async queryRedeemVipMember(request: QueryRedeemVipMemberRequest): Promise<QueryRedeemVipMemberResponse> {
688
+ let runtime = new $Util.RuntimeOptions({ });
689
+ let headers = new QueryRedeemVipMemberHeaders({ });
690
+ return await this.queryRedeemVipMemberWithOptions(request, headers, runtime);
691
+ }
692
+
110
693
  /**
111
694
  * 查询365会员信息
112
695
  *
@@ -954,7 +954,6 @@ export default class Client extends OpenApi {
954
954
  super(config);
955
955
  let gatewayClient = new GatewayClient();
956
956
  this._spi = gatewayClient;
957
- this._signatureAlgorithm = "v2";
958
957
  this._endpointRule = "";
959
958
  if (Util.empty(this._endpoint)) {
960
959
  this._endpoint = "api.dingtalk.com";