0.0.21 • Published 3 years ago

ipaas-sync-test-internal v0.0.21

Weekly downloads
98
License
IPAAS
Repository
-
Last release
3 years ago

ipaas-sync-test-internal

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

  • API version: 1.0.0
  • Package version: 0.0.21
  • 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-internal --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-internal 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 IpaasSyncTestInternal = require('ipaas-sync-test-internal');
IpaasSyncTestInternal.ApiClient.instance.setRequest($request);
IpaasSyncTestInternal.ApiClient.instance.setBasePath('https://ipaas-v2-demo.pipestage.com')
IpaasSyncTestInternal.ApiClient.instance.setProduct('FRESHDESK');
const app = new IpaasSyncTestInternal.App(APP_UUID);
IpaasSyncTestInternal.ApiClient.instance.setApp(app);
IpaasSyncTestInternal.ApiClient.instance.setVendorAccountId(payload.account_id);

Getting Started

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

const IpaasSyncTestInternal = require('ipaas-sync-test-internal');


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

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

0.0.21

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.17

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.12

3 years ago

0.0.13

3 years ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago