diff --git a/docs/classes/Errors.DigiMeSDKError.html b/docs/classes/Errors.DigiMeSDKError.html index a1fc3f23..4dd29120 100644 --- a/docs/classes/Errors.DigiMeSDKError.html +++ b/docs/classes/Errors.DigiMeSDKError.html @@ -25,7 +25,7 @@
OptionalOptionalerror
OptionalreferenceOptionalstatusOptionalstatusThis is called when authorization flow successfully completed, and you have been given an authorization code. We can then use this function to exchange for an access token.
This is called when we already have a valid user access token for this user and we want to add more services to this user’s library.
This is called when we need to reauthorize specific account due to Service authorization required error
This is called when user receives InvalidToken error (401 - The token (refresh_token) is invalid). We can use this method to get new AT/RT pair.
Revoke account permission
This is called if you want to issue new token
Deletes account on digi.me
Deletes user data on digi.me
Get Portability Report.
Push something to the user's digi.me library or to provider
Get a list of datasets for given sourceId.
Get a list of possible categories
Get a list of possible countries
Get a list of possible platforms
Get a list of possible sources a user can onboard
Get a list of accounts that exist of current user's library.
Handy util function to download all available user files.
Download a file.
Get a list of files that are ready to be downloaded.
Download a file metadata.
Start a new read session. When we already have an user access token.
Create provisional storage
Download file from storage by path
Download file from storage by path
Get storage for existing user
List storage files
Upload file to storage by path
OptionaluserValue in seconds (Unix Epoch Time)
Optionalid
OptionalconsentidOptionaluserOptional<
Control the scope for raw data
OptionalserviceControl the scope for mapped data using service groups
OptionaltimeControl the scope of mapped data using time ranges
The ID of the contract to use
A string of the private key in PKCS1 format
OptionalstatusOptionalcontentA URL to call to be called after authorization is done.
OptionalconsumerAny contract related details here.
OptionalincludeFlag to indicate if we should include sample data only sources. Default is false.
OptionallocaleOptionalOptionalsampleOptions for sample data flow
OptionalserviceOnboard a service while authorizing.
OptionalsessionAny optional parameters for the share.
OptionalsourcesOptional
OptionalsourcePlease use SourceType push to filter out only services that are push type. Default SourceType is set to pull.
Any extra data you want to be passed back after a authorization flow.
OptionalstorageProvide storage.id returned createProvisionalStorage to connect this storage to created user
OptionaltriggerOptional
OptionaluserUser access token you may already have for this user from this or from another contract.
A string that will be required when exchanging for an user access token
A session that can be used to read data. Can only be used after a successful authorization
The URL to redirect users to to trigger the authorization process.
Contract details here.
A URL to call to be called after authorization is done.
OptionalconsumerAny contract related details here.
OptionalincludeFlag to indicate if we should include services that are sample data only services. Default is false.
OptionallocaleOptionalOptionalsampleOptions for sample data flow
OptionalserviceService ID to be added. If serviceId is not passed user will have option to choose service that will be added.
OptionalsessionAny optional parameters for the share.
OptionalsourcesOptional
OptionalsourcePlease use SourceType push to filter out only services that are push type. Default SourceType is set to pull.
OptionalstateAny extra data you want to be passed back after a authorization flow.
OptionaltriggerOptional
User access token you may already have for this user from this or from another contract.
Any contract related details here.
File format to be returned. Currently only XML is supported.
OptionalfromFrom timestamp in seconds
Service type medmij is only supported for now.
OptionaltoTo timestamp in seconds
User access token you may already have for this user from this or from another contract.
AccountID to reauthorize.
A URL to call to be called after authorization is done.
OptionalconsumerAny contract related details here.
OptionallocaleOptionalUser access token you may already have for this user from this or from another contract.
A session that can be used to read data. Can only be used after a successful authorization
The URL to redirect users to to trigger the authorization process.
User access token
A URL to call to be called after reauthorization is done.
OptionalconsumerAny contract related details here.
OptionallocaleOptionalOptionalsessionAny optional parameters for the share.
OptionalstateAny extra data you want to be passed back after a reauthorization flow.
OptionaltriggerOptional
User access token you may already have for this user from this or from another contract.
OptionaluserOptionalpathOptionalrecursiveOptionallimits
OptionalscopeOptionalsourceIf set to false user will be able to see only existing data, without refreshing the library. Default value is true.
OptionalsourceTrigger account data sync only for accounts matching session scope and specified filter
Opti
Additional query options.
Contract details here.
List of categories
Contract details here.
OptionalcountriesAdditional query options.
List of countries
Contract details here.
OptionalplatformsAdditional query options.
List of countries
Contract details here.
OptionalsourcesParams for searching, paging, filtering, sorting and other options.
List of sources
Page limit.
Page offset.
Total numner of source records.
OptionalappidOptionalcontractidOptionalcreatedOptionalobjecttypesOptionalpartneridOptionalreferenceOptionalservicegroupsOptionaltagsOptionalonOptionalonOptionalfileOptionaluserOptionaluserOptionalconsumer
OptionalsessionOptionaluserYour customised application ID from digi.me
OptionalbaseRoot URL for the digi.me API. Default is https://api.digi.me/v1.7/
OptionalcloudCloud URL for the digi.me API. Default is https://cloud.digi.me/v1/
OptionalonboardRoot URL for the digi.me web onboard. Default is https://api.digi.me/apps/saas/
OptionalretryOptionalhere for all possible options
OptionalpathOptionalstatusOptionalexpiresOptionalusernameOptionalaccessOptionalproviderOptionalproviderOptionalsampleOptionalserviceOptionalserviceOptionalserviceOptionalusernameOptionalobjectOptionalobjectOptionalobjectOptionalschemaOptionalserviceOptionalserviceOptionalinclude
Posible fields to include are defined in type CategoriesIncludeFieldList .
OptionalcategoryOptionalexpandedOptionalexpandedOptionalnameOptionalreferenceOptionalresourceOptionalsubOptionaltitleOptionalmimetype
OptionalresizeOptionaltypeOptionalurlOptionalversionOptionalinclude
Posible fields to include are defined in type CountriesIncludeFieldList .
Optionalcode
OptionalnameOptionalresourceOptionalmimetype
OptionalresizeOptionaltypeOptionalurlOptionalfrom
OptionallastOptionalmetadataOptionalid
Optionalaccounts
OptionalappOptionalcontractOptionalmimeOptionalreferenceOptionaltagsOptionalerrorsOptionalobjectOptionalmessageOptionalobjectOptionalreauthOptionalretryOptionalnameOptionalreferenceOptionalinclude
Posible fields to include are defined in type PlatformsIncludeFieldList .
OptionalonOptionalonOptionalSkip all steps in authorization proces and do auto onboard flow for sample data. Dafault to false.
Dataset ID to use for sample data onboard returned in getServiceSampleDataSets
OptionaljsonOptionalnameOptionalpublishedOptionalresourceOptionalserviceOptionalsourceOptionalstatusOptionaltype
Optionalname
OptionalstatusOptionalmimetype
OptionalurlOptionalnameOptionalreferenceOptionalexpectedOptionalobservedOptionallimit
OptionaloffsetOptionalqueryOptionalquerySt
Optionalsearch?: SourcesSearchOptionalsortOptionalalias
OptionalcategoryAvailable categories with IDs can be fetched with queryCategories option.
OptionalcountryAvailable countries with IDs can be fetched with queryCountries option.
OptionalidOptionalplatformAvailable platforms with IDs can be fetched with queryPlatforms option.
OptionalpublishedOptionalreferenceOptionalserviceOptionalsourceOptionaltypePossible types are pull (1) and push (2). Default is pull - [1].
Optionalauthorisation
Optional<
Data type to filter sources by
OptionalorganizationOrganization type to filter sources by
Optionalabbreviation
OptionalaliasOptionalmedicalOptionalnameOptionalpractitionerOptionalfrom
OptionallastOptionaltoOptionaluserConstConstConstConstConstConstConstReadonly
ReadonlyME_DIGI: "me.digi"
Get contract details