0.0.1-alpha-94 • Published 3 months ago

ipaas-sync-test v0.0.1-alpha-94

Weekly downloads
564
License
IPAAS
Repository
-
Last release
3 months ago

ipaas-sync-test

IpaasSyncTest - JavaScript client for ipaas-sync-test Freshpipe API This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Package version: 0.0.1-alpha-84
  • Build package: org.openapitools.codegen.languages.JavascriptClientCodegen For more information, please visit https://www.freshpipe.co

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install ipaas-sync-test --save

Finally, you need to build the module:

npm run build
Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing package.json (and this README). Let's call this JAVASCRIPT_CLIENT_DIR. Then run:

npm install

Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:

npm link

To use the link you just defined in your project, switch to the directory you want to use your ipaas-sync-test from, and run:

npm link /path/to/<JAVASCRIPT_CLIENT_DIR>

Finally, you need to build the module:

npm run build

Client Initialization:

To start using the sync SDK the client must be initialised. The client initialisation requires the following:

An HTTP request object. This must be the $request object that is provided by the marketplace. This is because IPaaS allows API calls only from Marketplace.

The IPaaS domain. The domain varies depending on whether the app is for staging or prod.

The product in which the app is created. This can take the following values:

  • FRESHDESK
  • FRESHSALES
  • FRESHTEAM
  • FRESHSERVICE

The app id. This is a unique identifier given to each app by the platform. Contact IPaaS team to get an id. (An automated system will be soon created to get this ID)

The account_id of the account in which the app is installed.

const IpaasSyncTest = require('ipaas-sync-test');
IpaasSyncTest.ApiClient.instance.setRequest($request);
IpaasSyncTest.ApiClient.instance.setBasePath('https://ipaas-v2-demo.pipestage.com')
IpaasSyncTest.ApiClient.instance.setProduct('FRESHDESK');
const app = new IpaasSyncTest.App(APP_UUID);
IpaasSyncTest.ApiClient.instance.setApp(app);
IpaasSyncTest.ApiClient.instance.setVendorAccountId(payload.account_id);

Getting Started

Please follow the installation and initialization(#client initialization) instruction and execute the following JS code:

const IpaasSyncTest = require('ipaas-sync-test');


var api = new IpaasSyncTest.AppApi()
var appuuid = "appuuid_example"; // {String} Unique identifier of the app
api.deleteAppDetails(appuuid).then(function() {
  console.log('API called successfully.');
}, function(error) {
  console.error(error);
});

Documentation for API Endpoints

All URIs are relative to https://localhost

ClassMethodHTTP requestDescription
IpaasSyncTest.AppApideleteAppDetailsDELETE /integration-rest/apps/{appuuid}/detailsDelete the configuration details of an app with the given appuuid and accountId
IpaasSyncTest.AppApigetAppDetailsGET /integration-rest/apps/{appuuid}/detailsFetch an app configuration details
IpaasSyncTest.AppApisaveAppDetailsPOST /integration-rest/apps/{appuuid}/detailsSave an app configuration details
IpaasSyncTest.AppApiupdateAppDetailsPUT /integration-rest/apps/{appuuid}/detailsUpdate an App Configuration details
IpaasSyncTest.ConnectorApicreateSchemaPOST /transformation-rest/schemasCreate a schema for Connector
IpaasSyncTest.ConnectorApideleteConnectorByIdDELETE /generic-connector-rest/connectors/{id}Delete a Connector
IpaasSyncTest.ConnectorApigetConnectorByIdGET /generic-connector-rest/connectors/{id}Fetch Connector details
IpaasSyncTest.ConnectorApigetSchemaByIdGET /transformation-rest/schemas/{id}Get a schema
IpaasSyncTest.ConnectorApigetSchemasByConnectorIdGET /generic-connector-rest/connectors/{id}/schemasGet all schemas
IpaasSyncTest.ConnectorApiupdateConnectorPUT /generic-connector-rest/connectors/{id}Update a Connector
IpaasSyncTest.ConnectorApiupdateSchemaPUT /transformation-rest/schemas/{id}Update a schema
IpaasSyncTest.FormApicreateFormPOST /integration-rest/formsCreate a form
IpaasSyncTest.FormApicreateMappingFormPOST /integration-rest/mappingformsCreate a Mapping form
IpaasSyncTest.FormApideleteFormDELETE /integration-rest/formsdelete form
IpaasSyncTest.FormApideleteFormByIdDELETE /integration-rest/forms/{id}delete form
IpaasSyncTest.FormApigetFormGET /integration-rest/formsFetch details of a form
IpaasSyncTest.FormApigetFormByIdGET /integration-rest/forms/{id}Fetch details of a form
IpaasSyncTest.FormApigetMappingFormGET /integration-rest/mappingformsFetch Mapping Form
IpaasSyncTest.FormApiupdateFormPUT /integration-rest/forms/{id}update form details
IpaasSyncTest.FormApiupdateMappingFormPUT /integration-rest/mappingformsUpdate Mapping Form
IpaasSyncTest.IntegrationApicreateIntegrationPOST /integration-rest/integrationsCreate Integration
IpaasSyncTest.IntegrationApideleteAppDELETE /integration-rest/appsDelete App
IpaasSyncTest.IntegrationApideleteIntegrationsDELETE /integration-rest/integrationsDelete integrations
IpaasSyncTest.IntegrationApigetIPaaSAccountGET /integration-rest/accountsGet IPaaS Account Details
IpaasSyncTest.IntegrationApigetIntegrationByIdGET /integration-rest/integrations/{id}Fetch details of an Integration
IpaasSyncTest.IntegrationApigetIntegrationsGET /integration-rest/integrationsFetch list of integrations
IpaasSyncTest.IntegrationApiinstallBackendAppPOST /integration-rest/backendAppsInstall Backend App
IpaasSyncTest.IntegrationApiuninstallBackendAppDELETE /integration-rest/backendAppsDelete Backend App
IpaasSyncTest.IntegrationApiupdateBackendAppPUT /integration-rest/backendAppsUpdate Backend App
IpaasSyncTest.LogApigetErrorLogsGET /logging-rest/error-logDownload log File
IpaasSyncTest.LogApigetLogsGET /logging-rest/logsFetch logs
IpaasSyncTest.MatchingApideleteObjectReferencesByTransformationGroupDELETE /matching-rest/transformationGroups/{id}/objectReferencesDelete object references
IpaasSyncTest.MatchingApigetObjectReferencesGET /matching-rest/objectReferencesGet the Object References
IpaasSyncTest.MatchingApisaveObjectReferencesPOST /matching-rest/objectReferencesCreate/Update an object reference.
IpaasSyncTest.SyncApiclearCollisionPOST /data-sync-rest/objectsClear collision of an object
IpaasSyncTest.SyncApideleteObjectSyncStatusByTransformationDELETE /data-sync-rest/transformations/{id}/objectSyncStatusesDelete object sync status
IpaasSyncTest.SyncApigetObjectSyncStatusGET /data-sync-rest/objectStatusGet Object Sync status
IpaasSyncTest.SyncApistartBulkSyncPOST /data-sync-rest/bulk/syncStart bulk Sync
IpaasSyncTest.SyncApistartSyncPOST /data-sync-rest/syncStart a Sync
IpaasSyncTest.TransformationApicreateMappingPOST /transformation-rest/mappingsCreate mapping
IpaasSyncTest.TransformationApideleteMappingByIdDELETE /transformation-rest/mappings/{id}Delete Mapping
IpaasSyncTest.TransformationApideleteMatchingSettingsByTransformationGroupDELETE /matching-rest/transformationGroups/{id}/matchingSettingsDelete matching settings
IpaasSyncTest.TransformationApigetMappingByIdGET /transformation-rest/mappings/{id}Fetch details of a Mapping
IpaasSyncTest.TransformationApigetMappingsGET /integration-rest/formServMappings/{transformationId}Fetch details of a FormServMapping
IpaasSyncTest.TransformationApigetMappingsBySchemaIdsGET /transformation-rest/schemas/{src_schema_id}/schemas/{dest_schema_id}/mappingsGet transformation
IpaasSyncTest.TransformationApigetMappingsOfIntegrationGET /transformation-rest/integrations/{id}/mappingsGet transformations
IpaasSyncTest.TransformationApisaveMappingPUT /integration-rest/formServMappings/{transformationId}Save formServ Mapping
IpaasSyncTest.TransformationApisaveMatchingSettingsPOST /matching-rest/transformationGroups/{id}/matchingSettingsSave matching settings
IpaasSyncTest.TransformationApiupdateMappingPUT /transformation-rest/mappings/{id}Update mapping
IpaasSyncTest.TransformationApiupdateMatchingSettingsPUT /matching-rest/transformationGroups/{id}/matchingSettingsUpdate matching settings

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

0.0.1-alpha-89

3 months ago

0.0.1-alpha-91

3 months ago

0.0.1-alpha-90

3 months ago

0.0.1-alpha-93

3 months ago

0.0.1-alpha-92

3 months ago

0.0.1-alpha-94

3 months ago

0.0.1-alpha-88

3 months ago

0.0.1-alpha-87

3 months ago

0.0.1-alpha-86

1 year ago

0.0.1-alpha-85

2 years ago

0.0.1-alpha-82

2 years ago

0.0.1-alpha-81

2 years ago

0.0.1-alpha-84

2 years ago

0.0.1-alpha-83

2 years ago

0.0.1-alpha-79

2 years ago

0.0.1-alpha-78

2 years ago

0.0.1-alpha-71

2 years ago

0.0.1-alpha-73

2 years ago

0.0.1-alpha-72

2 years ago

0.0.1-alpha-75

2 years ago

0.0.1-alpha-74

2 years ago

0.0.1-alpha-77

2 years ago

0.0.1-alpha-76

2 years ago

0.0.1-alpha-80

2 years ago

0.0.1-alpha-70

2 years ago

0.0.1-alpha-68

2 years ago

0.0.1-alpha-67

2 years ago

0.0.1-alpha-69

2 years ago

0.0.1-alpha-60

2 years ago

0.0.1-alpha-62

2 years ago

0.0.1-alpha-61

2 years ago

0.0.1-alpha-64

2 years ago

0.0.1-alpha-63

2 years ago

0.0.1-alpha-66

2 years ago

0.0.1-alpha-65

2 years ago

0.0.1-alpha-59

2 years ago

0.0.1-alpha-58

2 years ago

0.0.1-alpha-57

2 years ago

0.0.1-alpha-56

2 years ago

0.0.1-alpha-55

2 years ago

0.0.1-alpha-54

2 years ago

0.0.1-alpha-53

2 years ago

0.0.1-alpha-52

3 years ago

0.0.1-alpha-51

3 years ago

0.0.1-alpha-50

3 years ago

0.0.1-alpha-49

3 years ago

0.0.1-alpha-48

3 years ago

0.0.1-alpha-46

3 years ago

0.0.1-alpha-47

3 years ago

0.0.1-alpha-45

3 years ago

0.0.1-alpha-44

3 years ago

0.0.1-alpha-42

3 years ago

0.0.1-alpha-43

3 years ago

0.0.1-alpha-41

3 years ago

0.0.1-alpha-40

3 years ago

0.0.1-alpha-39

3 years ago

0.0.1-alpha-38

3 years ago

0.0.1-alpha-37

3 years ago

0.0.1-alpha-36

3 years ago

0.0.1-alpha-35

3 years ago

0.0.1-alpha-34

3 years ago

0.0.1-alpha-31

3 years ago

0.0.1-alpha-33

3 years ago

0.0.1-alpha-32

3 years ago

0.0.1-alpha-30

3 years ago

0.0.1-alpha-29

3 years ago

0.0.1-alpha-28

3 years ago

0.0.1-alpha-27

3 years ago

0.0.1-alpha-26

3 years ago

0.0.1-alpha-24

3 years ago

0.0.1-alpha-25

3 years ago

0.0.1-alpha-23

3 years ago

0.0.1-alpha-22

3 years ago

0.0.1-alpha-21

3 years ago

0.0.1-alpha-20

3 years ago

0.0.1-alpha-19

3 years ago

0.0.1-alpha-17

3 years ago

0.0.1-alpha-18

3 years ago

0.0.1-alpha-15

3 years ago

0.0.1-alpha-16

3 years ago

0.0.1-alpha-13

4 years ago

0.0.1-alpha-12

4 years ago

0.0.1-alpha-11

4 years ago

0.0.1-alpha-10

4 years ago

0.0.1-alpha-9

4 years ago

0.0.1-alpha-8

4 years ago

0.0.1-alpha-7

4 years ago

0.0.1-alpha-5

4 years ago

0.0.1-alpha-6

4 years ago

0.0.1-alpha-3

4 years ago

0.0.1-alpha-4

4 years ago

0.0.1-alpha-2

4 years ago

0.0.1-alpha-1

4 years ago