@@ -79,52 +79,6 @@ public ConnectCustomConfiguration createConfiguration(String accountId, ConnectC
7979 return apiClient .invokeAPI (localVarPath , "POST" , localVarQueryParams , localVarCollectionQueryParams , localVarPostBody , localVarHeaderParams , localVarFormParams , localVarAccept , localVarContentType , localVarAuthNames , localVarReturnType );
8080 }
8181
82- /**
83- * Generates a new connect HMAC Secret.
84- *
85- * @param accountId The external account number (int) or account ID Guid. (required)
86- * @throws ApiException if fails to make API call
87- */
88- public void createConnectSecret (String accountId ) throws ApiException {
89- Object localVarPostBody = "{}" ;
90-
91- // verify the required parameter 'accountId' is set
92- if (accountId == null ) {
93- throw new ApiException (400 , "Missing the required parameter 'accountId' when calling createConnectSecret" );
94- }
95-
96- // create path and map variables
97- String localVarPath = "/v2/accounts/{accountId}/connect/secret"
98- .replaceAll ("\\ {" + "accountId" + "\\ }" , apiClient .escapeString (accountId .toString ()));
99-
100- // query params
101- java .util .List <Pair > localVarQueryParams = new java .util .ArrayList <Pair >();
102- java .util .List <Pair > localVarCollectionQueryParams = new java .util .ArrayList <Pair >();
103- java .util .Map <String , String > localVarHeaderParams = new java .util .HashMap <String , String >();
104- java .util .Map <String , Object > localVarFormParams = new java .util .HashMap <String , Object >();
105-
106-
107-
108-
109-
110-
111-
112- final String [] localVarAccepts = {
113- "application/json"
114- };
115- final String localVarAccept = apiClient .selectHeaderAccept (localVarAccepts );
116-
117- final String [] localVarContentTypes = {
118-
119- };
120- final String localVarContentType = apiClient .selectHeaderContentType (localVarContentTypes );
121-
122- String [] localVarAuthNames = new String [] { "docusignAccessCode" };
123-
124-
125- apiClient .invokeAPI (localVarPath , "POST" , localVarQueryParams , localVarCollectionQueryParams , localVarPostBody , localVarHeaderParams , localVarFormParams , localVarAccept , localVarContentType , localVarAuthNames , null );
126- }
127-
12882 /**
12983 * Deletes the specified connect configuration.
13084 * Deletes the specified DocuSign Connect configuration. ###### Note: Connect must be enabled for your account to use this function.
@@ -162,59 +116,6 @@ public void deleteConfiguration(String accountId, String connectId) throws ApiEx
162116
163117
164118
165- final String [] localVarAccepts = {
166- "application/json"
167- };
168- final String localVarAccept = apiClient .selectHeaderAccept (localVarAccepts );
169-
170- final String [] localVarContentTypes = {
171-
172- };
173- final String localVarContentType = apiClient .selectHeaderContentType (localVarContentTypes );
174-
175- String [] localVarAuthNames = new String [] { "docusignAccessCode" };
176-
177-
178- apiClient .invokeAPI (localVarPath , "DELETE" , localVarQueryParams , localVarCollectionQueryParams , localVarPostBody , localVarHeaderParams , localVarFormParams , localVarAccept , localVarContentType , localVarAuthNames , null );
179- }
180-
181- /**
182- * Delete the connect HMAC Secret for AccountID
183- *
184- * @param accountId The external account number (int) or account ID Guid. (required)
185- * @param keyId (required)
186- * @throws ApiException if fails to make API call
187- */
188- public void deleteConnectSecret (String accountId , String keyId ) throws ApiException {
189- Object localVarPostBody = "{}" ;
190-
191- // verify the required parameter 'accountId' is set
192- if (accountId == null ) {
193- throw new ApiException (400 , "Missing the required parameter 'accountId' when calling deleteConnectSecret" );
194- }
195-
196- // verify the required parameter 'keyId' is set
197- if (keyId == null ) {
198- throw new ApiException (400 , "Missing the required parameter 'keyId' when calling deleteConnectSecret" );
199- }
200-
201- // create path and map variables
202- String localVarPath = "/v2/accounts/{accountId}/connect/secret/{keyId}"
203- .replaceAll ("\\ {" + "accountId" + "\\ }" , apiClient .escapeString (accountId .toString ()))
204- .replaceAll ("\\ {" + "keyId" + "\\ }" , apiClient .escapeString (keyId .toString ()));
205-
206- // query params
207- java .util .List <Pair > localVarQueryParams = new java .util .ArrayList <Pair >();
208- java .util .List <Pair > localVarCollectionQueryParams = new java .util .ArrayList <Pair >();
209- java .util .Map <String , String > localVarHeaderParams = new java .util .HashMap <String , String >();
210- java .util .Map <String , Object > localVarFormParams = new java .util .HashMap <String , Object >();
211-
212-
213-
214-
215-
216-
217-
218119 final String [] localVarAccepts = {
219120 "application/json"
220121 };
@@ -431,52 +332,6 @@ public MobileNotifierConfigurationInformation deleteMobileNotifiers(String accou
431332 return apiClient .invokeAPI (localVarPath , "DELETE" , localVarQueryParams , localVarCollectionQueryParams , localVarPostBody , localVarHeaderParams , localVarFormParams , localVarAccept , localVarContentType , localVarAuthNames , localVarReturnType );
432333 }
433334
434- /**
435- * Generates a new connect HMAC Secret.
436- *
437- * @param accountId The external account number (int) or account ID Guid. (required)
438- * @throws ApiException if fails to make API call
439- */
440- public void generateConnectSecret (String accountId ) throws ApiException {
441- Object localVarPostBody = "{}" ;
442-
443- // verify the required parameter 'accountId' is set
444- if (accountId == null ) {
445- throw new ApiException (400 , "Missing the required parameter 'accountId' when calling generateConnectSecret" );
446- }
447-
448- // create path and map variables
449- String localVarPath = "/v2/accounts/{accountId}/connect/secret"
450- .replaceAll ("\\ {" + "accountId" + "\\ }" , apiClient .escapeString (accountId .toString ()));
451-
452- // query params
453- java .util .List <Pair > localVarQueryParams = new java .util .ArrayList <Pair >();
454- java .util .List <Pair > localVarCollectionQueryParams = new java .util .ArrayList <Pair >();
455- java .util .Map <String , String > localVarHeaderParams = new java .util .HashMap <String , String >();
456- java .util .Map <String , Object > localVarFormParams = new java .util .HashMap <String , Object >();
457-
458-
459-
460-
461-
462-
463-
464- final String [] localVarAccepts = {
465- "application/json"
466- };
467- final String localVarAccept = apiClient .selectHeaderAccept (localVarAccepts );
468-
469- final String [] localVarContentTypes = {
470-
471- };
472- final String localVarContentType = apiClient .selectHeaderContentType (localVarContentTypes );
473-
474- String [] localVarAuthNames = new String [] { "docusignAccessCode" };
475-
476-
477- apiClient .invokeAPI (localVarPath , "GET" , localVarQueryParams , localVarCollectionQueryParams , localVarPostBody , localVarHeaderParams , localVarFormParams , localVarAccept , localVarContentType , localVarAuthNames , null );
478- }
479-
480335 /**
481336 * Get a Connect Configuration Information
482337 * Retrieves the information for the specified DocuSign Connect configuration. ###### Note: Connect must be enabled for your account to use this function.
@@ -530,52 +385,6 @@ public ConnectConfigResults getConfiguration(String accountId, String connectId)
530385 GenericType <ConnectConfigResults > localVarReturnType = new GenericType <ConnectConfigResults >() {};
531386 return apiClient .invokeAPI (localVarPath , "GET" , localVarQueryParams , localVarCollectionQueryParams , localVarPostBody , localVarHeaderParams , localVarFormParams , localVarAccept , localVarContentType , localVarAuthNames , localVarReturnType );
532387 }
533-
534- /**
535- * Get the connect HMAC Secrets for AccountID
536- *
537- * @param accountId The external account number (int) or account ID Guid. (required)
538- * @throws ApiException if fails to make API call
539- */
540- public void getConnectSecrets (String accountId ) throws ApiException {
541- Object localVarPostBody = "{}" ;
542-
543- // verify the required parameter 'accountId' is set
544- if (accountId == null ) {
545- throw new ApiException (400 , "Missing the required parameter 'accountId' when calling getConnectSecrets" );
546- }
547-
548- // create path and map variables
549- String localVarPath = "/v2/accounts/{accountId}/connect/secrets"
550- .replaceAll ("\\ {" + "accountId" + "\\ }" , apiClient .escapeString (accountId .toString ()));
551-
552- // query params
553- java .util .List <Pair > localVarQueryParams = new java .util .ArrayList <Pair >();
554- java .util .List <Pair > localVarCollectionQueryParams = new java .util .ArrayList <Pair >();
555- java .util .Map <String , String > localVarHeaderParams = new java .util .HashMap <String , String >();
556- java .util .Map <String , Object > localVarFormParams = new java .util .HashMap <String , Object >();
557-
558-
559-
560-
561-
562-
563-
564- final String [] localVarAccepts = {
565- "application/json"
566- };
567- final String localVarAccept = apiClient .selectHeaderAccept (localVarAccepts );
568-
569- final String [] localVarContentTypes = {
570-
571- };
572- final String localVarContentType = apiClient .selectHeaderContentType (localVarContentTypes );
573-
574- String [] localVarAuthNames = new String [] { "docusignAccessCode" };
575-
576-
577- apiClient .invokeAPI (localVarPath , "GET" , localVarQueryParams , localVarCollectionQueryParams , localVarPostBody , localVarHeaderParams , localVarFormParams , localVarAccept , localVarContentType , localVarAuthNames , null );
578- }
579388 /// <summary>
580389 /// Get the specified Connect log entry. Retrieves the specified Connect log entry for your account. ###### Note: The `enableLog` setting in the Connect configuration must be set to true to enable logging. If logging is not enabled, then no log entries are recorded.
581390 /// </summary>
0 commit comments