This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class qbo_API { | |
| static String BASE_URL = 'https://quickbooks.api.intuit.com/v3/company/'; | |
| static String APP_TOKEN = '884dcc81bfcacb4ee7ba295b96f5f0c3c0af'; | |
| static String OAUTH_CONSUMER_KEY = 'qyprdKg28JSHKupJHdbakmAw9IKto9'; | |
| static String OAUTH_CONSUMER_SECRET = 'jo64COdkQtKen3loYFaAaLacSpNkxZ1ffe7W9EeS'; | |
| public static String COMPANY_ID = '565655340'; | |
| static oAuth_Setting__c OAUTH = querySetting(); | |
| public static oAuth_Setting__c querySetting(){ | |
| oAuth_Setting__c s = oAUth_Setting__c.getInstance('QuickbooksOnline'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- app event --> | |
| <aura:event type="APPLICATION" description="Used to Redirect to a Record within VF" > | |
| <aura:attribute type="String" name="recordId" /> | |
| <aura:attribute type="String" name="target" /> | |
| </aura:event> | |
| <!-- lightning component --> | |
| <aura:registerEvent name="redirectToRecord" type="c:redirecttorecord" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const functions = require('firebase-functions'); | |
| const admin = require('firebase-admin'); | |
| admin.initializeApp(functions.config().firebase); | |
| const ROOT_URL = 'https://kipuapi.kipuworks.com'; | |
| const ACCEPT_HEADER_VALUE = 'application/vnd.kipusystems+json; version=1'; | |
| const request = require('request'); | |
| const crypto = require('crypto'); | |
| const querystring = require('querystring'); | |
| const BOUNDARY = '741e90d31eff'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| List<Attachment> aList = [ | |
| SELECT Id,Name,Description | |
| FROM Attachment | |
| WHERE ParentId = :recordId | |
| ]; | |
| //query for contentversion | |
| List<ContentDocumentLink> cdlList = [ | |
| SELECT ContentDocumentId | |
| FROM ContentDocumentLink |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @AuraEnabled | |
| public static String startApproval(String comments, String recordId, String recordName, String recordType){ | |
| System.debug('starting approval through server code'); | |
| Approval.ProcessSubmitRequest req = new Approval.ProcessSubmitRequest(); | |
| req.setComments(comments); | |
| req.setObjectId(recordId); | |
| req.setSubmitterId(userId); | |
| req.setSkipEntryCriteria(true); | |
| if (recordType == 'LOC Loan'){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const functions = require('firebase-functions'); | |
| const admin = require('firebase-admin'); | |
| admin.initializeApp(functions.config().firebase); | |
| const ROOT_URL = 'https://kipuapi.kipuworks.com'; | |
| const ACCEPT_HEADER_VALUE = 'application/vnd.kipusystems+json; version=1'; | |
| const request = require('request'); | |
| const crypto = require('crypto'); | |
| const querystring = require('querystring'); | |
| const BOUNDARY = '741e90d31eff'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var http = require('http'); | |
| var PORT = 3000; | |
| var url = require('url'); | |
| var BOUNDARY = '741e90d31eff'; | |
| var crypto = require('crypto'); | |
| var ROOT = 'https://kipuapi.kipuworks.com'; | |
| var URI = '/api/patients'; | |
| var SECRET_KEY = 'QlIn8+DwAKjKVs84P8sJ/qewB8G2zFdMURl4i6KmwqI4SCleQNh6FjOoBiHmXHa1jGar5HyeQmAgkUo6jomjvw=='; | |
| const ACCEPT_HEADER_VALUE = 'application/vnd.kipusystems+json; version=1'; | |
| var fs = require('fs'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var http = require('http'); | |
| var PORT = 3000; | |
| var url = require('url'); | |
| var BOUNDARY = '741e90d31eff'; | |
| var crypto = require('crypto'); | |
| var ROOT = 'https://kipuapi.kipuworks.com'; | |
| var URI = '/api/patients'; | |
| var SECRET_KEY = 'QlIn8+DwAKjKVs84P8sJ/qewB8G2zFdMURl4i6KmwqI4SCleQNh6FjOoBiHmXHa1jGar5HyeQmAgkUo6jomjvw=='; | |
| const ACCEPT_HEADER_VALUE = 'application/vnd.kipusystems+json; version=1'; | |
| var fs = require('fs'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var http = require('http'); | |
| var PORT = 3000; | |
| var url = require('url'); | |
| var BOUNDARY = '741e90d31eff'; | |
| var crypto = require('crypto'); | |
| var ROOT = 'https://kipuapi.kipuworks.com'; | |
| var URI = '/api/patients'; | |
| var SECRET_KEY = 'QlIn8+DwAKjKVs84P8sJ/qewB8G2zFdMURl4i6KmwqI4SCleQNh6FjOoBiHmXHa1jGar5HyeQmAgkUo6jomjvw=='; | |
| const ACCEPT_HEADER_VALUE = 'application/vnd.kipusystems+json; version=1'; | |
| var fs = require('fs'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require "net/http" | |
| require "time" | |
| require "digest" | |
| require "openssl" | |
| require "base64" | |
| # Token used to separate each Content Part. This string should be a # random string and not appear in the file body. | |
| BOUNDARY = "MultipartBoundary" | |
| uri = URI.parse "https://kipuapi.kipuworks.com/api/patients" |