@@ -40,17 +40,8 @@ public DynamicLinkClient(IMyNoSqlServerDataReader<DynamicLinkSettingsNoSql> read
4040 public ( string longLink , string shortLink ) GenerateKycDocumentsDeclinedLink ( KycDocsDeclinedLinkRequest request ) => GenerateDeepLink ( ActionEnum . KycDocumentsDeclined , request . Platform ) ;
4141 public ( string longLink , string shortLink ) GenerateKycDocumentsApprovedLink ( KycDocsApprovedLinkRequest request ) => GenerateDeepLink ( ActionEnum . KycDocumentsApproved , request . Platform ) ;
4242 public ( string longLink , string shortLink ) GenerateKycBannedLink ( KycBannedLinkRequest request ) => GenerateDeepLink ( ActionEnum . KycBanned , request . Platform ) ;
43- public ( string longLink , string shortLink ) GenerateOperationHistoryLink ( OperationHistoryLinkRequest request )
44- {
45- var paramsLinks = new List < ( string , string ) > ( ) { ( "jw_operation_id" , request . OperationId ) } ;
46- if ( ! string . IsNullOrEmpty ( request . AccountId ) )
47- {
48- paramsLinks . Add ( ( "jw_accountID" , request . AccountId ) ) ;
49- }
50- return GenerateDeepLink ( ActionEnum . OperationHistory , request . Platform ,
51- paramsArray : paramsLinks . ToArray ( ) ) ;
52- }
53-
43+ public ( string longLink , string shortLink ) GenerateOperationHistoryLink ( OperationHistoryLinkRequest request ) => GenerateDeepLink ( ActionEnum . OperationHistory , request . Platform , ( "jw_operation_id" , request . OperationId ) ) ;
44+ public ( string longLink , string shortLink ) GenerateEmbeddedOperationHistoryLink ( OperationEmbeddedHistoryLinkRequest request ) => GenerateDeepLink ( ActionEnum . OperationHistory , request . Platform , ( "jw_operation_id" , request . OperationId ) , ( "jw_accountID" , request . AccountId ) ) ;
5445 public ( string longLink , string shortLink ) GenerateWithdrawalDeclinedLink ( WithdrawalDeclinedLinkRequest request ) => GenerateDeepLink ( ActionEnum . WithdrawalDecline , request . Platform , ( "jw_asset" , request . Asset ) ) ;
5546 public ( string longLink , string shortLink ) GenerateGiftIncomingLink ( OperationLinkRequest request ) => GenerateDeepLink ( ActionEnum . GiftIncoming , request . Platform , ( "jw_operation_id" , request . OperationId ) ) ;
5647 public ( string longLink , string shortLink ) GenerateGiftReminderLink ( OperationLinkRequest request ) => GenerateDeepLink ( ActionEnum . GiftReminder , request . Platform , ( "jw_operation_id" , request . OperationId ) ) ;
0 commit comments