1.0.2 • Published 2 years ago

@pahlevani/pfm-js-client v1.0.2

Weekly downloads
-
License
Unlicense
Repository
-
Last release
2 years ago

swagger-js-client

SwaggerJsClient - JavaScript client for swagger-js-client This SDK is automatically generated by the Swagger Codegen project:

  • API version:
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.v3.generators.javascript.JavaScriptClientCodegen

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 swagger-js-client --save

git

If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var SwaggerJsClient = require('swagger-js-client');

var api = new SwaggerJsClient.AccountEntityControllerApi()
var id = "id_example"; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteItemResourceAccountDelete(id, callback);

Documentation for API Endpoints

All URIs are relative to /pfm

ClassMethodHTTP requestDescription
SwaggerJsClient.AccountEntityControllerApideleteItemResourceAccountDeleteDELETE /accounts/{id}
SwaggerJsClient.AccountEntityControllerApigetCollectionResourceAccountGet1GET /accounts
SwaggerJsClient.AccountEntityControllerApigetItemResourceAccountGetGET /accounts/{id}
SwaggerJsClient.AccountEntityControllerApipatchItemResourceAccountPatchPATCH /accounts/{id}
SwaggerJsClient.AccountEntityControllerApipostCollectionResourceAccountPostPOST /accounts
SwaggerJsClient.AccountEntityControllerApiputItemResourceAccountPutPUT /accounts/{id}
SwaggerJsClient.AccountPropertyReferenceControllerApicreatePropertyReferenceAccountPatchPATCH /accounts/{id}/bank
SwaggerJsClient.AccountPropertyReferenceControllerApicreatePropertyReferenceAccountPutPUT /accounts/{id}/bank
SwaggerJsClient.AccountPropertyReferenceControllerApideletePropertyReferenceAccountDeleteDELETE /accounts/{id}/bank
SwaggerJsClient.AccountPropertyReferenceControllerApideletePropertyReferenceIdAccountDeleteDELETE /accounts/{id}/bank/{propertyId}
SwaggerJsClient.AccountPropertyReferenceControllerApifollowPropertyReferenceAccountGetGET /accounts/{id}/bank/{propertyId}
SwaggerJsClient.AccountPropertyReferenceControllerApifollowPropertyReferenceAccountGet1GET /accounts/{id}/bank
SwaggerJsClient.AccountSearchControllerApiexecuteSearchAccountGetGET /accounts/search/findAll
SwaggerJsClient.AccountSearchControllerApiexecuteSearchAccountGet1GET /accounts/search/findById
SwaggerJsClient.AllocationEntityControllerApideleteItemResourceAllocationDeleteDELETE /allocations/{id}
SwaggerJsClient.AllocationEntityControllerApigetCollectionResourceAllocationGet1GET /allocations
SwaggerJsClient.AllocationEntityControllerApigetItemResourceAllocationGetGET /allocations/{id}
SwaggerJsClient.AllocationEntityControllerApipatchItemResourceAllocationPatchPATCH /allocations/{id}
SwaggerJsClient.AllocationEntityControllerApipostCollectionResourceAllocationPostPOST /allocations
SwaggerJsClient.AllocationEntityControllerApiputItemResourceAllocationPutPUT /allocations/{id}
SwaggerJsClient.AllocationPropertyReferenceControllerApicreatePropertyReferenceAllocationPatchPATCH /allocations/{id}/category
SwaggerJsClient.AllocationPropertyReferenceControllerApicreatePropertyReferenceAllocationPatch1PATCH /allocations/{id}/transaction
SwaggerJsClient.AllocationPropertyReferenceControllerApicreatePropertyReferenceAllocationPutPUT /allocations/{id}/category
SwaggerJsClient.AllocationPropertyReferenceControllerApicreatePropertyReferenceAllocationPut1PUT /allocations/{id}/transaction
SwaggerJsClient.AllocationPropertyReferenceControllerApideletePropertyReferenceAllocationDeleteDELETE /allocations/{id}/category
SwaggerJsClient.AllocationPropertyReferenceControllerApideletePropertyReferenceAllocationDelete1DELETE /allocations/{id}/transaction
SwaggerJsClient.AllocationPropertyReferenceControllerApideletePropertyReferenceIdAllocationDeleteDELETE /allocations/{id}/category/{propertyId}
SwaggerJsClient.AllocationPropertyReferenceControllerApideletePropertyReferenceIdAllocationDelete1DELETE /allocations/{id}/transaction/{propertyId}
SwaggerJsClient.AllocationPropertyReferenceControllerApifollowPropertyReferenceAllocationGetGET /allocations/{id}/category/{propertyId}
SwaggerJsClient.AllocationPropertyReferenceControllerApifollowPropertyReferenceAllocationGet1GET /allocations/{id}/category
SwaggerJsClient.AllocationPropertyReferenceControllerApifollowPropertyReferenceAllocationGet2GET /allocations/{id}/transaction/{propertyId}
SwaggerJsClient.AllocationPropertyReferenceControllerApifollowPropertyReferenceAllocationGet21GET /allocations/{id}/transaction
SwaggerJsClient.AllocationSearchControllerApiexecuteSearchAllocationGetGET /allocations/search/findAll
SwaggerJsClient.AllocationSearchControllerApiexecuteSearchAllocationGet1GET /allocations/search/findById
SwaggerJsClient.BankEntityControllerApideleteItemResourceBankDeleteDELETE /banks/{id}
SwaggerJsClient.BankEntityControllerApigetCollectionResourceBankGet1GET /banks
SwaggerJsClient.BankEntityControllerApigetItemResourceBankGetGET /banks/{id}
SwaggerJsClient.BankEntityControllerApipatchItemResourceBankPatchPATCH /banks/{id}
SwaggerJsClient.BankEntityControllerApipostCollectionResourceBankPostPOST /banks
SwaggerJsClient.BankEntityControllerApiputItemResourceBankPutPUT /banks/{id}
SwaggerJsClient.BudgetEntityControllerApideleteItemResourceBudgetDeleteDELETE /budgets/{id}
SwaggerJsClient.BudgetEntityControllerApigetCollectionResourceBudgetGet1GET /budgets
SwaggerJsClient.BudgetEntityControllerApigetItemResourceBudgetGetGET /budgets/{id}
SwaggerJsClient.BudgetEntityControllerApipatchItemResourceBudgetPatchPATCH /budgets/{id}
SwaggerJsClient.BudgetEntityControllerApipostCollectionResourceBudgetPostPOST /budgets
SwaggerJsClient.BudgetEntityControllerApiputItemResourceBudgetPutPUT /budgets/{id}
SwaggerJsClient.BudgetPropertyReferenceControllerApicreatePropertyReferenceBudgetPatchPATCH /budgets/{id}/category
SwaggerJsClient.BudgetPropertyReferenceControllerApicreatePropertyReferenceBudgetPutPUT /budgets/{id}/category
SwaggerJsClient.BudgetPropertyReferenceControllerApideletePropertyReferenceBudgetDeleteDELETE /budgets/{id}/category
SwaggerJsClient.BudgetPropertyReferenceControllerApideletePropertyReferenceIdBudgetDeleteDELETE /budgets/{id}/category/{propertyId}
SwaggerJsClient.BudgetPropertyReferenceControllerApifollowPropertyReferenceBudgetGetGET /budgets/{id}/category/{propertyId}
SwaggerJsClient.BudgetPropertyReferenceControllerApifollowPropertyReferenceBudgetGet1GET /budgets/{id}/category
SwaggerJsClient.BudgetSearchControllerApiexecuteSearchBudgetGetGET /budgets/search/findAll
SwaggerJsClient.BudgetSearchControllerApiexecuteSearchBudgetGet1GET /budgets/search/findById
SwaggerJsClient.CategoryEntityControllerApideleteItemResourceCategoryDeleteDELETE /categories/{id}
SwaggerJsClient.CategoryEntityControllerApigetCollectionResourceCategoryGet1GET /categories
SwaggerJsClient.CategoryEntityControllerApigetItemResourceCategoryGetGET /categories/{id}
SwaggerJsClient.CategoryEntityControllerApipatchItemResourceCategoryPatchPATCH /categories/{id}
SwaggerJsClient.CategoryEntityControllerApipostCollectionResourceCategoryPostPOST /categories
SwaggerJsClient.CategoryEntityControllerApiputItemResourceCategoryPutPUT /categories/{id}
SwaggerJsClient.CategoryPropertyReferenceControllerApicreatePropertyReferenceCategoryPatchPATCH /categories/{id}/parent
SwaggerJsClient.CategoryPropertyReferenceControllerApicreatePropertyReferenceCategoryPutPUT /categories/{id}/parent
SwaggerJsClient.CategoryPropertyReferenceControllerApideletePropertyReferenceCategoryDeleteDELETE /categories/{id}/parent
SwaggerJsClient.CategoryPropertyReferenceControllerApideletePropertyReferenceIdCategoryDeleteDELETE /categories/{id}/parent/{propertyId}
SwaggerJsClient.CategoryPropertyReferenceControllerApifollowPropertyReferenceCategoryGetGET /categories/{id}/parent/{propertyId}
SwaggerJsClient.CategoryPropertyReferenceControllerApifollowPropertyReferenceCategoryGet1GET /categories/{id}/parent
SwaggerJsClient.CategorySearchControllerApiexecuteSearchCategoryGetGET /categories/search/findAll
SwaggerJsClient.CategorySearchControllerApiexecuteSearchCategoryGet1GET /categories/search/findById
SwaggerJsClient.DueEntityControllerApideleteItemResourceDueDeleteDELETE /dues/{id}
SwaggerJsClient.DueEntityControllerApigetCollectionResourceDueGet1GET /dues
SwaggerJsClient.DueEntityControllerApigetItemResourceDueGetGET /dues/{id}
SwaggerJsClient.DueEntityControllerApipatchItemResourceDuePatchPATCH /dues/{id}
SwaggerJsClient.DueEntityControllerApipostCollectionResourceDuePostPOST /dues
SwaggerJsClient.DueEntityControllerApiputItemResourceDuePutPUT /dues/{id}
SwaggerJsClient.DueSearchControllerApiexecuteSearchDueGetGET /dues/search/findAll
SwaggerJsClient.DueSearchControllerApiexecuteSearchDueGet1GET /dues/search/findById
SwaggerJsClient.ProfileControllerApidescriptor111GET /profile/accounts
SwaggerJsClient.ProfileControllerApidescriptor112GET /profile/allocations
SwaggerJsClient.ProfileControllerApidescriptor113GET /profile/banks
SwaggerJsClient.ProfileControllerApidescriptor114GET /profile/budgets
SwaggerJsClient.ProfileControllerApidescriptor115GET /profile/categories
SwaggerJsClient.ProfileControllerApidescriptor116GET /profile/dues
SwaggerJsClient.ProfileControllerApidescriptor117GET /profile/reminders
SwaggerJsClient.ProfileControllerApidescriptor118GET /profile/tags
SwaggerJsClient.ProfileControllerApidescriptor119GET /profile/transactions
SwaggerJsClient.ProfileControllerApilistAllFormsOfMetadata1GET /profile
SwaggerJsClient.ReminderEntityControllerApideleteItemResourceReminderDeleteDELETE /reminders/{id}
SwaggerJsClient.ReminderEntityControllerApigetCollectionResourceReminderGet1GET /reminders
SwaggerJsClient.ReminderEntityControllerApigetItemResourceReminderGetGET /reminders/{id}
SwaggerJsClient.ReminderEntityControllerApipatchItemResourceReminderPatchPATCH /reminders/{id}
SwaggerJsClient.ReminderEntityControllerApipostCollectionResourceReminderPostPOST /reminders
SwaggerJsClient.ReminderEntityControllerApiputItemResourceReminderPutPUT /reminders/{id}
SwaggerJsClient.ReminderPropertyReferenceControllerApicreatePropertyReferenceReminderPatchPATCH /reminders/{id}/dues
SwaggerJsClient.ReminderPropertyReferenceControllerApicreatePropertyReferenceReminderPutPUT /reminders/{id}/dues
SwaggerJsClient.ReminderPropertyReferenceControllerApideletePropertyReferenceIdReminderDeleteDELETE /reminders/{id}/dues/{propertyId}
SwaggerJsClient.ReminderPropertyReferenceControllerApideletePropertyReferenceReminderDeleteDELETE /reminders/{id}/dues
SwaggerJsClient.ReminderPropertyReferenceControllerApifollowPropertyReferenceReminderGetGET /reminders/{id}/dues/{propertyId}
SwaggerJsClient.ReminderPropertyReferenceControllerApifollowPropertyReferenceReminderGet1GET /reminders/{id}/dues
SwaggerJsClient.ReminderSearchControllerApiexecuteSearchReminderGetGET /reminders/search/findAll
SwaggerJsClient.ReminderSearchControllerApiexecuteSearchReminderGet1GET /reminders/search/findById
SwaggerJsClient.TagEntityControllerApideleteItemResourceTagDeleteDELETE /tags/{id}
SwaggerJsClient.TagEntityControllerApigetCollectionResourceTagGet1GET /tags
SwaggerJsClient.TagEntityControllerApigetItemResourceTagGetGET /tags/{id}
SwaggerJsClient.TagEntityControllerApipatchItemResourceTagPatchPATCH /tags/{id}
SwaggerJsClient.TagEntityControllerApipostCollectionResourceTagPostPOST /tags
SwaggerJsClient.TagEntityControllerApiputItemResourceTagPutPUT /tags/{id}
SwaggerJsClient.TagSearchControllerApiexecuteSearchTagGetGET /tags/search/findAll
SwaggerJsClient.TagSearchControllerApiexecuteSearchTagGet1GET /tags/search/findById
SwaggerJsClient.TransactionEntityControllerApideleteItemResourceTransactionDeleteDELETE /transactions/{id}
SwaggerJsClient.TransactionEntityControllerApigetCollectionResourceTransactionGet1GET /transactions
SwaggerJsClient.TransactionEntityControllerApigetItemResourceTransactionGetGET /transactions/{id}
SwaggerJsClient.TransactionEntityControllerApipatchItemResourceTransactionPatchPATCH /transactions/{id}
SwaggerJsClient.TransactionEntityControllerApipostCollectionResourceTransactionPostPOST /transactions
SwaggerJsClient.TransactionEntityControllerApiputItemResourceTransactionPutPUT /transactions/{id}
SwaggerJsClient.TransactionPropertyReferenceControllerApicreatePropertyReferenceTransactionPatchPATCH /transactions/{id}/account
SwaggerJsClient.TransactionPropertyReferenceControllerApicreatePropertyReferenceTransactionPatch1PATCH /transactions/{id}/allocations
SwaggerJsClient.TransactionPropertyReferenceControllerApicreatePropertyReferenceTransactionPatch2PATCH /transactions/{id}/tags
SwaggerJsClient.TransactionPropertyReferenceControllerApicreatePropertyReferenceTransactionPutPUT /transactions/{id}/account
SwaggerJsClient.TransactionPropertyReferenceControllerApicreatePropertyReferenceTransactionPut1PUT /transactions/{id}/allocations
SwaggerJsClient.TransactionPropertyReferenceControllerApicreatePropertyReferenceTransactionPut2PUT /transactions/{id}/tags
SwaggerJsClient.TransactionPropertyReferenceControllerApideletePropertyReferenceIdTransactionDeleteDELETE /transactions/{id}/account/{propertyId}
SwaggerJsClient.TransactionPropertyReferenceControllerApideletePropertyReferenceIdTransactionDelete1DELETE /transactions/{id}/allocations/{propertyId}
SwaggerJsClient.TransactionPropertyReferenceControllerApideletePropertyReferenceIdTransactionDelete2DELETE /transactions/{id}/tags/{propertyId}
SwaggerJsClient.TransactionPropertyReferenceControllerApideletePropertyReferenceTransactionDeleteDELETE /transactions/{id}/account
SwaggerJsClient.TransactionPropertyReferenceControllerApideletePropertyReferenceTransactionDelete1DELETE /transactions/{id}/allocations
SwaggerJsClient.TransactionPropertyReferenceControllerApideletePropertyReferenceTransactionDelete2DELETE /transactions/{id}/tags
SwaggerJsClient.TransactionPropertyReferenceControllerApifollowPropertyReferenceTransactionGetGET /transactions/{id}/account/{propertyId}
SwaggerJsClient.TransactionPropertyReferenceControllerApifollowPropertyReferenceTransactionGet1GET /transactions/{id}/account
SwaggerJsClient.TransactionPropertyReferenceControllerApifollowPropertyReferenceTransactionGet2GET /transactions/{id}/allocations/{propertyId}
SwaggerJsClient.TransactionPropertyReferenceControllerApifollowPropertyReferenceTransactionGet21GET /transactions/{id}/allocations
SwaggerJsClient.TransactionPropertyReferenceControllerApifollowPropertyReferenceTransactionGet3GET /transactions/{id}/tags/{propertyId}
SwaggerJsClient.TransactionPropertyReferenceControllerApifollowPropertyReferenceTransactionGet31GET /transactions/{id}/tags
SwaggerJsClient.TransactionSearchControllerApiexecuteSearchTransactionGetGET /transactions/search/findAll
SwaggerJsClient.TransactionSearchControllerApiexecuteSearchTransactionGet1GET /transactions/search/findById

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.