@@ -155,6 +155,118 @@ public WxCpBaseResp smartSheetModifyAuth(@NonNull WxCpDocSmartSheetModifyAuthReq
155155 return WxCpBaseResp .fromJson (responseContent );
156156 }
157157
158+ @ Override
159+ public WxCpDocSmartSheetResult smartSheetGetSheet (@ NonNull WxCpDocSmartSheetRequest request ) throws WxErrorException {
160+ String apiUrl = this .cpService .getWxCpConfigStorage ().getApiUrl (WEDOC_SMARTSHEET_GET_SHEET );
161+ String responseContent = this .cpService .post (apiUrl , request .toJson ());
162+ return WxCpDocSmartSheetResult .fromJson (responseContent );
163+ }
164+
165+ @ Override
166+ public WxCpDocSmartSheetResult smartSheetAddSheet (@ NonNull WxCpDocSmartSheetRequest request ) throws WxErrorException {
167+ String apiUrl = this .cpService .getWxCpConfigStorage ().getApiUrl (WEDOC_SMARTSHEET_ADD_SHEET );
168+ String responseContent = this .cpService .post (apiUrl , request .toJson ());
169+ return WxCpDocSmartSheetResult .fromJson (responseContent );
170+ }
171+
172+ @ Override
173+ public WxCpBaseResp smartSheetDeleteSheet (@ NonNull WxCpDocSmartSheetRequest request ) throws WxErrorException {
174+ String apiUrl = this .cpService .getWxCpConfigStorage ().getApiUrl (WEDOC_SMARTSHEET_DELETE_SHEET );
175+ String responseContent = this .cpService .post (apiUrl , request .toJson ());
176+ return WxCpBaseResp .fromJson (responseContent );
177+ }
178+
179+ @ Override
180+ public WxCpBaseResp smartSheetUpdateSheet (@ NonNull WxCpDocSmartSheetRequest request ) throws WxErrorException {
181+ String apiUrl = this .cpService .getWxCpConfigStorage ().getApiUrl (WEDOC_SMARTSHEET_UPDATE_SHEET );
182+ String responseContent = this .cpService .post (apiUrl , request .toJson ());
183+ return WxCpBaseResp .fromJson (responseContent );
184+ }
185+
186+ @ Override
187+ public WxCpDocSmartSheetResult smartSheetGetViews (@ NonNull WxCpDocSmartSheetRequest request ) throws WxErrorException {
188+ String apiUrl = this .cpService .getWxCpConfigStorage ().getApiUrl (WEDOC_SMARTSHEET_GET_VIEWS );
189+ String responseContent = this .cpService .post (apiUrl , request .toJson ());
190+ return WxCpDocSmartSheetResult .fromJson (responseContent );
191+ }
192+
193+ @ Override
194+ public WxCpDocSmartSheetResult smartSheetAddView (@ NonNull WxCpDocSmartSheetRequest request ) throws WxErrorException {
195+ String apiUrl = this .cpService .getWxCpConfigStorage ().getApiUrl (WEDOC_SMARTSHEET_ADD_VIEW );
196+ String responseContent = this .cpService .post (apiUrl , request .toJson ());
197+ return WxCpDocSmartSheetResult .fromJson (responseContent );
198+ }
199+
200+ @ Override
201+ public WxCpBaseResp smartSheetDeleteViews (@ NonNull WxCpDocSmartSheetRequest request ) throws WxErrorException {
202+ String apiUrl = this .cpService .getWxCpConfigStorage ().getApiUrl (WEDOC_SMARTSHEET_DELETE_VIEWS );
203+ String responseContent = this .cpService .post (apiUrl , request .toJson ());
204+ return WxCpBaseResp .fromJson (responseContent );
205+ }
206+
207+ @ Override
208+ public WxCpBaseResp smartSheetUpdateView (@ NonNull WxCpDocSmartSheetRequest request ) throws WxErrorException {
209+ String apiUrl = this .cpService .getWxCpConfigStorage ().getApiUrl (WEDOC_SMARTSHEET_UPDATE_VIEW );
210+ String responseContent = this .cpService .post (apiUrl , request .toJson ());
211+ return WxCpBaseResp .fromJson (responseContent );
212+ }
213+
214+ @ Override
215+ public WxCpDocSmartSheetResult smartSheetGetFields (@ NonNull WxCpDocSmartSheetRequest request ) throws WxErrorException {
216+ String apiUrl = this .cpService .getWxCpConfigStorage ().getApiUrl (WEDOC_SMARTSHEET_GET_FIELDS );
217+ String responseContent = this .cpService .post (apiUrl , request .toJson ());
218+ return WxCpDocSmartSheetResult .fromJson (responseContent );
219+ }
220+
221+ @ Override
222+ public WxCpDocSmartSheetResult smartSheetAddFields (@ NonNull WxCpDocSmartSheetRequest request ) throws WxErrorException {
223+ String apiUrl = this .cpService .getWxCpConfigStorage ().getApiUrl (WEDOC_SMARTSHEET_ADD_FIELDS );
224+ String responseContent = this .cpService .post (apiUrl , request .toJson ());
225+ return WxCpDocSmartSheetResult .fromJson (responseContent );
226+ }
227+
228+ @ Override
229+ public WxCpBaseResp smartSheetDeleteFields (@ NonNull WxCpDocSmartSheetRequest request ) throws WxErrorException {
230+ String apiUrl = this .cpService .getWxCpConfigStorage ().getApiUrl (WEDOC_SMARTSHEET_DELETE_FIELDS );
231+ String responseContent = this .cpService .post (apiUrl , request .toJson ());
232+ return WxCpBaseResp .fromJson (responseContent );
233+ }
234+
235+ @ Override
236+ public WxCpBaseResp smartSheetUpdateFields (@ NonNull WxCpDocSmartSheetRequest request ) throws WxErrorException {
237+ String apiUrl = this .cpService .getWxCpConfigStorage ().getApiUrl (WEDOC_SMARTSHEET_UPDATE_FIELDS );
238+ String responseContent = this .cpService .post (apiUrl , request .toJson ());
239+ return WxCpBaseResp .fromJson (responseContent );
240+ }
241+
242+ @ Override
243+ public WxCpDocSmartSheetResult smartSheetGetRecords (@ NonNull WxCpDocSmartSheetRequest request ) throws WxErrorException {
244+ String apiUrl = this .cpService .getWxCpConfigStorage ().getApiUrl (WEDOC_SMARTSHEET_GET_RECORDS );
245+ String responseContent = this .cpService .post (apiUrl , request .toJson ());
246+ return WxCpDocSmartSheetResult .fromJson (responseContent );
247+ }
248+
249+ @ Override
250+ public WxCpDocSmartSheetResult smartSheetAddRecords (@ NonNull WxCpDocSmartSheetRequest request ) throws WxErrorException {
251+ String apiUrl = this .cpService .getWxCpConfigStorage ().getApiUrl (WEDOC_SMARTSHEET_ADD_RECORDS );
252+ String responseContent = this .cpService .post (apiUrl , request .toJson ());
253+ return WxCpDocSmartSheetResult .fromJson (responseContent );
254+ }
255+
256+ @ Override
257+ public WxCpBaseResp smartSheetDeleteRecords (@ NonNull WxCpDocSmartSheetRequest request ) throws WxErrorException {
258+ String apiUrl = this .cpService .getWxCpConfigStorage ().getApiUrl (WEDOC_SMARTSHEET_DELETE_RECORDS );
259+ String responseContent = this .cpService .post (apiUrl , request .toJson ());
260+ return WxCpBaseResp .fromJson (responseContent );
261+ }
262+
263+ @ Override
264+ public WxCpBaseResp smartSheetUpdateRecords (@ NonNull WxCpDocSmartSheetRequest request ) throws WxErrorException {
265+ String apiUrl = this .cpService .getWxCpConfigStorage ().getApiUrl (WEDOC_SMARTSHEET_UPDATE_RECORDS );
266+ String responseContent = this .cpService .post (apiUrl , request .toJson ());
267+ return WxCpBaseResp .fromJson (responseContent );
268+ }
269+
158270 @ Override
159271 public WxCpFormCreateResult formCreate (@ NonNull WxCpFormCreateRequest request ) throws WxErrorException {
160272 String apiUrl = this .cpService .getWxCpConfigStorage ().getApiUrl (WEDOC_CREATE_FORM );
0 commit comments